Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/nilfs2/
Dsegbuf.c340 struct nilfs_write_info *wi, int mode, in nilfs_segbuf_submit_bio() argument
343 struct bio *bio = wi->bio; in nilfs_segbuf_submit_bio()
363 wi->bio = NULL; in nilfs_segbuf_submit_bio()
364 wi->rest_blocks -= wi->end - wi->start; in nilfs_segbuf_submit_bio()
365 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_submit_bio()
366 wi->start = wi->end; in nilfs_segbuf_submit_bio()
370 wi->bio = NULL; in nilfs_segbuf_submit_bio()
402 struct nilfs_write_info *wi) in nilfs_segbuf_prepare_write() argument
404 wi->bio = NULL; in nilfs_segbuf_prepare_write()
405 wi->rest_blocks = segbuf->sb_sum.nblocks; in nilfs_segbuf_prepare_write()
[all …]
/kernel/linux/linux-5.10/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()
46 struct mlx5e_tx_wqe_info *wi, in mlx5e_ktls_tx_try_handle_resync_dump_comp() argument
Dktls_rx.c129 struct mlx5e_icosq_wqe_info *wi) in icosq_fill_wi() argument
131 sq->db.wqe_info[pi] = *wi; in icosq_fill_wi()
139 struct mlx5e_icosq_wqe_info wi; in post_static_params() local
153 wi = (struct mlx5e_icosq_wqe_info) { in post_static_params()
158 icosq_fill_wi(sq, pi, &wi); in post_static_params()
170 struct mlx5e_icosq_wqe_info wi; in post_progress_params() local
183 wi = (struct mlx5e_icosq_wqe_info) { in post_progress_params()
189 icosq_fill_wi(sq, pi, &wi); in post_progress_params()
256 struct mlx5e_icosq_wqe_info wi; in resync_post_get_progress_params() local
307 wi = (struct mlx5e_icosq_wqe_info) { in resync_post_get_progress_params()
[all …]
Dktls_tx.c142 struct mlx5e_tx_wqe_info *wi = &sq->db.wqe_info[pi]; in tx_fill_wi() local
144 *wi = (struct mlx5e_tx_wqe_info) { in tx_fill_wi()
341 struct mlx5e_tx_wqe_info *wi, in mlx5e_ktls_tx_handle_resync_dump_comp() argument
351 put_page(wi->resync_dump_frag_page); in mlx5e_ktls_tx_handle_resync_dump_comp()
353 stats->tls_dump_bytes += wi->num_bytes; in mlx5e_ktls_tx_handle_resync_dump_comp()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c382 struct mlx5e_tx_wqe_info *wi, struct mlx5_wqe_ctrl_seg *cseg, in mlx5e_txwqe_complete() argument
388 *wi = (struct mlx5e_tx_wqe_info) { in mlx5e_txwqe_complete()
401 sq->pc += wi->num_wqebbs; in mlx5e_txwqe_complete()
418 struct mlx5e_tx_wqe_info *wi; in mlx5e_sq_xmit_wqe() local
426 wi = &sq->db.wqe_info[pi]; in mlx5e_sq_xmit_wqe()
457 mlx5e_txwqe_complete(sq, skb, attr, wqe_attr, num_dma, wi, cseg, xmit_more); in mlx5e_sq_xmit_wqe()
532 struct mlx5e_tx_wqe_info *wi; in mlx5e_tx_mpwqe_session_complete() local
540 wi = &sq->db.wqe_info[pi]; in mlx5e_tx_mpwqe_session_complete()
541 *wi = (struct mlx5e_tx_wqe_info) { in mlx5e_tx_mpwqe_session_complete()
549 sq->pc += wi->num_wqebbs; in mlx5e_tx_mpwqe_session_complete()
[all …]
Den_rx.c58 mlx5e_skb_from_cqe_mpwrq_linear(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
61 mlx5e_skb_from_cqe_mpwrq_nonlinear(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
391 struct mlx5e_wqe_frag_info *wi, in mlx5e_free_rx_wqe() argument
396 for (i = 0; i < rq->wqe.info.num_frags; i++, wi++) in mlx5e_free_rx_wqe()
397 mlx5e_put_rx_frag(rq, wi, recycle); in mlx5e_free_rx_wqe()
402 struct mlx5e_wqe_frag_info *wi = get_frag(rq, ix); in mlx5e_dealloc_rx_wqe() local
404 mlx5e_free_rx_wqe(rq, wi, false); in mlx5e_dealloc_rx_wqe()
469 mlx5e_free_rx_mpwqe(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi, bool recycle) in mlx5e_free_rx_mpwqe() argument
472 struct mlx5e_dma_info *dma_info = wi->umr.dma_info; in mlx5e_free_rx_mpwqe()
476 if (bitmap_full(wi->xdp_xmit_bitmap, MLX5_MPWRQ_PAGES_PER_WQE)) in mlx5e_free_rx_mpwqe()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c174 struct mlx5e_xdp_wqe_info *wi, *edge_wi; in mlx5e_xdpsq_get_next_pi() local
176 wi = &sq->db.wqe_info[pi]; in mlx5e_xdpsq_get_next_pi()
177 edge_wi = wi + contig_wqebbs; in mlx5e_xdpsq_get_next_pi()
180 for (; wi < edge_wi; wi++) { in mlx5e_xdpsq_get_next_pi()
181 *wi = (struct mlx5e_xdp_wqe_info) { in mlx5e_xdpsq_get_next_pi()
224 struct mlx5e_xdp_wqe_info *wi = &sq->db.wqe_info[pi]; in mlx5e_xdp_mpwqe_complete() local
230 wi->num_wqebbs = DIV_ROUND_UP(ds_count, MLX5_SEND_WQEBB_NUM_DS); in mlx5e_xdp_mpwqe_complete()
231 wi->num_pkts = session->pkt_count; in mlx5e_xdp_mpwqe_complete()
233 sq->pc += wi->num_wqebbs; in mlx5e_xdp_mpwqe_complete()
367 struct mlx5e_xdp_wqe_info *wi, in mlx5e_free_xdpsq_desc() argument
[all …]
Dtxrx.h140 struct mlx5e_tx_wqe_info *wi, *edge_wi; in mlx5e_txqsq_get_next_pi() local
142 wi = &sq->db.wqe_info[pi]; in mlx5e_txqsq_get_next_pi()
143 edge_wi = wi + contig_wqebbs; in mlx5e_txqsq_get_next_pi()
146 for (; wi < edge_wi; wi++) { in mlx5e_txqsq_get_next_pi()
147 *wi = (struct mlx5e_tx_wqe_info) { in mlx5e_txqsq_get_next_pi()
190 struct mlx5e_icosq_wqe_info *wi, *edge_wi; in mlx5e_icosq_get_next_pi() local
192 wi = &sq->db.wqe_info[pi]; in mlx5e_icosq_get_next_pi()
193 edge_wi = wi + contig_wqebbs; in mlx5e_icosq_get_next_pi()
196 for (; wi < edge_wi; wi++) { in mlx5e_icosq_get_next_pi()
197 *wi = (struct mlx5e_icosq_wqe_info) { in mlx5e_icosq_get_next_pi()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c27 struct mlx5e_mpw_info *wi, in mlx5e_xsk_skb_from_cqe_mpwrq_linear() argument
32 struct xdp_buff *xdp = wi->umr.dma_info[page_idx].xsk; in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
70 __set_bit(page_idx, wi->xdp_xmit_bitmap); /* non-atomic */ in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
82 struct mlx5e_wqe_frag_info *wi, in mlx5e_xsk_skb_from_cqe_linear() argument
85 struct xdp_buff *xdp = wi->di->xsk; in mlx5e_xsk_skb_from_cqe_linear()
92 WARN_ON_ONCE(wi->offset); in mlx5e_xsk_skb_from_cqe_linear()
Dtx.c56 struct mlx5e_xdp_wqe_info *wi = &sq->db.wqe_info[pi]; in mlx5e_xsk_tx_post_err() local
59 wi->num_wqebbs = 1; in mlx5e_xsk_tx_post_err()
60 wi->num_pkts = 1; in mlx5e_xsk_tx_post_err()
Drx.h13 struct mlx5e_mpw_info *wi,
19 struct mlx5e_wqe_frag_info *wi,
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dleo.c452 struct fb_wid_item *wi; in leo_wid_put() local
461 for (i = 0, wi = wl->wl_list; i < wl->wl_count; i++, wi++) { in leo_wid_put()
462 switch (wi->wi_type) { in leo_wid_put()
464 j = (wi->wi_index & 0xf) + 0x40; in leo_wid_put()
468 j = wi->wi_index & 0x3f; in leo_wid_put()
475 sbus_writel(wi->wi_values[0], &lx_krn->krn_value); in leo_wid_put()
488 struct fb_wid_item wi; in leo_init_wids() local
492 wl.wl_list = &wi; in leo_init_wids()
493 wi.wi_type = FB_WID_DBL_8; in leo_init_wids()
494 wi.wi_index = 0; in leo_init_wids()
[all …]
/kernel/linux/linux-5.10/arch/mips/mm/
Dinit.c279 struct maar_walk_info *wi = data; in maar_res_walk() local
280 struct maar_config *cfg = &wi->cfg[wi->num_cfg]; in maar_res_walk()
292 if (!WARN_ON(wi->num_cfg >= ARRAY_SIZE(wi->cfg))) in maar_res_walk()
293 wi->num_cfg++; in maar_res_walk()
302 struct maar_walk_info wi; in platform_maar_init() local
304 wi.num_cfg = 0; in platform_maar_init()
305 walk_system_ram_range(0, max_pfn, &wi, maar_res_walk); in platform_maar_init()
307 num_configured = maar_config(wi.cfg, wi.num_cfg, num_pairs); in platform_maar_init()
308 if (num_configured < wi.num_cfg) in platform_maar_init()
310 num_pairs, wi.num_cfg); in platform_maar_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-array.c857 struct walk_info *wi = context; in walk_ablock() local
867 r = get_ablock(wi->info, le64_to_cpu(block_le), &block, &ab); in walk_ablock()
874 r = wi->fn(wi->context, keys[0] * max_entries + i, in walk_ablock()
875 element_at(wi->info, ab, i)); in walk_ablock()
881 unlock_ablock(wi->info, block); in walk_ablock()
889 struct walk_info wi; in dm_array_walk() local
891 wi.info = info; in dm_array_walk()
892 wi.fn = fn; in dm_array_walk()
893 wi.context = context; in dm_array_walk()
895 return dm_btree_walk(&info->btree_info, root, walk_ablock, &wi); in dm_array_walk()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Daudio_topology.c431 int ret, wi, max, connect; in gbcodec_mixer_dapm_ctl_put() local
473 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_mixer_dapm_ctl_put()
474 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put()
763 int ret, wi, ctl_id; in gbcodec_enum_dapm_ctl_put() local
843 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_enum_dapm_ctl_put()
844 widget = wlist->widgets[wi]; in gbcodec_enum_dapm_ctl_put()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfi_enet.h100 } __packed wi; member
104 #define wi_hdr wi.base
105 #define wi_ext_hdr wi.ext
Dbnad.c2819 txqent->hdr.wi.vlan_tag = htons(vlan_tag); in bnad_txq_wi_prepare()
2829 txqent->hdr.wi.opcode = htons(BNA_TXQ_WI_SEND); in bnad_txq_wi_prepare()
2830 txqent->hdr.wi.lso_mss = 0; in bnad_txq_wi_prepare()
2833 txqent->hdr.wi.opcode = htons(BNA_TXQ_WI_SEND_LSO); in bnad_txq_wi_prepare()
2834 txqent->hdr.wi.lso_mss = htons(gso_size); in bnad_txq_wi_prepare()
2843 txqent->hdr.wi.l4_hdr_size_n_offset = in bnad_txq_wi_prepare()
2847 txqent->hdr.wi.opcode = htons(BNA_TXQ_WI_SEND); in bnad_txq_wi_prepare()
2848 txqent->hdr.wi.lso_mss = 0; in bnad_txq_wi_prepare()
2869 txqent->hdr.wi.l4_hdr_size_n_offset = in bnad_txq_wi_prepare()
2883 txqent->hdr.wi.l4_hdr_size_n_offset = in bnad_txq_wi_prepare()
[all …]
Dbna_hw_defs.h373 } wi; member
/kernel/linux/linux-5.10/arch/s390/kernel/vdso64/
Dvdso64.lds.S80 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
/kernel/linux/linux-5.10/arch/powerpc/kernel/vdso32/
Dvdso32.lds.S97 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
/kernel/linux/linux-5.10/arch/powerpc/kernel/vdso64/
Dvdso64.lds.S96 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
/kernel/linux/linux-5.10/include/linux/
Dhp_sdc.h274 uint8_t wi; /* current i8042 write index */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddispc.c2792 const struct omap_dss_writeback_info *wi, in dispc_wb_setup() argument
2812 "rot %d\n", wi->paddr, wi->p_uv_addr, in_width, in dispc_wb_setup()
2813 in_height, wi->width, wi->height, wi->fourcc, wi->rotation); in dispc_wb_setup()
2815 r = dispc_ovl_setup_common(dispc, plane, caps, wi->paddr, wi->p_uv_addr, in dispc_wb_setup()
2816 wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width, in dispc_wb_setup()
2817 wi->height, wi->fourcc, wi->rotation, zorder, in dispc_wb_setup()
2818 wi->pre_mult_alpha, global_alpha, wi->rotation_type, in dispc_wb_setup()
2823 switch (wi->fourcc) { in dispc_wb_setup()
/kernel/linux/linux-5.10/drivers/acpi/
Dec.c158 u8 wi; member
670 if (t->wlen > t->wi) { in advance_transaction()
672 acpi_ec_write_data(ec, t->wdata[t->wi++]); in advance_transaction()
687 } else if (t->wlen == t->wi && in advance_transaction()
721 ec->curr->irq_count = ec->curr->wi = ec->curr->ri = 0; in start_transaction()

12