Lines Matching refs:h
28 struct hlist_head *h; in find_prop_handlers_by_hash() local
30 h = &prop_handlers_ht[hash_min(hash, BTRFS_PROP_HANDLERS_HT_BITS)]; in find_prop_handlers_by_hash()
31 if (hlist_empty(h)) in find_prop_handlers_by_hash()
34 return h; in find_prop_handlers_by_hash()
41 struct prop_handler *h; in find_prop_handler() local
51 hlist_for_each_entry(h, handlers, node) in find_prop_handler()
52 if (!strcmp(h->xattr_name, name)) in find_prop_handler()
53 return h; in find_prop_handler()
338 const struct prop_handler *h = &prop_handlers[i]; in inherit_props() local
342 if (!h->inheritable) in inherit_props()
345 value = h->extract(parent); in inherit_props()
353 ret = h->validate(value, strlen(value)); in inherit_props()
372 ret = btrfs_setxattr(trans, inode, h->xattr_name, value, in inherit_props()
375 ret = h->apply(inode, value, strlen(value)); in inherit_props()
377 btrfs_setxattr(trans, inode, h->xattr_name, in inherit_props()
444 u64 h = btrfs_name_hash(p->xattr_name, strlen(p->xattr_name)); in btrfs_props_init() local
446 hash_add(prop_handlers_ht, &p->node, h); in btrfs_props_init()