Lines Matching defs:fufh
111 panic("FUSE: filehandle_open called despite valid fufh (type=%d)",
170 struct fuse_filehandle *fufh = NULL;
179 fufh = &(fvdat->fufh[fufh_type]);
180 if (!FUFH_IS_VALID(fufh)) {
181 panic("FUSE: filehandle_put called on invalid fufh (type=%d)",
195 fri->fh = fufh->fh_id;
203 fufh->fh_id = (uint64_t)-1;
204 fufh->fh_type = FUFH_INVALID;
213 struct fuse_filehandle *fufh;
215 fufh = &(fvdat->fufh[fufh_type]);
216 return FUFH_IS_VALID(fufh);
230 struct fuse_filehandle *fufh;
232 fufh = &fvdat->fufh[fufh_type];
233 if (FUFH_IS_VALID(fufh) != 0)
235 fufh = &fvdat->fufh[FUFH_RDWR];
236 if (FUFH_IS_VALID(fufh) != 0)
246 struct fuse_filehandle *fufh;
248 fufh = &(fvdat->fufh[fufh_type]);
249 if (!FUFH_IS_VALID(fufh))
252 *fufhp = fufh;
261 struct fuse_filehandle *fufh;
263 fufh = &(fvdat->fufh[fufh_type]);
264 if (!FUFH_IS_VALID(fufh)) {
277 struct fuse_filehandle *fufh;
280 fufh = &(fvdat->fufh[fufh_type]);
281 MPASS(!FUFH_IS_VALID(fufh));
282 fufh->fh_id = fh_id;
283 fufh->fh_type = fufh_type;
284 if (!FUFH_IS_VALID(fufh)) {
288 *fufhp = fufh;