Home
last modified time | relevance | path

Searched refs:DENTRYGROUP_SIZE (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_dentryfile_cloud.c38 err = hmdfs_wlock_file(filp, pos, DENTRYGROUP_SIZE); in find_dentry_page()
45 size = cache_file_read(sbi, filp, dentry_blk, (size_t)DENTRYGROUP_SIZE, in find_dentry_page()
47 if (size != DENTRYGROUP_SIZE) { in find_dentry_page()
124 DENTRYGROUP_SIZE); in hmdfs_in_level()
154 DENTRYGROUP_SIZE); in hmdfs_find_dentry_cloud()
Dhmdfs_dentryfile.h56 #define DENTRYGROUP_SIZE 4096 macro
119 return ((loff_t)bidx) * DENTRYGROUP_SIZE + DENTRYGROUP_HEADER; in get_dentry_group_pos()
127 (size - DENTRYGROUP_HEADER) / DENTRYGROUP_SIZE : in get_dentry_group_cnt()
Dhmdfs_dentryfile.c473 return buckets * DENTRYGROUP_SIZE * BUCKET_BLOCKS + DENTRYGROUP_HEADER; in get_dcache_file_size()
630 err = hmdfs_wlock_file(filp, pos, DENTRYGROUP_SIZE); in find_dentry_page()
637 size = cache_file_read(sbi, filp, dentry_blk, (size_t)DENTRYGROUP_SIZE, in find_dentry_page()
639 if (size != DENTRYGROUP_SIZE) { in find_dentry_page()
729 DENTRYGROUP_SIZE); in hmdfs_in_level()
759 DENTRYGROUP_SIZE); in hmdfs_find_dentry()
898 ret = hmdfs_wlock_file(file, pos, DENTRYGROUP_SIZE); in create_dentry()
903 (size_t)DENTRYGROUP_SIZE, &pos); in create_dentry()
904 if (size != DENTRYGROUP_SIZE) { in create_dentry()
906 hmdfs_unlock_file(file, pos, DENTRYGROUP_SIZE); in create_dentry()
[all …]
Dinode_cloud.c66 DENTRYGROUP_SIZE); in lookup_cloud_dentry()
Dinode_remote.c55 DENTRYGROUP_SIZE); in lookup_remote_dentry()