/openbmc/linux/include/linux/ |
H A D | blk_types.h | 480 static inline bool op_is_write(blk_opf_t op) in op_is_write() function 533 return op_is_write(op); in op_stat_group()
|
H A D | blk-mq.h | 208 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ) 211 (op_is_write(req_op(rq)) ? DMA_TO_DEVICE : DMA_FROM_DEVICE)
|
H A D | bio.h | 49 (op_is_write(bio_op(bio)) ? WRITE : READ)
|
/openbmc/linux/drivers/block/ |
H A D | brd.c | 217 if (op_is_write(opf)) { in brd_do_bvec() 230 if (!op_is_write(opf)) { in brd_do_bvec()
|
H A D | loop.c | 1887 const bool write = op_is_write(req_op(rq)); in loop_handle_cmd()
|
/openbmc/linux/block/ |
H A D | blk-cgroup-rwstat.h | 68 else if (op_is_write(opf)) in blkg_rwstat_add()
|
H A D | blk-core.c | 504 if (op_is_write(bio_op(bio)) && bdev_read_only(bio->bi_bdev)) { in bio_check_ro() 979 part_stat_local_inc(bdev, in_flight[op_is_write(op)]); in bdev_start_io_acct() 1010 part_stat_local_dec(bdev, in_flight[op_is_write(op)]); in bdev_end_io_acct()
|
H A D | blk-merge.c | 262 if (op_is_write(bio_op(bio)) && lim->zone_write_granularity) in bio_split_alignment() 795 in_flight[op_is_write(req_op(req))]); in blk_account_io_merge_request()
|
H A D | blk-wbt.c | 757 else if (op_is_write(op)) in wbt_data_dir()
|
H A D | blk-map.c | 362 if (bio->bi_private && !op_is_write(bio_op(bio))) { in bio_invalidate_vmalloc_pages()
|
H A D | mq-deadline.c | 647 if (op_is_sync(opf) && !op_is_write(opf)) in dd_limit_depth()
|
H A D | blk-cgroup.c | 2142 if (op_is_write(bio->bi_opf)) in blk_cgroup_io_type()
|
H A D | blk-mq.c | 999 in_flight[op_is_write(req_op(req))]); in blk_account_io_done() 1023 in_flight[op_is_write(req_op(req))]); in blk_account_io_start()
|
/openbmc/linux/drivers/md/ |
H A D | dm-kcopyd.c | 528 if (op_is_write(job->op)) in complete_io() 540 if (op_is_write(job->op)) in complete_io() 623 if (op_is_write(job->op)) in process_jobs()
|
H A D | dm-io.c | 434 if (num_regions > 1 && !op_is_write(opf)) { in sync_io() 468 if (num_regions > 1 && !op_is_write(opf)) { in async_io()
|
H A D | raid5.c | 1192 if (op_is_write(op)) { in ops_run_io() 1218 while (op_is_write(op) && rdev && in ops_run_io() 1259 bi->bi_end_io = op_is_write(op) in ops_run_io() 1282 if (!op_is_write(op) && in ops_run_io() 1309 if (should_defer && op_is_write(op)) in ops_run_io() 1322 BUG_ON(!op_is_write(op)); in ops_run_io() 1356 if (should_defer && op_is_write(op)) in ops_run_io() 1362 if (op_is_write(op)) in ops_run_io()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | io.c | 144 unsigned int threshold = op_is_write(bio_op(bio)) in bch_bbio_count_io_errors()
|
H A 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()
|
/openbmc/linux/fs/f2fs/ |
H A D | iostat.c | 245 if (op_is_write(bio_op(bio))) { in iostat_update_and_unbind_ctx()
|
/openbmc/linux/drivers/nvdimm/ |
H A 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()
|
H A D | pmem.c | 219 if (op_is_write(bio_op(bio))) in pmem_submit_bio()
|
/openbmc/linux/drivers/block/null_blk/ |
H A D | main.c | 1304 op_is_write(req_op(rq)), sector, in null_handle_rq() 1331 op_is_write(bio_op(bio)), sector, in null_handle_bio()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_req.c | 243 if (op_is_write(bio_op(req->master_bio)) && in drbd_req_complete()
|
/openbmc/linux/kernel/trace/ |
H A D | blktrace.c | 235 what |= ddir_act[op_is_write(op) ? WRITE : READ]; in __blk_add_trace()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_lib.c | 1001 !op_is_write(req_op(rq)) && in scsi_cmd_needs_dma_drain()
|