Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 20 of 20) sorted by relevance

/arch/mips/dec/prom/
Dconsole.c22 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/
Dmconsole_kern.h27 #define CONFIG_CHUNK(str, size, current, chunk, end) \ argument
29 current += strlen(chunk); \
33 strcpy(str, chunk); \
34 str += strlen(chunk); \
/arch/arm64/kernel/
Dsys_compat.c38 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/
Dp2m.c324 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()
Dsetup.c340 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/
Dprng.c462 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/
Dmemcopy.S151 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
Dusercopy.S161 add a8, a8, a3 # a8 = end of last 16B source chunk
226 add a12, a12, a3 # a12 = end of last 16B source chunk
Dmemset.S73 add a6, a6, a5 # a6 = end of last 16B chunk
Dstrnlen_user.S77 add a10, a10, a4 # a10 = end of last 4B chunk
/arch/arm/kernel/
Dtraps.c573 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/
Dmemzero.S42 cmp r1, #16 @ 1 we can skip this chunk if we
/arch/powerpc/platforms/pseries/
Dvio.c393 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/
Dcopy_user_memcpy.S29 ! bytes memory chunk to b copied, the rest of the word can be read
Dmemcpy.S31 ! bytes memory chunk to b copied, the rest of the word can be read
/arch/m68k/
DKconfig.cpu373 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/
Dhead.S97 ssch 0(%r3) # load chunk of 1600 bytes
/arch/powerpc/kernel/
Dprom_init.c2267 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/
DREADME.mm228 happens first is that a virtual address chunk is allocated to the request using
/arch/s390/
DKconfig481 hex "NUMA emulation memory chunk size"