Home
last modified time | relevance | path

Searched refs:kmalloc (Results 1 – 25 of 113) sorted by relevance

12345

/openbsd-src/sys/dev/pci/drm/i915/gem/selftests/
H A Dmock_dmabuf.c17 st = kmalloc(sizeof(*st), GFP_KERNEL); in mock_map_dma_buf()
105 mock = kmalloc(sizeof(*mock) + npages * sizeof(struct vm_page *), in mock_dmabuf()
H A Dhuge_gem_object.c41 pages = kmalloc(sizeof(*pages), GFP); in huge_get_pages()
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_bios.c118 adev->bios = kmalloc(size, GFP_KERNEL); in igp_read_bios_from_vram()
157 adev->bios = kmalloc(size, GFP_KERNEL); in igp_read_bios_from_vram()
265 adev->bios = kmalloc(len, GFP_KERNEL); in amdgpu_read_bios_from_rom()
456 adev->bios = kmalloc(size, GFP_KERNEL); in amdgpu_atrm_get_bios()
/openbsd-src/sys/dev/pci/drm/i915/
H A Di915_scatterlist.c93 rsgt = kmalloc(sizeof(*rsgt), GFP_KERNEL); in i915_rsgt_from_mm_node()
181 rsgt = kmalloc(sizeof(*rsgt), GFP_KERNEL); in i915_rsgt_from_buddy_resource()
H A Dintel_runtime_pm.c136 buf = kmalloc(PAGE_SIZE, GFP_NOWAIT | __GFP_NOWARN); in untrack_intel_runtime_pm_wakeref()
172 buf = kmalloc(PAGE_SIZE, GFP_NOWAIT | __GFP_NOWARN); in __print_intel_runtime_pm_wakeref()
H A Di915_sw_fence.c363 wq = kmalloc(sizeof(*wq), gfp); in __i915_sw_fence_await_sw_fence()
491 cb = kmalloc(timeout ? in i915_sw_fence_await_dma_fence()
/openbsd-src/sys/dev/pci/drm/include/linux/
H A Dslab.h21 kmalloc(size_t size, int flags) in kmalloc() function
/openbsd-src/sys/dev/pci/drm/radeon/
H A Dradeon_bios.c80 rdev->bios = kmalloc(size, GFP_KERNEL); in igp_read_bios_from_vram()
105 rdev->bios = kmalloc(size, GFP_KERNEL); in igp_read_bios_from_vram()
174 rdev->bios = kmalloc(size, GFP_KERNEL); in radeon_read_bios()
254 rdev->bios = kmalloc(size, GFP_KERNEL); in radeon_read_platform_bios()
372 rdev->bios = kmalloc(size, GFP_KERNEL); in radeon_atrm_get_bios()
H A Dradeon_semaphore.c39 *semaphore = kmalloc(sizeof(struct radeon_semaphore), GFP_KERNEL); in radeon_semaphore_create()
/openbsd-src/sys/dev/pci/drm/display/
H A Ddrm_dp_dual_mode_helper.c92 tmpbuf = kmalloc(size + offset, GFP_KERNEL); in drm_dp_dual_mode_read()
139 data = kmalloc(msg.len, GFP_KERNEL); in drm_dp_dual_mode_write()
H A Ddrm_scdc_helper.c121 data = kmalloc(1 + size, GFP_KERNEL); in drm_scdc_write()
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dintel_display_rps.c57 wait = kmalloc(sizeof(*wait), GFP_KERNEL); in intel_display_rps_boost_after_vblank()
/openbsd-src/sys/dev/pci/drm/i915/gvt/
H A Dfirmware.c209 path = kmalloc(PATH_MAX, GFP_KERNEL); in intel_gvt_load_firmware()
213 mem = kmalloc(info->cfg_space_size, GFP_KERNEL); in intel_gvt_load_firmware()
H A Ddmabuf.c68 st = kmalloc(sizeof(*st), GFP_KERNEL); in vgpu_gem_get_pages()
448 dmabuf_obj = kmalloc(sizeof(struct intel_vgpu_dmabuf_obj), GFP_KERNEL); in intel_vgpu_query_plane()
455 dmabuf_obj->info = kmalloc(sizeof(struct intel_vgpu_fb_info), in intel_vgpu_query_plane()
H A Ddebugfs.c69 node = kmalloc(sizeof(*node), GFP_ATOMIC); in mmio_diff_handler()
/openbsd-src/sys/dev/pci/drm/
H A Ddrm_atomic_state_helper.c177 state = kmalloc(sizeof(*state), GFP_KERNEL); in drm_atomic_helper_crtc_duplicate_state()
359 state = kmalloc(sizeof(*state), GFP_KERNEL); in drm_atomic_helper_plane_duplicate_state()
648 state = kmalloc(sizeof(*state), GFP_KERNEL); in drm_atomic_helper_connector_duplicate_state()
H A Ddrm_format_helper.c63 stmp = kmalloc(sbuf_len, GFP_KERNEL); in __drm_fb_xfrm()
104 dbuf = kmalloc(dbuf_len, GFP_KERNEL); in __drm_fb_xfrm_toio()
106 dbuf = kmalloc(stmp_off + sbuf_len, GFP_KERNEL); in __drm_fb_xfrm_toio()
1045 src32 = kmalloc(len_src32 + linepixels, GFP_KERNEL); in drm_fb_xrgb8888_to_mono()
H A Ddma-resv.c102 list = kmalloc(struct_size(list, table, max_fences), GFP_KERNEL); in dma_resv_list_alloc()
589 nfences = kmalloc(count * sizeof(void *), in dma_resv_get_fences()
H A Ddrm_vma_manager.c255 new = kmalloc(sizeof(*entry), GFP_KERNEL); in vma_node_allow()
/openbsd-src/sys/dev/pci/drm/i915/gt/uc/
H A Dintel_guc_hwconfig.c124 hwconfig->ptr = kmalloc(hwconfig->size, GFP_KERNEL); in guc_hwconfig_init()
/openbsd-src/sys/dev/pci/drm/i915/selftests/
H A Dlib_sw_fence.c112 h = kmalloc(sizeof(*h), gfp); in heap_fence_create()
H A Di915_sw_fence.c50 fence = kmalloc(sizeof(*fence), GFP_KERNEL); in alloc_fence()
642 dma = kmalloc(sizeof(*dma), GFP_KERNEL); in alloc_dma_fence()
/openbsd-src/sys/dev/pci/drm/i915/gem/
H A Di915_gem_clflush.c57 clflush = kmalloc(sizeof(*clflush), GFP_KERNEL); in clflush_work_create()
H A Di915_gem_internal.c59 st = kmalloc(sizeof(*st), GFP_KERNEL); in i915_gem_object_get_pages_internal()
/openbsd-src/sys/dev/pci/drm/ttm/
H A Dttm_agp_backend.c144 agp_be = kmalloc(sizeof(*agp_be), GFP_KERNEL); in ttm_agp_tt_create()

12345