Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dcrash_dump.c71 static size_t copy_oldmem_vaddr(void *vaddr, char *buf, size_t csize, in copy_oldmem_vaddr() argument
75 if (copy_to_user((char __user *)buf, (vaddr + offset), csize)) in copy_oldmem_vaddr()
78 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_vaddr()
80 return csize; in copy_oldmem_vaddr()
97 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
102 if (!csize) in copy_oldmem_page()
105 csize = min_t(size_t, csize, PAGE_SIZE); in copy_oldmem_page()
108 if (memblock_is_region_memory(paddr, csize)) { in copy_oldmem_page()
110 csize = copy_oldmem_vaddr(vaddr, buf, csize, offset, userbuf); in copy_oldmem_page()
113 csize = copy_oldmem_vaddr(vaddr, buf, csize, offset, userbuf); in copy_oldmem_page()
[all …]
/arch/x86/kernel/
Dcrash_dump_64.c14 static ssize_t __copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, in __copy_oldmem_page() argument
20 if (!csize) in __copy_oldmem_page()
32 if (copy_to_user((void __user *)buf, vaddr + offset, csize)) { in __copy_oldmem_page()
37 memcpy(buf, vaddr + offset, csize); in __copy_oldmem_page()
41 return csize; in __copy_oldmem_page()
57 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, in copy_oldmem_page() argument
60 return __copy_oldmem_page(pfn, buf, csize, offset, userbuf, false); in copy_oldmem_page()
68 ssize_t copy_oldmem_page_encrypted(unsigned long pfn, char *buf, size_t csize, in copy_oldmem_page_encrypted() argument
71 return __copy_oldmem_page(pfn, buf, csize, offset, userbuf, true); in copy_oldmem_page_encrypted()
Dcrash_dump_32.c52 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
56 if (!csize) in copy_oldmem_page()
65 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_page()
76 if (copy_to_user(buf, (kdump_buf_page + offset), csize)) in copy_oldmem_page()
80 return csize; in copy_oldmem_page()
/arch/ia64/kernel/
Dcrash_dump.c36 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
40 if (!csize) in copy_oldmem_page()
44 if (copy_to_user(buf, (vaddr + offset), csize)) { in copy_oldmem_page()
48 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_page()
49 return csize; in copy_oldmem_page()
/arch/sh/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 if (copy_to_user(buf, (vaddr + offset), csize)) { in copy_oldmem_page()
42 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_page()
45 return csize; in copy_oldmem_page()
/arch/arm/kernel/
Dcrash_dump.c31 size_t csize, unsigned long offset, in copy_oldmem_page() argument
36 if (!csize) in copy_oldmem_page()
44 if (copy_to_user(buf, vaddr + offset, csize)) { in copy_oldmem_page()
49 memcpy(buf, vaddr + offset, csize); in copy_oldmem_page()
53 return csize; in copy_oldmem_page()
/arch/mips/kernel/
Dcrash_dump.c28 size_t csize, unsigned long offset, int userbuf) in copy_oldmem_page() argument
32 if (!csize) in copy_oldmem_page()
38 memcpy(buf, (vaddr + offset), csize); in copy_oldmem_page()
48 if (copy_to_user(buf, (kdump_buf_page + offset), csize)) in copy_oldmem_page()
52 return csize; in copy_oldmem_page()
/arch/arm64/kernel/
Dcrash_dump.c29 size_t csize, unsigned long offset, in copy_oldmem_page() argument
34 if (!csize) in copy_oldmem_page()
42 if (copy_to_user((char __user *)buf, vaddr + offset, csize)) { in copy_oldmem_page()
47 memcpy(buf, vaddr + offset, csize); in copy_oldmem_page()
52 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/s390/kernel/
Dcrash_dump.c217 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, in copy_oldmem_page() argument
223 if (!csize) in copy_oldmem_page()
227 rc = copy_oldmem_user((void __force __user *) buf, src, csize); in copy_oldmem_page()
229 rc = copy_oldmem_kernel((void *) buf, src, csize); in copy_oldmem_page()
/arch/mips/include/asm/octeon/
Dcvmx-dpi-defs.h182 uint64_t csize:14; member
192 uint64_t csize:14;
199 uint64_t csize:14; member
211 uint64_t csize:14;
Dcvmx-npei-defs.h1061 uint64_t csize:14; member
1063 uint64_t csize:14;
1098 uint64_t csize:14; member
1100 uint64_t csize:14;
1134 uint64_t csize:14; member
1136 uint64_t csize:14;
Dcvmx-npi-defs.h503 uint64_t csize:14; member
505 uint64_t csize:14;