Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/s390/block/
Ddasd_ioctl.c278 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()
/linux-6.6.21/block/
Dearly-lookup.c300 bdev_is_partition(part) ? " " : "", in printk_all_partitions()
305 if (bdev_is_partition(part)) in printk_all_partitions()
Dioctl.c27 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()
Dblk-settings.c895 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()
Dbdev.c314 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()
Dblk-lib.c18 if (bdev_is_partition(bdev)) in bio_discard_limit()
Dgenhd.c329 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()
Dblk-cgroup.c780 if (bdev_is_partition(bdev)) { in blkg_conf_open_bdev()
/linux-6.6.21/fs/nfsd/
Dblocklayout.c170 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()
/linux-6.6.21/drivers/nvme/host/
Dioctl.c722 if (bdev_is_partition(bdev)) in nvme_ioctl()
828 if (bdev_is_partition(bdev)) in nvme_ns_head_ioctl()
/linux-6.6.21/drivers/scsi/
Dsr.c529 if (bdev_is_partition(bdev) && !capable(CAP_SYS_RAWIO)) in sr_block_ioctl()
Dsd.c1519 if (bdev_is_partition(bdev) && !capable(CAP_SYS_RAWIO)) in sd_ioctl()
/linux-6.6.21/include/linux/
Dblkdev.h1071 static inline bool bdev_is_partition(struct block_device *bdev) in bdev_is_partition() function
/linux-6.6.21/drivers/md/
Ddm-table.c867 if (bdev_is_partition(bdev)) in device_is_rq_stackable()
/linux-6.6.21/kernel/trace/
Dblktrace.c566 if (bdev && !bdev_is_partition(bdev)) in do_blk_trace_setup()
/linux-6.6.21/fs/xfs/
Dxfs_super.c346 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) { in xfs_setup_dax_always()
/linux-6.6.21/drivers/mmc/core/
Dblock.c793 if (!capable(CAP_SYS_RAWIO) || bdev_is_partition(bdev)) in mmc_blk_check_blkdev()