Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 56) sorted by relevance

123

/fs/btrfs/
A Dprops.c70 const struct prop_handler *handler; in btrfs_validate_prop() local
75 handler = find_prop_handler(name, NULL); in btrfs_validate_prop()
76 if (!handler) in btrfs_validate_prop()
99 const struct prop_handler *handler; in btrfs_ignore_prop() local
102 ASSERT(handler != NULL); in btrfs_ignore_prop()
104 return handler->ignore(inode); in btrfs_ignore_prop()
111 const struct prop_handler *handler; in btrfs_set_prop() local
115 if (!handler) in btrfs_set_prop()
124 ret = handler->apply(inode, NULL, 0); in btrfs_set_prop()
199 const struct prop_handler *handler; in iterate_object_props() local
[all …]
A Dxattr.c362 static int btrfs_xattr_handler_get(const struct xattr_handler *handler, in btrfs_xattr_handler_get() argument
366 name = xattr_full_name(handler, name); in btrfs_xattr_handler_get()
370 static int btrfs_xattr_handler_set(const struct xattr_handler *handler, in btrfs_xattr_handler_set() argument
379 name = xattr_full_name(handler, name); in btrfs_xattr_handler_set()
383 static int btrfs_xattr_handler_get_security(const struct xattr_handler *handler, in btrfs_xattr_handler_get_security() argument
392 name = xattr_full_name(handler, name); in btrfs_xattr_handler_get_security()
412 static int btrfs_xattr_handler_set_security(const struct xattr_handler *handler, in btrfs_xattr_handler_set_security() argument
423 name = xattr_full_name(handler, name); in btrfs_xattr_handler_set_security()
430 static int btrfs_xattr_handler_set_prop(const struct xattr_handler *handler, in btrfs_xattr_handler_set_prop() argument
440 name = xattr_full_name(handler, name); in btrfs_xattr_handler_set_prop()
/fs/
A Dxattr.c77 return handler; in xattr_resolve_name()
196 if (!handler->set) in __vfs_setxattr()
200 return handler->set(handler, idmap, dentry, inode, name, value, in __vfs_setxattr()
391 if (!handler->get) in vfs_getxattr_alloc()
393 error = handler->get(handler, dentry, inode, name, NULL, 0); in vfs_getxattr_alloc()
404 error = handler->get(handler, dentry, inode, name, value, error); in vfs_getxattr_alloc()
421 if (!handler->get) in __vfs_getxattr()
423 return handler->get(handler, dentry, inode, name, value, size); in __vfs_getxattr()
516 if (!handler->set) in __vfs_removexattr()
518 return handler->set(handler, idmap, dentry, inode, name, NULL, 0, in __vfs_removexattr()
[all …]
/fs/bcachefs/
A Dxattr.c109 const struct xattr_handler *handler; in bch2_xattr_to_text() local
112 handler = bch2_xattr_type_to_handler(xattr.v->x_type); in bch2_xattr_to_text()
113 if (handler && handler->prefix) in bch2_xattr_to_text()
114 prt_printf(out, "%s", handler->prefix); in bch2_xattr_to_text()
115 else if (handler) in bch2_xattr_to_text()
262 if (!xattr_handler_can_list(handler, dentry)) in bch2_xattr_prefix()
265 return xattr_prefix(handler); in bch2_xattr_prefix()
363 handler->flags, flags)) ?: in bch2_xattr_set_handler()
464 return __bch2_xattr_bcachefs_get(handler, dentry, vinode, in bch2_xattr_bcachefs_get()
590 const struct xattr_handler *handler, in bch2_xattr_bcachefs_get_effective() argument
[all …]
/fs/squashfs/
A Dxattr.c47 const struct xattr_handler *handler; in squashfs_listxattr() local
56 handler = squashfs_xattr_handler(le16_to_cpu(entry.type)); in squashfs_listxattr()
57 if (handler && (!handler->list || handler->list(d))) { in squashfs_listxattr()
58 const char *prefix = handler->prefix ?: handler->name; in squashfs_listxattr()
203 static int squashfs_xattr_handler_get(const struct xattr_handler *handler, in squashfs_xattr_handler_get() argument
209 return squashfs_xattr_get(inode, handler->flags, name, in squashfs_xattr_handler_get()
/fs/erofs/
A Dxattr.h21 const struct xattr_handler *handler = NULL; in erofs_xattr_prefix() local
36 handler = xattr_handler_map[idx]; in erofs_xattr_prefix()
38 if (!xattr_handler_can_list(handler, dentry)) in erofs_xattr_prefix()
41 return xattr_prefix(handler); in erofs_xattr_prefix()
/fs/afs/
A Dxattr.c36 static int afs_xattr_get_acl(const struct xattr_handler *handler, in afs_xattr_get_acl() argument
99 static int afs_xattr_set_acl(const struct xattr_handler *handler, in afs_xattr_set_acl() argument
138 static int afs_xattr_get_yfs(const struct xattr_handler *handler, in afs_xattr_get_yfs() argument
230 static int afs_xattr_set_yfs(const struct xattr_handler *handler, in afs_xattr_set_yfs() argument
268 static int afs_xattr_get_cell(const struct xattr_handler *handler, in afs_xattr_get_cell() argument
295 static int afs_xattr_get_fid(const struct xattr_handler *handler, in afs_xattr_get_fid() argument
333 static int afs_xattr_get_volume(const struct xattr_handler *handler, in afs_xattr_get_volume() argument
/fs/overlayfs/
A Dxattrs.c182 static int ovl_own_xattr_get(const struct xattr_handler *handler, in ovl_own_xattr_get() argument
189 escaped = ovl_xattr_escape_name(handler->prefix, name); in ovl_own_xattr_get()
200 static int ovl_own_xattr_set(const struct xattr_handler *handler, in ovl_own_xattr_set() argument
209 escaped = ovl_xattr_escape_name(handler->prefix, name); in ovl_own_xattr_set()
220 static int ovl_other_xattr_get(const struct xattr_handler *handler, in ovl_other_xattr_get() argument
227 static int ovl_other_xattr_set(const struct xattr_handler *handler, in ovl_other_xattr_set() argument
/fs/f2fs/
A Dxattr.c46 static int f2fs_xattr_generic_get(const struct xattr_handler *handler, in f2fs_xattr_generic_get() argument
52 switch (handler->flags) { in f2fs_xattr_generic_get()
63 return f2fs_getxattr(inode, handler->flags, name, in f2fs_xattr_generic_get()
67 static int f2fs_xattr_generic_set(const struct xattr_handler *handler, in f2fs_xattr_generic_set() argument
75 switch (handler->flags) { in f2fs_xattr_generic_set()
86 return f2fs_setxattr(inode, handler->flags, name, in f2fs_xattr_generic_set()
102 static int f2fs_xattr_advise_get(const struct xattr_handler *handler, in f2fs_xattr_advise_get() argument
218 const struct xattr_handler *handler = NULL; in f2fs_xattr_prefix() local
221 handler = f2fs_xattr_handler_map[index]; in f2fs_xattr_prefix()
223 if (!xattr_handler_can_list(handler, dentry)) in f2fs_xattr_prefix()
[all …]
/fs/hfs/
A Dattr.c116 static int hfs_xattr_get(const struct xattr_handler *handler, in hfs_xattr_get() argument
120 return __hfs_getxattr(inode, handler->flags, value, size); in hfs_xattr_get()
123 static int hfs_xattr_set(const struct xattr_handler *handler, in hfs_xattr_set() argument
132 return __hfs_setxattr(inode, handler->flags, value, size, flags); in hfs_xattr_set()
/fs/xfs/
A Dxfs_xattr.c134 xfs_xattr_get(const struct xattr_handler *handler, struct dentry *unused, in xfs_xattr_get() argument
139 .attr_filter = handler->flags, in xfs_xattr_get()
171 xfs_xattr_set(const struct xattr_handler *handler, in xfs_xattr_set() argument
178 .attr_filter = handler->flags, in xfs_xattr_set()
187 if (!error && (handler->flags & XFS_ATTR_ROOT)) in xfs_xattr_set()
/fs/9p/
A Dxattr.c146 static int v9fs_xattr_handler_get(const struct xattr_handler *handler, in v9fs_xattr_handler_get() argument
150 const char *full_name = xattr_full_name(handler, name); in v9fs_xattr_handler_get()
155 static int v9fs_xattr_handler_set(const struct xattr_handler *handler, in v9fs_xattr_handler_set() argument
161 const char *full_name = xattr_full_name(handler, name); in v9fs_xattr_handler_set()
/fs/kernfs/
A Dinode.c325 static int kernfs_vfs_xattr_get(const struct xattr_handler *handler, in kernfs_vfs_xattr_get() argument
329 const char *name = xattr_full_name(handler, suffix); in kernfs_vfs_xattr_get()
335 static int kernfs_vfs_xattr_set(const struct xattr_handler *handler, in kernfs_vfs_xattr_set() argument
341 const char *name = xattr_full_name(handler, suffix); in kernfs_vfs_xattr_set()
410 static int kernfs_vfs_user_xattr_set(const struct xattr_handler *handler, in kernfs_vfs_user_xattr_set() argument
416 const char *full_name = xattr_full_name(handler, suffix); in kernfs_vfs_user_xattr_set()
/fs/smb/client/
A Dxattr.c94 static int cifs_xattr_set(const struct xattr_handler *handler, in cifs_xattr_set() argument
134 switch (handler->flags) { in cifs_xattr_set()
183 switch (handler->flags) { in cifs_xattr_set()
273 static int cifs_xattr_get(const struct xattr_handler *handler, in cifs_xattr_get() argument
301 switch (handler->flags) { in cifs_xattr_get()
337 switch (handler->flags) { in cifs_xattr_get()
/fs/jffs2/
A Dxattr_user.c19 static int jffs2_user_getxattr(const struct xattr_handler *handler, in jffs2_user_getxattr() argument
27 static int jffs2_user_setxattr(const struct xattr_handler *handler, in jffs2_user_setxattr() argument
A Dxattr_trusted.c19 static int jffs2_trusted_getxattr(const struct xattr_handler *handler, in jffs2_trusted_getxattr() argument
27 static int jffs2_trusted_setxattr(const struct xattr_handler *handler, in jffs2_trusted_setxattr() argument
A Dsecurity.c51 static int jffs2_security_getxattr(const struct xattr_handler *handler, in jffs2_security_getxattr() argument
59 static int jffs2_security_setxattr(const struct xattr_handler *handler, in jffs2_security_setxattr() argument
/fs/hfsplus/
A Dxattr_trusted.c15 static int hfsplus_trusted_getxattr(const struct xattr_handler *handler, in hfsplus_trusted_getxattr() argument
24 static int hfsplus_trusted_setxattr(const struct xattr_handler *handler, in hfsplus_trusted_setxattr() argument
A Dxattr_user.c15 static int hfsplus_user_getxattr(const struct xattr_handler *handler, in hfsplus_user_getxattr() argument
24 static int hfsplus_user_setxattr(const struct xattr_handler *handler, in hfsplus_user_setxattr() argument
/fs/ext2/
A Dxattr_trusted.c19 ext2_xattr_trusted_get(const struct xattr_handler *handler, in ext2_xattr_trusted_get() argument
28 ext2_xattr_trusted_set(const struct xattr_handler *handler, in ext2_xattr_trusted_set() argument
A Dxattr_user.c21 ext2_xattr_user_get(const struct xattr_handler *handler, in ext2_xattr_user_get() argument
32 ext2_xattr_user_set(const struct xattr_handler *handler, in ext2_xattr_user_set() argument
A Dxattr_security.c12 ext2_xattr_security_get(const struct xattr_handler *handler, in ext2_xattr_security_get() argument
21 ext2_xattr_security_set(const struct xattr_handler *handler, in ext2_xattr_security_set() argument
/fs/ext4/
A Dxattr_trusted.c23 ext4_xattr_trusted_get(const struct xattr_handler *handler, in ext4_xattr_trusted_get() argument
32 ext4_xattr_trusted_set(const struct xattr_handler *handler, in ext4_xattr_trusted_set() argument
A Dxattr_hurd.c22 ext4_xattr_hurd_get(const struct xattr_handler *handler, in ext4_xattr_hurd_get() argument
34 ext4_xattr_hurd_set(const struct xattr_handler *handler, in ext4_xattr_hurd_set() argument
A Dxattr_user.c22 ext4_xattr_user_get(const struct xattr_handler *handler, in ext4_xattr_user_get() argument
33 ext4_xattr_user_set(const struct xattr_handler *handler, in ext4_xattr_user_set() argument

Completed in 47 milliseconds

123