Home
last modified time | relevance | path

Searched refs:bd_disk (Results 1 – 12 of 12) sorted by relevance

/block/
Dblk-exec.c51 void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk, in blk_execute_rq_nowait() argument
61 rq->rq_disk = bd_disk; in blk_execute_rq_nowait()
109 int blk_execute_rq(struct request_queue *q, struct gendisk *bd_disk, in blk_execute_rq() argument
124 blk_execute_rq_nowait(q, bd_disk, rq, at_head, blk_end_sync_rq); in blk_execute_rq()
Dscsi_ioctl.c289 static int sg_io(struct request_queue *q, struct gendisk *bd_disk, in sg_io() argument
382 blk_execute_rq(q, bd_disk, rq, at_head); in sg_io()
547 static int __blk_send_generic(struct request_queue *q, struct gendisk *bd_disk, in __blk_send_generic() argument
561 err = blk_execute_rq(q, bd_disk, rq, 0); in __blk_send_generic()
568 struct gendisk *bd_disk, int data) in blk_send_start_stop() argument
570 return __blk_send_generic(q, bd_disk, GPCMD_START_STOP_UNIT, data); in blk_send_start_stop()
573 int scsi_cmd_ioctl(struct request_queue *q, struct gendisk *bd_disk, fmode_t mode, in scsi_cmd_ioctl() argument
615 err = sg_io(q, bd_disk, &hdr, mode); in scsi_cmd_ioctl()
663 err = sg_io(q, bd_disk, &hdr, mode); in scsi_cmd_ioctl()
687 err = sg_scsi_ioctl(q, bd_disk, mode, arg); in scsi_cmd_ioctl()
[all …]
Dioctl.c29 disk = bdev->bd_disk; in blkpg_ioctl()
155 struct gendisk *disk = bdev->bd_disk; in blkdev_reread_part()
237 struct gendisk *disk = bdev->bd_disk; in __blkdev_driver_ioctl()
277 struct gendisk *disk = bdev->bd_disk; in blkdev_ioctl()
Dbio-integrity.c226 iter.disk_name = bio->bi_bdev->bd_disk->disk_name; in bio_integrity_process()
Dblk-flush.c469 if (bdev->bd_disk == NULL) in blkdev_issue_flush()
Dblk-merge.c597 if (rq->rq_disk != bio->bi_bdev->bd_disk || req_no_special_merge(rq)) in blk_rq_merge_ok()
Dpartition-generic.c48 return disk_name(bdev->bd_disk, bdev->bd_part->partno, buf); in bdevname()
Dcompat_ioctl.c662 struct gendisk *disk = bdev->bd_disk; in compat_blkdev_ioctl()
Dblk-core.c2817 rq->rq_disk = bio->bi_bdev->bd_disk; in blk_rq_bio_prep()
/block/partitions/
Dcheck.h33 if (n >= get_capacity(state->bdev->bd_disk)) { in read_part_sector()
Dcmdline.c92 disk_size = get_capacity(state->bdev->bd_disk) << 9; in cmdline_partition()
Dacorn.c549 size = get_capacity(state->bdev->bd_disk); in adfspart_check_EESOX()