Home
last modified time | relevance | path

Searched refs:cuse_dev (Results 1 – 6 of 6) sorted by relevance

/src/lib/libcuse/
H A Dcuse.h35 struct cuse_dev;
37 typedef int (cuse_open_t)(struct cuse_dev *, int fflags);
38 typedef int (cuse_close_t)(struct cuse_dev *, int fflags);
39 typedef int (cuse_read_t)(struct cuse_dev *, int fflags, void *user_ptr, int len);
40 typedef int (cuse_write_t)(struct cuse_dev *, int fflags, const void *user_ptr, int len);
41 typedef int (cuse_ioctl_t)(struct cuse_dev *, int fflags, unsigned long cmd, void *user_data);
42 typedef int (cuse_poll_t)(struct cuse_dev *, int fflags, int events);
66 struct cuse_dev *cuse_dev_create(const struct cuse_methods *, void *, void *, uid_t, gid_t, int, co…
67 void cuse_dev_destroy(struct cuse_dev *);
69 void *cuse_dev_get_priv0(struct cuse_dev *);
[all …]
H A Dcuse_lib.c68 struct cuse_dev *cdev;
74 struct cuse_dev { struct
75 TAILQ_ENTRY(cuse_dev) entry;
84 static TAILQ_HEAD(, cuse_dev) h_cuse __guarded_by(m_cuse); argument
364 struct cuse_dev *
369 struct cuse_dev *cdev; in cuse_dev_create()
411 cuse_dev_destroy(struct cuse_dev *cdev) in cuse_dev_destroy()
430 cuse_dev_get_priv0(struct cuse_dev *cdev) in cuse_dev_get_priv0()
436 cuse_dev_get_priv1(struct cuse_dev *cdev) in cuse_dev_get_priv1()
442 cuse_dev_set_priv0(struct cuse_dev *cdev, void *priv) in cuse_dev_set_priv0()
[all …]
/src/sys/fs/cuse/
H A Dcuse_ioctl.h42 struct cuse_dev;
56 struct cuse_dev *dev;
65 struct cuse_dev *dev;
83 #define CUSE_IOCTL_DESTROY_DEV _IOW('C', 9, struct cuse_dev *)
H A Dcuse.c136 struct cuse_dev *user_dev;
184 static struct cdev *cuse_dev; variable
304 cuse_dev = make_dev(&cuse_server_devsw, 0, in cuse_kern_init()
332 if (cuse_dev != NULL) in cuse_kern_uninit()
333 destroy_dev(cuse_dev); in cuse_kern_uninit()
1329 if (pcsd->user_dev == *(struct cuse_dev **)data) { in cuse_server_ioctl()
1490 struct cuse_dev *pcd; in cuse_client_open()
/src/usr.sbin/virtual_oss/virtual_oss/
H A Dmain.c459 vclient_open_sub(struct cuse_dev *pdev, int fflags __unused, int type) in vclient_open_sub()
501 vclient_open_wav(struct cuse_dev *pdev, int fflags) in vclient_open_wav()
507 vclient_open_oss(struct cuse_dev *pdev, int fflags) in vclient_open_oss()
513 vclient_close(struct cuse_dev *pdev, int fflags __unused) in vclient_close()
807 vclient_read(struct cuse_dev *pdev, int fflags, in vclient_read()
1006 vclient_write_oss(struct cuse_dev *pdev, int fflags, in vclient_write_oss()
1081 vclient_write_wav(struct cuse_dev *pdev __unused, int fflags __unused, in vclient_write_wav()
1123 vclient_ioctl_oss(struct cuse_dev *pdev, int fflags __unused, in vclient_ioctl_oss()
1507 vclient_ioctl_wav(struct cuse_dev *pdev, int fflags __unused, in vclient_ioctl_wav()
1558 vclient_poll(struct cuse_dev *pdev, int fflags, int events) in vclient_poll()
[all …]
H A Dctl.c44 vctl_open(struct cuse_dev *pdev __unused, int fflags __unused) in vctl_open()
50 vctl_close(struct cuse_dev *pdev __unused, int fflags __unused) in vctl_close()
80 vctl_ioctl(struct cuse_dev *pdev __unused, int fflags __unused, in vctl_ioctl()