Home
last modified time | relevance | path

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

/linux-6.15/include/uapi/linux/
H A Dxattr.h23 #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ macro
/linux-6.15/fs/btrfs/
H A Dxattr.c105 if (!di && (flags & XATTR_REPLACE)) in btrfs_setxattr()
121 if (flags & XATTR_REPLACE) { in btrfs_setxattr()
146 if (!di && !(flags & XATTR_REPLACE)) { in btrfs_setxattr()
/linux-6.15/fs/orangefs/
H A Dxattr.c44 if (setxattr_flags & XATTR_REPLACE) { in convert_to_internal_xattr_flags()
283 if (flags & XATTR_REPLACE) in orangefs_inode_removexattr()
/linux-6.15/fs/ntfs3/
H A Dxattr.c394 if ((flags & XATTR_REPLACE) && !val_size) { in ntfs_set_ea()
399 if (flags & XATTR_REPLACE) { in ntfs_set_ea()
634 flags = XATTR_REPLACE; in ntfs_set_acl_ex()
/linux-6.15/fs/xfs/
H A Dxfs_xattr.c165 if (flags & XATTR_REPLACE) in xfs_xattr_flags_to_op()
/linux-6.15/fs/overlayfs/
H A Dxattrs.c72 WARN_ON(flags != XATTR_REPLACE); in ovl_xattr_set()
/linux-6.15/fs/bcachefs/
H A Dxattr.c211 (flags & XATTR_REPLACE ? STR_HASH_must_replace : 0)); in bch2_xattr_set()
221 ret = flags & XATTR_REPLACE ? -ENODATA : 0; in bch2_xattr_set()
/linux-6.15/fs/
H A Dxattr.c519 XATTR_REPLACE); in __vfs_removexattr()
608 if (ctx->flags & ~(XATTR_CREATE|XATTR_REPLACE)) in setxattr_copy()
1398 if (flags & XATTR_REPLACE) { in simple_xattr_set()
/linux-6.15/fs/gfs2/
H A Dxattr.c1188 if (error == -ENODATA && !(flags & XATTR_REPLACE)) in __gfs2_xattr_set()
1197 if (flags & XATTR_REPLACE) in __gfs2_xattr_set()
1225 if (!(flags & XATTR_REPLACE)) in __gfs2_xattr_set()
/linux-6.15/fs/ubifs/
H A Dxattr.c284 if (flags & XATTR_REPLACE) in ubifs_xattr_set()
/linux-6.15/fs/f2fs/
H A Dxattr.c692 } else if ((flags & XATTR_REPLACE)) { in __f2fs_setxattr()
/linux-6.15/fs/jfs/
H A Dxattr.c709 if (flags & XATTR_REPLACE) { in __jfs_setxattr()
/linux-6.15/fs/hfsplus/
H A Dxattr.c349 if (flags & XATTR_REPLACE) { in __hfsplus_setxattr()
/linux-6.15/fs/ext2/
H A Dxattr.c499 if (flags & XATTR_REPLACE) in ext2_xattr_set()
/linux-6.15/fs/ecryptfs/
H A Dinode.c1218 BUG_ON(flags != XATTR_REPLACE); in ecryptfs_xattr_set()
/linux-6.15/fs/ceph/
H A Dxattr.c607 else if (!xattr && (flags & XATTR_REPLACE)) in __set_xattr()
/linux-6.15/fs/jffs2/
H A Dxattr.c1167 if (flags & XATTR_REPLACE) { in do_jffs2_setxattr()
/linux-6.15/fs/nfs/
H A Dnfs42xdr.c484 BUILD_BUG_ON(XATTR_REPLACE != SETXATTR4_REPLACE); in encode_setxattr()
/linux-6.15/fs/ext4/
H A Dxattr.c2406 if (flags & XATTR_REPLACE) in ext4_xattr_set_handle()
/linux-6.15/fs/ocfs2/
H A Dxattr.c3599 if (flags & XATTR_REPLACE) in ocfs2_xattr_set()