/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_ddi_buf_trans.c | 32 .num_entries = ARRAY_SIZE(_hsw_trans_dp), 49 .num_entries = ARRAY_SIZE(_hsw_trans_fdi), 70 .num_entries = ARRAY_SIZE(_hsw_trans_hdmi), 88 .num_entries = ARRAY_SIZE(_bdw_trans_edp), 105 .num_entries = ARRAY_SIZE(_bdw_trans_dp), 122 .num_entries = ARRAY_SIZE(_bdw_trans_fdi), 141 .num_entries = ARRAY_SIZE(_bdw_trans_hdmi), 160 .num_entries = ARRAY_SIZE(_skl_trans_dp), 178 .num_entries = ARRAY_SIZE(_skl_u_trans_dp), 196 .num_entries = ARRAY_SIZE(_skl_y_trans_dp), [all …]
|
/linux-6.6.21/include/net/tc_act/ |
D | tc_gate.h | 33 size_t num_entries; member 101 u32 num_entries; in tcf_gate_num_entries() local 103 num_entries = to_gate(a)->param.num_entries; in tcf_gate_num_entries() 105 return num_entries; in tcf_gate_num_entries() 114 u32 num_entries; in tcf_gate_get_list() local 118 num_entries = p->num_entries; in tcf_gate_get_list() 123 if (i != num_entries) in tcf_gate_get_list() 126 oe = kcalloc(num_entries, sizeof(*oe), GFP_ATOMIC); in tcf_gate_get_list()
|
/linux-6.6.21/drivers/char/agp/ |
D | generic.c | 321 int num_entries; in agp_num_entries() local 328 num_entries = A_SIZE_8(temp)->num_entries; in agp_num_entries() 331 num_entries = A_SIZE_16(temp)->num_entries; in agp_num_entries() 334 num_entries = A_SIZE_32(temp)->num_entries; in agp_num_entries() 337 num_entries = A_SIZE_LVL2(temp)->num_entries; in agp_num_entries() 340 num_entries = A_SIZE_FIX(temp)->num_entries; in agp_num_entries() 343 num_entries = 0; in agp_num_entries() 347 num_entries -= agp_memory_reserved>>PAGE_SHIFT; in agp_num_entries() 348 if (num_entries<0) in agp_num_entries() 349 num_entries = 0; in agp_num_entries() [all …]
|
D | i460-agp.c | 153 values[i].num_entries = (values[i].size << 8) >> (I460_IO_PAGE_SHIFT - 12); in i460_fetch_size() 154 values[i].page_order = ilog2((sizeof(u32)*values[i].num_entries) >> PAGE_SHIFT); in i460_fetch_size() 234 size = current_size->num_entries * sizeof(i460.lp_desc[0]); in i460_configure() 244 int page_order, num_entries, i; in i460_create_gatt_table() local 252 num_entries = A_SIZE_8(temp)->num_entries; in i460_create_gatt_table() 265 for (i = 0; i < num_entries; ++i) in i460_create_gatt_table() 273 int num_entries, i; in i460_free_gatt_table() local 278 num_entries = A_SIZE_8(temp)->num_entries; in i460_free_gatt_table() 280 for (i = 0; i < num_entries; ++i) in i460_free_gatt_table() 282 WR_FLUSH_GATT(num_entries - 1); in i460_free_gatt_table() [all …]
|
D | efficeon-agp.c | 198 int num_entries, l1_pages; in efficeon_create_gatt_table() local 200 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_create_gatt_table() 202 printk(KERN_DEBUG PFX "efficeon_create_gatt_table(%d)\n", num_entries); in efficeon_create_gatt_table() 205 BUG_ON(num_entries & 0x3ff); in efficeon_create_gatt_table() 206 l1_pages = num_entries >> 10; in efficeon_create_gatt_table() 238 int i, count = mem->page_count, num_entries; in efficeon_insert_memory() local 245 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_insert_memory() 246 if ((pg_start + mem->page_count) > num_entries) in efficeon_insert_memory() 287 int i, count = mem->page_count, num_entries; in efficeon_remove_memory() local 291 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_remove_memory() [all …]
|
D | alpha-agp.c | 88 int num_entries, status; in alpha_core_agp_insert_memory() local 95 num_entries = A_SIZE_FIX(temp)->num_entries; in alpha_core_agp_insert_memory() 96 if ((pg_start + mem->page_count) > num_entries) in alpha_core_agp_insert_memory() 169 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup() 170 aper_size->page_order = __ffs(aper_size->num_entries / 1024); in alpha_core_agp_setup()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn321/ |
D | dcn321_fpu.c | 211 unsigned int *num_entries, in dcn321_insert_entry_into_table_sorted() argument 219 if (*num_entries == 0) { in dcn321_insert_entry_into_table_sorted() 221 (*num_entries)++; in dcn321_insert_entry_into_table_sorted() 225 if (index >= *num_entries) in dcn321_insert_entry_into_table_sorted() 229 for (i = *num_entries; i > index; i--) in dcn321_insert_entry_into_table_sorted() 233 (*num_entries)++; in dcn321_insert_entry_into_table_sorted() 237 …ove_entry_from_table_at_index(struct _vcs_dpi_voltage_scaling_st *table, unsigned int *num_entries, in remove_entry_from_table_at_index() argument 242 if (*num_entries == 0) in remove_entry_from_table_at_index() 245 for (i = index; i < *num_entries - 1; i++) { in remove_entry_from_table_at_index() 248 memset(&table[--(*num_entries)], 0, sizeof(struct _vcs_dpi_voltage_scaling_st)); in remove_entry_from_table_at_index() [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | module-sections.c | 15 int i = got_sec->num_entries; in module_emit_got_entry() 25 got_sec->num_entries++; in module_emit_got_entry() 26 if (got_sec->num_entries > got_sec->max_entries) { in module_emit_got_entry() 49 nr = plt_sec->num_entries; in module_emit_plt_entry() 57 plt_sec->num_entries++; in module_emit_plt_entry() 58 plt_idx_sec->num_entries++; in module_emit_plt_entry() 59 BUG_ON(plt_sec->num_entries > plt_sec->max_entries); in module_emit_plt_entry() 158 mod->arch.got.num_entries = 0; in module_frob_arch_sections() 166 mod->arch.plt.num_entries = 0; in module_frob_arch_sections() 174 mod->arch.plt_idx.num_entries = 0; in module_frob_arch_sections()
|
/linux-6.6.21/drivers/net/wwan/iosm/ |
D | iosm_ipc_coredump.c | 66 u32 byte_read, num_entries, file_size; in ipc_coredump_get_list() local 95 num_entries = le32_to_cpu(cd_table->list.num_entries); in ipc_coredump_get_list() 96 if (num_entries == 0 || num_entries > IOSM_NOF_CD_REGION) { in ipc_coredump_get_list() 101 for (i = 0; i < num_entries; i++) { in ipc_coredump_get_list()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | nfp_shared_buf.c | 81 unsigned int i, num_entries, entry_sz; in nfp_shared_buf_register() local 92 num_entries = n; in nfp_shared_buf_register() 95 num_entries * sizeof(pf->shared_bufs[0]), in nfp_shared_buf_register() 100 entry_sz = nfp_cpp_area_size(sb_desc_area) / num_entries; in nfp_shared_buf_register() 102 pf->shared_bufs = kmalloc_array(num_entries, sizeof(pf->shared_bufs[0]), in nfp_shared_buf_register() 109 for (i = 0; i < num_entries; i++) { in nfp_shared_buf_register() 125 pf->num_shared_bufs = num_entries; in nfp_shared_buf_register()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_bo_list.c | 72 size_t num_entries, struct amdgpu_bo_list **result) in amdgpu_bo_list_create() argument 74 unsigned last_entry = 0, first_userptr = num_entries; in amdgpu_bo_list_create() 82 if (num_entries > (SIZE_MAX - sizeof(struct amdgpu_bo_list)) in amdgpu_bo_list_create() 87 size += num_entries * sizeof(struct amdgpu_bo_list_entry); in amdgpu_bo_list_create() 98 memset(array, 0, num_entries * sizeof(struct amdgpu_bo_list_entry)); in amdgpu_bo_list_create() 100 for (i = 0; i < num_entries; ++i) { in amdgpu_bo_list_create() 143 list->num_entries = num_entries; in amdgpu_bo_list_create() 147 trace_amdgpu_cs_bo_status(list->num_entries, total_size); in amdgpu_bo_list_create() 156 for (i = first_userptr; i < num_entries; ++i) in amdgpu_bo_list_create()
|
D | amdgpu_bo_list.h | 53 unsigned num_entries; member 69 size_t num_entries, 82 e != amdgpu_bo_list_array_entry(list, (list)->num_entries); \ 87 e != amdgpu_bo_list_array_entry(list, (list)->num_entries); \
|
/linux-6.6.21/drivers/net/dsa/sja1105/ |
D | sja1105_tas.c | 172 int num_entries = 0; in sja1105_init_scheduling() local 213 num_entries += tas_data->offload[port]->num_entries; in sja1105_init_scheduling() 219 num_entries += gating_cfg->num_entries; in sja1105_init_scheduling() 231 table->entries = kcalloc(num_entries, table->ops->unpacked_entry_size, in sja1105_init_scheduling() 235 table->entry_count = num_entries; in sja1105_init_scheduling() 283 schedule_end_idx = k + offload->num_entries - 1; in sja1105_init_scheduling() 310 for (i = 0; i < offload->num_entries; i++, k++) { in sja1105_init_scheduling() 329 schedule_end_idx = k + gating_cfg->num_entries - 1; in sja1105_init_scheduling() 425 i < offload->num_entries; in sja1105_tas_check_conflicts() 431 j < admin->num_entries; in sja1105_tas_check_conflicts() [all …]
|
/linux-6.6.21/drivers/net/ethernet/engleder/ |
D | tsnep_selftests.c | 381 qopt->num_entries = 7; in tsnep_test_taprio() 405 qopt->num_entries = 8; in tsnep_test_taprio() 434 qopt->num_entries = 10; in tsnep_test_taprio() 468 qopt->num_entries = 2; in tsnep_test_taprio_change() 501 qopt->num_entries = 3; in tsnep_test_taprio_change() 513 qopt->num_entries = 2; in tsnep_test_taprio_change() 527 qopt->num_entries = 4; in tsnep_test_taprio_change() 539 qopt->num_entries = 2; in tsnep_test_taprio_change() 551 qopt->num_entries = 3; in tsnep_test_taprio_change() 567 qopt->num_entries = 4; in tsnep_test_taprio_change() [all …]
|
/linux-6.6.21/drivers/iommu/ |
D | io-pgtable-arm-v7s.c | 315 static void __arm_v7s_pte_sync(arm_v7s_iopte *ptep, int num_entries, in __arm_v7s_pte_sync() argument 322 num_entries * sizeof(*ptep), DMA_TO_DEVICE); in __arm_v7s_pte_sync() 325 int num_entries, struct io_pgtable_cfg *cfg) in __arm_v7s_set_pte() argument 329 for (i = 0; i < num_entries; i++) in __arm_v7s_set_pte() 332 __arm_v7s_pte_sync(ptep, num_entries, cfg); in __arm_v7s_set_pte() 433 int lvl, int num_entries, arm_v7s_iopte *ptep) in arm_v7s_init_pte() argument 439 for (i = 0; i < num_entries; i++) in arm_v7s_init_pte() 459 if (num_entries > 1) in arm_v7s_init_pte() 464 __arm_v7s_set_pte(ptep, pte, num_entries, cfg); in arm_v7s_init_pte() 503 int num_entries = size >> ARM_V7S_LVL_SHIFT(lvl); in __arm_v7s_map() local [all …]
|
D | io-pgtable-dart.c | 125 dart_iopte prot, int num_entries, in dart_init_pte() argument 132 for (i = 0; i < num_entries; i++) in dart_init_pte() 146 for (i = 0; i < num_entries; i++) in dart_init_pte() 243 int ret = 0, tbl, num_entries, max_entries, map_idx_start; in dart_map_pages() local 283 num_entries = min_t(int, pgcount, max_entries); in dart_map_pages() 285 ret = dart_init_pte(data, iova, paddr, prot, num_entries, ptep); in dart_map_pages() 287 *mapped += num_entries * pgsize; in dart_map_pages() 304 int i = 0, num_entries, max_entries, unmap_idx_start; in dart_unmap_pages() local 320 num_entries = min_t(int, pgcount, max_entries); in dart_unmap_pages() 322 while (i < num_entries) { in dart_unmap_pages()
|
/linux-6.6.21/drivers/soc/qcom/ |
D | smsm.c | 81 u32 num_entries; member 449 u32 num_entries; in smsm_get_size_info() member 460 smsm->num_entries = SMSM_DEFAULT_NUM_ENTRIES; in smsm_get_size_info() 465 smsm->num_entries = info->num_entries; in smsm_get_size_info() 470 smsm->num_entries, smsm->num_hosts); in smsm_get_size_info() 498 smsm->num_entries, in qcom_smsm_probe() 533 smsm->num_entries * sizeof(u32)); in qcom_smsm_probe() 547 size = smsm->num_entries * smsm->num_hosts * sizeof(u32); in qcom_smsm_probe() 579 if (ret || id >= smsm->num_entries) { in qcom_smsm_probe() 606 for (id = 0; id < smsm->num_entries; id++) in qcom_smsm_probe() [all …]
|
/linux-6.6.21/arch/x86/platform/efi/ |
D | quirks.c | 258 int num_entries; in efi_arch_mem_reserve() local 280 num_entries = efi_memmap_split_count(&md, &mr.range); in efi_arch_mem_reserve() 281 num_entries += efi.memmap.nr_map; in efi_arch_mem_reserve() 283 if (efi_memmap_alloc(num_entries, &data) != 0) { in efi_arch_mem_reserve() 411 int num_entries = 0; in efi_free_boot_services() local 425 num_entries++; in efi_free_boot_services() 431 num_entries++; in efi_free_boot_services() 477 if (!num_entries) in efi_free_boot_services() 480 if (efi_memmap_alloc(num_entries, &data) != 0) { in efi_free_boot_services()
|
/linux-6.6.21/kernel/kcsan/ |
D | report.c | 277 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries) in get_stack_skipnr() argument 283 for (skip = 0; skip < num_entries; ++skip) { in get_stack_skipnr() 315 replace_stack_entry(unsigned long stack_entries[], int num_entries, unsigned long ip, in replace_stack_entry() argument 327 for (skip = 0; skip < num_entries; ++skip) { in replace_stack_entry() 344 return get_stack_skipnr(stack_entries, num_entries); in replace_stack_entry() 348 sanitize_stack_entries(unsigned long stack_entries[], int num_entries, unsigned long ip, in sanitize_stack_entries() argument 351 return ip ? replace_stack_entry(stack_entries, num_entries, ip, replaced) : in sanitize_stack_entries() 352 get_stack_skipnr(stack_entries, num_entries); in sanitize_stack_entries() 368 print_stack_trace(unsigned long stack_entries[], int num_entries, unsigned long reordered_to) in print_stack_trace() argument 370 stack_trace_print(stack_entries, num_entries, 0); in print_stack_trace()
|
/linux-6.6.21/drivers/parisc/ |
D | iosapic.c | 222 static struct irt_entry *iosapic_alloc_irt(int num_entries) in iosapic_alloc_irt() argument 224 return kcalloc(num_entries, sizeof(struct irt_entry), GFP_KERNEL); in iosapic_alloc_irt() 259 unsigned long num_entries = 0UL; in iosapic_load_irt() local 266 status = pdc_pat_get_irt_size(&num_entries, cell_num); in iosapic_load_irt() 270 BUG_ON(num_entries == 0); in iosapic_load_irt() 278 table = iosapic_alloc_irt(num_entries); in iosapic_load_irt() 299 status = pdc_pci_irt_size(&num_entries, 0); in iosapic_load_irt() 307 BUG_ON(num_entries == 0); in iosapic_load_irt() 309 table = iosapic_alloc_irt(num_entries); in iosapic_load_irt() 317 status = pdc_pci_irt(num_entries, 0, table); in iosapic_load_irt() [all …]
|
/linux-6.6.21/fs/exfat/ |
D | namei.c | 213 int num_entries) in exfat_search_empty_slot() argument 235 num_entries > hint_femp->count) in exfat_search_empty_slot() 285 if (num_empty >= num_entries) { in exfat_search_empty_slot() 288 return (dentry - (num_entries - 1)); in exfat_search_empty_slot() 328 struct exfat_chain *p_dir, int num_entries) in exfat_find_empty_entry() argument 347 num_entries)) < 0) { in exfat_find_empty_entry() 496 int ret, dentry, num_entries; in exfat_add_entry() local 508 num_entries = exfat_calc_num_entries(&uniname); in exfat_add_entry() 509 if (num_entries < 0) { in exfat_add_entry() 510 ret = num_entries; in exfat_add_entry() [all …]
|
D | dir.c | 49 for (i = ES_IDX_FIRST_FILENAME; i < es.num_entries; i++) { in exfat_get_uniname_from_ext_entry() 505 int i, num_entries; in exfat_update_dir_chksum() local 514 num_entries = fep->dentry.file.num_ext + 1; in exfat_update_dir_chksum() 517 for (i = 1; i < num_entries; i++) { in exfat_update_dir_chksum() 555 int entry, int num_entries, struct exfat_uni_name *p_uniname) in exfat_init_ext_entry() argument 568 ep->dentry.file.num_ext = (unsigned char)(num_entries - 1); in exfat_init_ext_entry() 581 for (i = EXFAT_FIRST_CLUSTER; i < num_entries; i++) { in exfat_init_ext_entry() 600 int entry, int order, int num_entries) in exfat_remove_entries() argument 607 for (i = order; i < num_entries; i++) { in exfat_remove_entries() 629 for (i = ES_IDX_FILE; i < es->num_entries; i++) { in exfat_update_dir_chksum_with_entry_set() [all …]
|
/linux-6.6.21/arch/x86/kernel/ |
D | unwind_orc.c | 84 unsigned int num_entries, unsigned long ip) in __orc_find() argument 87 int *last = ip_table + num_entries - 1; in __orc_find() 90 if (!num_entries) in __orc_find() 294 unsigned int num_entries = orc_ip_size / sizeof(int); in unwind_module_init() local 298 num_entries != orc_size / sizeof(*orc)); in unwind_module_init() 308 sort(orc_ip, num_entries, sizeof(int), orc_sort_cmp, orc_sort_swap); in unwind_module_init() 313 mod->arch.num_orcs = num_entries; in unwind_module_init() 321 size_t num_entries = orc_ip_size / sizeof(int); in unwind_init() local 325 if (!num_entries || orc_ip_size % sizeof(int) != 0 || in unwind_init() 327 num_entries != orc_size / sizeof(struct orc_entry)) { in unwind_init() [all …]
|
/linux-6.6.21/drivers/platform/x86/intel/pmt/ |
D | telemetry.c | 40 int num_entries; member 99 for (i = 0; i < priv->num_entries; i++) in pmt_telem_remove() 118 struct intel_pmt_entry *entry = &priv->entry[priv->num_entries]; in pmt_telem_probe() 126 priv->num_entries++; in pmt_telem_probe()
|