Home
last modified time | relevance | path

Searched refs:zone_no (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/block/null_blk/
Dtrace.h34 TP_PROTO(struct nullb_cmd *cmd, unsigned int zone_no,
36 TP_ARGS(cmd, zone_no, zone_cond),
45 __field(unsigned int, zone_no)
50 __entry->zone_no = zone_no;
58 __entry->zone_no,
Dzoned.c638 unsigned int zone_no; in null_zone_mgmt() local
658 zone_no = null_zone_no(dev, sector); in null_zone_mgmt()
659 zone = &dev->zones[zone_no]; in null_zone_mgmt()
688 trace_nullb_zone_op(cmd, zone_no, zone->cond); in null_zone_mgmt()
770 unsigned int zone_no; in zone_cond_store() local
787 zone_no = null_zone_no(dev, sector); in zone_cond_store()
788 if (zone_no >= dev->nr_zones) { in zone_cond_store()
793 if (dev->zones[zone_no].type == BLK_ZONE_TYPE_CONVENTIONAL) { in zone_cond_store()
798 null_set_zone_cond(dev, &dev->zones[zone_no], cond); in zone_cond_store()
/linux-6.12.1/drivers/staging/rts5208/
Dxd.c23 static int xd_build_l2p_tbl(struct rtsx_chip *chip, int zone_no);
828 int zone_no; in xd_set_unused_block() local
830 zone_no = (int)phy_blk >> 10; in xd_set_unused_block()
831 if (zone_no >= xd_card->zone_cnt) { in xd_set_unused_block()
833 zone_no, xd_card->zone_cnt); in xd_set_unused_block()
836 zone = &xd_card->zone[zone_no]; in xd_set_unused_block()
839 if (xd_build_l2p_tbl(chip, zone_no) != STATUS_SUCCESS) in xd_set_unused_block()
859 static u32 xd_get_unused_block(struct rtsx_chip *chip, int zone_no) in xd_get_unused_block() argument
865 if (zone_no >= xd_card->zone_cnt) { in xd_get_unused_block()
867 zone_no, xd_card->zone_cnt); in xd_get_unused_block()
[all …]
/linux-6.12.1/block/
Dblk-zoned.c70 unsigned int zone_no; member
374 return disk_zone_is_full(disk, zwplug->zone_no, zwplug->wp_offset); in disk_zone_wplug_is_full()
383 hash_32(zwplug->zone_no, disk->zone_wplugs_hash_bits); in disk_insert_zone_wplug()
392 if (zwplg->zone_no == zwplug->zone_no) { in disk_insert_zone_wplug()
413 if (zwplug->zone_no == zno && in disk_get_zone_wplug()
539 zwplug->zone_no = zno; in disk_get_and_lock_zone_wplug()
596 if (disk_zone_is_full(disk, zwplug->zone_no, wp_offset) || in disk_zone_wplug_abort_unaligned()
1295 bdev_zone_sectors(disk->part0) * zwplug->zone_no; in disk_zone_wplug_handle_error()
1852 zwp_zone_no = zwplug->zone_no; in queue_zone_wplugs_show()