Home
last modified time | relevance | path

Searched refs:wi (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.12.1/fs/nilfs2/ !
Dsegbuf.c346 struct nilfs_write_info *wi) in nilfs_segbuf_submit_bio() argument
348 struct bio *bio = wi->bio; in nilfs_segbuf_submit_bio()
355 wi->bio = NULL; in nilfs_segbuf_submit_bio()
356 wi->rest_blocks -= wi->end - wi->start; in nilfs_segbuf_submit_bio()
357 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_submit_bio()
358 wi->start = wi->end; in nilfs_segbuf_submit_bio()
363 struct nilfs_write_info *wi) in nilfs_segbuf_prepare_write() argument
365 wi->bio = NULL; in nilfs_segbuf_prepare_write()
366 wi->rest_blocks = segbuf->sb_sum.nblocks; in nilfs_segbuf_prepare_write()
367 wi->max_pages = BIO_MAX_VECS; in nilfs_segbuf_prepare_write()
[all …]
/linux-6.12.1/arch/arm64/kvm/ !
Dat.c60 static int get_ia_size(struct s1_walk_info *wi) in get_ia_size() argument
62 return 64 - wi->txsz; in get_ia_size()
66 static bool check_output_size(u64 ipa, struct s1_walk_info *wi) in check_output_size() argument
68 return wi->max_oa_bits < 48 && (ipa & GENMASK_ULL(47, wi->max_oa_bits)); in check_output_size()
90 static int setup_s1_walk(struct kvm_vcpu *vcpu, u32 op, struct s1_walk_info *wi, in setup_s1_walk() argument
99 wi->regime = compute_translation_regime(vcpu, op); in setup_s1_walk()
104 if (wi->regime == TR_EL2 && va55) in setup_s1_walk()
107 wi->s2 = wi->regime == TR_EL10 && (hcr & (HCR_VM | HCR_DC)); in setup_s1_walk()
109 switch (wi->regime) { in setup_s1_walk()
129 tbi = (wi->regime == TR_EL2 ? in setup_s1_walk()
[all …]
Dnested.c119 static int get_ia_size(struct s2_walk_info *wi) in get_ia_size() argument
121 return 64 - wi->t0sz; in get_ia_size()
124 static int check_base_s2_limits(struct s2_walk_info *wi, in check_base_s2_limits() argument
129 ia_size = get_ia_size(wi); in check_base_s2_limits()
132 switch (BIT(wi->pgshift)) { in check_base_s2_limits()
152 start_size = input_size - ((3 - level) * stride + wi->pgshift); in check_base_s2_limits()
160 static int check_output_size(struct s2_walk_info *wi, phys_addr_t output) in check_output_size() argument
162 unsigned int output_size = wi->max_oa_bits; in check_output_size()
178 struct s2_walk_info *wi, struct kvm_s2_trans *out) in walk_nested_s2_pgd() argument
187 switch (BIT(wi->pgshift)) { in walk_nested_s2_pgd()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ !
Den_tx.c356 struct mlx5e_tx_wqe_info *wi; in mlx5e_tx_flush() local
364 wi = &sq->db.wqe_info[pi]; in mlx5e_tx_flush()
366 *wi = (struct mlx5e_tx_wqe_info) { in mlx5e_tx_flush()
378 struct mlx5e_tx_wqe_info *wi, struct mlx5_wqe_ctrl_seg *cseg, in mlx5e_txwqe_complete() argument
384 *wi = (struct mlx5e_tx_wqe_info) { in mlx5e_txwqe_complete()
397 sq->pc += wi->num_wqebbs; in mlx5e_txwqe_complete()
434 struct mlx5e_tx_wqe_info *wi; in mlx5e_sq_xmit_wqe() local
443 wi = &sq->db.wqe_info[pi]; in mlx5e_sq_xmit_wqe()
499 mlx5e_txwqe_complete(sq, skb, attr, wqe_attr, num_dma, wi, cseg, eseg, xmit_more); in mlx5e_sq_xmit_wqe()
575 struct mlx5e_tx_wqe_info *wi; in mlx5e_tx_mpwqe_session_complete() local
[all …]
Den_rx.c64 mlx5e_skb_from_cqe_mpwrq_linear(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
68 mlx5e_skb_from_cqe_mpwrq_nonlinear(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
375 struct mlx5e_wqe_frag_info *wi) in mlx5e_free_rx_wqe() argument
379 for (i = 0; i < rq->wqe.info.num_frags; i++, wi++) in mlx5e_free_rx_wqe()
380 mlx5e_put_rx_frag(rq, wi); in mlx5e_free_rx_wqe()
383 static void mlx5e_xsk_free_rx_wqe(struct mlx5e_wqe_frag_info *wi) in mlx5e_xsk_free_rx_wqe() argument
385 if (!(wi->flags & BIT(MLX5E_WQE_FRAG_SKIP_RELEASE))) in mlx5e_xsk_free_rx_wqe()
386 xsk_buff_free(*wi->xskp); in mlx5e_xsk_free_rx_wqe()
391 struct mlx5e_wqe_frag_info *wi = get_frag(rq, ix); in mlx5e_dealloc_rx_wqe() local
394 mlx5e_xsk_free_rx_wqe(wi); in mlx5e_dealloc_rx_wqe()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ !
Dktls_txrx.h25 void mlx5e_ktls_handle_ctx_completion(struct mlx5e_icosq_wqe_info *wi);
26 void mlx5e_ktls_handle_get_psv_completion(struct mlx5e_icosq_wqe_info *wi,
30 struct mlx5e_tx_wqe_info *wi,
34 struct mlx5e_tx_wqe_info *wi, in mlx5e_ktls_tx_try_handle_resync_dump_comp() argument
37 if (unlikely(wi->resync_dump_frag_page)) { in mlx5e_ktls_tx_try_handle_resync_dump_comp()
38 mlx5e_ktls_tx_handle_resync_dump_comp(sq, wi, dma_fifo_cc); in mlx5e_ktls_tx_try_handle_resync_dump_comp()
61 struct mlx5e_tx_wqe_info *wi, in mlx5e_ktls_tx_try_handle_resync_dump_comp() argument
Dktls_rx.c130 struct mlx5e_icosq_wqe_info *wi) in icosq_fill_wi() argument
132 sq->db.wqe_info[pi] = *wi; in icosq_fill_wi()
140 struct mlx5e_icosq_wqe_info wi; in post_static_params() local
154 wi = (struct mlx5e_icosq_wqe_info) { in post_static_params()
159 icosq_fill_wi(sq, pi, &wi); in post_static_params()
171 struct mlx5e_icosq_wqe_info wi; in post_progress_params() local
184 wi = (struct mlx5e_icosq_wqe_info) { in post_progress_params()
190 icosq_fill_wi(sq, pi, &wi); in post_progress_params()
257 struct mlx5e_icosq_wqe_info wi; in resync_post_get_progress_params() local
306 wi = (struct mlx5e_icosq_wqe_info) { in resync_post_get_progress_params()
[all …]
Dktls_tx.c529 struct mlx5e_tx_wqe_info *wi = &sq->db.wqe_info[pi]; in tx_fill_wi() local
531 *wi = (struct mlx5e_tx_wqe_info) { in tx_fill_wi()
756 struct mlx5e_tx_wqe_info *wi, in mlx5e_ktls_tx_handle_resync_dump_comp() argument
766 page_ref_dec(wi->resync_dump_frag_page); in mlx5e_ktls_tx_handle_resync_dump_comp()
768 stats->tls_dump_bytes += wi->num_bytes; in mlx5e_ktls_tx_handle_resync_dump_comp()
/linux-6.12.1/drivers/video/fbdev/ !
Dleo.c446 struct fb_wid_item *wi; in leo_wid_put() local
455 for (i = 0, wi = wl->wl_list; i < wl->wl_count; i++, wi++) { in leo_wid_put()
456 switch (wi->wi_type) { in leo_wid_put()
458 j = (wi->wi_index & 0xf) + 0x40; in leo_wid_put()
462 j = wi->wi_index & 0x3f; in leo_wid_put()
469 sbus_writel(wi->wi_values[0], &lx_krn->krn_value); in leo_wid_put()
482 struct fb_wid_item wi; in leo_init_wids() local
486 wl.wl_list = &wi; in leo_init_wids()
487 wi.wi_type = FB_WID_DBL_8; in leo_init_wids()
488 wi.wi_index = 0; in leo_init_wids()
[all …]
/linux-6.12.1/arch/mips/mm/ !
Dinit.c285 struct maar_walk_info *wi = data; in maar_res_walk() local
286 struct maar_config *cfg = &wi->cfg[wi->num_cfg]; in maar_res_walk()
298 if (!WARN_ON(wi->num_cfg >= ARRAY_SIZE(wi->cfg))) in maar_res_walk()
299 wi->num_cfg++; in maar_res_walk()
308 struct maar_walk_info wi; in platform_maar_init() local
310 wi.num_cfg = 0; in platform_maar_init()
311 walk_system_ram_range(0, max_pfn, &wi, maar_res_walk); in platform_maar_init()
313 num_configured = maar_config(wi.cfg, wi.num_cfg, num_pairs); in platform_maar_init()
314 if (num_configured < wi.num_cfg) in platform_maar_init()
316 num_pairs, wi.num_cfg); in platform_maar_init()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ !
Drx.c21 struct mlx5e_mpw_info *wi = mlx5e_get_mpw_info(rq, ix); in mlx5e_xsk_alloc_rx_mpwqe() local
34 xsk_buffs = (struct xdp_buff **)wi->alloc_units.xsk_buffs; in mlx5e_xsk_alloc_rx_mpwqe()
123 bitmap_zero(wi->skip_release_bitmap, rq->mpwqe.pages_per_wqe); in mlx5e_xsk_alloc_rx_mpwqe()
124 wi->consumed_strides = 0; in mlx5e_xsk_alloc_rx_mpwqe()
248 struct mlx5e_mpw_info *wi, in mlx5e_xsk_skb_from_cqe_mpwrq_linear() argument
254 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(wi->alloc_units.xsk_buffs[page_idx]); in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
294 __set_bit(page_idx, wi->skip_release_bitmap); /* non-atomic */ in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
305 struct mlx5e_wqe_frag_info *wi, in mlx5e_xsk_skb_from_cqe_linear() argument
309 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(*wi->xskp); in mlx5e_xsk_skb_from_cqe_linear()
317 WARN_ON_ONCE(wi->offset); in mlx5e_xsk_skb_from_cqe_linear()
[all …]
Drx.h15 struct mlx5e_mpw_info *wi,
21 struct mlx5e_wqe_frag_info *wi,
Dtx.c50 struct mlx5e_xdp_wqe_info *wi = &sq->db.wqe_info[pi]; in mlx5e_xsk_tx_post_err() local
53 wi->num_wqebbs = 1; in mlx5e_xsk_tx_post_err()
54 wi->num_pkts = 1; in mlx5e_xsk_tx_post_err()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ !
Dxdp.c357 struct mlx5e_xdp_wqe_info *wi, *edge_wi; in mlx5e_xdpsq_get_next_pi() local
359 wi = &sq->db.wqe_info[pi]; in mlx5e_xdpsq_get_next_pi()
360 edge_wi = wi + contig_wqebbs; in mlx5e_xdpsq_get_next_pi()
363 for (; wi < edge_wi; wi++) { in mlx5e_xdpsq_get_next_pi()
364 *wi = (struct mlx5e_xdp_wqe_info) { in mlx5e_xdpsq_get_next_pi()
407 struct mlx5e_xdp_wqe_info *wi = &sq->db.wqe_info[pi]; in mlx5e_xdp_mpwqe_complete() local
413 wi->num_wqebbs = DIV_ROUND_UP(ds_count, MLX5_SEND_WQEBB_NUM_DS); in mlx5e_xdp_mpwqe_complete()
414 wi->num_pkts = session->pkt_count; in mlx5e_xdp_mpwqe_complete()
416 sq->pc += wi->num_wqebbs; in mlx5e_xdp_mpwqe_complete()
660 struct mlx5e_xdp_wqe_info *wi, in mlx5e_free_xdpsq_desc() argument
[all …]
Dtxrx.h197 struct mlx5e_tx_wqe_info *wi, *edge_wi; in mlx5e_txqsq_get_next_pi() local
199 wi = &sq->db.wqe_info[pi]; in mlx5e_txqsq_get_next_pi()
200 edge_wi = wi + contig_wqebbs; in mlx5e_txqsq_get_next_pi()
203 for (; wi < edge_wi; wi++) { in mlx5e_txqsq_get_next_pi()
204 *wi = (struct mlx5e_tx_wqe_info) { in mlx5e_txqsq_get_next_pi()
259 struct mlx5e_icosq_wqe_info *wi, *edge_wi; in mlx5e_icosq_get_next_pi() local
261 wi = &sq->db.wqe_info[pi]; in mlx5e_icosq_get_next_pi()
262 edge_wi = wi + contig_wqebbs; in mlx5e_icosq_get_next_pi()
265 for (; wi < edge_wi; wi++) { in mlx5e_icosq_get_next_pi()
266 *wi = (struct mlx5e_icosq_wqe_info) { in mlx5e_icosq_get_next_pi()
/linux-6.12.1/drivers/md/persistent-data/ !
Ddm-array.c867 struct walk_info *wi = context; in walk_ablock() local
877 r = get_ablock(wi->info, le64_to_cpu(block_le), &block, &ab); in walk_ablock()
884 r = wi->fn(wi->context, keys[0] * max_entries + i, in walk_ablock()
885 element_at(wi->info, ab, i)); in walk_ablock()
891 unlock_ablock(wi->info, block); in walk_ablock()
899 struct walk_info wi; in dm_array_walk() local
901 wi.info = info; in dm_array_walk()
902 wi.fn = fn; in dm_array_walk()
903 wi.context = context; in dm_array_walk()
905 return dm_btree_walk(&info->btree_info, root, walk_ablock, &wi); in dm_array_walk()
/linux-6.12.1/drivers/input/serio/ !
Dhp_sdc.c140 hp_sdc.wi = 0xff; in hp_sdc_status_out8()
491 if (hp_sdc.wi > 0x73 || hp_sdc.wi < 0x70 || in hp_sdc_put()
492 w7[hp_sdc.wi - 0x70] == hp_sdc.r7[hp_sdc.wi - 0x70]) { in hp_sdc_put()
501 hp_sdc.wi = 0x70 + i; in hp_sdc_put()
514 hp_sdc_data_out8(w7[hp_sdc.wi - 0x70]); in hp_sdc_put()
515 hp_sdc.r7[hp_sdc.wi - 0x70] = w7[hp_sdc.wi - 0x70]; in hp_sdc_put()
516 hp_sdc.wi++; /* write index register autoincrements */ in hp_sdc_put()
846 hp_sdc.wi = 0xff; in hp_sdc_init()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ !
Dmt792x_core.c448 struct mt76_ethtool_worker_info *wi = wi_data; in mt792x_ethtool_worker() local
450 if (msta->vif->bss_conf.mt76.idx != wi->idx) in mt792x_ethtool_worker()
453 mt76_ethtool_worker(wi, &msta->deflink.wcid.stats, true); in mt792x_ethtool_worker()
464 struct mt76_ethtool_worker_info wi = { in mt792x_get_et_stats() local
507 wi.initial_stat_idx = ei; in mt792x_get_et_stats()
508 ieee80211_iterate_stations_atomic(hw, mt792x_ethtool_worker, &wi); in mt792x_get_et_stats()
512 if (!wi.sta_count) in mt792x_get_et_stats()
515 ei += wi.worker_stat_count; in mt792x_get_et_stats()
/linux-6.12.1/drivers/staging/greybus/ !
Daudio_topology.c424 int ret, wi, max, connect; in gbcodec_mixer_dapm_ctl_put() local
466 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_mixer_dapm_ctl_put()
467 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put()
756 int ret, wi, ctl_id; in gbcodec_enum_dapm_ctl_put() local
833 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_enum_dapm_ctl_put()
834 widget = wlist->widgets[wi]; in gbcodec_enum_dapm_ctl_put()
/linux-6.12.1/arch/arm64/include/asm/ !
Dkvm_nested.h211 #define contiguous_bit_shift(d, wi, l) \ argument
216 switch (BIT((wi)->pgshift)) { \
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ !
Doctep_vf_main.c609 u16 q_no, wi; in octep_vf_start_xmit() local
625 wi = iq->host_write_index; in octep_vf_start_xmit()
626 hw_desc = &iq->desc_ring[wi]; in octep_vf_start_xmit()
629 tx_buffer = iq->buff_info + wi; in octep_vf_start_xmit()
701 wi++; in octep_vf_start_xmit()
702 iq->host_write_index = wi & iq->ring_size_mask; in octep_vf_start_xmit()
/linux-6.12.1/tools/perf/tests/shell/base_probe/ !
Dtest_adding_blacklisted.sh64 readelf -wi "$VMLINUX_FILE" |
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/ !
Dmain.c1257 struct mt76_ethtool_worker_info *wi = wi_data; in mt7996_ethtool_worker() local
1260 if (msta->vif->mt76.idx != wi->idx) in mt7996_ethtool_worker()
1263 mt76_ethtool_worker(wi, &msta->wcid.stats, true); in mt7996_ethtool_worker()
1275 struct mt76_ethtool_worker_info wi = { in mt7996_get_et_stats() local
1344 wi.initial_stat_idx = ei; in mt7996_get_et_stats()
1345 ieee80211_iterate_stations_atomic(hw, mt7996_ethtool_worker, &wi); in mt7996_get_et_stats()
1349 if (wi.sta_count == 0) in mt7996_get_et_stats()
1352 ei += wi.worker_stat_count; in mt7996_get_et_stats()
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/ !
Doctep_main.c855 u16 q_no, wi; in octep_start_xmit() local
871 wi = iq->host_write_index; in octep_start_xmit()
872 hw_desc = &iq->desc_ring[wi]; in octep_start_xmit()
875 tx_buffer = iq->buff_info + wi; in octep_start_xmit()
947 wi++; in octep_start_xmit()
948 iq->host_write_index = wi & iq->ring_size_mask; in octep_start_xmit()
/linux-6.12.1/drivers/net/ethernet/brocade/bna/ !
Dbfi_enet.h100 } __packed wi; member
104 #define wi_hdr wi.base
105 #define wi_ext_hdr wi.ext

12