Lines Matching refs:handler
60 const struct prop_handler *handler; in btrfs_validate_prop() local
65 handler = find_prop_handler(name, NULL); in btrfs_validate_prop()
66 if (!handler) in btrfs_validate_prop()
72 return handler->validate(value, value_len); in btrfs_validate_prop()
79 const struct prop_handler *handler; in btrfs_set_prop() local
82 handler = find_prop_handler(name, NULL); in btrfs_set_prop()
83 if (!handler) in btrfs_set_prop()
87 ret = btrfs_setxattr(trans, inode, handler->xattr_name, in btrfs_set_prop()
92 ret = handler->apply(inode, NULL, 0); in btrfs_set_prop()
98 ret = btrfs_setxattr(trans, inode, handler->xattr_name, value, in btrfs_set_prop()
102 ret = handler->apply(inode, value, value_len); in btrfs_set_prop()
104 btrfs_setxattr(trans, inode, handler->xattr_name, NULL, in btrfs_set_prop()
167 const struct prop_handler *handler; in iterate_object_props() local
191 handler = find_prop_handler(name_buf, handlers); in iterate_object_props()
192 if (!handler) in iterate_object_props()
206 iterator(ctx, handler, value_buf, data_len); in iterate_object_props()
226 const struct prop_handler *handler, in inode_prop_iterator() argument
234 ret = handler->apply(inode, value, len); in inode_prop_iterator()
238 handler->xattr_name, btrfs_ino(BTRFS_I(inode)), in inode_prop_iterator()