/linux-6.1.9/drivers/block/ |
D | brd.c | 265 if (op_is_write(op)) { in brd_do_bvec() 272 if (!op_is_write(op)) { in brd_do_bvec() 321 page_endio(page, op_is_write(op), err); in brd_rw_page()
|
D | loop.c | 1857 const bool write = op_is_write(req_op(rq)); in loop_handle_cmd()
|
/linux-6.1.9/include/linux/ |
D | blk_types.h | 482 static inline bool op_is_write(blk_opf_t op) in op_is_write() function 535 return op_is_write(op); in op_stat_group()
|
D | blk-mq.h | 221 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ) 224 (op_is_write(req_op(rq)) ? DMA_TO_DEVICE : DMA_FROM_DEVICE)
|
D | bio.h | 47 (op_is_write(bio_op(bio)) ? WRITE : READ)
|
/linux-6.1.9/block/ |
D | blk-cgroup-rwstat.h | 68 else if (op_is_write(opf)) in blkg_rwstat_add()
|
D | blk-core.c | 490 if (op_is_write(bio_op(bio)) && bdev_read_only(bio->bi_bdev)) { in bio_check_ro() 940 part_stat_local_inc(bdev, in_flight[op_is_write(op)]); in bdev_start_io_acct() 982 part_stat_local_dec(bdev, in_flight[op_is_write(op)]); in bdev_end_io_acct()
|
D | blk-wbt.c | 677 else if (op_is_write(op)) in wbt_data_dir()
|
D | blk-map.c | 352 if (bio->bi_private && !op_is_write(bio_op(bio))) { in bio_invalidate_vmalloc_pages()
|
D | mq-deadline.c | 609 if (op_is_sync(opf) && !op_is_write(opf)) in dd_limit_depth()
|
D | blk-cgroup.c | 1941 if (op_is_write(bio->bi_opf)) in blk_cgroup_io_type()
|
D | blk-throttle.c | 2274 const bool rw = op_is_write(op); in throtl_track_latency()
|
/linux-6.1.9/drivers/md/bcache/ |
D | io.c | 144 unsigned int threshold = op_is_write(bio_op(bio)) in bch_bbio_count_io_errors()
|
D | request.c | 378 op_is_write(bio_op(bio)))) in check_should_bypass() 732 s->write = op_is_write(bio_op(bio)); in search_alloc()
|
/linux-6.1.9/drivers/md/ |
D | dm-io.c | 421 if (num_regions > 1 && !op_is_write(opf)) { in sync_io() 454 if (num_regions > 1 && !op_is_write(opf)) { in async_io()
|
D | dm-kcopyd.c | 522 if (op_is_write(job->op)) in complete_io() 534 if (op_is_write(job->op)) in complete_io() 617 if (op_is_write(job->op)) in process_jobs()
|
D | raid5.c | 1186 if (op_is_write(op)) { in ops_run_io() 1212 while (op_is_write(op) && rdev && in ops_run_io() 1253 bi->bi_end_io = op_is_write(op) in ops_run_io() 1276 if (!op_is_write(op) && in ops_run_io() 1303 if (should_defer && op_is_write(op)) in ops_run_io() 1316 BUG_ON(!op_is_write(op)); in ops_run_io() 1350 if (should_defer && op_is_write(op)) in ops_run_io() 1356 if (op_is_write(op)) in ops_run_io()
|
/linux-6.1.9/drivers/nvdimm/ |
D | pmem.c | 218 if (op_is_write(bio_op(bio))) in pmem_submit_bio() 247 if (op_is_write(op)) in pmem_rw_page() 258 page_endio(page, op_is_write(op), 0); in pmem_rw_page()
|
D | btt.c | 1429 if (!op_is_write(op)) { in btt_do_bvec() 1472 (op_is_write(bio_op(bio))) ? "WRITE" : in btt_submit_bio() 1493 page_endio(page, op_is_write(op), 0); in btt_rw_page()
|
/linux-6.1.9/drivers/block/zram/ |
D | zram_drv.c | 597 page_endio(page, op_is_write(bio_op(bio)), in zram_page_end_io() 1555 if (!op_is_write(op)) { in zram_bvec_rw() 1569 if (!op_is_write(op)) in zram_bvec_rw() 1702 page_endio(page, op_is_write(op), 0); in zram_rw_page()
|
/linux-6.1.9/drivers/block/null_blk/ |
D | main.c | 1254 op_is_write(req_op(rq)), sector, in null_handle_rq() 1281 op_is_write(bio_op(bio)), sector, in null_handle_bio()
|
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_req.c | 242 if (op_is_write(bio_op(req->master_bio)) && in drbd_req_complete()
|
/linux-6.1.9/kernel/trace/ |
D | blktrace.c | 235 what |= ddir_act[op_is_write(op) ? WRITE : READ]; in __blk_add_trace()
|
/linux-6.1.9/drivers/scsi/ |
D | scsi_lib.c | 1005 !op_is_write(req_op(rq)) && in scsi_cmd_needs_dma_drain()
|
/linux-6.1.9/drivers/ufs/core/ |
D | ufshpb.c | 81 return op_is_write(req_op(scsi_cmd_to_rq(cmd))) || in ufshpb_is_write_or_discard()
|