/arch/powerpc/platforms/cell/spufs/ |
D | coredump.c | 55 int i, sz, total = 0; in spufs_ctx_note_size() local 65 total += sizeof(struct elf_note); in spufs_ctx_note_size() 66 total += roundup(strlen(fullname) + 1, 4); in spufs_ctx_note_size() 67 total += roundup(sz, 4); in spufs_ctx_note_size() 70 return total; in spufs_ctx_note_size() 135 int sz, rc, total = 0; in spufs_arch_write_note() local 168 total += rc; in spufs_arch_write_note() 170 } while (rc == bufsz && total < sz); in spufs_arch_write_note() 175 skip = roundup(cprm->pos - total + sz, 4) - cprm->pos; in spufs_arch_write_note()
|
/arch/mips/txx9/generic/ |
D | mem_tx4927.c | 69 unsigned int total = 0; in tx4927_get_mem_size() local 73 total += tx4927_process_sdccr(&tx4927_sdramcptr->cr[i]); in tx4927_get_mem_size() 74 return total; in tx4927_get_mem_size()
|
/arch/powerpc/platforms/pseries/ |
D | msi.c | 176 static struct device_node *find_pe_total_msi(struct pci_dev *dev, int *total) in find_pe_total_msi() argument 187 *total = be32_to_cpup(p); in find_pe_total_msi() 197 static struct device_node *find_pe_dn(struct pci_dev *dev, int *total) in find_pe_dn() argument 224 *total = 8; in find_pe_dn() 289 int total; in msi_quota_for_device() local 294 pe_dn = find_pe_total_msi(dev, &total); in msi_quota_for_device() 296 pe_dn = find_pe_dn(dev, &total); in msi_quota_for_device() 316 counts.quota = total / counts.num_devices; in msi_quota_for_device() 327 counts.spare += total % counts.num_devices; in msi_quota_for_device()
|
/arch/um/drivers/ |
D | mconsole_user.c | 126 int mconsole_reply_len(struct mc_request *req, const char *str, int total, in mconsole_reply_len() argument 143 len = MIN(total, MCONSOLE_MAX_DATA - 1); in mconsole_reply_len() 145 if (len == total) reply.more = more; in mconsole_reply_len() 150 total -= len; in mconsole_reply_len() 161 } while (total > 0); in mconsole_reply_len()
|
/arch/mips/cavium-octeon/ |
D | setup.c | 955 uint64_t total; in plat_mem_setup() local 963 total = 0; in plat_mem_setup() 980 total += max_memory; in plat_mem_setup() 995 && (total < max_memory)) { in plat_mem_setup() 1030 total += crashk_base - memory; in plat_mem_setup() 1034 total += end - crashk_end; in plat_mem_setup() 1062 total += mem_alloc_size; in plat_mem_setup() 1089 if (total == 0) in plat_mem_setup()
|
/arch/mips/pci/ |
D | ops-pmcmsp.c | 72 unsigned int intcount, total = 0; in show_msp_pci_counts() local 78 total += intcount; in show_msp_pci_counts() 82 seq_printf(m, "total = %u\n", total); in show_msp_pci_counts()
|
/arch/unicore32/mm/ |
D | init.c | 62 int free = 0, total = 0, reserved = 0; in show_mem() local 81 total++; in show_mem() 96 printk(KERN_DEFAULT "%d pages of RAM\n", total); in show_mem()
|
/arch/powerpc/platforms/ps3/ |
D | mm.c | 110 u64 total; member 121 DBG("%s:%d: map.total = %llxh\n", func, line, m->total); in _debug_dump_map() 140 return (phys_addr < map.rm.size || phys_addr >= map.total) in ps3_mm_phys_to_lpar() 330 map.total = map.rm.size; in ps3_mm_region_destroy() 1142 r->len = len ? len : _ALIGN_UP(map.total, 1 << r->page_size); in ps3_dma_region_init() 1207 &map.total); in ps3_mm_init() 1223 result = ps3_mm_region_create(&map.r1, map.total - map.rm.size); in ps3_mm_init() 1230 map.total = map.rm.size + map.r1.size; in ps3_mm_init() 1237 map.total - map.rm.size); in ps3_mm_init() 1238 memblock_add(map.rm.size, map.total - map.rm.size); in ps3_mm_init()
|
/arch/arm/mm/ |
D | cache-v4wb.S | 112 sub r3, r1, r0 @ calculate total size 116 cmp r3, #CACHE_DLIMIT @ total size >= limit?
|
D | cache-fa.S | 89 sub r3, r1, r0 @ calculate total size 90 cmp r3, #CACHE_DLIMIT @ total size >= limit?
|
D | cache-v4wt.S | 88 sub r3, r1, r0 @ calculate total size
|
/arch/s390/numa/ |
D | mode_emu.c | 63 int total; /* Total number of pinned cores */ member 76 emu_cores->total++; in pin_core_to_node() 331 cores_total = emu_cores->total + cores_free(phys); in toptree_to_numa()
|
/arch/tile/mm/ |
D | pgtable.c | 65 unsigned long flags, order, total = 0, largest_order = -1; in show_mem() local 73 total += nr << order; in show_mem() 80 K(total), largest_order ? K(1UL) << largest_order : 0); in show_mem()
|
/arch/ia64/kernel/ |
D | setup.c | 281 static void __init setup_crashkernel(unsigned long total, int *n) in setup_crashkernel() argument 286 ret = parse_crashkernel(boot_command_line, total, in setup_crashkernel() 310 (unsigned long)(total >> 20)); in setup_crashkernel() 328 static inline void __init setup_crashkernel(unsigned long total, int *n) in setup_crashkernel() argument
|
/arch/mn10300/mm/ |
D | cache-inv-by-reg.S | 146 sub d0,d1,d2 # calculate the total size
|
D | cache-inv-by-tag.S | 163 lsr L1_CACHE_SHIFT,d1 # total number of entries to
|
/arch/mips/kernel/ |
D | setup.c | 721 unsigned long long total; in get_total_mem() local 723 total = max_pfn - min_low_pfn; in get_total_mem() 724 return total << PAGE_SHIFT; in get_total_mem()
|
/arch/metag/lib/ |
D | memset.S | 62 ! D1Ar3 should be the remaining total byte count
|
/arch/parisc/mm/ |
D | init.c | 658 int total = 0,reserved = 0; in show_mem() local 674 total += zone->present_pages; in show_mem() 680 printk(KERN_INFO "%d pages of RAM\n", total); in show_mem()
|
/arch/arm/kernel/ |
D | setup.c | 963 unsigned long total; in get_total_mem() local 965 total = max_low_pfn - min_low_pfn; in get_total_mem() 966 return total << PAGE_SHIFT; in get_total_mem()
|
/arch/s390/kernel/ |
D | head.S | 119 br %r4 # r2 contains the total size 122 ahi %r2,0x640 # add 0x640 to total size
|
/arch/arm/kvm/ |
D | coproc.c | 1226 unsigned int total = 0; in walk_cp15() local 1246 total++; in walk_cp15() 1253 total++; in walk_cp15() 1262 return total; in walk_cp15()
|
/arch/x86/crypto/ |
D | crc32c-pcl-intel-asm_64.S | 224 leal (%eax,%eax,2), %eax # rax *= 3 (total *24)
|
/arch/blackfin/ |
D | Kconfig.debug | 251 bool "Display the total time for kernel to resume from power saving mode" 254 Display the total time when kernel resumes normal from standby or
|
/arch/sparc/mm/ |
D | srmmu.c | 241 unsigned long total = 0; in probe_memory() local 245 total += sp_banks[i].num_bytes; in probe_memory() 247 return total; in probe_memory()
|