Lines Matching refs:name

27 						   const char *name,  in insert_with_overflow()  argument
38 di = btrfs_match_dir_item_name(fs_info, path, name, name_len); in insert_with_overflow()
59 const char *name, u16 name_len, in btrfs_insert_xattr_item() argument
75 key.offset = btrfs_name_hash(name, name_len); in btrfs_insert_xattr_item()
79 name, name_len); in btrfs_insert_xattr_item()
94 write_extent_buffer(leaf, name, name_ptr, name_len); in btrfs_insert_xattr_item()
110 const struct fscrypt_str *name, struct btrfs_inode *dir, in btrfs_insert_dir_item() argument
126 key.offset = btrfs_name_hash(name->name, name->len); in btrfs_insert_dir_item()
134 data_size = sizeof(*dir_item) + name->len; in btrfs_insert_dir_item()
136 name->name, name->len); in btrfs_insert_dir_item()
151 btrfs_set_dir_name_len(leaf, dir_item, name->len); in btrfs_insert_dir_item()
155 write_extent_buffer(leaf, name->name, name_ptr, name->len); in btrfs_insert_dir_item()
166 ret2 = btrfs_insert_delayed_dir_index(trans, name->name, name->len, dir, in btrfs_insert_dir_item()
180 struct btrfs_key *key, const char *name, in btrfs_lookup_match_dir() argument
193 return btrfs_match_dir_item_name(root->fs_info, path, name, name_len); in btrfs_lookup_match_dir()
215 const struct fscrypt_str *name, in btrfs_lookup_dir_item() argument
223 key.offset = btrfs_name_hash(name->name, name->len); in btrfs_lookup_dir_item()
225 di = btrfs_lookup_match_dir(trans, root, path, &key, name->name, in btrfs_lookup_dir_item()
226 name->len, mod); in btrfs_lookup_dir_item()
234 const struct fscrypt_str *name) in btrfs_check_dir_item_collision() argument
250 key.offset = btrfs_name_hash(name->name, name->len); in btrfs_check_dir_item_collision()
252 di = btrfs_lookup_match_dir(NULL, root, path, &key, name->name, in btrfs_check_dir_item_collision()
253 name->len, 0); in btrfs_check_dir_item_collision()
274 data_size = sizeof(*di) + name->len; in btrfs_check_dir_item_collision()
311 u64 index, const struct fscrypt_str *name, int mod) in btrfs_lookup_dir_index_item() argument
320 di = btrfs_lookup_match_dir(trans, root, path, &key, name->name, in btrfs_lookup_dir_index_item()
321 name->len, mod); in btrfs_lookup_dir_index_item()
330 u64 dirid, const struct fscrypt_str *name) in btrfs_search_dir_index_item() argument
345 name->name, name->len); in btrfs_search_dir_index_item()
359 const char *name, u16 name_len, in btrfs_lookup_xattr() argument
367 key.offset = btrfs_name_hash(name, name_len); in btrfs_lookup_xattr()
369 di = btrfs_lookup_match_dir(trans, root, path, &key, name, name_len, mod); in btrfs_lookup_xattr()
383 const char *name, int name_len) in btrfs_match_dir_item_name() argument
403 memcmp_extent_buffer(leaf, name, name_ptr, name_len) == 0) in btrfs_match_dir_item_name()