Searched refs:op_is_write (Results 1 – 25 of 27) sorted by relevance
12
436 static inline bool op_is_write(blk_opf_t op) in op_is_write() function489 return op_is_write(op); in op_stat_group()
228 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ)231 (op_is_write(req_op(rq)) ? DMA_TO_DEVICE : DMA_FROM_DEVICE)
49 (op_is_write(bio_op(bio)) ? WRITE : READ)
68 else if (op_is_write(opf)) in blkg_rwstat_add()
504 if (op_is_write(bio_op(bio)) && bdev_read_only(bio->bi_bdev)) { in bio_check_ro()1014 part_stat_local_inc(bdev, in_flight[op_is_write(op)]); in bdev_start_io_acct()1045 part_stat_local_dec(bdev, in_flight[op_is_write(op)]); in bdev_end_io_acct()
362 if (bio->bi_private && !op_is_write(bio_op(bio))) { in bio_invalidate_vmalloc_pages()
749 else if (op_is_write(op)) in wbt_data_dir()
804 in_flight[op_is_write(req_op(req))]); in blk_account_io_merge_request()
513 if (op_is_sync(opf) && !op_is_write(opf)) in dd_limit_depth()
2137 if (op_is_write(bio->bi_opf)) in blk_cgroup_io_type()
994 in_flight[op_is_write(req_op(req))]); in blk_account_io_done()1018 in_flight[op_is_write(req_op(req))]); in blk_account_io_start()
199 if (op_is_write(opf)) { in brd_do_bvec()212 if (!op_is_write(opf)) { in brd_do_bvec()
1887 const bool write = op_is_write(req_op(rq)); in loop_handle_cmd()
144 unsigned int threshold = op_is_write(bio_op(bio)) in bch_bbio_count_io_errors()
392 op_is_write(bio_op(bio)))) in check_should_bypass()746 s->write = op_is_write(bio_op(bio)); in search_alloc()
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()
507 if (num_regions > 1 && !op_is_write(io_req->bi_opf)) { in dm_io()
1187 if (op_is_write(op)) { in ops_run_io()1212 while (op_is_write(op) && rdev && in ops_run_io()1251 bi->bi_end_io = op_is_write(op) in ops_run_io()1274 if (!op_is_write(op) && in ops_run_io()1298 if (should_defer && op_is_write(op)) in ops_run_io()1311 BUG_ON(!op_is_write(op)); in ops_run_io()1342 if (should_defer && op_is_write(op)) in ops_run_io()1348 if (op_is_write(op)) in ops_run_io()
245 if (op_is_write(bio_op(bio))) { in iostat_update_and_unbind_ctx()
219 if (op_is_write(bio_op(bio))) in pmem_submit_bio()
1425 if (!op_is_write(op)) { in btt_do_bvec()1468 (op_is_write(bio_op(bio))) ? "WRITE" : in btt_submit_bio()
243 if (op_is_write(bio_op(req->master_bio)) && in drbd_req_complete()
235 what |= ddir_act[op_is_write(op) ? WRITE : READ]; in __blk_add_trace()
1258 op_is_write(req_op(rq)), sector, in null_handle_rq()
1093 !op_is_write(req_op(rq)) && in scsi_cmd_needs_dma_drain()
Completed in 89 milliseconds