Searched defs:buf (Results 1 - 25 of 436) sorted by relevance

1234567891011>>

/arch/arm/kernel/
H A Dcrash_dump.c24 * @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 Dearly_printk.c41 char buf[512]; local
46 n = vscnprintf(buf, sizeof(buf), fmt, ap);
47 early_write(buf, n);
51 static int __init setup_early_printk(char *buf) argument
/arch/ia64/kernel/
H A Dcrash_dump.c19 * @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/mn10300/kernel/
H A Dio.c21 const unsigned char *buf = buffer; local
25 memcpy(&val, buf, 4);
27 buf += 4;
/arch/powerpc/boot/
H A Dofconsole.c36 static void of_console_write(const char *buf, int len) argument
38 of_call_prom("write", 3, 1, of_stdout_handle, buf, len);
/arch/sh/kernel/
H A Dcrash_dump.c15 * @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 Dconsole_32.c21 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 Dconsole_64.c15 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 Dearly_printk.c26 static int __init setup_early_printk(char *buf) argument
/arch/x86/kernel/
H A Dcrash_dump_64.c16 * @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 Dsrm_printk.c11 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 Dcsumpartial.S21 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 Dmerisc_sysfs.c21 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 Dclear_user.S19 #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/mips/boot/compressed/
H A Ddbg.c29 unsigned char buf[10]; local
32 buf[i] = "0123456789ABCDEF"[val & 0x0F];
35 buf[8] = '\0';
36 puts(buf);
/arch/mips/dec/prom/
H A Dconsole.c21 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 Dspi.h21 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/powerpc/platforms/pseries/
H A Dhvconsole.c37 * @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 if (plpar_get_term_char(vtermno, &got, buf) == H_SUCCESS)
58 * @buf: The character buffer that contains the character data to send to
62 int hvc_put_chars(uint32_t vtermno, const char *buf, int count) argument
64 unsigned long *lbuf = (unsigned long *) buf;
/arch/s390/crypto/
H A Dsha.h28 u8 buf[2 * SHA_MAX_BLOCK_SIZE]; member in struct:s390_sha_ctx
/arch/unicore32/kernel/
H A Dearly_printk.c41 static int __init setup_early_printk(char *buf) argument
43 if (!buf)
46 if (strstr(buf, "keep"))
49 if (!strncmp(buf, "ocd", 3))
/arch/x86/platform/uv/
H A Duv_sysfs.c29 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
/arch/arm/boot/compressed/
H A Dmmcif-sh7372.c43 asmlinkage void mmc_loader(unsigned char *buf, unsigned long len) argument
81 (len + SH_MMCIF_BBS - 1) / SH_MMCIF_BBS, buf);
H A Dsdhi-sh7372.c50 asmlinkage void mmc_loader(unsigned short *buf, unsigned long len) argument
84 (len + TMIO_BBS - 1) / TMIO_BBS, buf))
/arch/arm/mach-msm/
H A Dlast_radio_log.c31 static ssize_t last_radio_log_read(struct file *file, char __user *buf, argument
41 if (copy_to_user(buf, radio_log_base + pos, count)) {
/arch/blackfin/include/asm/
H A Dtrace.h27 extern void decode_address(char *buf, unsigned long address);
30 static inline void decode_address(char *buf, unsigned long address) { } argument

Completed in 1405 milliseconds

1234567891011>>