Lines Matching refs:fufh
111 panic("FUSE: filehandle_open called despite valid fufh (type=%d)",
160 struct fuse_filehandle *fufh = NULL;
169 fufh = &(fvdat->fufh[fufh_type]);
170 if (!FUFH_IS_VALID(fufh)) {
171 panic("FUSE: filehandle_put called on invalid fufh (type=%d)",
185 fri->fh = fufh->fh_id;
193 fufh->fh_id = (uint64_t)-1;
194 fufh->fh_type = FUFH_INVALID;
203 struct fuse_filehandle *fufh;
205 fufh = &(fvdat->fufh[fufh_type]);
206 return FUFH_IS_VALID(fufh);
214 struct fuse_filehandle *fufh;
216 fufh = &(fvdat->fufh[fufh_type]);
217 if (!FUFH_IS_VALID(fufh))
220 *fufhp = fufh;
229 struct fuse_filehandle *fufh;
231 fufh = &(fvdat->fufh[fufh_type]);
232 if (!FUFH_IS_VALID(fufh)) {
245 struct fuse_filehandle *fufh;
248 fufh = &(fvdat->fufh[fufh_type]);
249 MPASS(!FUFH_IS_VALID(fufh));
250 fufh->fh_id = fh_id;
251 fufh->fh_type = fufh_type;
252 if (!FUFH_IS_VALID(fufh)) {
256 *fufhp = fufh;