Home
last modified time | relevance | path

Searched refs:first_idx (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/cpuidle/governors/
Dladder.c72 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_select_state() local
100 if (last_idx > first_idx && in ladder_select_state()
105 for (i = last_idx - 1; i > first_idx; i--) { in ladder_select_state()
113 if (last_idx > first_idx && in ladder_select_state()
136 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_enable_device() local
141 dev->last_state_idx = first_idx; in ladder_enable_device()
143 for (i = first_idx; i < drv->state_count; i++) { in ladder_enable_device()
155 if (i > first_idx) in ladder_enable_device()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c431 int scale_rate_idx, first_idx, last_idx; in il3945_rs_tx_status() local
444 first_idx = sband->bitrates[info->status.rates[0].idx].hw_value; in il3945_rs_tx_status()
445 if (first_idx < 0 || first_idx >= RATE_COUNT_3945) { in il3945_rs_tx_status()
446 D_RATE("leave: Rate out of bounds: %d\n", first_idx); in il3945_rs_tx_status()
463 scale_rate_idx = first_idx; in il3945_rs_tx_status()
464 last_idx = first_idx; in il3945_rs_tx_status()
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c436 int first_idx; in zd_mac_tx_status() local
454 first_idx = info->status.rates[0].idx; in zd_mac_tx_status()
455 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_status()
456 retries = &zd_retry_rates[first_idx]; in zd_mac_tx_status()
503 int first_idx, final_idx; in zd_mac_tx_failed() local
526 first_idx = info->status.rates[0].idx; in zd_mac_tx_failed()
527 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_failed()
528 retries = &zd_retry_rates[first_idx]; in zd_mac_tx_failed()
/kernel/linux/linux-5.10/fs/ext4/
Dreadpage.c194 pgoff_t first_idx) in ext4_set_bio_post_read_ctx() argument
201 if (ext4_need_verity(inode, first_idx)) in ext4_set_bio_post_read_ctx()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dmmu_decl.h147 extern void loadcam_multi(int first_idx, int num, int tmp_idx);
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Drestrack.c120 u16 first_idx, struct t4_swsqe *first_sqe, in fill_swsqes() argument
125 if (fill_swsqe(msg, sq, first_idx, first_sqe)) in fill_swsqes()
/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.h127 int first_idx;/* as above, but for the first encountered error */ member
Dparse-events.c201 err->first_idx = err->idx; in parse_events__handle_error()
2264 __parse_events_print_error(err->first_idx, err->first_str, in parse_events_print_error()
/kernel/linux/linux-5.10/drivers/tty/
Dmoxa.c825 unsigned int i, first_idx; in moxa_init_board() local
878 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_init_board()
881 first_idx + i, dev); in moxa_init_board()
894 unsigned int a, opened, first_idx; in moxa_board_deinit() local
921 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_board_deinit()
923 tty_unregister_device(moxaDriver, first_idx + a); in moxa_board_deinit()
/kernel/linux/linux-5.10/fs/
Dbinfmt_elf.c401 int i, first_idx = -1, last_idx = -1; in total_mapping_size() local
406 if (first_idx == -1) in total_mapping_size()
407 first_idx = i; in total_mapping_size()
410 if (first_idx == -1) in total_mapping_size()
414 ELF_PAGESTART(cmds[first_idx].p_vaddr); in total_mapping_size()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c1065 int first_idx = 0, last_idx; in mt7603_fill_txs() local
1108 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7603_RATE_RETRY); in mt7603_fill_txs()
1122 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7603_fill_txs()
1133 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7603_fill_txs()
1137 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7603_fill_txs()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c1180 int first_idx = 0, last_idx; in mt7615_fill_txs() local
1216 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7615_RATE_RETRY); in mt7615_fill_txs()
1230 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7615_fill_txs()
1244 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7615_fill_txs()
1248 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7615_fill_txs()
/kernel/linux/linux-5.10/mm/
Dz3fold.c682 int first_idx = __idx(zhdr, FIRST); in compact_single_buddy() local
691 if (zhdr->first_chunks && zhdr->slots->slot[first_idx]) { in compact_single_buddy()
694 old_handle = (unsigned long)&zhdr->slots->slot[first_idx]; in compact_single_buddy()
/kernel/linux/linux-5.10/fs/f2fs/
Ddata.c464 pgoff_t first_idx, in f2fs_set_bio_crypt_ctx() argument
473 fscrypt_set_bio_crypt_ctx(bio, inode, first_idx, gfp_mask); in f2fs_set_bio_crypt_ctx()
1030 pgoff_t first_idx, bool for_write, in f2fs_grab_read_bio() argument
1043 f2fs_set_bio_crypt_ctx(bio, inode, first_idx, NULL, GFP_NOFS); in f2fs_grab_read_bio()
1053 if (for_verity && f2fs_need_verity(inode, first_idx)) in f2fs_grab_read_bio()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c1354 u8 i, first_idx, last_idx, *p_tx_max; in qed_ll2_acquire_connection() local
1360 _qed_ll2_calc_allowed_conns(p_hwfn, data, &first_idx, &last_idx); in qed_ll2_acquire_connection()
1363 for (i = first_idx; i < last_idx; i++) { in qed_ll2_acquire_connection()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/
Dmain.c1441 int maplen, f, first_idx = txq->write_idx; in alx_map_tx_skb() local
1499 f = first_idx; in alx_map_tx_skb()
/kernel/linux/linux-5.10/kernel/locking/
Dlockdep.c5086 int first_idx = idx; in reacquire_held_locks() local
5104 *merged += (idx == first_idx); in reacquire_held_locks()
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c2050 int first_idx = st->first_insn_idx; in __mark_chain_precision() local
2104 verbose(env, "last_idx %d first_idx %d\n", last_idx, first_idx); in __mark_chain_precision()
2124 if (i == first_idx) in __mark_chain_precision()
2203 first_idx = st->first_insn_idx; in __mark_chain_precision()