/fs/ext2/ |
D | acl.c | 134 int name_index; in ext2_get_acl() local 148 name_index = EXT2_XATTR_INDEX_POSIX_ACL_ACCESS; in ext2_get_acl() 151 name_index = EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext2_get_acl() 156 retval = ext2_xattr_get(inode, name_index, "", NULL, 0); in ext2_get_acl() 161 retval = ext2_xattr_get(inode, name_index, "", value, retval); in ext2_get_acl() 183 int name_index; in ext2_set_acl() local 195 name_index = EXT2_XATTR_INDEX_POSIX_ACL_ACCESS; in ext2_set_acl() 210 name_index = EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext2_set_acl() 224 error = ext2_xattr_set(inode, name_index, "", value, size, 0); in ext2_set_acl()
|
D | xattr.c | 129 ext2_xattr_handler(int name_index) in ext2_xattr_handler() argument 133 if (name_index > 0 && name_index < ARRAY_SIZE(ext2_xattr_handler_map)) in ext2_xattr_handler() 134 handler = ext2_xattr_handler_map[name_index]; in ext2_xattr_handler() 149 ext2_xattr_get(struct inode *inode, int name_index, const char *name, in ext2_xattr_get() argument 159 name_index, name, buffer, (long)buffer_size); in ext2_xattr_get() 195 if (name_index == entry->e_name_index && in ext2_xattr_get() 359 ext2_xattr_set(struct inode *inode, int name_index, const char *name, in ext2_xattr_set() argument 383 name_index, name, value, (long)value_len); in ext2_xattr_set() 423 not_found = name_index - here->e_name_index; in ext2_xattr_set() 535 here->e_name_index = name_index; in ext2_xattr_set()
|
D | xattr.h | 80 ext2_xattr_get(struct inode *inode, int name_index, in ext2_xattr_get() argument 87 ext2_xattr_set(struct inode *inode, int name_index, const char *name, in ext2_xattr_set() argument
|
/fs/ocfs2/ |
D | acl.c | 103 int name_index; in ocfs2_get_acl_nolock() local 110 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS; in ocfs2_get_acl_nolock() 113 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ocfs2_get_acl_nolock() 119 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock() 124 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock() 238 int name_index; in ocfs2_set_acl() local 248 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS; in ocfs2_set_acl() 267 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ocfs2_set_acl() 282 ret = ocfs2_xattr_set_handle(handle, inode, di_bh, name_index, in ocfs2_set_acl() 286 ret = ocfs2_xattr_set(inode, name_index, "", value, size, 0); in ocfs2_set_acl()
|
D | xattr.c | 258 int name_index, 263 int name_index, 540 static inline const char *ocfs2_xattr_prefix(int name_index) in ocfs2_xattr_prefix() argument 544 if (name_index > 0 && name_index < OCFS2_XATTR_MAX) in ocfs2_xattr_prefix() 545 handler = ocfs2_xattr_handler_map[name_index]; in ocfs2_xattr_prefix() 1055 static int ocfs2_xattr_find_entry(int name_index, in ocfs2_xattr_find_entry() argument 1069 cmp = name_index - ocfs2_xattr_get_type(entry); in ocfs2_xattr_find_entry() 1138 int name_index, in ocfs2_xattr_ibody_get() argument 1159 ret = ocfs2_xattr_find_entry(name_index, name, xs); in ocfs2_xattr_ibody_get() 1188 int name_index, in ocfs2_xattr_block_get() argument [all …]
|
D | ocfs2_trace.h | 1763 TP_PROTO(unsigned long long ino, const char *name, int name_index, 1766 TP_ARGS(ino, name, name_index, hash, location, xe_index), 1770 __field(int, name_index) 1778 __entry->name_index = name_index; 1784 __entry->name_index, __entry->hash, __entry->location, 1790 TP_PROTO(unsigned long long ino, const char *name, int name_index, \ 1793 TP_ARGS(ino, name, name_index, hash, bucket, xe_index))
|
/fs/ext4/ |
D | acl.c | 137 int name_index; in ext4_get_acl() local 151 name_index = EXT4_XATTR_INDEX_POSIX_ACL_ACCESS; in ext4_get_acl() 154 name_index = EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext4_get_acl() 159 retval = ext4_xattr_get(inode, name_index, "", NULL, 0); in ext4_get_acl() 164 retval = ext4_xattr_get(inode, name_index, "", value, retval); in ext4_get_acl() 189 int name_index; in ext4_set_acl() local 199 name_index = EXT4_XATTR_INDEX_POSIX_ACL_ACCESS; in ext4_set_acl() 214 name_index = EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext4_set_acl() 228 error = ext4_xattr_set_handle(handle, inode, name_index, "", in ext4_set_acl()
|
D | xattr.c | 126 ext4_xattr_handler(int name_index) in ext4_xattr_handler() argument 130 if (name_index > 0 && name_index < ARRAY_SIZE(ext4_xattr_handler_map)) in ext4_xattr_handler() 131 handler = ext4_xattr_handler_map[name_index]; in ext4_xattr_handler() 179 ext4_xattr_find_entry(struct ext4_xattr_entry **pentry, int name_index, in ext4_xattr_find_entry() argument 191 cmp = name_index - entry->e_name_index; in ext4_xattr_find_entry() 206 ext4_xattr_block_get(struct inode *inode, int name_index, const char *name, in ext4_xattr_block_get() argument 215 name_index, name, buffer, (long)buffer_size); in ext4_xattr_block_get() 236 error = ext4_xattr_find_entry(&entry, name_index, name, bh->b_size, 1); in ext4_xattr_block_get() 257 ext4_xattr_ibody_get(struct inode *inode, int name_index, const char *name, in ext4_xattr_ibody_get() argument 280 error = ext4_xattr_find_entry(&entry, name_index, name, in ext4_xattr_ibody_get() [all …]
|
D | xattr.h | 94 ext4_xattr_get(struct inode *inode, int name_index, const char *name, in ext4_xattr_get() argument 101 ext4_xattr_set(struct inode *inode, int name_index, const char *name, in ext4_xattr_set() argument 108 ext4_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index, in ext4_xattr_set_handle() argument
|
/fs/ext3/ |
D | acl.c | 131 int name_index; in ext3_get_acl() local 145 name_index = EXT3_XATTR_INDEX_POSIX_ACL_ACCESS; in ext3_get_acl() 148 name_index = EXT3_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext3_get_acl() 154 retval = ext3_xattr_get(inode, name_index, "", NULL, 0); in ext3_get_acl() 159 retval = ext3_xattr_get(inode, name_index, "", value, retval); in ext3_get_acl() 184 int name_index; in ext3_set_acl() local 194 name_index = EXT3_XATTR_INDEX_POSIX_ACL_ACCESS; in ext3_set_acl() 209 name_index = EXT3_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext3_set_acl() 223 error = ext3_xattr_set_handle(handle, inode, name_index, "", in ext3_set_acl()
|
D | xattr.c | 128 ext3_xattr_handler(int name_index) in ext3_xattr_handler() argument 132 if (name_index > 0 && name_index < ARRAY_SIZE(ext3_xattr_handler_map)) in ext3_xattr_handler() 133 handler = ext3_xattr_handler_map[name_index]; in ext3_xattr_handler() 184 ext3_xattr_find_entry(struct ext3_xattr_entry **pentry, int name_index, in ext3_xattr_find_entry() argument 196 cmp = name_index - entry->e_name_index; in ext3_xattr_find_entry() 211 ext3_xattr_block_get(struct inode *inode, int name_index, const char *name, in ext3_xattr_block_get() argument 220 name_index, name, buffer, (long)buffer_size); in ext3_xattr_block_get() 240 error = ext3_xattr_find_entry(&entry, name_index, name, bh->b_size, 1); in ext3_xattr_block_get() 261 ext3_xattr_ibody_get(struct inode *inode, int name_index, const char *name, in ext3_xattr_ibody_get() argument 284 error = ext3_xattr_find_entry(&entry, name_index, name, in ext3_xattr_ibody_get() [all …]
|
D | xattr.h | 84 ext3_xattr_get(struct inode *inode, int name_index, const char *name, in ext3_xattr_get() argument 91 ext3_xattr_set(struct inode *inode, int name_index, const char *name, in ext3_xattr_set() argument 98 ext3_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index, in ext3_xattr_set_handle() argument
|
/fs/squashfs/ |
D | xattr.c | 117 static int squashfs_xattr_get(struct inode *inode, int name_index, in squashfs_xattr_get() argument 148 if (prefix == name_index && name_size == name_len) in squashfs_xattr_get() 157 if (prefix == name_index && name_size == name_len && in squashfs_xattr_get()
|