/arch/mips/dec/prom/ |
D | console.c | 22 unsigned int chunk = sizeof(buf) - 1; in prom_console_write() local 25 if (chunk > c) in prom_console_write() 26 chunk = c; in prom_console_write() 27 memcpy(buf, s, chunk); in prom_console_write() 28 buf[chunk] = '\0'; in prom_console_write() 30 s += chunk; in prom_console_write() 31 c -= chunk; in prom_console_write()
|
/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 | 38 unsigned long chunk = min(PAGE_SIZE, end - start); in __do_compat_cache_op() local 43 ret = __flush_cache_user_range(start, start + chunk); in __do_compat_cache_op() 48 start += chunk; in __do_compat_cache_op()
|
/arch/x86/xen/ |
D | p2m.c | 324 unsigned int i, chunk; in xen_rebuild_p2m_list() local 347 for (pfn = 0; pfn < xen_max_p2m_pfn; pfn += chunk) { in xen_rebuild_p2m_list() 358 chunk = (pfn & (P2M_PER_PAGE * P2M_MID_PER_PAGE - 1)) ? in xen_rebuild_p2m_list() 364 for (i = 1; i < chunk; i++) in xen_rebuild_p2m_list() 367 if (i < chunk) in xen_rebuild_p2m_list() 369 chunk = P2M_PER_PAGE; in xen_rebuild_p2m_list() 371 if (type == P2M_TYPE_PFN || i < chunk) { in xen_rebuild_p2m_list() 385 if (chunk == P2M_PER_PAGE) { in xen_rebuild_p2m_list()
|
D | setup.c | 340 unsigned int i, chunk; in xen_do_set_identity_and_remap_chunk() local 349 chunk = (left < REMAP_SIZE) ? left : REMAP_SIZE; in xen_do_set_identity_and_remap_chunk() 358 xen_remap_buf.size = chunk; in xen_do_set_identity_and_remap_chunk() 359 for (i = 0; i < chunk; i++) in xen_do_set_identity_and_remap_chunk() 366 set_phys_range_identity(ident_pfn_iter, ident_pfn_iter + chunk); in xen_do_set_identity_and_remap_chunk() 368 left -= chunk; in xen_do_set_identity_and_remap_chunk()
|
/arch/s390/crypto/ |
D | prng.c | 462 int chunk, n, ret = 0; in prng_tdes_read() local 490 chunk = min_t(int, nbytes, prng_chunk_size); in prng_tdes_read() 493 n = (chunk + 7) & -8; in prng_tdes_read() 520 if (copy_to_user(ubuf, prng_data->buf, chunk)) { in prng_tdes_read() 525 nbytes -= chunk; in prng_tdes_read() 526 ret += chunk; in prng_tdes_read() 527 ubuf += chunk; in prng_tdes_read()
|
/arch/xtensa/lib/ |
D | memcopy.S | 151 add a8, a8, a3 # a8 = end of last 16B source chunk 227 add a10, a10, a3 # a10 = end of last 16B source chunk 425 sub a8, a3, a8 # a8 = start of first 16B source chunk 502 sub a10, a3, a10 # a10 = start of first 16B source chunk
|
D | usercopy.S | 161 add a8, a8, a3 # a8 = end of last 16B source chunk 226 add a12, a12, a3 # a12 = end of last 16B source chunk
|
D | memset.S | 73 add a6, a6, a5 # a6 = end of last 16B chunk
|
D | strnlen_user.S | 77 add a10, a10, a4 # a10 = end of last 4B chunk
|
/arch/arm/kernel/ |
D | traps.c | 573 unsigned long chunk = min(PAGE_SIZE, end - start); in __do_cache_op() local 578 ret = flush_cache_user_range(start, start + chunk); in __do_cache_op() 583 start += chunk; in __do_cache_op()
|
/arch/arm/lib/ |
D | memzero.S | 42 cmp r1, #16 @ 1 we can skip this chunk if we
|
/arch/powerpc/platforms/pseries/ |
D | vio.c | 393 size_t avail = 0, level, chunk, need; in vio_cmo_balance() local 441 chunk = min_t(size_t, avail, VIO_CMO_BALANCE_CHUNK); in vio_cmo_balance() 442 chunk = min(chunk, (viodev->cmo.desired - in vio_cmo_balance() 444 viodev->cmo.entitled += chunk; in vio_cmo_balance()
|
/arch/sh/lib64/ |
D | copy_user_memcpy.S | 29 ! bytes memory chunk to b copied, the rest of the word can be read
|
D | memcpy.S | 31 ! bytes memory chunk to b copied, the rest of the word can be read
|
/arch/m68k/ |
D | Kconfig.cpu | 373 bool "Use one physical chunk of memory only" if ADVANCED && !SUN3 378 Ignore all but the first contiguous chunk of physical memory for VM
|
/arch/s390/kernel/ |
D | head.S | 97 ssch 0(%r3) # load chunk of 1600 bytes
|
/arch/powerpc/kernel/ |
D | prom_init.c | 2267 unsigned long room, chunk; in make_room() local 2277 chunk = alloc_up(room, 0); in make_room() 2278 if (chunk == 0) in make_room() 2281 *mem_end = chunk + room; in make_room()
|
/arch/cris/arch-v10/ |
D | README.mm | 228 happens first is that a virtual address chunk is allocated to the request using
|
/arch/s390/ |
D | Kconfig | 481 hex "NUMA emulation memory chunk size"
|