Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/null_blk/
H A Dtrace.h34 TP_PROTO(struct nullb_cmd *cmd, unsigned int zone_no,
36 TP_ARGS(cmd, zone_no, zone_cond),
40 __field(unsigned int, zone_no)
45 __entry->zone_no = zone_no;
52 __entry->zone_no,
H A Dzoned.c614 unsigned int zone_no; in null_zone_mgmt() local
634 zone_no = null_zone_no(dev, sector); in null_zone_mgmt()
635 zone = &dev->zones[zone_no]; in null_zone_mgmt()
664 trace_nullb_zone_op(cmd, zone_no, zone->cond); in null_zone_mgmt()
746 unsigned int zone_no; in zone_cond_store() local
763 zone_no = null_zone_no(dev, sector); in zone_cond_store()
764 if (zone_no >= dev->nr_zones) { in zone_cond_store()
769 if (dev->zones[zone_no].type == BLK_ZONE_TYPE_CONVENTIONAL) { in zone_cond_store()
774 null_set_zone_cond(dev, &dev->zones[zone_no], cond); in zone_cond_store()
/openbmc/linux/drivers/staging/rts5208/
H A 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 …]