Searched refs:bdev_is_partition (Results 1 – 16 of 16) sorted by relevance
277 if (bdev_is_partition(bdev)) { in dasd_ioctl_format()304 if (bdev_is_partition(bdev)) { in dasd_ioctl_check_format()362 if (bdev_is_partition(bdev)) { in dasd_ioctl_release_space()409 if (bdev_is_partition(bdev)) { in dasd_ioctl_copy_pair_swap()588 if (bdev_is_partition(bdev)) in dasd_set_read_only()
169 if (bdev_is_partition(sb->s_bdev)) in nfsd4_block_proc_getdeviceinfo()308 if (bdev_is_partition(sb->s_bdev)) in nfsd4_scsi_proc_getdeviceinfo()
886 if (bdev_is_partition(part)) { in disk_has_partitions()961 if (bdev_is_partition(bdev)) in bdev_alignment_offset()972 if (bdev_is_partition(bdev)) in bdev_discard_alignment()
409 if (!bdev_is_partition(bdev)) { in bdev_free_inode()819 if (bdev_is_partition(bdev)) in blkdev_get_by_dev()950 if (bdev_is_partition(bdev)) in blkdev_put()
345 if (bdev_is_partition(part) && !bdev_nr_sectors(part)) in disk_uevent()776 bdev_is_partition(part) ? " " : "", in printk_all_partitions()781 if (bdev_is_partition(part)) in printk_all_partitions()1244 if (bdev_is_partition(hd) && !bdev_nr_sectors(hd)) in diskstats_show()
27 if (bdev_is_partition(bdev)) in blkpg_do_ioctl()529 if (bdev_is_partition(bdev)) in blkdev_common_ioctl()
18 if (bdev_is_partition(bdev)) in bio_discard_limit()
624 if (bdev_is_partition(bdev)) { in blkcg_conf_open_bdev()
526 if (bdev_is_partition(bdev) && !capable(CAP_SYS_RAWIO)) in sr_block_ioctl()
1448 if (bdev_is_partition(bdev) && !capable(CAP_SYS_RAWIO)) in sd_ioctl()
1103 static inline bool bdev_is_partition(struct block_device *bdev) in bdev_is_partition() function
566 if (bdev && !bdev_is_partition(bdev)) in do_blk_trace_setup()
355 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) { in xfs_setup_dax_always()
851 if (bdev_is_partition(bdev)) in device_is_rq_stackable()
1690 ASSERT(!bdev_is_partition(ordered->bdev)); in btrfs_rewrite_logical_zoned()
758 if (!capable(CAP_SYS_RAWIO) || bdev_is_partition(bdev)) in mmc_blk_check_blkdev()