• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: f2fs_fallocate
2ID: 309
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:int mode;	offset:24;	size:4;	signed:1;
12	field:loff_t offset;	offset:32;	size:8;	signed:1;
13	field:loff_t len;	offset:40;	size:8;	signed:1;
14	field:loff_t size;	offset:48;	size:8;	signed:1;
15	field:blkcnt_t blocks;	offset:56;	size:8;	signed:0;
16	field:int ret;	offset:64;	size:4;	signed:1;
17
18print fmt: "dev = (%d,%d), ino = %lu, mode = %x, offset = %lld, len = %lld,  i_size = %lld, i_blocks = %llu, ret = %d", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((1U << 20) - 1))), (unsigned long)REC->ino, REC->mode, (unsigned long long)REC->offset, (unsigned long long)REC->len, (unsigned long long)REC->size, (unsigned long long)REC->blocks, REC->ret
19