blob: 9d48e8026487b56dcada1d780944701b8ca07a29 [file] [log] [blame]
name: generic_add_lease
ID: 276
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:unsigned long i_ino; offset:8; size:8; signed:0;
field:int wcount; offset:16; size:4; signed:1;
field:int dcount; offset:20; size:4; signed:1;
field:int icount; offset:24; size:4; signed:1;
field:dev_t s_dev; offset:28; size:4; signed:0;
field:fl_owner_t fl_owner; offset:32; size:8; signed:0;
field:unsigned int fl_flags; offset:40; size:4; signed:0;
field:unsigned char fl_type; offset:44; size:1; signed:0;
print fmt: "dev=0x%x:0x%x ino=0x%lx wcount=%d dcount=%d icount=%d fl_owner=0x%p fl_flags=%s fl_type=%s", ((unsigned int) ((REC->s_dev) >> 20)), ((unsigned int) ((REC->s_dev) & ((1U << 20) - 1))), REC->i_ino, REC->wcount, REC->dcount, REC->icount, REC->fl_owner, __print_flags(REC->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->fl_type, { 0, "F_RDLCK" }, { 1, "F_WRLCK" }, { 2, "F_UNLCK" })