Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/block/rnbd/
Drnbd-proto.h234 bio_opf = REQ_OP_DISCARD; in rnbd_to_bio_flags()
265 case REQ_OP_DISCARD: in rq_to_rnbd_flags()
/linux-6.6.21/drivers/md/
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()
359 if (op == REQ_OP_DISCARD || op == REQ_OP_WRITE_ZEROES) { in do_region()
Ddm-zero.c49 case REQ_OP_DISCARD: in zero_map()
Draid1-10.c125 else if (unlikely(bio_op(bio) == REQ_OP_DISCARD && in raid1_submit_write()
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()
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()
Dmd-linear.c246 if (unlikely((bio_op(bio) == REQ_OP_DISCARD) && in linear_make_request()
Ddm-integrity.c1620 if (dio->op == REQ_OP_WRITE || unlikely(dio->op == REQ_OP_DISCARD)) in dec_in_flight()
1796 if (likely(dio->op != REQ_OP_DISCARD)) in integrity_metadata()
1810 if (unlikely(dio->op == REQ_OP_DISCARD)) { in integrity_metadata()
1930 if (unlikely(dio->op == REQ_OP_DISCARD)) { in dm_integrity_map()
1972 if (ic->sectors_per_block > 1 && likely(dio->op != REQ_OP_DISCARD)) { in dm_integrity_map()
2182 if (unlikely(dio->op == REQ_OP_DISCARD) && ic->mode != 'D') in dm_integrity_map_continue()
2201 if (ic->mode == 'J' && likely(dio->op != REQ_OP_DISCARD)) { in dm_integrity_map_continue()
2301 if (ic->mode == 'J' && likely(dio->op == REQ_OP_DISCARD) && !discard_retried) { in dm_integrity_map_continue()
2326 if (ic->mode == 'B' && (dio->op == REQ_OP_WRITE || unlikely(dio->op == REQ_OP_DISCARD))) { in dm_integrity_map_continue()
2355 if (unlikely(dio->op == REQ_OP_DISCARD) && likely(ic->mode != 'D')) { in dm_integrity_map_continue()
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()
Ddm-ebs-target.c214 } else if (bio_op(bio) == REQ_OP_DISCARD) { in __ebs_process_bios()
Ddm-rq.c218 if (req_op(clone) == REQ_OP_DISCARD && in dm_done()
Ddm-stripe.c283 if (unlikely(bio_op(bio) == REQ_OP_DISCARD) || in stripe_map()
/linux-6.6.21/block/
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()
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()
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()
Dbounce.c176 case REQ_OP_DISCARD: in bounce_clone_bio()
Dblk-lib.c67 bio = blk_next_bio(bio, bdev, 0, REQ_OP_DISCARD, gfp_mask); in __blkdev_issue_discard()
/linux-6.6.21/include/linux/
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()
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()
/linux-6.6.21/drivers/md/bcache/
Dwriteback.h112 if (bio_op(bio) == REQ_OP_DISCARD) in should_writeback()
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()
/linux-6.6.21/arch/um/drivers/
Dubd_kern.c483 if ((io_req->error == BLK_STS_NOTSUPP) && (req_op(io_req->req) == REQ_OP_DISCARD)) { in ubd_handler()
1259 if (op == REQ_OP_WRITE_ZEROES || op == REQ_OP_DISCARD) { in ubd_map_req()
1324 else if (op == REQ_OP_WRITE_ZEROES || op == REQ_OP_DISCARD) in ubd_submit_request()
1361 case REQ_OP_DISCARD: in ubd_queue_rq()
1517 case REQ_OP_DISCARD: in do_io()
/linux-6.6.21/drivers/block/drbd/
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()
/linux-6.6.21/drivers/mmc/core/
Dqueue.c49 case REQ_OP_DISCARD: in mmc_cqe_issue_type()
/linux-6.6.21/Documentation/admin-guide/device-mapper/
Dlog-writes.rst42 Any REQ_OP_DISCARD requests are treated like WRITE requests. Otherwise we would

123