• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: f2fs_get_data_block
2ID: 311
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:sector_t iblock;	offset:24;	size:8;	signed:0;
12	field:sector_t bh_start;	offset:32;	size:8;	signed:0;
13	field:size_t bh_size;	offset:40;	size:8;	signed:0;
14	field:int ret;	offset:48;	size:4;	signed:1;
15
16print fmt: "dev = (%d,%d), ino = %lu, file offset = %llu, start blkaddr = 0x%llx, len = 0x%llx bytes, err = %d", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((1U << 20) - 1))), (unsigned long)REC->ino, (unsigned long long)REC->iblock, (unsigned long long)REC->bh_start, (unsigned long long)REC->bh_size, REC->ret
17