Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/fuse/fuse_file.c
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
#include "fuse_ipc.h" | #include "fuse_ipc.h" | ||||
#include "fuse_node.h" | #include "fuse_node.h" | ||||
#define FUSE_DEBUG_MODULE FILE | #define FUSE_DEBUG_MODULE FILE | ||||
#include "fuse_debug.h" | #include "fuse_debug.h" | ||||
static int fuse_fh_count = 0; | static int fuse_fh_count = 0; | ||||
SYSCTL_INT(_vfs_fuse, OID_AUTO, filehandle_count, CTLFLAG_RD, | SYSCTL_INT(_vfs_fusefs, OID_AUTO, filehandle_count, CTLFLAG_RD, | ||||
&fuse_fh_count, 0, "number of open FUSE filehandles"); | &fuse_fh_count, 0, "number of open FUSE filehandles"); | ||||
int | int | ||||
fuse_filehandle_open(struct vnode *vp, fufh_type_t fufh_type, | fuse_filehandle_open(struct vnode *vp, fufh_type_t fufh_type, | ||||
struct fuse_filehandle **fufhp, struct thread *td, struct ucred *cred) | struct fuse_filehandle **fufhp, struct thread *td, struct ucred *cred) | ||||
{ | { | ||||
struct fuse_dispatcher fdi; | struct fuse_dispatcher fdi; | ||||
struct fuse_open_in *foi; | struct fuse_open_in *foi; | ||||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |