Home
last modified time | relevance | path

Searched refs:map_fd (Results 1 – 2 of 2) sorted by relevance

/rockchip-linux_mpp/osal/allocator/
H A Dallocator_drm.c96 static int drm_handle_to_fd(int fd, RK_U32 handle, int *map_fd, RK_U32 flags) in drm_handle_to_fd() argument
106 if (map_fd == NULL) in drm_handle_to_fd()
113 *map_fd = dph.fd; in drm_handle_to_fd()
115 drm_dbg_func("dev %d handle %d flags %x get fd %d\n", fd, handle, dph.flags, *map_fd); in drm_handle_to_fd()
117 if (*map_fd < 0) { in drm_handle_to_fd()
H A Dallocator_ion.c95 static int ion_map_fd(int fd, ion_user_handle_t handle, int *map_fd) in ion_map_fd() argument
102 if (map_fd == NULL) in ion_map_fd()
109 *map_fd = data.fd; in ion_map_fd()
110 if (*map_fd < 0) { in ion_map_fd()