Home
last modified time | relevance | path

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

12

/drivers/s390/block/
Ddasd_fba.c260 struct bio_vec bv; in dasd_fba_build_cp() local
281 rq_for_each_segment(bv, req, iter) { in dasd_fba_build_cp()
282 if (bv.bv_len & (blksize - 1)) in dasd_fba_build_cp()
285 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_fba_build_cp()
286 if (idal_is_needed (page_address(bv.bv_page), bv.bv_len)) in dasd_fba_build_cp()
287 cidaw += bv.bv_len / blksize; in dasd_fba_build_cp()
322 rq_for_each_segment(bv, req, iter) { in dasd_fba_build_cp()
323 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_fba_build_cp()
328 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_fba_build_cp()
330 dst = copy + bv.bv_offset; in dasd_fba_build_cp()
[all …]
Ddasd_diag.c507 struct bio_vec bv; in dasd_diag_build_cp() local
527 rq_for_each_segment(bv, req, iter) { in dasd_diag_build_cp()
528 if (bv.bv_len & (blksize - 1)) in dasd_diag_build_cp()
531 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_diag_build_cp()
547 rq_for_each_segment(bv, req, iter) { in dasd_diag_build_cp()
548 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_diag_build_cp()
549 for (off = 0; off < bv.bv_len; off += blksize) { in dasd_diag_build_cp()
Dscm_blk_cluster.c138 struct bio_vec bv; in scm_prepare_cluster_request() local
183 rq_for_each_segment(bv, req, iter) { in scm_prepare_cluster_request()
184 aidaw->data_addr = (u64) page_address(bv.bv_page); in scm_prepare_cluster_request()
Ddasd_eckd.c3098 struct bio_vec bv; in dasd_eckd_build_cp_cmd_single() local
3119 rq_for_each_segment(bv, req, iter) { in dasd_eckd_build_cp_cmd_single()
3120 if (bv.bv_len & (blksize - 1)) in dasd_eckd_build_cp_cmd_single()
3123 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_eckd_build_cp_cmd_single()
3124 if (idal_is_needed (page_address(bv.bv_page), bv.bv_len)) in dasd_eckd_build_cp_cmd_single()
3125 cidaw += bv.bv_len >> (block->s2b_shift + 9); in dasd_eckd_build_cp_cmd_single()
3194 rq_for_each_segment(bv, req, iter) { in dasd_eckd_build_cp_cmd_single()
3195 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_build_cp_cmd_single()
3200 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_eckd_build_cp_cmd_single()
3202 dst = copy + bv.bv_offset; in dasd_eckd_build_cp_cmd_single()
[all …]
Dscm_blk.c190 struct bio_vec bv; in scm_request_prepare() local
203 rq_for_each_segment(bv, req, iter) { in scm_request_prepare()
204 WARN_ON(bv.bv_offset); in scm_request_prepare()
205 msb->blk_count += bv.bv_len >> 12; in scm_request_prepare()
206 aidaw->data_addr = (u64) page_address(bv.bv_page); in scm_request_prepare()
/drivers/md/bcache/
Dutil.c248 struct bio_vec *bv = bio->bi_io_vec; in bch_bio_map() local
253 bv->bv_offset = base ? offset_in_page(base) : 0; in bch_bio_map()
256 for (; size; bio->bi_vcnt++, bv++) { in bch_bio_map()
257 bv->bv_offset = 0; in bch_bio_map()
258 start: bv->bv_len = min_t(size_t, PAGE_SIZE - bv->bv_offset, in bch_bio_map()
261 bv->bv_page = is_vmalloc_addr(base) in bch_bio_map()
265 base += bv->bv_len; in bch_bio_map()
268 size -= bv->bv_len; in bch_bio_map()
Ddebug.c110 struct bio_vec bv; in bch_data_verify() local
123 bio_for_each_segment(bv, bio, iter) { in bch_data_verify()
124 void *p1 = kmap_atomic(bv.bv_page); in bch_data_verify()
127 cache_set_err_on(memcmp(p1 + bv.bv_offset, in bch_data_verify()
128 p2 + bv.bv_offset, in bch_data_verify()
129 bv.bv_len), in bch_data_verify()
Drequest.c41 struct bio_vec bv; in bio_csum() local
45 bio_for_each_segment(bv, bio, iter) { in bio_csum()
46 void *d = kmap(bv.bv_page) + bv.bv_offset; in bio_csum()
47 csum = bch_crc64_update(csum, d, bv.bv_len); in bio_csum()
48 kunmap(bv.bv_page); in bio_csum()
Djournal.h153 struct bio_vec bv[8]; member
/drivers/nvdimm/
Dblk.c89 struct bio_vec bv; in nd_blk_rw_integrity() local
92 bv = bvec_iter_bvec(bip->bip_vec, bip->bip_iter); in nd_blk_rw_integrity()
99 cur_len = min(len, bv.bv_len); in nd_blk_rw_integrity()
100 iobuf = kmap_atomic(bv.bv_page); in nd_blk_rw_integrity()
101 err = ndbr->do_io(ndbr, dev_offset, iobuf + bv.bv_offset, in nd_blk_rw_integrity()
Dbtt.c1053 struct bio_vec bv; in btt_rw_integrity() local
1056 bv = bvec_iter_bvec(bip->bip_vec, bip->bip_iter); in btt_rw_integrity()
1063 cur_len = min(len, bv.bv_len); in btt_rw_integrity()
1064 mem = kmap_atomic(bv.bv_page); in btt_rw_integrity()
1067 mem + bv.bv_offset, cur_len); in btt_rw_integrity()
1070 mem + bv.bv_offset, cur_len); in btt_rw_integrity()
/drivers/gpu/drm/i915/
Dintel_tv.c95 u16 rv, gv, bv, av; member
223 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
233 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200,
243 .rv = 0x035a, .gv = 0x0322, .bv = 0x06e1, .av = 0x0200,
253 .rv = 0x0399, .gv = 0x0356, .bv = 0x070a, .av = 0x0200,
263 .rv = 0x0353, .gv = 0x031c, .bv = 0x06dc, .av = 0x0200,
273 .rv = 0x0390, .gv = 0x034f, .bv = 0x0705, .av = 0x0200,
283 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
293 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200,
303 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
[all …]
/drivers/block/zram/
Dzram_drv.c909 struct bio_vec bv; in __zram_make_request() local
911 bv.bv_page = bvec.bv_page; in __zram_make_request()
912 bv.bv_len = max_transfer_size; in __zram_make_request()
913 bv.bv_offset = bvec.bv_offset; in __zram_make_request()
915 if (zram_bvec_rw(zram, &bv, index, offset, in __zram_make_request()
919 bv.bv_len = bvec.bv_len - max_transfer_size; in __zram_make_request()
920 bv.bv_offset += max_transfer_size; in __zram_make_request()
921 if (zram_bvec_rw(zram, &bv, index + 1, 0, in __zram_make_request()
988 struct bio_vec bv; in zram_rw_page() local
1003 bv.bv_page = page; in zram_rw_page()
[all …]
/drivers/media/usb/usbvision/
Dusbvision-core.c492 unsigned char rv, gv, bv; /* RGB components */ in usbvision_parse_lines_422() local
521 YUV_TO_RGB_BY_THE_BOOK(yuyv[0], yuyv[1], yuyv[3], rv, gv, bv); in usbvision_parse_lines_422()
527 (0xF8 & bv); in usbvision_parse_lines_422()
532 *f++ = bv; in usbvision_parse_lines_422()
537 *f++ = bv; in usbvision_parse_lines_422()
544 (0x7C & (bv << 2)); in usbvision_parse_lines_422()
555 YUV_TO_RGB_BY_THE_BOOK(yuyv[2], yuyv[1], yuyv[3], rv, gv, bv); in usbvision_parse_lines_422()
561 (0xF8 & bv); in usbvision_parse_lines_422()
566 *f++ = bv; in usbvision_parse_lines_422()
571 *f++ = bv; in usbvision_parse_lines_422()
[all …]
/drivers/md/
Ddm-log-writes.c551 struct bio_vec bv; in log_writes_map() local
631 bio_for_each_segment(bv, bio, iter) { in log_writes_map()
645 src = kmap_atomic(bv.bv_page); in log_writes_map()
647 memcpy(dst, src + bv.bv_offset, bv.bv_len); in log_writes_map()
651 block->vecs[i].bv_len = bv.bv_len; in log_writes_map()
Ddm-verity-target.c365 struct bio_vec bv = bio_iter_iovec(bio, *iter); in verity_for_bv_block() local
367 page = kmap_atomic(bv.bv_page); in verity_for_bv_block()
368 len = bv.bv_len; in verity_for_bv_block()
373 r = process(v, io, page + bv.bv_offset, len); in verity_for_bv_block()
Ddm-crypt.c1042 struct bio_vec *bv; in crypt_free_buffer_pages() local
1044 bio_for_each_segment_all(bv, clone, i) { in crypt_free_buffer_pages()
1045 BUG_ON(!bv->bv_page); in crypt_free_buffer_pages()
1046 mempool_free(bv->bv_page, cc->page_pool); in crypt_free_buffer_pages()
1047 bv->bv_page = NULL; in crypt_free_buffer_pages()
/drivers/gpu/drm/omapdrm/displays/
Dpanel-sony-acx565akm.c327 int bv; in acx565akm_set_brightness() local
329 bv = level | (1 << 8); in acx565akm_set_brightness()
330 acx565akm_write(ddata, MIPID_CMD_WRITE_DISP_BRIGHTNESS, (u8 *)&bv, 2); in acx565akm_set_brightness()
340 u8 bv; in acx565akm_get_actual_brightness() local
342 acx565akm_read(ddata, MIPID_CMD_READ_DISP_BRIGHTNESS, &bv, 1); in acx565akm_get_actual_brightness()
344 return bv; in acx565akm_get_actual_brightness()
/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-sony-acx565akm.c327 int bv; in acx565akm_set_brightness() local
329 bv = level | (1 << 8); in acx565akm_set_brightness()
330 acx565akm_write(ddata, MIPID_CMD_WRITE_DISP_BRIGHTNESS, (u8 *)&bv, 2); in acx565akm_set_brightness()
340 u8 bv; in acx565akm_get_actual_brightness() local
342 acx565akm_read(ddata, MIPID_CMD_READ_DISP_BRIGHTNESS, &bv, 1); in acx565akm_get_actual_brightness()
344 return bv; in acx565akm_get_actual_brightness()
/drivers/block/aoe/
Daoecmd.c300 struct bio_vec bv; in skb_fillup() local
302 __bio_for_each_segment(bv, bio, iter, iter) in skb_fillup()
303 skb_fill_page_desc(skb, frag++, bv.bv_page, in skb_fillup()
304 bv.bv_offset, bv.bv_len); in skb_fillup()
1050 struct bio_vec bv; in bvcpy() local
1054 __bio_for_each_segment(bv, bio, iter, iter) { in bvcpy()
1055 char *p = page_address(bv.bv_page) + bv.bv_offset; in bvcpy()
1056 skb_copy_bits(skb, soff, p, bv.bv_len); in bvcpy()
1057 soff += bv.bv_len; in bvcpy()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.c370 bool bv; in _rtl_rx_process() local
420 bv = ieee80211_is_probe_resp(fc); in _rtl_rx_process()
421 if (bv) in _rtl_rx_process()
/drivers/block/
Dfloppy.c2368 struct bio_vec bv; in buffer_chain_size() local
2376 rq_for_each_segment(bv, current_req, iter) { in buffer_chain_size()
2377 if (page_address(bv.bv_page) + bv.bv_offset != base + size) in buffer_chain_size()
2380 size += bv.bv_len; in buffer_chain_size()
2406 struct bio_vec bv; in copy_buffer() local
2440 rq_for_each_segment(bv, current_req, iter) { in copy_buffer()
2444 size = bv.bv_len; in copy_buffer()
2447 buffer = page_address(bv.bv_page) + bv.bv_offset; in copy_buffer()
Dps3disk.c132 struct bio_vec bv; in ps3disk_submit_request_sg() local
135 rq_for_each_segment(bv, req, iter) in ps3disk_submit_request_sg()
/drivers/gpu/drm/radeon/
Dni_dpm.h80 u32 bv; member
/drivers/video/fbdev/matrox/
Dmatroxfb_maven.c758 unsigned int a, bv, c; in maven_compute_timming() local
921 DAC1064_calcclock(mt->pixclock, 450000, &a, &bv, &c); in maven_compute_timming()
923 m->regs[0x81] = bv; in maven_compute_timming()

12