• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: f2fs_iget
2ID: 328
3format:
4	field:unsigned short common_type;	offset:0;	size:2;	signed:0;
5	field:unsigned char common_flags;	offset:2;	size:1;	signed:0;
6	field:unsigned char common_preempt_count;	offset:3;	size:1;	signed:0;
7	field:int common_pid;	offset:4;	size:4;	signed:1;
8
9	field:dev_t dev;	offset:8;	size:4;	signed:0;
10	field:ino_t ino;	offset:16;	size:8;	signed:0;
11	field:ino_t pino;	offset:24;	size:8;	signed:0;
12	field:umode_t mode;	offset:32;	size:2;	signed:0;
13	field:loff_t size;	offset:40;	size:8;	signed:1;
14	field:unsigned int nlink;	offset:48;	size:4;	signed:0;
15	field:blkcnt_t blocks;	offset:56;	size:8;	signed:0;
16	field:__u8 advise;	offset:64;	size:1;	signed:0;
17
18print fmt: "dev = (%d,%d), ino = %lu, pino = %lu, i_mode = 0x%hx, i_size = %lld, i_nlink = %u, i_blocks = %llu, i_advise = 0x%x", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((1U << 20) - 1))), (unsigned long)REC->ino, (unsigned long)REC->pino, REC->mode, REC->size, (unsigned int)REC->nlink, (unsigned long long)REC->blocks, (unsigned char)REC->advise
19