Home
last modified time | relevance | path

Searched refs:opf (Results 1 - 25 of 58) sorted by relevance

123

/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dvisemul.c294 static void edge(struct pt_regs *regs, unsigned int insn, unsigned int opf) in edge() argument
307 switch (opf) { in edge()
352 switch (opf) { in edge()
372 static void array(struct pt_regs *regs, unsigned int insn, unsigned int opf) in array() argument
394 switch (opf) { in array()
477 static void pformat(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pformat() argument
483 scale = (gsr >> 3) & (opf == FPACK16_OPF ? 0xf : 0x1f); in pformat()
484 switch (opf) { in pformat()
589 static void pmul(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pmul() argument
594 switch (opf) { in pmul()
705 pcmp(struct pt_regs *regs, unsigned int insn, unsigned int opf) pcmp() argument
807 unsigned int opf; vis_emul() local
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dvisemul.c294 static void edge(struct pt_regs *regs, unsigned int insn, unsigned int opf) in edge() argument
307 switch (opf) { in edge()
352 switch (opf) { in edge()
372 static void array(struct pt_regs *regs, unsigned int insn, unsigned int opf) in array() argument
394 switch (opf) { in array()
477 static void pformat(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pformat() argument
483 scale = (gsr >> 3) & (opf == FPACK16_OPF ? 0xf : 0x1f); in pformat()
484 switch (opf) { in pformat()
589 static void pmul(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pmul() argument
594 switch (opf) { in pmul()
705 pcmp(struct pt_regs *regs, unsigned int insn, unsigned int opf) pcmp() argument
807 unsigned int opf; vis_emul() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-io.c306 static void do_region(const blk_opf_t opf, unsigned int region, in do_region() argument
319 const enum req_op op = opf & REQ_OP_MASK; in do_region()
353 bio = bio_alloc_bioset(where->bdev, num_bvecs, opf, GFP_NOIO, in do_region()
385 static void dispatch_io(blk_opf_t opf, unsigned int num_regions, in dispatch_io() argument
395 opf |= REQ_SYNC; in dispatch_io()
403 if (where[i].count || (opf & REQ_PREFLUSH)) in dispatch_io()
404 do_region(opf, i, where + i, dp, io, ioprio); in dispatch_io()
428 struct dm_io_region *where, blk_opf_t opf, struct dpages *dp, in sync_io()
434 if (num_regions > 1 && !op_is_write(opf)) { in sync_io()
451 dispatch_io(opf, num_region in sync_io()
427 sync_io(struct dm_io_client *client, unsigned int num_regions, struct dm_io_region *where, blk_opf_t opf, struct dpages *dp, unsigned long *error_bits, unsigned short ioprio) sync_io() argument
461 async_io(struct dm_io_client *client, unsigned int num_regions, struct dm_io_region *where, blk_opf_t opf, struct dpages *dp, io_notify_fn fn, void *context, unsigned short ioprio) async_io() argument
[all...]
H A Ddm-snap-persistent.c232 static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, blk_opf_t opf, in chunk_io() argument
241 .bi_opf = opf, in chunk_io()
288 static int area_io(struct pstore *ps, blk_opf_t opf) in area_io() argument
292 return chunk_io(ps, ps->area, chunk, opf, 0); in area_io()
/kernel/linux/linux-6.6/block/
H A Dblk-cgroup-rwstat.h62 blk_opf_t opf, uint64_t val) in blkg_rwstat_add()
66 if (op_is_discard(opf)) in blkg_rwstat_add()
68 else if (op_is_write(opf)) in blkg_rwstat_add()
75 if (op_is_sync(opf)) in blkg_rwstat_add()
61 blkg_rwstat_add(struct blkg_rwstat *rwstat, blk_opf_t opf, uint64_t val) blkg_rwstat_add() argument
H A Dblk-wbt.c534 static inline unsigned int get_limit(struct rq_wb *rwb, blk_opf_t opf) in get_limit() argument
538 if ((opf & REQ_OP_MASK) == REQ_OP_DISCARD) in get_limit()
549 if ((opf & REQ_HIPRIO) || wb_recent_wait(rwb) || current_is_kswapd()) in get_limit()
551 else if ((opf & REQ_BACKGROUND) || close_io(rwb)) { in get_limit()
566 blk_opf_t opf; member
572 return rq_wait_inc_below(rqw, get_limit(data->rwb, data->opf)); in wbt_inflight_cb()
586 blk_opf_t opf) in __wbt_wait()
592 .opf = opf, in __wbt_wait()
585 __wbt_wait(struct rq_wb *rwb, enum wbt_flags wb_acct, blk_opf_t opf) __wbt_wait() argument
H A Dbio.c247 unsigned short max_vecs, blk_opf_t opf) in bio_init()
251 bio->bi_opf = opf; in bio_init()
292 * @opf: operation and flags for bio
300 void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf) in bio_reset() argument
308 bio->bi_opf = opf; in bio_reset()
349 unsigned int nr_pages, blk_opf_t opf, gfp_t gfp) in blk_next_bio()
351 struct bio *new = bio_alloc(bdev, nr_pages, opf, gfp); in blk_next_bio()
433 unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp, in bio_alloc_percpu_cache()
453 bio_init(bio, bdev, nr_vecs ? bio->bi_inline_vecs : NULL, nr_vecs, opf); in bio_alloc_percpu_cache()
462 * @opf
246 bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, unsigned short max_vecs, blk_opf_t opf) bio_init() argument
348 blk_next_bio(struct bio *bio, struct block_device *bdev, unsigned int nr_pages, blk_opf_t opf, gfp_t gfp) blk_next_bio() argument
432 bio_alloc_percpu_cache(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp, struct bio_set *bs) bio_alloc_percpu_cache() argument
492 bio_alloc_bioset(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask, struct bio_set *bs) bio_alloc_bioset() argument
[all...]
H A Dblk-mq.h85 static inline enum hctx_type blk_mq_get_hctx_type(blk_opf_t opf) in blk_mq_get_hctx_type() argument
92 if (opf & REQ_POLLED) in blk_mq_get_hctx_type()
94 else if ((opf & REQ_OP_MASK) == REQ_OP_READ) in blk_mq_get_hctx_type()
102 * @opf: operation type (REQ_OP_*) and flags (e.g. REQ_POLLED).
106 blk_opf_t opf, in blk_mq_map_queue()
109 return ctx->hctxs[blk_mq_get_hctx_type(opf)]; in blk_mq_map_queue()
105 blk_mq_map_queue(struct request_queue *q, blk_opf_t opf, struct blk_mq_ctx *ctx) blk_mq_map_queue() argument
H A Dfops.c29 blk_opf_t opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in dio_bio_write_op() local
33 opf |= REQ_FUA; in dio_bio_write_op()
34 return opf; in dio_bio_write_op()
170 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO() local
178 opf |= REQ_ALLOC_CACHE; in __blkdev_direct_IO()
179 bio = bio_alloc_bioset(bdev, nr_pages, opf, GFP_KERNEL, in __blkdev_direct_IO()
251 bio = bio_alloc(bdev, nr_pages, opf, GFP_KERNEL); in __blkdev_direct_IO()
307 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async() local
317 opf |= REQ_ALLOC_CACHE; in __blkdev_direct_IO_async()
318 bio = bio_alloc_bioset(bdev, nr_pages, opf, GFP_KERNE in __blkdev_direct_IO_async()
[all...]
H A Dbfq-cgroup.c223 blk_opf_t opf) in bfqg_stats_update_io_add()
225 blkg_rwstat_add(&bfqg->stats.queued, opf, 1); 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() argument
233 blkg_rwstat_add(&bfqg->stats.queued, opf, -1); 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() argument
238 blkg_rwstat_add(&bfqg->stats.merged, opf, 1); in bfqg_stats_update_io_merged()
242 u64 io_start_time_ns, blk_opf_t opf) in bfqg_stats_update_completion()
248 blkg_rwstat_add(&stats->service_time, opf, in bfqg_stats_update_completion()
251 blkg_rwstat_add(&stats->wait_time, 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() argument
222 bfqg_stats_update_io_add(struct bfq_group *bfqg, struct bfq_queue *bfqq, blk_opf_t opf) bfqg_stats_update_io_add() argument
241 bfqg_stats_update_completion(struct bfq_group *bfqg, u64 start_time_ns, u64 io_start_time_ns, blk_opf_t opf) bfqg_stats_update_completion() argument
258 bfqg_stats_update_io_merged(struct bfq_group *bfqg, blk_opf_t opf) bfqg_stats_update_io_merged() argument
259 bfqg_stats_update_completion(struct bfq_group *bfqg, u64 start_time_ns, u64 io_start_time_ns, blk_opf_t opf) bfqg_stats_update_completion() argument
[all...]
H A Dbfq-iosched.h1071 void bfqg_stats_update_io_remove(struct bfq_group *bfqg, blk_opf_t opf);
1072 void bfqg_stats_update_io_merged(struct bfq_group *bfqg, blk_opf_t opf);
1074 u64 io_start_time_ns, blk_opf_t opf);
1082 blk_opf_t opf);
/kernel/linux/linux-6.6/drivers/scsi/device_handler/
H A Dscsi_dh_hp_sw.c86 blk_opf_t opf = REQ_OP_DRV_IN | REQ_FAILFAST_DEV | in hp_sw_tur() local
93 res = scsi_execute_cmd(sdev, cmd, opf, NULL, 0, HP_SW_TIMEOUT, in hp_sw_tur()
127 blk_opf_t opf = REQ_OP_DRV_IN | REQ_FAILFAST_DEV | in hp_sw_start_stop() local
134 res = scsi_execute_cmd(sdev, cmd, opf, NULL, 0, HP_SW_TIMEOUT, in hp_sw_start_stop()
/kernel/linux/linux-6.6/fs/
H A Ddirect-io.c119 blk_opf_t opf; /* request operation type and flags */ member
170 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_refill_pages()
247 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_complete()
337 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_bio_end_aio()
405 bio = bio_alloc(bdev, nr_vecs, dio->opf, GFP_KERNEL); in dio_bio_alloc()
426 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_bio_submit()
501 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_bio_complete()
605 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in get_more_blocks()
788 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in submit_page_section()
905 const enum req_op dio_op = dio->opf in do_direct_IO()
[all...]
H A Dmpage.c176 blk_opf_t opf = REQ_OP_READ; in do_mpage_readpage() local
185 opf |= REQ_RAHEAD; in do_mpage_readpage()
298 args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), opf, in do_mpage_readpage()
/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dio-cmd-bdev.c247 blk_opf_t opf; in nvmet_bdev_execute_rw() local
262 opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in nvmet_bdev_execute_rw()
264 opf |= REQ_FUA; in nvmet_bdev_execute_rw()
267 opf = REQ_OP_READ; in nvmet_bdev_execute_rw()
272 opf |= REQ_NOMERGE; in nvmet_bdev_execute_rw()
279 ARRAY_SIZE(req->inline_bvec), opf); in nvmet_bdev_execute_rw()
281 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), opf, in nvmet_bdev_execute_rw()
308 opf, GFP_KERNEL); in nvmet_bdev_execute_rw()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_iblock.c355 blk_opf_t opf) in iblock_get_bio()
364 bio = bio_alloc_bioset(ib_dev->ibd_bd, bio_max_segs(sg_num), opf, in iblock_get_bio()
734 blk_opf_t opf; in iblock_execute_rw() local
747 opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in iblock_execute_rw()
755 opf |= REQ_FUA; in iblock_execute_rw()
757 opf |= REQ_FUA; in iblock_execute_rw()
760 opf = REQ_OP_READ; in iblock_execute_rw()
775 bio = iblock_get_bio(cmd, block_lba, sgl_nents, opf); in iblock_execute_rw()
808 bio = iblock_get_bio(cmd, block_lba, sg_num, opf); in iblock_execute_rw()
354 iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num, blk_opf_t opf) iblock_get_bio() argument
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dwrapper.c48 void *buf, void **data, blk_opf_t opf) in hfsplus_submit_bio()
50 const enum req_op op = opf & REQ_OP_MASK; in hfsplus_submit_bio()
67 bio = bio_alloc(sb->s_bdev, 1, opf, GFP_NOIO); in hfsplus_submit_bio()
47 hfsplus_submit_bio(struct super_block *sb, sector_t sector, void *buf, void **data, blk_opf_t opf) hfsplus_submit_bio() argument
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dbtnode.c73 sector_t pblocknr, blk_opf_t opf, in nilfs_btnode_submit_block()
106 if (opf & REQ_RAHEAD) { in nilfs_btnode_submit_block()
112 } else { /* opf == REQ_OP_READ */ in nilfs_btnode_submit_block()
125 submit_bh(opf, bh); in nilfs_btnode_submit_block()
72 nilfs_btnode_submit_block(struct address_space *btnc, __u64 blocknr, sector_t pblocknr, blk_opf_t opf, struct buffer_head **pbh, sector_t *submit_ptr) nilfs_btnode_submit_block() argument
H A Dmdt.c114 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, blk_opf_t opf, in nilfs_mdt_submit_block() argument
129 if (opf & REQ_RAHEAD) { in nilfs_mdt_submit_block()
134 } else /* opf == REQ_OP_READ */ in nilfs_mdt_submit_block()
151 submit_bh(opf, bh); in nilfs_mdt_submit_block()
155 opf & REQ_OP_MASK); in nilfs_mdt_submit_block()
/kernel/linux/linux-6.6/include/linux/
H A Dbio.h420 blk_opf_t opf, gfp_t gfp_mask,
433 unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask) in bio_alloc()
435 return bio_alloc_bioset(bdev, nr_vecs, opf, gfp_mask, &fs_bio_set); in bio_alloc()
471 unsigned short max_vecs, blk_opf_t opf);
473 void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf);
817 unsigned int nr_pages, blk_opf_t opf, gfp_t gfp);
432 bio_alloc(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask) bio_alloc() argument
/kernel/linux/linux-6.6/kernel/trace/
H A Dblktrace.c216 const blk_opf_t opf, u32 what, int error, in __blk_add_trace()
230 const enum req_op op = opf & REQ_OP_MASK; in __blk_add_trace()
236 what |= MASK_TC_BIT(opf, SYNC); in __blk_add_trace()
237 what |= MASK_TC_BIT(opf, RAHEAD); in __blk_add_trace()
238 what |= MASK_TC_BIT(opf, META); in __blk_add_trace()
239 what |= MASK_TC_BIT(opf, PREFLUSH); in __blk_add_trace()
240 what |= MASK_TC_BIT(opf, FUA); in __blk_add_trace()
1869 * @opf: request operation type (REQ_OP_XXX) and flags for the tracepoint
1876 void blk_fill_rwbs(char *rwbs, blk_opf_t opf) in blk_fill_rwbs() argument
1880 if (opf in blk_fill_rwbs()
215 __blk_add_trace(struct blk_trace *bt, sector_t sector, int bytes, const blk_opf_t opf, u32 what, int error, int pdu_len, void *pdu_data, u64 cgid) __blk_add_trace() argument
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Dbrd.c211 unsigned int len, unsigned int off, blk_opf_t opf, in brd_do_bvec()
217 if (op_is_write(opf)) { in brd_do_bvec()
222 gfp_t gfp = opf & REQ_NOWAIT ? GFP_NOWAIT : GFP_NOIO; in brd_do_bvec()
230 if (!op_is_write(opf)) { in brd_do_bvec()
210 brd_do_bvec(struct brd_device *brd, struct page *page, unsigned int len, unsigned int off, blk_opf_t opf, sector_t sector) brd_do_bvec() argument
/kernel/linux/linux-6.6/fs/btrfs/
H A Dbio.h97 struct btrfs_bio *btrfs_bio_alloc(unsigned int nr_vecs, blk_opf_t opf,
/kernel/linux/linux-6.6/fs/gfs2/
H A Dlops.h19 extern void gfs2_log_submit_bio(struct bio **biop, blk_opf_t opf);
/kernel/linux/linux-5.10/fs/gfs2/
H A Dlops.h26 extern void gfs2_log_submit_bio(struct bio **biop, int opf);

Completed in 35 milliseconds

123