Lines Matching defs:data_offs
61 __le32 data_offs;
111 unsigned int data_offs;
122 unsigned int data_offs;
267 head->data_offs = cpu_to_le32(cache->data_offs);
593 cache->data_offs = cache->path_offs + DIV_ROUND_UP(cache->path_len,
1090 loff_t path_offs, data_offs, isize;
1131 data_offs = (loff_t)le32_to_cpu(head->data_offs) <<
1133 if (path_offs >= data_offs) {
1135 hmdfs_err("peer 0x%x:0x%llx ino 0x%llx invalid data_offs %d, path_offs %d",
1137 le32_to_cpu(head->data_offs),
1141 if (data_offs <= 0 || data_offs >= i_size_read(inode)) {
1143 hmdfs_err("peer 0x%x:0x%llx ino 0x%llx invalid data_offs %d, stash file size %llu",
1145 le32_to_cpu(head->data_offs), i_size_read(inode));
1219 ctx->data_offs = le32_to_cpu(head.data_offs);
1304 args->data_offs = ctx->data_offs;
1387 data_init_pos = (loff_t)ctx.args.data_offs << HMDFS_STASH_BLK_SHIFT;
2068 pos += cache->data_offs << HMDFS_STASH_BLK_SHIFT;
2075 hmdfs_err("stash peer 0x%x:0x%llx ino 0x%llx page 0x%lx data_offs 0x%x len %u err %zd",
2077 page->index, cache->data_offs, ctx->count, written);