Lines Matching defs:fid
26 #include "fid.h"
28 static struct posix_acl *__v9fs_get_acl(struct p9_fid *fid, char *name)
34 size = v9fs_fid_xattr_get(fid, name, NULL, 0);
39 size = v9fs_fid_xattr_get(fid, name, value, size);
56 int v9fs_get_acl(struct inode *inode, struct p9_fid *fid)
70 dacl = __v9fs_get_acl(fid, XATTR_NAME_POSIX_ACL_DEFAULT);
71 pacl = __v9fs_get_acl(fid, XATTR_NAME_POSIX_ACL_ACCESS);
117 static int v9fs_set_acl(struct p9_fid *fid, int type, struct posix_acl *acl)
144 retval = v9fs_fid_xattr_set(fid, name, buffer, size, 0);
150 int v9fs_acl_chmod(struct inode *inode, struct p9_fid *fid)
163 retval = v9fs_set_acl(fid, ACL_TYPE_ACCESS, acl);
169 int v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid,
174 v9fs_set_acl(fid, ACL_TYPE_DEFAULT, dacl);
175 v9fs_set_acl(fid, ACL_TYPE_ACCESS, acl);