Searched refs:zonesize (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/usb/storage/ |
D | alauda.c | 90 unsigned int zonesize; /* number of blocks per zone */ member 432 MEDIA_INFO(us).zonesize = 1 << media_info->zoneshift; in alauda_init_media() 546 for (i = 0; i < info->zonesize; i++) in alauda_find_unused_pba() 562 unsigned int zonesize = MEDIA_INFO(us).zonesize; in alauda_read_map() local 566 unsigned int zone_base_pba = zone * zonesize; in alauda_read_map() 567 u16 *lba_to_pba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map() 568 u16 *pba_to_lba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map() 577 for (i = 0; i < zonesize; i++) in alauda_read_map() 580 for (i = 0; i < zonesize; i++) { in alauda_read_map() 808 unsigned int zonesize = MEDIA_INFO(us).zonesize; in alauda_write_lba() local [all …]
|
/Linux-v5.10/drivers/mtd/ |
D | mtdpstore.c | 471 unsigned int zonesize = cxt->info.kmsg_size; in mtdpstore_flush_removed_do() local 475 ret = mtd_write(mtd, off, zonesize, &retlen, buf); in mtdpstore_flush_removed_do() 478 off, retlen, zonesize, ret); in mtdpstore_flush_removed_do() 481 off += zonesize; in mtdpstore_flush_removed_do() 482 size -= min_t(unsigned int, zonesize, size); in mtdpstore_flush_removed_do()
|
/Linux-v5.10/mm/ |
D | page_alloc.c | 6675 static unsigned long __init usemap_size(unsigned long zone_start_pfn, unsigned long zonesize) in usemap_size() argument 6679 zonesize += zone_start_pfn & (pageblock_nr_pages-1); in usemap_size() 6680 usemapsize = roundup(zonesize, pageblock_nr_pages); in usemap_size() 6691 unsigned long zonesize) in setup_usemap() argument 6693 unsigned long usemapsize = usemap_size(zone_start_pfn, zonesize); in setup_usemap() 6706 unsigned long zone_start_pfn, unsigned long zonesize) {} in setup_usemap() argument
|