Home
last modified time | relevance | path

Searched refs:iars (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/block/
Dblk-ia-ranges.c91 struct blk_independent_access_ranges *iars = in blk_ia_ranges_sysfs_release() local
94 kfree(iars); in blk_ia_ranges_sysfs_release()
110 struct blk_independent_access_ranges *iars = disk->ia_ranges; in disk_register_independent_access_ranges() local
117 if (!iars) in disk_register_independent_access_ranges()
124 WARN_ON(iars->sysfs_registered); in disk_register_independent_access_ranges()
125 ret = kobject_init_and_add(&iars->kobj, &blk_ia_ranges_ktype, in disk_register_independent_access_ranges()
129 kobject_put(&iars->kobj); in disk_register_independent_access_ranges()
133 for (i = 0; i < iars->nr_ia_ranges; i++) { in disk_register_independent_access_ranges()
134 ret = kobject_init_and_add(&iars->ia_range[i].kobj, in disk_register_independent_access_ranges()
135 &blk_ia_range_ktype, &iars->kobj, in disk_register_independent_access_ranges()
[all …]
/linux-6.1.9/drivers/scsi/
Dsd.c3049 struct blk_independent_access_ranges *iars = NULL; in sd_read_cpr() local
3088 iars = disk_alloc_independent_access_ranges(sdkp->disk, nr_cpr); in sd_read_cpr()
3089 if (!iars) { in sd_read_cpr()
3103 iars->ia_range[i].sector = sd64_to_sectors(sdkp, desc + 8); in sd_read_cpr()
3104 iars->ia_range[i].nr_sectors = sd64_to_sectors(sdkp, desc + 16); in sd_read_cpr()
3108 disk_set_independent_access_ranges(sdkp->disk, iars); in sd_read_cpr()
/linux-6.1.9/include/linux/
Dblkdev.h964 struct blk_independent_access_ranges *iars);