Home
last modified time | relevance | path

Searched refs:bdev_is_partition (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/s390/block/
Ddasd_ioctl.c277 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()
/linux-6.1.9/fs/nfsd/
Dblocklayout.c169 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()
/linux-6.1.9/block/
Dblk-settings.c886 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()
Dbdev.c409 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()
Dgenhd.c345 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()
Dioctl.c27 if (bdev_is_partition(bdev)) in blkpg_do_ioctl()
529 if (bdev_is_partition(bdev)) in blkdev_common_ioctl()
Dblk-lib.c18 if (bdev_is_partition(bdev)) in bio_discard_limit()
Dblk-cgroup.c624 if (bdev_is_partition(bdev)) { in blkcg_conf_open_bdev()
/linux-6.1.9/drivers/scsi/
Dsr.c526 if (bdev_is_partition(bdev) && !capable(CAP_SYS_RAWIO)) in sr_block_ioctl()
Dsd.c1448 if (bdev_is_partition(bdev) && !capable(CAP_SYS_RAWIO)) in sd_ioctl()
/linux-6.1.9/include/linux/
Dblkdev.h1103 static inline bool bdev_is_partition(struct block_device *bdev) in bdev_is_partition() function
/linux-6.1.9/kernel/trace/
Dblktrace.c566 if (bdev && !bdev_is_partition(bdev)) in do_blk_trace_setup()
/linux-6.1.9/fs/xfs/
Dxfs_super.c355 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) { in xfs_setup_dax_always()
/linux-6.1.9/drivers/md/
Ddm-table.c851 if (bdev_is_partition(bdev)) in device_is_rq_stackable()
/linux-6.1.9/fs/btrfs/
Dzoned.c1690 ASSERT(!bdev_is_partition(ordered->bdev)); in btrfs_rewrite_logical_zoned()
/linux-6.1.9/drivers/mmc/core/
Dblock.c758 if (!capable(CAP_SYS_RAWIO) || bdev_is_partition(bdev)) in mmc_blk_check_blkdev()