Home
last modified time | relevance | path

Searched refs:pa_entry (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/smb/server/
Dvfs.c1401 struct posix_acl_entry *pa_entry; in ksmbd_vfs_make_xattr_posix_acl() local
1419 pa_entry = posix_acls->a_entries; in ksmbd_vfs_make_xattr_posix_acl()
1421 for (i = 0; i < posix_acls->a_count; i++, pa_entry++, xa_entry++) { in ksmbd_vfs_make_xattr_posix_acl()
1422 switch (pa_entry->e_tag) { in ksmbd_vfs_make_xattr_posix_acl()
1425 xa_entry->uid = posix_acl_uid_translate(idmap, pa_entry); in ksmbd_vfs_make_xattr_posix_acl()
1432 xa_entry->gid = posix_acl_gid_translate(idmap, pa_entry); in ksmbd_vfs_make_xattr_posix_acl()
1444 pr_err("unknown type : 0x%x\n", pa_entry->e_tag); in ksmbd_vfs_make_xattr_posix_acl()
1448 if (pa_entry->e_perm & ACL_READ) in ksmbd_vfs_make_xattr_posix_acl()
1450 if (pa_entry->e_perm & ACL_WRITE) in ksmbd_vfs_make_xattr_posix_acl()
1452 if (pa_entry->e_perm & ACL_EXECUTE) in ksmbd_vfs_make_xattr_posix_acl()
Dsmbacl.c1229 struct posix_acl_entry *pa_entry; in smb_check_perm_dacl() local
1321 pa_entry = posix_acls->a_entries; in smb_check_perm_dacl()
1322 for (i = 0; i < posix_acls->a_count; i++, pa_entry++) { in smb_check_perm_dacl()
1323 if (pa_entry->e_tag == ACL_USER) in smb_check_perm_dacl()
1324 id = posix_acl_uid_translate(idmap, pa_entry); in smb_check_perm_dacl()
1325 else if (pa_entry->e_tag == ACL_GROUP) in smb_check_perm_dacl()
1326 id = posix_acl_gid_translate(idmap, pa_entry); in smb_check_perm_dacl()
1331 mode_to_access_flags(pa_entry->e_perm, in smb_check_perm_dacl()