Lines Matching defs:p9_fid

130  * struct p9_fid - file system entity handle
148 struct p9_fid {
181 int p9_client_statfs(struct p9_fid *fid, struct p9_rstatfs *sb);
182 int p9_client_rename(struct p9_fid *fid, struct p9_fid *newdirfid,
184 int p9_client_renameat(struct p9_fid *olddirfid, const char *old_name,
185 struct p9_fid *newdirfid, const char *new_name);
190 struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
192 struct p9_fid *p9_client_walk(struct p9_fid *oldfid, uint16_t nwname,
194 int p9_client_open(struct p9_fid *fid, int mode);
195 int p9_client_fcreate(struct p9_fid *fid, const char *name, u32 perm, int mode,
197 int p9_client_link(struct p9_fid *fid, struct p9_fid *oldfid, const char *newname);
198 int p9_client_symlink(struct p9_fid *fid, const char *name, const char *symname,
200 int p9_client_create_dotl(struct p9_fid *ofid, const char *name, u32 flags, u32 mode,
202 int p9_client_clunk(struct p9_fid *fid);
203 int p9_client_fsync(struct p9_fid *fid, int datasync);
204 int p9_client_remove(struct p9_fid *fid);
205 int p9_client_unlinkat(struct p9_fid *dfid, const char *name, int flags);
206 int p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err);
207 int p9_client_read_once(struct p9_fid *fid, u64 offset, struct iov_iter *to,
209 int p9_client_write(struct p9_fid *fid, u64 offset, struct iov_iter *from, int *err);
210 int p9_client_readdir(struct p9_fid *fid, char *data, u32 count, u64 offset);
213 struct p9_wstat *p9_client_stat(struct p9_fid *fid);
214 int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst);
215 int p9_client_setattr(struct p9_fid *fid, struct p9_iattr_dotl *attr);
217 struct p9_stat_dotl *p9_client_getattr_dotl(struct p9_fid *fid,
220 int p9_client_mknod_dotl(struct p9_fid *oldfid, const char *name, int mode,
222 int p9_client_mkdir_dotl(struct p9_fid *fid, const char *name, int mode,
224 int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status);
225 int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *fl);
244 void do_trace_9p_fid_get(struct p9_fid *fid);
245 void do_trace_9p_fid_put(struct p9_fid *fid);
257 static inline struct p9_fid *p9_fid_get(struct p9_fid *fid)
267 static inline int p9_fid_put(struct p9_fid *fid)
291 struct p9_fid *p9_client_xattrwalk(struct p9_fid *file_fid,
293 int p9_client_xattrcreate(struct p9_fid *fid, const char *name,
295 int p9_client_readlink(struct p9_fid *fid, char **target);