Searched refs:g_nvmap_fd (Results 1 – 1 of 1) sorted by relevance
95 int g_nvmap_fd = -1; variable115 g_nvmap_fd = open(dev_path, O_RDONLY); in open_driver()116 if (g_nvmap_fd < 0) { in open_driver()133 ioctl(g_nvmap_fd, NVMAP_IOC_CREATE, &g_nvmap_hdl); in trigger_nvmap_create()139 ioctl(g_nvmap_fd, NVMAP_IOC_FREE, data); in trigger_nvmap_free()146 ioctl(g_nvmap_fd, NVMAP_IOC_ALLOC, &g_real_alloc); in trigger_nvmap_alloc()