/arch/riscv/kernel/ |
D | module-sections.c | 16 int i = got_sec->num_entries; in module_emit_got_entry() 26 got_sec->num_entries++; in module_emit_got_entry() 27 BUG_ON(got_sec->num_entries > got_sec->max_entries); in module_emit_got_entry() 38 int i = plt_sec->num_entries; in module_emit_plt_entry() 51 plt_sec->num_entries++; in module_emit_plt_entry() 52 got_plt_sec->num_entries++; in module_emit_plt_entry() 53 BUG_ON(plt_sec->num_entries > plt_sec->max_entries); in module_emit_plt_entry() 142 mod->arch.plt.num_entries = 0; in module_frob_arch_sections() 149 mod->arch.got.num_entries = 0; in module_frob_arch_sections() 156 mod->arch.got_plt.num_entries = 0; in module_frob_arch_sections()
|
/arch/x86/platform/efi/ |
D | quirks.c | 250 int num_entries; in efi_arch_mem_reserve() local 272 num_entries = efi_memmap_split_count(&md, &mr.range); in efi_arch_mem_reserve() 273 num_entries += efi.memmap.nr_map; in efi_arch_mem_reserve() 275 if (efi_memmap_alloc(num_entries, &data) != 0) { in efi_arch_mem_reserve() 403 int num_entries = 0; in efi_free_boot_services() local 417 num_entries++; in efi_free_boot_services() 423 num_entries++; in efi_free_boot_services() 457 if (!num_entries) in efi_free_boot_services() 460 if (efi_memmap_alloc(num_entries, &data) != 0) { in efi_free_boot_services()
|
D | efi_64.c | 112 unsigned num_entries; in efi_sync_low_kernel_mappings() local 121 num_entries = pgd_index(EFI_VA_END) - pgd_index(PAGE_OFFSET); in efi_sync_low_kernel_mappings() 122 memcpy(pgd_efi, pgd_k, sizeof(pgd_t) * num_entries); in efi_sync_low_kernel_mappings() 129 num_entries = p4d_index(EFI_VA_END); in efi_sync_low_kernel_mappings() 130 memcpy(p4d_efi, p4d_k, sizeof(p4d_t) * num_entries); in efi_sync_low_kernel_mappings() 144 num_entries = pud_index(EFI_VA_END); in efi_sync_low_kernel_mappings() 145 memcpy(pud_efi, pud_k, sizeof(pud_t) * num_entries); in efi_sync_low_kernel_mappings() 150 num_entries = PTRS_PER_PUD - pud_index(EFI_VA_START); in efi_sync_low_kernel_mappings() 151 memcpy(pud_efi, pud_k, sizeof(pud_t) * num_entries); in efi_sync_low_kernel_mappings()
|
/arch/riscv/include/asm/ |
D | module.h | 16 int num_entries; member 40 for (i = 0; i < sec->num_entries; i++) { in get_got_entry() 93 for (i = 0; i < sec->num_entries; i++) { in get_got_plt_idx()
|
/arch/x86/kernel/ |
D | unwind_orc.c | 34 unsigned int num_entries, unsigned long ip) in __orc_find() argument 37 int *last = ip_table + num_entries - 1; in __orc_find() 40 if (!num_entries) in __orc_find() 248 unsigned int num_entries = orc_ip_size / sizeof(int); in unwind_module_init() local 252 num_entries != orc_size / sizeof(*orc)); in unwind_module_init() 262 sort(orc_ip, num_entries, sizeof(int), orc_sort_cmp, orc_sort_swap); in unwind_module_init() 267 mod->arch.num_orcs = num_entries; in unwind_module_init() 275 size_t num_entries = orc_ip_size / sizeof(int); in unwind_init() local 279 if (!num_entries || orc_ip_size % sizeof(int) != 0 || in unwind_init() 281 num_entries != orc_size / sizeof(struct orc_entry)) { in unwind_init() [all …]
|
D | ldt.c | 149 static struct ldt_struct *alloc_ldt_struct(unsigned int num_entries) in alloc_ldt_struct() argument 154 if (num_entries > LDT_ENTRIES) in alloc_ldt_struct() 162 alloc_size = num_entries * LDT_ENTRY_SIZE; in alloc_ldt_struct() 183 new_ldt->nr_entries = num_entries; in alloc_ldt_struct()
|
/arch/sparc/kernel/ |
D | iommu-common.c | 53 unsigned long num_entries, in iommu_tbl_pool_init() argument 78 iommu->poolsize = num_entries/iommu->nr_pools; in iommu_tbl_pool_init() 80 iommu->poolsize = (num_entries * 3 / 4)/iommu->nr_pools; in iommu_tbl_pool_init() 94 p->end = num_entries; in iommu_tbl_pool_init()
|
D | pci_sun4v.h | 35 unsigned long num_entries); 39 unsigned long *num_entries);
|
D | irq_64.c | 989 unsigned long num_entries = (qmask + 1) / 64; in register_one_mondo() local 992 status = sun4v_cpu_qconf(type, paddr, num_entries); in register_one_mondo() 995 "err %lu\n", type, paddr, num_entries, status); in register_one_mondo()
|
D | ldc.c | 201 static unsigned long __advance(unsigned long off, unsigned long num_entries) in __advance() argument 204 if (off == (num_entries * LDC_PACKET_SIZE)) in __advance() 975 static int alloc_queue(const char *name, unsigned long num_entries, in alloc_queue() argument 981 size = num_entries * LDC_PACKET_SIZE; in alloc_queue() 999 static void free_queue(unsigned long num_entries, struct ldc_packet *q) in free_queue() argument 1006 size = num_entries * LDC_PACKET_SIZE; in free_queue()
|
D | viohs.c | 196 u.pkt.num_descr = dr->num_entries; in send_dreg() 462 dr->num_entries = pkt->num_descr; in process_dreg_info()
|
/arch/parisc/include/asm/ |
D | pdc.h | 62 int pdc_pci_irt_size(unsigned long *num_entries, unsigned long hpa); 63 int pdc_pci_irt(unsigned long num_entries, unsigned long hpa, void *tbl);
|
D | pdcpat.h | 217 extern int pdc_pat_get_irt_size(unsigned long *num_entries, unsigned long cell_num); 222 #define pdc_pat_get_irt_size(num_entries, cell_numn) PDC_BAD_PROC argument
|
/arch/sparc/include/asm/ |
D | hypervisor.h | 3136 unsigned long num_entries); 3139 unsigned long *num_entries); 3148 unsigned long num_entries); 3151 unsigned long *num_entries); 3160 unsigned long num_entries); 3163 unsigned long *num_entries);
|
D | iommu-common.h | 36 unsigned long num_entries,
|
D | vio.h | 279 u32 num_entries; member 315 if (++index == dr->num_entries) in vio_dring_next() 323 return dr->num_entries - 1; in vio_dring_prev()
|
/arch/x86/boot/compressed/ |
D | acpi.c | 307 u32 num_entries, size, len; in get_acpi_srat_table() local 344 num_entries = (len - sizeof(struct acpi_table_header)) / size; in get_acpi_srat_table() 347 while (num_entries--) { in get_acpi_srat_table()
|
/arch/arm/probes/kprobes/ |
D | test-core.c | 699 unsigned num_entries; member 738 struct coverage_entry *entry = coverage->base + coverage->num_entries; in coverage_start_fn() 740 if (coverage->num_entries == MAX_COVERAGE_ENTRIES - 1) { in coverage_start_fn() 745 ++coverage->num_entries; in coverage_start_fn() 769 coverage.num_entries = 0; in coverage_start() 845 struct coverage_entry *end = coverage.base + coverage.num_entries; in coverage_add() 892 struct coverage_entry *end = coverage.base + coverage.num_entries; in coverage_end()
|
/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 40 unsigned int num_entries; member 73 if (!et || !et->num_entries) in find_equiv_id() 76 for (i = 0; i < et->num_entries; i++) { in find_equiv_id() 312 table.num_entries = hdr[2] / sizeof(struct equiv_cpu_entry); in parse_container() 748 equiv_table.num_entries = equiv_tbl_len / sizeof(struct equiv_cpu_entry); in install_equiv_cpu_table()
|
/arch/parisc/kernel/ |
D | firmware.c | 912 int pdc_pci_irt_size(unsigned long *num_entries, unsigned long hpa) in pdc_pci_irt_size() argument 921 *num_entries = pdc_result[0]; in pdc_pci_irt_size() 936 int pdc_pci_irt(unsigned long num_entries, unsigned long hpa, void *tbl) in pdc_pci_irt() argument 944 pdc_result[0] = num_entries; in pdc_pci_irt() 1421 int pdc_pat_get_irt_size(unsigned long *num_entries, unsigned long cell_num) in pdc_pat_get_irt_size() argument 1429 *num_entries = pdc_result[0]; in pdc_pat_get_irt_size()
|
/arch/arc/mm/ |
D | cache.c | 90 unsigned int pad:7, c:1, num_entries:8, num_cores:8, ver:8; in read_decode_cache_bcr_arcv2() member 92 unsigned int ver:8, num_cores:8, num_entries:8, c:1, pad:7; in read_decode_cache_bcr_arcv2()
|
/arch/x86/kvm/ |
D | cpuid.c | 940 __u32 num_entries, unsigned int ioctl_type) in sanity_check_entries() argument 956 for (i = 0; i < num_entries; i++) { in sanity_check_entries()
|
/arch/ia64/include/asm/ |
D | pal.h | 1577 num_entries : 16, member 1588 #define tc_num_entries pal_tc_info_s.num_entries
|