Home
last modified time | relevance | path

Searched refs:XATTR_REPLACE (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.10/include/uapi/linux/
Dxattr.h22 #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ macro
/Linux-v5.10/fs/cachefiles/
Dxattr.c145 XATTR_REPLACE); in cachefiles_update_object_xattr()
275 XATTR_REPLACE); in cachefiles_check_object_xattr()
/Linux-v5.10/fs/btrfs/
Dxattr.c102 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.10/fs/reiserfs/
Dxattr.c252 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.10/fs/xfs/libxfs/
Dxfs_attr.c476 if (error == -ENOATTR && (args->attr_flags & XATTR_REPLACE)) in xfs_attr_set()
546 if (retval == -ENOATTR && (args->attr_flags & XATTR_REPLACE)) in xfs_attr_shortform_addname()
559 args->attr_flags &= ~XATTR_REPLACE; in xfs_attr_shortform_addname()
630 if (retval == -ENOATTR && (args->attr_flags & XATTR_REPLACE)) in xfs_attr_leaf_try_add()
937 if (retval == -ENOATTR && (args->attr_flags & XATTR_REPLACE)) in xfs_attr_node_addname()
/Linux-v5.10/fs/orangefs/
Dxattr.c44 if (setxattr_flags & XATTR_REPLACE) { in convert_to_internal_xattr_flags()
283 if (flags & XATTR_REPLACE) in orangefs_inode_removexattr()
/Linux-v5.10/fs/
Dxattr.c441 return handler->set(handler, dentry, inode, name, NULL, 0, XATTR_REPLACE); in __vfs_removexattr()
518 if (flags & ~(XATTR_CREATE|XATTR_REPLACE)) in setxattr()
1010 if (flags & XATTR_REPLACE) { in simple_xattr_set()
/Linux-v5.10/fs/gfs2/
Dxattr.c1173 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.10/fs/ubifs/
Dxattr.c298 if (flags & XATTR_REPLACE) in ubifs_xattr_set()
/Linux-v5.10/fs/f2fs/
Dxattr.c677 } else if ((flags & XATTR_REPLACE)) { in __f2fs_setxattr()
/Linux-v5.10/fs/jfs/
Dxattr.c700 if (flags & XATTR_REPLACE) { in __jfs_setxattr()
/Linux-v5.10/fs/hfsplus/
Dxattr.c350 if (flags & XATTR_REPLACE) { in __hfsplus_setxattr()
/Linux-v5.10/fs/overlayfs/
Dinode.c366 WARN_ON(flags != XATTR_REPLACE); in ovl_xattr_set()
/Linux-v5.10/fs/ext2/
Dxattr.c500 if (flags & XATTR_REPLACE) in ext2_xattr_set()
/Linux-v5.10/fs/ecryptfs/
Dinode.c1141 BUG_ON(flags != XATTR_REPLACE); in ecryptfs_xattr_set()
/Linux-v5.10/fs/ceph/
Dxattr.c471 else if (!xattr && (flags & XATTR_REPLACE)) in __set_xattr()
/Linux-v5.10/fs/nfs/
Dnfs42xdr.c442 BUILD_BUG_ON(XATTR_REPLACE != SETXATTR4_REPLACE); in encode_setxattr()
/Linux-v5.10/fs/jffs2/
Dxattr.c1160 if (flags & XATTR_REPLACE) { in do_jffs2_setxattr()
/Linux-v5.10/fs/xfs/
Dxfs_ioctl.c366 return XATTR_REPLACE; in xfs_attr_flags()
Dxfs_trace.h1879 { XATTR_REPLACE, "REPLACE" }),
/Linux-v5.10/fs/ext4/
Dxattr.c2349 if (flags & XATTR_REPLACE) in ext4_xattr_set_handle()
/Linux-v5.10/fs/ocfs2/
Dxattr.c3597 if (flags & XATTR_REPLACE) in ocfs2_xattr_set()