Home
last modified time | relevance | path

Searched refs:zone_size (Results 1 – 6 of 6) sorted by relevance

/drivers/mtd/
Dsm_ftl.c196 WARN_ON(block >= ftl->zone_size); in sm_mkoffset()
578 ftl->zone_size = 256; in sm_get_media_info()
587 ftl->zone_size = 512; in sm_get_media_info()
597 ftl->zone_size = 256; in sm_get_media_info()
604 ftl->zone_size = 512; in sm_get_media_info()
610 ftl->zone_size = 1024; in sm_get_media_info()
620 ftl->zone_size = 1024; in sm_get_media_info()
688 for (block = 0 ; block < ftl->zone_size - ftl->max_lba ; block++) { in sm_find_cis()
772 if (kfifo_alloc(&zone->free_sectors, ftl->zone_size * 2, GFP_KERNEL)) { in sm_init_zone()
778 for (block = 0 ; block < ftl->zone_size ; block++) { in sm_init_zone()
[all …]
Dsm_ftl.h33 int zone_size; /* zone size in blocks */ member
/drivers/block/null_blk/
Dzoned.c65 if (!is_power_of_2(dev->zone_size)) { in null_init_zoned_dev()
69 if (dev->zone_size > dev->size) { in null_init_zoned_dev()
75 dev->zone_capacity = dev->zone_size; in null_init_zoned_dev()
77 if (dev->zone_capacity > dev->zone_size) { in null_init_zoned_dev()
79 dev->zone_capacity, dev->zone_size); in null_init_zoned_dev()
85 dev->zone_size_sects = mb_to_sects(dev->zone_size); in null_init_zoned_dev()
Dnull_blk.h80 unsigned long zone_size; /* zone size in MB if device is zoned */ member
Dmain.c208 module_param_named(zone_size, g_zone_size, ulong, S_IRUGO);
209 MODULE_PARM_DESC(zone_size, "Zone size in MB when block device is zoned. Must be power-of-two: Defa…
364 NULLB_DEVICE_ATTR(zone_size, ulong, NULL);
605 dev->zone_size = g_zone_size; in null_alloc_dev()
1779 (!dev->zone_size || !is_power_of_2(dev->zone_size))) { in null_validate_conf()
/drivers/md/
Draid0.c38 sector_t zone_size = 0; in dump_zones() local
56 zone_size = conf->strip_zone[j].zone_end - zone_start; in dump_zones()
60 (unsigned long long)zone_size>>1); in dump_zones()