Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 58) sorted by relevance

123

/arch/powerpc/platforms/cell/spufs/
Dcoredump.c55 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/
Dmem_tx4927.c69 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/
Dmsi.c176 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/
Dmconsole_user.c126 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/
Dsetup.c955 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/
Dops-pmcmsp.c72 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/
Dinit.c62 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/
Dmm.c110 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/
Dcache-v4wb.S112 sub r3, r1, r0 @ calculate total size
116 cmp r3, #CACHE_DLIMIT @ total size >= limit?
Dcache-fa.S89 sub r3, r1, r0 @ calculate total size
90 cmp r3, #CACHE_DLIMIT @ total size >= limit?
Dcache-v4wt.S88 sub r3, r1, r0 @ calculate total size
/arch/s390/numa/
Dmode_emu.c63 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/
Dpgtable.c65 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/
Dsetup.c281 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/
Dcache-inv-by-reg.S146 sub d0,d1,d2 # calculate the total size
Dcache-inv-by-tag.S163 lsr L1_CACHE_SHIFT,d1 # total number of entries to
/arch/mips/kernel/
Dsetup.c721 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/
Dmemset.S62 ! D1Ar3 should be the remaining total byte count
/arch/parisc/mm/
Dinit.c658 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/
Dsetup.c963 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/
Dhead.S119 br %r4 # r2 contains the total size
122 ahi %r2,0x640 # add 0x640 to total size
/arch/arm/kvm/
Dcoproc.c1226 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/
Dcrc32c-pcl-intel-asm_64.S224 leal (%eax,%eax,2), %eax # rax *= 3 (total *24)
/arch/blackfin/
DKconfig.debug251 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/
Dsrmmu.c241 unsigned long total = 0; in probe_memory() local
245 total += sp_banks[i].num_bytes; in probe_memory()
247 return total; in probe_memory()

123