Searched refs:btt_disk (Results 1 – 3 of 3) sorted by relevance
1524 btt->btt_disk = blk_alloc_disk(NUMA_NO_NODE); in btt_blk_init()1525 if (!btt->btt_disk) in btt_blk_init()1528 nvdimm_namespace_disk_name(ndns, btt->btt_disk->disk_name); in btt_blk_init()1529 btt->btt_disk->first_minor = 0; in btt_blk_init()1530 btt->btt_disk->fops = &btt_fops; in btt_blk_init()1531 btt->btt_disk->private_data = btt; in btt_blk_init()1533 blk_queue_logical_block_size(btt->btt_disk->queue, btt->sector_size); in btt_blk_init()1534 blk_queue_max_hw_sectors(btt->btt_disk->queue, UINT_MAX); in btt_blk_init()1535 blk_queue_flag_set(QUEUE_FLAG_NONROT, btt->btt_disk->queue); in btt_blk_init()1538 int rc = nd_integrity_init(btt->btt_disk, btt_meta_size(btt)); in btt_blk_init()[all …]
220 struct gendisk *btt_disk; member
606 nvdimm_check_and_set_ro(btt->btt_disk); in pmem_revalidate_region()