Lines Matching defs:xattr
10 #include <linux/xattr.h>
20 #include "xattr.h"
41 /* lookup the xattr by name */
68 * where name is the xattr name, so security.foo, and data is the
69 * content of the xattr. data_ptr points to the location in memory
117 * Do a lookup first (read-only btrfs_search_slot), and return if xattr
119 * path - we can't race with a concurrent xattr delete, because the VFS
142 * matches our target xattr, so lets check.
167 * any point in time we have either the old or the new xattr
211 * Insert, and we had space for the xattr, so path->slots[0] is
212 * where our xattr dir_item is and btrfs_insert_xattr_item()
239 * 1 unit for inserting/updating/deleting the xattr
250 * set the transmute xattr (XATTR_NAME_SMACKTRANSMUTE) on the
251 * inode. We have already reserved space for the xattr and inode
291 * first xattr that we find and walk forward
398 * constantly to see if there's a capability xattr. Cache the result
501 const struct xattr *xattr_array, void *fs_private)
504 const struct xattr *xattr;
514 for (xattr = xattr_array; xattr->name != NULL; xattr++) {
516 strlen(xattr->name) + 1, GFP_KERNEL);
522 strcpy(name + XATTR_SECURITY_PREFIX_LEN, xattr->name);
527 err = btrfs_setxattr(trans, inode, name, xattr->value,
528 xattr->value_len, 0);