Searched refs:mem_fd (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/testing/selftests/vm/ |
| H A D | mremap_dontunmap.c | 135 int mem_fd = memfd_create("memfd", MFD_CLOEXEC); in mremap_dontunmap_simple_shmem() local 136 BUG_ON(mem_fd < 0, "memfd_create"); in mremap_dontunmap_simple_shmem() 138 BUG_ON(ftruncate(mem_fd, num_pages * page_size) < 0, in mremap_dontunmap_simple_shmem() 143 MAP_FILE | MAP_SHARED, mem_fd, 0); in mremap_dontunmap_simple_shmem() 146 BUG_ON(close(mem_fd) < 0, "close"); in mremap_dontunmap_simple_shmem()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_memory_secure.c | 20 …ali_osk_errcode_t mali_mem_secure_attach_dma_buf(mali_mem_secure *secure_mem, u32 size, int mem_fd) in mali_mem_secure_attach_dma_buf() argument 26 buf = dma_buf_get(mem_fd); in mali_mem_secure_attach_dma_buf()
|
| H A D | mali_memory_secure.h | 20 …li_osk_errcode_t mali_mem_secure_attach_dma_buf(mali_mem_secure *secure_mem, u32 size, int mem_fd);
|
| H A D | mali_memory_dma_buf.c | 256 fd = args.mem_fd; in mali_dma_buf_get_size()
|
| H A D | mali_memory_manager.c | 695 args->mem_union.bind_dma_buf.mem_fd, args->mem_union.bind_dma_buf.flags); in _mali_ukk_mem_bind()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/include/linux/mali/ |
| H A D | mali_utgard_uk_types.h | 817 u32 mem_fd; /**< [in] Memory descriptor */ member 858 u32 mem_fd; /**< [in] Memory descriptor */ member
|