/arch/x86/kernel/cpu/microcode/ |
H A D | intel.c | 300 request_microcode_user(int cpu, const void __user *buf, size_t size) argument 302 return generic_load_microcode(cpu, (void *)buf, size, &get_ucode_user);
|
/arch/x86/kernel/cpu/mtrr/ |
H A D | if.c | 94 mtrr_write(struct file *file, const char __user *buf, size_t len, loff_t * ppos) argument 118 if (copy_from_user(line, buf, length))
|
/arch/x86/kernel/ |
H A D | cpuid.c | 83 static ssize_t cpuid_read(struct file *file, char __user *buf, argument 86 char __user *tmp = buf;
|
H A D | early_printk.c | 189 static int __init setup_early_printk(char *buf) argument 193 if (!buf) 199 keep = (strstr(buf, "keep") != NULL); 201 while (*buf != '\0') { 202 if (!strncmp(buf, "serial", 6)) { 203 buf += 6; 204 early_serial_init(buf); 206 if (!strncmp(buf, ",ttyS", 5)) 207 buf += 5; 209 if (!strncmp(buf, "tty [all...] |
H A D | ksysfs.c | 24 struct kobj_attribute *attr, char *buf) 26 return sprintf(buf, "0x%04x\n", boot_params.hdr.version); 33 char *buf, loff_t off, size_t count) 35 memcpy(buf, (void *)&boot_params + off, count); 117 struct kobj_attribute *attr, char *buf) 134 ret = sprintf(buf, "0x%x\n", data->type); 142 char *buf, 178 memcpy(buf, p + off, count); 23 version_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 31 boot_params_data_read(struct file *fp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 116 type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 139 setup_data_data_read(struct file *fp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
|
H A D | machine_kexec_64.c | 342 int arch_kexec_kernel_image_probe(struct kimage *image, void *buf, argument 353 ret = fops->probe(buf, buf_len);
|
H A D | signal.c | 67 void __user *buf; local 111 get_user_ex(buf, &sc->fpstate); 116 err |= restore_xstate_sig(buf, config_enabled(CONFIG_X86_32));
|
/arch/x86/kernel/kprobes/ |
H A D | opt.c | 42 unsigned long __recover_optprobed_insn(kprobe_opcode_t *buf, unsigned long addr) argument 67 memcpy(buf, (void *)addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); 69 buf[0] = kp->opcode; 70 memcpy(buf + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); 73 memcpy(buf, op->optinsn.copied_insn + offs, RELATIVE_ADDR_SIZE - offs); 76 return (unsigned long)buf; 233 kprobe_opcode_t buf[MAX_INSN_SIZE]; local 260 kernel_insn_init(&insn, (void *)recover_probed_instruction(buf, addr)); 325 u8 *buf; local 346 buf [all...] |
/arch/x86/mm/ |
H A D | tlb.c | 287 char buf[32]; local 290 len = sprintf(buf, "%ld\n", tlb_single_page_flush_ceiling); 291 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 297 char buf[32]; local 301 len = min(count, sizeof(buf) - 1); 302 if (copy_from_user(buf, user_buf, len)) 305 buf[len] = '\0'; 306 if (kstrtoint(buf, 0, &ceiling))
|
/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 141 struct device_attribute *attr, char *buf) 144 return sprintf(buf, "%s\n", mode); 148 const char *buf, size_t count) 153 if (strlen(mode) != count || strncasecmp(mode, buf, count)) 140 lid_wake_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument 146 lid_wake_mode_set(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
|
/arch/x86/platform/uv/ |
H A D | bios_uv.c | 150 uv_bios_reserved_page_pa(u64 buf, u64 *cookie, u64 *addr, u64 *len) argument 155 (u64)addr, buf, (u64)len, 0);
|
/arch/x86/um/ |
H A D | signal.c | 82 static int convert_fxsr_to_user(struct _fpstate __user *buf, argument 98 if (__copy_to_user(buf, env, 7 * sizeof(unsigned long))) 101 to = &buf->_st[0]; 116 struct _fpstate __user *buf) 123 if (copy_from_user( env, buf, 7 * sizeof(long))) 136 from = &buf->_st[0]; 115 convert_fxsr_from_user(struct user_fxsr_struct *fxsave, struct _fpstate __user *buf) argument
|
/arch/xtensa/platforms/iss/ |
H A D | console.c | 91 const unsigned char *buf, int count) 95 simc_write(1, buf, count); 90 rs_write(struct tty_struct * tty, const unsigned char *buf, int count) argument
|
/arch/xtensa/platforms/iss/include/platform/ |
H A D | simcall.h | 94 static inline int simc_read(int fd, void *buf, size_t count) argument 96 return __simc(SYS_read, fd, (int) buf, count); 99 static inline int simc_write(int fd, const void *buf, size_t count) argument 101 return __simc(SYS_write, fd, (int) buf, count);
|
/arch/arm/mach-davinci/ |
H A D | board-dm644x-evm.c | 350 sw_show(struct device *d, struct device_attribute *a, char *buf) argument 354 strcpy(buf, s); 520 char buf[4]; local 525 .buf = (void __force *)txbuf, 530 .buf = buf, 551 buf[0], buf[1], buf[2], buf[ [all...] |
/arch/arm/mach-omap2/ |
H A D | id.c | 727 char *buf) 729 return sprintf(buf, "%s\n", omap_types[omap_type()]); 725 omap_get_type(struct device *dev, struct device_attribute *attr, char *buf) argument
|
/arch/arm/mach-orion5x/ |
H A D | ts78xx-setup.c | 201 const uint8_t *buf, int len) 205 unsigned long off = ((unsigned long)buf & 3); 210 writesb(io_base, buf, sz); 211 buf += sz; 217 u32 *buf32 = (u32 *)buf; 219 buf += sz << 2; 224 writesb(io_base, buf, len); 228 uint8_t *buf, int len) 232 unsigned long off = ((unsigned long)buf & 3); 237 readsb(io_base, buf, s 200 ts78xx_ts_nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) argument 227 ts78xx_ts_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) argument 508 ts78xx_fpga_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 517 ts78xx_fpga_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t n) argument [all...] |
/arch/arm64/include/asm/ |
H A D | io.h | 168 u8 *buf = buffer; local 170 *buf++ = __raw_readb(addr + PCI_IOBASE); 175 u16 *buf = buffer; local 177 *buf++ = __raw_readw(addr + PCI_IOBASE); 182 u32 *buf = buffer; local 184 *buf++ = __raw_readl(addr + PCI_IOBASE); 189 const u8 *buf = buffer; local 191 __raw_writeb(*buf++, addr + PCI_IOBASE); 196 const u16 *buf = buffer; local 198 __raw_writew(*buf 203 const u32 *buf = buffer; local [all...] |
/arch/blackfin/kernel/ |
H A D | bfin_dma.c | 587 static void _dma_out(unsigned long addr, unsigned long buf, unsigned DMA_MMR_SIZE_TYPE len, argument 590 blackfin_dcache_flush_range(buf, buf + len * size); 591 __dma_memcpy(addr, 0, buf, size, len, dma_size); 594 static void _dma_in(unsigned long addr, unsigned long buf, unsigned DMA_MMR_SIZE_TYPE len, argument 597 blackfin_dcache_invalidate_range(buf, buf + len * size); 598 __dma_memcpy(buf, size, addr, 0, len, dma_size); 602 void dma_##io##s##bwl(unsigned long addr, cnst void *buf, unsigned DMA_MMR_SIZE_TYPE len) \ 604 _dma_##io(addr, (unsigned long)buf, le [all...] |
/arch/cris/include/uapi/asm/ |
H A D | sync_serial.h | 126 char __user *buf; /* Where to put the data. */ member in struct:ssp_request 127 size_t len; /* Size of buf. MUST be a multiple of */
|
/arch/hexagon/include/asm/ |
H A D | io.h | 278 u8 *buf = buffer; local 281 *buf++ = x; 289 u16 *buf = buffer; local 292 *buf++ = x; 300 u32 *buf = buffer; local 303 *buf++ = x; 311 const u8 *buf = buffer; local 313 outb(*buf++, port); 321 const u16 *buf = buffer; local 323 outw(*buf 331 const u32 *buf = buffer; local [all...] |
/arch/ia64/kernel/ |
H A D | mca_drv.c | 81 char buf[256]; local 84 vsnprintf(buf, sizeof(buf), fmt, args); 86 ia64_mca_printk(KERN_ALERT "MCA: %s\n", buf); 95 char buf[256]; local 98 vsnprintf(buf, sizeof(buf), fmt, args); 100 ia64_mca_printk(KERN_INFO "MCA: %s\n", buf);
|
H A D | process.c | 67 char buf[128]; /* don't make it so big that it overflows the stack! */ local 77 snprintf(buf, sizeof(buf), 81 print_symbol(buf, ip);
|
H A D | topology.c | 186 char *buf) 188 return sprintf(buf, "%u\n", 1 << this_leaf->cci.pcci_line_size); 192 char *buf) 194 return sprintf(buf, "%u\n", this_leaf->cci.pcci_assoc); 197 static ssize_t show_attributes(struct cache_info *this_leaf, char *buf) argument 199 return sprintf(buf, 204 static ssize_t show_size(struct cache_info *this_leaf, char *buf) argument 206 return sprintf(buf, "%uK\n", this_leaf->cci.pcci_cache_size / 1024); 209 static ssize_t show_number_of_sets(struct cache_info *this_leaf, char *buf) argument 215 return sprintf(buf, " 185 show_coherency_line_size(struct cache_info *this_leaf, char *buf) argument 191 show_ways_of_associativity(struct cache_info *this_leaf, char *buf) argument 218 show_shared_cpu_map(struct cache_info *this_leaf, char *buf) argument 230 show_type(struct cache_info *this_leaf, char *buf) argument 236 show_level(struct cache_info *this_leaf, char *buf) argument 278 ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) argument [all...] |
/arch/ia64/sn/kernel/ |
H A D | tiocx.c | 445 static ssize_t show_cxdev_control(struct device *dev, struct device_attribute *attr, char *buf) argument 449 return sprintf(buf, "0x%x 0x%x 0x%x 0x%x\n", 455 static ssize_t store_cxdev_control(struct device *dev, struct device_attribute *attr, const char *buf, argument 467 n = simple_strtoul(buf, NULL, 0);
|