Home
last modified time | relevance | path

Searched refs:REQ_OP_DISCARD (Results 1 – 25 of 61) sorted by relevance

123

/openbmc/linux/drivers/block/rnbd/
H A Drnbd-proto.h234 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 Dblk.h156 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 Dblk-merge.c362 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 Dblk-wbt.c538 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 Dbounce.c176 case REQ_OP_DISCARD: in bounce_clone_bio()
H A Dblk-lib.c67 bio = blk_next_bio(bio, bdev, 0, REQ_OP_DISCARD, gfp_mask); in __blkdev_issue_discard()
/openbmc/linux/drivers/md/
H A Ddm-zero.c49 case REQ_OP_DISCARD: in zero_map()
H A Ddm-io.c324 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 Draid1-10.c125 else if (unlikely(bio_op(bio) == REQ_OP_DISCARD && in raid1_submit_write()
H A Ddm-raid1.c630 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 Ddm-region-hash.c411 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 Dmd-linear.c246 if (unlikely((bio_op(bio) == REQ_OP_DISCARD) && in linear_make_request()
H A Ddm-integrity.c1620 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 Ddm-thin.c415 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 Ddm-ebs-target.c214 } else if (bio_op(bio) == REQ_OP_DISCARD) { in __ebs_process_bios()
H A Ddm-stripe.c283 if (unlikely(bio_op(bio) == REQ_OP_DISCARD) || in stripe_map()
H A Ddm-rq.c218 if (req_op(clone) == REQ_OP_DISCARD && in dm_done()
/openbmc/linux/include/linux/
H A Dblk_types.h379 REQ_OP_DISCARD = (__force blk_opf_t)3, enumerator
507 return (op & REQ_OP_MASK) == REQ_OP_DISCARD; in op_is_discard()
H A Dbio.h58 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 Dwriteback.h112 if (bio_op(bio) == REQ_OP_DISCARD) in should_writeback()
H A Drequest.c373 (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 Dubd_kern.c462 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 Ddrbd_req.c35 | (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 Dlog-writes.rst42 Any REQ_OP_DISCARD requests are treated like WRITE requests. Otherwise we would
/openbmc/linux/drivers/mmc/core/
H A Dqueue.c49 case REQ_OP_DISCARD: in mmc_cqe_issue_type()

123