Home
last modified time | relevance | path

Searched refs:kmalloc_array (Results 1 – 25 of 36) sorted by relevance

12

/openbsd-src/sys/dev/pci/drm/include/linux/
H A Dslab.h27 kmalloc_array(size_t n, size_t size, int flags) in kmalloc_array() function
/openbsd-src/sys/dev/pci/drm/i915/selftests/
H A Di915_random.c80 order = kmalloc_array(count, sizeof(*order), in i915_random_order()
H A Di915_sw_fence.c457 fences = kmalloc_array(nfences, sizeof(*fences), GFP_KERNEL); in test_chain()
/openbsd-src/sys/dev/pci/drm/
H A Ddrm_syncobj.c950 fences = kmalloc_array(count, sizeof(*fences), GFP_KERNEL); in drm_syncobj_flatten_chain()
1103 points = kmalloc_array(count, sizeof(*points), GFP_KERNEL); in drm_syncobj_array_wait_timeout()
1315 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
1325 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL); in drm_syncobj_array_find()
1632 points = kmalloc_array(args->count_handles, sizeof(*points), in drm_syncobj_timeline_signal_ioctl()
1646 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL); in drm_syncobj_timeline_signal_ioctl()
H A Ddrm_blend.c456 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); in drm_atomic_helper_crtc_normalize_zpos()
H A Ddrm_buddy.c130 mm->free_list = kmalloc_array(mm->max_order + 1, in drm_buddy_init()
141 mm->roots = kmalloc_array(mm->n_roots, in drm_buddy_init()
H A Ddrm_plane.c275 plane->format_types = kmalloc_array(format_count, sizeof(uint32_t), in __drm_universal_plane_init()
300 plane->modifiers = kmalloc_array(format_modifier_count, in __drm_universal_plane_init()
H A Ddrm_crtc.c845 connector_set = kmalloc_array(crtc_req->count_connectors, in drm_mode_setcrtc()
/openbsd-src/sys/dev/pci/drm/i915/
H A Di915_deps.c85 new_fences = kmalloc_array(new_size, sizeof(*new_fences), deps->gfp); in i915_deps_grow()
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gfx_v7.c217 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump()
304 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
H A Damdgpu_amdkfd_gfx_v8.c241 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump()
327 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
H A Damdgpu_amdkfd_arcturus.c203 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_arcturus_hqd_sdma_dump()
H A Damdgpu_cs.c508 p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), in amdgpu_cs_p2_syncobj_out()
542 p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), in amdgpu_cs_p2_syncobj_timeline_signal()
1743 fences = kmalloc_array(fence_count, sizeof(struct drm_amdgpu_fence),
H A Damdgpu_amdkfd_gfx_v9.c368 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_gfx_v9_hqd_dump()
465 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
H A Damdgpu_virt.c307 bps = kmalloc_array(align_space, sizeof((*data)->bps), GFP_KERNEL); in amdgpu_virt_init_ras_err_handler_data()
311 bps_bo = kmalloc_array(align_space, sizeof((*data)->bps_bo), GFP_KERNEL); in amdgpu_virt_init_ras_err_handler_data()
H A Damdgpu_ids.c215 fences = kmalloc_array(id_mgr->num_ids, sizeof(void *), GFP_KERNEL); in amdgpu_vmid_grab_idle()
H A Damdgpu_amdkfd_gc_9_4_3.c144 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_gfx_v9_4_3_hqd_sdma_dump()
H A Damdgpu_debugfs.c882 config = kmalloc_array(256, sizeof(*config), GFP_KERNEL); in amdgpu_debugfs_gca_config_read()
2081 new = kmalloc_array(i, sizeof(uint32_t), GFP_KERNEL); in amdgpu_reset_dump_register_list_write()
/openbsd-src/sys/dev/pci/drm/i915/gt/
H A Dselftest_rc6.c173 engines = kmalloc_array(n, sizeof(*engines), GFP_KERNEL); in randomised_engines()
H A Dselftest_reset.c41 crc = kmalloc_array(num_pages, sizeof(u32), GFP_KERNEL); in __igt_reset_stolen()
/openbsd-src/sys/dev/pci/drm/i915/gem/
H A Di915_gem_create.c56 arr = kmalloc_array(n_placements, in object_set_placements()
H A Di915_gem_context.c450 siblings = kmalloc_array(num_siblings, sizeof(*siblings), GFP_KERNEL); in set_proto_ctx_engines_balance()
652 siblings = kmalloc_array(num_siblings * width, in set_proto_ctx_engines_parallel_submit()
769 set.engines = kmalloc_array(set.num_engines, sizeof(*set.engines), GFP_KERNEL); in set_proto_ctx_engines()
/openbsd-src/sys/dev/pci/drm/i915/gem/selftests/
H A Di915_gem_coherency.c326 offsets = kmalloc_array(ncachelines, 2*sizeof(u32), GFP_KERNEL); in igt_gem_coherency()
/openbsd-src/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_chardev.c1266 devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), in kfd_ioctl_map_memory_to_gpu()
1383 devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), in kfd_ioctl_unmap_memory_from_gpu()
2199 device_buckets = kmalloc_array(args->num_devices, sizeof(*device_buckets), GFP_KERNEL); in criu_restore_devices()
/openbsd-src/sys/dev/pci/drm/apple/
H A Dparser.c573 modes = kmalloc_array(it.len, sizeof(*modes), GFP_KERNEL); in enumerate_modes()

12