Home
last modified time | relevance | path

Searched refs:bv (Results 1 – 25 of 122) sorted by relevance

12345

/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dgen7_renderclear.c52 return bv->max_threads; in num_primitives()
62 bv->max_threads = 70; in batch_get_defaults()
65 bv->max_threads = 140; in batch_get_defaults()
68 bv->max_threads = 280; in batch_get_defaults()
77 bv->max_threads = 36; in batch_get_defaults()
86 bv->state_start = round_up(SZ_1K + num_primitives(bv) * 64, SZ_4K); in batch_get_defaults()
87 bv->surface_start = bv->state_start + SZ_4K; in batch_get_defaults()
88 bv->size = bv->surface_start + bv->surface_height * bv->surface_width; in batch_get_defaults()
179 gen7_fill_surface_state(state, bv->surface_start, bv); in gen7_fill_binding_table()
439 return bv.size; in gen7_setup_clear_gpr_bb()
[all …]
/linux-6.3-rc2/include/linux/
A Dbvec.h47 bv->bv_page = page; in bvec_set_page()
48 bv->bv_len = len; in bvec_set_page()
49 bv->bv_offset = offset; in bvec_set_page()
89 struct bio_vec bv; member
155 bytes -= bv[idx].bv_len; in bvec_iter_advance()
201 return &iter_all->bv; in bvec_init_iter_all()
207 struct bio_vec *bv = &iter_all->bv; in bvec_advance() local
210 bv->bv_page++; in bvec_advance()
211 bv->bv_offset = 0; in bvec_advance()
216 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance()
[all …]
/linux-6.3-rc2/drivers/md/bcache/
A Dutil.c234 struct bio_vec *bv = bio->bi_io_vec; in bch_bio_map() local
242 for (; size; bio->bi_vcnt++, bv++) { in bch_bio_map()
243 bv->bv_offset = 0; in bch_bio_map()
244 start: bv->bv_len = min_t(size_t, PAGE_SIZE - bv->bv_offset, in bch_bio_map()
251 base += bv->bv_len; in bch_bio_map()
254 size -= bv->bv_len; in bch_bio_map()
271 struct bio_vec *bv; in bch_bio_alloc_pages() local
277 for (i = 0, bv = bio->bi_io_vec; i < bio->bi_vcnt; bv++, i++) { in bch_bio_alloc_pages()
279 if (!bv->bv_page) { in bch_bio_alloc_pages()
280 while (--bv >= bio->bi_io_vec) in bch_bio_alloc_pages()
[all …]
A Ddebug.c112 struct bio_vec bv, cbv; in bch_data_verify() local
130 bio_for_each_segment(bv, bio, iter) { in bch_data_verify()
131 void *p1 = bvec_kmap_local(&bv); in bch_data_verify()
137 cache_set_err_on(memcmp(p1, p2, bv.bv_len), in bch_data_verify()
145 bio_advance_iter(check, &citer, bv.bv_len); in bch_data_verify()
/linux-6.3-rc2/arch/parisc/kernel/
A Dentry.S142 bv,n 0(%r3)
760 bv %r0(%r2)
769 bv %r0(%r2)
928 bv %r0(%r20)
957 bv %r0(%r1)
1680 bv %r0(%r2)
1907 bv %r0(%rp)
1975 bv,n (%r1)
2071 bv,n (%r1)
2116 bv %r0(%rp)
[all …]
A Dreal2.S79 bv 0(%r31)
101 bv 0(%rp)
121 bv 0(%r2)
136 bv 0(%r2)
177 bv 0(%r2)
214 bv 0(%r2)
261 bv 0(%r31)
274 bv 0(%rp)
289 bv %r0(%r2)
A Dhpmc.S154 bv (r3) /* call pdce_proc */
169 bv (%r3) /* call pdce_proc */
199 bv (%r3) /* call pdce_proc */
221 bv (%r5)
269 bv (%r3) /* call pdce_proc */
A Dhead.S102 bv,n (%r1)
209 bv,n (%rp)
251 bv (%rp)
264 bv (%r3)
387 bv (%rp)
A Dpacache.S184 bv,n %r0(%r2)
245 bv %r0(%r2)
306 bv %r0(%r2)
369 bv %r0(%r2)
480 bv %r0(%r2)
660 bv %r0(%r2)
728 bv %r0(%r2)
777 bv %r0(%r2)
826 bv %r0(%r2)
885 bv %r0(%r2)
[all …]
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/bpf/
A Dmain.c66 struct nfp_bpf_vnic *bv; in nfp_bpf_vnic_alloc() local
79 bv = kzalloc(sizeof(*bv), GFP_KERNEL); in nfp_bpf_vnic_alloc()
80 if (!bv) in nfp_bpf_vnic_alloc()
82 nn->app_priv = bv; in nfp_bpf_vnic_alloc()
101 WARN_ON(bv->tc_prog); in nfp_bpf_vnic_free()
102 kfree(bv); in nfp_bpf_vnic_free()
111 struct nfp_bpf_vnic *bv; in nfp_bpf_setup_tc_block_cb() local
143 bv = nn->app_priv; in nfp_bpf_setup_tc_block_cb()
185 struct nfp_bpf_vnic *bv; in nfp_bpf_check_mtu() local
194 bv = nn->app_priv; in nfp_bpf_check_mtu()
[all …]
/linux-6.3-rc2/block/
A Dblk-merge.c31 bio_get_first_bvec(bio, bv); in bio_get_last_bvec()
32 if (bv->bv_len == bio->bi_iter.bi_size) in bio_get_last_bvec()
42 *bv = bio->bi_io_vec[idx]; in bio_get_last_bvec()
49 bv->bv_len = iter.bi_bvec_done; in bio_get_last_bvec()
242 bv->bv_offset + total_len); in bvec_split_segs()
296 bv.bv_offset + bv.bv_len <= PAGE_SIZE) { in bio_split_rw()
298 bytes += bv.bv_len; in bio_split_rw()
305 bvprv = bv; in bio_split_rw()
417 struct bio_vec bv; in blk_recalc_rq_segments() local
439 rq_for_each_bvec(bv, rq, iter) in blk_recalc_rq_segments()
[all …]
A Dbio.c168 mempool_free(bv, pool); in bvec_free()
611 struct bio_vec bv; in zero_fill_bio() local
614 bio_for_each_segment(bv, bio, iter) in zero_fill_bio()
615 memzero_bvec(&bv); in zero_fill_bio()
631 struct bio_vec bv; in bio_truncate() local
650 zero_user(bv.bv_page, bv.bv_offset + offset, in bio_truncate()
651 bv.bv_len - offset); in bio_truncate()
654 done += bv.bv_len; in bio_truncate()
910 size_t bv_end = bv->bv_offset + bv->bv_len; in page_is_mergeable()
959 bv->bv_len += len; in __bio_try_merge_page()
[all …]
A Dblk-crypto-fallback.c164 struct bio_vec bv; in blk_crypto_fallback_clone_bio() local
178 bio_for_each_segment(bv, bio_src, iter) in blk_crypto_fallback_clone_bio()
179 bio->bi_io_vec[bio->bi_vcnt++] = bv; in blk_crypto_fallback_clone_bio()
215 struct bio_vec bv; in blk_crypto_fallback_split_bio_if_needed() local
218 bio_for_each_segment(bv, bio, iter) { in blk_crypto_fallback_split_bio_if_needed()
219 num_sectors += bv.bv_len >> SECTOR_SHIFT; in blk_crypto_fallback_split_bio_if_needed()
388 struct bio_vec bv; in blk_crypto_fallback_decrypt_bio() local
417 __bio_for_each_segment(bv, bio, iter, f_ctx->crypt_iter) { in blk_crypto_fallback_decrypt_bio()
418 struct page *page = bv.bv_page; in blk_crypto_fallback_decrypt_bio()
420 sg_set_page(&sg, page, data_unit_size, bv.bv_offset); in blk_crypto_fallback_decrypt_bio()
[all …]
A Dblk-map.c533 struct bio_vec bv; in blk_rq_append_bio() local
536 bio_for_each_bvec(bv, bio, iter) in blk_rq_append_bio()
582 struct bio_vec *bv = &bvecs[i]; in blk_rq_map_user_bvec() local
588 if (bvprvp && bvec_gap_to_prev(lim, bvprvp, bv->bv_offset)) { in blk_rq_map_user_bvec()
593 if (nsegs >= nr_segs || bytes > UINT_MAX - bv->bv_len) in blk_rq_map_user_bvec()
595 if (bytes + bv->bv_len > nr_iter) in blk_rq_map_user_bvec()
597 if (bv->bv_offset + bv->bv_len > PAGE_SIZE) in blk_rq_map_user_bvec()
601 bytes += bv->bv_len; in blk_rq_map_user_bvec()
602 bvprvp = bv; in blk_rq_map_user_bvec()
A Dblk-crypto.c217 struct bio_vec bv; in bio_crypt_check_alignment() local
219 bio_for_each_segment(bv, bio, iter) { in bio_crypt_check_alignment()
220 if (!IS_ALIGNED(bv.bv_len | bv.bv_offset, data_unit_size)) in bio_crypt_check_alignment()
A Dbounce.c144 struct bio_vec bv; in bounce_clone_bio() local
181 bio_for_each_segment(bv, bio_src, iter) in bounce_clone_bio()
182 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bounce_clone_bio()
/linux-6.3-rc2/fs/netfs/
A Diterator.c40 struct bio_vec *bv = NULL; in netfs_extract_user_iter() local
54 bv_size = array_size(max_pages, sizeof(*bv)); in netfs_extract_user_iter()
55 bv = kvmalloc(bv_size, GFP_KERNEL); in netfs_extract_user_iter()
56 if (!bv) in netfs_extract_user_iter()
64 pages = (void *)bv + bv_size - pg_size; in netfs_extract_user_iter()
92 bvec_set_page(bv + npages + i, *pages++, len - offset, offset); in netfs_extract_user_iter()
100 iov_iter_bvec(new, orig->data_source, bv, npages, orig_len - count); in netfs_extract_user_iter()
168 const struct bio_vec *bv = iter->bvec; in netfs_extract_bvec_to_sg() local
177 len = bv[i].bv_len; in netfs_extract_bvec_to_sg()
184 off = bv[i].bv_offset + start; in netfs_extract_bvec_to_sg()
[all …]
/linux-6.3-rc2/drivers/block/
A Dn64cart.c62 static bool n64cart_do_bvec(struct device *dev, struct bio_vec *bv, u32 pos) in n64cart_do_bvec() argument
68 WARN_ON_ONCE((bv->bv_offset & (MIN_ALIGNMENT - 1)) || in n64cart_do_bvec()
69 (bv->bv_len & (MIN_ALIGNMENT - 1))); in n64cart_do_bvec()
71 dma_addr = dma_map_bvec(dev, bv, DMA_FROM_DEVICE, 0); in n64cart_do_bvec()
79 n64cart_write_reg(PI_WRITE_REG, bv->bv_len - 1); in n64cart_do_bvec()
83 dma_unmap_page(dev, dma_addr, bv->bv_len, DMA_FROM_DEVICE); in n64cart_do_bvec()
/linux-6.3-rc2/drivers/s390/block/
A Ddasd_fba.c440 struct bio_vec bv; in dasd_fba_build_cp_regular() local
461 rq_for_each_segment(bv, req, iter) { in dasd_fba_build_cp_regular()
462 if (bv.bv_len & (blksize - 1)) in dasd_fba_build_cp_regular()
466 if (idal_is_needed (page_address(bv.bv_page), bv.bv_len)) in dasd_fba_build_cp_regular()
467 cidaw += bv.bv_len / blksize; in dasd_fba_build_cp_regular()
504 dst = bvec_virt(&bv); in dasd_fba_build_cp_regular()
509 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_fba_build_cp_regular()
511 dst = copy + bv.bv_offset; in dasd_fba_build_cp_regular()
572 struct bio_vec bv; in dasd_fba_free_cp() local
586 dst = bvec_virt(&bv); in dasd_fba_free_cp()
[all …]
/linux-6.3-rc2/drivers/md/
A Ddm-io-rewind.c12 static inline bool dm_bvec_iter_rewind(const struct bio_vec *bv, in dm_bvec_iter_rewind() argument
27 while (idx >= 0 && bytes && bytes > bv[idx].bv_len) { in dm_bvec_iter_rewind()
28 bytes -= bv[idx].bv_len; in dm_bvec_iter_rewind()
41 iter->bi_bvec_done = bv[idx].bv_len - bytes; in dm_bvec_iter_rewind()
A Ddm-ebs-target.c65 static int __ebs_rw_bvec(struct ebs_c *ec, enum req_op op, struct bio_vec *bv, in __ebs_rw_bvec() argument
71 unsigned int bv_len = bv->bv_len; in __ebs_rw_bvec()
76 if (unlikely(!bv->bv_page || !bv_len)) in __ebs_rw_bvec()
79 pa = bvec_virt(bv); in __ebs_rw_bvec()
102 flush_dcache_page(bv->bv_page); in __ebs_rw_bvec()
104 flush_dcache_page(bv->bv_page); in __ebs_rw_bvec()
125 struct bio_vec bv; in __ebs_rw_bio() local
128 bio_for_each_bvec(bv, bio, iter) { in __ebs_rw_bio()
129 rr = __ebs_rw_bvec(ec, op, &bv, &iter); in __ebs_rw_bio()
/linux-6.3-rc2/fs/btrfs/
A Dbio.c152 struct bio_vec *bv = bio_first_bvec_all(&repair_bbio->bio); in btrfs_end_repair_bio() local
156 !btrfs_data_csum_ok(repair_bbio, dev, 0, bv)) { in btrfs_end_repair_bio()
176 bv->bv_page, bv->bv_offset, mirror); in btrfs_end_repair_bio()
193 struct bio_vec *bv, in repair_one_sector() argument
227 bio_add_page(repair_bio, bv->bv_page, bv->bv_len, bv->bv_offset); in repair_one_sector()
262 struct bio_vec bv = bio_iter_iovec(&bbio->bio, *iter); in btrfs_check_read_bio() local
264 bv.bv_len = min(bv.bv_len, sectorsize); in btrfs_check_read_bio()
265 if (status || !btrfs_data_csum_ok(bbio, dev, offset, &bv)) in btrfs_check_read_bio()
266 fbio = repair_one_sector(bbio, offset, &bv, fbio); in btrfs_check_read_bio()
/linux-6.3-rc2/net/ceph/
A Dmessenger_v2.c144 struct bio_vec bv; in do_try_sendpage() local
168 bv.bv_offset, bv.bv_len, in do_try_sendpage()
171 iov_iter_bvec(&msg.msg_iter, ITER_SOURCE, &bv, 1, bv.bv_len); in do_try_sendpage()
889 struct bio_vec bv; in calc_sg_cnt_cursor() local
941 struct bio_vec bv; in init_sgs_cursor() local
948 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in init_sgs_cursor()
1754 struct bio_vec bv; in prepare_read_data() local
1771 bv.bv_offset = 0; in prepare_read_data()
1780 struct bio_vec bv; in prepare_read_data_cont() local
1788 memcpy_to_page(bv.bv_page, bv.bv_offset, in prepare_read_data_cont()
[all …]
/linux-6.3-rc2/arch/parisc/boot/compressed/
A Dhead.S71 bv,n 0(%r3)
84 bv,n 0(%ret0)
/linux-6.3-rc2/drivers/gpu/drm/panel/
A Dpanel-sony-acx565akm.c271 u8 bv; in acx565akm_get_actual_brightness() local
273 acx565akm_read(lcd, MIPI_DCS_GET_DISPLAY_BRIGHTNESS, &bv, 1); in acx565akm_get_actual_brightness()
275 return bv; in acx565akm_get_actual_brightness()
281 int bv; in acx565akm_set_brightness() local
283 bv = level | (1 << 8); in acx565akm_set_brightness()
284 acx565akm_write(lcd, MIPI_DCS_SET_DISPLAY_BRIGHTNESS, (u8 *)&bv, 2); in acx565akm_set_brightness()

Completed in 55 milliseconds

12345