Searched refs:f_cuse (Results 1 – 1 of 1) sorted by relevance
81 static int f_cuse = -1; variable100 f_cuse = open("/dev/cuse", O_RDWR); in cuse_init()101 if (f_cuse < 0) { in cuse_init()122 if (f_cuse < 0) in cuse_uninit()125 f = f_cuse; in cuse_uninit()126 f_cuse = -1; in cuse_uninit()176 if (f_cuse < 0 || size < 1 || size > CUSE_ALLOC_BYTES_MAX) in cuse_vmalloc()212 error = ioctl(f_cuse, CUSE_IOCTL_ALLOC_MEMORY, &info); in cuse_vmalloc()217 MAP_SHARED, f_cuse, n << CUSE_ALLOC_UNIT_SHIFT); in cuse_vmalloc()227 (void) ioctl(f_cuse, CUSE_IOCTL_FREE_MEMORY, &info); in cuse_vmalloc()[all …]