Lines Matching refs:fid
17 ssize_t v9fs_fid_xattr_get(struct p9_fid *fid, const char *name, in v9fs_fid_xattr_get() argument
29 attr_fid = p9_client_xattrwalk(fid, name, &attr_size); in v9fs_fid_xattr_get()
65 struct p9_fid *fid; in v9fs_xattr_get() local
70 fid = v9fs_fid_lookup(dentry); in v9fs_xattr_get()
71 if (IS_ERR(fid)) in v9fs_xattr_get()
72 return PTR_ERR(fid); in v9fs_xattr_get()
73 ret = v9fs_fid_xattr_get(fid, name, buffer, buffer_size); in v9fs_xattr_get()
74 p9_client_clunk(fid); in v9fs_xattr_get()
95 struct p9_fid *fid; in v9fs_xattr_set() local
97 fid = v9fs_fid_lookup(dentry); in v9fs_xattr_set()
98 if (IS_ERR(fid)) in v9fs_xattr_set()
99 return PTR_ERR(fid); in v9fs_xattr_set()
100 ret = v9fs_fid_xattr_set(fid, name, value, value_len, flags); in v9fs_xattr_set()
101 p9_client_clunk(fid); in v9fs_xattr_set()
105 int v9fs_fid_xattr_set(struct p9_fid *fid, const char *name, in v9fs_fid_xattr_set() argument
118 fid = clone_fid(fid); in v9fs_fid_xattr_set()
119 if (IS_ERR(fid)) in v9fs_fid_xattr_set()
120 return PTR_ERR(fid); in v9fs_fid_xattr_set()
125 retval = p9_client_xattrcreate(fid, name, value_len, flags); in v9fs_fid_xattr_set()
130 p9_client_write(fid, 0, &from, &retval); in v9fs_fid_xattr_set()
131 err = p9_client_clunk(fid); in v9fs_fid_xattr_set()