Home
last modified time | relevance | path

Searched refs:name_hash (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/fs/f2fs/
Ddir.c214 f2fs_hash_t name_hash; in f2fs_find_entry() local
226 name_hash = f2fs_dentry_hash(child); in f2fs_find_entry()
230 de = find_in_level(dir, level, child, name_hash, res_page); in f2fs_find_entry()
234 if (!de && F2FS_I(dir)->chash != name_hash) { in f2fs_find_entry()
235 F2FS_I(dir)->chash = name_hash; in f2fs_find_entry()
474 const struct qstr *name, f2fs_hash_t name_hash, in f2fs_update_dentry() argument
482 de->hash_code = name_hash; in f2fs_update_dentry()
Dinline.c398 f2fs_hash_t name_hash; in f2fs_add_inline_entry() local
431 name_hash = f2fs_dentry_hash(name); in f2fs_add_inline_entry()
433 f2fs_update_dentry(ino, mode, &d, name, name_hash, bit_pos); in f2fs_add_inline_entry()
/linux-4.1.27/fs/ocfs2/
Dxattr.c179 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
1482 static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_add_entry() argument
1484 loc->xl_ops->xlo_add_entry(loc, name_hash); in ocfs2_xa_add_entry()
1485 loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash); in ocfs2_xa_add_entry()
1647 static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_block_add_entry() argument
1800 static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_bucket_add_entry() argument
1815 if (name_hash > le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
1817 else if (name_hash < le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
2114 u32 name_hash, in ocfs2_xa_prepare_entry() argument
2147 ocfs2_xa_add_entry(loc, name_hash); in ocfs2_xa_prepare_entry()
[all …]
Ddir.c881 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup() local
883 ret = ocfs2_dx_dir_lookup_rec(inode, el, name_hash, &cpos, &blkno, in ocfs2_dx_dir_lookup()
891 if (name_hash >= cend) { in ocfs2_dx_dir_lookup()
897 name_hash - cpos); in ocfs2_dx_dir_lookup()
898 cpos = name_hash; in ocfs2_dx_dir_lookup()