blob: c0ff5b22b39137031740160e8c915aae6cd04482 [file] [log] [blame]
name: leases_conflict
ID: 355
format:
field:unsigned short common_type; offset:0; size:2; signed:0;
field:unsigned char common_flags; offset:2; size:1; signed:0;
field:unsigned char common_preempt_count; offset:3; size:1; signed:0;
field:int common_pid; offset:4; size:4; signed:1;
field:void * lease; offset:8; size:8; signed:0;
field:void * breaker; offset:16; size:8; signed:0;
field:unsigned int l_fl_flags; offset:24; size:4; signed:0;
field:unsigned int b_fl_flags; offset:28; size:4; signed:0;
field:unsigned char l_fl_type; offset:32; size:1; signed:0;
field:unsigned char b_fl_type; offset:33; size:1; signed:0;
field:bool conflict; offset:34; size:1; signed:0;
print fmt: "conflict %d: lease=%p fl_flags=%s fl_type=%s; breaker=%p fl_flags=%s fl_type=%s", REC->conflict, REC->lease, __print_flags(REC->l_fl_flags, "|", { 1, "FL_POSIX" }, { 2, "FL_FLOCK" }, { 4, "FL_DELEG" }, { 8, "FL_ACCESS" }, { 16, "FL_EXISTS" }, { 32, "FL_LEASE" }, { 64, "FL_CLOSE" }, { 128, "FL_SLEEP" }, { 256, "FL_DOWNGRADE_PENDING" }, { 512, "FL_UNLOCK_PENDING" }, { 1024, "FL_OFDLCK" }), __print_symbolic(REC->l_fl_type, { 0, "F_RDLCK" }, { 1, "F_WRLCK" }, { 2, "F_UNLCK" }), REC->breaker, __print_flags(REC->b_fl_flags, "|", { 1, "FL_POSIX" }, { 2, "FL_FLOCK" }, { 4, "FL_DELEG" }, { 8, "FL_ACCESS" }, { 16, "FL_EXISTS" }, { 32, "FL_LEASE" }, { 64, "FL_CLOSE" }, { 128, "FL_SLEEP" }, { 256, "FL_DOWNGRADE_PENDING" }, { 512, "FL_UNLOCK_PENDING" }, { 1024, "FL_OFDLCK" }), __print_symbolic(REC->b_fl_type, { 0, "F_RDLCK" }, { 1, "F_WRLCK" }, { 2, "F_UNLCK" })