| /freebsd-12-stable/sys/fs/fuse/ |
| D | fuse_file.c | 169 fuse_filehandle_close(struct vnode *vp, struct fuse_filehandle *fufh, in fuse_filehandle_close() argument 186 fri->fh = fufh->fh_id; in fuse_filehandle_close() 187 fri->flags = fufh_type_2_fflags(fufh->fufh_type); in fuse_filehandle_close() 200 LIST_REMOVE(fufh, next); in fuse_filehandle_close() 201 free(fufh, M_FUSE_FILEHANDLE); in fuse_filehandle_close() 218 struct fuse_filehandle *fufh; in fuse_filehandle_validrw() local 225 LIST_FOREACH(fufh, &fvdat->handles, next) { in fuse_filehandle_validrw() 226 if (fufh->fufh_type == fufh_type && in fuse_filehandle_validrw() 227 fufh->uid == cred->cr_uid && in fuse_filehandle_validrw() 228 fufh->gid == cred->cr_rgid && in fuse_filehandle_validrw() [all …]
|
| D | fuse_io.c | 129 struct ucred *cred, struct fuse_filehandle *fufh); 132 struct ucred *cred, struct fuse_filehandle *fufh, pid_t pid); 135 struct ucred *cred, struct fuse_filehandle *fufh, off_t filesize, 139 struct ucred *cred, struct fuse_filehandle *fufh, int ioflag, pid_t pid); 238 struct fuse_filehandle *fufh; in fuse_io_dispatch() local 246 err = fuse_filehandle_getrw(vp, fflag, &fufh, cred, pid); in fuse_io_dispatch() 252 err = fuse_filehandle_open(vp, fflag, &fufh, curthread, cred); in fuse_io_dispatch() 263 SDT_PROBE5(fusefs, , io, io_dispatch, vp, uio, ioflag, cred, fufh); in fuse_io_dispatch() 283 err = fuse_read_directbackend(vp, uio, cred, fufh); in fuse_io_dispatch() 287 err = fuse_read_biobackend(vp, uio, ioflag, cred, fufh, in fuse_io_dispatch() [all …]
|
| D | fuse_vnops.c | 280 struct fuse_filehandle *fufh; in fuse_flush() local 289 err = fuse_filehandle_getrw(vp, fflag, &fufh, cred, pid); in fuse_flush() 296 ffi->fh = fufh->fh_id; in fuse_flush() 384 struct fuse_filehandle *fufh; in fuse_vnop_advlock() local 452 err = fuse_filehandle_get_anyflags(vp, &fufh, cred, pid); in fuse_vnop_advlock() 460 fli->fh = fufh->fh_id; in fuse_vnop_advlock() 923 struct fuse_filehandle *fufh, *fufh_tmp; in fuse_vnop_inactive() local 927 LIST_FOREACH_SAFE(fufh, &fvdat->handles, next, fufh_tmp) { in fuse_vnop_inactive() 938 fuse_filehandle_close(vp, fufh, td, NULL); in fuse_vnop_inactive() 1469 struct fuse_filehandle *fufh = NULL; in fuse_vnop_readdir() local [all …]
|
| D | fuse_node.c | 357 struct fuse_filehandle *fufh = NULL; in fuse_vnode_savesize() local 386 fuse_filehandle_getrw(vp, FWRITE, &fufh, cred, pid); in fuse_vnode_savesize() 387 if (fufh) { in fuse_vnode_savesize() 388 fsai->fh = fufh->fh_id; in fuse_vnode_savesize()
|
| D | fuse_internal.c | 381 struct fuse_filehandle *fufh; in fuse_internal_fsync() local 402 LIST_FOREACH(fufh, &fvdat->handles, next) { in fuse_internal_fsync() 409 ffsi->fh = fufh->fh_id; in fuse_internal_fsync() 561 struct fuse_filehandle *fufh, in fuse_internal_readdir() argument 599 fri->fh = fufh->fh_id; in fuse_internal_readdir() 1185 struct fuse_filehandle *fufh = NULL; in fuse_internal_setattr() local 1193 fuse_filehandle_getrw(vp, FWRITE, &fufh, cred, pid); in fuse_internal_setattr() 1194 if (fufh) { in fuse_internal_setattr() 1195 fsai->fh = fufh->fh_id; in fuse_internal_setattr()
|
| D | fuse_file.h | 218 int fuse_filehandle_close(struct vnode *vp, struct fuse_filehandle *fufh,
|
| D | fuse_internal.h | 255 struct fuse_filehandle *fufh, struct fuse_iov *cookediov, int *ncookies,
|