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
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()
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()
44 if (setxattr_flags & XATTR_REPLACE) { in convert_to_internal_xattr_flags()283 if (flags & XATTR_REPLACE) in orangefs_inode_removexattr()
343 if ((flags & XATTR_REPLACE) && !val_size) { in ntfs_set_ea()348 if (flags & XATTR_REPLACE) { in ntfs_set_ea()590 flags = XATTR_REPLACE; in ntfs_set_acl_ex()
471 XATTR_REPLACE); in __vfs_removexattr()549 if (ctx->flags & ~(XATTR_CREATE|XATTR_REPLACE)) in setxattr_copy()1097 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()
674 } else if ((flags & XATTR_REPLACE)) { in __f2fs_setxattr()
349 if (flags & XATTR_REPLACE) { in __hfsplus_setxattr()
700 if (flags & XATTR_REPLACE) { in __jfs_setxattr()
500 if (flags & XATTR_REPLACE) in ext2_xattr_set()
381 WARN_ON(flags != XATTR_REPLACE); in ovl_xattr_set()
1173 BUG_ON(flags != XATTR_REPLACE); in ecryptfs_xattr_set()
1060 if (args->attr_flags & XATTR_REPLACE) in xfs_attr_set()
1160 if (flags & XATTR_REPLACE) { in do_jffs2_setxattr()
442 BUILD_BUG_ON(XATTR_REPLACE != SETXATTR4_REPLACE); in encode_setxattr()
575 else if (!xattr && (flags & XATTR_REPLACE)) in __set_xattr()
368 return XATTR_REPLACE; in xfs_attr_flags()
2011 { XATTR_REPLACE, "REPLACE" }),
2353 if (flags & XATTR_REPLACE) in ext4_xattr_set_handle()
3595 if (flags & XATTR_REPLACE) in ocfs2_xattr_set()