Lines Matching refs:type
56 int type, error = 0; in nfs3_getxattr() local
59 type = ACL_TYPE_ACCESS; in nfs3_getxattr()
61 type = ACL_TYPE_DEFAULT; in nfs3_getxattr()
65 acl = nfs3_proc_getacl(inode, type); in nfs3_getxattr()
69 if (type == ACL_TYPE_ACCESS && acl->a_count == 0) in nfs3_getxattr()
85 int type, error; in nfs3_setxattr() local
88 type = ACL_TYPE_ACCESS; in nfs3_setxattr()
90 type = ACL_TYPE_DEFAULT; in nfs3_setxattr()
97 error = nfs3_proc_setacl(inode, type, acl); in nfs3_setxattr()
106 int type; in nfs3_removexattr() local
109 type = ACL_TYPE_ACCESS; in nfs3_removexattr()
111 type = ACL_TYPE_DEFAULT; in nfs3_removexattr()
115 return nfs3_proc_setacl(inode, type, NULL); in nfs3_removexattr()
139 static struct posix_acl *nfs3_get_cached_acl(struct inode *inode, int type) in nfs3_get_cached_acl() argument
145 switch(type) { in nfs3_get_cached_acl()
164 inode->i_ino, type, acl); in nfs3_get_cached_acl()
184 struct posix_acl *nfs3_proc_getacl(struct inode *inode, int type) in nfs3_proc_getacl() argument
212 acl = nfs3_get_cached_acl(inode, type); in nfs3_proc_getacl()
223 if (type == ACL_TYPE_ACCESS) in nfs3_proc_getacl()
268 switch(type) { in nfs3_proc_getacl()
368 int nfs3_proc_setacl(struct inode *inode, int type, struct posix_acl *acl) in nfs3_proc_setacl() argument
374 switch(type) { in nfs3_proc_setacl()
393 } else if (type != ACL_TYPE_ACCESS) in nfs3_proc_setacl()