| /arch/mips/dec/prom/ |
| A D | console.c | 18 unsigned int chunk = sizeof(buf) - 1; in prom_console_write() local 21 if (chunk > c) in prom_console_write() 22 chunk = c; in prom_console_write() 23 memcpy(buf, s, chunk); in prom_console_write() 24 buf[chunk] = '\0'; in prom_console_write() 26 s += chunk; in prom_console_write() 27 c -= chunk; in prom_console_write()
|
| /arch/um/drivers/ |
| A D | mconsole_kern.h | 27 #define CONFIG_CHUNK(str, size, current, chunk, end) \ argument 29 current += strlen(chunk); \ 33 strcpy(str, chunk); \ 34 str += strlen(chunk); \
|
| /arch/arm64/kernel/ |
| A D | sys_compat.c | 29 unsigned long chunk = min(PAGE_SIZE, end - start); in __do_compat_cache_op() local 43 ret = caches_clean_inval_user_pou(start, start + chunk); in __do_compat_cache_op() 48 start += chunk; in __do_compat_cache_op()
|
| /arch/powerpc/mm/book3s64/ |
| A D | iommu_api.c | 63 unsigned long entry, chunk; in mm_iommu_do_alloc() local 100 chunk = (1UL << (PAGE_SHIFT + MAX_PAGE_ORDER)) / in mm_iommu_do_alloc() 102 chunk = min(chunk, entries); in mm_iommu_do_alloc() 103 for (entry = 0; entry < entries; entry += chunk) { in mm_iommu_do_alloc() 104 unsigned long n = min(entries - entry, chunk); in mm_iommu_do_alloc()
|
| /arch/s390/mm/ |
| A D | maccess.c | 87 void *chunk; in memcpy_real_iter() local 94 chunk = (void *)(__memcpy_real_area + offset); in memcpy_real_iter() 103 copied = copy_to_iter(chunk, len, iter); in memcpy_real_iter()
|
| /arch/s390/crypto/ |
| A D | prng.c | 515 int chunk, n, ret = 0; in prng_tdes_read() local 543 chunk = min_t(int, nbytes, prng_chunk_size); in prng_tdes_read() 546 n = (chunk + 7) & -8; in prng_tdes_read() 573 if (copy_to_user(ubuf, prng_data->buf, chunk)) { in prng_tdes_read() 578 nbytes -= chunk; in prng_tdes_read() 579 ret += chunk; in prng_tdes_read() 580 ubuf += chunk; in prng_tdes_read()
|
| /arch/x86/xen/ |
| A D | p2m.c | 323 unsigned int i, chunk; in xen_rebuild_p2m_list() local 346 for (pfn = 0; pfn < xen_max_p2m_pfn; pfn += chunk) { in xen_rebuild_p2m_list() 357 chunk = (pfn & (P2M_PER_PAGE * P2M_MID_PER_PAGE - 1)) ? in xen_rebuild_p2m_list() 363 for (i = 1; i < chunk; i++) in xen_rebuild_p2m_list() 366 if (i < chunk) in xen_rebuild_p2m_list() 368 chunk = P2M_PER_PAGE; in xen_rebuild_p2m_list() 370 if (type == P2M_TYPE_PFN || i < chunk) { in xen_rebuild_p2m_list() 380 if (chunk == P2M_PER_PAGE) { in xen_rebuild_p2m_list()
|
| A D | setup.c | 297 unsigned int i, chunk; in xen_do_set_identity_and_remap_chunk() local 306 chunk = (left < REMAP_SIZE) ? left : REMAP_SIZE; in xen_do_set_identity_and_remap_chunk() 315 xen_remap_buf.size = chunk; in xen_do_set_identity_and_remap_chunk() 316 for (i = 0; i < chunk; i++) in xen_do_set_identity_and_remap_chunk() 323 set_phys_range_identity(ident_pfn_iter, ident_pfn_iter + chunk); in xen_do_set_identity_and_remap_chunk() 325 left -= chunk; in xen_do_set_identity_and_remap_chunk()
|
| /arch/powerpc/platforms/powernv/ |
| A D | memtrace.c | 85 unsigned long chunk) in flush_dcache_range_chunked() argument 89 for (i = start; i < stop; i += chunk) { in flush_dcache_range_chunked() 90 flush_dcache_range(i, min(stop, i + chunk)); in flush_dcache_range_chunked()
|
| /arch/x86/kernel/cpu/sgx/ |
| A D | main.c | 300 struct sgx_epc_page *chunk[SGX_NR_TO_SCAN]; in sgx_reclaim_pages() local 320 chunk[cnt++] = epc_page; in sgx_reclaim_pages() 330 epc_page = chunk[i]; in sgx_reclaim_pages() 356 chunk[i] = NULL; in sgx_reclaim_pages() 360 epc_page = chunk[i]; in sgx_reclaim_pages() 366 epc_page = chunk[i]; in sgx_reclaim_pages()
|
| /arch/arm64/boot/dts/qcom/ |
| A D | sdm630-sony-xperia-ganges-kirin.dts | 24 /* Reserve a bigger chunk of RAM for the higher-res display */
|
| /arch/arm64/crypto/ |
| A D | ghash-ce-glue.c | 96 int chunk = min(blocks, MAX_BLOCKS); in ghash_update() local 98 ghash_do_simd_update(chunk, ctx->digest, src, key, NULL, in ghash_update() 100 blocks -= chunk; in ghash_update() 101 src += chunk * GHASH_BLOCK_SIZE; in ghash_update()
|
| /arch/xtensa/lib/ |
| A D | usercopy.S | 149 add a8, a8, a3 # a8 = end of last 16B source chunk 216 add a10, a10, a3 # a10 = end of last 16B source chunk 219 add a12, a12, a3 # a12 = end of last 16B source chunk
|
| A D | memcopy.S | 135 add a8, a8, a3 # a8 = end of last 16B source chunk 211 add a10, a10, a3 # a10 = end of last 16B source chunk 396 sub a8, a3, a8 # a8 = start of first 16B source chunk 473 sub a10, a3, a10 # a10 = start of first 16B source chunk
|
| A D | memset.S | 65 add a6, a6, a5 # a6 = end of last 16B chunk
|
| A D | strnlen_user.S | 69 add a10, a10, a4 # a10 = end of last 4B chunk
|
| /arch/arm/kernel/ |
| A D | traps.c | 570 unsigned long chunk = min(PAGE_SIZE, end - start); in __do_cache_op() local 576 ret = flush_icache_user_range(start, start + chunk); in __do_cache_op() 582 start += chunk; in __do_cache_op()
|
| /arch/powerpc/platforms/pseries/ |
| A D | vio.c | 392 size_t avail = 0, level, chunk, need; in vio_cmo_balance() local 440 chunk = min_t(size_t, avail, VIO_CMO_BALANCE_CHUNK); in vio_cmo_balance() 441 chunk = min(chunk, (viodev->cmo.desired - in vio_cmo_balance() 443 viodev->cmo.entitled += chunk; in vio_cmo_balance()
|
| /arch/m68k/ |
| A D | Kconfig.cpu | 400 bool "Use one physical chunk of memory only" if ADVANCED && !SUN3 404 Ignore all but the first contiguous chunk of physical memory for VM
|
| /arch/powerpc/kernel/ |
| A D | prom_init.c | 2491 unsigned long room, chunk; in make_room() local 2501 chunk = alloc_up(room, 0); in make_room() 2502 if (chunk == 0) in make_room() 2505 *mem_end = chunk + room; in make_room()
|
| /arch/s390/boot/ |
| A D | head.S | 153 ssch 0(%r3) # load chunk of 1600 bytes
|