Home
last modified time | relevance | path

Searched refs:xattrs (Results 1 – 6 of 6) sorted by relevance

/fs/
Dxattr.c846 int simple_xattr_get(struct simple_xattrs *xattrs, const char *name, in simple_xattr_get() argument
852 spin_lock(&xattrs->lock); in simple_xattr_get()
853 list_for_each_entry(xattr, &xattrs->head, list) { in simple_xattr_get()
866 spin_unlock(&xattrs->lock); in simple_xattr_get()
870 static int __simple_xattr_set(struct simple_xattrs *xattrs, const char *name, in __simple_xattr_set() argument
890 spin_lock(&xattrs->lock); in __simple_xattr_set()
891 list_for_each_entry(xattr, &xattrs->head, list) { in __simple_xattr_set()
908 list_add(&new_xattr->list, &xattrs->head); in __simple_xattr_set()
912 spin_unlock(&xattrs->lock); in __simple_xattr_set()
935 int simple_xattr_set(struct simple_xattrs *xattrs, const char *name, in simple_xattr_set() argument
[all …]
/fs/kernfs/
Dinode.c59 simple_xattrs_init(&kn->iattr->xattrs); in kernfs_iattrs()
192 return simple_xattr_set(&attrs->xattrs, name, value, size, in kernfs_iop_setxattr()
208 return simple_xattr_remove(&attrs->xattrs, name); in kernfs_iop_removexattr()
221 return simple_xattr_get(&attrs->xattrs, name, buf, size); in kernfs_iop_getxattr()
233 return simple_xattr_list(&attrs->xattrs, buf, size); in kernfs_iop_listxattr()
Dkernfs-internal.h26 struct simple_xattrs xattrs; member
Ddir.c444 simple_xattrs_free(&kn->iattr->xattrs); in kernfs_put()
/fs/ceph/
Dxattr.c577 struct ceph_inode_xattr **xattrs = NULL; in __build_xattrs() local
598 xattrs = kcalloc(numattr, sizeof(struct ceph_inode_xattr *), in __build_xattrs()
601 if (!xattrs) in __build_xattrs()
605 xattrs[i] = kmalloc(sizeof(struct ceph_inode_xattr), in __build_xattrs()
607 if (!xattrs[i]) in __build_xattrs()
615 kfree(xattrs[i]); in __build_xattrs()
616 kfree(xattrs); in __build_xattrs()
617 xattrs = NULL; in __build_xattrs()
631 0, 0, &xattrs[numattr]); in __build_xattrs()
636 kfree(xattrs); in __build_xattrs()
[all …]
/fs/squashfs/
DKconfig76 Saying Y here includes support for extended attributes (xattrs).