/linux-6.1.9/block/ |
D | genhd.c | 60 struct block_device *bdev = disk->part0; in set_capacity() 370 if (disk->part0->bd_holder && disk->part0->bd_holder != owner) in disk_scan_partitions() 473 disk->part0->bd_holder_dir = in device_add_disk() 475 if (!disk->part0->bd_holder_dir) { in device_add_disk() 504 bdev_add(disk->part0, ddev->devt); in device_add_disk() 520 disk->part0->bd_dev = MKDEV(disk->major, disk->first_minor); in device_add_disk() 538 kobject_put(disk->part0->bd_holder_dir); in device_add_disk() 602 remove_inode_hash(disk->part0->bd_inode); in del_gendisk() 606 fsync_bdev(disk->part0); in del_gendisk() 607 __invalidate_device(disk->part0, true); in del_gendisk() [all …]
|
D | blk-flush.c | 148 struct block_device *part = rq->q->disk->part0; in blk_account_io_flush()
|
D | disk-events.c | 310 if (__invalidate_device(disk->part0, true)) in disk_force_media_change()
|
D | blk-sysfs.c | 333 return queue_var_show(bdev_max_open_zones(q->disk->part0), page); in queue_max_open_zones_show() 338 return queue_var_show(bdev_max_active_zones(q->disk->part0), page); in queue_max_active_zones_show()
|
D | blk-zoned.c | 66 if (bdev_op_is_zoned_write(rq->q->disk->part0, req_op(rq))) in blk_req_needs_zone_write_lock()
|
D | blk-mq.c | 980 rq->part = rq->q->disk->part0; in __blk_account_io_start() 3013 if (q->disk && should_fail_request(q->disk->part0, blk_rq_bytes(rq))) in blk_insert_cloned_request() 3081 bio = bio_alloc_clone(rq->q->disk->part0, bio_src, gfp_mask, in blk_rq_prep_clone()
|
/linux-6.1.9/drivers/md/ |
D | dm-zone.c | 299 md->disk->nr_zones = bdev_nr_zones(md->disk->part0); in dm_set_zones_restrictions() 332 sector_t sector = zno * bdev_zone_sectors(md->disk->part0); in dm_update_zone_wp_offset() 371 sector_t zsectors = bdev_zone_sectors(md->disk->part0); in dm_zone_map_bio_begin() 441 bdev_zone_sectors(md->disk->part0)); in dm_zone_map_bio_end() 606 (sector_t)bdev_zone_sectors(disk->part0) - 1; in dm_zone_endio()
|
D | dm.c | 639 clone->bi_bdev = md->disk->part0; in alloc_tio() 641 bio_set_dev(clone, md->disk->part0); in alloc_tio() 1548 bio_init(&flush_bio, ci->io->md->disk->part0, NULL, 0, in __send_empty_flush() 2649 r = freeze_bdev(md->disk->part0); in lock_fs() 2659 thaw_bdev(md->disk->part0); in unlock_fs()
|
D | md.c | 8449 curr_events = (int)part_stat_read_accum(disk->part0, sectors) - in is_mddev_idle()
|
/linux-6.1.9/include/linux/ |
D | blkdev.h | 137 struct block_device *part0; member 209 return !inode_unhashed(disk->part0->bd_inode); in disk_live() 224 return atomic_read(&disk->part0->bd_openers); in disk_openers() 234 (&((disk)->part0->bd_device)) 768 return disk->part0->bd_read_only || in get_disk_ro() 800 return bdev_nr_sectors(disk->part0); in get_capacity()
|
D | blk_types.h | 74 ((_bdev)->bd_disk->part0)
|
/linux-6.1.9/block/partitions/ |
D | mac.c | 136 note_bootable_part(state->disk->part0->bd_dev, found_root, in mac_partition()
|
D | core.c | 667 sync_blockdev(disk->part0); in bdev_disk_changed() 668 invalidate_bdev(disk->part0); in bdev_disk_changed() 709 struct address_space *mapping = state->disk->part0->bd_inode->i_mapping; in read_part_sector()
|
D | ibm.c | 294 struct block_device *bdev = disk->part0; in ibm_partition()
|
D | efi.c | 136 return div_u64(bdev_nr_bytes(disk->part0), in last_lba()
|
/linux-6.1.9/Documentation/devicetree/bindings/interrupt-controller/ |
D | arm,gic-v3.yaml | 280 part0: interrupt-partition-0 { 293 interrupts = <1 1 4 &part0>;
|
/linux-6.1.9/drivers/block/zram/ |
D | zram_drv.c | 1684 start_time = bdev_start_io_acct(bdev->bd_disk->part0, in zram_rw_page() 1687 bdev_end_io_acct(bdev->bd_disk->part0, op, start_time); in zram_rw_page() 1725 part_stat_set_all(zram->disk->part0, 0); in zram_reset_device() 1815 sync_blockdev(disk->part0); in reset_store() 2005 sync_blockdev(zram->disk->part0); in zram_remove()
|
/linux-6.1.9/drivers/nvme/host/ |
D | multipath.c | 104 bio_set_dev(bio, ns->head->disk->part0); in nvme_failover_req() 360 bio_set_dev(bio, ns->disk->part0); in nvme_ns_head_submit_bio()
|
D | ioctl.c | 93 struct block_device *bdev = ns ? ns->disk->part0 : NULL; in nvme_map_user_request()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/ |
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-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 880 unsigned int part0 = (u8 *)q->stat - (u8 *)sgl->sge, part1; in cxgb4_write_sgl() local 882 if (likely(part0)) in cxgb4_write_sgl() 883 memcpy(sgl->sge, buf, part0); in cxgb4_write_sgl() 885 memcpy(q->desc, (u8 *)buf + part0, part1); in cxgb4_write_sgl() 983 u32 part0 = (u8 *)q->stat - (u8 *)sgl->sge, part1; in cxgb4_write_partial_sgl() local 985 if (likely(part0)) in cxgb4_write_partial_sgl() 986 memcpy(sgl->sge, buf, part0); in cxgb4_write_partial_sgl() 988 memcpy(q->desc, (u8 *)buf + part0, part1); in cxgb4_write_partial_sgl()
|
/linux-6.1.9/drivers/block/null_blk/ |
D | zoned.c | 173 nullb->disk->nr_zones = bdev_nr_zones(nullb->disk->part0); in null_register_zoned_dev()
|
/linux-6.1.9/drivers/s390/block/ |
D | dasd_ioctl.c | 223 block->gdp->part0->bd_inode->i_blkbits = in dasd_format()
|
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_worker.c | 1680 (int)part_stat_read_accum(disk->part0, sectors); in drbd_rs_controller_reset()
|
D | drbd_receiver.c | 2752 curr_events = (int)part_stat_read_accum(disk->part0, sectors) - in drbd_rs_c_min_rate_throttle()
|