| /linux/block/partitions/ |
| H A D | core.c | 313 if (bdev_is_zoned(disk->part0)) { in add_partition() 609 if (bdev_is_zoned(disk->part0)) { in blk_add_partitions() 656 sync_blockdev(disk->part0); in bdev_disk_changed() 657 invalidate_bdev(disk->part0); in bdev_disk_changed() 714 struct address_space *mapping = state->disk->part0->bd_mapping; in read_part_sector()
|
| H A D | mac.c | 150 note_bootable_part(state->disk->part0->bd_dev, found_root, in mac_partition()
|
| /linux/drivers/nvme/host/ |
| H A D | multipath.c | 158 bio_set_dev(bio, ns->head->disk->part0); in nvme_failover_req() 196 nvme_req(rq)->start_time = bdev_start_io_acct(disk->part0, req_op(rq), in nvme_mpath_start_request() 210 bdev_end_io_acct(ns->head->disk->part0, req_op(rq), in nvme_mpath_end_request() 530 bio_set_dev(bio, ns->disk->part0); in nvme_ns_head_submit_bio()
|
| H A D | ioctl.c | 121 struct block_device *bdev = ns ? ns->disk->part0 : NULL; in nvme_map_user_request()
|
| /linux/include/linux/ |
| H A D | blk_types.h | 85 ((_bdev)->bd_disk->part0)
|
| /linux/block/ |
| H A D | disk-events.c | 298 bdev_mark_dead(disk->part0, true); in disk_force_media_change()
|
| H A D | blk-flush.c | 126 struct block_device *part = rq->q->disk->part0; in blk_account_io_flush()
|
| H A D | bdev.c | 493 if (partno && bdev_test_flag(disk->part0, BD_HAS_SUBMIT_BIO)) in bdev_alloc() 1366 return !inode_unhashed(BD_INODE(disk->part0)); in disk_live()
|
| H A D | blk-map.c | 48 struct block_device *bdev = rq->q->disk ? rq->q->disk->part0 : NULL; in blk_rq_map_bio_alloc()
|
| H A D | blk-mq.c | 1133 req->part = req->q->disk->part0; in blk_account_io_start() 3298 if (q->disk && should_fail_request(q->disk->part0, blk_rq_bytes(rq))) in blk_insert_cloned_request() 3367 struct bio *bio = bio_alloc_clone(rq->q->disk->part0, bio_src, in blk_rq_prep_clone()
|
| H A D | blk-zoned.c | 704 zwplug->wp_offset = bdev_offset_from_zone_start(disk->part0, sector); in disk_get_and_lock_zone_wplug()
|
| /linux/drivers/md/ |
| H A D | dm-zone.c | 474 bdev_offset_from_zone_start(disk->part0, in dm_zone_endio()
|
| H A D | dm.c | 646 clone->bi_bdev = md->disk->part0; in alloc_tio() 648 bio_set_dev(clone, md->disk->part0); in alloc_tio() 1541 bio_init(&flush_bio, ci->io->md->disk->part0, NULL, 0, opf); in __send_empty_flush() 2917 r = bdev_freeze(md->disk->part0); in lock_fs() 2927 bdev_thaw(md->disk->part0); in unlock_fs()
|
| H A D | dm-verity-target.c | 1763 bdev = dm_disk(dm_table_get_md(ti->table))->part0; in verity_preresume()
|
| H A D | md.c | 563 sync_blockdev(mddev->gendisk->part0); in mddev_set_closing_and_sync_blockdev() 9030 rdev->last_events = part_stat_read_accum(rdev->bdev->bd_disk->part0, in is_rdev_holder_idle() 9057 mddev->normal_io_events = part_stat_read_accum(disk->part0, sectors); in is_mddev_idle() 9059 bdev_count_inflight(disk->part0))) in is_mddev_idle()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | sge.c | 944 unsigned int part0 = (u8 *)tq->stat - (u8 *)sgl->sge, part1; in write_sgl() local 946 if (likely(part0)) in write_sgl() 947 memcpy(sgl->sge, buf, part0); in write_sgl() 949 memcpy(tq->desc, (u8 *)buf + part0, part1); in write_sgl()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | sge.c | 866 unsigned int part0 = (u8 *)q->stat - (u8 *)sgl->sge, part1; in cxgb4_write_sgl() local 868 if (likely(part0)) in cxgb4_write_sgl() 869 memcpy(sgl->sge, buf, part0); in cxgb4_write_sgl() 871 memcpy(q->desc, (u8 *)buf + part0, part1); in cxgb4_write_sgl() 969 u32 part0 = (u8 *)q->stat - (u8 *)sgl->sge, part1; in cxgb4_write_partial_sgl() local 971 if (likely(part0)) in cxgb4_write_partial_sgl() 972 memcpy(sgl->sge, buf, part0); in cxgb4_write_partial_sgl() 974 memcpy(q->desc, (u8 *)buf + part0, part1); in cxgb4_write_partial_sgl()
|
| /linux/drivers/block/zram/ |
| H A D | zram_drv.c | 2736 part_stat_set_all(zram->disk->part0, 0); in zram_reset_device() 2836 sync_blockdev(disk->part0); in reset_store() 3029 sync_blockdev(zram->disk->part0); in zram_remove()
|
| /linux/drivers/block/ |
| H A D | ataflop.c | 1765 bdev_mark_dead(disk->part0, true); in fd_locked_ioctl()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_worker.c | 1667 (int)part_stat_read_accum(disk->part0, sectors); in drbd_rs_controller_reset()
|