Home
last modified time | relevance | path

Searched refs:name_index (Results 1 – 12 of 12) sorted by relevance

/fs/ext2/
Dacl.c146 int name_index; in ext2_get_acl() local
156 name_index = EXT2_XATTR_INDEX_POSIX_ACL_ACCESS; in ext2_get_acl()
159 name_index = EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext2_get_acl()
164 retval = ext2_xattr_get(inode, name_index, "", NULL, 0); in ext2_get_acl()
169 retval = ext2_xattr_get(inode, name_index, "", value, retval); in ext2_get_acl()
185 int name_index; in __ext2_set_acl() local
192 name_index = EXT2_XATTR_INDEX_POSIX_ACL_ACCESS; in __ext2_set_acl()
196 name_index = EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT; in __ext2_set_acl()
210 error = ext2_xattr_set(inode, name_index, "", value, size, 0); in __ext2_set_acl()
Dxattr.c129 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()
171 ext2_xattr_cmp_entry(int name_index, size_t name_len, const char *name, in ext2_xattr_cmp_entry() argument
176 cmp = name_index - entry->e_name_index; in ext2_xattr_cmp_entry()
196 ext2_xattr_get(struct inode *inode, int name_index, const char *name, in ext2_xattr_get() argument
207 name_index, name, buffer, (long)buffer_size); in ext2_xattr_get()
243 not_found = ext2_xattr_cmp_entry(name_index, name_len, name, in ext2_xattr_get()
407 ext2_xattr_set(struct inode *inode, int name_index, const char *name, in ext2_xattr_set() argument
431 name_index, name, value, (long)value_len); in ext2_xattr_set()
[all …]
Dxattr.h80 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/ext4/
Dacl.c147 int name_index; in ext4_get_acl() local
157 name_index = EXT4_XATTR_INDEX_POSIX_ACL_ACCESS; in ext4_get_acl()
160 name_index = EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext4_get_acl()
165 retval = ext4_xattr_get(inode, name_index, "", NULL, 0); in ext4_get_acl()
170 retval = ext4_xattr_get(inode, name_index, "", value, retval); in ext4_get_acl()
192 int name_index; in __ext4_set_acl() local
199 name_index = EXT4_XATTR_INDEX_POSIX_ACL_ACCESS; in __ext4_set_acl()
203 name_index = EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT; in __ext4_set_acl()
217 error = ext4_xattr_set_handle(handle, inode, name_index, "", in __ext4_set_acl()
Dxattr.c179 ext4_xattr_handler(int name_index) in ext4_xattr_handler() argument
183 if (name_index > 0 && name_index < ARRAY_SIZE(ext4_xattr_handler_map)) in ext4_xattr_handler()
184 handler = ext4_xattr_handler_map[name_index]; in ext4_xattr_handler()
288 void *end, int name_index, const char *name, int sorted) in xattr_find_entry() argument
303 cmp = name_index - entry->e_name_index; in xattr_find_entry()
524 ext4_xattr_block_get(struct inode *inode, int name_index, const char *name, in ext4_xattr_block_get() argument
535 name_index, name, buffer, (long)buffer_size); in ext4_xattr_block_get()
552 error = xattr_find_entry(inode, &entry, end, name_index, name, 1); in ext4_xattr_block_get()
584 ext4_xattr_ibody_get(struct inode *inode, int name_index, const char *name, in ext4_xattr_ibody_get() argument
607 error = xattr_find_entry(inode, &entry, end, name_index, name, 0); in ext4_xattr_ibody_get()
[all …]
Dxattr.h115 int name_index; member
200 extern int ext4_xattr_ibody_get(struct inode *inode, int name_index,
Dinline.c145 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_find_inline_data_nolock()
272 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_create_inline_data()
337 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_update_inline_data()
362 error = ext4_xattr_ibody_get(inode, i.name_index, i.name, in ext4_update_inline_data()
427 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_destroy_inline_data_nolock()
1934 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_inline_data_truncate()
1995 err = ext4_xattr_ibody_get(inode, i.name_index, in ext4_inline_data_truncate()
/fs/ocfs2/
Dacl.c116 int name_index; in ocfs2_get_acl_nolock() local
123 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS; in ocfs2_get_acl_nolock()
126 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ocfs2_get_acl_nolock()
132 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock()
137 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock()
222 int name_index; in ocfs2_set_acl() local
232 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS; in ocfs2_set_acl()
235 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ocfs2_set_acl()
250 ret = ocfs2_xattr_set_handle(handle, inode, di_bh, name_index, in ocfs2_set_acl()
254 ret = ocfs2_xattr_set(inode, name_index, "", value, size, 0); in ocfs2_set_acl()
Dxattr.c248 int name_index,
253 int name_index,
531 static inline const char *ocfs2_xattr_prefix(int name_index) in ocfs2_xattr_prefix() argument
535 if (name_index > 0 && name_index < OCFS2_XATTR_MAX) in ocfs2_xattr_prefix()
536 handler = ocfs2_xattr_handler_map[name_index]; in ocfs2_xattr_prefix()
1069 static int ocfs2_xattr_find_entry(int name_index, in ocfs2_xattr_find_entry() argument
1083 cmp = name_index - ocfs2_xattr_get_type(entry); in ocfs2_xattr_find_entry()
1152 int name_index, in ocfs2_xattr_ibody_get() argument
1173 ret = ocfs2_xattr_find_entry(name_index, name, xs); in ocfs2_xattr_ibody_get()
1202 int name_index, in ocfs2_xattr_block_get() argument
[all …]
Docfs2_trace.h1760 TP_PROTO(unsigned long long ino, const char *name, int name_index,
1763 TP_ARGS(ino, name, name_index, hash, location, xe_index),
1767 __field(int, name_index)
1775 __entry->name_index = name_index;
1781 __entry->name_index, __entry->hash, __entry->location,
1787 TP_PROTO(unsigned long long ino, const char *name, int name_index, \
1790 TP_ARGS(ino, name, name_index, hash, bucket, xe_index))
/fs/f2fs/
Dacl.c171 int name_index = F2FS_XATTR_INDEX_POSIX_ACL_DEFAULT; in __f2fs_get_acl() local
177 name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS; in __f2fs_get_acl()
179 retval = f2fs_getxattr(inode, name_index, "", NULL, 0, dpage); in __f2fs_get_acl()
184 retval = f2fs_getxattr(inode, name_index, "", value, in __f2fs_get_acl()
233 int name_index; in __f2fs_set_acl() local
241 name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS; in __f2fs_set_acl()
252 name_index = F2FS_XATTR_INDEX_POSIX_ACL_DEFAULT; in __f2fs_set_acl()
269 error = f2fs_setxattr(inode, name_index, "", value, size, ipage, 0); in __f2fs_set_acl()
/fs/squashfs/
Dxattr.c105 static int squashfs_xattr_get(struct inode *inode, int name_index, in squashfs_xattr_get() argument
136 if (prefix == name_index && name_size == name_len) in squashfs_xattr_get()
145 if (prefix == name_index && name_size == name_len && in squashfs_xattr_get()