/openbmc/linux/drivers/block/rnbd/ |
H A D | rnbd-proto.h | 234 bio_opf = REQ_OP_DISCARD; in rnbd_to_bio_flags() 265 case REQ_OP_DISCARD: in rq_to_rnbd_flags()
|
/openbmc/linux/block/ |
H A D | blk.h | 156 if (req_op(req) == REQ_OP_DISCARD && in blk_discard_mergable() 164 if (req_op(rq) == REQ_OP_DISCARD) in blk_rq_get_max_segments() 172 if (unlikely(op == REQ_OP_DISCARD || op == REQ_OP_SECURE_ERASE)) in blk_queue_get_max_sectors() 300 case REQ_OP_DISCARD: in bio_may_exceed_limits()
|
H A D | blk-merge.c | 362 case REQ_OP_DISCARD: in __bio_split_to_limits() 423 case REQ_OP_DISCARD: in blk_recalc_rq_segments() 601 req_op(rq) == REQ_OP_DISCARD || in blk_rq_get_max_sectors() 618 if (req_op(req) == REQ_OP_DISCARD) in ll_new_hw_segment()
|
H A D | blk-wbt.c | 538 if ((opf & REQ_OP_MASK) == REQ_OP_DISCARD) in get_limit() 609 case REQ_OP_DISCARD: in wbt_should_throttle() 628 if (bio_op(bio) == REQ_OP_DISCARD) in bio_to_wbt_flags()
|
H A D | bounce.c | 176 case REQ_OP_DISCARD: in bounce_clone_bio()
|
H A D | blk-lib.c | 67 bio = blk_next_bio(bio, bdev, 0, REQ_OP_DISCARD, gfp_mask); in __blkdev_issue_discard()
|
/openbmc/linux/drivers/md/ |
H A D | dm-zero.c | 49 case REQ_OP_DISCARD: in zero_map()
|
H A D | dm-io.c | 324 if (op == REQ_OP_DISCARD) in do_region() 328 if ((op == REQ_OP_DISCARD || op == REQ_OP_WRITE_ZEROES) && in do_region() 344 case REQ_OP_DISCARD: in do_region() 360 if (op == REQ_OP_DISCARD || op == REQ_OP_WRITE_ZEROES) { in do_region()
|
H A D | raid1-10.c | 125 else if (unlikely(bio_op(bio) == REQ_OP_DISCARD && in raid1_submit_write()
|
H A D | dm-raid1.c | 630 if (bio_op(bio) == REQ_OP_DISCARD) { in write_callback() 669 if (bio_op(bio) == REQ_OP_DISCARD) { in do_write() 670 io_req.bi_opf = REQ_OP_DISCARD | op_flags; in do_write() 709 (bio_op(bio) == REQ_OP_DISCARD)) { in do_writes() 1260 bio_op(bio) != REQ_OP_DISCARD) in mirror_end_io()
|
H A D | dm-region-hash.c | 411 if (bio_op(bio) == REQ_OP_DISCARD) in dm_rh_mark_nosync() 534 if (bio->bi_opf & REQ_PREFLUSH || bio_op(bio) == REQ_OP_DISCARD) in dm_rh_inc_pending()
|
H A D | md-linear.c | 246 if (unlikely((bio_op(bio) == REQ_OP_DISCARD) && in linear_make_request()
|
H A D | dm-integrity.c | 1620 if (dio->op == REQ_OP_WRITE || unlikely(dio->op == REQ_OP_DISCARD)) in dec_in_flight() 1804 if (likely(dio->op != REQ_OP_DISCARD)) in integrity_metadata() 1818 if (unlikely(dio->op == REQ_OP_DISCARD)) { in integrity_metadata() 1938 if (unlikely(dio->op == REQ_OP_DISCARD)) { in dm_integrity_map() 1980 if (ic->sectors_per_block > 1 && likely(dio->op != REQ_OP_DISCARD)) { in dm_integrity_map() 2191 if (unlikely(dio->op == REQ_OP_DISCARD) && ic->mode != 'D') in dm_integrity_map_continue() 2210 if (ic->mode == 'J' && likely(dio->op != REQ_OP_DISCARD)) { in dm_integrity_map_continue() 2310 if (ic->mode == 'J' && likely(dio->op == REQ_OP_DISCARD) && !discard_retried) { in dm_integrity_map_continue() 2336 if (ic->mode == 'B' && (dio->op == REQ_OP_WRITE || unlikely(dio->op == REQ_OP_DISCARD))) { in dm_integrity_map_continue() 2365 if (unlikely(dio->op == REQ_OP_DISCARD) && likely(ic->mode != 'D')) { in dm_integrity_map_continue()
|
H A D | dm-thin.c | 415 op->bio->bi_opf = REQ_OP_DISCARD; in end_discard() 748 if (bio_op(bio) == REQ_OP_DISCARD) in inc_all_io_entry() 915 if (op_is_flush(bio->bi_opf) || bio_op(bio) == REQ_OP_DISCARD) in __inc_remap_and_issue_cell() 1839 bio_op(bio) == REQ_OP_DISCARD) in __remap_and_issue_shared_cell() 2228 if (bio_op(bio) == REQ_OP_DISCARD) in process_thin_deferred_bios() 2315 if (bio_op(cell->holder) == REQ_OP_DISCARD) in process_thin_deferred_cells() 2746 if (op_is_flush(bio->bi_opf) || bio_op(bio) == REQ_OP_DISCARD) { in thin_bio_map()
|
H A D | dm-ebs-target.c | 214 } else if (bio_op(bio) == REQ_OP_DISCARD) { in __ebs_process_bios()
|
H A D | dm-stripe.c | 283 if (unlikely(bio_op(bio) == REQ_OP_DISCARD) || in stripe_map()
|
H A D | dm-rq.c | 218 if (req_op(clone) == REQ_OP_DISCARD && in dm_done()
|
/openbmc/linux/include/linux/ |
H A D | blk_types.h | 379 REQ_OP_DISCARD = (__force blk_opf_t)3, enumerator 507 return (op & REQ_OP_MASK) == REQ_OP_DISCARD; in op_is_discard()
|
H A D | bio.h | 58 bio_op(bio) != REQ_OP_DISCARD && in bio_has_data() 68 return bio_op(bio) == REQ_OP_DISCARD || in bio_no_advance_iter() 186 case REQ_OP_DISCARD: in bio_segments()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | writeback.h | 112 if (bio_op(bio) == REQ_OP_DISCARD) in should_writeback()
|
H A D | request.c | 373 (bio_op(bio) == REQ_OP_DISCARD)) in check_should_bypass() 993 if (bio_op(bio) == REQ_OP_DISCARD) in cached_dev_write() 1007 if (bio_op(bio) == REQ_OP_DISCARD && in cached_dev_write() 1123 if ((bio_op(bio) == REQ_OP_DISCARD) && in detached_dev_do_request() 1309 s->iop.bypass = (bio_op(bio) == REQ_OP_DISCARD) != 0; in flash_dev_submit_bio()
|
/openbmc/linux/arch/um/drivers/ |
H A D | ubd_kern.c | 462 if (req_op(io_req->req) == REQ_OP_DISCARD) in ubd_end_request() 1247 if (op == REQ_OP_WRITE_ZEROES || op == REQ_OP_DISCARD) { in ubd_map_req() 1312 else if (op == REQ_OP_WRITE_ZEROES || op == REQ_OP_DISCARD) in ubd_submit_request() 1349 case REQ_OP_DISCARD: in ubd_queue_rq() 1505 case REQ_OP_DISCARD: in do_io()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_req.c | 35 | (bio_op(bio_src) == REQ_OP_DISCARD ? RQ_UNMAP : 0); in drbd_req_new() 1175 else if (bio_op(bio) == REQ_OP_DISCARD) in drbd_submit_req_private_bio() 1232 bio_op(bio) == REQ_OP_DISCARD) in drbd_request_prepare()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | log-writes.rst | 42 Any REQ_OP_DISCARD requests are treated like WRITE requests. Otherwise we would
|
/openbmc/linux/drivers/mmc/core/ |
H A D | queue.c | 49 case REQ_OP_DISCARD: in mmc_cqe_issue_type()
|