| /arch/mips/txx9/generic/ |
| A 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/cell/spufs/ |
| A D | coredump.c | 26 int i, sz, total = 0; in spufs_ctx_note_size() local 36 total += sizeof(struct elf_note); in spufs_ctx_note_size() 37 total += roundup(strlen(fullname) + 1, 4); in spufs_ctx_note_size() 38 total += roundup(sz, 4); in spufs_ctx_note_size() 41 return total; in spufs_ctx_note_size()
|
| /arch/powerpc/platforms/pseries/ |
| A D | msi.c | 156 static struct device_node *__find_pe_total_msi(struct device_node *node, int *total) in __find_pe_total_msi() argument 167 *total = be32_to_cpup(p); in __find_pe_total_msi() 177 static struct device_node *find_pe_total_msi(struct pci_dev *dev, int *total) in find_pe_total_msi() argument 179 return __find_pe_total_msi(pci_device_to_OF_node(dev), total); in find_pe_total_msi() 182 static struct device_node *find_pe_dn(struct pci_dev *dev, int *total) in find_pe_dn() argument 208 *total = 8; in find_pe_dn() 273 int total; in msi_quota_for_device() local 278 pe_dn = find_pe_total_msi(dev, &total); in msi_quota_for_device() 280 pe_dn = find_pe_dn(dev, &total); in msi_quota_for_device() 300 counts.quota = total / counts.num_devices; in msi_quota_for_device() [all …]
|
| /arch/um/drivers/ |
| A D | mconsole_user.c | 128 int mconsole_reply_len(struct mc_request *req, const char *str, int total, in mconsole_reply_len() argument 145 len = MIN(total, MCONSOLE_MAX_DATA - 1); in mconsole_reply_len() 147 if (len == total) reply.more = more; in mconsole_reply_len() 152 total -= len; in mconsole_reply_len() 163 } while (total > 0); in mconsole_reply_len()
|
| /arch/arm64/include/asm/ |
| A D | kvm_pkvm.h | 85 unsigned long total = 0; in __hyp_pgtable_max_pages() local 91 total += nr_pages; in __hyp_pgtable_max_pages() 94 return total; in __hyp_pgtable_max_pages()
|
| /arch/mips/cavium-octeon/ |
| A D | setup.c | 970 uint64_t total; in plat_mem_setup() local 976 total = 0; in plat_mem_setup() 993 total += max_memory; in plat_mem_setup() 1006 while (total < max_memory) { in plat_mem_setup() 1039 total += crashk_base - memory; in plat_mem_setup() 1041 total += end - crashk_end; in plat_mem_setup() 1069 total += mem_alloc_size; in plat_mem_setup() 1087 if (total == 0) in plat_mem_setup()
|
| /arch/x86/kernel/cpu/ |
| A D | topology.c | 466 unsigned int total = assigned + disabled; in topology_init_possible_cpus() local 485 allowed = min_t(unsigned int, total, nr_cpu_ids); in topology_init_possible_cpus() 488 if (total > allowed) in topology_init_possible_cpus() 489 pr_warn("%u possible CPUs exceed the limit of %u\n", total, allowed); in topology_init_possible_cpus()
|
| /arch/powerpc/platforms/ps3/ |
| A D | mm.c | 98 u64 total; member 109 DBG("%s:%d: map.total = %llxh\n", func, line, m->total); in _debug_dump_map() 128 return (phys_addr < map.rm.size || phys_addr >= map.total) in ps3_mm_phys_to_lpar() 321 map.total = map.rm.size; in ps3_mm_region_destroy() 1133 r->len = len ? len : ALIGN(map.total, 1 << r->page_size); in ps3_dma_region_init() 1208 &map.total); in ps3_mm_init() 1224 result = ps3_mm_region_create(&map.r1, map.total - map.rm.size); in ps3_mm_init() 1231 map.total = map.rm.size + map.r1.size; in ps3_mm_init() 1238 map.total - map.rm.size); in ps3_mm_init() 1239 memblock_add(map.rm.size, map.total - map.rm.size); in ps3_mm_init()
|
| /arch/arm/crypto/ |
| A D | aes-neonbs-glue.c | 94 if (walk.nbytes < walk.total) in __ecb_crypt() 180 if (walk.nbytes < walk.total) in cbc_decrypt() 214 else if (walk.nbytes < walk.total) in ctr_encrypt() 288 if (walk.nbytes < walk.total) { in __xts_crypt()
|
| A D | aes-ce-glue.c | 435 if (unlikely(tail > 0 && walk.nbytes < walk.total)) { in xts_encrypt() 457 if (walk.nbytes < walk.total) in xts_encrypt() 507 if (unlikely(tail > 0 && walk.nbytes < walk.total)) { in xts_decrypt() 529 if (walk.nbytes < walk.total) in xts_decrypt()
|
| /arch/arm/mm/ |
| A D | cache-v4wb.S | 111 sub r3, r1, r0 @ calculate total size 115 cmp r3, #CACHE_DLIMIT @ total size >= limit?
|
| A D | cache-fa.S | 87 sub r3, r1, r0 @ calculate total size 88 cmp r3, #CACHE_DLIMIT @ total size >= limit?
|
| A D | cache-v4wt.S | 87 sub r3, r1, r0 @ calculate total size
|
| /arch/arm64/crypto/ |
| A D | aes-neonbs-glue.c | 109 if (walk.nbytes < walk.total) in __ecb_crypt() 192 if (walk.nbytes < walk.total) in cbc_decrypt() 230 if (nbytes && walk.nbytes == walk.total) { in ctr_encrypt() 338 if (walk.nbytes == walk.total && nbytes > 0) { in __xts_crypt()
|
| A D | sm4-ce-gcm-glue.c | 147 lengths.b = cpu_to_be64(walk->total * 8); in gcm_crypt() 162 if (walk->nbytes == walk->total) { in gcm_crypt()
|
| A D | aes-glue.c | 478 else if (nbytes < walk.total) in xctr_encrypt() 523 else if (nbytes < walk.total) in ctr_encrypt() 557 if (unlikely(tail > 0 && walk.nbytes < walk.total)) { in xts_encrypt() 579 if (walk.nbytes < walk.total) in xts_encrypt() 629 if (unlikely(tail > 0 && walk.nbytes < walk.total)) { in xts_decrypt() 651 if (walk.nbytes < walk.total) in xts_decrypt()
|
| A D | aes-ce-ccm-glue.c | 202 if (walk.nbytes == walk.total) { in ccm_encrypt() 269 if (walk.nbytes == walk.total) { in ccm_decrypt()
|
| A D | sm4-ce-glue.c | 302 if (walk.nbytes == walk.total && nbytes > 0) { in sm4_ctr_crypt() 339 if (unlikely(tail > 0 && walk.nbytes < walk.total)) { in sm4_xts_crypt() 359 if (nbytes < walk.total) in sm4_xts_crypt()
|
| /arch/powerpc/platforms/powernv/ |
| A D | ocxl.c | 211 static u16 assign_fn_actags(u16 desired, u16 total) in assign_fn_actags() argument 215 if (total <= PNV_OCXL_ACTAG_MAX) in assign_fn_actags() 218 count = PNV_OCXL_ACTAG_MAX * desired / total; in assign_fn_actags()
|
| /arch/riscv/crypto/ |
| A D | aes-riscv64-glue.c | 291 if (nbytes < walk.total) { in riscv64_aes_ctr_crypt() 382 if (unlikely(tail > 0 && walk.nbytes < walk.total)) { in riscv64_aes_xts_crypt() 401 if (nbytes < walk.total) in riscv64_aes_xts_crypt()
|
| /arch/arm/boot/dts/broadcom/ |
| A D | bcm53016-dlink-dwl-8610ap.dts | 67 * Macronix 32 64KB blocks; total size 2MB, same that can be
|
| /arch/arm/kernel/ |
| A D | setup.c | 985 unsigned long total; in get_total_mem() local 987 total = max_low_pfn - min_low_pfn; in get_total_mem() 988 return total << PAGE_SHIFT; in get_total_mem()
|
| /arch/x86/crypto/ |
| A D | aria_aesni_avx_glue.c | 126 if (walk.nbytes == walk.total && nbytes > 0) { in aria_avx_ctr_encrypt()
|
| A D | aria_aesni_avx2_glue.c | 139 if (walk.nbytes == walk.total && nbytes > 0) { in aria_avx2_ctr_encrypt()
|
| /arch/s390/boot/ |
| A D | head.S | 172 br %r4 # r2 contains the total size 174 aghi %r2,0x640 # add 0x640 to total size
|