Searched refs:XATTR_REPLACE (Results 1 - 19 of 19) sorted by relevance

/linux-4.1.27/include/uapi/linux/
H A Dxattr.h20 #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ macro
/linux-4.1.27/fs/btrfs/
H A Dxattr.c112 if (!di && (flags & XATTR_REPLACE)) do_setxattr()
128 if (flags & XATTR_REPLACE) { do_setxattr()
153 if (!di && !(flags & XATTR_REPLACE)) { do_setxattr()
481 NULL, 0, XATTR_REPLACE); btrfs_removexattr()
484 XATTR_REPLACE); btrfs_removexattr()
/linux-4.1.27/fs/cachefiles/
H A Dxattr.c146 XATTR_REPLACE); cachefiles_update_object_xattr()
274 XATTR_REPLACE); cachefiles_check_object_xattr()
/linux-4.1.27/fs/xfs/
H A Dxfs_xattr.c68 if (flags & XATTR_REPLACE) xfs_xattr_set()
/linux-4.1.27/fs/9p/
H A Dxattr.c90 * attribute. The flags XATTR_REPLACE and XATTR_CREATE
/linux-4.1.27/fs/reiserfs/
H A Dxattr.c248 dir = open_xa_dir(inode, XATTR_REPLACE); reiserfs_for_each_xattr()
468 xadir = open_xa_dir(inode, XATTR_REPLACE); lookup_and_delete_xattr()
605 if (!(flags & XATTR_REPLACE)) reiserfs_xattr_set()
652 dentry = xattr_lookup(inode, name, XATTR_REPLACE); reiserfs_xattr_get()
817 return handler->set(dentry, name, NULL, 0, XATTR_REPLACE, handler->flags); reiserfs_removexattr()
885 dir = open_xa_dir(d_inode(dentry), XATTR_REPLACE); reiserfs_listxattr()
/linux-4.1.27/fs/
H A Dxattr.c330 if (flags & ~(XATTR_CREATE|XATTR_REPLACE)) setxattr()
786 XATTR_REPLACE, handler->flags); generic_removexattr()
877 if (flags & XATTR_REPLACE) { __simple_xattr_set()
903 * with -EEXIST. If %XATTR_REPLACE is set, the xattr should exist;
921 return __simple_xattr_set(xattrs, name, NULL, 0, XATTR_REPLACE); simple_xattr_remove()
/linux-4.1.27/fs/f2fs/
H A Dxattr.c514 if ((flags & XATTR_REPLACE) && !found) { __f2fs_setxattr()
/linux-4.1.27/fs/jfs/
H A Dxattr.c753 if (flags & XATTR_REPLACE) { __jfs_setxattr()
1050 rc = __jfs_setxattr(tid, d_inode(dentry), name, NULL, 0, XATTR_REPLACE); jfs_removexattr()
/linux-4.1.27/fs/ext2/
H A Dxattr.c351 * attribute. The flags XATTR_REPLACE and XATTR_CREATE
457 if (flags & XATTR_REPLACE) ext2_xattr_set()
/linux-4.1.27/fs/ext3/
H A Dxattr.c933 * attribute. The flags XATTR_REPLACE and XATTR_CREATE
987 if (flags & XATTR_REPLACE) ext3_xattr_set_handle()
/linux-4.1.27/fs/gfs2/
H A Dxattr.c1196 if (flags & XATTR_REPLACE) __gfs2_xattr_set()
1224 if (!(flags & XATTR_REPLACE)) __gfs2_xattr_set()
/linux-4.1.27/fs/ubifs/
H A Dxattr.c335 if (flags & XATTR_REPLACE) setxattr()
/linux-4.1.27/fs/hfsplus/
H A Dxattr.c355 if (flags & XATTR_REPLACE) { __hfsplus_setxattr()
/linux-4.1.27/fs/ext4/
H A Dxattr.c1077 * attribute. The flags XATTR_REPLACE and XATTR_CREATE
1131 if (flags & XATTR_REPLACE) ext4_xattr_set_handle()
/linux-4.1.27/fs/jffs2/
H A Dxattr.c1153 if (flags & XATTR_REPLACE) { do_jffs2_setxattr()
/linux-4.1.27/fs/ceph/
H A Dxattr.c374 else if (!xattr && (flags & XATTR_REPLACE)) __set_xattr()
/linux-4.1.27/include/linux/
H A Dsecurity.h538 * @value in bytes. @flags may be XATTR_CREATE, XATTR_REPLACE, or 0.
/linux-4.1.27/fs/ocfs2/
H A Dxattr.c3584 if (flags & XATTR_REPLACE) ocfs2_xattr_set()

Completed in 565 milliseconds