Searched refs:XATTR_REPLACE (Results 1 – 22 of 22) sorted by relevance
22 #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ macro
106 if (!di && (flags & XATTR_REPLACE)) in btrfs_setxattr()122 if (flags & XATTR_REPLACE) { in btrfs_setxattr()147 if (!di && !(flags & XATTR_REPLACE)) { in btrfs_setxattr()
253 dir = open_xa_dir(inode, XATTR_REPLACE); in reiserfs_for_each_xattr()484 xadir = open_xa_dir(inode, XATTR_REPLACE); in lookup_and_delete_xattr()625 if (!(flags & XATTR_REPLACE)) in reiserfs_xattr_set()679 dentry = xattr_lookup(inode, name, XATTR_REPLACE); in reiserfs_xattr_get()864 dir = open_xa_dir(d_inode(dentry), XATTR_REPLACE); in reiserfs_listxattr()
44 if (setxattr_flags & XATTR_REPLACE) { in convert_to_internal_xattr_flags()283 if (flags & XATTR_REPLACE) in orangefs_inode_removexattr()
387 if ((flags & XATTR_REPLACE) && !val_size) { in ntfs_set_ea()392 if (flags & XATTR_REPLACE) { in ntfs_set_ea()627 flags = XATTR_REPLACE; in ntfs_set_acl_ex()
520 XATTR_REPLACE); in __vfs_removexattr()598 if (ctx->flags & ~(XATTR_CREATE|XATTR_REPLACE)) in setxattr_copy()1256 if (flags & XATTR_REPLACE) { in simple_xattr_set()
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()
297 if (flags & XATTR_REPLACE) in ubifs_xattr_set()
682 } else if ((flags & XATTR_REPLACE)) { in __f2fs_setxattr()
700 if (flags & XATTR_REPLACE) { in __jfs_setxattr()
349 if (flags & XATTR_REPLACE) { in __hfsplus_setxattr()
499 if (flags & XATTR_REPLACE) in ext2_xattr_set()
1058 if (args->attr_flags & XATTR_REPLACE) in xfs_attr_set()
390 WARN_ON(flags != XATTR_REPLACE); in ovl_xattr_set()
1202 BUG_ON(flags != XATTR_REPLACE); in ecryptfs_xattr_set()
1164 if (flags & XATTR_REPLACE) { in do_jffs2_setxattr()
461 BUILD_BUG_ON(XATTR_REPLACE != SETXATTR4_REPLACE); in encode_setxattr()
604 else if (!xattr && (flags & XATTR_REPLACE)) in __set_xattr()
368 return XATTR_REPLACE; in xfs_attr_flags()
2018 { XATTR_REPLACE, "REPLACE" }),
2415 if (flags & XATTR_REPLACE) in ext4_xattr_set_handle()
3591 if (flags & XATTR_REPLACE) in ocfs2_xattr_set()