Searched refs:XATTR_REPLACE (Results 1 – 19 of 19) sorted by relevance
/Linux-v5.4/include/uapi/linux/ |
D | xattr.h | 21 #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ macro
|
/Linux-v5.4/fs/cachefiles/ |
D | xattr.c | 145 XATTR_REPLACE); in cachefiles_update_object_xattr() 275 XATTR_REPLACE); in cachefiles_check_object_xattr()
|
/Linux-v5.4/fs/btrfs/ |
D | xattr.c | 102 if (!di && (flags & XATTR_REPLACE)) in btrfs_setxattr() 118 if (flags & XATTR_REPLACE) { in btrfs_setxattr() 143 if (!di && !(flags & XATTR_REPLACE)) { in btrfs_setxattr()
|
/Linux-v5.4/fs/reiserfs/ |
D | xattr.c | 252 dir = open_xa_dir(inode, XATTR_REPLACE); in reiserfs_for_each_xattr() 485 xadir = open_xa_dir(inode, XATTR_REPLACE); in lookup_and_delete_xattr() 622 if (!(flags & XATTR_REPLACE)) in reiserfs_xattr_set() 669 dentry = xattr_lookup(inode, name, XATTR_REPLACE); in reiserfs_xattr_get() 848 dir = open_xa_dir(d_inode(dentry), XATTR_REPLACE); in reiserfs_listxattr()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_xattr.c | 73 if (flags & XATTR_REPLACE) in xfs_xattr_set()
|
/Linux-v5.4/fs/orangefs/ |
D | xattr.c | 44 if (setxattr_flags & XATTR_REPLACE) { in convert_to_internal_xattr_flags() 283 if (flags & XATTR_REPLACE) in orangefs_inode_removexattr()
|
/Linux-v5.4/fs/ |
D | xattr.c | 377 return handler->set(handler, dentry, inode, name, NULL, 0, XATTR_REPLACE); in __vfs_removexattr() 421 if (flags & ~(XATTR_CREATE|XATTR_REPLACE)) in setxattr() 904 if (flags & XATTR_REPLACE) { in simple_xattr_set()
|
/Linux-v5.4/fs/gfs2/ |
D | xattr.c | 1173 if (error == -ENODATA && !(flags & XATTR_REPLACE)) in __gfs2_xattr_set() 1182 if (flags & XATTR_REPLACE) in __gfs2_xattr_set() 1210 if (!(flags & XATTR_REPLACE)) in __gfs2_xattr_set()
|
/Linux-v5.4/fs/ubifs/ |
D | xattr.c | 298 if (flags & XATTR_REPLACE) in ubifs_xattr_set()
|
/Linux-v5.4/fs/f2fs/ |
D | xattr.c | 646 } else if ((flags & XATTR_REPLACE)) { in __f2fs_setxattr()
|
/Linux-v5.4/fs/overlayfs/ |
D | inode.c | 351 WARN_ON(flags != XATTR_REPLACE); in ovl_xattr_set()
|
/Linux-v5.4/fs/jfs/ |
D | xattr.c | 700 if (flags & XATTR_REPLACE) { in __jfs_setxattr()
|
/Linux-v5.4/fs/hfsplus/ |
D | xattr.c | 350 if (flags & XATTR_REPLACE) { in __hfsplus_setxattr()
|
/Linux-v5.4/fs/ext2/ |
D | xattr.c | 496 if (flags & XATTR_REPLACE) in ext2_xattr_set()
|
/Linux-v5.4/fs/ecryptfs/ |
D | inode.c | 1141 BUG_ON(flags != XATTR_REPLACE); in ecryptfs_xattr_set()
|
/Linux-v5.4/fs/ceph/ |
D | xattr.c | 470 else if (!xattr && (flags & XATTR_REPLACE)) in __set_xattr()
|
/Linux-v5.4/fs/jffs2/ |
D | xattr.c | 1160 if (flags & XATTR_REPLACE) { in do_jffs2_setxattr()
|
/Linux-v5.4/fs/ext4/ |
D | xattr.c | 2363 if (flags & XATTR_REPLACE) in ext4_xattr_set_handle()
|
/Linux-v5.4/fs/ocfs2/ |
D | xattr.c | 3597 if (flags & XATTR_REPLACE) in ocfs2_xattr_set()
|