Searched defs:buf (Results 26 - 50 of 473) sorted by relevance

1234567891011>>

/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/common/
H A DbL_switcher_dummy_if.c21 static ssize_t bL_switcher_write(struct file *file, const char __user *buf, argument
33 if (copy_from_user(val, buf, 3))
/arch/arm/mach-msm/
H A Dlast_radio_log.c31 static ssize_t last_radio_log_read(struct file *file, char __user *buf, argument
34 return simple_read_from_buffer(buf, len, offset,
/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
/arch/blackfin/kernel/
H A Dearly_printk.c37 static struct console * __init earlyserial_init(char *buf) argument
44 serial_port = simple_strtoul(buf, &buf, 10);
45 buf++;
48 baud = simple_strtoul(buf, &buf, 10);
75 parity = buf[0];
76 buf++;
86 bit = simple_strtoul(buf, &buf, 1
110 setup_early_printk(char *buf) argument
[all...]
/arch/blackfin/mm/
H A Dinit.c93 char buf[64]; local
102 snprintf(buf, sizeof(buf) - 1, "%uK DMA", DMA_UNCACHED_REGION >> 10);
103 mem_init_print_info(buf);
/arch/ia64/hp/sim/
H A Dhpsim_console.c48 simcons_write (struct console *cons, const char *buf, unsigned count) argument
53 ch = *buf++;
/arch/m68k/emu/
H A Dnatfeat.c56 static char buf[256]; local
61 n = vsnprintf(buf, 256, fmt, ap);
62 nf_call(nf_get_id("NF_STDERR"), virt_to_phys(buf));
77 char buf[256]; local
87 nf_call(id, virt_to_phys(buf), 256);
88 buf[255] = 0;
90 pr_info("NatFeats found (%s, %lu.%lu)\n", buf, version >> 16,
/arch/m68k/kernel/
H A Dbootinfo_proc.c21 static ssize_t bootinfo_read(struct file *file, char __user *buf, argument
24 return simple_read_from_buffer(buf, count, ppos, bootinfo_copy,
/arch/mips/bcm63xx/
H A Dsetup.c134 static char buf[128]; local
135 snprintf(buf, sizeof(buf), "bcm63xx/%s (0x%04x/0x%02X)",
138 return buf;
/arch/mips/include/asm/
H A Dpaccess.h31 struct __large_pstruct { unsigned long buf[100]; }; member in struct:__large_pstruct
/arch/mips/oprofile/
H A Dcommon.c43 char buf[4]; local
45 snprintf(buf, sizeof buf, "%d", i);
46 dir = oprofilefs_mkdir(root, buf);
/arch/mn10300/include/asm/
H A Dfpu.h60 extern int fpu_setup_sigcontext(struct fpucontext *buf);
61 extern int fpu_restore_sigcontext(struct fpucontext *buf);
128 static inline int fpu_setup_sigcontext(struct fpucontext *buf) { return 0; } argument
129 static inline int fpu_restore_sigcontext(struct fpucontext *buf) { return 0; } argument
/arch/powerpc/kernel/
H A Deeh_sysfs.c41 struct device_attribute *attr, char *buf) \
49 return sprintf(buf, _format "\n", edev->_memb); \
58 struct device_attribute *attr, char *buf)
68 return sprintf(buf, "0x%08x 0x%08x\n",
74 const char *buf, size_t count)
57 eeh_pe_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
72 eeh_pe_state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
H A Dproc_powerpc.c37 static ssize_t page_map_read( struct file *file, char __user *buf, size_t nbytes, argument
40 return simple_read_from_buffer(buf, nbytes, ppos,
/arch/powerpc/platforms/cell/
H A Dbeat_udbg.c51 char ch, *buf = (char *)inbuf; local
67 ch = buf[0];
69 buf[i-1] = buf[i];
/arch/powerpc/platforms/powernv/
H A Dopal-nvram.c28 static ssize_t opal_nvram_read(char *buf, size_t count, loff_t *index) argument
38 rc = opal_read_nvram(__pa(buf), count, off);
45 static ssize_t opal_nvram_write(char *buf, size_t count, loff_t *index) argument
57 rc = opal_write_nvram(__pa(buf), count, off);
/arch/powerpc/platforms/pseries/
H A Dpower.c33 struct kobj_attribute *attr, char *buf)
35 return sprintf(buf, "%lu\n", rtas_poweron_auto);
40 const char *buf, size_t n)
44 ret = sscanf(buf, "%lu", &ups_restart);
32 auto_poweron_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
38 auto_poweron_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t n) argument
/arch/sh/boot/romimage/
H A Dmmcif-sh7724.c31 asmlinkage void mmcif_loader(unsigned char *buf, unsigned long no_bytes) argument
66 buf);
/arch/sh/kernel/
H A Dsys_sh32.c37 asmlinkage ssize_t sys_pread_wrapper(unsigned int fd, char __user *buf, argument
40 return sys_pread64(fd, buf, count, pos);
43 asmlinkage ssize_t sys_pwrite_wrapper(unsigned int fd, const char __user *buf, argument
46 return sys_pwrite64(fd, buf, count, pos);
/arch/sparc/prom/
H A Dprintf.c29 void notrace prom_write(const char *buf, unsigned int n) argument
40 char ch = *buf++;
/arch/um/drivers/
H A Dcow_sys.h35 static inline int cow_write_file(int fd, void *buf, int size) argument
37 return os_write_file(fd, buf, size);
H A Dslip_common.c5 int slip_proto_read(int fd, void *buf, int len, struct slip_proto *slip) argument
15 memcpy(buf, slip->ibuf, size);
35 memcpy(buf, slip->ibuf, size);
45 int slip_proto_write(int fd, void *buf, int len, struct slip_proto *slip) argument
49 actual = slip_esc(buf, slip->obuf, len);
/arch/um/kernel/
H A Dinitrd.c15 static int load_initrd(char *filename, void *buf, int size);
65 static int load_initrd(char *filename, void *buf, int size) argument
75 n = os_read_file(fd, buf, size);

Completed in 564 milliseconds

1234567891011>>