Searched refs:array_size (Results 1 – 14 of 14) sorted by relevance
/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 115 function array_size(arr, i,c) { function 174 if (array_size(table) != 0) { 179 if (array_size(lptable1) != 0) { 184 if (array_size(lptable2) != 0) { 189 if (array_size(lptable3) != 0) { 196 if (array_size(table) != 0) { 203 if (array_size(lptable1) != 0) { 210 if (array_size(lptable2) != 0) { 217 if (array_size(lptable3) != 0) {
|
/arch/s390/hypfs/ |
D | hypfs_diag.c | 72 diag204_buf = __vmalloc_node(array_size(*pages, PAGE_SIZE), in diag204_get_buffer()
|
/arch/powerpc/sysdev/ |
D | mpic_timer.c | 112 unsigned int array_size = ARRAY_SIZE(cascade_timer); in detect_idle_cascade_timer() local 118 for (i = 0; i < array_size; i++) { in detect_idle_cascade_timer()
|
/arch/powerpc/kernel/ |
D | rtasd.c | 531 rtas_log_buf = vmalloc(array_size(LOG_NUMBER, in rtas_event_scan_init()
|
/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 92 mem->hpas = vzalloc(array_size(entries, sizeof(mem->hpas[0]))); in mm_iommu_do_alloc()
|
/arch/arm/mm/ |
D | dma-mapping.c | 858 int array_size = count * sizeof(struct page *); in __iommu_alloc_buffer() local 862 if (array_size <= PAGE_SIZE) in __iommu_alloc_buffer() 863 pages = kzalloc(array_size, GFP_KERNEL); in __iommu_alloc_buffer() 865 pages = vzalloc(array_size); in __iommu_alloc_buffer()
|
/arch/s390/kernel/ |
D | sthyi.c | 320 diag204_buf = __vmalloc_node(array_size(pages, PAGE_SIZE), in fill_diag()
|
D | module.c | 167 me->arch.syminfo = vmalloc(array_size(sizeof(struct mod_arch_syminfo), in module_frob_arch_sections()
|
/arch/x86/kvm/ |
D | cpuid.c | 471 e = vmemdup_user(entries, array_size(sizeof(*e), cpuid->nent)); in kvm_vcpu_ioctl_set_cpuid() 515 e2 = vmemdup_user(entries, array_size(sizeof(*e2), cpuid->nent)); in kvm_vcpu_ioctl_set_cpuid2()
|
/arch/s390/kvm/ |
D | gaccess.c | 1090 gpas = vmalloc(array_size(nr_pages, sizeof(unsigned long))); in access_guest_with_key()
|
D | kvm-s390.c | 2388 bits = vmalloc(array_size(sizeof(*bits), args->count)); in kvm_s390_set_cmma_bits()
|
/arch/arm64/kvm/hyp/nvhe/ |
D | pkvm.c | 630 return array_size(hyp_nr_cpus, sizeof(int)); in pkvm_get_last_ran_size()
|
/arch/powerpc/kvm/ |
D | book3s_64_mmu_hv.c | 101 rev = vmalloc(array_size(npte, sizeof(struct revmap_entry))); in kvmppc_allocate_hpt()
|
D | book3s_hv.c | 5055 unsigned long size = array_size(new->npages, sizeof(*new->arch.rmap)); in kvmppc_core_prepare_memory_region_hv()
|