Searched refs:kmalloc_array (Results 1 – 14 of 14) sorted by relevance
/dflybsd-src/sys/dev/drm/include/linux/ |
H A D | slab.h | 46 kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array() function
|
/dflybsd-src/sys/dev/drm/ |
H A D | drm_blend.c | 322 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); in drm_atomic_helper_crtc_normalize_zpos()
|
H A D | drm_syncobj.c | 867 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find() 877 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL); in drm_syncobj_array_find()
|
H A D | drm_plane.c | 185 plane->format_types = kmalloc_array(format_count, sizeof(uint32_t), in drm_universal_plane_init() 207 plane->modifiers = kmalloc_array(format_modifier_count, in drm_universal_plane_init()
|
H A D | drm_crtc.c | 698 connector_set = kmalloc_array(crtc_req->count_connectors, in drm_mode_setcrtc()
|
H A D | drm_bufs.c | 934 temp_pagelist = kmalloc_array(dma->page_count + (count << page_order), in drm_legacy_addbufs_pci()
|
/dflybsd-src/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_cs.c | 115 chunk_array = kmalloc_array(cs->in.num_chunks, sizeof(uint64_t), GFP_KERNEL); in amdgpu_cs_parser_init() 142 p->chunks = kmalloc_array(p->nchunks, sizeof(struct amdgpu_cs_chunk), in amdgpu_cs_parser_init() 1149 p->post_dep_syncobjs = kmalloc_array(num_deps, in amdgpu_cs_process_syncobj_out_dep() 1610 fences = kmalloc_array(fence_count, sizeof(struct drm_amdgpu_fence), in amdgpu_cs_wait_fences_ioctl()
|
H A D | amdgpu_amdkfd_gfx_v8.c | 401 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump() 497 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
|
H A D | amdgpu_amdkfd_gfx_v9.c | 509 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump() 611 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
|
H A D | amdgpu_ids.c | 215 fences = kmalloc_array(sizeof(void *), id_mgr->num_ids, GFP_KERNEL); in amdgpu_vmid_grab_idle()
|
H A D | amdgpu_debugfs.c | 479 config = kmalloc_array(256, sizeof(*config), GFP_KERNEL); in amdgpu_debugfs_gca_config_read()
|
H A D | amdgpu_kms.c | 552 regs = kmalloc_array(info->read_mmr_reg.count, sizeof(*regs), GFP_KERNEL); in amdgpu_info_ioctl()
|
/dflybsd-src/sys/dev/drm/ttm/ |
H A D | ttm_page_alloc_dma.c | 423 pages_to_free = kmalloc_array(npages_to_free, in ttm_dma_page_pool_free() 714 caching_array = kmalloc_array(max_cpages, sizeof(struct page *), in ttm_dma_pool_alloc_new_pages()
|
/dflybsd-src/sys/dev/drm/i915/ |
H A D | i915_gem_gtt.c | 667 pdp->page_directory = kmalloc_array(pdpes, sizeof(*pdp->page_directory), in __pdp_init()
|