| /linux/drivers/cpuidle/governors/ |
| H A D | ladder.c | 73 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_select_state() local 101 if (last_idx > first_idx && in ladder_select_state() 106 for (i = last_idx - 1; i > first_idx; i--) { in ladder_select_state() 114 if (last_idx > first_idx && in ladder_select_state() 137 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_enable_device() local 142 dev->last_state_idx = first_idx; in ladder_enable_device() 144 for (i = first_idx; i < drv->state_count; i++) { in ladder_enable_device() 156 if (i > first_idx) in ladder_enable_device()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sock_iter_batch.c | 872 int first_idx, second_idx; in do_test() local 918 first_idx = -1; in do_test() 925 if (first_idx == -1) in do_test() 926 first_idx = outputs[0].idx; in do_test() 928 ASSERT_EQ(outputs[i].idx, first_idx, "first_idx"); in do_test() 933 free_fds(fds[first_idx], nr_soreuse); in do_test() 934 fds[first_idx] = NULL; in do_test() 939 second_idx = !first_idx; in do_test()
|
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_mac.c | 436 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | lag.c | 713 int first_idx = mlx5_lag_get_dev_index_by_seq(ldev, MLX5_LAG_P1); in mlx5_modify_lag() local 721 if (first_idx < 0) in mlx5_modify_lag() 724 dev0 = mlx5_lag_pf(ldev, first_idx)->dev; in mlx5_modify_lag() 766 int first_idx = mlx5_lag_get_dev_index_by_seq(ldev, MLX5_LAG_P1); in mlx5_lag_set_port_sel_mode() local 769 if (first_idx < 0) in mlx5_lag_set_port_sel_mode() 776 dev0 = mlx5_lag_pf(ldev, first_idx)->dev; in mlx5_lag_set_port_sel_mode() 862 int first_idx = mlx5_lag_get_dev_index_by_seq(ldev, MLX5_LAG_P1); in mlx5_create_lag() local 868 if (first_idx < 0) in mlx5_create_lag() 871 dev0 = mlx5_lag_pf(ldev, first_idx)->dev; in mlx5_create_lag()
|
| /linux/arch/powerpc/mm/ |
| H A D | mmu_decl.h | 128 extern void loadcam_multi(int first_idx, int num, int tmp_idx);
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| H A D | restrack.c | 120 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()
|
| /linux/drivers/tty/ |
| H A D | moxa.c | 954 unsigned int i, first_idx; in moxa_init_board() local 1006 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_init_board() 1009 first_idx + i, dev); in moxa_init_board() 1022 unsigned int a, opened, first_idx; in moxa_board_deinit() local 1049 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_board_deinit() 1051 tty_unregister_device(moxaDriver, first_idx + a); in moxa_board_deinit()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_ll2.c | 1382 u8 i, first_idx, last_idx, *p_tx_max; in qed_ll2_acquire_connection() local 1388 _qed_ll2_calc_allowed_conns(p_hwfn, data, &first_idx, &last_idx); in qed_ll2_acquire_connection() 1391 for (i = first_idx; i < last_idx; i++) { in qed_ll2_acquire_connection()
|
| /linux/drivers/net/ethernet/atheros/alx/ |
| H A D | main.c | 1464 int maplen, f, first_idx = txq->write_idx; in alx_map_tx_skb() local 1522 f = first_idx; in alx_map_tx_skb()
|
| /linux/fs/xfs/scrub/ |
| H A D | trace.h | 1167 __field(unsigned long long, first_idx) 1178 __entry->first_idx = si->first_folio_idx; 1183 __entry->first_idx = 0; 1194 __entry->first_idx,
|
| /linux/kernel/locking/ |
| H A D | lockdep.c | 5379 int first_idx = idx; in reacquire_held_locks() local 5397 *merged += (idx == first_idx); in reacquire_held_locks()
|