/arch/arm/kernel/ |
H A D | crash_dump.c | 24 * @buf: buffer where the copied page is placed 27 * @userbuf: if set, @buf is int he user address space 30 * @buf. If @buf is in userspace, set @userbuf to %1. Returns number of bytes 33 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, argument 47 if (copy_to_user(buf, vaddr + offset, csize)) { 52 memcpy(buf, vaddr + offset, csize);
|
H A D | early_printk.c | 39 static int __init setup_early_printk(char *buf) argument
|
/arch/ia64/kernel/ |
H A D | crash_dump.c | 19 * @buf: target memory address for the copy; this can be in kernel address 23 * @userbuf: if set, @buf is in user address space, use copy_to_user(), 24 * otherwise @buf is in kernel address space, use memcpy(). 34 copy_oldmem_page(unsigned long pfn, char *buf, argument 43 if (copy_to_user(buf, (vaddr + offset), csize)) { 47 memcpy(buf, (vaddr + offset), csize);
|
/arch/mips/bcm47xx/ |
H A D | time.c | 37 char buf[10]; local 64 len = bcm47xx_nvram_getenv("clkfreq", buf, sizeof(buf)); 65 if (len >= 0 && !strncmp(buf, "200", 4))
|
/arch/mips/paravirt/ |
H A D | serial.c | 25 static int paravirt_put_chars(u32 vtermno, const char *buf, int count) argument 28 (unsigned long)buf, count);
|
/arch/mn10300/kernel/ |
H A D | io.c | 21 const unsigned char *buf = buffer; local 25 memcpy(&val, buf, 4); 27 buf += 4;
|
/arch/powerpc/boot/ |
H A D | ofconsole.c | 38 static void of_console_write(const char *buf, int len) argument 40 of_call_prom("write", 3, 1, of_stdout_handle, buf, len);
|
/arch/sh/kernel/ |
H A D | crash_dump.c | 15 * @buf: target memory address for the copy; this can be in kernel address 19 * @userbuf: if set, @buf is in user address space, use copy_to_user(), 20 * otherwise @buf is in kernel address space, use memcpy(). 25 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, argument 36 if (copy_to_user(buf, (vaddr + offset), csize)) { 41 memcpy(buf, (vaddr + offset), csize);
|
/arch/sparc/prom/ |
H A D | console_32.c | 21 static int prom_nbputchar(const char *buf) argument 29 if ((*(romvec->pv_nbputchar))(*buf)) 35 buf, 0x1) == 1) 46 void prom_console_write_buf(const char *buf, int len) argument 49 int n = prom_nbputchar(buf); 53 buf++;
|
H A D | console_64.c | 15 static int __prom_console_write_buf(const char *buf, int len) argument 24 args[4] = (unsigned long) buf; 36 void prom_console_write_buf(const char *buf, int len) argument 39 int n = __prom_console_write_buf(buf, len); 43 buf += len;
|
/arch/um/kernel/ |
H A D | early_printk.c | 26 static int __init setup_early_printk(char *buf) argument
|
/arch/unicore32/kernel/ |
H A D | early_printk.c | 36 static int __init setup_early_printk(char *buf) argument 38 if (!buf || early_console) 42 if (strstr(buf, "keep"))
|
/arch/x86/kernel/ |
H A D | crash_dump_64.c | 16 * @buf: target memory address for the copy; this can be in kernel address 20 * @userbuf: if set, @buf is in user address space, use copy_to_user(), 21 * otherwise @buf is in kernel address space, use memcpy(). 26 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, argument 39 if (copy_to_user(buf, vaddr + offset, csize)) { 44 memcpy(buf, vaddr + offset, csize);
|
/arch/alpha/lib/ |
H A D | srm_printk.c | 11 static char buf[1024]; local 17 len = vsprintf(buf, fmt, args); 23 for (src = buf; *src; ++src) { 31 for (dst = src + num_lf; src >= buf; ) { 39 srm_puts(buf, num_lf+len);
|
/arch/arm/lib/ |
H A D | csumpartial.S | 21 buf .req r0 label 41 tst buf, #1 @ odd address? 43 ldrneb td0, [buf], #1 54 ldrh td0, [buf], #2 57 ldrb td0, [buf], #1 58 ldrb td3, [buf], #1 71 ldrneb td0, [buf], #1 @ include last byte 80 .Lnot_aligned: tst buf, #1 @ odd address 81 ldrneb td0, [buf], #1 @ make even 85 tst buf, # [all...] |
/arch/avr32/boards/merisc/ |
H A D | merisc_sysfs.c | 21 static ssize_t merisc_model_show(struct class *class, char *buf) argument 25 sprintf(buf, "%s\n", merisc_model()); 26 ret = strlen(buf) + 1; 31 static ssize_t merisc_revision_show(struct class *class, char *buf) argument 35 sprintf(buf, "%s\n", merisc_revision()); 36 ret = strlen(buf) + 1;
|
/arch/ia64/lib/ |
H A D | clear_user.S | 19 #define buf r32 define 80 EX( .Lexit1, st1 [buf]=r0,1 ) 102 tbit.nz p6,p0=buf,0 // odd alignment (for long_do_clear) 104 EX( .Lexit3, (p6) st1 [buf]=r0,1 ) // 1-byte aligned 105 (p6) adds len=-1,len;; // sync because buf is modified 106 tbit.nz p6,p0=buf,1 108 EX( .Lexit3, (p6) st2 [buf]=r0,2 ) // 2-byte aligned 110 tbit.nz p6,p0=buf,2 112 EX( .Lexit3, (p6) st4 [buf]=r0,4 ) // 4-byte aligned 114 tbit.nz p6,p0=buf, [all...] |
/arch/m68k/kernel/ |
H A D | early_printk.c | 39 static int __init setup_early_printk(char *buf) argument 41 if (early_console || buf)
|
/arch/mips/boot/compressed/ |
H A D | dbg.c | 28 unsigned char buf[10]; local 31 buf[i] = "0123456789ABCDEF"[val & 0x0F]; 34 buf[8] = '\0'; 35 puts(buf);
|
/arch/mips/dec/prom/ |
H A D | console.c | 21 char buf[81]; local 22 unsigned int chunk = sizeof(buf) - 1; 27 memcpy(buf, s, chunk); 28 buf[chunk] = '\0'; 29 prom_printf("%s", buf);
|
/arch/mips/include/asm/txx9/ |
H A D | spi.h | 21 int address, unsigned char *buf, int len); 28 int address, unsigned char *buf, int len) 27 spi_eeprom_read(int busid, int chipid, int address, unsigned char *buf, int len) argument
|
/arch/mips/kernel/ |
H A D | crash_dump.c | 12 * @buf: target memory address for the copy; this can be in kernel address 16 * @userbuf: if set, @buf is in user address space, use copy_to_user(), 17 * otherwise @buf is in kernel address space, use memcpy(). 26 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, argument 37 memcpy(buf, (vaddr + offset), csize); 47 if (copy_to_user(buf, (kdump_buf_page + offset), csize))
|
/arch/powerpc/platforms/pseries/ |
H A D | hvconsole.c | 37 * @buf: The character buffer into which to put the character data fetched from 41 int hvc_get_chars(uint32_t vtermno, char *buf, int count) argument 45 unsigned long *lbuf = (unsigned long *)buf; 64 * @buf: The character buffer that contains the character data to send to 68 int hvc_put_chars(uint32_t vtermno, const char *buf, int count) argument 70 unsigned long *lbuf = (unsigned long *) buf;
|
/arch/s390/crypto/ |
H A D | sha.h | 28 u8 buf[2 * SHA_MAX_BLOCK_SIZE]; member in struct:s390_sha_ctx
|
/arch/x86/platform/uv/ |
H A D | uv_sysfs.c | 29 struct kobj_attribute *attr, char *buf) 31 return snprintf(buf, PAGE_SIZE, "%ld\n", sn_partition_id); 35 struct kobj_attribute *attr, char *buf) 37 return snprintf(buf, PAGE_SIZE, "%ld\n", partition_coherence_id()); 28 partition_id_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 34 coherence_id_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
|