/linux/include/linux/ |
H A D | blk_types.h | 205 typedef __u32 __bitwise blk_opf_t; typedef 217 blk_opf_t bi_opf; /* bottom bits REQ_OP, top bits 317 #define REQ_OP_MASK (__force blk_opf_t)((1 << REQ_OP_BITS) - 1) 335 REQ_OP_READ = (__force blk_opf_t)0, 337 REQ_OP_WRITE = (__force blk_opf_t)1, 339 REQ_OP_FLUSH = (__force blk_opf_t)2, 341 REQ_OP_DISCARD = (__force blk_opf_t)3, 343 REQ_OP_SECURE_ERASE = (__force blk_opf_t)5, 345 REQ_OP_ZONE_APPEND = (__force blk_opf_t)7, 347 REQ_OP_WRITE_ZEROES = (__force blk_opf_t)9, [all …]
|
H A D | buffer_head.h | 240 int __sync_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags); 241 void write_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags); 242 void submit_bh(blk_opf_t, struct buffer_head *); 246 int __bh_read(struct buffer_head *bh, blk_opf_t op_flags, bool wait); 248 blk_opf_t op_flags, bool force_lock); 435 static inline void bh_readahead(struct buffer_head *bh, blk_opf_t op_flags) in bh_readahead() 445 static inline void bh_read_nowait(struct buffer_head *bh, blk_opf_t op_flags) in bh_read_nowait() 452 static inline int bh_read(struct buffer_head *bh, blk_opf_t op_flags) in bh_read() 465 blk_opf_t op_flags) in bh_readahead_batch()
|
H A D | bio.h | 357 blk_opf_t opf, gfp_t gfp_mask, 370 unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask) in bio_alloc() 407 unsigned short max_vecs, blk_opf_t opf); 409 void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf); 711 unsigned int nr_pages, blk_opf_t opf, gfp_t gfp);
|
H A D | dm-io.h | 62 blk_opf_t bi_opf; /* Request type and flags */
|
H A D | blktrace_api.h | 113 void blk_fill_rwbs(char *rwbs, blk_opf_t opf);
|
H A D | blk-mq.h | 108 blk_opf_t cmd_flags; /* op and common flags */ 744 struct request *blk_mq_alloc_request(struct request_queue *q, blk_opf_t opf, 747 blk_opf_t opf, blk_mq_req_flags_t flags,
|
/linux/drivers/md/dm-vdo/ |
H A D | io-submitter.h | 30 blk_opf_t operation, char *data, int size); 34 blk_opf_t operation) in vdo_submit_metadata_vio() 44 blk_opf_t operation, in vdo_submit_metadata_vio_with_size()
|
H A D | vio.h | 124 blk_opf_t bi_opf, physical_block_number_t pbn); 127 blk_opf_t bi_opf, physical_block_number_t pbn); 129 blk_opf_t bi_opf, physical_block_number_t pbn);
|
H A D | vio.c | 174 blk_opf_t bi_opf, physical_block_number_t pbn) in vdo_set_bio_properties() 195 blk_opf_t bi_opf, physical_block_number_t pbn) in vio_reset_bio() 202 blk_opf_t bi_opf, physical_block_number_t pbn) in vio_reset_bio_with_size()
|
/linux/drivers/block/rnbd/ |
H A D | rnbd-proto.h | 219 static inline blk_opf_t rnbd_to_bio_flags(u32 rnbd_opf) in rnbd_to_bio_flags() 221 blk_opf_t bio_opf; in rnbd_to_bio_flags()
|
/linux/block/ |
H A D | bfq-iosched.h | 1067 void bfqg_stats_update_io_remove(struct bfq_group *bfqg, blk_opf_t opf); 1068 void bfqg_stats_update_io_merged(struct bfq_group *bfqg, blk_opf_t opf); 1070 u64 io_start_time_ns, blk_opf_t opf); 1078 blk_opf_t opf);
|
H A D | blk-flush.c | 95 struct blk_flush_queue *fq, blk_opf_t flags); 154 blk_opf_t cmd_flags; in blk_flush_complete_seq() 276 blk_opf_t flags) in blk_kick_flush()
|
H A D | bfq-cgroup.c | 223 blk_opf_t opf) in bfqg_stats_update_io_add() 231 void bfqg_stats_update_io_remove(struct bfq_group *bfqg, blk_opf_t opf) in bfqg_stats_update_io_remove() 236 void bfqg_stats_update_io_merged(struct bfq_group *bfqg, blk_opf_t opf) in bfqg_stats_update_io_merged() 242 u64 io_start_time_ns, blk_opf_t opf) in bfqg_stats_update_completion() 257 void bfqg_stats_update_io_remove(struct bfq_group *bfqg, blk_opf_t opf) { } in bfqg_stats_update_io_remove() 258 void bfqg_stats_update_io_merged(struct bfq_group *bfqg, blk_opf_t opf) { } in bfqg_stats_update_io_merged() 260 u64 io_start_time_ns, blk_opf_t opf) { } in bfqg_stats_update_completion()
|
H A D | blk-merge.c | 607 blk_opf_t ff = rq->cmd_flags & REQ_FAILFAST_MASK; in blk_rq_set_mixed_merge() 626 static inline blk_opf_t bio_failfast(const struct bio *bio) in bio_failfast() 858 const blk_opf_t ff = bio_failfast(bio); in bio_attempt_back_merge() 887 const blk_opf_t ff = bio_failfast(bio); in bio_attempt_front_merge()
|
H A D | fops.c | 29 static blk_opf_t dio_bio_write_op(struct kiocb *iocb) in dio_bio_write_op() 31 blk_opf_t opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in dio_bio_write_op() 176 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO() 323 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async()
|
H A D | blk-wbt.c | 535 static inline unsigned int get_limit(struct rq_wb *rwb, blk_opf_t opf) in get_limit() 567 blk_opf_t opf; 587 blk_opf_t opf) in __wbt_wait()
|
H A D | elevator.h | 47 void (*limit_depth)(blk_opf_t, struct blk_mq_alloc_data *);
|
/linux/drivers/scsi/device_handler/ |
H A D | scsi_dh_hp_sw.c | 83 blk_opf_t opf = REQ_OP_DRV_IN | REQ_FAILFAST_DEV | in hp_sw_tur() 132 blk_opf_t opf = REQ_OP_DRV_IN | REQ_FAILFAST_DEV | in hp_sw_start_stop()
|
/linux/fs/nilfs2/ |
H A D | btnode.h | 38 blk_opf_t, struct buffer_head **, sector_t *);
|
/linux/drivers/block/ |
H A D | brd.c | 58 blk_opf_t opf) in brd_insert_page() 114 blk_opf_t opf = bio->bi_opf; in brd_rw_bvec()
|
/linux/fs/ |
H A D | buffer.c | 57 static void submit_bh_wbc(blk_opf_t opf, struct buffer_head *bh, 1845 blk_opf_t write_flags = wbc_to_write_flags(wbc); in __block_write_full_folio() 2780 static void submit_bh_wbc(blk_opf_t opf, struct buffer_head *bh, in submit_bh_wbc() 2827 void submit_bh(blk_opf_t opf, struct buffer_head *bh) in submit_bh() 2833 void write_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags) in write_dirty_buffer() 2851 int __sync_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags) in __sync_dirty_buffer() 3090 int __bh_read(struct buffer_head *bh, blk_opf_t op_flags, bool wait) in __bh_read() 3119 blk_opf_t op_flags, bool force_lock) in __bh_read_batch()
|
/linux/fs/gfs2/ |
H A D | meta_io.c | 38 blk_opf_t write_flags = REQ_META | REQ_PRIO | wbc_to_write_flags(wbc); in gfs2_aspace_write_folio() 226 static void gfs2_submit_bhs(blk_opf_t opf, struct buffer_head *bhs[], int num) in gfs2_submit_bhs()
|
/linux/fs/btrfs/ |
H A D | compression.h | 101 unsigned int nr_folios, blk_opf_t write_flags,
|
/linux/include/trace/events/ |
H A D | jbd2.h | 358 TP_PROTO(journal_t *journal, blk_opf_t write_flags), 364 __field( blk_opf_t, write_flags )
|
/linux/include/scsi/ |
H A D | scsi_cmnd.h | 397 struct request *scsi_alloc_request(struct request_queue *q, blk_opf_t opf,
|