Lines Matching refs:type
57 int type, error = 0; in nfs3_getxattr() local
60 type = ACL_TYPE_ACCESS; in nfs3_getxattr()
62 type = ACL_TYPE_DEFAULT; in nfs3_getxattr()
66 acl = nfs3_proc_getacl(inode, type); in nfs3_getxattr()
70 if (type == ACL_TYPE_ACCESS && acl->a_count == 0) in nfs3_getxattr()
86 int type, error; in nfs3_setxattr() local
89 type = ACL_TYPE_ACCESS; in nfs3_setxattr()
91 type = ACL_TYPE_DEFAULT; in nfs3_setxattr()
98 error = nfs3_proc_setacl(inode, type, acl); in nfs3_setxattr()
107 int type; in nfs3_removexattr() local
110 type = ACL_TYPE_ACCESS; in nfs3_removexattr()
112 type = ACL_TYPE_DEFAULT; in nfs3_removexattr()
116 return nfs3_proc_setacl(inode, type, NULL); in nfs3_removexattr()
140 static struct posix_acl *nfs3_get_cached_acl(struct inode *inode, int type) in nfs3_get_cached_acl() argument
146 switch(type) { in nfs3_get_cached_acl()
165 inode->i_ino, type, acl); in nfs3_get_cached_acl()
185 struct posix_acl *nfs3_proc_getacl(struct inode *inode, int type) in nfs3_proc_getacl() argument
210 acl = nfs3_get_cached_acl(inode, type); in nfs3_proc_getacl()
221 if (type == ACL_TYPE_ACCESS) in nfs3_proc_getacl()
269 switch(type) { in nfs3_proc_getacl()
376 int nfs3_proc_setacl(struct inode *inode, int type, struct posix_acl *acl) in nfs3_proc_setacl() argument
382 switch(type) { in nfs3_proc_setacl()
401 } else if (type != ACL_TYPE_ACCESS) in nfs3_proc_setacl()