Home
last modified time | relevance | path

Searched refs:csize (Results 1 – 14 of 14) sorted by relevance

/arch/powerpc/kernel/
Dcrash_dump.c72 static size_t copy_oldmem_vaddr(void *vaddr, char *buf, size_t csize, in copy_oldmem_vaddr() argument
76 if (copy_to_user((char __user *)buf, (vaddr + offset), csize)) in copy_oldmem_vaddr()
79 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_vaddr()
81 return csize; in copy_oldmem_vaddr()
98 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
103 if (!csize) in copy_oldmem_page()
106 csize = min_t(size_t, csize, PAGE_SIZE); in copy_oldmem_page()
109 if (memblock_is_region_memory(paddr, csize)) { in copy_oldmem_page()
111 csize = copy_oldmem_vaddr(vaddr, buf, csize, offset, userbuf); in copy_oldmem_page()
114 csize = copy_oldmem_vaddr(vaddr, buf, csize, offset, userbuf); in copy_oldmem_page()
[all …]
/arch/ia64/kernel/
Dcrash_dump.c35 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
39 if (!csize) in copy_oldmem_page()
43 if (copy_to_user(buf, (vaddr + offset), csize)) { in copy_oldmem_page()
47 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_page()
48 return csize; in copy_oldmem_page()
/arch/sh/kernel/
Dcrash_dump.c26 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
30 if (!csize) in copy_oldmem_page()
36 if (copy_to_user(buf, (vaddr + offset), csize)) { in copy_oldmem_page()
41 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_page()
44 return csize; in copy_oldmem_page()
/arch/arm/kernel/
Dcrash_dump.c34 size_t csize, unsigned long offset, in copy_oldmem_page() argument
39 if (!csize) in copy_oldmem_page()
47 if (copy_to_user(buf, vaddr + offset, csize)) { in copy_oldmem_page()
52 memcpy(buf, vaddr + offset, csize); in copy_oldmem_page()
56 return csize; in copy_oldmem_page()
/arch/x86/kernel/
Dcrash_dump_64.c27 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
31 if (!csize) in copy_oldmem_page()
39 if (copy_to_user(buf, vaddr + offset, csize)) { in copy_oldmem_page()
44 memcpy(buf, vaddr + offset, csize); in copy_oldmem_page()
48 return csize; in copy_oldmem_page()
Dcrash_dump_32.c51 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
55 if (!csize) in copy_oldmem_page()
64 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_page()
75 if (copy_to_user(buf, (kdump_buf_page + offset), csize)) in copy_oldmem_page()
79 return csize; in copy_oldmem_page()
/arch/mips/kernel/
Dcrash_dump.c27 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
31 if (!csize) in copy_oldmem_page()
37 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_page()
47 if (copy_to_user(buf, (kdump_buf_page + offset), csize)) in copy_oldmem_page()
51 return csize; in copy_oldmem_page()
/arch/m68k/atari/
Ddebug.c170 int csize = ((cflag & CSIZE) == CS7) ? 0x20 : 0x00; in atari_init_mfp_port() local
179 st_mfp.usart_ctr = parity | csize | 0x88; /* 1:16 clk mode, 1 stop bit */ in atari_init_mfp_port()
266 int csize = ((cflag & CSIZE) == CS8) ? 0x10 : 0x00; in atari_init_midi_port() local
283 acia.mid_ctrl = div | csize | parity | in atari_init_midi_port()
/arch/cris/arch-v32/mm/
Dl2cache.c17 ctrl.csize = L2CACHE_SIZE; in l2cache_init()
/arch/s390/kernel/
Dcrash_dump.c212 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, in copy_oldmem_page() argument
218 if (!csize) in copy_oldmem_page()
222 rc = copy_oldmem_user((void __force __user *) buf, src, csize); in copy_oldmem_page()
224 rc = copy_oldmem_kernel((void *) buf, src, csize); in copy_oldmem_page()
/arch/cris/include/arch-v32/mach-a3/mach/hwregs/
Dl2cache_defs.h97 unsigned int csize : 10; member
/arch/mips/include/asm/octeon/
Dcvmx-dpi-defs.h212 uint64_t csize:14; member
222 uint64_t csize:14;
229 uint64_t csize:14; member
241 uint64_t csize:14;
Dcvmx-npei-defs.h1119 uint64_t csize:14; member
1121 uint64_t csize:14;
1157 uint64_t csize:14; member
1159 uint64_t csize:14;
1194 uint64_t csize:14; member
1196 uint64_t csize:14;
Dcvmx-npi-defs.h544 uint64_t csize:14; member
546 uint64_t csize:14;