Lines Matching refs:want
344 * Return 0 if current is granted want access to the inode
348 posix_acl_permission(struct inode *inode, const struct posix_acl *acl, int want)
353 want &= MAY_READ | MAY_WRITE | MAY_EXEC;
369 if ((pa->e_perm & want) == want)
376 if ((pa->e_perm & want) == want)
396 if ((pa->e_perm & mask_obj->e_perm & want) == want)
403 if ((pa->e_perm & want) == want)