/linux-2.6.39/arch/arm/mach-shark/include/mach/ |
D | memory.h | 22 static inline void __arch_adjust_zones(unsigned long *zone_size, unsigned long *zhole_size) in __arch_adjust_zones() argument 26 zone_size[1] = zone_size[0] - 1024; in __arch_adjust_zones() 27 zone_size[0] = 1024; in __arch_adjust_zones()
|
/linux-2.6.39/arch/arm/mach-pxa/ |
D | cm-x2xx-pci.c | 38 void __init cmx2xx_pci_adjust_zones(unsigned long *zone_size, in cmx2xx_pci_adjust_zones() argument 49 if (zone_size[0] <= sz) in cmx2xx_pci_adjust_zones() 52 zone_size[1] = zone_size[0] - sz; in cmx2xx_pci_adjust_zones() 53 zone_size[0] = sz; in cmx2xx_pci_adjust_zones()
|
/linux-2.6.39/arch/unicore32/mm/ |
D | init.c | 184 unsigned long zone_size[MAX_NR_ZONES], zhole_size[MAX_NR_ZONES]; in uc32_bootmem_free() local 190 memset(zone_size, 0, sizeof(zone_size)); in uc32_bootmem_free() 197 zone_size[0] = max_low - min; in uc32_bootmem_free() 203 memcpy(zhole_size, zone_size, sizeof(zhole_size)); in uc32_bootmem_free() 218 arch_adjust_zones(zone_size, zhole_size); in uc32_bootmem_free() 220 free_area_init_node(0, zone_size, min, zhole_size); in uc32_bootmem_free()
|
/linux-2.6.39/arch/arm/mach-davinci/include/mach/ |
D | memory.h | 59 #define arch_adjust_zones(zone_size, holes) \ argument 60 if ((meminfo.bank[0].size >> 20) > 128) __arch_adjust_zones(zone_size, holes)
|
/linux-2.6.39/arch/arm/mm/ |
D | init.c | 207 unsigned long zone_size[MAX_NR_ZONES], zhole_size[MAX_NR_ZONES]; in arm_bootmem_free() local 213 memset(zone_size, 0, sizeof(zone_size)); in arm_bootmem_free() 220 zone_size[0] = max_low - min; in arm_bootmem_free() 222 zone_size[ZONE_HIGHMEM] = max_high - max_low; in arm_bootmem_free() 229 memcpy(zhole_size, zone_size, sizeof(zhole_size)); in arm_bootmem_free() 250 arch_adjust_zones(zone_size, zhole_size); in arm_bootmem_free() 252 free_area_init_node(0, zone_size, min, zhole_size); in arm_bootmem_free()
|
/linux-2.6.39/arch/unicore32/kernel/ |
D | pci.c | 141 void __init puv3_pci_adjust_zones(unsigned long *zone_size, in puv3_pci_adjust_zones() argument 149 if (zone_size[0] <= sz) in puv3_pci_adjust_zones() 152 zone_size[1] = zone_size[0] - sz; in puv3_pci_adjust_zones() 153 zone_size[0] = sz; in puv3_pci_adjust_zones()
|
/linux-2.6.39/arch/arm/mach-ixp4xx/ |
D | common-pci.c | 351 void __init ixp4xx_adjust_zones(unsigned long *zone_size, in ixp4xx_adjust_zones() argument 359 if (zone_size[0] <= sz) in ixp4xx_adjust_zones() 362 zone_size[1] = zone_size[0] - sz; in ixp4xx_adjust_zones() 363 zone_size[0] = sz; in ixp4xx_adjust_zones()
|
/linux-2.6.39/fs/adfs/ |
D | super.c | 295 unsigned int map_addr, zone_size, nzones; in adfs_read_map() local 300 zone_size = (8 << dr->log2secsize) - le16_to_cpu(dr->zone_spare); in adfs_read_map() 301 map_addr = (nzones >> 1) * zone_size - in adfs_read_map() 305 asb->s_ids_per_zone = zone_size / (asb->s_idlen + 1); in adfs_read_map() 315 dm[zone].dm_endbit = zone_size; in adfs_read_map() 316 dm[zone].dm_startblk = zone * zone_size - ADFS_DR_SIZE_BITS; in adfs_read_map() 331 (ADFS_DR_SIZE_BITS - i * zone_size); in adfs_read_map()
|
/linux-2.6.39/drivers/mtd/ |
D | sm_ftl.c | 202 WARN_ON(block >= ftl->zone_size); in sm_mkoffset() 589 ftl->zone_size = 256; in sm_get_media_info() 598 ftl->zone_size = 512; in sm_get_media_info() 608 ftl->zone_size = 256; in sm_get_media_info() 615 ftl->zone_size = 512; in sm_get_media_info() 621 ftl->zone_size = 1024; in sm_get_media_info() 630 ftl->zone_size = 1024; in sm_get_media_info() 698 for (block = 0 ; block < ftl->zone_size - ftl->max_lba ; block++) { in sm_find_cis() 782 if (kfifo_alloc(&zone->free_sectors, ftl->zone_size * 2, GFP_KERNEL)) { in sm_init_zone() 788 for (block = 0 ; block < ftl->zone_size ; block++) { in sm_init_zone() [all …]
|
D | sm_ftl.h | 36 int zone_size; /* zone size in blocks */ member
|
/linux-2.6.39/drivers/md/ |
D | raid0.c | 53 sector_t zone_size = 0; in dump_zones() local 69 zone_size = conf->strip_zone[j].zone_end - zone_start; in dump_zones() 74 (unsigned long long)zone_size>>1); in dump_zones() 538 sector_t zone_size; in raid0_status() local 550 zone_size = conf->strip_zone[j].zone_end - zone_start; in raid0_status() 554 (unsigned long long)zone_size>>1); in raid0_status()
|