Lines Matching defs:fid
89 struct unrhdr fidpool; /* fid handle accounting for session */
94 /* The main fid structure which keeps track of the file.*/
97 uint32_t fid; /* numeric identifier */
98 int mode; /* current mode of this 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);
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);
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);
156 int p9_readlink(struct p9_fid *fid, char **target);
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);