/kernel/linux/linux-5.10/ipc/ |
D | util.c | 121 ids->max_idx = -1; in ipc_init_ids() 223 int max_idx; in ipc_idr_alloc() local 225 max_idx = max(ids->in_use*3/2, ipc_min_cycle); in ipc_idr_alloc() 226 max_idx = min(max_idx, ipc_mni); in ipc_idr_alloc() 229 idx = idr_alloc_cyclic(&ids->ipcs_idr, NULL, 0, max_idx, in ipc_idr_alloc() 323 if (idx > ids->max_idx) in ipc_addid() 324 ids->max_idx = idx; in ipc_addid() 470 if (unlikely(idx == ids->max_idx)) { in ipc_rmid() 476 ids->max_idx = idx; in ipc_rmid() 758 int max_idx = ipc_get_maxidx(ids); in sysvipc_find_ipc() local [all …]
|
D | msg.c | 480 int max_idx; in msgctl_info() local 507 max_idx = ipc_get_maxidx(&msg_ids(ns)); in msgctl_info() 509 return (max_idx < 0) ? 0 : max_idx; in msgctl_info()
|
D | util.h | 158 return ids->max_idx; in ipc_get_maxidx()
|
D | sem.c | 1310 int max_idx; in semctl_info() local 1334 max_idx = ipc_get_maxidx(&sem_ids(ns)); in semctl_info() 1338 return (max_idx < 0) ? 0 : max_idx; in semctl_info()
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
D | snic_trc.c | 40 if (trc->wr_idx == trc->max_idx) in snic_get_trc_buf() 50 if (trc->rd_idx == trc->max_idx) in snic_get_trc_buf() 111 if (trc->rd_idx == trc->max_idx) in snic_get_trc_data() 143 trc->max_idx = (tbuf_sz / SNIC_TRC_ENTRY_SZ); in snic_trc_init()
|
D | snic_trc.h | 45 u32 max_idx; /* Max Index into trace buffer */ member
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | lp87565-regulator.c | 182 int i, min_idx, max_idx; in lp87565_regulator_probe() local 194 max_idx = LP87565_BUCK_23; in lp87565_regulator_probe() 198 max_idx = LP87565_BUCK_3210; in lp87565_regulator_probe() 202 max_idx = LP87565_BUCK_3; in lp87565_regulator_probe() 206 for (i = min_idx; i <= max_idx; i++) { in lp87565_regulator_probe()
|
/kernel/linux/linux-5.10/drivers/power/reset/ |
D | at91-sama5d2_shdwc.c | 170 int max_idx = ARRAY_SIZE(sdwc_dbc_period) - 1; in at91_shdwc_debouncer_value() local 172 unsigned long long max_period_us = DBC_PERIOD_US(sdwc_dbc_period[max_idx]); in at91_shdwc_debouncer_value() 178 return max_idx; in at91_shdwc_debouncer_value() 181 for (i = max_idx - 1; i > 0; i--) { in at91_shdwc_debouncer_value()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | host.c | 451 int alias_id, min_idx, max_idx; in mmc_alloc_host() local 465 max_idx = 0; in mmc_alloc_host() 467 index = ida_simple_get(&mmc_host_ida, min_idx, max_idx, GFP_KERNEL); in mmc_alloc_host()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 123 int max_idx, max_cp_rings; in bnxt_req_msix_vecs() local 148 max_idx = min_t(int, bp->total_irqs, max_cp_rings); in bnxt_req_msix_vecs() 149 idx = max_idx - avail_msix; in bnxt_req_msix_vecs()
|
D | bnxt.c | 2597 int i, max_idx; in bnxt_free_tx_skbs() local 2603 max_idx = bp->tx_nr_pages * TX_DESC_CNT; in bnxt_free_tx_skbs() 2611 for (j = 0; j < max_idx;) { in bnxt_free_tx_skbs() 2671 int i, max_idx, max_agg_idx; in bnxt_free_one_rx_ring_skbs() local 2673 max_idx = bp->rx_nr_pages * RX_DESC_CNT; in bnxt_free_one_rx_ring_skbs() 2698 for (i = 0; i < max_idx; i++) { in bnxt_free_one_rx_ring_skbs() 8606 int max_idx, avail_msix; in bnxt_get_avail_msix() local 8608 max_idx = bp->total_irqs; in bnxt_get_avail_msix() 8610 max_idx = min_t(int, bp->total_irqs, max_cp); in bnxt_get_avail_msix() 8611 avail_msix = max_idx - bp->cp_nr_rings; in bnxt_get_avail_msix()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ipc_namespace.h | 21 int max_idx; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | core.h | 57 u8 max_idx; member
|
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()
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
D | xstate.c | 86 long xfeature_idx, max_idx; in cpu_has_xfeatures() local 101 max_idx = ARRAY_SIZE(xfeature_names)-1; in cpu_has_xfeatures() 102 xfeature_idx = min(xfeature_idx, max_idx); in cpu_has_xfeatures()
|
/kernel/linux/linux-5.10/sound/pci/lola/ |
D | lola_mixer.c | 323 int idx, max_idx; in lola_setup_all_analog_gains() local 326 max_idx = chip->pin[dir].num_pins; in lola_setup_all_analog_gains() 327 for (idx = 0; idx < max_idx; idx++) { in lola_setup_all_analog_gains()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | cpuid.c | 588 int r, i, max_idx; in __do_cpuid_func() local 773 for (i = 1, max_idx = entry->eax; i <= max_idx; ++i) { in __do_cpuid_func()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | others.patch | 296 - int max_idx = ipc_get_maxidx(ids); 307 - if (max_idx == -1 || pos > max_idx) 312 - for (; pos <= max_idx; pos++) {
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 3084 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local 3139 max_idx = (pdadc_n < table_size) ? pdadc_n : table_size; in ath5k_combine_pwr_to_pdadc_curves() 3142 while (pdadc_0 < max_idx && pdadc_i < 128) in ath5k_combine_pwr_to_pdadc_curves() 3146 if (pdadc_n <= max_idx) in ath5k_combine_pwr_to_pdadc_curves() 3160 (pdadc_0 - max_idx) * pwr_step; in ath5k_combine_pwr_to_pdadc_curves()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | ar9003_calib.c | 844 int mp_max = -64, max_idx = 0; in ar9003_hw_detect_outlier() local 852 max_idx = i; in ar9003_hw_detect_outlier() 880 outlier_idx = max_idx; in ar9003_hw_detect_outlier()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.c | 1391 u8 max_idx; in iwl_ini_get_rxf_data() local 1396 max_idx = 0; in iwl_ini_get_rxf_data() 1398 max_idx = 1; in iwl_ini_get_rxf_data() 1400 if (WARN_ONCE(fifo_idx > max_idx, in iwl_ini_get_rxf_data()
|
/kernel/linux/linux-5.10/mm/ |
D | filemap.c | 2844 unsigned long max_idx; in filemap_map_pages() local 2880 max_idx = DIV_ROUND_UP(i_size_read(mapping->host), PAGE_SIZE); in filemap_map_pages() 2881 if (xas.xa_index >= max_idx) in filemap_map_pages()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch | 2919 - int alias_id, min_idx, max_idx; 2934 - max_idx = 0; 2936 - index = ida_simple_get(&mmc_host_ida, min_idx, max_idx, GFP_KERNEL);
|