Searched refs:bdev_is_partition (Results 1 – 17 of 17) sorted by relevance
278 if (bdev_is_partition(bdev)) { in dasd_ioctl_format()305 if (bdev_is_partition(bdev)) { in dasd_ioctl_check_format()363 if (bdev_is_partition(bdev)) { in dasd_ioctl_release_space()410 if (bdev_is_partition(bdev)) { in dasd_ioctl_copy_pair_swap()589 if (bdev_is_partition(bdev)) in dasd_set_read_only()
300 bdev_is_partition(part) ? " " : "", in printk_all_partitions()305 if (bdev_is_partition(part)) in printk_all_partitions()
27 if (bdev_is_partition(bdev)) in blkpg_do_ioctl()263 if (bdev_is_partition(bdev)) in blkdev_pr_allowed()554 if (bdev_is_partition(bdev)) in blkdev_common_ioctl()
895 if (bdev_is_partition(part)) { in disk_has_partitions()971 if (bdev_is_partition(bdev)) in bdev_alignment_offset()982 if (bdev_is_partition(bdev)) in bdev_discard_alignment()
314 if (!bdev_is_partition(bdev)) { in bdev_free_inode()794 if (bdev_is_partition(bdev)) in blkdev_get_by_dev()897 if (bdev_is_partition(bdev)) in blkdev_put()
18 if (bdev_is_partition(bdev)) in bio_discard_limit()
329 if (bdev_is_partition(part) && !bdev_nr_sectors(part)) in disk_uevent()1245 if (bdev_is_partition(hd) && !bdev_nr_sectors(hd)) in diskstats_show()
780 if (bdev_is_partition(bdev)) { in blkg_conf_open_bdev()
170 if (bdev_is_partition(sb->s_bdev)) in nfsd4_block_proc_getdeviceinfo()310 if (bdev_is_partition(sb->s_bdev)) in nfsd4_scsi_proc_getdeviceinfo()
722 if (bdev_is_partition(bdev)) in nvme_ioctl()828 if (bdev_is_partition(bdev)) in nvme_ns_head_ioctl()
529 if (bdev_is_partition(bdev) && !capable(CAP_SYS_RAWIO)) in sr_block_ioctl()
1519 if (bdev_is_partition(bdev) && !capable(CAP_SYS_RAWIO)) in sd_ioctl()
1071 static inline bool bdev_is_partition(struct block_device *bdev) in bdev_is_partition() function
867 if (bdev_is_partition(bdev)) in device_is_rq_stackable()
566 if (bdev && !bdev_is_partition(bdev)) in do_blk_trace_setup()
346 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) { in xfs_setup_dax_always()
793 if (!capable(CAP_SYS_RAWIO) || bdev_is_partition(bdev)) in mmc_blk_check_blkdev()