Home
last modified time | relevance | path

Searched refs:blk_opf_t (Results 1 – 25 of 88) sorted by relevance

1234

/linux-6.1.9/include/linux/
Dblk_types.h243 typedef __u32 __bitwise blk_opf_t; typedef
255 blk_opf_t bi_opf; /* bottom bits REQ_OP, top bits
342 #define REQ_OP_MASK (__force blk_opf_t)((1 << REQ_OP_BITS) - 1)
360 REQ_OP_READ = (__force blk_opf_t)0,
362 REQ_OP_WRITE = (__force blk_opf_t)1,
364 REQ_OP_FLUSH = (__force blk_opf_t)2,
366 REQ_OP_DISCARD = (__force blk_opf_t)3,
368 REQ_OP_SECURE_ERASE = (__force blk_opf_t)5,
370 REQ_OP_WRITE_ZEROES = (__force blk_opf_t)9,
372 REQ_OP_ZONE_OPEN = (__force blk_opf_t)10,
[all …]
Dbuffer_head.h238 int __sync_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags);
239 void write_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags);
240 void submit_bh(blk_opf_t, struct buffer_head *);
244 int __bh_read(struct buffer_head *bh, blk_opf_t op_flags, bool wait);
246 blk_opf_t op_flags, bool force_lock);
414 static inline void bh_readahead(struct buffer_head *bh, blk_opf_t op_flags) in bh_readahead()
424 static inline void bh_read_nowait(struct buffer_head *bh, blk_opf_t op_flags) in bh_read_nowait()
431 static inline int bh_read(struct buffer_head *bh, blk_opf_t op_flags) in bh_read()
444 blk_opf_t op_flags) in bh_readahead_batch()
Dbio.h408 blk_opf_t opf, gfp_t gfp_mask,
421 unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask) in bio_alloc()
459 unsigned short max_vecs, blk_opf_t opf);
461 void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf);
792 unsigned int nr_pages, blk_opf_t opf, gfp_t gfp);
Ddm-io.h61 blk_opf_t bi_opf; /* Request type and flags */
Dwriteback.h96 static inline blk_opf_t wbc_to_write_flags(struct writeback_control *wbc) in wbc_to_write_flags()
98 blk_opf_t flags = 0; in wbc_to_write_flags()
Dblktrace_api.h109 void blk_fill_rwbs(char *rwbs, blk_opf_t opf);
Dblk-mq.h88 blk_opf_t cmd_flags; /* op and common flags */
730 struct request *blk_mq_alloc_request(struct request_queue *q, blk_opf_t opf,
733 blk_opf_t opf, blk_mq_req_flags_t flags,
/linux-6.1.9/drivers/block/rnbd/
Drnbd-proto.h232 static inline blk_opf_t rnbd_to_bio_flags(u32 rnbd_opf) in rnbd_to_bio_flags()
234 blk_opf_t bio_opf; in rnbd_to_bio_flags()
/linux-6.1.9/drivers/scsi/device_handler/
Dscsi_dh_hp_sw.c86 blk_opf_t req_flags = REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | in hp_sw_tur()
124 blk_opf_t req_flags = REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | in hp_sw_start_stop()
/linux-6.1.9/block/
Dblk-flush.c97 struct blk_flush_queue *fq, blk_opf_t flags);
176 blk_opf_t cmd_flags; in blk_flush_complete_seq()
294 blk_opf_t flags) in blk_kick_flush()
Dblk-mq.h89 static inline enum hctx_type blk_mq_get_hctx_type(blk_opf_t opf) in blk_mq_get_hctx_type()
110 blk_opf_t opf, in blk_mq_map_queue()
155 blk_opf_t cmd_flags;
Dbfq-iosched.h992 void bfqg_stats_update_io_remove(struct bfq_group *bfqg, blk_opf_t opf);
993 void bfqg_stats_update_io_merged(struct bfq_group *bfqg, blk_opf_t opf);
995 u64 io_start_time_ns, blk_opf_t opf);
1003 blk_opf_t opf);
Dbfq-cgroup.c223 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()
Dfops.c35 static blk_opf_t dio_bio_write_op(struct kiocb *iocb) in dio_bio_write_op()
37 blk_opf_t opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in dio_bio_write_op()
178 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO()
300 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async()
Dblk-cgroup-rwstat.h62 blk_opf_t opf, uint64_t val) in blkg_rwstat_add()
Dblk-wbt.c454 static inline unsigned int get_limit(struct rq_wb *rwb, blk_opf_t opf) in get_limit()
493 blk_opf_t opf;
513 blk_opf_t opf) in __wbt_wait()
Delevator.h37 void (*limit_depth)(blk_opf_t, struct blk_mq_alloc_data *);
Dbio.c242 unsigned short max_vecs, blk_opf_t opf) in bio_init()
295 void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf) in bio_reset()
344 unsigned int nr_pages, blk_opf_t opf, gfp_t gfp) in blk_next_bio()
412 unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp, in bio_alloc_percpu_cache()
471 blk_opf_t opf, gfp_t gfp_mask, in bio_alloc_bioset()
/linux-6.1.9/drivers/md/
Ddm-io.c296 static void do_region(const blk_opf_t opf, unsigned region, in do_region()
372 static void dispatch_io(blk_opf_t opf, unsigned int num_regions, in dispatch_io()
415 struct dm_io_region *where, blk_opf_t opf, struct dpages *dp, in sync_io()
449 struct dm_io_region *where, blk_opf_t opf, in async_io()
/linux-6.1.9/fs/nilfs2/
Dbtnode.h38 blk_opf_t, struct buffer_head **, sector_t *);
/linux-6.1.9/fs/iomap/
Ddirect-io.c55 struct iomap_dio *dio, unsigned short nr_vecs, blk_opf_t opf) in iomap_dio_alloc_bio()
215 static inline blk_opf_t iomap_dio_bio_opflags(struct iomap_dio *dio, in iomap_dio_bio_opflags()
218 blk_opf_t opflags = REQ_SYNC | REQ_IDLE; in iomap_dio_bio_opflags()
247 blk_opf_t bio_opf; in iomap_dio_bio_iter()
/linux-6.1.9/fs/gfs2/
Dlog.h85 blk_opf_t op_flags);
Dlops.h19 extern void gfs2_log_submit_bio(struct bio **biop, blk_opf_t opf);
/linux-6.1.9/fs/
Dbuffer.c55 static void submit_bh_wbc(blk_opf_t opf, struct buffer_head *bh,
1704 blk_opf_t write_flags = wbc_to_write_flags(wbc); in __block_write_full_page()
2659 static void submit_bh_wbc(blk_opf_t opf, struct buffer_head *bh, in submit_bh_wbc()
2705 void submit_bh(blk_opf_t opf, struct buffer_head *bh) in submit_bh()
2711 void write_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags) in write_dirty_buffer()
2729 int __sync_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags) in __sync_dirty_buffer()
2964 int __bh_read(struct buffer_head *bh, blk_opf_t op_flags, bool wait) in __bh_read()
2993 blk_opf_t op_flags, bool force_lock) in __bh_read_batch()
/linux-6.1.9/fs/btrfs/
Dcompression.h98 blk_opf_t write_flags,

1234