Home
last modified time | relevance | path

Searched refs:array_size (Results 1 – 14 of 14) sorted by relevance

/arch/x86/tools/
Dgen-insn-attr-x86.awk115 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/
Dhypfs_diag.c72 diag204_buf = __vmalloc_node(array_size(*pages, PAGE_SIZE), in diag204_get_buffer()
/arch/powerpc/sysdev/
Dmpic_timer.c112 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/
Drtasd.c531 rtas_log_buf = vmalloc(array_size(LOG_NUMBER, in rtas_event_scan_init()
/arch/powerpc/mm/book3s64/
Diommu_api.c92 mem->hpas = vzalloc(array_size(entries, sizeof(mem->hpas[0]))); in mm_iommu_do_alloc()
/arch/arm/mm/
Ddma-mapping.c858 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/
Dsthyi.c320 diag204_buf = __vmalloc_node(array_size(pages, PAGE_SIZE), in fill_diag()
Dmodule.c167 me->arch.syminfo = vmalloc(array_size(sizeof(struct mod_arch_syminfo), in module_frob_arch_sections()
/arch/x86/kvm/
Dcpuid.c471 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/
Dgaccess.c1090 gpas = vmalloc(array_size(nr_pages, sizeof(unsigned long))); in access_guest_with_key()
Dkvm-s390.c2388 bits = vmalloc(array_size(sizeof(*bits), args->count)); in kvm_s390_set_cmma_bits()
/arch/arm64/kvm/hyp/nvhe/
Dpkvm.c630 return array_size(hyp_nr_cpus, sizeof(int)); in pkvm_get_last_ran_size()
/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c101 rev = vmalloc(array_size(npte, sizeof(struct revmap_entry))); in kvmppc_allocate_hpt()
Dbook3s_hv.c5055 unsigned long size = array_size(new->npages, sizeof(*new->arch.rmap)); in kvmppc_core_prepare_memory_region_hv()