Home
last modified time | relevance | path

Searched refs:pa (Results 1 – 5 of 5) sorted by relevance

/fs/ext4/
Dmballoc.c643 struct ext4_prealloc_space *pa; in __mb_check_buddy() local
644 pa = list_entry(cur, struct ext4_prealloc_space, pa_group_list); in __mb_check_buddy()
645 ext4_get_group_no_and_offset(sb, pa->pa_pstart, &groupnr, &k); in __mb_check_buddy()
647 for (i = 0; i < pa->pa_len; i++) in __mb_check_buddy()
2720 struct ext4_prealloc_space *pa; in ext4_mb_cleanup_pa() local
2725 pa = list_entry(cur, struct ext4_prealloc_space, pa_group_list); in ext4_mb_cleanup_pa()
2726 list_del(&pa->pa_group_list); in ext4_mb_cleanup_pa()
2728 kmem_cache_free(ext4_pspace_cachep, pa); in ext4_mb_cleanup_pa()
3068 struct ext4_prealloc_space *pa; in ext4_mb_normalize_request() local
3162 list_for_each_entry_rcu(pa, &ei->i_prealloc_list, pa_inode_list) { in ext4_mb_normalize_request()
[all …]
/fs/
Dposix_acl.c176 const struct posix_acl_entry *pa, *pe; in posix_acl_valid() local
180 FOREACH_ACL_ENTRY(pa, acl, pe) { in posix_acl_valid()
181 if (pa->e_perm & ~(ACL_READ|ACL_WRITE|ACL_EXECUTE)) in posix_acl_valid()
183 switch (pa->e_tag) { in posix_acl_valid()
194 if (!uid_valid(pa->e_uid)) in posix_acl_valid()
209 if (!gid_valid(pa->e_gid)) in posix_acl_valid()
245 const struct posix_acl_entry *pa, *pe; in posix_acl_equiv_mode() local
255 FOREACH_ACL_ENTRY(pa, acl, pe) { in posix_acl_equiv_mode()
256 switch (pa->e_tag) { in posix_acl_equiv_mode()
258 mode |= (pa->e_perm & S_IRWXO) << 6; in posix_acl_equiv_mode()
[all …]
/fs/nfsd/
Dnfs4acl.c191 struct posix_acl_entry *pa, *pe; in summarize_posix_acl() local
203 FOREACH_ACL_ENTRY(pa, acl, pe) { in summarize_posix_acl()
204 switch (pa->e_tag) { in summarize_posix_acl()
206 pas->owner = pa->e_perm; in summarize_posix_acl()
209 pas->group = pa->e_perm; in summarize_posix_acl()
212 pas->users |= pa->e_perm; in summarize_posix_acl()
215 pas->groups |= pa->e_perm; in summarize_posix_acl()
218 pas->other = pa->e_perm; in summarize_posix_acl()
221 pas->mask = pa->e_perm; in summarize_posix_acl()
236 struct posix_acl_entry *pa, *group_owner_entry; in _posix_to_nfsv4_one() local
[all …]
/fs/f2fs/
Dacl.c283 struct posix_acl_entry *pa, *pe; in f2fs_acl_create_masq() local
290 FOREACH_ACL_ENTRY(pa, acl, pe) { in f2fs_acl_create_masq()
291 switch(pa->e_tag) { in f2fs_acl_create_masq()
293 pa->e_perm &= (mode >> 6) | ~S_IRWXO; in f2fs_acl_create_masq()
294 mode &= (pa->e_perm << 6) | ~S_IRWXU; in f2fs_acl_create_masq()
303 group_obj = pa; in f2fs_acl_create_masq()
307 pa->e_perm &= mode | ~S_IRWXO; in f2fs_acl_create_masq()
308 mode &= pa->e_perm | ~S_IRWXO; in f2fs_acl_create_masq()
312 mask_obj = pa; in f2fs_acl_create_masq()
/fs/nfs_common/
Dnfsacl.c220 struct posix_acl_entry *pa, *pe, in posix_acl_from_nfsacl() local
230 FOREACH_ACL_ENTRY(pa, acl, pe) { in posix_acl_from_nfsacl()
231 switch(pa->e_tag) { in posix_acl_from_nfsacl()
235 group_obj = pa; in posix_acl_from_nfsacl()
238 mask = pa; in posix_acl_from_nfsacl()