/arch/mips/dec/prom/ |
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/arm64/crypto/ |
D | crct10dif-ce-glue.c | 41 unsigned int chunk = length; in crct10dif_update_pmull_p8() local 43 if (chunk > SZ_4K + CRC_T10DIF_PMULL_CHUNK_SIZE) in crct10dif_update_pmull_p8() 44 chunk = SZ_4K; in crct10dif_update_pmull_p8() 47 *crc = crc_t10dif_pmull_p8(*crc, data, chunk); in crct10dif_update_pmull_p8() 49 data += chunk; in crct10dif_update_pmull_p8() 50 length -= chunk; in crct10dif_update_pmull_p8() 66 unsigned int chunk = length; in crct10dif_update_pmull_p64() local 68 if (chunk > SZ_4K + CRC_T10DIF_PMULL_CHUNK_SIZE) in crct10dif_update_pmull_p64() 69 chunk = SZ_4K; in crct10dif_update_pmull_p64() 72 *crc = crc_t10dif_pmull_p64(*crc, data, chunk); in crct10dif_update_pmull_p64() [all …]
|
D | sha256-glue.c | 103 unsigned int chunk = len; in sha256_update_neon() local 111 chunk + sctx->count % SHA256_BLOCK_SIZE > SHA256_BLOCK_SIZE) in sha256_update_neon() 112 chunk = SHA256_BLOCK_SIZE - in sha256_update_neon() 116 sha256_base_do_update(desc, data, chunk, __sha256_block_neon); in sha256_update_neon() 118 data += chunk; in sha256_update_neon() 119 len -= chunk; in sha256_update_neon()
|
D | ghash-ce-glue.c | 139 int chunk = min(blocks, MAX_BLOCKS); in ghash_update() local 141 ghash_do_simd_update(chunk, ctx->digest, src, key, in ghash_update() 145 blocks -= chunk; in ghash_update() 146 src += chunk * GHASH_BLOCK_SIZE; in ghash_update()
|
/arch/um/drivers/ |
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/ |
D | sys_compat.c | 30 unsigned long chunk = min(PAGE_SIZE, end - start); in __do_compat_cache_op() local 44 ret = __flush_cache_user_range(start, start + chunk); in __do_compat_cache_op() 49 start += chunk; in __do_compat_cache_op()
|
/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 63 unsigned long entry, chunk; in mm_iommu_do_alloc() local 100 chunk = (1UL << (PAGE_SHIFT + MAX_ORDER - 1)) / 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/x86/xen/ |
D | p2m.c | 333 unsigned int i, chunk; in xen_rebuild_p2m_list() local 356 for (pfn = 0; pfn < xen_max_p2m_pfn; pfn += chunk) { in xen_rebuild_p2m_list() 367 chunk = (pfn & (P2M_PER_PAGE * P2M_MID_PER_PAGE - 1)) ? in xen_rebuild_p2m_list() 373 for (i = 1; i < chunk; i++) in xen_rebuild_p2m_list() 376 if (i < chunk) in xen_rebuild_p2m_list() 378 chunk = P2M_PER_PAGE; in xen_rebuild_p2m_list() 380 if (type == P2M_TYPE_PFN || i < chunk) { in xen_rebuild_p2m_list() 390 if (chunk == P2M_PER_PAGE) { in xen_rebuild_p2m_list()
|
D | setup.c | 341 unsigned int i, chunk; in xen_do_set_identity_and_remap_chunk() local 350 chunk = (left < REMAP_SIZE) ? left : REMAP_SIZE; in xen_do_set_identity_and_remap_chunk() 359 xen_remap_buf.size = chunk; in xen_do_set_identity_and_remap_chunk() 360 for (i = 0; i < chunk; i++) in xen_do_set_identity_and_remap_chunk() 367 set_phys_range_identity(ident_pfn_iter, ident_pfn_iter + chunk); in xen_do_set_identity_and_remap_chunk() 369 left -= chunk; in xen_do_set_identity_and_remap_chunk()
|
/arch/s390/crypto/ |
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/powerpc/mm/ |
D | mem.c | 115 unsigned long chunk) in flush_dcache_range_chunked() argument 119 for (i = start; i < stop; i += chunk) { in flush_dcache_range_chunked() 120 flush_dcache_range(i, min(stop, i + chunk)); in flush_dcache_range_chunked()
|
/arch/xtensa/lib/ |
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 409 sub a8, a3, a8 # a8 = start of first 16B source chunk 486 sub a10, a3, a10 # a10 = start of first 16B source chunk
|
D | usercopy.S | 144 add a8, a8, a3 # a8 = end of last 16B source chunk 209 add a12, a12, a3 # a12 = end of last 16B source chunk
|
D | memset.S | 65 add a6, a6, a5 # a6 = end of last 16B chunk
|
D | strnlen_user.S | 69 add a10, a10, a4 # a10 = end of last 4B chunk
|
/arch/arm/kernel/ |
D | traps.c | 570 unsigned long chunk = min(PAGE_SIZE, end - start); in __do_cache_op() local 575 ret = flush_icache_user_range(start, start + chunk); in __do_cache_op() 580 start += chunk; in __do_cache_op()
|
/arch/powerpc/platforms/pseries/ |
D | vio.c | 390 size_t avail = 0, level, chunk, need; in vio_cmo_balance() local 438 chunk = min_t(size_t, avail, VIO_CMO_BALANCE_CHUNK); in vio_cmo_balance() 439 chunk = min(chunk, (viodev->cmo.desired - in vio_cmo_balance() 441 viodev->cmo.entitled += chunk; in vio_cmo_balance()
|
/arch/m68k/ |
D | Kconfig.cpu | 377 bool "Use one physical chunk of memory only" if ADVANCED && !SUN3 382 Ignore all but the first contiguous chunk of physical memory for VM
|
/arch/powerpc/kernel/ |
D | prom_init.c | 2453 unsigned long room, chunk; in make_room() local 2463 chunk = alloc_up(room, 0); in make_room() 2464 if (chunk == 0) in make_room() 2467 *mem_end = chunk + room; in make_room()
|
/arch/s390/boot/ |
D | head.S | 102 ssch 0(%r3) # load chunk of 1600 bytes
|