Searched refs:XATTR_REPLACE (Results 1 – 20 of 20) sorted by relevance
23 #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ macro
105 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()
44 if (setxattr_flags & XATTR_REPLACE) { in convert_to_internal_xattr_flags()283 if (flags & XATTR_REPLACE) in orangefs_inode_removexattr()
394 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()
165 if (flags & XATTR_REPLACE) in xfs_xattr_flags_to_op()
72 WARN_ON(flags != XATTR_REPLACE); in ovl_xattr_set()
211 (flags & XATTR_REPLACE ? STR_HASH_must_replace : 0)); in bch2_xattr_set()221 ret = flags & XATTR_REPLACE ? -ENODATA : 0; in bch2_xattr_set()
519 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()
1188 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()
284 if (flags & XATTR_REPLACE) in ubifs_xattr_set()
692 } else if ((flags & XATTR_REPLACE)) { in __f2fs_setxattr()
709 if (flags & XATTR_REPLACE) { in __jfs_setxattr()
349 if (flags & XATTR_REPLACE) { in __hfsplus_setxattr()
499 if (flags & XATTR_REPLACE) in ext2_xattr_set()
1218 BUG_ON(flags != XATTR_REPLACE); in ecryptfs_xattr_set()
607 else if (!xattr && (flags & XATTR_REPLACE)) in __set_xattr()
1167 if (flags & XATTR_REPLACE) { in do_jffs2_setxattr()
484 BUILD_BUG_ON(XATTR_REPLACE != SETXATTR4_REPLACE); in encode_setxattr()
2406 if (flags & XATTR_REPLACE) in ext4_xattr_set_handle()
3599 if (flags & XATTR_REPLACE) in ocfs2_xattr_set()