Lines Matching defs:p9_fid

95 struct p9_fid {
103 STAILQ_ENTRY(p9_fid) fid_next; /* points to next fid in the list */
122 struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *fid,
127 int p9_client_open(struct p9_fid *fid, int mode);
128 int p9_client_close(struct p9_fid *fid);
129 struct p9_fid *p9_client_walk(struct p9_fid *oldfid, uint16_t nwnames,
131 struct p9_fid *p9_fid_create(struct p9_client *clnt);
132 void p9_fid_destroy(struct p9_fid *fid);
135 int p9_client_clunk(struct p9_fid *fid);
137 int p9_client_readdir(struct p9_fid *fid, char *data, uint64_t offset, uint32_t count);
138 int p9_client_read(struct p9_fid *fid, uint64_t offset, uint32_t count, char *data);
139 int p9_client_write(struct p9_fid *fid, uint64_t offset, uint32_t count, char *data);
140 int p9_client_file_create(struct p9_fid *fid, char *name, uint32_t perm, int mode,
142 int p9_client_remove(struct p9_fid *fid);
143 int p9_client_unlink(struct p9_fid *dfid, const char *name, int32_t flags);
146 int p9_client_statfs(struct p9_fid *fid, struct p9_statfs *stat);
154 int p9_create_symlink(struct p9_fid *fid, char *name, char *symtgt, gid_t gid);
155 int p9_create_hardlink(struct p9_fid *dfid, struct p9_fid *oldfid, char *name);
156 int p9_readlink(struct p9_fid *fid, char **target);
157 int p9_client_renameat(struct p9_fid *oldfid, char *oldname, struct p9_fid *newfid, char *newname);
158 int p9_client_getattr(struct p9_fid *fid, struct p9_stat_dotl *stat_dotl,
160 int p9_client_setattr(struct p9_fid *fid, struct p9_iattr_dotl *p9attr);