/linux-6.6.21/drivers/scsi/snic/ ! |
D | snic_trc.c | 26 if (trc->wr_idx == trc->max_idx) in snic_get_trc_buf() 36 if (trc->rd_idx == trc->max_idx) in snic_get_trc_buf() 97 if (trc->rd_idx == trc->max_idx) in snic_get_trc_data() 129 trc->max_idx = (tbuf_sz / SNIC_TRC_ENTRY_SZ); in snic_trc_init()
|
D | snic_trc.h | 31 u32 max_idx; /* Max Index into trace buffer */ member
|
/linux-6.6.21/drivers/regulator/ ! |
D | lp87565-regulator.c | 193 int i, min_idx, max_idx; in lp87565_regulator_probe() local 205 max_idx = LP87565_BUCK_23; in lp87565_regulator_probe() 209 max_idx = LP87565_BUCK_3210; in lp87565_regulator_probe() 213 max_idx = LP87565_BUCK_3; in lp87565_regulator_probe() 217 for (i = min_idx; i <= max_idx; i++) { in lp87565_regulator_probe()
|
/linux-6.6.21/ipc/ ! |
D | util.c | 122 ids->max_idx = -1; in ipc_init_ids() 224 int max_idx; in ipc_idr_alloc() local 226 max_idx = max(ids->in_use*3/2, ipc_min_cycle); in ipc_idr_alloc() 227 max_idx = min(max_idx, ipc_mni); in ipc_idr_alloc() 230 idx = idr_alloc_cyclic(&ids->ipcs_idr, NULL, 0, max_idx, in ipc_idr_alloc() 324 if (idx > ids->max_idx) in ipc_addid() 325 ids->max_idx = idx; in ipc_addid() 506 if (unlikely(idx == ids->max_idx)) { in ipc_rmid() 507 idx = ids->max_idx-1; in ipc_rmid() 510 ids->max_idx = idx; in ipc_rmid()
|
D | util.h | 159 return ids->max_idx; in ipc_get_maxidx()
|
D | msg.c | 481 int max_idx; in msgctl_info() local 501 max_idx = ipc_get_maxidx(&msg_ids(ns)); in msgctl_info() 515 return (max_idx < 0) ? 0 : max_idx; in msgctl_info()
|
D | sem.c | 1312 int max_idx; in semctl_info() local 1336 max_idx = ipc_get_maxidx(&sem_ids(ns)); in semctl_info() 1340 return (max_idx < 0) ? 0 : max_idx; in semctl_info()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ ! |
D | ice_irq.c | 365 unsigned long start, index, max_idx; in ice_get_max_used_msix_vector() local 370 max_idx = start - 1; in ice_get_max_used_msix_vector() 373 if (index > max_idx) in ice_get_max_used_msix_vector() 374 max_idx = index; in ice_get_max_used_msix_vector() 377 return max_idx; in ice_get_max_used_msix_vector()
|
/linux-6.6.21/drivers/power/reset/ ! |
D | at91-sama5d2_shdwc.c | 176 int max_idx = ARRAY_SIZE(sdwc_dbc_period) - 1; in at91_shdwc_debouncer_value() local 178 unsigned long long max_period_us = DBC_PERIOD_US(sdwc_dbc_period[max_idx]); in at91_shdwc_debouncer_value() 184 return max_idx; in at91_shdwc_debouncer_value() 187 for (i = max_idx - 1; i > 0; i--) { in at91_shdwc_debouncer_value()
|
/linux-6.6.21/fs/ntfs3/ ! |
D | run.c | 36 size_t min_idx, max_idx, mid_idx; in run_lookup() local 45 max_idx = run->count - 1; in run_lookup() 59 r += max_idx; in run_lookup() 66 *index = max_idx; in run_lookup() 71 mid_idx = min_idx + ((max_idx - min_idx) >> 1); in run_lookup() 75 max_idx = mid_idx - 1; in run_lookup() 84 } while (min_idx <= max_idx); in run_lookup() 86 *index = max_idx + 1; in run_lookup()
|
D | index.c | 723 int min_idx = 0, mid_idx, max_idx = 0; in hdr_find_e() local 749 offs[max_idx] = off; in hdr_find_e() 752 max_idx++; in hdr_find_e() 753 if (max_idx < table_size) in hdr_find_e() 756 max_idx--; in hdr_find_e() 770 max_idx = 0; in hdr_find_e() 776 max_idx = mid_idx - 1; in hdr_find_e() 778 max_idx--; in hdr_find_e() 786 if (min_idx > max_idx) { in hdr_find_e() 791 mid_idx = (min_idx + max_idx) >> 1; in hdr_find_e()
|
/linux-6.6.21/arch/ia64/kernel/ ! |
D | mca_drv.c | 74 int max_idx; /* Maximum index of section pointer list pool */ member 224 slidx_pool.cur_idx = (slidx_pool.cur_idx + 1)%slidx_pool.max_idx; } 351 slidx_pool.max_idx = (rec_max_size/sect_min_size) * 2 + 1; in init_record_index_pools() 353 kmalloc_array(slidx_pool.max_idx, sizeof(slidx_list_t), in init_record_index_pools()
|
/linux-6.6.21/drivers/mmc/core/ ! |
D | host.c | 526 int alias_id, min_idx, max_idx; in mmc_alloc_host() local 540 max_idx = 0; in mmc_alloc_host() 542 index = ida_simple_get(&mmc_host_ida, min_idx, max_idx, GFP_KERNEL); in mmc_alloc_host()
|
/linux-6.6.21/include/linux/ ! |
D | ipc_namespace.h | 23 int max_idx; member
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ ! |
D | fwsignal.c | 1661 if (start > rfi->max_idx) in brcmf_rxreorder_get_skb_list() 1671 u8 flow_id, max_idx, cur_idx, exp_idx, end_idx; in brcmf_fws_rxreorder() local 1712 max_idx = reorder_data[BRCMF_RXREORDER_MAXIDX_OFFSET]; in brcmf_fws_rxreorder() 1714 buf_size += (max_idx + 1) * sizeof(pkt); in brcmf_fws_rxreorder() 1718 flow_id, max_idx); in brcmf_fws_rxreorder() 1728 rfi->max_idx = max_idx; in brcmf_fws_rxreorder() 1741 rfi->max_idx = reorder_data[BRCMF_RXREORDER_MAXIDX_OFFSET]; in brcmf_fws_rxreorder() 1807 if (exp_idx == ((cur_idx + 1) % (rfi->max_idx + 1))) { in brcmf_fws_rxreorder()
|
D | core.h | 63 u8 max_idx; member
|
/linux-6.6.21/drivers/vdpa/mlx5/core/ ! |
D | mlx5_vdpa.h | 93 u16 max_idx; member
|
/linux-6.6.21/arch/x86/kvm/ ! |
D | cpuid.c | 900 int r, i, max_idx; in __do_cpuid_func() local 1106 for (i = 1, max_idx = entry->eax; i <= max_idx; ++i) { in __do_cpuid_func() 1118 for (i = 1, max_idx = entry->eax; i <= max_idx; ++i) { in __do_cpuid_func()
|
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/ ! |
D | ioctl_linux.c | 48 u8 max_idx; in wpa_set_encryption() local 71 max_idx = WEP_KEYS - 1; in wpa_set_encryption() 73 max_idx = BIP_MAX_KEYID; in wpa_set_encryption() 75 if (param->u.crypt.idx > max_idx) { in wpa_set_encryption() 76 netdev_err(dev, "Error crypt.idx %d > %d\n", param->u.crypt.idx, max_idx); in wpa_set_encryption()
|
/linux-6.6.21/tools/objtool/ ! |
D | elf.c | 603 int max_idx, idx = sym->idx; in elf_update_symbol() local 692 max_idx = symtab_data->d_size / entsize; in elf_update_symbol() 693 if (idx < max_idx) in elf_update_symbol() 697 idx -= max_idx; in elf_update_symbol()
|
/linux-6.6.21/sound/pci/lola/ ! |
D | lola_mixer.c | 325 int idx, max_idx; in lola_setup_all_analog_gains() local 328 max_idx = chip->pin[dir].num_pins; in lola_setup_all_analog_gains() 329 for (idx = 0; idx < max_idx; idx++) { in lola_setup_all_analog_gains()
|
/linux-6.6.21/mm/ ! |
D | filemap.c | 3271 pgoff_t max_idx, index = vmf->pgoff; in filemap_fault() local 3276 max_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in filemap_fault() 3277 if (unlikely(index >= max_idx)) in filemap_fault() 3367 max_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in filemap_fault() 3368 if (unlikely(index >= max_idx)) { in filemap_fault() 3444 unsigned long max_idx; in next_uptodate_folio() local 3468 max_idx = DIV_ROUND_UP(i_size_read(mapping->host), PAGE_SIZE); in next_uptodate_folio() 3469 if (xas->xa_index >= max_idx) in next_uptodate_folio()
|
/linux-6.6.21/arch/x86/kernel/fpu/ ! |
D | xstate.c | 100 long xfeature_idx, max_idx; in cpu_has_xfeatures() local 115 max_idx = ARRAY_SIZE(xfeature_names)-1; in cpu_has_xfeatures() 116 xfeature_idx = min(xfeature_idx, max_idx); in cpu_has_xfeatures()
|
/linux-6.6.21/drivers/input/misc/ ! |
D | ad714x.c | 164 int max_idx = 0; in ad714x_cal_highest_stage() local 170 max_idx = i; in ad714x_cal_highest_stage() 174 return max_idx; in ad714x_cal_highest_stage()
|
/linux-6.6.21/drivers/net/wireless/ath/ath5k/ ! |
D | phy.c | 3081 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local 3136 max_idx = min(pdadc_n, table_size); in ath5k_combine_pwr_to_pdadc_curves() 3139 while (pdadc_0 < max_idx && pdadc_i < 128) in ath5k_combine_pwr_to_pdadc_curves() 3143 if (pdadc_n <= max_idx) in ath5k_combine_pwr_to_pdadc_curves() 3157 (pdadc_0 - max_idx) * pwr_step; in ath5k_combine_pwr_to_pdadc_curves()
|