/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-floppy.c | 138 unsigned int done = blk_rq_bytes(drive->hwif->rq); in ide_floppy_issue_pc() 223 if (blk_rq_bytes(rq)) { in idefloppy_blockpc_cmd() 253 ide_complete_rq(drive, BLK_STS_OK, blk_rq_bytes(rq)); in ide_floppy_do_request() 296 if (!blk_rq_is_passthrough(rq) || blk_rq_bytes(rq)) { in ide_floppy_do_request() 297 ide_init_sg_cmd(&cmd, blk_rq_bytes(rq)); in ide_floppy_do_request() 308 ide_complete_rq(drive, BLK_STS_IOERR, blk_rq_bytes(rq)); in ide_floppy_do_request()
|
D | ide-atapi.c | 292 ide_complete_rq(drive, BLK_STS_IOERR, blk_rq_bytes(failed_rq)); in ide_retry_pc() 335 return blk_rq_bytes(rq); in ide_cd_get_xferlen() 341 return blk_rq_bytes(rq); in ide_cd_get_xferlen() 459 blk_rq_bytes(rq)); in ide_pc_intr() 499 done = blk_rq_bytes(rq); in ide_pc_intr() 520 ide_complete_rq(drive, error, blk_rq_bytes(rq)); in ide_pc_intr() 719 bytes = blk_rq_bytes(rq); in ide_issue_pc()
|
D | ide-io.c | 162 ide_complete_rq(drive, BLK_STS_IOERR, blk_rq_bytes(rq)); in ide_kill_rq() 240 if (blk_rq_bytes(rq) && (blk_rq_bytes(rq) & rq->q->dma_pad_mask)) in ide_map_sg() 242 (rq->q->dma_pad_mask & ~blk_rq_bytes(rq)) + 1; in ide_map_sg() 288 ide_complete_rq(drive, BLK_STS_OK, blk_rq_bytes(rq)); in execute_drive_cmd() 527 scsi_req(rq)->resid_len = blk_rq_bytes(rq); in ide_issue_rq()
|
D | ide-eh.c | 139 ide_complete_rq(drive, err ? BLK_STS_IOERR : BLK_STS_OK, blk_rq_bytes(rq)); in ide_error() 155 ide_complete_rq(drive, err, blk_rq_bytes(rq)); in ide_complete_drive_reset()
|
D | ide-devsets.c | 190 ide_complete_rq(drive, 0, blk_rq_bytes(rq)); in ide_do_devset()
|
D | ide-cd.c | 232 if (ide_end_rq(drive, failed, BLK_STS_IOERR, blk_rq_bytes(failed))) in ide_cd_complete_failed_rq() 791 ide_complete_rq(drive, uptodate ? BLK_STS_OK : BLK_STS_IOERR, blk_rq_bytes(rq)); in cdrom_newpc_intr() 870 || blk_rq_bytes(rq) & q->dma_pad_mask in cdrom_do_block_pc() 926 if (!blk_rq_is_passthrough(rq) || blk_rq_bytes(rq)) { in ide_cd_do_request() 927 ide_init_sg_cmd(&cmd, blk_rq_bytes(rq)); in ide_cd_do_request()
|
D | ide-tape.c | 320 (blk_rq_bytes(rq) - scsi_req(rq)->resid_len)) in idetape_analyze_error() 352 (blk_rq_bytes(rq) - scsi_req(rq)->resid_len) / tape->blk_size; in ide_tape_callback() 478 ide_complete_rq(drive, BLK_STS_IOERR, blk_rq_bytes(rq)); in ide_tape_issue_pc() 554 if (blk_rq_bytes(rq) == tape->buffer_size) in ide_tape_create_rw_cmd() 665 ide_init_sg_cmd(&cmd, blk_rq_bytes(rq)); in idetape_do_request()
|
D | ide-taskfile.c | 331 ide_complete_rq(drive, err ? BLK_STS_IOERR : BLK_STS_OK, blk_rq_bytes(rq)); in ide_finish_cmd()
|
/kernel/linux/linux-5.10/block/ |
D | blk-crypto-internal.h | 34 return bio_crypt_ctx_mergeable(req->crypt_ctx, blk_rq_bytes(req), in bio_crypt_ctx_back_mergeable() 48 return bio_crypt_ctx_mergeable(req->crypt_ctx, blk_rq_bytes(req), in bio_crypt_ctx_merge_rq()
|
D | blk-core.c | 276 rq->bio, rq->biotail, blk_rq_bytes(rq)); in blk_dump_rq_flags() 1193 should_fail_request(&rq->rq_disk->part0, blk_rq_bytes(rq))) in blk_insert_cloned_request() 1231 return blk_rq_bytes(rq); in blk_rq_err_bytes() 1247 BUG_ON(blk_rq_bytes(rq) && !bytes); in blk_rq_err_bytes() 1495 if (blk_rq_bytes(req) < blk_rq_cur_bytes(req)) { in blk_update_request() 1620 rq->__data_len = blk_rq_bytes(rq_src); in blk_rq_prep_clone()
|
D | bsg-lib.c | 215 buf->payload_len = blk_rq_bytes(req); in bsg_map_buffer()
|
D | blk-merge.c | 792 req->__data_len += blk_rq_bytes(next); in attempt_merge()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | block.h | 93 blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, blk_rq_bytes(rq)); 168 __entry->bytes = blk_rq_bytes(rq); 170 blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, blk_rq_bytes(rq)); 641 blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, blk_rq_bytes(rq));
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_lib.c | 870 } else if (blk_rq_bytes(req) == 0 && sense_current) { in scsi_io_completion_nz_result() 966 if (likely(blk_rq_bytes(req) > 0 || blk_stat == BLK_STS_OK)) { in scsi_io_completion() 973 if (scsi_end_request(req, blk_stat, blk_rq_bytes(req))) in scsi_io_completion() 1039 if (blk_rq_bytes(rq) & rq->q->dma_pad_mask) { in scsi_alloc_sgtables() 1041 (rq->q->dma_pad_mask & ~blk_rq_bytes(rq)) + 1; in scsi_alloc_sgtables() 1190 BUG_ON(blk_rq_bytes(req)); in scsi_setup_scsi_cmnd() 1197 cmd->transfersize = blk_rq_bytes(req); in scsi_setup_scsi_cmnd() 1559 if (blk_rq_bytes(req)) in scsi_prepare_cmd()
|
D | sd_zbc.c | 461 scsi_set_resid(cmd, blk_rq_bytes(rq)); in sd_zbc_zone_wp_update()
|
D | sd.c | 1113 rq->__data_len = blk_rq_bytes(rq); in sd_setup_write_same_cmnd() 2057 good_bytes = blk_rq_bytes(req); in sd_done() 2061 scsi_set_resid(SCpnt, blk_rq_bytes(req)); in sd_done()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | blktrace.c | 852 blk_add_trace_rq(rq, 0, blk_rq_bytes(rq), BLK_TA_INSERT, in blk_add_trace_rq_insert() 859 blk_add_trace_rq(rq, 0, blk_rq_bytes(rq), BLK_TA_ISSUE, in blk_add_trace_rq_issue() 866 blk_add_trace_rq(rq, 0, blk_rq_bytes(rq), BLK_TA_BACKMERGE, in blk_add_trace_rq_merge() 874 blk_add_trace_rq(rq, 0, blk_rq_bytes(rq), BLK_TA_REQUEUE, in blk_add_trace_rq_requeue() 1109 __blk_add_trace(bt, blk_rq_pos(rq), blk_rq_bytes(rq), in blk_add_trace_rq_remap() 1139 __blk_add_trace(bt, blk_rq_trace_sector(rq), blk_rq_bytes(rq), 0, 0, in blk_add_driver_data()
|
/kernel/linux/linux-5.10/include/linux/ |
D | blkdev.h | 1007 static inline unsigned int blk_rq_bytes(const struct request *rq) in blk_rq_bytes() function 1021 return blk_rq_bytes(rq) >> SECTOR_SHIFT; in blk_rq_sectors() 1060 return blk_rq_bytes(rq); in blk_rq_payload_bytes()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | block.c | 191 to_read = blk_rq_bytes(req); in ubiblock_read()
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
D | scm_blk.c | 190 aidaw = scm_aidaw_fetch(scmrq, blk_rq_bytes(req)); in scm_request_prepare()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | loop.c | 440 ret = file->f_op->fallocate(file, mode, pos, blk_rq_bytes(rq)); in lo_fallocate() 462 if (!cmd->use_aio || cmd->ret < 0 || cmd->ret == blk_rq_bytes(rq) || in lo_complete_rq() 562 iov_iter_bvec(&iter, rw, bvec, nr_bvec, blk_rq_bytes(rq)); in lo_rw_aio()
|
D | nbd.c | 454 blk_rq_bytes(req), (req->timeout / HZ) * cmd->retries); in nbd_xmit_timeout() 550 unsigned long size = blk_rq_bytes(req); in nbd_send_cmd() 605 (unsigned long long)blk_rq_pos(req) << 9, blk_rq_bytes(req)); in nbd_send_cmd()
|
D | null_blk_main.c | 1159 null_handle_discard(nullb, sector, blk_rq_bytes(rq)); in null_handle_rq() 1240 if (atomic_long_sub_return(blk_rq_bytes(rq), &nullb->cur_bytes) < 0) { in null_handle_throttled()
|
/kernel/linux/linux-5.10/drivers/memstick/core/ |
D | mspro_block.c | 723 count = blk_rq_bytes(msb->block_req); in mspro_block_issue_req() 767 t_len = blk_rq_bytes(msb->block_req); in mspro_block_complete_req()
|
D | ms_block.c | 1907 blk_rq_bytes(req), &len); in msb_io_work() 1910 blk_rq_bytes(req), &len); in msb_io_work()
|