Searched refs:XATTR_REPLACE (Results 1 – 23 of 23) sorted by relevance
| /Linux-v5.15/include/uapi/linux/ |
| D | xattr.h | 22 #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ macro
|
| /Linux-v5.15/fs/cachefiles/ |
| D | xattr.c | 144 &auxdata->type, auxdata->len, XATTR_REPLACE); in cachefiles_update_object_xattr() 274 auxdata->len, XATTR_REPLACE); in cachefiles_check_object_xattr()
|
| /Linux-v5.15/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.15/fs/reiserfs/ |
| D | xattr.c | 252 dir = open_xa_dir(inode, XATTR_REPLACE); in reiserfs_for_each_xattr() 489 xadir = open_xa_dir(inode, XATTR_REPLACE); in lookup_and_delete_xattr() 630 if (!(flags & XATTR_REPLACE)) in reiserfs_xattr_set() 684 dentry = xattr_lookup(inode, name, XATTR_REPLACE); in reiserfs_xattr_get() 862 dir = open_xa_dir(d_inode(dentry), XATTR_REPLACE); in reiserfs_listxattr()
|
| /Linux-v5.15/fs/xfs/libxfs/ |
| D | xfs_attr.c | 787 if (error == -ENOATTR && (args->attr_flags & XATTR_REPLACE)) in xfs_attr_set() 856 if (retval == -ENOATTR && (args->attr_flags & XATTR_REPLACE)) in xfs_attr_shortform_addname() 869 args->attr_flags &= ~XATTR_REPLACE; in xfs_attr_shortform_addname() 940 if (retval == -ENOATTR && (args->attr_flags & XATTR_REPLACE)) in xfs_attr_leaf_try_add() 1117 if (retval == -ENOATTR && (args->attr_flags & XATTR_REPLACE)) in xfs_attr_node_addname_find_attr()
|
| /Linux-v5.15/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.15/fs/ntfs3/ |
| D | xattr.c | 342 if ((flags & XATTR_REPLACE) && !val_size) { in ntfs_set_ea() 347 if (flags & XATTR_REPLACE) { in ntfs_set_ea() 589 flags = XATTR_REPLACE; in ntfs_set_acl_ex()
|
| /Linux-v5.15/fs/ |
| D | xattr.c | 469 XATTR_REPLACE); in __vfs_removexattr() 551 if (flags & ~(XATTR_CREATE|XATTR_REPLACE)) in setxattr() 1044 if (flags & XATTR_REPLACE) { in simple_xattr_set()
|
| /Linux-v5.15/fs/gfs2/ |
| D | xattr.c | 1184 if (error == -ENODATA && !(flags & XATTR_REPLACE)) in __gfs2_xattr_set() 1193 if (flags & XATTR_REPLACE) in __gfs2_xattr_set() 1221 if (!(flags & XATTR_REPLACE)) in __gfs2_xattr_set()
|
| /Linux-v5.15/fs/ubifs/ |
| D | xattr.c | 297 if (flags & XATTR_REPLACE) in ubifs_xattr_set()
|
| /Linux-v5.15/fs/f2fs/ |
| D | xattr.c | 681 } else if ((flags & XATTR_REPLACE)) { in __f2fs_setxattr()
|
| /Linux-v5.15/fs/jfs/ |
| D | xattr.c | 700 if (flags & XATTR_REPLACE) { in __jfs_setxattr()
|
| /Linux-v5.15/fs/hfsplus/ |
| D | xattr.c | 349 if (flags & XATTR_REPLACE) { in __hfsplus_setxattr()
|
| /Linux-v5.15/fs/ext2/ |
| D | xattr.c | 500 if (flags & XATTR_REPLACE) in ext2_xattr_set()
|
| /Linux-v5.15/fs/overlayfs/ |
| D | inode.c | 374 WARN_ON(flags != XATTR_REPLACE); in ovl_xattr_set()
|
| /Linux-v5.15/fs/ecryptfs/ |
| D | inode.c | 1173 BUG_ON(flags != XATTR_REPLACE); in ecryptfs_xattr_set()
|
| /Linux-v5.15/fs/ceph/ |
| D | xattr.c | 567 else if (!xattr && (flags & XATTR_REPLACE)) in __set_xattr()
|
| /Linux-v5.15/fs/nfs/ |
| D | nfs42xdr.c | 442 BUILD_BUG_ON(XATTR_REPLACE != SETXATTR4_REPLACE); in encode_setxattr()
|
| /Linux-v5.15/fs/jffs2/ |
| D | xattr.c | 1160 if (flags & XATTR_REPLACE) { in do_jffs2_setxattr()
|
| /Linux-v5.15/fs/xfs/ |
| D | xfs_ioctl.c | 367 return XATTR_REPLACE; in xfs_attr_flags()
|
| D | xfs_trace.h | 2020 { XATTR_REPLACE, "REPLACE" }),
|
| /Linux-v5.15/fs/ext4/ |
| D | xattr.c | 2338 if (flags & XATTR_REPLACE) in ext4_xattr_set_handle()
|
| /Linux-v5.15/fs/ocfs2/ |
| D | xattr.c | 3595 if (flags & XATTR_REPLACE) in ocfs2_xattr_set()
|