| /openbsd-src/sys/dev/pci/drm/include/linux/ |
| H A D | slab.h | 27 kmalloc_array(size_t n, size_t size, int flags) in kmalloc_array() function
|
| /openbsd-src/sys/dev/pci/drm/i915/selftests/ |
| H A D | i915_random.c | 80 order = kmalloc_array(count, sizeof(*order), in i915_random_order()
|
| H A D | i915_sw_fence.c | 457 fences = kmalloc_array(nfences, sizeof(*fences), GFP_KERNEL); in test_chain()
|
| /openbsd-src/sys/dev/pci/drm/ |
| H A D | drm_syncobj.c | 950 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 D | drm_blend.c | 456 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); in drm_atomic_helper_crtc_normalize_zpos()
|
| H A D | drm_buddy.c | 130 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 D | drm_plane.c | 275 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 D | drm_crtc.c | 845 connector_set = kmalloc_array(crtc_req->count_connectors, in drm_mode_setcrtc()
|
| /openbsd-src/sys/dev/pci/drm/i915/ |
| H A D | i915_deps.c | 85 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 D | amdgpu_amdkfd_gfx_v7.c | 217 *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 D | amdgpu_amdkfd_gfx_v8.c | 241 *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 D | amdgpu_amdkfd_arcturus.c | 203 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_arcturus_hqd_sdma_dump()
|
| H A D | amdgpu_cs.c | 508 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 D | amdgpu_amdkfd_gfx_v9.c | 368 *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 D | amdgpu_virt.c | 307 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 D | amdgpu_ids.c | 215 fences = kmalloc_array(id_mgr->num_ids, sizeof(void *), GFP_KERNEL); in amdgpu_vmid_grab_idle()
|
| H A D | amdgpu_amdkfd_gc_9_4_3.c | 144 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_gfx_v9_4_3_hqd_sdma_dump()
|
| H A D | amdgpu_debugfs.c | 882 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 D | selftest_rc6.c | 173 engines = kmalloc_array(n, sizeof(*engines), GFP_KERNEL); in randomised_engines()
|
| H A D | selftest_reset.c | 41 crc = kmalloc_array(num_pages, sizeof(u32), GFP_KERNEL); in __igt_reset_stolen()
|
| /openbsd-src/sys/dev/pci/drm/i915/gem/ |
| H A D | i915_gem_create.c | 56 arr = kmalloc_array(n_placements, in object_set_placements()
|
| H A D | i915_gem_context.c | 450 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 D | i915_gem_coherency.c | 326 offsets = kmalloc_array(ncachelines, 2*sizeof(u32), GFP_KERNEL); in igt_gem_coherency()
|
| /openbsd-src/sys/dev/pci/drm/amd/amdkfd/ |
| H A D | kfd_chardev.c | 1266 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 D | parser.c | 573 modes = kmalloc_array(it.len, sizeof(*modes), GFP_KERNEL); in enumerate_modes()
|