Home
last modified time | relevance | path

Searched refs:path_offs (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dstash.c58 __le32 path_offs; member
274 head->path_offs = cpu_to_le32(cache->path_offs); in hmdfs_set_stash_file_head()
323 pos = (loff_t)cache->path_offs << HMDFS_STASH_BLK_SHIFT; in hmdfs_flush_stash_file_metadata()
601 cache->path_offs = DIV_ROUND_UP(sizeof(struct hmdfs_cache_file_head), in hmdfs_new_file_cache()
603 cache->data_offs = cache->path_offs + DIV_ROUND_UP(cache->path_len, in hmdfs_new_file_cache()
1100 loff_t path_offs, data_offs, isize; in hmdfs_verify_restore_file_head() local
1131 path_offs = (loff_t)le32_to_cpu(head->path_offs) << in hmdfs_verify_restore_file_head()
1133 if (path_offs <= 0 || path_offs >= i_size_read(inode)) { in hmdfs_verify_restore_file_head()
1137 le32_to_cpu(head->path_offs), i_size_read(inode)); in hmdfs_verify_restore_file_head()
1143 if (path_offs >= data_offs) { in hmdfs_verify_restore_file_head()
[all …]
Dinode.h48 __u32 path_offs; member