buffer 344 arch/alpha/kernel/osf_sys.c struct osf_statfs __user *, buffer, unsigned long, bufsiz) buffer 349 arch/alpha/kernel/osf_sys.c error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz); buffer 390 arch/alpha/kernel/osf_sys.c struct osf_statfs __user *, buffer, unsigned long, bufsiz) buffer 395 arch/alpha/kernel/osf_sys.c error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz); buffer 400 arch/alpha/kernel/osf_sys.c struct osf_statfs64 __user *, buffer, unsigned long, bufsiz) buffer 405 arch/alpha/kernel/osf_sys.c error = linux_to_osf_statfs64(&linux_stat, buffer, bufsiz); buffer 410 arch/alpha/kernel/osf_sys.c struct osf_statfs64 __user *, buffer, unsigned long, bufsiz) buffer 415 arch/alpha/kernel/osf_sys.c error = linux_to_osf_statfs64(&linux_stat, buffer, bufsiz); buffer 761 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE5(osf_getsysinfo, unsigned long, op, void __user *, buffer, buffer 774 arch/alpha/kernel/osf_sys.c if (put_user(w, (unsigned long __user *) buffer)) buffer 790 arch/alpha/kernel/osf_sys.c if (put_user(w, (unsigned int __user *)buffer)) buffer 800 arch/alpha/kernel/osf_sys.c if (put_user(w, (unsigned long __user*)buffer)) buffer 807 arch/alpha/kernel/osf_sys.c if (copy_to_user(buffer, hwrpb, nbytes) != 0) buffer 818 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer, buffer 833 arch/alpha/kernel/osf_sys.c if (get_user(swcr, (unsigned long __user *)buffer)) buffer 852 arch/alpha/kernel/osf_sys.c if (get_user(exc, (unsigned long __user *)buffer)) buffer 896 arch/alpha/kernel/osf_sys.c unsigned __user *p = buffer; buffer 899 arch/alpha/kernel/osf_sys.c for (i = 0, p = buffer; i < nbytes; ++i, p += 2) { buffer 89 arch/alpha/kernel/srm_env.c static ssize_t srm_env_proc_write(struct file *file, const char __user *buffer, buffer 105 arch/alpha/kernel/srm_env.c if (copy_from_user(buf, buffer, count)) buffer 16 arch/arm/kernel/atags_proc.c struct buffer *b = PDE_DATA(file_inode(file)); buffer 41 arch/arm/kernel/atags_proc.c struct buffer *b; buffer 62 arch/arm/mach-rpc/ecard.c void *buffer; buffer 136 arch/arm/mach-rpc/ecard.c unsigned char *buf = req->buffer; buffer 321 arch/arm/mach-rpc/ecard.c req.buffer = addr; buffer 151 arch/arm/mm/alignment.c static ssize_t alignment_proc_write(struct file *file, const char __user *buffer, buffer 157 arch/arm/mm/alignment.c if (get_user(mode, buffer)) buffer 206 arch/arm64/kernel/armv8_deprecated.c void __user *buffer, size_t *lenp, buffer 214 arch/arm64/kernel/armv8_deprecated.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 344 arch/arm64/kernel/fpsimd.c void __user *buffer, size_t *lenp, buffer 354 arch/arm64/kernel/fpsimd.c ret = proc_dointvec(&tmp_table, write, buffer, lenp, ppos); buffer 85 arch/arm64/kernel/kexec_image.c kbuf.buffer = kernel; buffer 194 arch/arm64/kernel/machine_kexec_file.c kbuf.buffer = initrd; buffer 221 arch/arm64/kernel/machine_kexec_file.c kbuf.buffer = dtb; buffer 255 arch/hexagon/include/asm/io.h static inline void insb(unsigned long port, void *buffer, int count) buffer 258 arch/hexagon/include/asm/io.h u8 *buf = buffer; buffer 266 arch/hexagon/include/asm/io.h static inline void insw(unsigned long port, void *buffer, int count) buffer 269 arch/hexagon/include/asm/io.h u16 *buf = buffer; buffer 277 arch/hexagon/include/asm/io.h static inline void insl(unsigned long port, void *buffer, int count) buffer 280 arch/hexagon/include/asm/io.h u32 *buf = buffer; buffer 288 arch/hexagon/include/asm/io.h static inline void outsb(unsigned long port, const void *buffer, int count) buffer 291 arch/hexagon/include/asm/io.h const u8 *buf = buffer; buffer 298 arch/hexagon/include/asm/io.h static inline void outsw(unsigned long port, const void *buffer, int count) buffer 301 arch/hexagon/include/asm/io.h const u16 *buf = buffer; buffer 308 arch/hexagon/include/asm/io.h static inline void outsl(unsigned long port, const void *buffer, int count) buffer 311 arch/hexagon/include/asm/io.h const u32 *buf = buffer; buffer 32 arch/ia64/kernel/acpi-ext.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 37 arch/ia64/kernel/acpi-ext.c &buffer); buffer 39 arch/ia64/kernel/acpi-ext.c resource = buffer.pointer; buffer 51 arch/ia64/kernel/acpi-ext.c kfree(buffer.pointer); buffer 830 arch/ia64/kernel/acpi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 837 arch/ia64/kernel/acpi.c if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) buffer 840 arch/ia64/kernel/acpi.c if (!buffer.length || !buffer.pointer) buffer 843 arch/ia64/kernel/acpi.c obj = buffer.pointer; buffer 845 arch/ia64/kernel/acpi.c obj->buffer.length < sizeof(*iosapic)) { buffer 846 arch/ia64/kernel/acpi.c kfree(buffer.pointer); buffer 850 arch/ia64/kernel/acpi.c iosapic = (struct acpi_madt_io_sapic *)obj->buffer.pointer; buffer 853 arch/ia64/kernel/acpi.c kfree(buffer.pointer); buffer 859 arch/ia64/kernel/acpi.c kfree(buffer.pointer); buffer 420 arch/ia64/kernel/efi.c static u8 __init palo_checksum(u8 *buffer, u32 length) buffer 423 arch/ia64/kernel/efi.c u8 *end = buffer + length; buffer 425 arch/ia64/kernel/efi.c while (buffer < end) buffer 426 arch/ia64/kernel/efi.c sum = (u8) (sum + *(buffer++)); buffer 168 arch/ia64/kernel/mca.c extern void salinfo_log_wakeup(int type, u8 *buffer, u64 size, int irqsafe); buffer 423 arch/ia64/kernel/mca.c ia64_log_get(int sal_info_type, u8 **buffer, int irq_safe) buffer 443 arch/ia64/kernel/mca.c *buffer = (u8 *) log_buffer; buffer 463 arch/ia64/kernel/mca.c u8 *buffer; buffer 471 arch/ia64/kernel/mca.c size = ia64_log_get(sal_info_type, &buffer, irq_safe); buffer 475 arch/ia64/kernel/mca.c salinfo_log_wakeup(sal_info_type, buffer, size, irq_safe); buffer 483 arch/ia64/kernel/mca.c rh = (sal_log_record_header_t *)buffer; buffer 72 arch/ia64/kernel/mca_drv.c slidx_list_t *buffer; /* section pointer list pool */ buffer 221 arch/ia64/kernel/mca_drv.c {slidx_list_t *hl = &slidx_pool.buffer[slidx_pool.cur_idx]; \ buffer 227 arch/ia64/kernel/mca_drv.c mca_make_slidx(void *buffer, slidx_table_t *slidx) buffer 230 arch/ia64/kernel/mca_drv.c int record_len = ((sal_log_record_header_t*)buffer)->len; buffer 252 arch/ia64/kernel/mca_drv.c slidx->header = buffer; buffer 260 arch/ia64/kernel/mca_drv.c sp = (sal_log_section_hdr_t *)((char*)buffer + ercd_pos); buffer 352 arch/ia64/kernel/mca_drv.c slidx_pool.buffer = buffer 356 arch/ia64/kernel/mca_drv.c return slidx_pool.buffer ? 0 : -ENOMEM; buffer 776 arch/ia64/kernel/mca_drv.c kfree(slidx_pool.buffer); buffer 786 arch/ia64/kernel/mca_drv.c kfree(slidx_pool.buffer); buffer 2116 arch/ia64/kernel/perfmon.c static char *pfmfs_dname(struct dentry *dentry, char *buffer, int buflen) buffer 2118 arch/ia64/kernel/perfmon.c return dynamic_dname(dentry, buffer, buflen, "pfm:[%lu]", buffer 94 arch/ia64/kernel/salinfo.c u8* buffer; buffer 212 arch/ia64/kernel/salinfo.c salinfo_log_wakeup(int type, u8 *buffer, u64 size, int irqsafe) buffer 224 arch/ia64/kernel/salinfo.c if (buffer) { buffer 226 arch/ia64/kernel/salinfo.c if (!data_saved->buffer) buffer 238 arch/ia64/kernel/salinfo.c data_saved->id = ((sal_log_record_header_t *)buffer)->id; buffer 240 arch/ia64/kernel/salinfo.c data_saved->buffer = buffer; buffer 283 arch/ia64/kernel/salinfo.c salinfo_event_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) buffer 328 arch/ia64/kernel/salinfo.c if (copy_to_user(buffer, cmd, size)) buffer 407 arch/ia64/kernel/salinfo.c if (data_saved->buffer && data_saved->cpu == cpu) { buffer 408 arch/ia64/kernel/salinfo.c sal_log_record_header_t *rh = (sal_log_record_header_t *)(data_saved->buffer); buffer 434 arch/ia64/kernel/salinfo.c salinfo_log_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) buffer 450 arch/ia64/kernel/salinfo.c return simple_read_from_buffer(buffer, count, ppos, buf, bufsize); buffer 495 arch/ia64/kernel/salinfo.c salinfo_log_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) buffer 506 arch/ia64/kernel/salinfo.c if (copy_from_user(cmd, buffer, size)) buffer 571 arch/ia64/kernel/salinfo.c if (data_saved->buffer && data_saved->cpu == cpu) buffer 103 arch/mips/cavium-octeon/crypto/octeon-sha1.c memcpy(sctx->buffer + partial, data, buffer 105 arch/mips/cavium-octeon/crypto/octeon-sha1.c src = sctx->buffer; buffer 116 arch/mips/cavium-octeon/crypto/octeon-sha1.c memcpy(sctx->buffer + partial, src, len - done); buffer 167 arch/mips/cavium-octeon/executive/cvmx-cmd-queue.c void *buffer; buffer 175 arch/mips/cavium-octeon/executive/cvmx-cmd-queue.c buffer = cvmx_fpa_alloc(fpa_pool); buffer 176 arch/mips/cavium-octeon/executive/cvmx-cmd-queue.c if (buffer == NULL) { buffer 186 arch/mips/cavium-octeon/executive/cvmx-cmd-queue.c qstate->base_ptr_div128 = cvmx_ptr_to_phys(buffer) / 128; buffer 59 arch/mips/cavium-octeon/executive/octeon-model.c char *buffer) buffer 490 arch/mips/cavium-octeon/executive/octeon-model.c sprintf(buffer, "CN%s%sp%s-%d-%s", family, core_model, pass, clock_mhz, suffix); buffer 491 arch/mips/cavium-octeon/executive/octeon-model.c return buffer; buffer 509 arch/mips/cavium-octeon/executive/octeon-model.c static char buffer[32]; buffer 510 arch/mips/cavium-octeon/executive/octeon-model.c return octeon_model_get_string_buffer(chip_id, buffer); buffer 309 arch/mips/fw/cfe/cfe_api.c cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, buffer 321 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); buffer 351 arch/mips/fw/cfe/cfe_api.c int cfe_read(int handle, unsigned char *buffer, int length) buffer 353 arch/mips/fw/cfe/cfe_api.c return cfe_readblk(handle, 0, buffer, length); buffer 356 arch/mips/fw/cfe/cfe_api.c int cfe_readblk(int handle, s64 offset, unsigned char *buffer, int length) buffer 366 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); buffer 396 arch/mips/fw/cfe/cfe_api.c int cfe_write(int handle, const char *buffer, int length) buffer 398 arch/mips/fw/cfe/cfe_api.c return cfe_writeblk(handle, 0, buffer, length); buffer 401 arch/mips/fw/cfe/cfe_api.c int cfe_writeblk(int handle, s64 offset, const char *buffer, int length) buffer 411 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); buffer 98 arch/mips/include/asm/fw/cfe/cfe_api.h int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, buffer 101 arch/mips/include/asm/fw/cfe/cfe_api.h int cfe_read(int handle, unsigned char *buffer, int length); buffer 102 arch/mips/include/asm/fw/cfe/cfe_api.h int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, buffer 105 arch/mips/include/asm/fw/cfe/cfe_api.h int cfe_write(int handle, const char *buffer, int length); buffer 106 arch/mips/include/asm/fw/cfe/cfe_api.h int cfe_writeblk(int handle, int64_t offset, const char *buffer, buffer 283 arch/mips/include/asm/octeon/cvmx-fpa.h extern int cvmx_fpa_setup_pool(uint64_t pool, const char *name, void *buffer, buffer 2197 arch/mips/include/asm/octeon/cvmx-pow.h extern int cvmx_pow_capture(void *buffer, int buffer_size); buffer 2206 arch/mips/include/asm/octeon/cvmx-pow.h extern void cvmx_pow_display(void *buffer, int buffer_size); buffer 36 arch/mips/include/asm/rtlx.h ssize_t rtlx_write(int index, const void __user *buffer, size_t count); buffer 284 arch/mips/kernel/rtlx.c ssize_t rtlx_write(int index, const void __user *buffer, size_t count) buffer 307 arch/mips/kernel/rtlx.c failed = copy_from_user(rt->rt_buffer + rt->rt_write, buffer, fl); buffer 313 arch/mips/kernel/rtlx.c failed = copy_from_user(rt->rt_buffer, buffer + fl, count - fl); buffer 361 arch/mips/kernel/rtlx.c static ssize_t file_read(struct file *file, char __user *buffer, size_t count, buffer 370 arch/mips/kernel/rtlx.c return rtlx_read(minor, buffer, count); buffer 373 arch/mips/kernel/rtlx.c static ssize_t file_write(struct file *file, const char __user *buffer, buffer 391 arch/mips/kernel/rtlx.c return rtlx_write(minor, buffer, count); buffer 860 arch/mips/kernel/vpe.c static ssize_t vpe_write(struct file *file, const char __user *buffer, buffer 879 arch/mips/kernel/vpe.c count -= copy_from_user(v->pbuffer + v->len, buffer, count); buffer 30 arch/mips/lasat/sysctl.c void *buffer, size_t *lenp, loff_t *ppos) buffer 34 arch/mips/lasat/sysctl.c r = proc_dostring(table, write, buffer, lenp, ppos); buffer 48 arch/mips/lasat/sysctl.c void *buffer, size_t *lenp, loff_t *ppos) buffer 60 arch/mips/lasat/sysctl.c r = proc_dointvec(table, write, buffer, lenp, ppos); buffer 81 arch/mips/lasat/sysctl.c void *buffer, size_t *lenp, loff_t *ppos) buffer 96 arch/mips/lasat/sysctl.c p = buffer; buffer 106 arch/mips/lasat/sysctl.c if (copy_from_user(ipbuf, buffer, len)) buffer 125 arch/mips/lasat/sysctl.c if (copy_to_user(buffer, ipbuf, len)) buffer 128 arch/mips/lasat/sysctl.c if (put_user('\n', ((char *) buffer) + len)) buffer 141 arch/mips/lasat/sysctl.c void *buffer, size_t *lenp, loff_t *ppos) buffer 145 arch/mips/lasat/sysctl.c r = proc_dointvec(table, write, buffer, lenp, ppos); buffer 45 arch/parisc/kernel/kexec_file.c kbuf.buffer = initrd; buffer 60 arch/parisc/kernel/kexec_file.c kbuf.buffer = cmdline; buffer 191 arch/parisc/kernel/perf.c static int perf_rdr_read_ubuf(uint32_t rdr_num, uint64_t *buffer); buffer 194 arch/parisc/kernel/perf.c static void perf_rdr_write(uint32_t rdr_num, uint64_t *buffer); buffer 199 arch/parisc/kernel/perf.c extern void perf_rdr_shift_out_W (uint32_t rdr_num, uint64_t buffer); buffer 200 arch/parisc/kernel/perf.c extern void perf_rdr_shift_out_U (uint32_t rdr_num, uint64_t buffer); buffer 656 arch/parisc/kernel/perf.c static int perf_rdr_read_ubuf(uint32_t rdr_num, uint64_t *buffer) buffer 669 arch/parisc/kernel/perf.c buffer[i] = 0; buffer 689 arch/parisc/kernel/perf.c buffer[i] |= (data << (64 - xbits)); buffer 691 arch/parisc/kernel/perf.c buffer[i-1] |= ((data >> xbits) & data_mask); buffer 694 arch/parisc/kernel/perf.c buffer[i] = data; buffer 737 arch/parisc/kernel/perf.c uint64_t buffer[MAX_RDR_WORDS]; buffer 765 arch/parisc/kernel/perf.c perf_rdr_read_ubuf(*intrigue_rdr, buffer); buffer 766 arch/parisc/kernel/perf.c bptr = &buffer[0]; buffer 781 arch/parisc/kernel/perf.c perf_rdr_write(*intrigue_rdr, buffer); buffer 820 arch/parisc/kernel/perf.c static void perf_rdr_write(uint32_t rdr_num, uint64_t *buffer) buffer 832 arch/parisc/kernel/perf.c perf_rdr_shift_out_U(rdr_num, buffer[i]); buffer 834 arch/parisc/kernel/perf.c perf_rdr_shift_out_W(rdr_num, buffer[i]); buffer 21 arch/powerpc/boot/opal.c int64_t opal_console_write(int64_t term_number, u64 *length, const u8 *buffer); buffer 22 arch/powerpc/boot/opal.c int64_t opal_console_read(int64_t term_number, uint64_t *length, u8 *buffer); buffer 84 arch/powerpc/crypto/sha1-spe-glue.c memcpy((char *)sctx->buffer + offset, src, len); buffer 91 arch/powerpc/crypto/sha1-spe-glue.c memcpy((char *)sctx->buffer + offset, src, avail); buffer 94 arch/powerpc/crypto/sha1-spe-glue.c ppc_spe_sha1_transform(sctx->state, (const u8 *)sctx->buffer, 1); buffer 113 arch/powerpc/crypto/sha1-spe-glue.c memcpy((char *)sctx->buffer, src, len); buffer 121 arch/powerpc/crypto/sha1-spe-glue.c char *p = (char *)sctx->buffer + offset; buffer 123 arch/powerpc/crypto/sha1-spe-glue.c __be64 *pbits = (__be64 *)(((char *)&sctx->buffer) + 56); buffer 133 arch/powerpc/crypto/sha1-spe-glue.c ppc_spe_sha1_transform(sctx->state, sctx->buffer, 1); buffer 134 arch/powerpc/crypto/sha1-spe-glue.c p = (char *)sctx->buffer; buffer 140 arch/powerpc/crypto/sha1-spe-glue.c ppc_spe_sha1_transform(sctx->state, sctx->buffer, 1); buffer 54 arch/powerpc/crypto/sha1.c memcpy(sctx->buffer + partial, data, done + 64); buffer 55 arch/powerpc/crypto/sha1.c src = sctx->buffer; buffer 67 arch/powerpc/crypto/sha1.c memcpy(sctx->buffer + partial, src, len - done); buffer 283 arch/powerpc/include/asm/epapr_hcalls.h unsigned int *count, const char buffer[EV_BYTE_CHANNEL_MAX_BYTES]) buffer 292 arch/powerpc/include/asm/epapr_hcalls.h const uint32_t *p = (const uint32_t *) buffer; buffer 326 arch/powerpc/include/asm/epapr_hcalls.h unsigned int *count, char buffer[EV_BYTE_CHANNEL_MAX_BYTES]) buffer 335 arch/powerpc/include/asm/epapr_hcalls.h uint32_t *p = (uint32_t *) buffer; buffer 171 arch/powerpc/include/asm/mpc52xx_psc.h } buffer; buffer 172 arch/powerpc/include/asm/mpc52xx_psc.h #define mpc52xx_psc_buffer_8 buffer.buffer_8 buffer 173 arch/powerpc/include/asm/mpc52xx_psc.h #define mpc52xx_psc_buffer_16 buffer.buffer_16 buffer 174 arch/powerpc/include/asm/mpc52xx_psc.h #define mpc52xx_psc_buffer_32 buffer.buffer_32 buffer 320 arch/powerpc/include/asm/mpc52xx_psc.h } buffer; buffer 44 arch/powerpc/include/asm/opal.h const uint8_t *buffer); buffer 46 arch/powerpc/include/asm/opal.h uint8_t *buffer); buffer 60 arch/powerpc/include/asm/opal.h int64_t opal_read_nvram(uint64_t buffer, uint64_t size, uint64_t offset); buffer 61 arch/powerpc/include/asm/opal.h int64_t opal_write_nvram(uint64_t buffer, uint64_t size, uint64_t offset); buffer 175 arch/powerpc/include/asm/opal.h int64_t opal_read_elog(uint64_t buffer, uint64_t size, uint64_t log_id); buffer 177 arch/powerpc/include/asm/opal.h int64_t opal_write_elog(uint64_t buffer, uint64_t size, uint64_t offset); buffer 181 arch/powerpc/include/asm/opal.h int64_t opal_validate_flash(uint64_t buffer, uint32_t *size, uint32_t *result); buffer 187 arch/powerpc/include/asm/opal.h int64_t opal_dump_read(uint32_t dump_id, uint64_t buffer); buffer 191 arch/powerpc/include/asm/opal.h int64_t opal_get_msg(uint64_t buffer, uint64_t size); buffer 194 arch/powerpc/include/asm/opal.h int64_t opal_check_completion(uint64_t buffer, uint64_t size, uint64_t token); buffer 196 arch/powerpc/include/asm/opal.h int64_t opal_get_param(uint64_t token, uint32_t param_id, uint64_t buffer, buffer 198 arch/powerpc/include/asm/opal.h int64_t opal_set_param(uint64_t token, uint32_t param_id, uint64_t buffer, buffer 172 arch/powerpc/include/asm/rtas.h unsigned char buffer[1]; /* Start of extended log */ buffer 420 arch/powerpc/include/asm/smu.h u8 buffer[16]; buffer 174 arch/powerpc/kernel/eeh.c char buffer[128]; buffer 231 arch/powerpc/kernel/eeh.c pr_warn("%s\n", buffer); buffer 233 arch/powerpc/kernel/eeh.c l = scnprintf(buffer, sizeof(buffer), buffer 237 arch/powerpc/kernel/eeh.c l += scnprintf(buffer+l, sizeof(buffer)-l, buffer 243 arch/powerpc/kernel/eeh.c pr_warn("%s\n", buffer); buffer 258 arch/powerpc/kernel/eeh.c pr_warn("%s\n", buffer); buffer 260 arch/powerpc/kernel/eeh.c l = scnprintf(buffer, sizeof(buffer), buffer 264 arch/powerpc/kernel/eeh.c l += scnprintf(buffer+l, sizeof(buffer)-l, buffer 269 arch/powerpc/kernel/eeh.c pr_warn("%s\n", buffer); buffer 64 arch/powerpc/kernel/kexec_elf_64.c kbuf.buffer = initrd; buffer 97 arch/powerpc/kernel/kexec_elf_64.c kbuf.buffer = fdt; buffer 109 arch/powerpc/kernel/kexec_elf_64.c slave_code = elf_info.buffer + elf_info.proghdrs[0].p_offset; buffer 1293 arch/powerpc/kernel/process.c current->pid, s.buffer); buffer 1035 arch/powerpc/kernel/rtas.c (struct rtas_ext_event_log_v6 *)log->buffer; buffer 1048 arch/powerpc/kernel/rtas.c log_end = log->buffer + ext_log_length; buffer 310 arch/powerpc/kernel/rtas_flash.c static ssize_t rtas_flash_write(struct file *file, const char __user *buffer, buffer 352 arch/powerpc/kernel/rtas_flash.c if(copy_from_user(p, buffer, count)) { buffer 115 arch/powerpc/kernel/rtasd.c char buffer[64]; buffer 131 arch/powerpc/kernel/rtasd.c memset(buffer, 0, sizeof(buffer)); buffer 132 arch/powerpc/kernel/rtasd.c n = sprintf(buffer, "RTAS %d:", i/perline); buffer 136 arch/powerpc/kernel/rtasd.c n += sprintf(buffer+n, " "); buffer 138 arch/powerpc/kernel/rtasd.c n += sprintf(buffer+n, "%02x", (unsigned char)buf[i]); buffer 141 arch/powerpc/kernel/rtasd.c printk(KERN_DEBUG "%s\n", buffer); buffer 144 arch/powerpc/kernel/rtasd.c printk(KERN_DEBUG "%s\n", buffer); buffer 86 arch/powerpc/kernel/syscalls.c unsigned long __user *buffer = (unsigned long __user *)n; buffer 87 arch/powerpc/kernel/syscalls.c if (!access_ok(buffer, 5*sizeof(unsigned long)) buffer 88 arch/powerpc/kernel/syscalls.c || __get_user(n, buffer) buffer 89 arch/powerpc/kernel/syscalls.c || __get_user(inp, ((fd_set __user * __user *)(buffer+1))) buffer 90 arch/powerpc/kernel/syscalls.c || __get_user(outp, ((fd_set __user * __user *)(buffer+2))) buffer 91 arch/powerpc/kernel/syscalls.c || __get_user(exp, ((fd_set __user * __user *)(buffer+3))) buffer 92 arch/powerpc/kernel/syscalls.c || __get_user(tvp, ((struct timeval __user * __user *)(buffer+4)))) buffer 24 arch/powerpc/platforms/cell/spufs/coredump.c static ssize_t do_coredump_read(int num, struct spu_context *ctx, void *buffer, buffer 31 arch/powerpc/platforms/cell/spufs/coredump.c return spufs_coredump_read[num].read(ctx, buffer, size, off); buffer 34 arch/powerpc/platforms/cell/spufs/coredump.c ret = snprintf(buffer, size, "0x%.16llx", data); buffer 175 arch/powerpc/platforms/cell/spufs/file.c __spufs_mem_read(struct spu_context *ctx, char __user *buffer, buffer 179 arch/powerpc/platforms/cell/spufs/file.c return simple_read_from_buffer(buffer, size, pos, local_store, buffer 184 arch/powerpc/platforms/cell/spufs/file.c spufs_mem_read(struct file *file, char __user *buffer, buffer 193 arch/powerpc/platforms/cell/spufs/file.c ret = __spufs_mem_read(ctx, buffer, size, pos); buffer 200 arch/powerpc/platforms/cell/spufs/file.c spufs_mem_write(struct file *file, const char __user *buffer, buffer 216 arch/powerpc/platforms/cell/spufs/file.c size = simple_write_to_buffer(local_store, LS_SIZE, ppos, buffer, size); buffer 462 arch/powerpc/platforms/cell/spufs/file.c __spufs_regs_read(struct spu_context *ctx, char __user *buffer, buffer 466 arch/powerpc/platforms/cell/spufs/file.c return simple_read_from_buffer(buffer, size, pos, buffer 471 arch/powerpc/platforms/cell/spufs/file.c spufs_regs_read(struct file *file, char __user *buffer, buffer 485 arch/powerpc/platforms/cell/spufs/file.c ret = __spufs_regs_read(ctx, buffer, size, pos); buffer 491 arch/powerpc/platforms/cell/spufs/file.c spufs_regs_write(struct file *file, const char __user *buffer, buffer 506 arch/powerpc/platforms/cell/spufs/file.c buffer, size); buffer 520 arch/powerpc/platforms/cell/spufs/file.c __spufs_fpcr_read(struct spu_context *ctx, char __user * buffer, buffer 524 arch/powerpc/platforms/cell/spufs/file.c return simple_read_from_buffer(buffer, size, pos, buffer 529 arch/powerpc/platforms/cell/spufs/file.c spufs_fpcr_read(struct file *file, char __user * buffer, buffer 538 arch/powerpc/platforms/cell/spufs/file.c ret = __spufs_fpcr_read(ctx, buffer, size, pos); buffer 544 arch/powerpc/platforms/cell/spufs/file.c spufs_fpcr_write(struct file *file, const char __user * buffer, buffer 559 arch/powerpc/platforms/cell/spufs/file.c buffer, size); buffer 1507 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_mfc_read(struct file *file, char __user *buffer, buffer 1538 arch/powerpc/platforms/cell/spufs/file.c if (copy_to_user(buffer, &status, 4)) buffer 1633 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_mfc_write(struct file *file, const char __user *buffer, buffer 1644 arch/powerpc/platforms/cell/spufs/file.c if (copy_from_user(&cmd, buffer, sizeof cmd)) buffer 341 arch/powerpc/platforms/cell/spufs/spufs.h char __user *buffer, size_t size, loff_t *pos); buffer 1224 arch/powerpc/platforms/powermac/low_i2c.c u8 buffer[MAX_I2C_DATA]; buffer 1279 arch/powerpc/platforms/powermac/low_i2c.c inst->buffer, len); buffer 1303 arch/powerpc/platforms/powermac/low_i2c.c inst->scratch[i] = (inst->buffer[i] & mask[i]) | val[i]; buffer 1306 arch/powerpc/platforms/powermac/low_i2c.c inst->scratch[i] = (inst->buffer[i] & ~mask[i]) buffer 1333 arch/powerpc/platforms/powermac/low_i2c.c inst->buffer, len); buffer 1384 arch/powerpc/platforms/powermac/low_i2c.c if ((inst->buffer[i] & maskdata[i]) != valuedata[i]) buffer 239 arch/powerpc/platforms/powermac/nvram.c static u32 core99_calc_adler(u8 *buffer) buffer 244 arch/powerpc/platforms/powermac/nvram.c buffer += CORE99_ADLER_START; buffer 252 arch/powerpc/platforms/powermac/nvram.c low += buffer[cnt]; buffer 438 arch/powerpc/platforms/powermac/nvram.c u8 buffer[17]; buffer 446 arch/powerpc/platforms/powermac/nvram.c hdr = (struct chrp_header *)buffer; buffer 449 arch/powerpc/platforms/powermac/nvram.c buffer[16] = 0; buffer 452 arch/powerpc/platforms/powermac/nvram.c buffer[i] = ppc_md.nvram_read_val(offset+i); buffer 26 arch/powerpc/platforms/powernv/opal-dump.c char *buffer; buffer 196 arch/powerpc/platforms/powernv/opal-dump.c vfree(dump->buffer); buffer 244 arch/powerpc/platforms/powernv/opal-dump.c dump->buffer = vzalloc(PAGE_ALIGN(dump->size)); buffer 245 arch/powerpc/platforms/powernv/opal-dump.c if (!dump->buffer) { buffer 252 arch/powerpc/platforms/powernv/opal-dump.c list = opal_vmalloc_to_sg_list(dump->buffer, dump->size); buffer 284 arch/powerpc/platforms/powernv/opal-dump.c char *buffer, loff_t pos, size_t count) buffer 290 arch/powerpc/platforms/powernv/opal-dump.c if (!dump->buffer) { buffer 294 arch/powerpc/platforms/powernv/opal-dump.c vfree(dump->buffer); buffer 295 arch/powerpc/platforms/powernv/opal-dump.c dump->buffer = NULL; buffer 310 arch/powerpc/platforms/powernv/opal-dump.c memcpy(buffer, dump->buffer + pos, count); buffer 26 arch/powerpc/platforms/powernv/opal-elog.c char *buffer; buffer 132 arch/powerpc/platforms/powernv/opal-elog.c kfree(elog->buffer); buffer 154 arch/powerpc/platforms/powernv/opal-elog.c char *buffer, loff_t pos, size_t count) buffer 161 arch/powerpc/platforms/powernv/opal-elog.c if (!elog->buffer) { buffer 162 arch/powerpc/platforms/powernv/opal-elog.c elog->buffer = kzalloc(elog->size, GFP_KERNEL); buffer 163 arch/powerpc/platforms/powernv/opal-elog.c if (!elog->buffer) buffer 166 arch/powerpc/platforms/powernv/opal-elog.c opal_rc = opal_read_elog(__pa(elog->buffer), buffer 171 arch/powerpc/platforms/powernv/opal-elog.c kfree(elog->buffer); buffer 172 arch/powerpc/platforms/powernv/opal-elog.c elog->buffer = NULL; buffer 177 arch/powerpc/platforms/powernv/opal-elog.c memcpy(buffer, elog->buffer + pos, count); buffer 206 arch/powerpc/platforms/powernv/opal-elog.c elog->buffer = kzalloc(elog->size, GFP_KERNEL); buffer 208 arch/powerpc/platforms/powernv/opal-elog.c if (elog->buffer) { buffer 209 arch/powerpc/platforms/powernv/opal-elog.c rc = opal_read_elog(__pa(elog->buffer), buffer 214 arch/powerpc/platforms/powernv/opal-elog.c kfree(elog->buffer); buffer 215 arch/powerpc/platforms/powernv/opal-elog.c elog->buffer = NULL; buffer 386 arch/powerpc/platforms/powernv/opal-flash.c static int alloc_image_buf(char *buffer, size_t count) buffer 396 arch/powerpc/platforms/powernv/opal-flash.c memcpy(&image_header, (void *)buffer, sizeof(image_header)); buffer 436 arch/powerpc/platforms/powernv/opal-flash.c char *buffer, loff_t pos, size_t count) buffer 453 arch/powerpc/platforms/powernv/opal-flash.c rc = alloc_image_buf(buffer, count); buffer 468 arch/powerpc/platforms/powernv/opal-flash.c memcpy(image_data.data + pos, (void *)buffer, count); buffer 29 arch/powerpc/platforms/powernv/opal-sysparam.c static ssize_t opal_get_sys_param(u32 param_id, u32 length, void *buffer) buffer 44 arch/powerpc/platforms/powernv/opal-sysparam.c ret = opal_get_param(token, param_id, (u64)buffer, length); buffer 65 arch/powerpc/platforms/powernv/opal-sysparam.c static int opal_set_sys_param(u32 param_id, u32 length, void *buffer) buffer 79 arch/powerpc/platforms/powernv/opal-sysparam.c ret = opal_set_param(token, param_id, (u64)buffer, length); buffer 135 arch/powerpc/sysdev/fsl_rio.h int mbox, void *buffer, size_t len); buffer 661 arch/powerpc/sysdev/fsl_rmu.c void *buffer, size_t len) buffer 670 arch/powerpc/sysdev/fsl_rmu.c "%p len %8.8zx\n", rdev->destid, mbox, buffer, len); buffer 677 arch/powerpc/sysdev/fsl_rmu.c memcpy(rmu->msg_tx_ring.virt_buffer[rmu->msg_tx_ring.tx_slot], buffer, buffer 214 arch/riscv/include/asm/io.h void *buffer, \ buffer 219 arch/riscv/include/asm/io.h ctype *buf = buffer; \ buffer 231 arch/riscv/include/asm/io.h const void *buffer, \ buffer 236 arch/riscv/include/asm/io.h const ctype *buf = buffer; \ buffer 248 arch/riscv/include/asm/io.h #define readsb(addr, buffer, count) __readsb(addr, buffer, count) buffer 249 arch/riscv/include/asm/io.h #define readsw(addr, buffer, count) __readsw(addr, buffer, count) buffer 250 arch/riscv/include/asm/io.h #define readsl(addr, buffer, count) __readsl(addr, buffer, count) buffer 255 arch/riscv/include/asm/io.h #define insb(addr, buffer, count) __insb((void __iomem *)(long)addr, buffer, count) buffer 256 arch/riscv/include/asm/io.h #define insw(addr, buffer, count) __insw((void __iomem *)(long)addr, buffer, count) buffer 257 arch/riscv/include/asm/io.h #define insl(addr, buffer, count) __insl((void __iomem *)(long)addr, buffer, count) buffer 262 arch/riscv/include/asm/io.h #define writesb(addr, buffer, count) __writesb(addr, buffer, count) buffer 263 arch/riscv/include/asm/io.h #define writesw(addr, buffer, count) __writesw(addr, buffer, count) buffer 264 arch/riscv/include/asm/io.h #define writesl(addr, buffer, count) __writesl(addr, buffer, count) buffer 269 arch/riscv/include/asm/io.h #define outsb(addr, buffer, count) __outsb((void __iomem *)(long)addr, buffer, count) buffer 270 arch/riscv/include/asm/io.h #define outsw(addr, buffer, count) __outsw((void __iomem *)(long)addr, buffer, count) buffer 271 arch/riscv/include/asm/io.h #define outsl(addr, buffer, count) __outsl((void __iomem *)(long)addr, buffer, count) buffer 275 arch/riscv/include/asm/io.h #define readsq(addr, buffer, count) __readsq(addr, buffer, count) buffer 278 arch/riscv/include/asm/io.h #define insq(addr, buffer, count) __insq((void __iomem *)addr, buffer, count) buffer 281 arch/riscv/include/asm/io.h #define writesq(addr, buffer, count) __writesq(addr, buffer, count) buffer 284 arch/riscv/include/asm/io.h #define outsq(addr, buffer, count) __outsq((void __iomem *)addr, buffer, count) buffer 46 arch/s390/appldata/appldata.h extern int appldata_diag(char record_nr, u16 function, unsigned long buffer, buffer 54 arch/s390/appldata/appldata_base.c void __user *buffer, size_t *lenp, loff_t *ppos); buffer 56 arch/s390/appldata/appldata_base.c void __user *buffer, buffer 153 arch/s390/appldata/appldata_base.c int appldata_diag(char record_nr, u16 function, unsigned long buffer, buffer 167 arch/s390/appldata/appldata_base.c (void *) buffer, length); buffer 220 arch/s390/appldata/appldata_base.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 232 arch/s390/appldata/appldata_base.c rc = proc_douintvec_minmax(&ctl_entry, write, buffer, lenp, ppos); buffer 253 arch/s390/appldata/appldata_base.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 264 arch/s390/appldata/appldata_base.c rc = proc_dointvec_minmax(&ctl_entry, write, buffer, lenp, ppos); buffer 283 arch/s390/appldata/appldata_base.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 316 arch/s390/appldata/appldata_base.c rc = proc_douintvec_minmax(&ctl_entry, write, buffer, lenp, ppos); buffer 26 arch/s390/crypto/ghash_s390.c u8 buffer[GHASH_BLOCK_SIZE]; buffer 61 arch/s390/crypto/ghash_s390.c u8 *buf = dctx->buffer; buffer 96 arch/s390/crypto/ghash_s390.c u8 *buf = dctx->buffer; buffer 52 arch/s390/crypto/sha1_s390.c memcpy(octx->buffer, sctx->buf, sizeof(octx->buffer)); buffer 63 arch/s390/crypto/sha1_s390.c memcpy(sctx->buf, ictx->buffer, sizeof(ictx->buffer)); buffer 475 arch/s390/hypfs/hypfs_diag.c char buffer[TMP_SIZE]; buffer 478 arch/s390/hypfs/hypfs_diag.c snprintf(buffer, TMP_SIZE, "%d", cpu_info__cpu_addr(diag204_info_type, buffer 480 arch/s390/hypfs/hypfs_diag.c cpu_dir = hypfs_mkdir(cpus_dir, buffer); buffer 497 arch/s390/hypfs/hypfs_diag.c diag224_idx2name(cpu_info__ctidx(diag204_info_type, cpu_info), buffer); buffer 498 arch/s390/hypfs/hypfs_diag.c rc = hypfs_create_str(cpu_dir, "type", buffer); buffer 532 arch/s390/hypfs/hypfs_diag.c char buffer[TMP_SIZE]; buffer 535 arch/s390/hypfs/hypfs_diag.c snprintf(buffer, TMP_SIZE, "%i", phys_cpu__cpu_addr(diag204_info_type, buffer 537 arch/s390/hypfs/hypfs_diag.c cpu_dir = hypfs_mkdir(cpus_dir, buffer); buffer 544 arch/s390/hypfs/hypfs_diag.c diag224_idx2name(phys_cpu__ctidx(diag204_info_type, cpu_info), buffer); buffer 545 arch/s390/hypfs/hypfs_diag.c rc = hypfs_create_str(cpu_dir, "type", buffer); buffer 574 arch/s390/hypfs/hypfs_diag.c void *buffer, *ptr; buffer 576 arch/s390/hypfs/hypfs_diag.c buffer = diag204_store(); buffer 577 arch/s390/hypfs/hypfs_diag.c if (IS_ERR(buffer)) buffer 578 arch/s390/hypfs/hypfs_diag.c return PTR_ERR(buffer); buffer 585 arch/s390/hypfs/hypfs_diag.c time_hdr = (struct x_info_blk_hdr *)buffer; buffer 408 arch/s390/hypfs/inode.c char *buffer; buffer 413 arch/s390/hypfs/inode.c buffer = kstrdup(tmp, GFP_KERNEL); buffer 414 arch/s390/hypfs/inode.c if (!buffer) buffer 417 arch/s390/hypfs/inode.c hypfs_create_file(dir, name, buffer, S_IFREG | REG_FILE_MODE); buffer 419 arch/s390/hypfs/inode.c kfree(buffer); buffer 429 arch/s390/hypfs/inode.c char *buffer; buffer 432 arch/s390/hypfs/inode.c buffer = kmalloc(strlen(string) + 2, GFP_KERNEL); buffer 433 arch/s390/hypfs/inode.c if (!buffer) buffer 435 arch/s390/hypfs/inode.c sprintf(buffer, "%s\n", string); buffer 437 arch/s390/hypfs/inode.c hypfs_create_file(dir, name, buffer, S_IFREG | REG_FILE_MODE); buffer 439 arch/s390/hypfs/inode.c kfree(buffer); buffer 46 arch/s390/include/asm/appldata.h unsigned short fn, void *buffer, buffer 58 arch/s390/include/asm/appldata.h parm_list->buffer_addr = virt_to_phys(buffer); buffer 22 arch/s390/include/asm/itcw.h struct itcw *itcw_init(void *buffer, size_t size, int op, int intrg, buffer 870 arch/s390/kernel/debug.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 873 arch/s390/kernel/debug.c return proc_dointvec(table, write, buffer, lenp, ppos); buffer 1180 arch/s390/kernel/debug.c char *buffer; buffer 1182 arch/s390/kernel/debug.c buffer = kmalloc(user_len + 1, GFP_KERNEL); buffer 1183 arch/s390/kernel/debug.c if (!buffer) buffer 1185 arch/s390/kernel/debug.c if (copy_from_user(buffer, user_buf, user_len) != 0) { buffer 1186 arch/s390/kernel/debug.c kfree(buffer); buffer 1190 arch/s390/kernel/debug.c if (buffer[user_len - 1] == '\n') buffer 1191 arch/s390/kernel/debug.c buffer[user_len - 1] = 0; buffer 1193 arch/s390/kernel/debug.c buffer[user_len] = 0; buffer 1194 arch/s390/kernel/debug.c return buffer; buffer 421 arch/s390/kernel/dis.c static int print_insn(char *buffer, unsigned char *code, unsigned long addr) buffer 431 arch/s390/kernel/dis.c ptr = buffer; buffer 482 arch/s390/kernel/dis.c return (int) (ptr - buffer); buffer 489 arch/s390/kernel/dis.c char buffer[128], *ptr; buffer 528 arch/s390/kernel/dis.c ptr = buffer; buffer 550 arch/s390/kernel/dis.c pr_cont("%s", buffer); buffer 551 arch/s390/kernel/dis.c ptr = buffer; buffer 560 arch/s390/kernel/dis.c char buffer[64], *ptr; buffer 564 arch/s390/kernel/dis.c ptr = buffer; buffer 577 arch/s390/kernel/dis.c printk("%s", buffer); buffer 81 arch/s390/kernel/entry.h long sys_s390_sthyi(unsigned long function_code, void __user *buffer, u64 __user *return_code, unsigned long flags); buffer 39 arch/s390/kernel/kexec_elf.c buf.buffer = kernel + phdr->p_offset; buffer 49 arch/s390/kernel/kexec_elf.c data->kernel_buf = buf.buffer; buffer 51 arch/s390/kernel/kexec_elf.c data->parm = buf.buffer + PARMAREA; buffer 23 arch/s390/kernel/kexec_image.c buf.buffer = image->kernel_buf; buffer 145 arch/s390/kernel/machine_kexec_file.c buf.buffer = image->initrd_buf; buffer 202 arch/s390/kernel/machine_kexec_file.c buf.buffer = ipl_report_finish(data->report); buffer 2106 arch/s390/kernel/perf_cpum_sf.c static int param_get_sfb_size(char *buffer, const struct kernel_param *kp) buffer 2110 arch/s390/kernel/perf_cpum_sf.c return sprintf(buffer, "%lu,%lu", CPUM_SF_MIN_SDB, CPUM_SF_MAX_SDB); buffer 490 arch/s390/kernel/sthyi.c SYSCALL_DEFINE4(s390_sthyi, unsigned long, function_code, void __user *, buffer, buffer 511 arch/s390/kernel/sthyi.c if (copy_to_user(buffer, info, PAGE_SIZE)) buffer 587 arch/s390/kernel/topology.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 600 arch/s390/kernel/topology.c rc = proc_douintvec_minmax(&ctl_entry, write, buffer, lenp, ppos); buffer 250 arch/s390/mm/cmm.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 260 arch/s390/mm/cmm.c rc = proc_doulongvec_minmax(&ctl_entry, write, buffer, lenp, ppos); buffer 269 arch/s390/mm/cmm.c void __user *buffer, size_t *lenp, buffer 280 arch/s390/mm/cmm.c rc = proc_doulongvec_minmax(&ctl_entry, write, buffer, lenp, ppos); buffer 289 arch/s390/mm/cmm.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 302 arch/s390/mm/cmm.c if (copy_from_user(buf, buffer, len)) buffer 316 arch/s390/mm/cmm.c if (copy_to_user(buffer, buf, len)) buffer 181 arch/sh/kernel/traps_64.c __u64 buffer; buffer 187 arch/sh/kernel/traps_64.c if (__copy_user(&buffer, (const void *)(int)address, (1 << width_shift)) > 0) { buffer 193 arch/sh/kernel/traps_64.c regs->regs[destreg] = (__u64)(__s64) *(__s16 *) &buffer; buffer 195 arch/sh/kernel/traps_64.c regs->regs[destreg] = (__u64) *(__u16 *) &buffer; buffer 199 arch/sh/kernel/traps_64.c regs->regs[destreg] = (__u64)(__s64) *(__s32 *) &buffer; buffer 202 arch/sh/kernel/traps_64.c regs->regs[destreg] = buffer; buffer 255 arch/sh/kernel/traps_64.c __u64 buffer; buffer 263 arch/sh/kernel/traps_64.c *(__u16 *) &buffer = (__u16) regs->regs[srcreg]; buffer 266 arch/sh/kernel/traps_64.c *(__u32 *) &buffer = (__u32) regs->regs[srcreg]; buffer 269 arch/sh/kernel/traps_64.c buffer = regs->regs[srcreg]; buffer 277 arch/sh/kernel/traps_64.c if (__copy_user((void *)(int)address, &buffer, (1 << width_shift)) > 0) { buffer 327 arch/sh/kernel/traps_64.c __u64 buffer; buffer 334 arch/sh/kernel/traps_64.c if (__copy_user(&buffer, (const void *)(int)address, (1 << width_shift)) > 0) { buffer 348 arch/sh/kernel/traps_64.c buflo = *(__u32*) &buffer; buffer 349 arch/sh/kernel/traps_64.c bufhi = *(1 + (__u32*) &buffer); buffer 399 arch/sh/kernel/traps_64.c __u64 buffer; buffer 442 arch/sh/kernel/traps_64.c *(__u32*) &buffer = buflo; buffer 443 arch/sh/kernel/traps_64.c *(1 + (__u32*) &buffer) = bufhi; buffer 444 arch/sh/kernel/traps_64.c if (__copy_user((void *)(int)address, &buffer, (1 << width_shift)) > 0) { buffer 141 arch/sh/mm/alignment.c const char __user *buffer, size_t count, loff_t *pos) buffer 147 arch/sh/mm/alignment.c if (get_user(mode, buffer)) buffer 104 arch/sparc/boot/piggyback.c char buffer[1024]; buffer 111 arch/sparc/boot/piggyback.c while (fgets(buffer, 1024, map)) { buffer 112 arch/sparc/boot/piggyback.c if (start_line(buffer)) buffer 113 arch/sparc/boot/piggyback.c *start = strtoul(buffer, NULL, 16); buffer 114 arch/sparc/boot/piggyback.c else if (end_line(buffer)) buffer 115 arch/sparc/boot/piggyback.c *end = strtoul(buffer, NULL, 16); buffer 137 arch/sparc/boot/piggyback.c char buffer[BUFSIZE]; buffer 143 arch/sparc/boot/piggyback.c if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) buffer 146 arch/sparc/boot/piggyback.c if (buffer[40] == 'H' && buffer[41] == 'd' && buffer 147 arch/sparc/boot/piggyback.c buffer[42] == 'r' && buffer[43] == 'S') { buffer 152 arch/sparc/boot/piggyback.c offset = ld2(buffer + AOUT_TEXT_OFFSET + 2) << 2; buffer 159 arch/sparc/boot/piggyback.c if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) buffer 163 arch/sparc/boot/piggyback.c if (buffer[i + 0] == 'H' && buffer[i + 1] == 'd' && buffer 164 arch/sparc/boot/piggyback.c buffer[i + 2] == 'r' && buffer[i + 3] == 'S') { buffer 176 arch/sparc/boot/piggyback.c char buffer[1024]; buffer 196 arch/sparc/boot/piggyback.c if (read(image, buffer, 512) != 512) buffer 198 arch/sparc/boot/piggyback.c if (memcmp(buffer, aout_magic, 4) != 0) { buffer 224 arch/sparc/boot/piggyback.c st4(buffer, 0); buffer 225 arch/sparc/boot/piggyback.c st4(buffer + 4, 0x01000000); buffer 226 arch/sparc/boot/piggyback.c st4(buffer + 8, align(end + 32)); buffer 227 arch/sparc/boot/piggyback.c st4(buffer + 12, s.st_size); buffer 229 arch/sparc/boot/piggyback.c if (write(image, buffer + 2, 14) != 14) buffer 238 arch/sparc/boot/piggyback.c st4(buffer, align(end + 32 + 8191) - (start & ~0x3fffffUL) + buffer 241 arch/sparc/boot/piggyback.c st4(buffer + 4, 0); buffer 243 arch/sparc/boot/piggyback.c st4(buffer + 8, 0); buffer 244 arch/sparc/boot/piggyback.c if (write(image, buffer, 12) != 12) buffer 253 arch/sparc/boot/piggyback.c while ((i = read(tail, buffer, 1024)) > 0) buffer 254 arch/sparc/boot/piggyback.c if (write(image, buffer, i) != i) buffer 49 arch/sparc/crypto/sha1_glue.c memcpy(sctx->buffer + partial, data, done); buffer 50 arch/sparc/crypto/sha1_glue.c sha1_sparc64_transform(sctx->state, sctx->buffer, 1); buffer 59 arch/sparc/crypto/sha1_glue.c memcpy(sctx->buffer, data + done, len - done); buffer 71 arch/sparc/crypto/sha1_glue.c memcpy(sctx->buffer + partial, data, len); buffer 96 arch/sparc/crypto/sha1_glue.c memcpy(sctx->buffer + index, padding, padlen); buffer 243 arch/sparc/include/asm/floppy_32.h static inline void sun_fd_set_dma_addr(char *buffer) buffer 245 arch/sparc/include/asm/floppy_32.h pdma_vaddr = buffer; buffer 182 arch/sparc/include/asm/floppy_64.h static void sun_fd_set_dma_addr(char *buffer) buffer 184 arch/sparc/include/asm/floppy_64.h pdma_vaddr = buffer; buffer 407 arch/sparc/include/asm/floppy_64.h static void sun_pci_fd_set_dma_addr(char *buffer) buffer 409 arch/sparc/include/asm/floppy_64.h sun_pci_dma_pending.buf = buffer; buffer 1203 arch/sparc/include/asm/hypervisor.h long sun4v_con_read(unsigned long buffer, buffer 1206 arch/sparc/include/asm/hypervisor.h unsigned long sun4v_con_write(unsigned long buffer, buffer 1323 arch/sparc/include/asm/hypervisor.h unsigned long buffer, buffer 1327 arch/sparc/include/asm/hypervisor.h unsigned long buffer, buffer 25 arch/sparc/include/asm/ide.h #define __ide_insl(data_reg, buffer, wcount) \ buffer 26 arch/sparc/include/asm/ide.h __ide_insw(data_reg, buffer, (wcount)<<1) buffer 27 arch/sparc/include/asm/ide.h #define __ide_outsl(data_reg, buffer, wcount) \ buffer 28 arch/sparc/include/asm/ide.h __ide_outsw(data_reg, buffer, (wcount)<<1) buffer 153 arch/sparc/include/asm/oplib_32.h char *prom_nextprop(phandle node, char *prev_property, char *buffer); buffer 225 arch/sparc/include/asm/oplib_64.h char *prom_firstprop(phandle node, char *buffer); buffer 247 arch/sparc/include/asm/oplib_64.h int prom_ihandle2path(int handle, char *buffer, int bufsize); buffer 67 arch/sparc/kernel/led.c static ssize_t led_proc_write(struct file *file, const char __user *buffer, buffer 75 arch/sparc/kernel/led.c buf = memdup_user_nul(buffer, count); buffer 90 arch/sparc/kernel/traps_64.c char buffer[36]; buffer 97 arch/sparc/kernel/traps_64.c sprintf(buffer, "Bad hw trap %lx at tl0\n", lvl); buffer 98 arch/sparc/kernel/traps_64.c die_if_kernel(buffer, regs); buffer 103 arch/sparc/kernel/traps_64.c sprintf(buffer, "Kernel bad sw trap %lx", lvl); buffer 104 arch/sparc/kernel/traps_64.c die_if_kernel(buffer, regs); buffer 116 arch/sparc/kernel/traps_64.c char buffer[36]; buffer 124 arch/sparc/kernel/traps_64.c sprintf (buffer, "Bad trap %lx at tl>0", lvl); buffer 125 arch/sparc/kernel/traps_64.c die_if_kernel (buffer, regs); buffer 110 arch/sparc/prom/tree_32.c int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) buffer 120 arch/sparc/prom/tree_32.c ret = prom_nodeops->no_getprop(node, prop, buffer); buffer 221 arch/sparc/prom/tree_32.c char *prom_nextprop(phandle node, char *oprop, char *buffer) buffer 118 arch/sparc/prom/tree_64.c char *buffer, int bufsize) buffer 132 arch/sparc/prom/tree_64.c args[5] = (unsigned long) buffer; buffer 239 arch/sparc/prom/tree_64.c char *prom_firstprop(phandle node, char *buffer) buffer 243 arch/sparc/prom/tree_64.c *buffer = 0; buffer 245 arch/sparc/prom/tree_64.c return buffer; buffer 252 arch/sparc/prom/tree_64.c args[5] = (unsigned long) buffer; buffer 257 arch/sparc/prom/tree_64.c return buffer; buffer 265 arch/sparc/prom/tree_64.c char *prom_nextprop(phandle node, const char *oprop, char *buffer) buffer 271 arch/sparc/prom/tree_64.c *buffer = 0; buffer 272 arch/sparc/prom/tree_64.c return buffer; buffer 274 arch/sparc/prom/tree_64.c if (oprop == buffer) { buffer 284 arch/sparc/prom/tree_64.c args[5] = (unsigned long) buffer; buffer 289 arch/sparc/prom/tree_64.c return buffer; buffer 378 arch/sparc/prom/tree_64.c int prom_ihandle2path(int handle, char *buffer, int bufsize) buffer 386 arch/sparc/prom/tree_64.c args[4] = (unsigned long) buffer; buffer 70 arch/um/drivers/hostaudio_kern.c static ssize_t hostaudio_read(struct file *file, char __user *buffer, buffer 89 arch/um/drivers/hostaudio_kern.c if (copy_to_user(buffer, kbuf, err)) buffer 97 arch/um/drivers/hostaudio_kern.c static ssize_t hostaudio_write(struct file *file, const char __user *buffer, buffer 108 arch/um/drivers/hostaudio_kern.c kbuf = memdup_user(buffer, count); buffer 39 arch/um/drivers/line.c if (line->buffer == NULL) buffer 90 arch/um/drivers/line.c if (line->buffer == NULL) { buffer 91 arch/um/drivers/line.c line->buffer = kmalloc(LINE_BUFSIZE, GFP_ATOMIC); buffer 92 arch/um/drivers/line.c if (line->buffer == NULL) { buffer 97 arch/um/drivers/line.c line->head = line->buffer; buffer 98 arch/um/drivers/line.c line->tail = line->buffer; buffer 104 arch/um/drivers/line.c end = line->buffer + LINE_BUFSIZE - line->tail; buffer 114 arch/um/drivers/line.c memcpy(line->buffer, buf, len - end); buffer 115 arch/um/drivers/line.c line->tail = line->buffer + len - end; buffer 134 arch/um/drivers/line.c if ((line->buffer == NULL) || (line->head == line->tail)) buffer 139 arch/um/drivers/line.c count = line->buffer + LINE_BUFSIZE - line->head; buffer 150 arch/um/drivers/line.c line->head = line->buffer; buffer 257 arch/um/drivers/line.c line->head = line->buffer; buffer 258 arch/um/drivers/line.c line->tail = line->buffer; buffer 50 arch/um/drivers/line.h char *buffer; buffer 742 arch/um/drivers/mconsole_kern.c const char __user *buffer, size_t count, loff_t *pos) buffer 746 arch/um/drivers/mconsole_kern.c buf = memdup_user_nul(buffer, count); buffer 881 arch/um/drivers/net_kern.c void free_output_buffer(void *buffer) buffer 883 arch/um/drivers/net_kern.c free_pages((unsigned long) buffer, 0); buffer 94 arch/um/drivers/pcap_user.c char *buffer; buffer 106 arch/um/drivers/pcap_user.c memcpy(hdata->buffer, packet, len); buffer 110 arch/um/drivers/pcap_user.c int pcap_user_read(int fd, void *buffer, int len, struct pcap_data *pri) buffer 113 arch/um/drivers/pcap_user.c { .buffer = buffer, buffer 56 arch/um/drivers/ubd_kern.c char *buffer; buffer 527 arch/um/drivers/ubd_kern.c if ((io_req->error) || (io_req->buffer == NULL)) buffer 1331 arch/um/drivers/ubd_kern.c io_req->buffer = page_address(bvec->bv_page) + bvec->bv_offset; buffer 1334 arch/um/drivers/ubd_kern.c io_req->buffer = NULL; buffer 1528 arch/um/drivers/ubd_kern.c if (req->buffer != NULL) buffer 1529 arch/um/drivers/ubd_kern.c buf = &req->buffer[start * req->sectorsize]; buffer 1093 arch/um/drivers/virtio_uml.c char *buffer = data; buffer 1094 arch/um/drivers/virtio_uml.c unsigned int len = strlen(buffer); buffer 1096 arch/um/drivers/virtio_uml.c snprintf(buffer + len, PAGE_SIZE - len, "%s:%d:%d\n", buffer 1101 arch/um/drivers/virtio_uml.c static int vu_cmdline_get(char *buffer, const struct kernel_param *kp) buffer 1103 arch/um/drivers/virtio_uml.c buffer[0] = '\0'; buffer 1105 arch/um/drivers/virtio_uml.c device_for_each_child(&vu_cmdline_parent, buffer, buffer 1107 arch/um/drivers/virtio_uml.c return strlen(buffer) + 1; buffer 33 arch/um/include/shared/net_user.h extern void free_output_buffer(void *buffer); buffer 40 arch/um/kernel/exitcode.c const char __user *buffer, size_t count, loff_t *pos) buffer 47 arch/um/kernel/exitcode.c if (copy_from_user(buf, buffer, size)) buffer 63 arch/um/os-Linux/drivers/tuntap_user.c char *buffer, int buffer_len, int *used_out) buffer 89 arch/um/os-Linux/drivers/tuntap_user.c if (buffer != NULL) { buffer 90 arch/um/os-Linux/drivers/tuntap_user.c iov = ((struct iovec) { buffer, buffer_len }); buffer 132 arch/um/os-Linux/drivers/tuntap_user.c char *output, *buffer; buffer 167 arch/um/os-Linux/drivers/tuntap_user.c buffer = get_output_buffer(&len); buffer 168 arch/um/os-Linux/drivers/tuntap_user.c if (buffer != NULL) buffer 173 arch/um/os-Linux/drivers/tuntap_user.c fds[1], buffer, len, &used); buffer 175 arch/um/os-Linux/drivers/tuntap_user.c output = buffer; buffer 178 arch/um/os-Linux/drivers/tuntap_user.c free_output_buffer(buffer); buffer 184 arch/um/os-Linux/drivers/tuntap_user.c pri->dev_name = uml_strdup(buffer); buffer 187 arch/um/os-Linux/drivers/tuntap_user.c free_output_buffer(buffer); buffer 270 arch/x86/boot/boot.h int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize); buffer 272 arch/x86/boot/boot.h static inline int cmdline_find_option(const char *option, char *buffer, int bufsize) buffer 279 arch/x86/boot/boot.h return __cmdline_find_option(cmd_line_ptr, option, buffer, bufsize); buffer 28 arch/x86/boot/cmdline.c int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize) buffer 34 arch/x86/boot/cmdline.c char *bufptr = buffer; buffer 62 arch/x86/boot/cmdline.c bufptr = buffer; buffer 175 arch/x86/boot/compressed/acpi.c static u8 compute_checksum(u8 *buffer, u32 length) buffer 177 arch/x86/boot/compressed/acpi.c u8 *end = buffer + length; buffer 180 arch/x86/boot/compressed/acpi.c while (buffer < end) buffer 181 arch/x86/boot/compressed/acpi.c sum += *(buffer++); buffer 23 arch/x86/boot/compressed/cmdline.c int cmdline_find_option(const char *option, char *buffer, int bufsize) buffer 25 arch/x86/boot/compressed/cmdline.c return __cmdline_find_option(get_cmd_line_ptr(), option, buffer, bufsize); buffer 69 arch/x86/boot/compressed/misc.h int cmdline_find_option(const char *option, char *buffer, int bufsize); buffer 49 arch/x86/crypto/crc32-pclmul_glue.c u32 crc32_pclmul_le_16(unsigned char const *buffer, size_t len, u32 crc32); buffer 44 arch/x86/crypto/crc32c-intel_glue.c asmlinkage unsigned int crc_pcl(const u8 *buffer, int len, buffer 40 arch/x86/crypto/ghash-clmulni-intel_glue.c u8 buffer[GHASH_BLOCK_SIZE]; buffer 83 arch/x86/crypto/ghash-clmulni-intel_glue.c u8 *dst = dctx->buffer; buffer 116 arch/x86/crypto/ghash-clmulni-intel_glue.c u8 *dst = dctx->buffer; buffer 136 arch/x86/crypto/ghash-clmulni-intel_glue.c u8 *buf = dctx->buffer; buffer 328 arch/x86/events/intel/ds.c static void dsfree_pages(const void *buffer, size_t size) buffer 330 arch/x86/events/intel/ds.c if (buffer) buffer 331 arch/x86/events/intel/ds.c free_pages((unsigned long)buffer, get_order(size)); buffer 340 arch/x86/events/intel/ds.c void *buffer, *insn_buff, *cea; buffer 345 arch/x86/events/intel/ds.c buffer = dsalloc_pages(bsiz, GFP_KERNEL, cpu); buffer 346 arch/x86/events/intel/ds.c if (unlikely(!buffer)) buffer 356 arch/x86/events/intel/ds.c dsfree_pages(buffer, bsiz); buffer 361 arch/x86/events/intel/ds.c hwev->ds_pebs_vaddr = buffer; buffer 365 arch/x86/events/intel/ds.c ds_update_cea(cea, buffer, bsiz, PAGE_KERNEL); buffer 394 arch/x86/events/intel/ds.c void *buffer, *cea; buffer 400 arch/x86/events/intel/ds.c buffer = dsalloc_pages(BTS_BUFFER_SIZE, GFP_KERNEL | __GFP_NOWARN, cpu); buffer 401 arch/x86/events/intel/ds.c if (unlikely(!buffer)) { buffer 405 arch/x86/events/intel/ds.c hwev->ds_bts_vaddr = buffer; buffer 409 arch/x86/events/intel/ds.c ds_update_cea(cea, buffer, BTS_BUFFER_SIZE, PAGE_KERNEL); buffer 7 arch/x86/include/asm/cmdline.h char *buffer, int bufsize); buffer 60 arch/x86/include/asm/intel_scu_ipc.h int intel_scu_ipc_fw_update(u8 *buffer, u32 length); buffer 443 arch/x86/kernel/crash.c kbuf.buffer = &crash_zero_bytes; buffer 462 arch/x86/kernel/crash.c ret = prepare_elf_headers(image, &kbuf.buffer, &kbuf.bufsz); buffer 466 arch/x86/kernel/crash.c image->arch.elf_headers = kbuf.buffer; buffer 42 arch/x86/kernel/itmt.c void __user *buffer, size_t *lenp, buffer 56 arch/x86/kernel/itmt.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 429 arch/x86/kernel/kexec-bzimage64.c kbuf.buffer = params; buffer 441 arch/x86/kernel/kexec-bzimage64.c kbuf.buffer = kernel + kern16_size; buffer 457 arch/x86/kernel/kexec-bzimage64.c kbuf.buffer = initrd; buffer 4183 arch/x86/kvm/x86.c void *buffer; buffer 4188 arch/x86/kvm/x86.c u.buffer = NULL; buffer 4548 arch/x86/kvm/x86.c kfree(u.buffer); buffer 122 arch/x86/lib/cmdline.c const char *option, char *buffer, int bufsize) buffer 127 arch/x86/lib/cmdline.c char *bufptr = buffer; buffer 164 arch/x86/lib/cmdline.c bufptr = buffer; buffer 209 arch/x86/lib/cmdline.c int cmdline_find_option(const char *cmdline, const char *option, char *buffer, buffer 213 arch/x86/lib/cmdline.c buffer, bufsize); buffer 494 arch/x86/mm/mem_encrypt_identity.c char buffer[16]; buffer 573 arch/x86/mm/mem_encrypt_identity.c cmdline_find_option(cmdline_ptr, cmdline_arg, buffer, sizeof(buffer)); buffer 575 arch/x86/mm/mem_encrypt_identity.c if (!strncmp(buffer, cmdline_on, sizeof(buffer))) buffer 577 arch/x86/mm/mem_encrypt_identity.c else if (!strncmp(buffer, cmdline_off, sizeof(buffer))) buffer 96 arch/x86/platform/uv/uv_nmi.c static int param_get_local64(char *buffer, const struct kernel_param *kp) buffer 98 arch/x86/platform/uv/uv_nmi.c return sprintf(buffer, "%lu\n", local64_read((local64_t *)kp->arg)); buffer 179 arch/x86/platform/uv/uv_nmi.c static int param_get_action(char *buffer, const struct kernel_param *kp) buffer 181 arch/x86/platform/uv/uv_nmi.c return sprintf(buffer, "%s\n", uv_nmi_action); buffer 48 arch/x86/xen/enlighten_pvh.c set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table); buffer 758 arch/x86/xen/setup.c set_xen_guest_handle(memmap.buffer, xen_e820_table.entries); buffer 72 arch/xtensa/platforms/iss/simdisk.c unsigned long nsect, char *buffer, int write) buffer 88 arch/xtensa/platforms/iss/simdisk.c READ_ONCE(*buffer); buffer 90 arch/xtensa/platforms/iss/simdisk.c io = simc_write(dev->fd, buffer, nbytes); buffer 92 arch/xtensa/platforms/iss/simdisk.c io = simc_read(dev->fd, buffer, nbytes); buffer 97 arch/xtensa/platforms/iss/simdisk.c buffer += io; buffer 112 arch/xtensa/platforms/iss/simdisk.c char *buffer = kmap_atomic(bvec.bv_page) + bvec.bv_offset; buffer 115 arch/xtensa/platforms/iss/simdisk.c simdisk_transfer(dev, sector, len, buffer, buffer 118 arch/xtensa/platforms/iss/simdisk.c kunmap_atomic(buffer); buffer 108 block/compat_ioctl.c compat_caddr_t buffer; buffer 158 block/compat_ioctl.c get_user(data, &cgc32->buffer) || buffer 159 block/compat_ioctl.c put_user(compat_ptr(data), &cgc->buffer) || buffer 65 block/partition-generic.c const char *__bdevname(dev_t dev, char *buffer) buffer 67 block/partition-generic.c scnprintf(buffer, BDEVNAME_SIZE, "unknown-block(%u,%u)", buffer 69 block/partition-generic.c return buffer; buffer 512 block/partitions/acorn.c unsigned char buffer[256]; buffer 525 block/partitions/acorn.c buffer[i] = data[i] ^ eesox_name[i & 15]; buffer 529 block/partitions/acorn.c for (i = 0, p = (struct eesox_part *)buffer; i < 8; i++, p++) { buffer 96 block/partitions/aix.c static size_t read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer, buffer 101 block/partitions/aix.c if (!buffer || lba + count / 512 > last_lba(state->bdev)) buffer 112 block/partitions/aix.c memcpy(buffer, data, copied); buffer 114 block/partitions/aix.c buffer += copied; buffer 238 block/partitions/efi.c u64 lba, u8 *buffer, size_t count) buffer 244 block/partitions/efi.c if (!buffer || lba > last_lba(bdev)) buffer 255 block/partitions/efi.c memcpy(buffer, data, copied); buffer 257 block/partitions/efi.c buffer += copied; buffer 621 block/partitions/ldm.c static int ldm_relative(const u8 *buffer, int buflen, int base, int offset) buffer 625 block/partitions/ldm.c if (!buffer || offset < 0 || base > buflen) { buffer 626 block/partitions/ldm.c if (!buffer) buffer 634 block/partitions/ldm.c if (base + buffer[base] >= buflen) { buffer 636 block/partitions/ldm.c buffer[base], buflen); buffer 639 block/partitions/ldm.c return buffer[base] + offset + 1; buffer 692 block/partitions/ldm.c static int ldm_get_vstr (const u8 *block, u8 *buffer, int buflen) buffer 696 block/partitions/ldm.c BUG_ON (!block || !buffer); buffer 703 block/partitions/ldm.c memcpy (buffer, block + 1, length); buffer 704 block/partitions/ldm.c buffer[length] = 0; buffer 720 block/partitions/ldm.c static bool ldm_parse_cmp3 (const u8 *buffer, int buflen, struct vblk *vb) buffer 725 block/partitions/ldm.c BUG_ON (!buffer || !vb); buffer 727 block/partitions/ldm.c r_objid = ldm_relative (buffer, buflen, 0x18, 0); buffer 728 block/partitions/ldm.c r_name = ldm_relative (buffer, buflen, 0x18, r_objid); buffer 729 block/partitions/ldm.c r_vstate = ldm_relative (buffer, buflen, 0x18, r_name); buffer 730 block/partitions/ldm.c r_child = ldm_relative (buffer, buflen, 0x1D, r_vstate); buffer 731 block/partitions/ldm.c r_parent = ldm_relative (buffer, buflen, 0x2D, r_child); buffer 733 block/partitions/ldm.c if (buffer[0x12] & VBLK_FLAG_COMP_STRIPE) { buffer 734 block/partitions/ldm.c r_stripe = ldm_relative (buffer, buflen, 0x2E, r_parent); buffer 735 block/partitions/ldm.c r_cols = ldm_relative (buffer, buflen, 0x2E, r_stripe); buffer 746 block/partitions/ldm.c if (len != get_unaligned_be32(buffer + 0x14)) buffer 750 block/partitions/ldm.c ldm_get_vstr (buffer + 0x18 + r_name, comp->state, buffer 752 block/partitions/ldm.c comp->type = buffer[0x18 + r_vstate]; buffer 753 block/partitions/ldm.c comp->children = ldm_get_vnum (buffer + 0x1D + r_vstate); buffer 754 block/partitions/ldm.c comp->parent_id = ldm_get_vnum (buffer + 0x2D + r_child); buffer 755 block/partitions/ldm.c comp->chunksize = r_stripe ? ldm_get_vnum (buffer+r_parent+0x2E) : 0; buffer 771 block/partitions/ldm.c static int ldm_parse_dgr3 (const u8 *buffer, int buflen, struct vblk *vb) buffer 776 block/partitions/ldm.c BUG_ON (!buffer || !vb); buffer 778 block/partitions/ldm.c r_objid = ldm_relative (buffer, buflen, 0x18, 0); buffer 779 block/partitions/ldm.c r_name = ldm_relative (buffer, buflen, 0x18, r_objid); buffer 780 block/partitions/ldm.c r_diskid = ldm_relative (buffer, buflen, 0x18, r_name); buffer 782 block/partitions/ldm.c if (buffer[0x12] & VBLK_FLAG_DGR3_IDS) { buffer 783 block/partitions/ldm.c r_id1 = ldm_relative (buffer, buflen, 0x24, r_diskid); buffer 784 block/partitions/ldm.c r_id2 = ldm_relative (buffer, buflen, 0x24, r_id1); buffer 795 block/partitions/ldm.c if (len != get_unaligned_be32(buffer + 0x14)) buffer 799 block/partitions/ldm.c ldm_get_vstr (buffer + 0x18 + r_name, dgrp->disk_id, buffer 815 block/partitions/ldm.c static bool ldm_parse_dgr4 (const u8 *buffer, int buflen, struct vblk *vb) buffer 820 block/partitions/ldm.c BUG_ON (!buffer || !vb); buffer 822 block/partitions/ldm.c r_objid = ldm_relative (buffer, buflen, 0x18, 0); buffer 823 block/partitions/ldm.c r_name = ldm_relative (buffer, buflen, 0x18, r_objid); buffer 825 block/partitions/ldm.c if (buffer[0x12] & VBLK_FLAG_DGR4_IDS) { buffer 826 block/partitions/ldm.c r_id1 = ldm_relative (buffer, buflen, 0x44, r_name); buffer 827 block/partitions/ldm.c r_id2 = ldm_relative (buffer, buflen, 0x44, r_id1); buffer 838 block/partitions/ldm.c if (len != get_unaligned_be32(buffer + 0x14)) buffer 841 block/partitions/ldm.c ldm_get_vstr (buffer + 0x18 + r_objid, buf, sizeof (buf)); buffer 856 block/partitions/ldm.c static bool ldm_parse_dsk3 (const u8 *buffer, int buflen, struct vblk *vb) buffer 861 block/partitions/ldm.c BUG_ON (!buffer || !vb); buffer 863 block/partitions/ldm.c r_objid = ldm_relative (buffer, buflen, 0x18, 0); buffer 864 block/partitions/ldm.c r_name = ldm_relative (buffer, buflen, 0x18, r_objid); buffer 865 block/partitions/ldm.c r_diskid = ldm_relative (buffer, buflen, 0x18, r_name); buffer 866 block/partitions/ldm.c r_altname = ldm_relative (buffer, buflen, 0x18, r_diskid); buffer 872 block/partitions/ldm.c if (len != get_unaligned_be32(buffer + 0x14)) buffer 876 block/partitions/ldm.c ldm_get_vstr (buffer + 0x18 + r_diskid, disk->alt_name, buffer 878 block/partitions/ldm.c if (uuid_parse(buffer + 0x19 + r_name, &disk->disk_id)) buffer 895 block/partitions/ldm.c static bool ldm_parse_dsk4 (const u8 *buffer, int buflen, struct vblk *vb) buffer 900 block/partitions/ldm.c BUG_ON (!buffer || !vb); buffer 902 block/partitions/ldm.c r_objid = ldm_relative (buffer, buflen, 0x18, 0); buffer 903 block/partitions/ldm.c r_name = ldm_relative (buffer, buflen, 0x18, r_objid); buffer 909 block/partitions/ldm.c if (len != get_unaligned_be32(buffer + 0x14)) buffer 913 block/partitions/ldm.c uuid_copy(&disk->disk_id, (uuid_t *)(buffer + 0x18 + r_name)); buffer 928 block/partitions/ldm.c static bool ldm_parse_prt3(const u8 *buffer, int buflen, struct vblk *vb) buffer 933 block/partitions/ldm.c BUG_ON(!buffer || !vb); buffer 934 block/partitions/ldm.c r_objid = ldm_relative(buffer, buflen, 0x18, 0); buffer 939 block/partitions/ldm.c r_name = ldm_relative(buffer, buflen, 0x18, r_objid); buffer 944 block/partitions/ldm.c r_size = ldm_relative(buffer, buflen, 0x34, r_name); buffer 949 block/partitions/ldm.c r_parent = ldm_relative(buffer, buflen, 0x34, r_size); buffer 954 block/partitions/ldm.c r_diskid = ldm_relative(buffer, buflen, 0x34, r_parent); buffer 959 block/partitions/ldm.c if (buffer[0x12] & VBLK_FLAG_PART_INDEX) { buffer 960 block/partitions/ldm.c r_index = ldm_relative(buffer, buflen, 0x34, r_diskid); buffer 975 block/partitions/ldm.c if (len > get_unaligned_be32(buffer + 0x14)) { buffer 977 block/partitions/ldm.c get_unaligned_be32(buffer + 0x14)); buffer 981 block/partitions/ldm.c part->start = get_unaligned_be64(buffer + 0x24 + r_name); buffer 982 block/partitions/ldm.c part->volume_offset = get_unaligned_be64(buffer + 0x2C + r_name); buffer 983 block/partitions/ldm.c part->size = ldm_get_vnum(buffer + 0x34 + r_name); buffer 984 block/partitions/ldm.c part->parent_id = ldm_get_vnum(buffer + 0x34 + r_size); buffer 985 block/partitions/ldm.c part->disk_id = ldm_get_vnum(buffer + 0x34 + r_parent); buffer 987 block/partitions/ldm.c part->partnum = buffer[0x35 + r_diskid]; buffer 1004 block/partitions/ldm.c static bool ldm_parse_vol5(const u8 *buffer, int buflen, struct vblk *vb) buffer 1010 block/partitions/ldm.c BUG_ON(!buffer || !vb); buffer 1011 block/partitions/ldm.c r_objid = ldm_relative(buffer, buflen, 0x18, 0); buffer 1016 block/partitions/ldm.c r_name = ldm_relative(buffer, buflen, 0x18, r_objid); buffer 1021 block/partitions/ldm.c r_vtype = ldm_relative(buffer, buflen, 0x18, r_name); buffer 1026 block/partitions/ldm.c r_disable_drive_letter = ldm_relative(buffer, buflen, 0x18, r_vtype); buffer 1032 block/partitions/ldm.c r_child = ldm_relative(buffer, buflen, 0x2D, r_disable_drive_letter); buffer 1037 block/partitions/ldm.c r_size = ldm_relative(buffer, buflen, 0x3D, r_child); buffer 1042 block/partitions/ldm.c if (buffer[0x12] & VBLK_FLAG_VOLU_ID1) { buffer 1043 block/partitions/ldm.c r_id1 = ldm_relative(buffer, buflen, 0x52, r_size); buffer 1050 block/partitions/ldm.c if (buffer[0x12] & VBLK_FLAG_VOLU_ID2) { buffer 1051 block/partitions/ldm.c r_id2 = ldm_relative(buffer, buflen, 0x52, r_id1); buffer 1058 block/partitions/ldm.c if (buffer[0x12] & VBLK_FLAG_VOLU_SIZE) { buffer 1059 block/partitions/ldm.c r_size2 = ldm_relative(buffer, buflen, 0x52, r_id2); buffer 1066 block/partitions/ldm.c if (buffer[0x12] & VBLK_FLAG_VOLU_DRIVE) { buffer 1067 block/partitions/ldm.c r_drive = ldm_relative(buffer, buflen, 0x52, r_size2); buffer 1080 block/partitions/ldm.c if (len > get_unaligned_be32(buffer + 0x14)) { buffer 1082 block/partitions/ldm.c get_unaligned_be32(buffer + 0x14)); buffer 1086 block/partitions/ldm.c ldm_get_vstr(buffer + 0x18 + r_name, volu->volume_type, buffer 1088 block/partitions/ldm.c memcpy(volu->volume_state, buffer + 0x18 + r_disable_drive_letter, buffer 1090 block/partitions/ldm.c volu->size = ldm_get_vnum(buffer + 0x3D + r_child); buffer 1091 block/partitions/ldm.c volu->partition_type = buffer[0x41 + r_size]; buffer 1092 block/partitions/ldm.c memcpy(volu->guid, buffer + 0x42 + r_size, sizeof(volu->guid)); buffer 1093 block/partitions/ldm.c if (buffer[0x12] & VBLK_FLAG_VOLU_DRIVE) { buffer 1094 block/partitions/ldm.c ldm_get_vstr(buffer + 0x52 + r_size, volu->drive_hint, buffer 412 block/scsi_ioctl.c char *buffer = NULL; buffer 431 block/scsi_ioctl.c buffer = kzalloc(bytes, q->bounce_gfp | GFP_USER| __GFP_NOWARN); buffer 432 block/scsi_ioctl.c if (!buffer) buffer 454 block/scsi_ioctl.c if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) buffer 488 block/scsi_ioctl.c if (bytes && blk_rq_map_kern(q, rq, buffer, bytes, GFP_NOIO)) { buffer 504 block/scsi_ioctl.c if (copy_to_user(sic->data, buffer, out_len)) buffer 512 block/scsi_ioctl.c kfree(buffer); buffer 627 block/scsi_ioctl.c hdr.dxferp = cgc.buffer; buffer 335 block/sed-opal.c void *buffer = dev->resp; buffer 336 block/sed-opal.c struct opal_header *hdr = buffer; buffer 348 block/sed-opal.c memset(buffer, 0, buflen); buffer 642 block/sed-opal.c static int build_locking_range(u8 *buffer, size_t length, u8 lr) buffer 649 block/sed-opal.c memcpy(buffer, opaluid[OPAL_LOCKINGRANGE_GLOBAL], OPAL_UID_LENGTH); buffer 654 block/sed-opal.c buffer[5] = LOCKING_RANGE_NON_GLOBAL; buffer 655 block/sed-opal.c buffer[7] = lr; buffer 660 block/sed-opal.c static int build_locking_user(u8 *buffer, size_t length, u8 lr) buffer 667 block/sed-opal.c memcpy(buffer, opaluid[OPAL_USER1_UID], OPAL_UID_LENGTH); buffer 669 block/sed-opal.c buffer[7] = lr + 1; buffer 113 certs/blacklist.c char *buffer, *p; buffer 116 certs/blacklist.c buffer = kmalloc(type_len + 1 + hash_len * 2 + 1, GFP_KERNEL); buffer 117 certs/blacklist.c if (!buffer) buffer 119 certs/blacklist.c p = memcpy(buffer, type, type_len); buffer 127 certs/blacklist.c &key_type_blacklist, buffer, false); buffer 133 certs/blacklist.c kfree(buffer); buffer 301 crypto/ablkcipher.c u8 *buffer, *alignbuffer; buffer 305 crypto/ablkcipher.c buffer = kmalloc(absize, GFP_ATOMIC); buffer 306 crypto/ablkcipher.c if (!buffer) buffer 309 crypto/ablkcipher.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); buffer 313 crypto/ablkcipher.c kfree(buffer); buffer 32 crypto/aead.c u8 *buffer, *alignbuffer; buffer 36 crypto/aead.c buffer = kmalloc(absize, GFP_ATOMIC); buffer 37 crypto/aead.c if (!buffer) buffer 40 crypto/aead.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); buffer 44 crypto/aead.c kfree(buffer); buffer 173 crypto/ahash.c u8 *buffer, *alignbuffer; buffer 177 crypto/ahash.c buffer = kmalloc(absize, GFP_KERNEL); buffer 178 crypto/ahash.c if (!buffer) buffer 181 crypto/ahash.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); buffer 184 crypto/ahash.c kzfree(buffer); buffer 44 crypto/asymmetric_keys/mscode_parser.c char buffer[50]; buffer 46 crypto/asymmetric_keys/mscode_parser.c sprint_oid(value, vlen, buffer, sizeof(buffer)); buffer 47 crypto/asymmetric_keys/mscode_parser.c pr_err("Unknown OID: %s\n", buffer); buffer 73 crypto/asymmetric_keys/mscode_parser.c char buffer[50]; buffer 101 crypto/asymmetric_keys/mscode_parser.c sprint_oid(value, vlen, buffer, sizeof(buffer)); buffer 102 crypto/asymmetric_keys/mscode_parser.c pr_err("Unknown OID: %s\n", buffer); buffer 212 crypto/asymmetric_keys/pkcs7_parser.c char buffer[50]; buffer 213 crypto/asymmetric_keys/pkcs7_parser.c sprint_oid(value, vlen, buffer, sizeof(buffer)); buffer 215 crypto/asymmetric_keys/pkcs7_parser.c (unsigned long)value - ctx->data, buffer); buffer 41 crypto/asymmetric_keys/pkcs8_parser.c char buffer[50]; buffer 43 crypto/asymmetric_keys/pkcs8_parser.c sprint_oid(value, vlen, buffer, sizeof(buffer)); buffer 45 crypto/asymmetric_keys/pkcs8_parser.c (unsigned long)value - ctx->data, buffer); buffer 163 crypto/asymmetric_keys/x509_cert_parser.c char buffer[50]; buffer 164 crypto/asymmetric_keys/x509_cert_parser.c sprint_oid(value, vlen, buffer, sizeof(buffer)); buffer 166 crypto/asymmetric_keys/x509_cert_parser.c (unsigned long)value - ctx->data, buffer); buffer 334 crypto/asymmetric_keys/x509_cert_parser.c char *buffer; buffer 341 crypto/asymmetric_keys/x509_cert_parser.c buffer = kmalloc(1, GFP_KERNEL); buffer 342 crypto/asymmetric_keys/x509_cert_parser.c if (!buffer) buffer 344 crypto/asymmetric_keys/x509_cert_parser.c buffer[0] = 0; buffer 363 crypto/asymmetric_keys/x509_cert_parser.c buffer = kmalloc(ctx->o_size + 2 + ctx->cn_size + 1, buffer 365 crypto/asymmetric_keys/x509_cert_parser.c if (!buffer) buffer 368 crypto/asymmetric_keys/x509_cert_parser.c memcpy(buffer, buffer 370 crypto/asymmetric_keys/x509_cert_parser.c buffer[ctx->o_size + 0] = ':'; buffer 371 crypto/asymmetric_keys/x509_cert_parser.c buffer[ctx->o_size + 1] = ' '; buffer 372 crypto/asymmetric_keys/x509_cert_parser.c memcpy(buffer + ctx->o_size + 2, buffer 374 crypto/asymmetric_keys/x509_cert_parser.c buffer[ctx->o_size + 2 + ctx->cn_size] = 0; buffer 389 crypto/asymmetric_keys/x509_cert_parser.c buffer = kmalloc(namesize + 1, GFP_KERNEL); buffer 390 crypto/asymmetric_keys/x509_cert_parser.c if (!buffer) buffer 392 crypto/asymmetric_keys/x509_cert_parser.c memcpy(buffer, name, namesize); buffer 393 crypto/asymmetric_keys/x509_cert_parser.c buffer[namesize] = 0; buffer 396 crypto/asymmetric_keys/x509_cert_parser.c *_name = buffer; buffer 73 crypto/blkcipher.c addr = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); buffer 131 crypto/blkcipher.c if (walk->buffer != walk->page) buffer 132 crypto/blkcipher.c kfree(walk->buffer); buffer 147 crypto/blkcipher.c if (walk->buffer) buffer 150 crypto/blkcipher.c walk->buffer = walk->page; buffer 151 crypto/blkcipher.c if (walk->buffer) buffer 156 crypto/blkcipher.c walk->buffer = kmalloc(n, GFP_ATOMIC); buffer 157 crypto/blkcipher.c if (!walk->buffer) buffer 161 crypto/blkcipher.c walk->dst.virt.addr = (u8 *)ALIGN((unsigned long)walk->buffer, buffer 279 crypto/blkcipher.c walk->buffer = kmalloc(size, GFP_ATOMIC); buffer 280 crypto/blkcipher.c if (!walk->buffer) buffer 283 crypto/blkcipher.c iv = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); buffer 327 crypto/blkcipher.c walk->buffer = NULL; buffer 374 crypto/blkcipher.c u8 *buffer, *alignbuffer; buffer 378 crypto/blkcipher.c buffer = kmalloc(absize, GFP_ATOMIC); buffer 379 crypto/blkcipher.c if (!buffer) buffer 382 crypto/blkcipher.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); buffer 386 crypto/blkcipher.c kfree(buffer); buffer 25 crypto/cipher.c u8 *buffer, *alignbuffer; buffer 29 crypto/cipher.c buffer = kmalloc(absize, GFP_ATOMIC); buffer 30 crypto/cipher.c if (!buffer) buffer 33 crypto/cipher.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); buffer 37 crypto/cipher.c kfree(buffer); buffer 66 crypto/cipher.c u8 buffer[MAX_CIPHER_BLOCKSIZE + MAX_CIPHER_ALIGNMASK]; buffer 67 crypto/cipher.c u8 *tmp = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); buffer 70 crypto/crct10dif_common.c __u16 crc_t10dif_generic(__u16 crc, const unsigned char *buffer, size_t len) buffer 75 crypto/crct10dif_common.c crc = (crc << 8) ^ t10_dif_crc_table[((crc >> 8) ^ buffer[i]) & 0xff]; buffer 85 crypto/ghash-generic.c u8 *dst = dctx->buffer; buffer 119 crypto/ghash-generic.c u8 *dst = dctx->buffer; buffer 137 crypto/ghash-generic.c u8 *buf = dctx->buffer; buffer 164 crypto/nhpoly1305.c memcpy(&state->buffer[state->buflen], src, bytes); buffer 168 crypto/nhpoly1305.c nhpoly1305_units(state, key, state->buffer, NH_MESSAGE_UNIT, buffer 183 crypto/nhpoly1305.c memcpy(state->buffer, src, srclen); buffer 203 crypto/nhpoly1305.c memset(&state->buffer[state->buflen], 0, buffer 205 crypto/nhpoly1305.c nhpoly1305_units(state, key, state->buffer, NH_MESSAGE_UNIT, buffer 23 crypto/rmd128.c __le32 buffer[16]; buffer 224 crypto/rmd128.c memset(rctx->buffer, 0, sizeof(rctx->buffer)); buffer 233 crypto/rmd128.c const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); buffer 239 crypto/rmd128.c memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), buffer 244 crypto/rmd128.c memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), buffer 247 crypto/rmd128.c rmd128_transform(rctx->state, rctx->buffer); buffer 251 crypto/rmd128.c while (len >= sizeof(rctx->buffer)) { buffer 252 crypto/rmd128.c memcpy(rctx->buffer, data, sizeof(rctx->buffer)); buffer 253 crypto/rmd128.c rmd128_transform(rctx->state, rctx->buffer); buffer 254 crypto/rmd128.c data += sizeof(rctx->buffer); buffer 255 crypto/rmd128.c len -= sizeof(rctx->buffer); buffer 258 crypto/rmd128.c memcpy(rctx->buffer, data, len); buffer 23 crypto/rmd160.c __le32 buffer[16]; buffer 268 crypto/rmd160.c memset(rctx->buffer, 0, sizeof(rctx->buffer)); buffer 277 crypto/rmd160.c const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); buffer 283 crypto/rmd160.c memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), buffer 288 crypto/rmd160.c memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), buffer 291 crypto/rmd160.c rmd160_transform(rctx->state, rctx->buffer); buffer 295 crypto/rmd160.c while (len >= sizeof(rctx->buffer)) { buffer 296 crypto/rmd160.c memcpy(rctx->buffer, data, sizeof(rctx->buffer)); buffer 297 crypto/rmd160.c rmd160_transform(rctx->state, rctx->buffer); buffer 298 crypto/rmd160.c data += sizeof(rctx->buffer); buffer 299 crypto/rmd160.c len -= sizeof(rctx->buffer); buffer 302 crypto/rmd160.c memcpy(rctx->buffer, data, len); buffer 23 crypto/rmd256.c __le32 buffer[16]; buffer 243 crypto/rmd256.c memset(rctx->buffer, 0, sizeof(rctx->buffer)); buffer 252 crypto/rmd256.c const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); buffer 258 crypto/rmd256.c memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), buffer 263 crypto/rmd256.c memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), buffer 266 crypto/rmd256.c rmd256_transform(rctx->state, rctx->buffer); buffer 270 crypto/rmd256.c while (len >= sizeof(rctx->buffer)) { buffer 271 crypto/rmd256.c memcpy(rctx->buffer, data, sizeof(rctx->buffer)); buffer 272 crypto/rmd256.c rmd256_transform(rctx->state, rctx->buffer); buffer 273 crypto/rmd256.c data += sizeof(rctx->buffer); buffer 274 crypto/rmd256.c len -= sizeof(rctx->buffer); buffer 277 crypto/rmd256.c memcpy(rctx->buffer, data, len); buffer 23 crypto/rmd320.c __le32 buffer[16]; buffer 292 crypto/rmd320.c memset(rctx->buffer, 0, sizeof(rctx->buffer)); buffer 301 crypto/rmd320.c const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); buffer 307 crypto/rmd320.c memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), buffer 312 crypto/rmd320.c memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), buffer 315 crypto/rmd320.c rmd320_transform(rctx->state, rctx->buffer); buffer 319 crypto/rmd320.c while (len >= sizeof(rctx->buffer)) { buffer 320 crypto/rmd320.c memcpy(rctx->buffer, data, sizeof(rctx->buffer)); buffer 321 crypto/rmd320.c rmd320_transform(rctx->state, rctx->buffer); buffer 322 crypto/rmd320.c data += sizeof(rctx->buffer); buffer 323 crypto/rmd320.c len -= sizeof(rctx->buffer); buffer 326 crypto/rmd320.c memcpy(rctx->buffer, data, len); buffer 36 crypto/shash.c u8 *buffer, *alignbuffer; buffer 40 crypto/shash.c buffer = kmalloc(absize, GFP_ATOMIC); buffer 41 crypto/shash.c if (!buffer) buffer 44 crypto/shash.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); buffer 47 crypto/shash.c kzfree(buffer); buffer 39 crypto/skcipher.c u8 buffer[]; buffer 97 crypto/skcipher.c addr = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); buffer 163 crypto/skcipher.c if (!((unsigned long)walk->buffer | (unsigned long)walk->page)) buffer 171 crypto/skcipher.c if (walk->buffer != walk->page) buffer 172 crypto/skcipher.c kfree(walk->buffer); buffer 193 crypto/skcipher.c data = PTR_ALIGN(&p->buffer[0], walk->alignmask + 1); buffer 210 crypto/skcipher.c if (walk->buffer != walk->page) buffer 211 crypto/skcipher.c kfree(walk->buffer); buffer 231 crypto/skcipher.c u8 *buffer; buffer 235 crypto/skcipher.c if (!walk->buffer) buffer 236 crypto/skcipher.c walk->buffer = walk->page; buffer 237 crypto/skcipher.c buffer = walk->buffer; buffer 238 crypto/skcipher.c if (buffer) buffer 266 crypto/skcipher.c buffer = p->buffer; buffer 268 crypto/skcipher.c walk->buffer = v; buffer 269 crypto/skcipher.c buffer = v; buffer 273 crypto/skcipher.c walk->dst.virt.addr = PTR_ALIGN(buffer, alignmask + 1); buffer 420 crypto/skcipher.c walk->buffer = kmalloc(size, skcipher_walk_gfp(walk)); buffer 421 crypto/skcipher.c if (!walk->buffer) buffer 424 crypto/skcipher.c iv = PTR_ALIGN(walk->buffer, alignmask + 1); buffer 436 crypto/skcipher.c walk->buffer = NULL; buffer 802 crypto/skcipher.c u8 *buffer, *alignbuffer; buffer 807 crypto/skcipher.c buffer = kmalloc(absize, GFP_ATOMIC); buffer 808 crypto/skcipher.c if (!buffer) buffer 811 crypto/skcipher.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); buffer 814 crypto/skcipher.c kzfree(buffer); buffer 927 crypto/streebog_generic.c memset(ctx->buffer + ctx->fillsize, 0, buffer 928 crypto/streebog_generic.c sizeof(ctx->buffer) - ctx->fillsize); buffer 930 crypto/streebog_generic.c ctx->buffer[ctx->fillsize] = 1; buffer 1012 crypto/streebog_generic.c memcpy(&ctx->buffer[ctx->fillsize], data, chunksize); buffer 1018 crypto/streebog_generic.c streebog_stage2(ctx, ctx->buffer); buffer 1030 crypto/streebog_generic.c memcpy(&ctx->buffer, data, len); buffer 40 crypto/wp512.c u8 buffer[WP512_BLOCK_SIZE]; buffer 788 crypto/wp512.c const __be64 *buffer = (const __be64 *)wctx->buffer; buffer 791 crypto/wp512.c block[i] = be64_to_cpu(buffer[i]); buffer 995 crypto/wp512.c wctx->buffer[0] = 0; buffer 1013 crypto/wp512.c u8 *buffer = wctx->buffer; buffer 1028 crypto/wp512.c buffer[bufferPos++] |= (u8)(b >> bufferRem); buffer 1034 crypto/wp512.c buffer[bufferPos] = b << (8 - bufferRem); buffer 1041 crypto/wp512.c buffer[bufferPos] |= b >> bufferRem; buffer 1055 crypto/wp512.c buffer[bufferPos] = b << (8 - bufferRem); buffer 1069 crypto/wp512.c u8 *buffer = wctx->buffer; buffer 1075 crypto/wp512.c buffer[bufferPos] |= 0x80U >> (bufferBits & 7); buffer 1079 crypto/wp512.c memset(&buffer[bufferPos], 0, WP512_BLOCK_SIZE - bufferPos); buffer 1085 crypto/wp512.c memset(&buffer[bufferPos], 0, buffer 1089 crypto/wp512.c memcpy(&buffer[WP512_BLOCK_SIZE - WP512_LENGTHBYTES], buffer 449 drivers/acpi/acpi_dbg.c char *buffer, size_t length) buffer 458 drivers/acpi/acpi_dbg.c status = acpi_os_get_line(buffer, length, NULL); buffer 245 drivers/acpi/acpi_ipmi.c struct acpi_ipmi_buffer *buffer; buffer 263 drivers/acpi/acpi_ipmi.c buffer = (struct acpi_ipmi_buffer *)value; buffer 266 drivers/acpi/acpi_ipmi.c if (buffer->length > ACPI_IPMI_MAX_MSG_LENGTH) { buffer 269 drivers/acpi/acpi_ipmi.c buffer->length); buffer 272 drivers/acpi/acpi_ipmi.c msg->data_len = buffer->length; buffer 273 drivers/acpi/acpi_ipmi.c memcpy(tx_msg->data, buffer->data, msg->data_len); buffer 300 drivers/acpi/acpi_ipmi.c struct acpi_ipmi_buffer *buffer; buffer 306 drivers/acpi/acpi_ipmi.c buffer = (struct acpi_ipmi_buffer *)value; buffer 312 drivers/acpi/acpi_ipmi.c buffer->status = msg->msg_done; buffer 320 drivers/acpi/acpi_ipmi.c buffer->length = msg->rx_len; buffer 321 drivers/acpi/acpi_ipmi.c memcpy(buffer->data, msg->data, msg->rx_len); buffer 93 drivers/acpi/acpi_lpat.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 98 drivers/acpi/acpi_lpat.c status = acpi_evaluate_object(handle, "LPAT", NULL, &buffer); buffer 102 drivers/acpi/acpi_lpat.c obj_p = (union acpi_object *)buffer.pointer; buffer 130 drivers/acpi/acpi_lpat.c kfree(buffer.pointer); buffer 368 drivers/acpi/acpi_pad.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 372 drivers/acpi/acpi_pad.c if (ACPI_FAILURE(acpi_evaluate_object(handle, "_PUR", NULL, &buffer))) buffer 375 drivers/acpi/acpi_pad.c if (!buffer.length || !buffer.pointer) buffer 378 drivers/acpi/acpi_pad.c package = buffer.pointer; buffer 386 drivers/acpi/acpi_pad.c kfree(buffer.pointer); buffer 232 drivers/acpi/acpi_processor.c struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; buffer 255 drivers/acpi/acpi_processor.c status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer); buffer 643 drivers/acpi/acpi_processor.c struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; buffer 651 drivers/acpi/acpi_processor.c status = acpi_evaluate_object(handle, NULL, NULL, &buffer); buffer 89 drivers/acpi/acpi_tad.c args[0].buffer.pointer = (u8 *)rt; buffer 90 drivers/acpi/acpi_tad.c args[0].buffer.length = sizeof(*rt); buffer 126 drivers/acpi/acpi_tad.c if (out_obj->buffer.length != sizeof(*rt)) buffer 129 drivers/acpi/acpi_tad.c data = (struct acpi_tad_rt *)(out_obj->buffer.pointer); buffer 322 drivers/acpi/acpi_video.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 328 drivers/acpi/acpi_video.c status = acpi_evaluate_object(handle, "_BCL", NULL, &buffer); buffer 331 drivers/acpi/acpi_video.c obj = (union acpi_object *)buffer.pointer; buffer 343 drivers/acpi/acpi_video.c kfree(buffer.pointer); buffer 652 drivers/acpi/acpi_video.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 669 drivers/acpi/acpi_video.c status = acpi_evaluate_object(device->dev->handle, "_DDC", &args, &buffer); buffer 673 drivers/acpi/acpi_video.c obj = buffer.pointer; buffer 1315 drivers/acpi/acpi_video.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 1322 drivers/acpi/acpi_video.c status = acpi_evaluate_object(video->device->handle, "_DOD", NULL, &buffer); buffer 1328 drivers/acpi/acpi_video.c dod = buffer.pointer; buffer 1369 drivers/acpi/acpi_video.c kfree(buffer.pointer); buffer 1458 drivers/acpi/acpi_video.c union acpi_object *buffer = NULL; buffer 1500 drivers/acpi/acpi_video.c status = acpi_video_device_EDID(video_device, &buffer, length); buffer 1502 drivers/acpi/acpi_video.c if (ACPI_FAILURE(status) || !buffer || buffer 1503 drivers/acpi/acpi_video.c buffer->type != ACPI_TYPE_BUFFER) { buffer 1505 drivers/acpi/acpi_video.c status = acpi_video_device_EDID(video_device, &buffer, buffer 1507 drivers/acpi/acpi_video.c if (ACPI_FAILURE(status) || !buffer || buffer 1508 drivers/acpi/acpi_video.c buffer->type != ACPI_TYPE_BUFFER) { buffer 1513 drivers/acpi/acpi_video.c *edid = buffer->buffer.pointer; buffer 282 drivers/acpi/acpica/acdebug.h void acpi_db_uint32_to_hex_string(u32 value, char *buffer); buffer 140 drivers/acpi/acpica/acinterp.h void *buffer, buffer 146 drivers/acpi/acpica/acinterp.h void *buffer, buffer 165 drivers/acpi/acpica/acinterp.h void *buffer, u32 buffer_length); buffer 169 drivers/acpi/acpica/acinterp.h void *buffer, u32 buffer_length); buffer 286 drivers/acpi/acpica/acinterp.h acpi_ex_read_gpio(union acpi_operand_object *obj_desc, void *buffer); buffer 713 drivers/acpi/acpica/aclocal.h u8 *buffer; /* buffer or string */ buffer 270 drivers/acpi/acpica/acnamesp.h acpi_ns_handle_to_name(acpi_handle target_handle, struct acpi_buffer *buffer); buffer 274 drivers/acpi/acpica/acnamesp.h struct acpi_buffer *buffer, u8 no_trailing); buffer 370 drivers/acpi/acpica/acobject.h struct acpi_object_buffer buffer; buffer 144 drivers/acpi/acpica/acresrc.h struct acpi_buffer *buffer; buffer 123 drivers/acpi/acpica/actables.h u8 acpi_tb_checksum(u8 *buffer, u32 length); buffer 249 drivers/acpi/acpica/acutils.h u8 *buffer, u32 *space_used); buffer 330 drivers/acpi/acpica/acutils.h acpi_ut_debug_dump_buffer(u8 *buffer, u32 count, u32 display, u32 component_id); buffer 332 drivers/acpi/acpica/acutils.h void acpi_ut_dump_buffer(u8 *buffer, u32 count, u32 display, u32 offset); buffer 337 drivers/acpi/acpica/acutils.h u8 *buffer, buffer 473 drivers/acpi/acpica/acutils.h void acpi_ut_get_expected_return_types(char *buffer, u32 expected_btypes); buffer 479 drivers/acpi/acpica/acutils.h acpi_ut_display_predefined_method(char *buffer, buffer 483 drivers/acpi/acpica/acutils.h u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types); buffer 640 drivers/acpi/acpica/acutils.h acpi_status acpi_ut_validate_buffer(struct acpi_buffer *buffer); buffer 643 drivers/acpi/acpica/acutils.h acpi_ut_initialize_buffer(struct acpi_buffer *buffer, buffer 85 drivers/acpi/acpica/amlresrc.h void *buffer; buffer 538 drivers/acpi/acpica/dbcmds.c acpi_ut_debug_dump_buffer((u8 *)node->object->buffer.pointer, buffer 539 drivers/acpi/acpica/dbcmds.c node->object->buffer.length, buffer 704 drivers/acpi/acpica/dbcmds.c acpi_dm_compare_aml_resources(original_aml->buffer.pointer, buffer 705 drivers/acpi/acpica/dbcmds.c (acpi_rsdesc_size)original_aml->buffer. buffer 106 drivers/acpi/acpica/dbconvert.c u8 *buffer; buffer 120 drivers/acpi/acpica/dbconvert.c buffer = ACPI_ALLOCATE(length); buffer 121 drivers/acpi/acpica/dbconvert.c if (!buffer) { buffer 128 drivers/acpi/acpica/dbconvert.c status = acpi_db_hex_byte_to_binary(&string[i], &buffer[j]); buffer 130 drivers/acpi/acpica/dbconvert.c ACPI_FREE(buffer); buffer 142 drivers/acpi/acpica/dbconvert.c object->buffer.pointer = buffer; buffer 143 drivers/acpi/acpica/dbconvert.c object->buffer.length = length; buffer 265 drivers/acpi/acpica/dbconvert.c u32 *buffer; buffer 268 drivers/acpi/acpica/dbconvert.c buffer = ACPI_ALLOCATE_ZEROED(ACPI_PLD_BUFFER_SIZE); buffer 269 drivers/acpi/acpica/dbconvert.c if (!buffer) { buffer 281 drivers/acpi/acpica/dbconvert.c ACPI_MOVE_32_TO_32(&buffer[0], &dword); buffer 288 drivers/acpi/acpica/dbconvert.c ACPI_MOVE_32_TO_32(&buffer[1], &dword); buffer 304 drivers/acpi/acpica/dbconvert.c ACPI_MOVE_32_TO_32(&buffer[2], &dword); buffer 316 drivers/acpi/acpica/dbconvert.c ACPI_MOVE_32_TO_32(&buffer[3], &dword); buffer 325 drivers/acpi/acpica/dbconvert.c ACPI_MOVE_32_TO_32(&buffer[4], &dword); buffer 328 drivers/acpi/acpica/dbconvert.c return (ACPI_CAST_PTR(u8, buffer)); buffer 365 drivers/acpi/acpica/dbconvert.c status = acpi_decode_pld_buffer(buffer_desc->buffer.pointer, buffer 366 drivers/acpi/acpica/dbconvert.c buffer_desc->buffer.length, &pld_info); buffer 380 drivers/acpi/acpica/dbconvert.c if (memcmp(new_buffer, buffer_desc->buffer.pointer, buffer 381 drivers/acpi/acpica/dbconvert.c buffer_desc->buffer.length)) { buffer 386 drivers/acpi/acpica/dbconvert.c buffer_desc->buffer.length, DB_BYTE_DISPLAY, buffer 439 drivers/acpi/acpica/dbconvert.c if (buffer_desc->buffer.length > 16) { buffer 145 drivers/acpi/acpica/dbdisply.c char buffer[80]; buffer 167 drivers/acpi/acpica/dbdisply.c ret_buf.length = sizeof(buffer); buffer 168 drivers/acpi/acpica/dbdisply.c ret_buf.pointer = buffer; buffer 736 drivers/acpi/acpica/dbdisply.c char buffer[80]; buffer 740 drivers/acpi/acpica/dbdisply.c ret_buf.length = sizeof(buffer); buffer 741 drivers/acpi/acpica/dbdisply.c ret_buf.pointer = buffer; buffer 767 drivers/acpi/acpica/dbdisply.c block, gpe_block, gpe_block->node, buffer, buffer 58 drivers/acpi/acpica/dbexec.c ACPI_FREE(objects[i].buffer.pointer); buffer 298 drivers/acpi/acpica/dbnames.c struct acpi_buffer buffer; buffer 319 drivers/acpi/acpica/dbnames.c buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; buffer 320 drivers/acpi/acpica/dbnames.c status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); buffer 330 drivers/acpi/acpica/dbnames.c acpi_os_printf("%32s", (char *)buffer.pointer); buffer 333 drivers/acpi/acpica/dbnames.c ACPI_FREE(buffer.pointer); buffer 523 drivers/acpi/acpica/dbnames.c struct acpi_buffer buffer; buffer 530 drivers/acpi/acpica/dbnames.c buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; buffer 531 drivers/acpi/acpica/dbnames.c status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); buffer 538 drivers/acpi/acpica/dbnames.c acpi_os_printf("%32s", (char *)buffer.pointer); buffer 539 drivers/acpi/acpica/dbnames.c ACPI_FREE(buffer.pointer); buffer 818 drivers/acpi/acpica/dbnames.c struct acpi_buffer buffer; buffer 838 drivers/acpi/acpica/dbnames.c buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; buffer 839 drivers/acpi/acpica/dbnames.c status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); buffer 853 drivers/acpi/acpica/dbnames.c acpi_os_printf("%-32s Type %X", (char *)buffer.pointer, node->type); buffer 854 drivers/acpi/acpica/dbnames.c ACPI_FREE(buffer.pointer); buffer 131 drivers/acpi/acpica/dbobject.c acpi_os_printf("(%u)", obj_desc->buffer.length); buffer 132 drivers/acpi/acpica/dbobject.c for (i = 0; (i < 8) && (i < obj_desc->buffer.length); i++) { buffer 133 drivers/acpi/acpica/dbobject.c acpi_os_printf(" %2.2X", obj_desc->buffer.pointer[i]); buffer 275 drivers/acpi/acpica/dbtest.c byte_length = obj_desc->buffer.length; buffer 495 drivers/acpi/acpica/dbtest.c u8 *buffer; buffer 510 drivers/acpi/acpica/dbtest.c buffer = ACPI_ALLOCATE_ZEROED(byte_length); buffer 511 drivers/acpi/acpica/dbtest.c if (!buffer) { buffer 525 drivers/acpi/acpica/dbtest.c temp1->buffer.length); buffer 527 drivers/acpi/acpica/dbtest.c acpi_os_printf(" %2.2X", temp1->buffer.pointer[i]); buffer 539 drivers/acpi/acpica/dbtest.c memset(buffer, BUFFER_FILL_VALUE, byte_length); buffer 542 drivers/acpi/acpica/dbtest.c buffer[byte_length - 1] = ACPI_MASK_BITS_ABOVE(extra_bits); buffer 546 drivers/acpi/acpica/dbtest.c write_value.buffer.length = byte_length; buffer 547 drivers/acpi/acpica/dbtest.c write_value.buffer.pointer = buffer; buffer 561 drivers/acpi/acpica/dbtest.c if (memcmp(temp2->buffer.pointer, buffer, byte_length)) { buffer 567 drivers/acpi/acpica/dbtest.c write_value.buffer.length = byte_length; buffer 568 drivers/acpi/acpica/dbtest.c write_value.buffer.pointer = temp1->buffer.pointer; buffer 582 drivers/acpi/acpica/dbtest.c if (memcmp(temp1->buffer.pointer, temp3->buffer.pointer, byte_length)) { buffer 587 drivers/acpi/acpica/dbtest.c ACPI_FREE(buffer); buffer 1052 drivers/acpi/acpica/dbtest.c this_param->buffer.pointer = (u8 *)params; /* just a garbage buffer */ buffer 1053 drivers/acpi/acpica/dbtest.c this_param->buffer.length = 48; buffer 134 drivers/acpi/acpica/dbutils.c obj_desc->buffer.length); buffer 135 drivers/acpi/acpica/dbutils.c if (obj_desc->buffer.length) { buffer 136 drivers/acpi/acpica/dbutils.c if (obj_desc->buffer.length > 16) { buffer 142 drivers/acpi/acpica/dbutils.c obj_desc->buffer.pointer), buffer 143 drivers/acpi/acpica/dbutils.c obj_desc->buffer.length, buffer 293 drivers/acpi/acpica/dbutils.c void acpi_db_uint32_to_hex_string(u32 value, char *buffer) buffer 298 drivers/acpi/acpica/dbutils.c strcpy(buffer, "0"); buffer 302 drivers/acpi/acpica/dbutils.c buffer[8] = '\0'; buffer 305 drivers/acpi/acpica/dbutils.c buffer[i] = acpi_gbl_upper_hex_digits[value & 0x0F]; buffer 255 drivers/acpi/acpica/dsargs.c node = obj_desc->buffer.node; buffer 268 drivers/acpi/acpica/dsargs.c obj_desc->buffer.aml_length, buffer 269 drivers/acpi/acpica/dsargs.c obj_desc->buffer.aml_start); buffer 44 drivers/acpi/acpica/dsdebug.c struct acpi_buffer buffer; buffer 56 drivers/acpi/acpica/dsdebug.c buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; buffer 58 drivers/acpi/acpica/dsdebug.c status = acpi_ns_handle_to_pathname(node, &buffer, TRUE); buffer 66 drivers/acpi/acpica/dsdebug.c (char *)buffer.pointer, node)); buffer 67 drivers/acpi/acpica/dsdebug.c ACPI_FREE(buffer.pointer); buffer 206 drivers/acpi/acpica/dsobject.c obj_desc->buffer.length = buffer_length; buffer 208 drivers/acpi/acpica/dsobject.c obj_desc->buffer.length = byte_list_length; buffer 213 drivers/acpi/acpica/dsobject.c if (obj_desc->buffer.length == 0) { buffer 214 drivers/acpi/acpica/dsobject.c obj_desc->buffer.pointer = NULL; buffer 218 drivers/acpi/acpica/dsobject.c obj_desc->buffer.pointer = buffer 219 drivers/acpi/acpica/dsobject.c ACPI_ALLOCATE_ZEROED(obj_desc->buffer.length); buffer 220 drivers/acpi/acpica/dsobject.c if (!obj_desc->buffer.pointer) { buffer 228 drivers/acpi/acpica/dsobject.c memcpy(obj_desc->buffer.pointer, byte_list->named.data, buffer 233 drivers/acpi/acpica/dsobject.c obj_desc->buffer.flags |= AOPOBJ_DATA_VALID; buffer 346 drivers/acpi/acpica/dsobject.c obj_desc->buffer.node = buffer 349 drivers/acpi/acpica/dsobject.c obj_desc->buffer.aml_start = op->named.data; buffer 350 drivers/acpi/acpica/dsobject.c obj_desc->buffer.aml_length = op->named.length; buffer 196 drivers/acpi/acpica/dsopcode.c if ((bit_offset + bit_count) > (8 * (u32)buffer_desc->buffer.length)) { buffer 203 drivers/acpi/acpica/dsopcode.c 8 * (u32)buffer_desc->buffer.length)); buffer 447 drivers/acpi/acpica/dsutils.c arg->common.value.buffer, buffer 56 drivers/acpi/acpica/exconcat.c char *buffer; buffer 200 drivers/acpi/acpica/exconcat.c buffer = (char *)return_desc->buffer.pointer; buffer 204 drivers/acpi/acpica/exconcat.c memcpy(buffer, &operand0->integer.value, buffer 209 drivers/acpi/acpica/exconcat.c memcpy(buffer + acpi_gbl_integer_byte_width, buffer 228 drivers/acpi/acpica/exconcat.c buffer = return_desc->string.pointer; buffer 232 drivers/acpi/acpica/exconcat.c strcpy(buffer, local_operand0->string.pointer); buffer 233 drivers/acpi/acpica/exconcat.c strcat(buffer, local_operand1->string.pointer); buffer 241 drivers/acpi/acpica/exconcat.c operand0->buffer. buffer 244 drivers/acpi/acpica/exconcat.c buffer.length)); buffer 250 drivers/acpi/acpica/exconcat.c buffer = (char *)return_desc->buffer.pointer; buffer 254 drivers/acpi/acpica/exconcat.c memcpy(buffer, operand0->buffer.pointer, buffer 255 drivers/acpi/acpica/exconcat.c operand0->buffer.length); buffer 256 drivers/acpi/acpica/exconcat.c memcpy(buffer + operand0->buffer.length, buffer 257 drivers/acpi/acpica/exconcat.c local_operand1->buffer.pointer, buffer 258 drivers/acpi/acpica/exconcat.c local_operand1->buffer.length); buffer 366 drivers/acpi/acpica/exconcat.c length0 = ACPI_PTR_DIFF(end_tag, operand0->buffer.pointer); buffer 375 drivers/acpi/acpica/exconcat.c length1 = ACPI_PTR_DIFF(end_tag, operand1->buffer.pointer); buffer 392 drivers/acpi/acpica/exconcat.c new_buf = return_desc->buffer.pointer; buffer 393 drivers/acpi/acpica/exconcat.c memcpy(new_buf, operand0->buffer.pointer, length0); buffer 394 drivers/acpi/acpica/exconcat.c memcpy(new_buf + length0, operand1->buffer.pointer, length1); buffer 28 drivers/acpi/acpica/exconfig.c u32 length, u8 *buffer); buffer 221 drivers/acpi/acpica/exconfig.c acpi_ex_region_read(union acpi_operand_object *obj_desc, u32 length, u8 *buffer) buffer 238 drivers/acpi/acpica/exconfig.c *buffer = (u8)value; buffer 239 drivers/acpi/acpica/exconfig.c buffer++; buffer 371 drivers/acpi/acpica/exconfig.c if (obj_desc->buffer.length < sizeof(struct acpi_table_header)) { buffer 379 drivers/acpi/acpica/exconfig.c obj_desc->buffer.pointer); buffer 384 drivers/acpi/acpica/exconfig.c if (length > obj_desc->buffer.length) { buffer 63 drivers/acpi/acpica/exconvrt.c pointer = obj_desc->buffer.pointer; buffer 64 drivers/acpi/acpica/exconvrt.c count = obj_desc->buffer.length; buffer 203 drivers/acpi/acpica/exconvrt.c new_buf = return_desc->buffer.pointer; buffer 227 drivers/acpi/acpica/exconvrt.c new_buf = return_desc->buffer.pointer; buffer 424 drivers/acpi/acpica/exconvrt.c new_buf = return_desc->buffer.pointer; buffer 457 drivers/acpi/acpica/exconvrt.c for (i = 0; i < obj_desc->buffer.length; i++) { buffer 458 drivers/acpi/acpica/exconvrt.c if (obj_desc->buffer.pointer[i] >= 100) { buffer 460 drivers/acpi/acpica/exconvrt.c } else if (obj_desc->buffer.pointer[i] >= 10) { buffer 479 drivers/acpi/acpica/exconvrt.c string_length = (obj_desc->buffer.length * 5); buffer 492 drivers/acpi/acpica/exconvrt.c string_length = (obj_desc->buffer.length * 5); buffer 514 drivers/acpi/acpica/exconvrt.c new_buf = return_desc->buffer.pointer; buffer 520 drivers/acpi/acpica/exconvrt.c for (i = 0; i < obj_desc->buffer.length; i++) { buffer 530 drivers/acpi/acpica/exconvrt.c buffer.pointer[i], buffer 542 drivers/acpi/acpica/exconvrt.c if (obj_desc->buffer.length) { buffer 150 drivers/acpi/acpica/exdebug.c acpi_os_printf("[0x%.2X]\n", (u32)source_desc->buffer.length); buffer 151 drivers/acpi/acpica/exdebug.c acpi_ut_dump_buffer(source_desc->buffer.pointer, buffer 152 drivers/acpi/acpica/exdebug.c (source_desc->buffer.length < 256) ? buffer 153 drivers/acpi/acpica/exdebug.c source_desc->buffer.length : 256, buffer 61 drivers/acpi/acpica/exdump.c {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(buffer.length), "Length"}, buffer 62 drivers/acpi/acpica/exdump.c {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(buffer.pointer), "Pointer"}, buffer 63 drivers/acpi/acpica/exdump.c {ACPI_EXD_NODE, ACPI_EXD_OFFSET(buffer.node), "Parent Node"}, buffer 411 drivers/acpi/acpica/exdump.c ACPI_DUMP_BUFFER(obj_desc->buffer.pointer, buffer 412 drivers/acpi/acpica/exdump.c obj_desc->buffer.length); buffer 691 drivers/acpi/acpica/exdump.c obj_desc->buffer.length, buffer 692 drivers/acpi/acpica/exdump.c obj_desc->buffer.pointer); buffer 696 drivers/acpi/acpica/exdump.c if (obj_desc->buffer.pointer) { buffer 697 drivers/acpi/acpica/exdump.c length = obj_desc->buffer.length; buffer 705 drivers/acpi/acpica/exdump.c ACPI_DUMP_BUFFER(obj_desc->buffer.pointer, length); buffer 1073 drivers/acpi/acpica/exdump.c obj_desc->buffer.length); buffer 1074 drivers/acpi/acpica/exdump.c if (obj_desc->buffer.length) { buffer 1077 drivers/acpi/acpica/exdump.c obj_desc->buffer.pointer), buffer 1078 drivers/acpi/acpica/exdump.c obj_desc->buffer.length, buffer 110 drivers/acpi/acpica/exfield.c void *buffer; buffer 170 drivers/acpi/acpica/exfield.c buffer = buffer_desc->buffer.pointer; buffer 180 drivers/acpi/acpica/exfield.c buffer = &buffer_desc->integer.value; buffer 189 drivers/acpi/acpica/exfield.c status = acpi_ex_read_gpio(obj_desc, buffer); buffer 202 drivers/acpi/acpica/exfield.c memcpy(buffer, buffer 214 drivers/acpi/acpica/exfield.c obj_desc, obj_desc->common.type, buffer, buffer 228 drivers/acpi/acpica/exfield.c status = acpi_ex_extract_from_field(obj_desc, buffer, buffer_length); buffer 263 drivers/acpi/acpica/exfield.c void *buffer; buffer 321 drivers/acpi/acpica/exfield.c source_desc->buffer.pointer, data_length); buffer 351 drivers/acpi/acpica/exfield.c buffer = &source_desc->integer.value; buffer 357 drivers/acpi/acpica/exfield.c buffer = source_desc->buffer.pointer; buffer 358 drivers/acpi/acpica/exfield.c buffer_length = source_desc->buffer.length; buffer 363 drivers/acpi/acpica/exfield.c buffer = source_desc->string.pointer; buffer 375 drivers/acpi/acpica/exfield.c source_desc->common.type, buffer, buffer_length)); buffer 392 drivers/acpi/acpica/exfield.c status = acpi_ex_insert_into_field(obj_desc, buffer, buffer_length); buffer 388 drivers/acpi/acpica/exfldio.c (obj_desc->buffer_field.buffer_obj)->buffer. buffer 398 drivers/acpi/acpica/exfldio.c memcpy((obj_desc->buffer_field.buffer_obj)->buffer. buffer 649 drivers/acpi/acpica/exfldio.c void *buffer, u32 buffer_length) buffer 675 drivers/acpi/acpica/exfldio.c memset(buffer, 0, buffer_length); buffer 684 drivers/acpi/acpica/exfldio.c acpi_ex_field_datum_io(obj_desc, 0, buffer, buffer 692 drivers/acpi/acpica/exfldio.c memcpy(buffer, &raw_datum, buffer_length); buffer 766 drivers/acpi/acpica/exfldio.c memcpy(((char *)buffer) + buffer_offset, &merged_datum, buffer 784 drivers/acpi/acpica/exfldio.c memcpy(((char *)buffer) + buffer_offset, &merged_datum, buffer 807 drivers/acpi/acpica/exfldio.c void *buffer, u32 buffer_length) buffer 852 drivers/acpi/acpica/exfldio.c memcpy((char *)new_buffer, (char *)buffer, buffer_length); buffer 853 drivers/acpi/acpica/exfldio.c buffer = new_buffer; buffer 884 drivers/acpi/acpica/exfldio.c memcpy(&raw_datum, buffer, buffer 936 drivers/acpi/acpica/exfldio.c memcpy(&raw_datum, ((char *)buffer) + buffer_offset, buffer 374 drivers/acpi/acpica/exmisc.c length0 = operand0->buffer.length; buffer 375 drivers/acpi/acpica/exmisc.c length1 = local_operand1->buffer.length; buffer 379 drivers/acpi/acpica/exmisc.c compare = memcmp(operand0->buffer.pointer, buffer 380 drivers/acpi/acpica/exmisc.c local_operand1->buffer.pointer, buffer 721 drivers/acpi/acpica/exoparg1.c value = temp_desc->buffer.length; buffer 941 drivers/acpi/acpica/exoparg1.c temp_desc->buffer.pointer[operand[0]->reference.value]); buffer 290 drivers/acpi/acpica/exoparg2.c while ((length < operand[0]->buffer.length) && /* Length of input buffer */ buffer 292 drivers/acpi/acpica/exoparg2.c (operand[0]->buffer.pointer[length])) { /* Null terminator */ buffer 309 drivers/acpi/acpica/exoparg2.c operand[0]->buffer.pointer, length); buffer 353 drivers/acpi/acpica/exoparg2.c &(operand[0]->buffer.pointer[index]); buffer 358 drivers/acpi/acpica/exoparg2.c if (index >= operand[0]->buffer.length) { buffer 359 drivers/acpi/acpica/exoparg2.c length = operand[0]->buffer.length; buffer 366 drivers/acpi/acpica/exoparg2.c &(operand[0]->buffer.pointer[index]); buffer 129 drivers/acpi/acpica/exoparg3.c char *buffer = NULL; buffer 178 drivers/acpi/acpica/exoparg3.c buffer = ACPI_ALLOCATE_ZEROED((acpi_size)length + 1); buffer 179 drivers/acpi/acpica/exoparg3.c if (!buffer) { buffer 193 drivers/acpi/acpica/exoparg3.c buffer = ACPI_ALLOCATE_ZEROED(length); buffer 194 drivers/acpi/acpica/exoparg3.c if (!buffer) { buffer 207 drivers/acpi/acpica/exoparg3.c if (buffer) { buffer 211 drivers/acpi/acpica/exoparg3.c memcpy(buffer, buffer 217 drivers/acpi/acpica/exoparg3.c return_desc->string.pointer = buffer; buffer 222 drivers/acpi/acpica/exoparg3.c return_desc->buffer.flags |= AOPOBJ_DATA_VALID; buffer 450 drivers/acpi/acpica/exprep.c second_desc->buffer.pointer; buffer 452 drivers/acpi/acpica/exprep.c (u16)second_desc->buffer.length; buffer 32 drivers/acpi/acpica/exserial.c acpi_status acpi_ex_read_gpio(union acpi_operand_object *obj_desc, void *buffer) buffer 55 drivers/acpi/acpica/exserial.c status = acpi_ex_access_region(obj_desc, 0, (u64 *)buffer, ACPI_READ); buffer 83 drivers/acpi/acpica/exserial.c void *buffer; buffer 107 drivers/acpi/acpica/exserial.c buffer = &source_desc->integer.value; buffer 115 drivers/acpi/acpica/exserial.c status = acpi_ex_access_region(obj_desc, 0, (u64 *)buffer, ACPI_WRITE); buffer 217 drivers/acpi/acpica/exserial.c buffer_desc->buffer. buffer 248 drivers/acpi/acpica/exserial.c void *buffer; buffer 327 drivers/acpi/acpica/exserial.c buffer = buffer_desc->buffer.pointer; buffer 328 drivers/acpi/acpica/exserial.c data_length = (buffer_length < source_desc->buffer.length ? buffer 329 drivers/acpi/acpica/exserial.c buffer_length : source_desc->buffer.length); buffer 330 drivers/acpi/acpica/exserial.c memcpy(buffer, source_desc->buffer.pointer, data_length); buffer 340 drivers/acpi/acpica/exserial.c status = acpi_ex_access_region(obj_desc, 0, (u64 *)buffer, function); buffer 302 drivers/acpi/acpica/exstore.c value = source_desc->buffer.pointer[0]; buffer 317 drivers/acpi/acpica/exstore.c obj_desc->buffer.pointer[index_desc->reference.value] = value; buffer 34 drivers/acpi/acpica/exstorob.c u8 *buffer; buffer 46 drivers/acpi/acpica/exstorob.c buffer = ACPI_CAST_PTR(u8, source_desc->buffer.pointer); buffer 47 drivers/acpi/acpica/exstorob.c length = source_desc->buffer.length; buffer 53 drivers/acpi/acpica/exstorob.c if ((target_desc->buffer.length == 0) || buffer 55 drivers/acpi/acpica/exstorob.c target_desc->buffer.pointer = ACPI_ALLOCATE(length); buffer 56 drivers/acpi/acpica/exstorob.c if (!target_desc->buffer.pointer) { buffer 60 drivers/acpi/acpica/exstorob.c target_desc->buffer.length = length; buffer 65 drivers/acpi/acpica/exstorob.c if (length <= target_desc->buffer.length) { buffer 69 drivers/acpi/acpica/exstorob.c memset(target_desc->buffer.pointer, 0, buffer 70 drivers/acpi/acpica/exstorob.c target_desc->buffer.length); buffer 71 drivers/acpi/acpica/exstorob.c memcpy(target_desc->buffer.pointer, buffer, length); buffer 92 drivers/acpi/acpica/exstorob.c target_desc->buffer.length = length; buffer 98 drivers/acpi/acpica/exstorob.c memcpy(target_desc->buffer.pointer, buffer, buffer 99 drivers/acpi/acpica/exstorob.c target_desc->buffer.length); buffer 103 drivers/acpi/acpica/exstorob.c length, target_desc->buffer.length)); buffer 108 drivers/acpi/acpica/exstorob.c target_desc->buffer.flags = source_desc->buffer.flags; buffer 131 drivers/acpi/acpica/exstorob.c u8 *buffer; buffer 143 drivers/acpi/acpica/exstorob.c buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); buffer 158 drivers/acpi/acpica/exstorob.c memcpy(target_desc->string.pointer, buffer, length); buffer 180 drivers/acpi/acpica/exstorob.c memcpy(target_desc->string.pointer, buffer, length); buffer 58 drivers/acpi/acpica/nsconvert.c if (original_object->buffer.length > 8) { buffer 64 drivers/acpi/acpica/nsconvert.c for (i = 0; i < original_object->buffer.length; i++) { buffer 66 drivers/acpi/acpica/nsconvert.c original_object->buffer.pointer[i] << (i * buffer 139 drivers/acpi/acpica/nsconvert.c while ((length < original_object->buffer.length) && buffer 140 drivers/acpi/acpica/nsconvert.c (original_object->buffer.pointer[length])) { buffer 156 drivers/acpi/acpica/nsconvert.c original_object->buffer.pointer, length); buffer 218 drivers/acpi/acpica/nsconvert.c memcpy(new_object->buffer.pointer, buffer 253 drivers/acpi/acpica/nsconvert.c dword_buffer = ACPI_CAST_PTR(u32, new_object->buffer.pointer); buffer 303 drivers/acpi/acpica/nsconvert.c if (original_object->buffer.length < 2) { buffer 325 drivers/acpi/acpica/nsconvert.c unicode_buffer = ACPI_CAST_PTR(u16, new_object->buffer.pointer); buffer 358 drivers/acpi/acpica/nsconvert.c u8 *buffer; buffer 382 drivers/acpi/acpica/nsconvert.c if (original_object->buffer.length) { buffer 405 drivers/acpi/acpica/nsconvert.c buffer = ACPI_CAST_PTR(u8, new_object->buffer.pointer); buffer 409 drivers/acpi/acpica/nsconvert.c buffer[0] = (ACPI_RESOURCE_NAME_END_TAG | ASL_RDESC_END_TAG_SIZE); buffer 410 drivers/acpi/acpica/nsconvert.c buffer[1] = 0x00; buffer 285 drivers/acpi/acpica/nsdump.c obj_desc->buffer.length); buffer 289 drivers/acpi/acpica/nsdump.c if (obj_desc->buffer.length > 0) { buffer 292 drivers/acpi/acpica/nsdump.c (i < obj_desc->buffer.length buffer 295 drivers/acpi/acpica/nsdump.c obj_desc->buffer. buffer 338 drivers/acpi/acpica/nsdump.c obj_desc->buffer_field.buffer_obj->buffer.node) { buffer 343 drivers/acpi/acpica/nsdump.c buffer. buffer 461 drivers/acpi/acpica/nsdump.c acpi_os_printf(" B:%p-%X\n", obj_desc->buffer.pointer, buffer 462 drivers/acpi/acpica/nsdump.c obj_desc->buffer.length); buffer 38 drivers/acpi/acpica/nsdumpdv.c struct acpi_buffer buffer; buffer 48 drivers/acpi/acpica/nsdumpdv.c buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; buffer 49 drivers/acpi/acpica/nsdumpdv.c status = acpi_get_object_info(obj_handle, &buffer); buffer 51 drivers/acpi/acpica/nsdumpdv.c info = buffer.pointer; buffer 84 drivers/acpi/acpica/nsnames.c acpi_ns_handle_to_name(acpi_handle target_handle, struct acpi_buffer *buffer) buffer 99 drivers/acpi/acpica/nsnames.c status = acpi_ut_initialize_buffer(buffer, ACPI_PATH_SEGMENT_LENGTH); buffer 107 drivers/acpi/acpica/nsnames.c ACPI_COPY_NAMESEG(buffer->pointer, node_name); buffer 108 drivers/acpi/acpica/nsnames.c ((char *)buffer->pointer)[ACPI_NAMESEG_SIZE] = 0; buffer 110 drivers/acpi/acpica/nsnames.c ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "%4.4s\n", (char *)buffer->pointer)); buffer 132 drivers/acpi/acpica/nsnames.c struct acpi_buffer *buffer, u8 no_trailing) buffer 155 drivers/acpi/acpica/nsnames.c status = acpi_ut_initialize_buffer(buffer, required_size); buffer 162 drivers/acpi/acpica/nsnames.c (void)acpi_ns_build_normalized_path(node, buffer->pointer, buffer 166 drivers/acpi/acpica/nsnames.c (char *)buffer->pointer, (u32) required_size)); buffer 324 drivers/acpi/acpica/nsprepkg.c if ((*elements)->buffer.length != 16) { buffer 264 drivers/acpi/acpica/nsrepair2.c if (return_object->buffer.length >= ACPI_FDE_DWORD_BUFFER_SIZE) { buffer 270 drivers/acpi/acpica/nsrepair2.c if (return_object->buffer.length != ACPI_FDE_BYTE_BUFFER_SIZE) { buffer 275 drivers/acpi/acpica/nsrepair2.c return_object->buffer.length, buffer 291 drivers/acpi/acpica/nsrepair2.c byte_buffer = return_object->buffer.pointer; buffer 293 drivers/acpi/acpica/nsrepair2.c buffer_object->buffer.pointer); buffer 40 drivers/acpi/acpica/nsutils.c struct acpi_buffer buffer; buffer 50 drivers/acpi/acpica/nsutils.c buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; buffer 52 drivers/acpi/acpica/nsutils.c status = acpi_ns_handle_to_pathname(node, &buffer, TRUE); buffer 58 drivers/acpi/acpica/nsutils.c acpi_os_printf("%s", (char *)buffer.pointer); buffer 59 drivers/acpi/acpica/nsutils.c ACPI_FREE(buffer.pointer); buffer 124 drivers/acpi/acpica/nsxfname.c acpi_get_name(acpi_handle handle, u32 name_type, struct acpi_buffer *buffer) buffer 134 drivers/acpi/acpica/nsxfname.c status = acpi_ut_validate_buffer(buffer); buffer 153 drivers/acpi/acpica/nsxfname.c status = acpi_ns_handle_to_pathname(handle, buffer, buffer 160 drivers/acpi/acpica/nsxfname.c status = acpi_ns_handle_to_name(handle, buffer); buffer 475 drivers/acpi/acpica/nsxfname.c acpi_status acpi_install_method(u8 *buffer) buffer 478 drivers/acpi/acpica/nsxfname.c ACPI_CAST_PTR(struct acpi_table_header, buffer); buffer 492 drivers/acpi/acpica/nsxfname.c if (!buffer) { buffer 505 drivers/acpi/acpica/nsxfname.c parser_state.aml = buffer + sizeof(struct acpi_table_header); buffer 446 drivers/acpi/acpica/rscalc.c u8 *buffer; buffer 490 drivers/acpi/acpica/rscalc.c buffer = buffer 499 drivers/acpi/acpica/rscalc.c ACPI_MOVE_16_TO_16(&temp16, buffer); buffer 508 drivers/acpi/acpica/rscalc.c extra_struct_bytes = acpi_rs_count_set_bits(*buffer); buffer 554 drivers/acpi/acpica/rscalc.c extra_struct_bytes = (buffer[1] - 1) * sizeof(u32); buffer 119 drivers/acpi/acpica/rscreate.c aml_buffer_length = aml_buffer->buffer.length; buffer 120 drivers/acpi/acpica/rscreate.c aml_start = aml_buffer->buffer.pointer; buffer 182 drivers/acpi/acpica/rscreate.c u8 *buffer; buffer 224 drivers/acpi/acpica/rscreate.c buffer = output_buffer->pointer; buffer 225 drivers/acpi/acpica/rscreate.c user_prt = ACPI_CAST_PTR(struct acpi_pci_routing_table, buffer); buffer 235 drivers/acpi/acpica/rscreate.c buffer += user_prt->length; buffer 236 drivers/acpi/acpica/rscreate.c user_prt = ACPI_CAST_PTR(struct acpi_pci_routing_table, buffer); buffer 697 drivers/acpi/acpica/rsutils.c struct acpi_buffer buffer; buffer 720 drivers/acpi/acpica/rsutils.c buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; buffer 721 drivers/acpi/acpica/rsutils.c status = acpi_rs_create_aml_resources(in_buffer, &buffer); buffer 734 drivers/acpi/acpica/rsutils.c ACPI_FREE(buffer.pointer); buffer 739 drivers/acpi/acpica/rsutils.c args[0]->buffer.length = (u32) buffer.length; buffer 740 drivers/acpi/acpica/rsutils.c args[0]->buffer.pointer = buffer.pointer; buffer 39 drivers/acpi/acpica/rsxface.c struct acpi_buffer *buffer, buffer 58 drivers/acpi/acpica/rsxface.c struct acpi_buffer *buffer, buffer 89 drivers/acpi/acpica/rsxface.c status = acpi_ut_validate_buffer(buffer); buffer 413 drivers/acpi/acpica/rsxface.c info.buffer = ret_buffer; buffer 446 drivers/acpi/acpica/rsxface.c struct acpi_buffer *buffer; buffer 472 drivers/acpi/acpica/rsxface.c buffer = info->buffer; buffer 473 drivers/acpi/acpica/rsxface.c status = acpi_ut_initialize_buffer(buffer, resource->length); buffer 480 drivers/acpi/acpica/rsxface.c memcpy(buffer->pointer, resource, resource->length); buffer 481 drivers/acpi/acpica/rsxface.c buffer->length = resource->length; buffer 506 drivers/acpi/acpica/rsxface.c acpi_walk_resource_buffer(struct acpi_buffer *buffer, buffer 518 drivers/acpi/acpica/rsxface.c if (!buffer || !buffer->pointer || !user_function) { buffer 524 drivers/acpi/acpica/rsxface.c resource = ACPI_CAST_PTR(struct acpi_resource, buffer->pointer); buffer 526 drivers/acpi/acpica/rsxface.c ACPI_ADD_PTR(struct acpi_resource, buffer->pointer, buffer->length); buffer 599 drivers/acpi/acpica/rsxface.c struct acpi_buffer buffer; buffer 615 drivers/acpi/acpica/rsxface.c buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; buffer 616 drivers/acpi/acpica/rsxface.c status = acpi_rs_get_method_data(device_handle, name, &buffer); buffer 623 drivers/acpi/acpica/rsxface.c status = acpi_walk_resource_buffer(&buffer, user_function, context); buffer 624 drivers/acpi/acpica/rsxface.c ACPI_FREE(buffer.pointer); buffer 200 drivers/acpi/acpica/tbprint.c u8 acpi_tb_checksum(u8 *buffer, u32 length) buffer 203 drivers/acpi/acpica/tbprint.c u8 *end = buffer + length; buffer 205 drivers/acpi/acpica/tbprint.c while (buffer < end) { buffer 206 drivers/acpi/acpica/tbprint.c sum = (u8)(sum + *(buffer++)); buffer 186 drivers/acpi/acpica/utalloc.c char buffer[7]; buffer 189 drivers/acpi/acpica/utalloc.c strcpy(buffer, "MEMORY"); buffer 190 drivers/acpi/acpica/utalloc.c (void)acpi_db_display_statistics(buffer); buffer 250 drivers/acpi/acpica/utalloc.c acpi_status acpi_ut_validate_buffer(struct acpi_buffer *buffer) buffer 255 drivers/acpi/acpica/utalloc.c if (!buffer) { buffer 261 drivers/acpi/acpica/utalloc.c if ((buffer->length == ACPI_NO_BUFFER) || buffer 262 drivers/acpi/acpica/utalloc.c (buffer->length == ACPI_ALLOCATE_BUFFER) || buffer 263 drivers/acpi/acpica/utalloc.c (buffer->length == ACPI_ALLOCATE_LOCAL_BUFFER)) { buffer 269 drivers/acpi/acpica/utalloc.c if (!buffer->pointer) { buffer 291 drivers/acpi/acpica/utalloc.c acpi_ut_initialize_buffer(struct acpi_buffer *buffer, acpi_size required_length) buffer 297 drivers/acpi/acpica/utalloc.c if (!buffer || !required_length) { buffer 305 drivers/acpi/acpica/utalloc.c input_buffer_length = buffer->length; buffer 306 drivers/acpi/acpica/utalloc.c buffer->length = required_length; buffer 327 drivers/acpi/acpica/utalloc.c buffer->pointer = acpi_os_allocate(required_length); buffer 334 drivers/acpi/acpica/utalloc.c buffer->pointer = ACPI_ALLOCATE(required_length); buffer 349 drivers/acpi/acpica/utalloc.c if (!buffer->pointer) { buffer 355 drivers/acpi/acpica/utalloc.c memset(buffer->pointer, 0, required_length); buffer 34 drivers/acpi/acpica/utbuffer.c void acpi_ut_dump_buffer(u8 *buffer, u32 count, u32 display, u32 base_offset) buffer 41 drivers/acpi/acpica/utbuffer.c if (!buffer) { buffer 75 drivers/acpi/acpica/utbuffer.c buffer[(acpi_size)i + j]); buffer 81 drivers/acpi/acpica/utbuffer.c &buffer[(acpi_size)i + j]); buffer 88 drivers/acpi/acpica/utbuffer.c &buffer[(acpi_size)i + j]); buffer 95 drivers/acpi/acpica/utbuffer.c &buffer[(acpi_size)i + j]); buffer 99 drivers/acpi/acpica/utbuffer.c &buffer[(acpi_size)i + j + buffer 127 drivers/acpi/acpica/utbuffer.c buf_char = buffer[(acpi_size)i + j]; buffer 164 drivers/acpi/acpica/utbuffer.c acpi_ut_debug_dump_buffer(u8 *buffer, u32 count, u32 display, u32 component_id) buffer 174 drivers/acpi/acpica/utbuffer.c acpi_ut_dump_buffer(buffer, count, display, 0); buffer 200 drivers/acpi/acpica/utbuffer.c u8 *buffer, u32 count, u32 display, u32 base_offset) buffer 207 drivers/acpi/acpica/utbuffer.c if (!buffer) { buffer 241 drivers/acpi/acpica/utbuffer.c buffer[(acpi_size)i + j]); buffer 247 drivers/acpi/acpica/utbuffer.c &buffer[(acpi_size)i + j]); buffer 254 drivers/acpi/acpica/utbuffer.c &buffer[(acpi_size)i + j]); buffer 261 drivers/acpi/acpica/utbuffer.c &buffer[(acpi_size)i + j]); buffer 265 drivers/acpi/acpica/utbuffer.c &buffer[(acpi_size)i + j + buffer 285 drivers/acpi/acpica/utbuffer.c buf_char = buffer[(acpi_size)i + j]; buffer 32 drivers/acpi/acpica/utcopy.c u8 *buffer, acpi_size *space_used); buffer 125 drivers/acpi/acpica/utcopy.c external_object->buffer.pointer = data_space; buffer 126 drivers/acpi/acpica/utcopy.c external_object->buffer.length = internal_object->buffer.length; buffer 132 drivers/acpi/acpica/utcopy.c (void *)internal_object->buffer.pointer, buffer 133 drivers/acpi/acpica/utcopy.c internal_object->buffer.length); buffer 300 drivers/acpi/acpica/utcopy.c u8 *buffer, acpi_size *space_used) buffer 311 drivers/acpi/acpica/utcopy.c external_object = ACPI_CAST_PTR(union acpi_object, buffer); buffer 317 drivers/acpi/acpica/utcopy.c info.free_space = buffer + buffer 480 drivers/acpi/acpica/utcopy.c internal_object->buffer.pointer = buffer 481 drivers/acpi/acpica/utcopy.c ACPI_ALLOCATE_ZEROED(external_object->buffer.length); buffer 482 drivers/acpi/acpica/utcopy.c if (!internal_object->buffer.pointer) { buffer 486 drivers/acpi/acpica/utcopy.c memcpy(internal_object->buffer.pointer, buffer 487 drivers/acpi/acpica/utcopy.c external_object->buffer.pointer, buffer 488 drivers/acpi/acpica/utcopy.c external_object->buffer.length); buffer 490 drivers/acpi/acpica/utcopy.c internal_object->buffer.length = external_object->buffer.length; buffer 494 drivers/acpi/acpica/utcopy.c internal_object->buffer.flags |= AOPOBJ_DATA_VALID; buffer 683 drivers/acpi/acpica/utcopy.c if ((source_desc->buffer.pointer) && buffer 684 drivers/acpi/acpica/utcopy.c (source_desc->buffer.length)) { buffer 685 drivers/acpi/acpica/utcopy.c dest_desc->buffer.pointer = buffer 686 drivers/acpi/acpica/utcopy.c ACPI_ALLOCATE(source_desc->buffer.length); buffer 687 drivers/acpi/acpica/utcopy.c if (!dest_desc->buffer.pointer) { buffer 693 drivers/acpi/acpica/utcopy.c memcpy(dest_desc->buffer.pointer, buffer 694 drivers/acpi/acpica/utcopy.c source_desc->buffer.pointer, buffer 695 drivers/acpi/acpica/utcopy.c source_desc->buffer.length); buffer 76 drivers/acpi/acpica/utdelete.c object->buffer.pointer)); buffer 84 drivers/acpi/acpica/utdelete.c obj_pointer = object->buffer.pointer; buffer 336 drivers/acpi/acpica/utmisc.c struct acpi_buffer buffer; buffer 348 drivers/acpi/acpica/utmisc.c buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; buffer 349 drivers/acpi/acpica/utmisc.c status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); buffer 371 drivers/acpi/acpica/utmisc.c acpi_ut_get_type_name(type), (char *)buffer.pointer); buffer 380 drivers/acpi/acpica/utmisc.c ACPI_FREE(buffer.pointer); buffer 204 drivers/acpi/acpica/utobject.c u8 *buffer = NULL; buffer 221 drivers/acpi/acpica/utobject.c buffer = ACPI_ALLOCATE_ZEROED(buffer_size); buffer 222 drivers/acpi/acpica/utobject.c if (!buffer) { buffer 233 drivers/acpi/acpica/utobject.c buffer_desc->buffer.flags |= AOPOBJ_DATA_VALID; buffer 234 drivers/acpi/acpica/utobject.c buffer_desc->buffer.pointer = buffer; buffer 235 drivers/acpi/acpica/utobject.c buffer_desc->buffer.length = (u32) buffer_size; buffer 476 drivers/acpi/acpica/utobject.c length += (acpi_size)internal_object->buffer.length; buffer 110 drivers/acpi/acpica/utpredef.c void acpi_ut_get_expected_return_types(char *buffer, u32 expected_btypes) buffer 117 drivers/acpi/acpica/utpredef.c strcpy(buffer, "NONE"); buffer 122 drivers/acpi/acpica/utpredef.c buffer[0] = 0; buffer 130 drivers/acpi/acpica/utpredef.c strcat(buffer, &ut_rtype_names[i][j]); buffer 148 drivers/acpi/acpica/utpredef.c static u32 acpi_ut_get_argument_types(char *buffer, u16 argument_types); buffer 231 drivers/acpi/acpica/utpredef.c acpi_ut_display_predefined_method(char *buffer, buffer 241 drivers/acpi/acpica/utpredef.c arg_count = acpi_ut_get_argument_types(buffer, buffer 256 drivers/acpi/acpica/utpredef.c printf(" (%s)", buffer); buffer 266 drivers/acpi/acpica/utpredef.c acpi_ut_get_expected_return_types(buffer, buffer 269 drivers/acpi/acpica/utpredef.c printf(" Return value types: %s\n", buffer); buffer 290 drivers/acpi/acpica/utpredef.c static u32 acpi_ut_get_argument_types(char *buffer, u16 argument_types) buffer 297 drivers/acpi/acpica/utpredef.c *buffer = 0; buffer 322 drivers/acpi/acpica/utpredef.c strcat(buffer, buffer 343 drivers/acpi/acpica/utpredef.c u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types) buffer 349 drivers/acpi/acpica/utpredef.c *buffer = 0; buffer 355 drivers/acpi/acpica/utpredef.c strcat(buffer, &(ut_resource_type_names[i][sub_index])); buffer 552 drivers/acpi/acpica/utresrc.c if (!obj_desc->buffer.length) { buffer 553 drivers/acpi/acpica/utresrc.c *end_tag = obj_desc->buffer.pointer; buffer 559 drivers/acpi/acpica/utresrc.c status = acpi_ut_walk_aml_resources(NULL, obj_desc->buffer.pointer, buffer 560 drivers/acpi/acpica/utresrc.c obj_desc->buffer.length, NULL, buffer 455 drivers/acpi/acpica/utxface.c u32 *buffer = ACPI_CAST_PTR(u32, in_buffer); buffer 472 drivers/acpi/acpica/utxface.c ACPI_MOVE_32_TO_32(&dword, &buffer[0]); buffer 481 drivers/acpi/acpica/utxface.c ACPI_MOVE_32_TO_32(&dword, &buffer[1]); buffer 487 drivers/acpi/acpica/utxface.c ACPI_MOVE_32_TO_32(&dword, &buffer[2]); buffer 502 drivers/acpi/acpica/utxface.c ACPI_MOVE_32_TO_32(&dword, &buffer[3]); buffer 515 drivers/acpi/acpica/utxface.c ACPI_MOVE_32_TO_32(&dword, &buffer[4]); buffer 287 drivers/acpi/apei/ghes.c static void ghes_copy_tofrom_phys(void *buffer, u64 paddr, u32 len, buffer 301 drivers/acpi/apei/ghes.c memcpy_fromio(buffer, vaddr + offset, trunk); buffer 303 drivers/acpi/apei/ghes.c memcpy_toio(vaddr + offset, buffer, trunk); buffer 306 drivers/acpi/apei/ghes.c buffer += trunk; buffer 489 drivers/acpi/battery.c const struct acpi_buffer *buffer) buffer 494 drivers/acpi/battery.c result = extract_package(battery, buffer->pointer, buffer 498 drivers/acpi/battery.c result = extract_package(battery, buffer->pointer, buffer 502 drivers/acpi/battery.c result = extract_package(battery, buffer->pointer, buffer 539 drivers/acpi/battery.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 545 drivers/acpi/battery.c NULL, &buffer); buffer 554 drivers/acpi/battery.c &buffer); buffer 556 drivers/acpi/battery.c kfree(buffer.pointer); buffer 571 drivers/acpi/battery.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 583 drivers/acpi/battery.c NULL, &buffer); buffer 591 drivers/acpi/battery.c result = extract_package(battery, buffer.pointer, buffer 594 drivers/acpi/battery.c kfree(buffer.pointer); buffer 1170 drivers/acpi/battery.c const char __user * buffer, buffer 1184 drivers/acpi/battery.c if (copy_from_user(alarm_string, buffer, count)) { buffer 210 drivers/acpi/bus.c in_params[0].buffer.length = 16; buffer 211 drivers/acpi/bus.c in_params[0].buffer.pointer = (u8 *)&guid; buffer 217 drivers/acpi/bus.c in_params[3].buffer.length = context->cap.length; buffer 218 drivers/acpi/bus.c in_params[3].buffer.pointer = context->cap.pointer; buffer 229 drivers/acpi/bus.c || out_obj->buffer.length != context->cap.length) { buffer 236 drivers/acpi/bus.c errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); buffer 258 drivers/acpi/bus.c context->ret.length = out_obj->buffer.length; buffer 259 drivers/acpi/bus.c context->ret.pointer = kmemdup(out_obj->buffer.pointer, buffer 619 drivers/acpi/button.c static int param_get_lid_init_state(char *buffer, buffer 624 drivers/acpi/button.c return sprintf(buffer, "open"); buffer 626 drivers/acpi/button.c return sprintf(buffer, "method"); buffer 628 drivers/acpi/button.c return sprintf(buffer, "ignore"); buffer 630 drivers/acpi/button.c return sprintf(buffer, "invalid"); buffer 362 drivers/acpi/cppc_acpi.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 369 drivers/acpi/cppc_acpi.c &buffer, ACPI_TYPE_PACKAGE); buffer 375 drivers/acpi/cppc_acpi.c psd = buffer.pointer; buffer 412 drivers/acpi/cppc_acpi.c kfree(buffer.pointer); buffer 779 drivers/acpi/cppc_acpi.c cpc_obj->buffer.pointer; buffer 454 drivers/acpi/device_sysfs.c (wchar_t *)acpi_dev->pnp.str_obj->buffer.pointer, buffer 455 drivers/acpi/device_sysfs.c acpi_dev->pnp.str_obj->buffer.length, buffer 515 drivers/acpi/device_sysfs.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 543 drivers/acpi/device_sysfs.c NULL, &buffer); buffer 545 drivers/acpi/device_sysfs.c buffer.pointer = NULL; buffer 546 drivers/acpi/device_sysfs.c dev->pnp.str_obj = buffer.pointer; buffer 1361 drivers/acpi/ec.c struct acpi_buffer buffer = { sizeof(node_name), node_name }; buffer 1366 drivers/acpi/ec.c status = acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer); buffer 2022 drivers/acpi/ec.c static int param_get_event_clearing(char *buffer, buffer 2027 drivers/acpi/ec.c return sprintf(buffer, "status"); buffer 2029 drivers/acpi/ec.c return sprintf(buffer, "query"); buffer 2031 drivers/acpi/ec.c return sprintf(buffer, "event"); buffer 2033 drivers/acpi/ec.c return sprintf(buffer, "invalid"); buffer 96 drivers/acpi/fan.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 102 drivers/acpi/fan.c status = acpi_evaluate_object(device->handle, "_FST", NULL, &buffer); buffer 108 drivers/acpi/fan.c obj = buffer.pointer; buffer 232 drivers/acpi/fan.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 239 drivers/acpi/fan.c status = acpi_evaluate_object(device->handle, "_FIF", NULL, &buffer); buffer 243 drivers/acpi/fan.c obj = buffer.pointer; buffer 271 drivers/acpi/fan.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 276 drivers/acpi/fan.c status = acpi_evaluate_object(device->handle, "_FPS", NULL, &buffer); buffer 280 drivers/acpi/fan.c obj = buffer.pointer; buffer 333 drivers/acpi/glue.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 335 drivers/acpi/glue.c acpi_get_name(ACPI_HANDLE(dev), ACPI_FULL_PATHNAME, &buffer); buffer 336 drivers/acpi/glue.c DBG("Device %s -> %s\n", dev_name(dev), (char *)buffer.pointer); buffer 337 drivers/acpi/glue.c kfree(buffer.pointer); buffer 239 drivers/acpi/nfit/core.c size += obj->buffer.length; buffer 253 drivers/acpi/nfit/core.c buf->buffer.length = size; buffer 254 drivers/acpi/nfit/core.c buf->buffer.pointer = dst; buffer 262 drivers/acpi/nfit/core.c memcpy(dst, obj->buffer.pointer, obj->buffer.length); buffer 263 drivers/acpi/nfit/core.c dst += obj->buffer.length; buffer 287 drivers/acpi/nfit/core.c buf->buffer.length = 4; buffer 288 drivers/acpi/nfit/core.c buf->buffer.pointer = dst; buffer 312 drivers/acpi/nfit/core.c .buffer.type = ACPI_TYPE_BUFFER, buffer 313 drivers/acpi/nfit/core.c .buffer.pointer = data, buffer 314 drivers/acpi/nfit/core.c .buffer.length = len, buffer 505 drivers/acpi/nfit/core.c in_buf.buffer.pointer = buf; buffer 506 drivers/acpi/nfit/core.c in_buf.buffer.length = 0; buffer 510 drivers/acpi/nfit/core.c in_buf.buffer.length += nd_cmd_in_size(nvdimm, cmd, desc, buffer 515 drivers/acpi/nfit/core.c in_buf.buffer.pointer = (void *) &call_pkg->nd_payload; buffer 516 drivers/acpi/nfit/core.c in_buf.buffer.length = call_pkg->nd_size_in; buffer 520 drivers/acpi/nfit/core.c dimm_name, cmd, func, in_buf.buffer.length); buffer 523 drivers/acpi/nfit/core.c in_buf.buffer.pointer, buffer 524 drivers/acpi/nfit/core.c min_t(u32, 256, in_buf.buffer.length), true); buffer 564 drivers/acpi/nfit/core.c cmd_name, out_obj->buffer.length); buffer 566 drivers/acpi/nfit/core.c out_obj->buffer.pointer, buffer 567 drivers/acpi/nfit/core.c min_t(u32, 128, out_obj->buffer.length), true); buffer 570 drivers/acpi/nfit/core.c call_pkg->nd_fw_size = out_obj->buffer.length; buffer 572 drivers/acpi/nfit/core.c out_obj->buffer.pointer, buffer 589 drivers/acpi/nfit/core.c (u32 *) out_obj->buffer.pointer, buffer 590 drivers/acpi/nfit/core.c out_obj->buffer.length - offset); buffer 592 drivers/acpi/nfit/core.c if (offset + out_size > out_obj->buffer.length) { buffer 598 drivers/acpi/nfit/core.c if (in_buf.buffer.length + offset + out_size > buf_len) { buffer 604 drivers/acpi/nfit/core.c memcpy(buf + in_buf.buffer.length + offset, buffer 605 drivers/acpi/nfit/core.c out_obj->buffer.pointer + offset, out_size); buffer 617 drivers/acpi/nfit/core.c fw_status = *(u32 *) out_obj->buffer.pointer; buffer 619 drivers/acpi/nfit/core.c if (offset + in_buf.buffer.length < buf_len) { buffer 625 drivers/acpi/nfit/core.c rc = buf_len - offset - in_buf.buffer.length; buffer 1775 drivers/acpi/nfit/core.c .buffer.type = ACPI_TYPE_BUFFER, buffer 1776 drivers/acpi/nfit/core.c .buffer.length = 0, buffer 1795 drivers/acpi/nfit/core.c || out_obj->buffer.length < sizeof(smart)) { buffer 1801 drivers/acpi/nfit/core.c memcpy(&smart, out_obj->buffer.pointer, sizeof(smart)); buffer 3656 drivers/acpi/nfit/core.c rc = acpi_nfit_init(acpi_desc, obj->buffer.pointer, buffer 3657 drivers/acpi/nfit/core.c obj->buffer.length); buffer 3715 drivers/acpi/nfit/core.c ret = acpi_nfit_init(acpi_desc, obj->buffer.pointer, buffer 3716 drivers/acpi/nfit/core.c obj->buffer.length); buffer 149 drivers/acpi/osl.c static char buffer[512]; buffer 151 drivers/acpi/osl.c vsprintf(buffer, fmt, args); buffer 155 drivers/acpi/osl.c kdb_printf("%s", buffer); buffer 157 drivers/acpi/osl.c if (printk_get_level(buffer)) buffer 158 drivers/acpi/osl.c printk("%s", buffer); buffer 160 drivers/acpi/osl.c printk(KERN_CONT "%s", buffer); buffer 163 drivers/acpi/osl.c if (acpi_debugger_write_log(buffer) < 0) { buffer 164 drivers/acpi/osl.c if (printk_get_level(buffer)) buffer 165 drivers/acpi/osl.c printk("%s", buffer); buffer 167 drivers/acpi/osl.c printk(KERN_CONT "%s", buffer); buffer 942 drivers/acpi/osl.c ssize_t acpi_debugger_read_cmd(char *buffer, size_t buffer_length) buffer 963 drivers/acpi/osl.c ret = func(buffer, buffer_length); buffer 1304 drivers/acpi/osl.c acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read) buffer 1310 drivers/acpi/osl.c kdb_read(buffer, buffer_length); buffer 1313 drivers/acpi/osl.c chars = strlen(buffer) - 1; buffer 1314 drivers/acpi/osl.c buffer[chars] = '\0'; buffer 1319 drivers/acpi/osl.c ret = acpi_debugger_read_cmd(buffer, buffer_length); buffer 210 drivers/acpi/pci_irq.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 221 drivers/acpi/pci_irq.c status = acpi_get_irq_routing_table(handle, &buffer); buffer 223 drivers/acpi/pci_irq.c kfree(buffer.pointer); buffer 227 drivers/acpi/pci_irq.c entry = buffer.pointer; buffer 236 drivers/acpi/pci_irq.c kfree(buffer.pointer); buffer 287 drivers/acpi/pci_link.c struct acpi_buffer buffer = { 0, NULL }; buffer 296 drivers/acpi/pci_link.c buffer.length = sizeof(*resource) + 1; buffer 297 drivers/acpi/pci_link.c buffer.pointer = resource; buffer 343 drivers/acpi/pci_link.c status = acpi_set_current_resources(link->device->handle, &buffer); buffer 50 drivers/acpi/pci_slot.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 52 drivers/acpi/pci_slot.c acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); buffer 53 drivers/acpi/pci_slot.c pr_debug("Checking slot on path: %s\n", (char *)buffer.pointer); buffer 65 drivers/acpi/pci_slot.c status, (char *)buffer.pointer); buffer 73 drivers/acpi/pci_slot.c status, (char *)buffer.pointer); buffer 79 drivers/acpi/pci_slot.c kfree(buffer.pointer); buffer 187 drivers/acpi/power.c struct acpi_buffer buffer = { sizeof(node_name), node_name }; buffer 200 drivers/acpi/power.c acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer); buffer 930 drivers/acpi/power.c struct acpi_buffer buffer = { sizeof(acpi_object), &acpi_object }; buffer 954 drivers/acpi/power.c status = acpi_evaluate_object(handle, NULL, NULL, &buffer); buffer 96 drivers/acpi/proc.c const char __user * buffer, buffer 106 drivers/acpi/proc.c if (copy_from_user(strbuf, buffer, count)) buffer 167 drivers/acpi/processor_core.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 172 drivers/acpi/processor_core.c if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) buffer 175 drivers/acpi/processor_core.c if (!buffer.length || !buffer.pointer) buffer 178 drivers/acpi/processor_core.c obj = buffer.pointer; buffer 180 drivers/acpi/processor_core.c obj->buffer.length < sizeof(struct acpi_subtable_header)) { buffer 184 drivers/acpi/processor_core.c header = (struct acpi_subtable_header *)obj->buffer.pointer; buffer 195 drivers/acpi/processor_core.c kfree(buffer.pointer); buffer 312 drivers/acpi/processor_core.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 317 drivers/acpi/processor_core.c if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) buffer 320 drivers/acpi/processor_core.c if (!buffer.length || !buffer.pointer) buffer 323 drivers/acpi/processor_core.c obj = buffer.pointer; buffer 325 drivers/acpi/processor_core.c obj->buffer.length < sizeof(struct acpi_subtable_header)) buffer 328 drivers/acpi/processor_core.c header = (struct acpi_subtable_header *)obj->buffer.pointer; buffer 333 drivers/acpi/processor_core.c kfree(buffer.pointer); buffer 306 drivers/acpi/processor_idle.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 314 drivers/acpi/processor_idle.c status = acpi_evaluate_object(pr->handle, "_CST", NULL, &buffer); buffer 320 drivers/acpi/processor_idle.c cst = buffer.pointer; buffer 361 drivers/acpi/processor_idle.c reg = (struct acpi_power_register *)obj->buffer.pointer; buffer 457 drivers/acpi/processor_idle.c kfree(buffer.pointer); buffer 967 drivers/acpi/processor_idle.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 971 drivers/acpi/processor_idle.c status = acpi_evaluate_object(handle, "_LPI", NULL, &buffer); buffer 977 drivers/acpi/processor_idle.c lpi_data = buffer.pointer; buffer 1019 drivers/acpi/processor_idle.c reg = (struct acpi_power_register *)obj->buffer.pointer; buffer 1068 drivers/acpi/processor_idle.c kfree(buffer.pointer); buffer 30 drivers/acpi/processor_pdc.c struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; buffer 38 drivers/acpi/processor_pdc.c status = acpi_evaluate_object(handle, NULL, NULL, &buffer); buffer 98 drivers/acpi/processor_pdc.c obj->buffer.length = 12; buffer 99 drivers/acpi/processor_pdc.c obj->buffer.pointer = (u8 *) buf; buffer 125 drivers/acpi/processor_pdc.c u32 *buffer = NULL; buffer 128 drivers/acpi/processor_pdc.c buffer = (u32 *)(obj->buffer.pointer); buffer 129 drivers/acpi/processor_pdc.c buffer[2] &= ~(ACPI_PDC_C_C2C3_FFH | ACPI_PDC_C_C1_FFH); buffer 154 drivers/acpi/processor_pdc.c kfree(obj_list->pointer->buffer.pointer); buffer 196 drivers/acpi/processor_perflib.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 201 drivers/acpi/processor_perflib.c status = acpi_evaluate_object(pr->handle, "_PCT", NULL, &buffer); buffer 207 drivers/acpi/processor_perflib.c pct = (union acpi_object *)buffer.pointer; buffer 222 drivers/acpi/processor_perflib.c || (obj.buffer.length < sizeof(struct acpi_pct_register)) buffer 223 drivers/acpi/processor_perflib.c || (obj.buffer.pointer == NULL)) { buffer 228 drivers/acpi/processor_perflib.c memcpy(&pr->performance->control_register, obj.buffer.pointer, buffer 238 drivers/acpi/processor_perflib.c || (obj.buffer.length < sizeof(struct acpi_pct_register)) buffer 239 drivers/acpi/processor_perflib.c || (obj.buffer.pointer == NULL)) { buffer 245 drivers/acpi/processor_perflib.c memcpy(&pr->performance->status_register, obj.buffer.pointer, buffer 249 drivers/acpi/processor_perflib.c kfree(buffer.pointer); buffer 293 drivers/acpi/processor_perflib.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 301 drivers/acpi/processor_perflib.c status = acpi_evaluate_object(pr->handle, "_PSS", NULL, &buffer); buffer 307 drivers/acpi/processor_perflib.c pss = buffer.pointer; buffer 391 drivers/acpi/processor_perflib.c kfree(buffer.pointer); buffer 514 drivers/acpi/processor_perflib.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 519 drivers/acpi/processor_perflib.c status = acpi_evaluate_object(handle, "_PSD", NULL, &buffer); buffer 524 drivers/acpi/processor_perflib.c psd = buffer.pointer; buffer 568 drivers/acpi/processor_perflib.c kfree(buffer.pointer); buffer 414 drivers/acpi/processor_throttling.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 419 drivers/acpi/processor_throttling.c status = acpi_evaluate_object(pr->handle, "_PTC", NULL, &buffer); buffer 427 drivers/acpi/processor_throttling.c ptc = (union acpi_object *)buffer.pointer; buffer 442 drivers/acpi/processor_throttling.c || (obj.buffer.length < sizeof(struct acpi_ptc_register)) buffer 443 drivers/acpi/processor_throttling.c || (obj.buffer.pointer == NULL)) { buffer 449 drivers/acpi/processor_throttling.c memcpy(&pr->throttling.control_register, obj.buffer.pointer, buffer 459 drivers/acpi/processor_throttling.c || (obj.buffer.length < sizeof(struct acpi_ptc_register)) buffer 460 drivers/acpi/processor_throttling.c || (obj.buffer.pointer == NULL)) { buffer 466 drivers/acpi/processor_throttling.c memcpy(&pr->throttling.status_register, obj.buffer.pointer, buffer 486 drivers/acpi/processor_throttling.c kfree(buffer.pointer); buffer 498 drivers/acpi/processor_throttling.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 504 drivers/acpi/processor_throttling.c status = acpi_evaluate_object(pr->handle, "_TSS", NULL, &buffer); buffer 512 drivers/acpi/processor_throttling.c tss = buffer.pointer; buffer 562 drivers/acpi/processor_throttling.c kfree(buffer.pointer); buffer 574 drivers/acpi/processor_throttling.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 584 drivers/acpi/processor_throttling.c status = acpi_evaluate_object(pr->handle, "_TSD", NULL, &buffer); buffer 592 drivers/acpi/processor_throttling.c tsd = buffer.pointer; buffer 647 drivers/acpi/processor_throttling.c kfree(buffer.pointer); buffer 222 drivers/acpi/property.c guid->buffer.length != 16 || buffer 226 drivers/acpi/property.c if (!guid_equal((guid_t *)guid->buffer.pointer, &ads_guid)) buffer 360 drivers/acpi/property.c guid->buffer.length != 16 || buffer 364 drivers/acpi/property.c if (!acpi_is_property_guid((guid_t *)guid->buffer.pointer)) buffer 374 drivers/acpi/property.c acpi_data_add_props(data, (const guid_t *)guid->buffer.pointer, buffer 749 drivers/acpi/scan.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 756 drivers/acpi/scan.c status = acpi_evaluate_object(handle, "_EJD", NULL, &buffer); buffer 758 drivers/acpi/scan.c obj = buffer.pointer; buffer 761 drivers/acpi/scan.c kfree(buffer.pointer); buffer 771 drivers/acpi/scan.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 780 drivers/acpi/scan.c status = acpi_evaluate_object(handle, "_PRW", NULL, &buffer); buffer 786 drivers/acpi/scan.c package = (union acpi_object *)buffer.pointer; buffer 843 drivers/acpi/scan.c kfree(buffer.pointer); buffer 910 drivers/acpi/scan.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 916 drivers/acpi/scan.c status = acpi_evaluate_object(device->handle, pathname, NULL, &buffer); buffer 918 drivers/acpi/scan.c union acpi_object *package = buffer.pointer; buffer 920 drivers/acpi/scan.c if (buffer.length && package buffer 925 drivers/acpi/scan.c ACPI_FREE(buffer.pointer); buffer 1015 drivers/acpi/scan.c struct acpi_buffer buffer = { sizeof(bus_id), bus_id }; buffer 1040 drivers/acpi/scan.c acpi_get_name(device->handle, ACPI_SINGLE_NAME, &buffer); buffer 1622 drivers/acpi/scan.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 1651 drivers/acpi/scan.c acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); buffer 1653 drivers/acpi/scan.c dev_name(&device->dev), (char *) buffer.pointer, buffer 1655 drivers/acpi/scan.c kfree(buffer.pointer); buffer 910 drivers/acpi/sleep.c lps0_dsm_func_mask = *(char *)out_obj->buffer.pointer; buffer 108 drivers/acpi/sysfs.c static int param_get_debug_layer(char *buffer, const struct kernel_param *kp) buffer 113 drivers/acpi/sysfs.c result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); buffer 116 drivers/acpi/sysfs.c result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", buffer 123 drivers/acpi/sysfs.c sprintf(buffer + result, "%-25s\t0x%08X [%c]\n", "ACPI_ALL_DRIVERS", buffer 129 drivers/acpi/sysfs.c sprintf(buffer + result, buffer 136 drivers/acpi/sysfs.c static int param_get_debug_level(char *buffer, const struct kernel_param *kp) buffer 141 drivers/acpi/sysfs.c result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); buffer 144 drivers/acpi/sysfs.c result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", buffer 151 drivers/acpi/sysfs.c sprintf(buffer + result, "--\ndebug_level = 0x%08X (* = enabled)\n", buffer 215 drivers/acpi/sysfs.c static int param_get_trace_method_name(char *buffer, const struct kernel_param *kp) buffer 217 drivers/acpi/sysfs.c return scnprintf(buffer, PAGE_SIZE, "%s", acpi_gbl_trace_method_name); buffer 271 drivers/acpi/sysfs.c static int param_get_trace_state(char *buffer, const struct kernel_param *kp) buffer 274 drivers/acpi/sysfs.c return sprintf(buffer, "disable"); buffer 278 drivers/acpi/sysfs.c return sprintf(buffer, "method-once"); buffer 280 drivers/acpi/sysfs.c return sprintf(buffer, "method"); buffer 282 drivers/acpi/sysfs.c return sprintf(buffer, "enable"); buffer 300 drivers/acpi/sysfs.c static int param_get_acpica_version(char *buffer, buffer 305 drivers/acpi/sysfs.c result = sprintf(buffer, "%x", ACPI_CA_VERSION); buffer 883 drivers/acpi/sysfs.c char buffer[12]; buffer 887 drivers/acpi/sysfs.c sprintf(buffer, "gpe%02X", i); buffer 889 drivers/acpi/sysfs.c sprintf(buffer, "ff_pmtimer"); buffer 891 drivers/acpi/sysfs.c sprintf(buffer, "ff_gbl_lock"); buffer 893 drivers/acpi/sysfs.c sprintf(buffer, "ff_pwr_btn"); buffer 895 drivers/acpi/sysfs.c sprintf(buffer, "ff_slp_btn"); buffer 897 drivers/acpi/sysfs.c sprintf(buffer, "ff_rt_clk"); buffer 899 drivers/acpi/sysfs.c sprintf(buffer, "gpe_all"); buffer 901 drivers/acpi/sysfs.c sprintf(buffer, "sci"); buffer 903 drivers/acpi/sysfs.c sprintf(buffer, "sci_not"); buffer 905 drivers/acpi/sysfs.c sprintf(buffer, "error"); buffer 907 drivers/acpi/sysfs.c sprintf(buffer, "bug%02X", i); buffer 909 drivers/acpi/sysfs.c name = kstrdup(buffer, GFP_KERNEL); buffer 482 drivers/acpi/tables.c static u8 __init acpi_table_checksum(u8 *buffer, u32 length) buffer 485 drivers/acpi/tables.c u8 *end = buffer + length; buffer 487 drivers/acpi/tables.c while (buffer < end) buffer 488 drivers/acpi/tables.c sum = (u8) (sum + *(buffer++)); buffer 32 drivers/acpi/utils.c struct acpi_buffer buffer = {sizeof(prefix), prefix}; buffer 33 drivers/acpi/utils.c acpi_get_name(h, ACPI_FULL_PATHNAME, &buffer); buffer 43 drivers/acpi/utils.c struct acpi_buffer *format, struct acpi_buffer *buffer) buffer 65 drivers/acpi/utils.c if (!buffer) { buffer 123 drivers/acpi/utils.c sizeof(u8 *) + element->buffer.length; buffer 165 drivers/acpi/utils.c if (buffer->length == ACPI_ALLOCATE_BUFFER) { buffer 166 drivers/acpi/utils.c buffer->pointer = ACPI_ALLOCATE_ZEROED(size_required); buffer 167 drivers/acpi/utils.c if (!buffer->pointer) buffer 169 drivers/acpi/utils.c buffer->length = size_required; buffer 171 drivers/acpi/utils.c if (buffer->length < size_required) { buffer 172 drivers/acpi/utils.c buffer->length = size_required; buffer 174 drivers/acpi/utils.c } else if (buffer->length != size_required || buffer 175 drivers/acpi/utils.c !buffer->pointer) { buffer 180 drivers/acpi/utils.c head = buffer->pointer; buffer 181 drivers/acpi/utils.c tail = buffer->pointer + tail_offset; buffer 234 drivers/acpi/utils.c memcpy(tail, element->buffer.pointer, buffer 235 drivers/acpi/utils.c element->buffer.length); buffer 237 drivers/acpi/utils.c tail += element->buffer.length; buffer 276 drivers/acpi/utils.c struct acpi_buffer buffer = { 0, NULL }; buffer 281 drivers/acpi/utils.c buffer.length = sizeof(union acpi_object); buffer 282 drivers/acpi/utils.c buffer.pointer = &element; buffer 283 drivers/acpi/utils.c status = acpi_evaluate_object(handle, pathname, arguments, &buffer); buffer 312 drivers/acpi/utils.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 322 drivers/acpi/utils.c status = acpi_evaluate_object(handle, pathname, arguments, &buffer); buffer 326 drivers/acpi/utils.c package = buffer.pointer; buffer 328 drivers/acpi/utils.c if ((buffer.length == 0) || !package) { buffer 380 drivers/acpi/utils.c kfree(buffer.pointer); buffer 391 drivers/acpi/utils.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 394 drivers/acpi/utils.c status = acpi_evaluate_object(handle, "_PLD", NULL, &buffer); buffer 399 drivers/acpi/utils.c output = buffer.pointer; buffer 404 drivers/acpi/utils.c || output->package.elements[0].buffer.length < ACPI_PLD_REV1_BUFFER_SIZE) { buffer 410 drivers/acpi/utils.c output->package.elements[0].buffer.pointer, buffer 411 drivers/acpi/utils.c output->package.elements[0].buffer.length, buffer 415 drivers/acpi/utils.c kfree(buffer.pointer); buffer 445 drivers/acpi/utils.c params[2].buffer.pointer = status_buf->pointer; buffer 446 drivers/acpi/utils.c params[2].buffer.length = status_buf->length; buffer 448 drivers/acpi/utils.c params[2].buffer.pointer = NULL; buffer 449 drivers/acpi/utils.c params[2].buffer.length = 0; buffer 463 drivers/acpi/utils.c struct acpi_buffer buffer = { buffer 469 drivers/acpi/utils.c acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer) != AE_OK) buffer 471 drivers/acpi/utils.c return buffer.pointer; buffer 628 drivers/acpi/utils.c params[0].buffer.length = 16; buffer 629 drivers/acpi/utils.c params[0].buffer.pointer = (u8 *)guid; buffer 682 drivers/acpi/utils.c for (i = 0; i < obj->buffer.length && i < 8; i++) buffer 683 drivers/acpi/utils.c mask |= (((u64)obj->buffer.pointer[i]) << (i * 8)); buffer 42 drivers/acpi/x86/apple.c if (!props->buffer.length) buffer 45 drivers/acpi/x86/apple.c if (props->buffer.pointer[0] != 3) { buffer 48 drivers/acpi/x86/apple.c props->buffer.length, props->buffer.pointer); buffer 79 drivers/acpi/x86/apple.c newsize += val->buffer.length; buffer 122 drivers/acpi/x86/apple.c newprops[v].buffer.length = val->buffer.length; buffer 123 drivers/acpi/x86/apple.c newprops[v].buffer.pointer = free_space; buffer 124 drivers/acpi/x86/apple.c memcpy(free_space, val->buffer.pointer, buffer 125 drivers/acpi/x86/apple.c val->buffer.length); buffer 126 drivers/acpi/x86/apple.c free_space += val->buffer.length; buffer 583 drivers/android/binder.c struct binder_buffer *buffer; buffer 1926 drivers/android/binder.c if (t->buffer) buffer 1927 drivers/android/binder.c t->buffer->transaction = NULL; buffer 2008 drivers/android/binder.c if (t->buffer->target_node && !(t->flags & TF_ONE_WAY)) { buffer 2030 drivers/android/binder.c struct binder_buffer *buffer, buffer 2038 drivers/android/binder.c read_size = min_t(size_t, sizeof(*object), buffer->data_size - offset); buffer 2039 drivers/android/binder.c if (offset > buffer->data_size || read_size < sizeof(*hdr) || buffer 2040 drivers/android/binder.c binder_alloc_copy_from_buffer(&proc->alloc, object, buffer, buffer 2065 drivers/android/binder.c if (offset <= buffer->data_size - object_size && buffer 2066 drivers/android/binder.c buffer->data_size >= object_size) buffer 2263 drivers/android/binder.c struct binder_buffer *buffer, buffer 2267 drivers/android/binder.c int debug_id = buffer->debug_id; buffer 2272 drivers/android/binder.c proc->pid, buffer->debug_id, buffer 2273 drivers/android/binder.c buffer->data_size, buffer->offsets_size, buffer 2276 drivers/android/binder.c if (buffer->target_node) buffer 2277 drivers/android/binder.c binder_dec_node(buffer->target_node, 1, 0); buffer 2279 drivers/android/binder.c off_start_offset = ALIGN(buffer->data_size, sizeof(void *)); buffer 2281 drivers/android/binder.c off_start_offset + buffer->offsets_size; buffer 2290 drivers/android/binder.c buffer, buffer_offset, buffer 2292 drivers/android/binder.c object_size = binder_get_object(proc, buffer, buffer 2296 drivers/android/binder.c debug_id, (u64)object_offset, buffer->data_size); buffer 2380 drivers/android/binder.c parent = binder_validate_ptr(proc, buffer, &ptr_object, buffer 2411 drivers/android/binder.c (parent->buffer - (uintptr_t)buffer->user_data) + buffer 2421 drivers/android/binder.c &proc->alloc, &fd, buffer, buffer 2577 drivers/android/binder.c target_allows_fd = t->buffer->target_node->accept_fds; buffer 2656 drivers/android/binder.c fda_offset = (parent->buffer - (uintptr_t)t->buffer->user_data) + buffer 2669 drivers/android/binder.c &fd, t->buffer, buffer 2689 drivers/android/binder.c struct binder_buffer *b = t->buffer; buffer 2725 drivers/android/binder.c (uintptr_t)parent->buffer - (uintptr_t)b->user_data; buffer 2727 drivers/android/binder.c &bp->buffer, sizeof(bp->buffer))) { buffer 2757 drivers/android/binder.c struct binder_node *node = t->buffer->target_node; buffer 3085 drivers/android/binder.c (u64)tr->data.ptr.buffer, buffer 3094 drivers/android/binder.c (u64)tr->data.ptr.buffer, buffer 3135 drivers/android/binder.c t->buffer = binder_alloc_new_buf(&target_proc->alloc, tr->data_size, buffer 3138 drivers/android/binder.c if (IS_ERR(t->buffer)) { buffer 3142 drivers/android/binder.c return_error_param = PTR_ERR(t->buffer); buffer 3146 drivers/android/binder.c t->buffer = NULL; buffer 3156 drivers/android/binder.c t->security_ctx = (uintptr_t)t->buffer->user_data + buf_offset; buffer 3158 drivers/android/binder.c t->buffer, buf_offset, buffer 3167 drivers/android/binder.c t->buffer->debug_id = t->debug_id; buffer 3168 drivers/android/binder.c t->buffer->transaction = t; buffer 3169 drivers/android/binder.c t->buffer->target_node = target_node; buffer 3170 drivers/android/binder.c trace_binder_transaction_alloc_buf(t->buffer); buffer 3174 drivers/android/binder.c t->buffer, 0, buffer 3176 drivers/android/binder.c (uintptr_t)tr->data.ptr.buffer, buffer 3187 drivers/android/binder.c t->buffer, buffer 3232 drivers/android/binder.c t->buffer, buffer 3240 drivers/android/binder.c object_size = binder_get_object(target_proc, t->buffer, buffer 3247 drivers/android/binder.c (u64)t->buffer->data_size); buffer 3266 drivers/android/binder.c t->buffer, buffer 3283 drivers/android/binder.c t->buffer, buffer 3303 drivers/android/binder.c t->buffer, buffer 3320 drivers/android/binder.c binder_validate_ptr(target_proc, t->buffer, buffer 3333 drivers/android/binder.c if (!binder_validate_fixup(target_proc, t->buffer, buffer 3374 drivers/android/binder.c t->buffer, buffer 3377 drivers/android/binder.c (uintptr_t)bp->buffer, buffer 3387 drivers/android/binder.c bp->buffer = (uintptr_t) buffer 3388 drivers/android/binder.c t->buffer->user_data + sg_buf_offset; buffer 3400 drivers/android/binder.c t->buffer, buffer 3430 drivers/android/binder.c BUG_ON(t->buffer->async_transaction != 0); buffer 3437 drivers/android/binder.c BUG_ON(t->buffer->async_transaction != 0); buffer 3459 drivers/android/binder.c BUG_ON(t->buffer->async_transaction != 1); buffer 3487 drivers/android/binder.c trace_binder_transaction_failed_buffer_release(t->buffer); buffer 3488 drivers/android/binder.c binder_transaction_buffer_release(target_proc, t->buffer, buffer 3493 drivers/android/binder.c t->buffer->transaction = NULL; buffer 3494 drivers/android/binder.c binder_alloc_free_buf(&target_proc->alloc, t->buffer); buffer 3565 drivers/android/binder.c binder_free_buf(struct binder_proc *proc, struct binder_buffer *buffer) buffer 3568 drivers/android/binder.c if (buffer->transaction) { buffer 3569 drivers/android/binder.c buffer->transaction->buffer = NULL; buffer 3570 drivers/android/binder.c buffer->transaction = NULL; buffer 3573 drivers/android/binder.c if (buffer->async_transaction && buffer->target_node) { buffer 3577 drivers/android/binder.c buf_node = buffer->target_node; buffer 3592 drivers/android/binder.c trace_binder_transaction_buffer_release(buffer); buffer 3593 drivers/android/binder.c binder_transaction_buffer_release(proc, buffer, 0, false); buffer 3594 drivers/android/binder.c binder_alloc_free_buf(&proc->alloc, buffer); buffer 3604 drivers/android/binder.c void __user *buffer = (void __user *)(uintptr_t)binder_buffer; buffer 3605 drivers/android/binder.c void __user *ptr = buffer + *consumed; buffer 3606 drivers/android/binder.c void __user *end = buffer + size; buffer 3760 drivers/android/binder.c struct binder_buffer *buffer; buffer 3766 drivers/android/binder.c buffer = binder_alloc_prepare_to_free(&proc->alloc, buffer 3768 drivers/android/binder.c if (IS_ERR_OR_NULL(buffer)) { buffer 3769 drivers/android/binder.c if (PTR_ERR(buffer) == -EPERM) { buffer 3785 drivers/android/binder.c buffer->debug_id, buffer 3786 drivers/android/binder.c buffer->transaction ? "active" : "finished"); buffer 3787 drivers/android/binder.c binder_free_buf(proc, buffer); buffer 4031 drivers/android/binder.c *consumed = ptr - buffer; buffer 4146 drivers/android/binder.c if (binder_alloc_copy_to_buffer(&proc->alloc, t->buffer, buffer 4161 drivers/android/binder.c t->buffer, buffer 4180 drivers/android/binder.c void __user *buffer = (void __user *)(uintptr_t)binder_buffer; buffer 4181 drivers/android/binder.c void __user *ptr = buffer + *consumed; buffer 4182 drivers/android/binder.c void __user *end = buffer + size; buffer 4246 drivers/android/binder.c if (ptr - buffer == 4 && !thread->looper_need_return) buffer 4430 drivers/android/binder.c BUG_ON(t->buffer == NULL); buffer 4431 drivers/android/binder.c if (t->buffer->target_node) { buffer 4432 drivers/android/binder.c struct binder_node *target_node = t->buffer->target_node; buffer 4466 drivers/android/binder.c struct binder_buffer *buffer = t->buffer; buffer 4472 drivers/android/binder.c buffer->transaction = NULL; buffer 4475 drivers/android/binder.c binder_free_buf(proc, buffer); buffer 4492 drivers/android/binder.c trd->data_size = t->buffer->data_size; buffer 4493 drivers/android/binder.c trd->offsets_size = t->buffer->offsets_size; buffer 4494 drivers/android/binder.c trd->data.ptr.buffer = (uintptr_t)t->buffer->user_data; buffer 4495 drivers/android/binder.c trd->data.ptr.offsets = trd->data.ptr.buffer + buffer 4496 drivers/android/binder.c ALIGN(t->buffer->data_size, buffer 4535 drivers/android/binder.c t->buffer->data_size, t->buffer->offsets_size, buffer 4536 drivers/android/binder.c (u64)trd->data.ptr.buffer, buffer 4541 drivers/android/binder.c t->buffer->allow_user_free = 1; buffer 4556 drivers/android/binder.c *consumed = ptr - buffer; buffer 4569 drivers/android/binder.c if (put_user(BR_SPAWN_LOOPER, (uint32_t __user *)buffer)) buffer 4751 drivers/android/binder.c if (t->buffer) { buffer 4752 drivers/android/binder.c t->buffer->transaction = NULL; buffer 4753 drivers/android/binder.c t->buffer = NULL; buffer 5547 drivers/android/binder.c struct binder_buffer *buffer = t->buffer; buffer 5570 drivers/android/binder.c if (buffer == NULL) { buffer 5574 drivers/android/binder.c if (buffer->target_node) buffer 5575 drivers/android/binder.c seq_printf(m, " node %d", buffer->target_node->debug_id); buffer 5577 drivers/android/binder.c buffer->data_size, buffer->offsets_size, buffer 5578 drivers/android/binder.c buffer->user_data); buffer 50 drivers/android/binder_alloc.c static struct binder_buffer *binder_buffer_next(struct binder_buffer *buffer) buffer 52 drivers/android/binder_alloc.c return list_entry(buffer->entry.next, struct binder_buffer, entry); buffer 55 drivers/android/binder_alloc.c static struct binder_buffer *binder_buffer_prev(struct binder_buffer *buffer) buffer 57 drivers/android/binder_alloc.c return list_entry(buffer->entry.prev, struct binder_buffer, entry); buffer 61 drivers/android/binder_alloc.c struct binder_buffer *buffer) buffer 63 drivers/android/binder_alloc.c if (list_is_last(&buffer->entry, &alloc->buffers)) buffer 64 drivers/android/binder_alloc.c return alloc->buffer + alloc->buffer_size - buffer->user_data; buffer 65 drivers/android/binder_alloc.c return binder_buffer_next(buffer)->user_data - buffer->user_data; buffer 73 drivers/android/binder_alloc.c struct binder_buffer *buffer; buffer 87 drivers/android/binder_alloc.c buffer = rb_entry(parent, struct binder_buffer, rb_node); buffer 88 drivers/android/binder_alloc.c BUG_ON(!buffer->free); buffer 90 drivers/android/binder_alloc.c buffer_size = binder_alloc_buffer_size(alloc, buffer); buffer 106 drivers/android/binder_alloc.c struct binder_buffer *buffer; buffer 112 drivers/android/binder_alloc.c buffer = rb_entry(parent, struct binder_buffer, rb_node); buffer 113 drivers/android/binder_alloc.c BUG_ON(buffer->free); buffer 115 drivers/android/binder_alloc.c if (new_buffer->user_data < buffer->user_data) buffer 117 drivers/android/binder_alloc.c else if (new_buffer->user_data > buffer->user_data) buffer 131 drivers/android/binder_alloc.c struct binder_buffer *buffer; buffer 137 drivers/android/binder_alloc.c buffer = rb_entry(n, struct binder_buffer, rb_node); buffer 138 drivers/android/binder_alloc.c BUG_ON(buffer->free); buffer 140 drivers/android/binder_alloc.c if (uptr < buffer->user_data) buffer 142 drivers/android/binder_alloc.c else if (uptr > buffer->user_data) buffer 150 drivers/android/binder_alloc.c if (!buffer->allow_user_free) buffer 152 drivers/android/binder_alloc.c buffer->allow_user_free = 0; buffer 153 drivers/android/binder_alloc.c return buffer; buffer 173 drivers/android/binder_alloc.c struct binder_buffer *buffer; buffer 176 drivers/android/binder_alloc.c buffer = binder_alloc_prepare_to_free_locked(alloc, user_ptr); buffer 178 drivers/android/binder_alloc.c return buffer; buffer 204 drivers/android/binder_alloc.c page = &alloc->pages[(page_addr - alloc->buffer) / PAGE_SIZE]; buffer 231 drivers/android/binder_alloc.c index = (page_addr - alloc->buffer) / PAGE_SIZE; buffer 284 drivers/android/binder_alloc.c index = (page_addr - alloc->buffer) / PAGE_SIZE; buffer 350 drivers/android/binder_alloc.c struct binder_buffer *buffer; buffer 393 drivers/android/binder_alloc.c buffer = rb_entry(n, struct binder_buffer, rb_node); buffer 394 drivers/android/binder_alloc.c BUG_ON(!buffer->free); buffer 395 drivers/android/binder_alloc.c buffer_size = binder_alloc_buffer_size(alloc, buffer); buffer 417 drivers/android/binder_alloc.c buffer = rb_entry(n, struct binder_buffer, rb_node); buffer 418 drivers/android/binder_alloc.c buffer_size = binder_alloc_buffer_size(alloc, buffer); buffer 426 drivers/android/binder_alloc.c buffer = rb_entry(n, struct binder_buffer, rb_node); buffer 427 drivers/android/binder_alloc.c buffer_size = binder_alloc_buffer_size(alloc, buffer); buffer 444 drivers/android/binder_alloc.c buffer = rb_entry(best_fit, struct binder_buffer, rb_node); buffer 445 drivers/android/binder_alloc.c buffer_size = binder_alloc_buffer_size(alloc, buffer); buffer 450 drivers/android/binder_alloc.c alloc->pid, size, buffer, buffer_size); buffer 453 drivers/android/binder_alloc.c (((uintptr_t)buffer->user_data + buffer_size) & PAGE_MASK); buffer 456 drivers/android/binder_alloc.c (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); buffer 460 drivers/android/binder_alloc.c PAGE_ALIGN((uintptr_t)buffer->user_data), end_page_addr); buffer 467 drivers/android/binder_alloc.c new_buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); buffer 473 drivers/android/binder_alloc.c new_buffer->user_data = (u8 __user *)buffer->user_data + size; buffer 474 drivers/android/binder_alloc.c list_add(&new_buffer->entry, &buffer->entry); buffer 480 drivers/android/binder_alloc.c buffer->free = 0; buffer 481 drivers/android/binder_alloc.c buffer->allow_user_free = 0; buffer 482 drivers/android/binder_alloc.c binder_insert_allocated_buffer_locked(alloc, buffer); buffer 485 drivers/android/binder_alloc.c alloc->pid, size, buffer); buffer 486 drivers/android/binder_alloc.c buffer->data_size = data_size; buffer 487 drivers/android/binder_alloc.c buffer->offsets_size = offsets_size; buffer 488 drivers/android/binder_alloc.c buffer->async_transaction = is_async; buffer 489 drivers/android/binder_alloc.c buffer->extra_buffers_size = extra_buffers_size; buffer 496 drivers/android/binder_alloc.c return buffer; buffer 500 drivers/android/binder_alloc.c PAGE_ALIGN((uintptr_t)buffer->user_data), buffer 526 drivers/android/binder_alloc.c struct binder_buffer *buffer; buffer 529 drivers/android/binder_alloc.c buffer = binder_alloc_new_buf_locked(alloc, data_size, offsets_size, buffer 532 drivers/android/binder_alloc.c return buffer; buffer 535 drivers/android/binder_alloc.c static void __user *buffer_start_page(struct binder_buffer *buffer) buffer 537 drivers/android/binder_alloc.c return (void __user *)((uintptr_t)buffer->user_data & PAGE_MASK); buffer 540 drivers/android/binder_alloc.c static void __user *prev_buffer_end_page(struct binder_buffer *buffer) buffer 543 drivers/android/binder_alloc.c (((uintptr_t)(buffer->user_data) - 1) & PAGE_MASK); buffer 547 drivers/android/binder_alloc.c struct binder_buffer *buffer) buffer 551 drivers/android/binder_alloc.c BUG_ON(alloc->buffers.next == &buffer->entry); buffer 552 drivers/android/binder_alloc.c prev = binder_buffer_prev(buffer); buffer 554 drivers/android/binder_alloc.c if (prev_buffer_end_page(prev) == buffer_start_page(buffer)) { buffer 558 drivers/android/binder_alloc.c alloc->pid, buffer->user_data, buffer 562 drivers/android/binder_alloc.c if (!list_is_last(&buffer->entry, &alloc->buffers)) { buffer 563 drivers/android/binder_alloc.c next = binder_buffer_next(buffer); buffer 564 drivers/android/binder_alloc.c if (buffer_start_page(next) == buffer_start_page(buffer)) { buffer 569 drivers/android/binder_alloc.c buffer->user_data, buffer 574 drivers/android/binder_alloc.c if (PAGE_ALIGNED(buffer->user_data)) { buffer 577 drivers/android/binder_alloc.c alloc->pid, buffer->user_data); buffer 584 drivers/android/binder_alloc.c alloc->pid, buffer->user_data, buffer 587 drivers/android/binder_alloc.c binder_update_page_range(alloc, 0, buffer_start_page(buffer), buffer 588 drivers/android/binder_alloc.c buffer_start_page(buffer) + PAGE_SIZE); buffer 590 drivers/android/binder_alloc.c list_del(&buffer->entry); buffer 591 drivers/android/binder_alloc.c kfree(buffer); buffer 595 drivers/android/binder_alloc.c struct binder_buffer *buffer) buffer 599 drivers/android/binder_alloc.c buffer_size = binder_alloc_buffer_size(alloc, buffer); buffer 601 drivers/android/binder_alloc.c size = ALIGN(buffer->data_size, sizeof(void *)) + buffer 602 drivers/android/binder_alloc.c ALIGN(buffer->offsets_size, sizeof(void *)) + buffer 603 drivers/android/binder_alloc.c ALIGN(buffer->extra_buffers_size, sizeof(void *)); buffer 607 drivers/android/binder_alloc.c alloc->pid, buffer, size, buffer_size); buffer 609 drivers/android/binder_alloc.c BUG_ON(buffer->free); buffer 611 drivers/android/binder_alloc.c BUG_ON(buffer->transaction != NULL); buffer 612 drivers/android/binder_alloc.c BUG_ON(buffer->user_data < alloc->buffer); buffer 613 drivers/android/binder_alloc.c BUG_ON(buffer->user_data > alloc->buffer + alloc->buffer_size); buffer 615 drivers/android/binder_alloc.c if (buffer->async_transaction) { buffer 624 drivers/android/binder_alloc.c (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data), buffer 626 drivers/android/binder_alloc.c buffer->user_data + buffer_size) & PAGE_MASK)); buffer 628 drivers/android/binder_alloc.c rb_erase(&buffer->rb_node, &alloc->allocated_buffers); buffer 629 drivers/android/binder_alloc.c buffer->free = 1; buffer 630 drivers/android/binder_alloc.c if (!list_is_last(&buffer->entry, &alloc->buffers)) { buffer 631 drivers/android/binder_alloc.c struct binder_buffer *next = binder_buffer_next(buffer); buffer 638 drivers/android/binder_alloc.c if (alloc->buffers.next != &buffer->entry) { buffer 639 drivers/android/binder_alloc.c struct binder_buffer *prev = binder_buffer_prev(buffer); buffer 642 drivers/android/binder_alloc.c binder_delete_free_buffer(alloc, buffer); buffer 644 drivers/android/binder_alloc.c buffer = prev; buffer 647 drivers/android/binder_alloc.c binder_insert_free_buffer(alloc, buffer); buffer 658 drivers/android/binder_alloc.c struct binder_buffer *buffer) buffer 661 drivers/android/binder_alloc.c binder_free_buf_locked(alloc, buffer); buffer 683 drivers/android/binder_alloc.c struct binder_buffer *buffer; buffer 695 drivers/android/binder_alloc.c alloc->buffer = (void __user *)vma->vm_start; buffer 706 drivers/android/binder_alloc.c buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); buffer 707 drivers/android/binder_alloc.c if (!buffer) { buffer 713 drivers/android/binder_alloc.c buffer->user_data = alloc->buffer; buffer 714 drivers/android/binder_alloc.c list_add(&buffer->entry, &alloc->buffers); buffer 715 drivers/android/binder_alloc.c buffer->free = 1; buffer 716 drivers/android/binder_alloc.c binder_insert_free_buffer(alloc, buffer); buffer 727 drivers/android/binder_alloc.c alloc->buffer = NULL; buffer 744 drivers/android/binder_alloc.c struct binder_buffer *buffer; buffer 751 drivers/android/binder_alloc.c buffer = rb_entry(n, struct binder_buffer, rb_node); buffer 754 drivers/android/binder_alloc.c BUG_ON(buffer->transaction); buffer 756 drivers/android/binder_alloc.c binder_free_buf_locked(alloc, buffer); buffer 761 drivers/android/binder_alloc.c buffer = list_first_entry(&alloc->buffers, buffer 763 drivers/android/binder_alloc.c WARN_ON(!buffer->free); buffer 765 drivers/android/binder_alloc.c list_del(&buffer->entry); buffer 767 drivers/android/binder_alloc.c kfree(buffer); buffer 783 drivers/android/binder_alloc.c page_addr = alloc->buffer + i * PAGE_SIZE; buffer 803 drivers/android/binder_alloc.c struct binder_buffer *buffer) buffer 806 drivers/android/binder_alloc.c prefix, buffer->debug_id, buffer->user_data, buffer 807 drivers/android/binder_alloc.c buffer->data_size, buffer->offsets_size, buffer 808 drivers/android/binder_alloc.c buffer->extra_buffers_size, buffer 809 drivers/android/binder_alloc.c buffer->transaction ? "active" : "delivered"); buffer 931 drivers/android/binder_alloc.c page_addr = (uintptr_t)alloc->buffer + index * PAGE_SIZE; buffer 1042 drivers/android/binder_alloc.c struct binder_buffer *buffer, buffer 1045 drivers/android/binder_alloc.c size_t buffer_size = binder_alloc_buffer_size(alloc, buffer); buffer 1050 drivers/android/binder_alloc.c !buffer->free && buffer 1051 drivers/android/binder_alloc.c (!buffer->allow_user_free || !buffer->transaction); buffer 1074 drivers/android/binder_alloc.c struct binder_buffer *buffer, buffer 1079 drivers/android/binder_alloc.c (buffer->user_data - alloc->buffer); buffer 1103 drivers/android/binder_alloc.c struct binder_buffer *buffer, buffer 1108 drivers/android/binder_alloc.c if (!check_buffer(alloc, buffer, buffer_offset, bytes)) buffer 1118 drivers/android/binder_alloc.c page = binder_alloc_get_page(alloc, buffer, buffer 1135 drivers/android/binder_alloc.c struct binder_buffer *buffer, buffer 1141 drivers/android/binder_alloc.c if (!check_buffer(alloc, buffer, buffer_offset, bytes)) buffer 1151 drivers/android/binder_alloc.c page = binder_alloc_get_page(alloc, buffer, buffer 1174 drivers/android/binder_alloc.c struct binder_buffer *buffer, buffer 1179 drivers/android/binder_alloc.c return binder_alloc_do_buffer_copy(alloc, true, buffer, buffer_offset, buffer 1185 drivers/android/binder_alloc.c struct binder_buffer *buffer, buffer 1189 drivers/android/binder_alloc.c return binder_alloc_do_buffer_copy(alloc, false, buffer, buffer_offset, buffer 96 drivers/android/binder_alloc.h void __user *buffer; buffer 128 drivers/android/binder_alloc.h struct binder_buffer *buffer); buffer 157 drivers/android/binder_alloc.h struct binder_buffer *buffer, buffer 163 drivers/android/binder_alloc.h struct binder_buffer *buffer, buffer 170 drivers/android/binder_alloc.h struct binder_buffer *buffer, buffer 93 drivers/android/binder_alloc_selftest.c struct binder_buffer *buffer, buffer 100 drivers/android/binder_alloc_selftest.c end = (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); buffer 101 drivers/android/binder_alloc_selftest.c page_addr = buffer->user_data; buffer 103 drivers/android/binder_alloc_selftest.c page_index = (page_addr - alloc->buffer) / PAGE_SIZE; buffer 274 drivers/android/binder_trace.h TP_PROTO(struct binder_buffer *buffer), buffer 275 drivers/android/binder_trace.h TP_ARGS(buffer)); buffer 278 drivers/android/binder_trace.h TP_PROTO(struct binder_buffer *buffer), buffer 279 drivers/android/binder_trace.h TP_ARGS(buffer)); buffer 282 drivers/android/binder_trace.h TP_PROTO(struct binder_buffer *buffer), buffer 283 drivers/android/binder_trace.h TP_ARGS(buffer)); buffer 298 drivers/android/binder_trace.h __entry->offset = start - alloc->buffer; buffer 319 drivers/ata/libata-acpi.c if (out_obj->buffer.length != sizeof(struct ata_acpi_gtm)) { buffer 321 drivers/ata/libata-acpi.c out_obj->buffer.length); buffer 325 drivers/ata/libata-acpi.c memcpy(gtm, out_obj->buffer.pointer, sizeof(struct ata_acpi_gtm)); buffer 355 drivers/ata/libata-acpi.c in_params[0].buffer.length = sizeof(struct ata_acpi_gtm); buffer 356 drivers/ata/libata-acpi.c in_params[0].buffer.pointer = (u8 *)&stm_buf; buffer 359 drivers/ata/libata-acpi.c in_params[1].buffer.length = 512; buffer 360 drivers/ata/libata-acpi.c in_params[1].buffer.pointer = (u8 *)ap->link.device[0].id; buffer 362 drivers/ata/libata-acpi.c in_params[2].buffer.length = 512; buffer 363 drivers/ata/libata-acpi.c in_params[2].buffer.pointer = (u8 *)ap->link.device[1].id; buffer 456 drivers/ata/libata-acpi.c if (out_obj->buffer.length % REGS_PER_GTF) { buffer 458 drivers/ata/libata-acpi.c out_obj->buffer.length); buffer 464 drivers/ata/libata-acpi.c rc = out_obj->buffer.length / REGS_PER_GTF; buffer 466 drivers/ata/libata-acpi.c *gtf = (void *)out_obj->buffer.pointer; buffer 787 drivers/ata/libata-acpi.c in_params[0].buffer.length = sizeof(dev->id[0]) * ATA_ID_WORDS; buffer 788 drivers/ata/libata-acpi.c in_params[0].buffer.pointer = (u8 *)dev->id; buffer 294 drivers/ata/pata_octeon_cf.c unsigned char *buffer, buffer 307 drivers/ata/pata_octeon_cf.c iowrite8(*buffer, data_addr); buffer 308 drivers/ata/pata_octeon_cf.c buffer++; buffer 319 drivers/ata/pata_octeon_cf.c ioread8_rep(data_addr, buffer, words); buffer 333 drivers/ata/pata_octeon_cf.c unsigned char *buffer, buffer 346 drivers/ata/pata_octeon_cf.c iowrite16(*(uint16_t *)buffer, data_addr); buffer 347 drivers/ata/pata_octeon_cf.c buffer += sizeof(uint16_t); buffer 359 drivers/ata/pata_octeon_cf.c *(uint16_t *)buffer = ioread16(data_addr); buffer 360 drivers/ata/pata_octeon_cf.c buffer += sizeof(uint16_t); buffer 369 drivers/ata/pata_octeon_cf.c memcpy(buffer, align_buf, 1); buffer 371 drivers/ata/pata_octeon_cf.c memcpy(align_buf, buffer, 1); buffer 246 drivers/ata/sata_rcar.c static void sata_rcar_ioread16_rep(void __iomem *reg, void *buffer, int count) buffer 248 drivers/ata/sata_rcar.c u16 *ptr = buffer; buffer 257 drivers/ata/sata_rcar.c static void sata_rcar_iowrite16_rep(void __iomem *reg, void *buffer, int count) buffer 259 drivers/ata/sata_rcar.c const u16 *ptr = buffer; buffer 292 drivers/atm/fore200e.c struct buffer* buffer; buffer 297 drivers/atm/fore200e.c if ((buffer = fore200e->host_bsq[ scheme ][ magn ].buffer) != NULL) { buffer 301 drivers/atm/fore200e.c struct chunk* data = &buffer[ nbr ].data; buffer 795 drivers/atm/fore200e.c dma_unmap_single(fore200e->dev, entry->tpd->tsd[ 0 ].buffer, entry->tpd->tsd[ 0 ].length, buffer 864 drivers/atm/fore200e.c struct buffer* buffer; buffer 867 drivers/atm/fore200e.c buffer = bsq->freebuf; buffer 868 drivers/atm/fore200e.c while (buffer) { buffer 870 drivers/atm/fore200e.c if (buffer->supplied) { buffer 872 drivers/atm/fore200e.c where, scheme, magn, buffer->index); buffer 875 drivers/atm/fore200e.c if (buffer->magn != magn) { buffer 877 drivers/atm/fore200e.c where, scheme, magn, buffer->index, buffer->magn); buffer 880 drivers/atm/fore200e.c if (buffer->scheme != scheme) { buffer 882 drivers/atm/fore200e.c where, scheme, magn, buffer->index, buffer->scheme); buffer 885 drivers/atm/fore200e.c if ((buffer->index < 0) || (buffer->index >= fore200e_rx_buf_nbr[ scheme ][ magn ])) { buffer 887 drivers/atm/fore200e.c where, scheme, magn, buffer->index); buffer 891 drivers/atm/fore200e.c buffer = buffer->next; buffer 910 drivers/atm/fore200e.c struct buffer* buffer; buffer 930 drivers/atm/fore200e.c buffer = bsq->freebuf; buffer 931 drivers/atm/fore200e.c if (!buffer) { buffer 936 drivers/atm/fore200e.c bsq->freebuf = buffer->next; buffer 939 drivers/atm/fore200e.c if (buffer->supplied) buffer 941 drivers/atm/fore200e.c scheme, magn, buffer->index); buffer 942 drivers/atm/fore200e.c buffer->supplied = 1; buffer 944 drivers/atm/fore200e.c entry->rbd_block->rbd[ i ].buffer_haddr = buffer->data.dma_addr; buffer 945 drivers/atm/fore200e.c entry->rbd_block->rbd[ i ].handle = FORE200E_BUF2HDL(buffer); buffer 965 drivers/atm/fore200e.c struct buffer* buffer; buffer 1013 drivers/atm/fore200e.c buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle); buffer 1016 drivers/atm/fore200e.c dma_sync_single_for_cpu(fore200e->dev, buffer->data.dma_addr, buffer 1019 drivers/atm/fore200e.c skb_put_data(skb, buffer->data.align_addr, rpd->rsd[i].length); buffer 1022 drivers/atm/fore200e.c dma_sync_single_for_device(fore200e->dev, buffer->data.dma_addr, buffer 1057 drivers/atm/fore200e.c struct buffer* buffer; buffer 1063 drivers/atm/fore200e.c buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle); buffer 1065 drivers/atm/fore200e.c bsq = &fore200e->host_bsq[ buffer->scheme ][ buffer->magn ]; buffer 1068 drivers/atm/fore200e.c bsq_audit(2, bsq, buffer->scheme, buffer->magn); buffer 1070 drivers/atm/fore200e.c if (buffer->supplied == 0) buffer 1072 drivers/atm/fore200e.c buffer->scheme, buffer->magn, buffer->index); buffer 1073 drivers/atm/fore200e.c buffer->supplied = 0; buffer 1077 drivers/atm/fore200e.c buffer->next = bsq->freebuf; buffer 1078 drivers/atm/fore200e.c bsq->freebuf = buffer; buffer 1603 drivers/atm/fore200e.c tpd->tsd[ 0 ].buffer = dma_map_single(fore200e->dev, data, tx_len, buffer 1605 drivers/atm/fore200e.c if (dma_mapping_error(fore200e->dev, tpd->tsd[0].buffer)) { buffer 2014 drivers/atm/fore200e.c struct buffer* buffer; buffer 2027 drivers/atm/fore200e.c buffer = bsq->buffer = kcalloc(nbr, sizeof(struct buffer), buffer 2030 drivers/atm/fore200e.c if (buffer == NULL) buffer 2037 drivers/atm/fore200e.c buffer[ i ].scheme = scheme; buffer 2038 drivers/atm/fore200e.c buffer[ i ].magn = magn; buffer 2040 drivers/atm/fore200e.c buffer[ i ].index = i; buffer 2041 drivers/atm/fore200e.c buffer[ i ].supplied = 0; buffer 2046 drivers/atm/fore200e.c &buffer[ i ].data, size, fore200e->bus->buffer_alignment, buffer 2050 drivers/atm/fore200e.c fore200e_chunk_free(fore200e, &buffer[ --i ].data); buffer 2051 drivers/atm/fore200e.c kfree(buffer); buffer 2057 drivers/atm/fore200e.c buffer[ i ].next = bsq->freebuf; buffer 2058 drivers/atm/fore200e.c bsq->freebuf = &buffer[ i ]; buffer 135 drivers/atm/fore200e.h u32 buffer; /* transmit buffer DMA address */ buffer 579 drivers/atm/fore200e.h struct buffer* next; /* next receive buffer */ buffer 591 drivers/atm/fore200e.h #define FORE200E_BUF2HDL(buffer) ((u32)(buffer)) buffer 592 drivers/atm/fore200e.h #define FORE200E_HDL2BUF(handle) ((struct buffer*)(handle)) buffer 594 drivers/atm/fore200e.h #define FORE200E_BUF2HDL(buffer) ((u32)((u64)(buffer))) buffer 595 drivers/atm/fore200e.h #define FORE200E_HDL2BUF(handle) ((struct buffer*)(((u64)(handle)) | PAGE_OFFSET)) buffer 637 drivers/atm/fore200e.h struct buffer* buffer; /* array of rx buffers */ buffer 638 drivers/atm/fore200e.h struct buffer* freebuf; /* list of free rx buffers */ buffer 240 drivers/atm/nicstarmac.c u_int8_t prom_offset, u_int8_t * buffer, u_int32_t nbytes) buffer 245 drivers/atm/nicstarmac.c buffer[i] = read_eprom_byte(base, prom_offset); buffer 174 drivers/atm/zatm.c u32 buffer; /* pointer to buffer (for SAR) */ buffer 229 drivers/atm/zatm.c head->buffer = virt_to_bus(skb->data); buffer 66 drivers/auxdisplay/ht16k33.c uint8_t *buffer; buffer 138 drivers/auxdisplay/ht16k33.c p2 = fbdev->buffer; buffer 153 drivers/auxdisplay/ht16k33.c p2 = fbdev->buffer + HT16K33_FB_SIZE - 1; buffer 163 drivers/auxdisplay/ht16k33.c p2 = fbdev->buffer + first; buffer 226 drivers/auxdisplay/ht16k33.c struct page *pages = virt_to_page(priv->fbdev.buffer); buffer 424 drivers/auxdisplay/ht16k33.c fbdev->buffer = (unsigned char *) get_zeroed_page(GFP_KERNEL); buffer 425 drivers/auxdisplay/ht16k33.c if (!fbdev->buffer) buffer 450 drivers/auxdisplay/ht16k33.c fbdev->info->screen_base = (char __iomem *) fbdev->buffer; buffer 502 drivers/auxdisplay/ht16k33.c free_page((unsigned long) fbdev->buffer); buffer 515 drivers/auxdisplay/ht16k33.c free_page((unsigned long) fbdev->buffer); buffer 33 drivers/base/devcoredump.c ssize_t (*read)(char *buffer, loff_t offset, size_t count, buffer 76 drivers/base/devcoredump.c char *buffer, loff_t offset, size_t count) buffer 81 drivers/base/devcoredump.c return devcd->read(buffer, offset, count, devcd->data, devcd->datalen); buffer 86 drivers/base/devcoredump.c char *buffer, loff_t offset, size_t count) buffer 164 drivers/base/devcoredump.c static ssize_t devcd_readv(char *buffer, loff_t offset, size_t count, buffer 167 drivers/base/devcoredump.c return memory_read_from_buffer(buffer, count, &offset, data, datalen); buffer 222 drivers/base/devcoredump.c static ssize_t devcd_read_from_sgtable(char *buffer, loff_t offset, buffer 233 drivers/base/devcoredump.c return sg_pcopy_to_buffer(table, sg_nents(table), buffer, buf_len, buffer 254 drivers/base/devcoredump.c ssize_t (*read)(char *buffer, loff_t offset, size_t count, buffer 304 drivers/base/firmware_loader/fallback.c static void firmware_rw_data(struct fw_priv *fw_priv, char *buffer, buffer 308 drivers/base/firmware_loader/fallback.c memcpy(buffer, fw_priv->data + offset, count); buffer 310 drivers/base/firmware_loader/fallback.c memcpy(fw_priv->data + offset, buffer, count); buffer 313 drivers/base/firmware_loader/fallback.c static void firmware_rw(struct fw_priv *fw_priv, char *buffer, buffer 325 drivers/base/firmware_loader/fallback.c memcpy(buffer, page_data + page_ofs, page_cnt); buffer 327 drivers/base/firmware_loader/fallback.c memcpy(page_data + page_ofs, buffer, page_cnt); buffer 330 drivers/base/firmware_loader/fallback.c buffer += page_cnt; buffer 338 drivers/base/firmware_loader/fallback.c char *buffer, loff_t offset, size_t count) buffer 361 drivers/base/firmware_loader/fallback.c firmware_rw_data(fw_priv, buffer, offset, count, true); buffer 363 drivers/base/firmware_loader/fallback.c firmware_rw(fw_priv, buffer, offset, count, true); buffer 395 drivers/base/firmware_loader/fallback.c char *buffer, loff_t offset, size_t count) buffer 417 drivers/base/firmware_loader/fallback.c firmware_rw_data(fw_priv, buffer, offset, count, false); buffer 425 drivers/base/firmware_loader/fallback.c firmware_rw(fw_priv, buffer, offset, count, false); buffer 470 drivers/base/firmware_loader/main.c void *buffer = NULL; buffer 474 drivers/base/firmware_loader/main.c buffer = fw_priv->data; buffer 496 drivers/base/firmware_loader/main.c rc = kernel_read_file_from_path(path, &buffer, &size, buffer 510 drivers/base/firmware_loader/main.c rc = decompress(device, fw_priv, size, buffer); buffer 512 drivers/base/firmware_loader/main.c vfree(buffer); buffer 513 drivers/base/firmware_loader/main.c buffer = NULL; buffer 522 drivers/base/firmware_loader/main.c fw_priv->data = buffer; buffer 1357 drivers/base/platform.c memcpy(epdrv->buffer, &buf[n], buffer 1359 drivers/base/platform.c epdrv->buffer[epdrv->bufsize - 1] = '\0'; buffer 82 drivers/bcma/host_pci.c static void bcma_host_pci_block_read(struct bcma_device *core, void *buffer, buffer 90 drivers/bcma/host_pci.c ioread8_rep(addr, buffer, count); buffer 94 drivers/bcma/host_pci.c ioread16_rep(addr, buffer, count >> 1); buffer 98 drivers/bcma/host_pci.c ioread32_rep(addr, buffer, count >> 2); buffer 106 drivers/bcma/host_pci.c const void *buffer, size_t count, buffer 114 drivers/bcma/host_pci.c iowrite8_rep(addr, buffer, count); buffer 118 drivers/bcma/host_pci.c iowrite16_rep(addr, buffer, count >> 1); buffer 122 drivers/bcma/host_pci.c iowrite32_rep(addr, buffer, count >> 2); buffer 50 drivers/bcma/host_soc.c static void bcma_host_soc_block_read(struct bcma_device *core, void *buffer, buffer 57 drivers/bcma/host_soc.c u8 *buf = buffer; buffer 67 drivers/bcma/host_soc.c __le16 *buf = buffer; buffer 78 drivers/bcma/host_soc.c __le32 *buf = buffer; buffer 94 drivers/bcma/host_soc.c const void *buffer, buffer 101 drivers/bcma/host_soc.c const u8 *buf = buffer; buffer 111 drivers/bcma/host_soc.c const __le16 *buf = buffer; buffer 122 drivers/bcma/host_soc.c const __le32 *buf = buffer; buffer 316 drivers/block/drbd/drbd_actlog.c static int __al_write_transaction(struct drbd_device *device, struct al_transaction_on_disk *buffer) buffer 325 drivers/block/drbd/drbd_actlog.c memset(buffer, 0, sizeof(*buffer)); buffer 326 drivers/block/drbd/drbd_actlog.c buffer->magic = cpu_to_be32(DRBD_AL_MAGIC); buffer 327 drivers/block/drbd/drbd_actlog.c buffer->tr_number = cpu_to_be32(device->al_tr_number); buffer 343 drivers/block/drbd/drbd_actlog.c buffer->update_slot_nr[i] = cpu_to_be16(e->lc_index); buffer 344 drivers/block/drbd/drbd_actlog.c buffer->update_extent_nr[i] = cpu_to_be32(e->lc_new_number); buffer 353 drivers/block/drbd/drbd_actlog.c buffer->n_updates = cpu_to_be16(i); buffer 355 drivers/block/drbd/drbd_actlog.c buffer->update_slot_nr[i] = cpu_to_be16(-1); buffer 356 drivers/block/drbd/drbd_actlog.c buffer->update_extent_nr[i] = cpu_to_be32(LC_FREE); buffer 359 drivers/block/drbd/drbd_actlog.c buffer->context_size = cpu_to_be16(device->act_log->nr_elements); buffer 360 drivers/block/drbd/drbd_actlog.c buffer->context_start_slot_nr = cpu_to_be16(device->al_tr_cycle); buffer 367 drivers/block/drbd/drbd_actlog.c buffer->context[i] = cpu_to_be32(extent_nr); buffer 370 drivers/block/drbd/drbd_actlog.c buffer->context[i] = cpu_to_be32(LC_FREE); buffer 378 drivers/block/drbd/drbd_actlog.c crc = crc32c(0, buffer, 4096); buffer 379 drivers/block/drbd/drbd_actlog.c buffer->crc32c = cpu_to_be32(crc); buffer 404 drivers/block/drbd/drbd_actlog.c struct al_transaction_on_disk *buffer; buffer 423 drivers/block/drbd/drbd_actlog.c buffer = drbd_md_get_buffer(device, __func__); buffer 424 drivers/block/drbd/drbd_actlog.c if (!buffer) { buffer 430 drivers/block/drbd/drbd_actlog.c err = __al_write_transaction(device, buffer); buffer 608 drivers/block/drbd/drbd_actlog.c int drbd_al_initialize(struct drbd_device *device, void *buffer) buffer 610 drivers/block/drbd/drbd_actlog.c struct al_transaction_on_disk *al = buffer; buffer 811 drivers/block/drbd/drbd_bitmap.c unsigned long *buffer) buffer 839 drivers/block/drbd/drbd_bitmap.c word = *bm | *buffer++; buffer 860 drivers/block/drbd/drbd_bitmap.c unsigned long *buffer) buffer 888 drivers/block/drbd/drbd_bitmap.c *buffer++ = *bm++; buffer 1127 drivers/block/drbd/drbd_int.h extern void drbd_md_write(struct drbd_device *device, void *buffer); buffer 1381 drivers/block/drbd/drbd_int.h size_t number, unsigned long *buffer); buffer 1384 drivers/block/drbd/drbd_int.h size_t number, unsigned long *buffer); buffer 601 drivers/block/drbd/drbd_main.c void *buffer, enum drbd_packet cmd, int size) buffer 604 drivers/block/drbd/drbd_main.c return prepare_header100(buffer, cmd, size, vnr); buffer 607 drivers/block/drbd/drbd_main.c return prepare_header95(buffer, cmd, size); buffer 609 drivers/block/drbd/drbd_main.c return prepare_header80(buffer, cmd, size); buffer 1899 drivers/block/drbd/drbd_main.c int drbd_send_all(struct drbd_connection *connection, struct socket *sock, void *buffer, buffer 1904 drivers/block/drbd/drbd_main.c err = drbd_send(connection, sock, buffer, size, msg_flags); buffer 3101 drivers/block/drbd/drbd_main.c struct meta_data_on_disk *buffer = b; buffer 3105 drivers/block/drbd/drbd_main.c memset(buffer, 0, sizeof(*buffer)); buffer 3107 drivers/block/drbd/drbd_main.c buffer->la_size_sect = cpu_to_be64(drbd_get_capacity(device->this_bdev)); buffer 3109 drivers/block/drbd/drbd_main.c buffer->uuid[i] = cpu_to_be64(device->ldev->md.uuid[i]); buffer 3110 drivers/block/drbd/drbd_main.c buffer->flags = cpu_to_be32(device->ldev->md.flags); buffer 3111 drivers/block/drbd/drbd_main.c buffer->magic = cpu_to_be32(DRBD_MD_MAGIC_84_UNCLEAN); buffer 3113 drivers/block/drbd/drbd_main.c buffer->md_size_sect = cpu_to_be32(device->ldev->md.md_size_sect); buffer 3114 drivers/block/drbd/drbd_main.c buffer->al_offset = cpu_to_be32(device->ldev->md.al_offset); buffer 3115 drivers/block/drbd/drbd_main.c buffer->al_nr_extents = cpu_to_be32(device->act_log->nr_elements); buffer 3116 drivers/block/drbd/drbd_main.c buffer->bm_bytes_per_bit = cpu_to_be32(BM_BLOCK_SIZE); buffer 3117 drivers/block/drbd/drbd_main.c buffer->device_uuid = cpu_to_be64(device->ldev->md.device_uuid); buffer 3119 drivers/block/drbd/drbd_main.c buffer->bm_offset = cpu_to_be32(device->ldev->md.bm_offset); buffer 3120 drivers/block/drbd/drbd_main.c buffer->la_peer_max_bio_size = cpu_to_be32(device->peer_max_bio_size); buffer 3122 drivers/block/drbd/drbd_main.c buffer->al_stripes = cpu_to_be32(device->ldev->md.al_stripes); buffer 3123 drivers/block/drbd/drbd_main.c buffer->al_stripe_size_4k = cpu_to_be32(device->ldev->md.al_stripe_size_4k); buffer 3141 drivers/block/drbd/drbd_main.c struct meta_data_on_disk *buffer; buffer 3157 drivers/block/drbd/drbd_main.c buffer = drbd_md_get_buffer(device, __func__); buffer 3158 drivers/block/drbd/drbd_main.c if (!buffer) buffer 3161 drivers/block/drbd/drbd_main.c drbd_md_write(device, buffer); buffer 3310 drivers/block/drbd/drbd_main.c struct meta_data_on_disk *buffer; buffer 3317 drivers/block/drbd/drbd_main.c buffer = drbd_md_get_buffer(device, __func__); buffer 3318 drivers/block/drbd/drbd_main.c if (!buffer) buffer 3339 drivers/block/drbd/drbd_main.c magic = be32_to_cpu(buffer->magic); buffer 3340 drivers/block/drbd/drbd_main.c flags = be32_to_cpu(buffer->flags); buffer 3358 drivers/block/drbd/drbd_main.c if (be32_to_cpu(buffer->bm_bytes_per_bit) != BM_BLOCK_SIZE) { buffer 3360 drivers/block/drbd/drbd_main.c be32_to_cpu(buffer->bm_bytes_per_bit), BM_BLOCK_SIZE); buffer 3366 drivers/block/drbd/drbd_main.c bdev->md.la_size_sect = be64_to_cpu(buffer->la_size_sect); buffer 3368 drivers/block/drbd/drbd_main.c bdev->md.uuid[i] = be64_to_cpu(buffer->uuid[i]); buffer 3369 drivers/block/drbd/drbd_main.c bdev->md.flags = be32_to_cpu(buffer->flags); buffer 3370 drivers/block/drbd/drbd_main.c bdev->md.device_uuid = be64_to_cpu(buffer->device_uuid); buffer 3372 drivers/block/drbd/drbd_main.c bdev->md.md_size_sect = be32_to_cpu(buffer->md_size_sect); buffer 3373 drivers/block/drbd/drbd_main.c bdev->md.al_offset = be32_to_cpu(buffer->al_offset); buffer 3374 drivers/block/drbd/drbd_main.c bdev->md.bm_offset = be32_to_cpu(buffer->bm_offset); buffer 3376 drivers/block/drbd/drbd_main.c if (check_activity_log_stripe_size(device, buffer, &bdev->md)) buffer 3381 drivers/block/drbd/drbd_main.c if (be32_to_cpu(buffer->bm_offset) != bdev->md.bm_offset) { buffer 3383 drivers/block/drbd/drbd_main.c be32_to_cpu(buffer->bm_offset), bdev->md.bm_offset); buffer 3386 drivers/block/drbd/drbd_main.c if (be32_to_cpu(buffer->md_size_sect) != bdev->md.md_size_sect) { buffer 3388 drivers/block/drbd/drbd_main.c be32_to_cpu(buffer->md_size_sect), bdev->md.md_size_sect); buffer 3397 drivers/block/drbd/drbd_main.c peer = be32_to_cpu(buffer->la_peer_max_bio_size); buffer 942 drivers/block/drbd/drbd_nl.c void *buffer; buffer 956 drivers/block/drbd/drbd_nl.c buffer = drbd_md_get_buffer(device, __func__); /* Lock meta-data IO */ buffer 957 drivers/block/drbd/drbd_nl.c if (!buffer) { buffer 1045 drivers/block/drbd/drbd_nl.c drbd_md_write(device, buffer); buffer 1047 drivers/block/drbd/drbd_nl.c drbd_al_initialize(device, buffer); buffer 1059 drivers/block/drbd/drbd_nl.c drbd_md_write(device, buffer); buffer 1199 drivers/block/drbd/drbd_receiver.c void *buffer = connection->data.rbuf; buffer 1202 drivers/block/drbd/drbd_receiver.c err = drbd_recv_all_warn(connection, buffer, drbd_header_size(connection)); buffer 1206 drivers/block/drbd/drbd_receiver.c err = decode_header(connection, buffer, pi); buffer 1214 drivers/block/drbd/drbd_receiver.c void *buffer = connection->data.rbuf; buffer 1218 drivers/block/drbd/drbd_receiver.c err = drbd_recv_short(connection->data.socket, buffer, size, MSG_NOSIGNAL|MSG_DONTWAIT); buffer 1229 drivers/block/drbd/drbd_receiver.c buffer += err; buffer 1232 drivers/block/drbd/drbd_receiver.c err = drbd_recv_all_warn(connection, buffer, size); buffer 3842 drivers/block/drbd/drbd_receiver.c void *buffer = connection->data.rbuf; buffer 3847 drivers/block/drbd/drbd_receiver.c s = drbd_recv(connection, buffer, s); buffer 570 drivers/block/drbd/drbd_state.c void *buffer = NULL; buffer 577 drivers/block/drbd/drbd_state.c buffer = drbd_md_get_buffer(device, __func__); buffer 630 drivers/block/drbd/drbd_state.c if (buffer) buffer 2412 drivers/block/floppy.c char *buffer; buffer 2452 drivers/block/floppy.c buffer = page_address(bv.bv_page) + bv.bv_offset; buffer 2468 drivers/block/floppy.c if (((unsigned long)buffer) % 512) buffer 2469 drivers/block/floppy.c DPRINT("%p buffer not aligned\n", buffer); buffer 2472 drivers/block/floppy.c memcpy(buffer, dma_buffer, size); buffer 2474 drivers/block/floppy.c memcpy(dma_buffer, buffer, size); buffer 485 drivers/block/mtip32xx/mtip32xx.c static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, buffer 934 drivers/block/mtip32xx/mtip32xx.c dma_addr_t buffer; buffer 960 drivers/block/mtip32xx/mtip32xx.c dma_addr_t buffer, buffer 970 drivers/block/mtip32xx/mtip32xx.c .buffer = buffer, buffer 977 drivers/block/mtip32xx/mtip32xx.c if (buffer & 0x00000007) { buffer 1255 drivers/block/mtip32xx/mtip32xx.c static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, buffer 1270 drivers/block/mtip32xx/mtip32xx.c memset(buffer, 0, sectors * ATA_SECT_SIZE); buffer 1291 drivers/block/mtip32xx/mtip32xx.c static int mtip_get_smart_data(struct mtip_port *port, u8 *buffer, buffer 3468 drivers/block/mtip32xx/mtip32xx.c command_sg->dba = cpu_to_le32(icmd->buffer & 0xFFFFFFFF); buffer 3470 drivers/block/mtip32xx/mtip32xx.c cpu_to_le32((icmd->buffer >> 16) >> 16); buffer 525 drivers/block/paride/pcd.c return pcd_atapi(cdi->handle, cgc->cmd, cgc->buflen, cgc->buffer, buffer 682 drivers/block/paride/pcd.c char buffer[32]; buffer 689 drivers/block/paride/pcd.c r = pcd_atapi(cd, cmd, 18, buffer, "mode sense capabilities"); buffer 693 drivers/block/paride/pcd.c if ((buffer[11] & 1) == 0) buffer 695 drivers/block/paride/pcd.c if ((buffer[11] & 2) == 0) buffer 697 drivers/block/paride/pcd.c if ((buffer[12] & 1) == 0) buffer 699 drivers/block/paride/pcd.c if ((buffer[14] & 1) == 0) buffer 701 drivers/block/paride/pcd.c if ((buffer[14] & 8) == 0) buffer 703 drivers/block/paride/pcd.c if ((buffer[14] >> 6) == 0) buffer 936 drivers/block/paride/pcd.c char buffer[32]; buffer 939 drivers/block/paride/pcd.c r = pcd_atapi(cd, cmd, 12, buffer, "read toc header"); buffer 941 drivers/block/paride/pcd.c tochdr->cdth_trk0 = buffer[2]; buffer 942 drivers/block/paride/pcd.c tochdr->cdth_trk1 = buffer[3]; buffer 956 drivers/block/paride/pcd.c unsigned char buffer[32]; buffer 963 drivers/block/paride/pcd.c r = pcd_atapi(cd, cmd, 12, buffer, "read toc entry"); buffer 965 drivers/block/paride/pcd.c tocentry->cdte_ctrl = buffer[5] & 0xf; buffer 966 drivers/block/paride/pcd.c tocentry->cdte_adr = buffer[5] >> 4; buffer 970 drivers/block/paride/pcd.c tocentry->cdte_addr.msf.minute = buffer[9]; buffer 971 drivers/block/paride/pcd.c tocentry->cdte_addr.msf.second = buffer[10]; buffer 972 drivers/block/paride/pcd.c tocentry->cdte_addr.msf.frame = buffer[11]; buffer 975 drivers/block/paride/pcd.c (((((buffer[8] << 8) + buffer[9]) << 8) buffer 976 drivers/block/paride/pcd.c + buffer[10]) << 8) + buffer[11]; buffer 991 drivers/block/paride/pcd.c char buffer[32]; buffer 993 drivers/block/paride/pcd.c if (pcd_atapi(cdi->handle, cmd, 24, buffer, "get mcn")) buffer 996 drivers/block/paride/pcd.c memcpy(mcn->medium_catalog_number, buffer + 9, 13); buffer 712 drivers/block/pktcdvd.c ret = blk_rq_map_kern(q, rq, cgc->buffer, cgc->buflen, buffer 1546 drivers/block/pktcdvd.c memset(cgc->buffer, 0, 2); buffer 1656 drivers/block/pktcdvd.c char buffer[128]; buffer 1663 drivers/block/pktcdvd.c memset(buffer, 0, sizeof(buffer)); buffer 1664 drivers/block/pktcdvd.c init_cdrom_command(&cgc, buffer, sizeof(*wp), CGC_DATA_READ); buffer 1672 drivers/block/pktcdvd.c size = 2 + ((buffer[0] << 8) | (buffer[1] & 0xff)); buffer 1673 drivers/block/pktcdvd.c pd->mode_offset = (buffer[6] << 8) | (buffer[7] & 0xff); buffer 1674 drivers/block/pktcdvd.c if (size > sizeof(buffer)) buffer 1675 drivers/block/pktcdvd.c size = sizeof(buffer); buffer 1680 drivers/block/pktcdvd.c init_cdrom_command(&cgc, buffer, size, CGC_DATA_READ); buffer 1691 drivers/block/pktcdvd.c wp = (write_param_page *) &buffer[sizeof(struct mode_page_header) + pd->mode_offset]; buffer 57 drivers/block/ps3disk.c u64 buffer; buffer 364 drivers/block/ps3disk.c ata_cmnd.buffer = dev->bounce_lpar; buffer 370 drivers/block/ps3disk.c sizeof(ata_cmnd), ata_cmnd.buffer, buffer 457 drivers/block/swim.c int sector, unsigned char *buffer) buffer 477 drivers/block/swim.c ret = swim_read_sector_data(base, buffer); buffer 494 drivers/block/swim.c unsigned char *buffer) buffer 513 drivers/block/swim.c buffer); buffer 518 drivers/block/swim.c buffer += ret; buffer 91 drivers/block/z2ram.c void *buffer = bio_data(req->bio); buffer 97 drivers/block/z2ram.c memcpy(buffer, (char *)addr, size); buffer 99 drivers/block/z2ram.c memcpy((char *)addr, buffer, size); buffer 39 drivers/block/zram/zcomp.c free_pages((unsigned long)zstrm->buffer, 1); buffer 58 drivers/block/zram/zcomp.c zstrm->buffer = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, 1); buffer 59 drivers/block/zram/zcomp.c if (IS_ERR_OR_NULL(zstrm->tfm) || !zstrm->buffer) { buffer 145 drivers/block/zram/zcomp.c zstrm->buffer, dst_len); buffer 11 drivers/block/zram/zcomp.h void *buffer; buffer 1385 drivers/block/zram/zram_drv.c src = zstrm->buffer; buffer 57 drivers/bluetooth/bcm203x.c unsigned char *buffer; buffer 80 drivers/bluetooth/bcm203x.c memcpy(data->buffer, "#", 1); buffer 83 drivers/bluetooth/bcm203x.c data->buffer, 1, bcm203x_complete, data); buffer 93 drivers/bluetooth/bcm203x.c data->buffer, 32, bcm203x_complete, data, 1); buffer 102 drivers/bluetooth/bcm203x.c if (data->buffer[0] != '#') { buffer 113 drivers/bluetooth/bcm203x.c data->buffer, 32, bcm203x_complete, data, 1); buffer 130 drivers/bluetooth/bcm203x.c if (data->buffer[0] != '.') { buffer 186 drivers/bluetooth/bcm203x.c data->buffer = kmalloc(size, GFP_KERNEL); buffer 187 drivers/bluetooth/bcm203x.c if (!data->buffer) { buffer 194 drivers/bluetooth/bcm203x.c memcpy(data->buffer, firmware->data, firmware->size); buffer 197 drivers/bluetooth/bcm203x.c data->buffer, firmware->size, bcm203x_complete, data); buffer 204 drivers/bluetooth/bcm203x.c kfree(data->buffer); buffer 215 drivers/bluetooth/bcm203x.c kfree(data->buffer); buffer 249 drivers/bluetooth/bcm203x.c kfree(data->buffer); buffer 490 drivers/bluetooth/btusb.c int (*recv_bulk)(struct btusb_data *data, void *buffer, int count); buffer 578 drivers/bluetooth/btusb.c static int btusb_recv_intr(struct btusb_data *data, void *buffer, int count) buffer 602 drivers/bluetooth/btusb.c skb_put_data(skb, buffer, len); buffer 605 drivers/bluetooth/btusb.c buffer += len; buffer 634 drivers/bluetooth/btusb.c static int btusb_recv_bulk(struct btusb_data *data, void *buffer, int count) buffer 658 drivers/bluetooth/btusb.c skb_put_data(skb, buffer, len); buffer 661 drivers/bluetooth/btusb.c buffer += len; buffer 692 drivers/bluetooth/btusb.c static int btusb_recv_isoc(struct btusb_data *data, void *buffer, int count) buffer 716 drivers/bluetooth/btusb.c skb_put_data(skb, buffer, len); buffer 719 drivers/bluetooth/btusb.c buffer += len; buffer 1993 drivers/bluetooth/btusb.c static int btusb_recv_bulk_intel(struct btusb_data *data, void *buffer, buffer 2001 drivers/bluetooth/btusb.c return btusb_recv_intr(data, buffer, count); buffer 2003 drivers/bluetooth/btusb.c return btusb_recv_bulk(data, buffer, count); buffer 43 drivers/bluetooth/h4_recv.h const unsigned char *buffer, buffer 57 drivers/bluetooth/h4_recv.h if (buffer[0] != (&pkts[i])->type) buffer 75 drivers/bluetooth/h4_recv.h buffer += 1; buffer 79 drivers/bluetooth/h4_recv.h skb_put_data(skb, buffer, len); buffer 82 drivers/bluetooth/h4_recv.h buffer += len; buffer 928 drivers/bluetooth/hci_bcm.c obj->buffer.length == 8) buffer 929 drivers/bluetooth/hci_bcm.c dev->init_speed = *(u64 *)obj->buffer.pointer; buffer 156 drivers/bluetooth/hci_h4.c const unsigned char *buffer, int count, buffer 172 drivers/bluetooth/hci_h4.c buffer++; buffer 179 drivers/bluetooth/hci_h4.c if (buffer[0] != (&pkts[i])->type) buffer 197 drivers/bluetooth/hci_h4.c buffer += 1; buffer 201 drivers/bluetooth/hci_h4.c skb_put_data(skb, buffer, len); buffer 204 drivers/bluetooth/hci_h4.c buffer += len; buffer 147 drivers/bluetooth/hci_uart.h const unsigned char *buffer, int count, buffer 273 drivers/bus/hisi_lpc.c static u32 hisi_lpc_comm_ins(void *hostdata, unsigned long pio, void *buffer, buffer 277 drivers/bus/hisi_lpc.c unsigned char *buf = buffer; buffer 312 drivers/bus/hisi_lpc.c const void *buffer, size_t dwidth, buffer 317 drivers/bus/hisi_lpc.c const unsigned char *buf = buffer; buffer 427 drivers/cdrom/cdrom.c char buffer[16]; buffer 429 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_READ); buffer 449 drivers/cdrom/cdrom.c unsigned char buffer[16]; buffer 454 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_READ); buffer 458 drivers/cdrom/cdrom.c cgc.cmd[8] = sizeof(buffer); buffer 464 drivers/cdrom/cdrom.c mfd = (struct mrw_feature_desc *)&buffer[sizeof(struct feature_header)]; buffer 480 drivers/cdrom/cdrom.c unsigned char buffer[12]; buffer 488 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_WRITE); buffer 497 drivers/cdrom/cdrom.c buffer[1] = 1 << 1; buffer 498 drivers/cdrom/cdrom.c buffer[3] = 8; buffer 503 drivers/cdrom/cdrom.c buffer[4] = 0xff; buffer 504 drivers/cdrom/cdrom.c buffer[5] = 0xff; buffer 505 drivers/cdrom/cdrom.c buffer[6] = 0xff; buffer 506 drivers/cdrom/cdrom.c buffer[7] = 0xff; buffer 508 drivers/cdrom/cdrom.c buffer[8] = 0x24 << 2; buffer 509 drivers/cdrom/cdrom.c buffer[11] = cont; buffer 561 drivers/cdrom/cdrom.c char buffer[16]; buffer 564 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_READ); buffer 566 drivers/cdrom/cdrom.c cgc.buffer = buffer; buffer 567 drivers/cdrom/cdrom.c cgc.buflen = sizeof(buffer); buffer 573 drivers/cdrom/cdrom.c mph = (struct mode_page_header *)buffer; buffer 577 drivers/cdrom/cdrom.c buffer[offset + 3] = space; buffer 662 drivers/cdrom/cdrom.c unsigned char buffer[8]; buffer 663 drivers/cdrom/cdrom.c struct event_header *eh = (struct event_header *)buffer; buffer 665 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_READ); buffer 669 drivers/cdrom/cdrom.c cgc.cmd[8] = sizeof(buffer); buffer 681 drivers/cdrom/cdrom.c memcpy(med, &buffer[sizeof(*eh)], sizeof(*med)); buffer 689 drivers/cdrom/cdrom.c char buffer[24]; buffer 692 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_READ); buffer 696 drivers/cdrom/cdrom.c cgc.cmd[8] = sizeof(buffer); /* often 0x18 */ buffer 702 drivers/cdrom/cdrom.c memcpy(rfd, &buffer[sizeof(struct feature_header)], sizeof (*rfd)); buffer 709 drivers/cdrom/cdrom.c char buffer[16]; buffer 713 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_READ); buffer 717 drivers/cdrom/cdrom.c cgc.cmd[8] = sizeof(buffer); buffer 723 drivers/cdrom/cdrom.c feature_code = (__be16 *) &buffer[sizeof(struct feature_header)]; buffer 817 drivers/cdrom/cdrom.c char buffer[255]; buffer 820 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, &buffer, 4, CGC_DATA_READ); buffer 840 drivers/cdrom/cdrom.c return buffer[3] & 0x80; buffer 863 drivers/cdrom/cdrom.c char buffer[32]; buffer 866 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_READ); buffer 871 drivers/cdrom/cdrom.c cgc.cmd[8] = sizeof(buffer); /* Allocation Length */ buffer 877 drivers/cdrom/cdrom.c mmc3_profile = (buffer[6] << 8) | buffer[7]; buffer 1589 drivers/cdrom/cdrom.c cgc->buffer = (char *) buf; buffer 1761 drivers/cdrom/cdrom.c cgc.buffer = (char *) &rpc_state; buffer 2019 drivers/cdrom/cdrom.c memset(cgc->buffer, 0, 2); buffer 2033 drivers/cdrom/cdrom.c char buffer[32]; buffer 2036 drivers/cdrom/cdrom.c init_cdrom_command(&cgc, buffer, 16, CGC_DATA_READ); buffer 2046 drivers/cdrom/cdrom.c subchnl->cdsc_audiostatus = cgc.buffer[1]; buffer 2047 drivers/cdrom/cdrom.c subchnl->cdsc_ctrl = cgc.buffer[5] & 0xf; buffer 2048 drivers/cdrom/cdrom.c subchnl->cdsc_trk = cgc.buffer[6]; buffer 2049 drivers/cdrom/cdrom.c subchnl->cdsc_ind = cgc.buffer[7]; buffer 2052 drivers/cdrom/cdrom.c subchnl->cdsc_absaddr.lba = ((cgc.buffer[8] << 24) | buffer 2053 drivers/cdrom/cdrom.c (cgc.buffer[9] << 16) | buffer 2054 drivers/cdrom/cdrom.c (cgc.buffer[10] << 8) | buffer 2055 drivers/cdrom/cdrom.c (cgc.buffer[11])); buffer 2056 drivers/cdrom/cdrom.c subchnl->cdsc_reladdr.lba = ((cgc.buffer[12] << 24) | buffer 2057 drivers/cdrom/cdrom.c (cgc.buffer[13] << 16) | buffer 2058 drivers/cdrom/cdrom.c (cgc.buffer[14] << 8) | buffer 2059 drivers/cdrom/cdrom.c (cgc.buffer[15])); buffer 2061 drivers/cdrom/cdrom.c subchnl->cdsc_reladdr.msf.minute = cgc.buffer[13]; buffer 2062 drivers/cdrom/cdrom.c subchnl->cdsc_reladdr.msf.second = cgc.buffer[14]; buffer 2063 drivers/cdrom/cdrom.c subchnl->cdsc_reladdr.msf.frame = cgc.buffer[15]; buffer 2064 drivers/cdrom/cdrom.c subchnl->cdsc_absaddr.msf.minute = cgc.buffer[9]; buffer 2065 drivers/cdrom/cdrom.c subchnl->cdsc_absaddr.msf.second = cgc.buffer[10]; buffer 2066 drivers/cdrom/cdrom.c subchnl->cdsc_absaddr.msf.frame = cgc.buffer[11]; buffer 2143 drivers/cdrom/cdrom.c cgc.buffer = kmalloc_array(nr, CD_FRAMESIZE_RAW, GFP_KERNEL); buffer 2144 drivers/cdrom/cdrom.c if (cgc.buffer) buffer 2161 drivers/cdrom/cdrom.c if (copy_to_user(ubuf, cgc.buffer, CD_FRAMESIZE_RAW * nr)) { buffer 2169 drivers/cdrom/cdrom.c kfree(cgc.buffer); buffer 2795 drivers/cdrom/cdrom.c cgc.buffer = (char *) &mh; buffer 2984 drivers/cdrom/cdrom.c cgc->buffer = kzalloc(blocksize, GFP_KERNEL); buffer 2985 drivers/cdrom/cdrom.c if (cgc->buffer == NULL) buffer 3007 drivers/cdrom/cdrom.c if (!ret && copy_to_user(arg, cgc->buffer, blocksize)) buffer 3010 drivers/cdrom/cdrom.c kfree(cgc->buffer); buffer 3111 drivers/cdrom/cdrom.c unsigned char buffer[32]; buffer 3112 drivers/cdrom/cdrom.c char mask[sizeof(buffer)]; buffer 3122 drivers/cdrom/cdrom.c cgc->buffer = buffer; buffer 3132 drivers/cdrom/cdrom.c offset = 8 + be16_to_cpu(*(__be16 *)(buffer + 6)); buffer 3134 drivers/cdrom/cdrom.c if (offset + 16 > sizeof(buffer)) buffer 3146 drivers/cdrom/cdrom.c if ((buffer[offset] & 0x3f) != GPMODE_AUDIO_CTL_PAGE || buffer 3147 drivers/cdrom/cdrom.c buffer[offset + 1] < 14) buffer 3153 drivers/cdrom/cdrom.c volctrl.channel0 = buffer[offset+9]; buffer 3154 drivers/cdrom/cdrom.c volctrl.channel1 = buffer[offset+11]; buffer 3155 drivers/cdrom/cdrom.c volctrl.channel2 = buffer[offset+13]; buffer 3156 drivers/cdrom/cdrom.c volctrl.channel3 = buffer[offset+15]; buffer 3164 drivers/cdrom/cdrom.c cgc->buffer = mask; buffer 3169 drivers/cdrom/cdrom.c buffer[offset + 9] = volctrl.channel0 & mask[offset + 9]; buffer 3170 drivers/cdrom/cdrom.c buffer[offset + 11] = volctrl.channel1 & mask[offset + 11]; buffer 3171 drivers/cdrom/cdrom.c buffer[offset + 13] = volctrl.channel2 & mask[offset + 13]; buffer 3172 drivers/cdrom/cdrom.c buffer[offset + 15] = volctrl.channel3 & mask[offset + 15]; buffer 3175 drivers/cdrom/cdrom.c cgc->buffer = buffer + offset - 8; buffer 3176 drivers/cdrom/cdrom.c memset(cgc->buffer, 0, 8); buffer 3498 drivers/cdrom/cdrom.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3574 drivers/cdrom/cdrom.c return proc_dostring(ctl, write, buffer, lenp, ppos); buffer 3611 drivers/cdrom/cdrom.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3615 drivers/cdrom/cdrom.c ret = proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 440 drivers/char/dtlk.c buffer[b++] = inb_p(dtlk_port_lpc); \ buffer 443 drivers/char/dtlk.c char buffer[1000]; buffer 448 drivers/char/dtlk.c buffer[b++] = 0; buffer 451 drivers/char/dtlk.c buffer[b++] = 0; buffer 454 drivers/char/dtlk.c buffer[b++] = 0; buffer 459 drivers/char/dtlk.c printk(" %02x", buffer[j]); buffer 470 drivers/char/dtlk.c buffer[b++] = inb_p(dtlk_port_tts); \ buffer 473 drivers/char/dtlk.c char buffer[1000]; buffer 479 drivers/char/dtlk.c buffer[b++] = 0; buffer 485 drivers/char/dtlk.c printk(" %02x", buffer[j]); buffer 56 drivers/char/hw_random/core.c static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, buffer 182 drivers/char/hw_random/core.c static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, buffer 188 drivers/char/hw_random/core.c return rng->read(rng, (void *)buffer, size, wait); buffer 196 drivers/char/hw_random/core.c return rng->data_read(rng, (u32 *)buffer); buffer 29 drivers/char/hw_random/ixp4xx-rng.c static int ixp4xx_rng_data_read(struct hwrng *rng, u32 *buffer) buffer 33 drivers/char/hw_random/ixp4xx-rng.c *buffer = __raw_readl(rng_base); buffer 429 drivers/char/hw_random/n2-drv.c *data = np->buffer; buffer 435 drivers/char/hw_random/n2-drv.c np->buffer = np->test_data >> 32; buffer 464 drivers/char/hw_random/n2-drv.c u64 *buffer, unsigned long buf_len, buffer 469 drivers/char/hw_random/n2-drv.c unsigned long buffer_ra = __pa(buffer); buffer 113 drivers/char/hw_random/n2rng.h u32 buffer; buffer 18 drivers/char/hw_random/pseries-rng.c u64 buffer[PLPAR_HCALL_BUFSIZE]; buffer 21 drivers/char/hw_random/pseries-rng.c rc = plpar_hcall(H_RANDOM, (unsigned long *)buffer); buffer 26 drivers/char/hw_random/pseries-rng.c memcpy(data, buffer, 8); buffer 98 drivers/char/hw_random/tx4939-rng.c static int tx4939_rng_data_read(struct hwrng *rng, u32 *buffer) buffer 103 drivers/char/hw_random/tx4939-rng.c *buffer = *((u32 *)&rngdev->databuf + rngdev->data_avail); buffer 106 drivers/char/ipmi/ipmi_msghandler.c static int panic_op_read_handler(char *buffer, const struct kernel_param *kp) buffer 110 drivers/char/ipmi/ipmi_msghandler.c strcpy(buffer, "none"); buffer 114 drivers/char/ipmi/ipmi_msghandler.c strcpy(buffer, "event"); buffer 118 drivers/char/ipmi/ipmi_msghandler.c strcpy(buffer, "string"); buffer 122 drivers/char/ipmi/ipmi_msghandler.c strcpy(buffer, "???"); buffer 126 drivers/char/ipmi/ipmi_msghandler.c return strlen(buffer); buffer 232 drivers/char/ipmi/ipmi_watchdog.c static int get_param_str(char *buffer, const struct kernel_param *kp) buffer 237 drivers/char/ipmi/ipmi_watchdog.c rv = fn(NULL, buffer); buffer 240 drivers/char/ipmi/ipmi_watchdog.c return strlen(buffer); buffer 168 drivers/char/nwbutton.c static int button_read (struct file *filp, char __user *buffer, buffer 175 drivers/char/nwbutton.c return (copy_to_user (buffer, &button_output_buffer, bcount)) buffer 2062 drivers/char/random.c write_pool(struct entropy_store *r, const char __user *buffer, size_t count) buffer 2066 drivers/char/random.c const char __user *p = buffer; buffer 2091 drivers/char/random.c static ssize_t random_write(struct file *file, const char __user *buffer, buffer 2096 drivers/char/random.c ret = write_pool(&input_pool, buffer, count); buffer 2232 drivers/char/random.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2255 drivers/char/random.c return proc_dostring(&fake_table, write, buffer, lenp, ppos); buffer 2262 drivers/char/random.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2272 drivers/char/random.c return proc_dointvec(&fake_table, write, buffer, lenp, ppos); buffer 2477 drivers/char/random.c void add_hwgenerator_randomness(const char *buffer, size_t count, buffer 2483 drivers/char/random.c crng_fast_load(buffer, count); buffer 2493 drivers/char/random.c mix_pool_bytes(poolp, buffer, count); buffer 288 drivers/char/tpm/tpm2-cmd.c u8 buffer[TPM_MAX_RNG_DATA]; buffer 325 drivers/char/tpm/tpm2-cmd.c buffer), buffer 338 drivers/char/tpm/tpm2-cmd.c offsetof(struct tpm2_get_random_out, buffer) + buffer 343 drivers/char/tpm/tpm2-cmd.c memcpy(dest_ptr, out->buffer, recd); buffer 37 drivers/char/tpm/tpm_i2c_atmel.c u8 buffer[sizeof(struct tpm_header) + 25]; buffer 71 drivers/char/tpm/tpm_i2c_atmel.c struct tpm_header *hdr = (struct tpm_header *)priv->buffer; buffer 90 drivers/char/tpm/tpm_i2c_atmel.c memcpy(buf, priv->buffer, expected_len); buffer 117 drivers/char/tpm/tpm_i2c_atmel.c memset(priv->buffer, 0, sizeof(priv->buffer)); buffer 122 drivers/char/tpm/tpm_i2c_atmel.c rc = i2c_master_recv(client, priv->buffer, sizeof(priv->buffer)); buffer 92 drivers/char/tpm/tpm_i2c_infineon.c static int iic_tpm_read(u8 addr, u8 *buffer, size_t len) buffer 104 drivers/char/tpm/tpm_i2c_infineon.c .buf = buffer buffer 204 drivers/char/tpm/tpm_i2c_infineon.c static int iic_tpm_write_generic(u8 addr, u8 *buffer, size_t len, buffer 226 drivers/char/tpm/tpm_i2c_infineon.c memcpy(&(tpm_dev.buf[1]), buffer, len); buffer 271 drivers/char/tpm/tpm_i2c_infineon.c static int iic_tpm_write(u8 addr, u8 *buffer, size_t len) buffer 273 drivers/char/tpm/tpm_i2c_infineon.c return iic_tpm_write_generic(addr, buffer, len, SLEEP_DURATION_LOW, buffer 281 drivers/char/tpm/tpm_i2c_infineon.c static int iic_tpm_write_long(u8 addr, u8 *buffer, size_t len) buffer 283 drivers/char/tpm/tpm_i2c_infineon.c return iic_tpm_write_generic(addr, buffer, len, SLEEP_DURATION_LONG_LOW, buffer 126 drivers/char/tpm/tpm_nsc.c u8 *buffer = buf; buffer 147 drivers/char/tpm/tpm_nsc.c for (p = buffer; p < &buffer[count]; p++) { buffer 150 drivers/char/tpm/tpm_ppi.c argv4.buffer.length = sizeof(req); buffer 151 drivers/char/tpm/tpm_ppi.c argv4.buffer.pointer = (u8 *)&req; buffer 183 drivers/char/tpm/tpm_ppi.c .buffer.type = ACPI_TYPE_BUFFER, buffer 184 drivers/char/tpm/tpm_ppi.c .buffer.length = 0, buffer 185 drivers/char/tpm/tpm_ppi.c .buffer.pointer = NULL buffer 45 drivers/char/tpm/tpm_vtpm_proxy.c u8 buffer[TPM_BUFSIZE]; /* request/response buffer */ buffer 101 drivers/char/tpm/tpm_vtpm_proxy.c rc = copy_to_user(buf, proxy_dev->buffer, len); buffer 102 drivers/char/tpm/tpm_vtpm_proxy.c memset(proxy_dev->buffer, 0, len); buffer 139 drivers/char/tpm/tpm_vtpm_proxy.c if (count > sizeof(proxy_dev->buffer) || buffer 149 drivers/char/tpm/tpm_vtpm_proxy.c if (copy_from_user(proxy_dev->buffer, buf, count)) { buffer 289 drivers/char/tpm/tpm_vtpm_proxy.c memcpy(buf, proxy_dev->buffer, len); buffer 334 drivers/char/tpm/tpm_vtpm_proxy.c if (count > sizeof(proxy_dev->buffer)) { buffer 337 drivers/char/tpm/tpm_vtpm_proxy.c count, sizeof(proxy_dev->buffer)); buffer 355 drivers/char/tpm/tpm_vtpm_proxy.c memcpy(proxy_dev->buffer, buf, count); buffer 1278 drivers/char/virtio_console.c struct device_attribute *attr, char *buffer) buffer 1284 drivers/char/virtio_console.c return sprintf(buffer, "%s\n", port->name); buffer 232 drivers/char/xilinx_hwicap/xilinx_hwicap.c u32 buffer[4]; buffer 238 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = hwicap_type_1_write(drvdata->config_regs->CMD) | 1; buffer 239 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_CMD_DESYNCH; buffer 240 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; buffer 241 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; buffer 248 drivers/char/xilinx_hwicap/xilinx_hwicap.c &buffer[0], index); buffer 268 drivers/char/xilinx_hwicap/xilinx_hwicap.c u32 buffer[6]; buffer 274 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_DUMMY_PACKET; buffer 275 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; buffer 276 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_SYNC_PACKET; buffer 277 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; buffer 278 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; buffer 285 drivers/char/xilinx_hwicap/xilinx_hwicap.c &buffer[0], index); buffer 295 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = hwicap_type_1_read(reg) | 1; buffer 296 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; buffer 297 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; buffer 304 drivers/char/xilinx_hwicap/xilinx_hwicap.c &buffer[0], index); buffer 32 drivers/connector/cn_proc.c static inline struct cn_msg *buffer_to_cn_msg(__u8 *buffer) buffer 35 drivers/connector/cn_proc.c return (struct cn_msg *)(buffer + 4); buffer 66 drivers/connector/cn_proc.c __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); buffer 72 drivers/connector/cn_proc.c msg = buffer_to_cn_msg(buffer); buffer 96 drivers/connector/cn_proc.c __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); buffer 101 drivers/connector/cn_proc.c msg = buffer_to_cn_msg(buffer); buffer 120 drivers/connector/cn_proc.c __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); buffer 126 drivers/connector/cn_proc.c msg = buffer_to_cn_msg(buffer); buffer 158 drivers/connector/cn_proc.c __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); buffer 163 drivers/connector/cn_proc.c msg = buffer_to_cn_msg(buffer); buffer 182 drivers/connector/cn_proc.c __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); buffer 187 drivers/connector/cn_proc.c msg = buffer_to_cn_msg(buffer); buffer 214 drivers/connector/cn_proc.c __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); buffer 219 drivers/connector/cn_proc.c msg = buffer_to_cn_msg(buffer); buffer 240 drivers/connector/cn_proc.c __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); buffer 245 drivers/connector/cn_proc.c msg = buffer_to_cn_msg(buffer); buffer 273 drivers/connector/cn_proc.c __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); buffer 278 drivers/connector/cn_proc.c msg = buffer_to_cn_msg(buffer); buffer 315 drivers/connector/cn_proc.c __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); buffer 320 drivers/connector/cn_proc.c msg = buffer_to_cn_msg(buffer); buffer 2598 drivers/cpufreq/intel_pstate.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 2604 drivers/cpufreq/intel_pstate.c status = acpi_evaluate_object(pr->handle, "_PSS", NULL, &buffer); buffer 2608 drivers/cpufreq/intel_pstate.c pss = buffer.pointer; buffer 251 drivers/cpufreq/pcc-cpufreq.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 263 drivers/cpufreq/pcc-cpufreq.c status = acpi_evaluate_object(pr->handle, "PCCP", NULL, &buffer); buffer 267 drivers/cpufreq/pcc-cpufreq.c pccp = buffer.pointer; buffer 296 drivers/cpufreq/pcc-cpufreq.c kfree(buffer.pointer); buffer 315 drivers/cpufreq/pcc-cpufreq.c in_params[0].buffer.length = 16; buffer 316 drivers/cpufreq/pcc-cpufreq.c in_params[0].buffer.pointer = OSC_UUID; buffer 322 drivers/cpufreq/pcc-cpufreq.c in_params[3].buffer.length = 8; buffer 323 drivers/cpufreq/pcc-cpufreq.c in_params[3].buffer.pointer = (u8 *)&capabilities; buffer 341 drivers/cpufreq/pcc-cpufreq.c errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); buffer 347 drivers/cpufreq/pcc-cpufreq.c supported = *((u32 *)(out_obj->buffer.pointer + 4)); buffer 370 drivers/cpufreq/pcc-cpufreq.c errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); buffer 376 drivers/cpufreq/pcc-cpufreq.c supported = *((u32 *)(out_obj->buffer.pointer + 4)); buffer 429 drivers/cpufreq/pcc-cpufreq.c mem_resource = (struct pcc_memory_resource *)member->buffer.pointer; buffer 485 drivers/cpufreq/pcc-cpufreq.c reg_resource = (struct pcc_register_resource *)member->buffer.pointer; buffer 106 drivers/crypto/atmel-sha.c u8 buffer[SHA_BUFFER_LEN + SHA512_BLOCK_SIZE] __aligned(sizeof(u32)); buffer 325 drivers/crypto/atmel-sha.c scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, ctx->sg, buffer 385 drivers/crypto/atmel-sha.c *(ctx->buffer + ctx->bufcnt) = 0x80; buffer 386 drivers/crypto/atmel-sha.c memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen-1); buffer 387 drivers/crypto/atmel-sha.c memcpy(ctx->buffer + ctx->bufcnt + padlen, bits, 16); buffer 395 drivers/crypto/atmel-sha.c *(ctx->buffer + ctx->bufcnt) = 0x80; buffer 396 drivers/crypto/atmel-sha.c memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen-1); buffer 397 drivers/crypto/atmel-sha.c memcpy(ctx->buffer + ctx->bufcnt + padlen, &bits[1], 8); buffer 566 drivers/crypto/atmel-sha.c const u32 *buffer = (const u32 *)buf; buffer 586 drivers/crypto/atmel-sha.c atmel_sha_write(dd, SHA_REG_DIN(count), buffer[count]); buffer 713 drivers/crypto/atmel-sha.c return atmel_sha_xmit_cpu(dd, ctx->buffer, bufcnt, 1); buffer 720 drivers/crypto/atmel-sha.c ctx->dma_addr = dma_map_single(dd->dev, ctx->buffer, buffer 811 drivers/crypto/atmel-sha.c ctx->dma_addr = dma_map_single(dd->dev, ctx->buffer, buffer 916 drivers/crypto/atmel-sha.c err = atmel_sha_xmit_cpu(dd, ctx->buffer, count, 1); buffer 1571 drivers/crypto/atmel-sha.c const u32 *words = (const u32 *)ctx->buffer; buffer 1597 drivers/crypto/atmel-sha.c scatterwalk_map_and_copy(ctx->buffer, ctx->sg, buffer 1643 drivers/crypto/atmel-sha.c scatterwalk_map_and_copy(ctx->buffer, ctx->sg, buffer 1679 drivers/crypto/atmel-sha.c u8 buffer[SHA512_BLOCK_SIZE]; buffer 1700 drivers/crypto/atmel-sha.c if (keylen > sizeof(hkey->buffer)) { buffer 1706 drivers/crypto/atmel-sha.c memcpy(hkey->buffer, key, keylen); buffer 1722 drivers/crypto/atmel-sha.c *key = (hkey->keydup) ? hkey->keydup : hkey->buffer; buffer 767 drivers/crypto/axis/artpec6_crypto.c void *buffer, unsigned int len, bool last) buffer 772 drivers/crypto/axis/artpec6_crypto.c ret = artpec6_crypto_dma_map_single(common, buffer, len, buffer 44 drivers/crypto/cavium/cpt/cptvf_reqmanager.c int buf_count, u8 *buffer) buffer 73 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr = (struct sglist_component *)buffer; buffer 33 drivers/crypto/ccree/cc_hash.h u8 buffer[AES_BLOCK_SIZE]; buffer 106 drivers/crypto/img-hash.c u8 buffer[0] __aligned(sizeof(u32)); buffer 193 drivers/crypto/img-hash.c const u32 *buffer = (const u32 *)buf; buffer 203 drivers/crypto/img-hash.c writel_relaxed(buffer[count], hdev->cpu_addr); buffer 214 drivers/crypto/img-hash.c img_hash_xmit_cpu(hdev, ctx->buffer, ctx->bufcnt, 0); buffer 257 drivers/crypto/img-hash.c ctx->buffer, hdev->req->nbytes); buffer 266 drivers/crypto/img-hash.c return img_hash_xmit_cpu(hdev, ctx->buffer, ctx->total, 1); buffer 400 drivers/crypto/img-hash.c ctx->buffer, bleft, ctx->sent); buffer 408 drivers/crypto/img-hash.c ctx->buffer + ctx->bufcnt, len, buffer 950 drivers/crypto/marvell/hash.c out_state->buffer); buffer 958 drivers/crypto/marvell/hash.c in_state->buffer); buffer 95 drivers/crypto/mediatek/mtk-sha.c u8 *buffer; buffer 204 drivers/crypto/mediatek/mtk-sha.c scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, ctx->sg, buffer 256 drivers/crypto/mediatek/mtk-sha.c *(ctx->buffer + ctx->bufcnt) = 0x80; buffer 257 drivers/crypto/mediatek/mtk-sha.c memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen - 1); buffer 258 drivers/crypto/mediatek/mtk-sha.c memcpy(ctx->buffer + ctx->bufcnt + padlen, bits, 16); buffer 266 drivers/crypto/mediatek/mtk-sha.c *(ctx->buffer + ctx->bufcnt) = 0x80; buffer 267 drivers/crypto/mediatek/mtk-sha.c memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen - 1); buffer 268 drivers/crypto/mediatek/mtk-sha.c memcpy(ctx->buffer + ctx->bufcnt + padlen, &bits[1], 8); buffer 408 drivers/crypto/mediatek/mtk-sha.c ctx->buffer = tctx->buf; buffer 413 drivers/crypto/mediatek/mtk-sha.c memcpy(ctx->buffer, bctx->ipad, ctx->bs); buffer 473 drivers/crypto/mediatek/mtk-sha.c ctx->dma_addr = dma_map_single(cryp->dev, ctx->buffer, buffer 562 drivers/crypto/mediatek/mtk-sha.c ctx->dma_addr = dma_map_single(cryp->dev, ctx->buffer, buffer 25 drivers/crypto/nx/nx-aes-xcbc.c u8 buffer[AES_BLOCK_SIZE]; buffer 190 drivers/crypto/nx/nx-aes-xcbc.c memcpy(sctx->buffer + sctx->count, data, len); buffer 231 drivers/crypto/nx/nx-aes-xcbc.c (u8 *) sctx->buffer, buffer 284 drivers/crypto/nx/nx-aes-xcbc.c memcpy(sctx->buffer, data, leftover); buffer 324 drivers/crypto/nx/nx-aes-xcbc.c in_sg = nx_build_sg_list(nx_ctx->in_sg, (u8 *)sctx->buffer, buffer 158 drivers/crypto/omap-sham.c u8 buffer[0] OMAP_ALIGNED; buffer 520 drivers/crypto/omap-sham.c const u32 *buffer; buffer 560 drivers/crypto/omap-sham.c buffer = mi.addr; buffer 563 drivers/crypto/omap-sham.c buffer[offset]); buffer 834 drivers/crypto/omap-sham.c scatterwalk_map_and_copy(rctx->buffer + rctx->bufcnt, req->src, buffer 842 drivers/crypto/omap-sham.c memcpy(rctx->dd->xmit_buf, rctx->buffer, rctx->bufcnt); buffer 887 drivers/crypto/omap-sham.c memcpy(rctx->buffer, rctx->buffer + xmit_len, buffer 893 drivers/crypto/omap-sham.c scatterwalk_map_and_copy(rctx->buffer + offset, buffer 985 drivers/crypto/omap-sham.c memcpy(ctx->buffer, bctx->ipad, bs); buffer 1207 drivers/crypto/omap-sham.c scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, req->src, buffer 1245 drivers/crypto/omap-sham.c ctx->buffer + offset, buffer 104 drivers/crypto/padlock-sha.c memcpy(state.buffer + leftover, in, count); buffer 105 drivers/crypto/padlock-sha.c in = state.buffer; buffer 307 drivers/crypto/padlock-sha.c memcpy(sctx->buffer + partial, data, buffer 309 drivers/crypto/padlock-sha.c src = sctx->buffer; buffer 329 drivers/crypto/padlock-sha.c memcpy(sctx->buffer + partial, src, len - done); buffer 154 drivers/crypto/qce/sha.c memcpy(out_state->buffer, rctx->buf, blocksize); buffer 170 drivers/crypto/qce/sha.c const u32 *state, const u8 *buffer, bool hmac) buffer 180 drivers/crypto/qce/sha.c memcpy(rctx->buf, buffer, blocksize); buffer 215 drivers/crypto/qce/sha.c state->buffer, hmac); buffer 372 drivers/crypto/s5p-sss.c u8 buffer[0]; buffer 1237 drivers/crypto/s5p-sss.c scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, req->src, buffer 1247 drivers/crypto/s5p-sss.c memcpy(ctx->dd->xmit_buf, ctx->buffer, ctx->bufcnt); buffer 1261 drivers/crypto/s5p-sss.c scatterwalk_map_and_copy(ctx->buffer, req->src, buffer 1514 drivers/crypto/s5p-sss.c scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, req->src, buffer 1551 drivers/crypto/s5p-sss.c ctx->buffer, ctx->bufcnt, req->result); buffer 144 drivers/crypto/stm32/stm32-hash.c u8 buffer[HASH_BUFLEN] __aligned(sizeof(u32)); buffer 312 drivers/crypto/stm32/stm32-hash.c scatterwalk_map_and_copy(rctx->buffer + rctx->bufcnt, rctx->sg, buffer 333 drivers/crypto/stm32/stm32-hash.c const u32 *buffer = (const u32 *)buf; buffer 360 drivers/crypto/stm32/stm32-hash.c stm32_hash_write(hdev, HASH_DIN, buffer[count]); buffer 392 drivers/crypto/stm32/stm32-hash.c err = stm32_hash_xmit_cpu(hdev, rctx->buffer, bufcnt, 0); buffer 400 drivers/crypto/stm32/stm32-hash.c err = stm32_hash_xmit_cpu(hdev, rctx->buffer, bufcnt, buffer 546 drivers/crypto/stm32/stm32-hash.c u32 *buffer = (void *)rctx->buffer; buffer 574 drivers/crypto/stm32/stm32-hash.c rctx->buffer, sg->length - len, buffer 612 drivers/crypto/stm32/stm32-hash.c memset(buffer + ncp, 0, buffer 614 drivers/crypto/stm32/stm32-hash.c writesl(hdev->io_base + HASH_DIN, buffer, buffer 714 drivers/crypto/stm32/stm32-hash.c memset(rctx->buffer, 0, HASH_BUFLEN); buffer 741 drivers/crypto/stm32/stm32-hash.c err = stm32_hash_xmit_cpu(hdev, rctx->buffer, buflen, 1); buffer 99 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memcpy(octx->buffer, op->buf, op->len); buffer 126 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memcpy(op->buf, ictx->buffer, op->len); buffer 237 drivers/crypto/ux500/hash/hash_alg.h u32 buffer[HASH_BLOCK_SIZE / sizeof(u32)]; buffer 765 drivers/crypto/ux500/hash/hash_core.c int msg_length, u8 *data_buffer, u8 *buffer, buffer 774 drivers/crypto/ux500/hash/hash_core.c buffer[*index + count] = buffer 783 drivers/crypto/ux500/hash/hash_core.c memmove(req_ctx->state.buffer, buffer 784 drivers/crypto/ux500/hash/hash_core.c device_data->state.buffer, buffer 818 drivers/crypto/ux500/hash/hash_core.c buffer[*index + count] = buffer 822 drivers/crypto/ux500/hash/hash_core.c (const u32 *)buffer, buffer 834 drivers/crypto/ux500/hash/hash_core.c memmove(device_data->state.buffer, buffer 835 drivers/crypto/ux500/hash/hash_core.c req_ctx->state.buffer, buffer 1027 drivers/crypto/ux500/hash/hash_core.c hash_messagepad(device_data, req_ctx->state.buffer, buffer 1068 drivers/crypto/ux500/hash/hash_core.c u8 *buffer; buffer 1082 drivers/crypto/ux500/hash/hash_core.c buffer = (u8 *)req_ctx->state.buffer; buffer 1100 drivers/crypto/ux500/hash/hash_core.c data_buffer, buffer, &index); buffer 41 drivers/crypto/vmx/ghash.c u8 buffer[GHASH_DIGEST_SIZE]; buffer 83 drivers/crypto/vmx/ghash.c dctx->buffer, GHASH_DIGEST_SIZE); buffer 88 drivers/crypto/vmx/ghash.c crypto_xor((u8 *)dctx->shash, dctx->buffer, GHASH_BLOCK_SIZE); buffer 125 drivers/crypto/vmx/ghash.c memcpy(dctx->buffer + dctx->bytes, src, buffer 130 drivers/crypto/vmx/ghash.c memcpy(dctx->buffer + dctx->bytes, src, buffer 146 drivers/crypto/vmx/ghash.c memcpy(dctx->buffer, src, srclen); buffer 160 drivers/crypto/vmx/ghash.c dctx->buffer[i] = 0; buffer 41 drivers/dma-buf/dma-buf.c static char *dmabuffs_dname(struct dentry *dentry, char *buffer, int buflen) buffer 53 drivers/dma-buf/dma-buf.c return dynamic_dname(dentry, buffer, buflen, "/%s:%s", buffer 176 drivers/dma/ep93xx_dma.c int buffer; buffer 328 drivers/dma/ep93xx_dma.c edmac->buffer = 0; buffer 377 drivers/dma/ep93xx_dma.c if (edmac->buffer == 0) { buffer 385 drivers/dma/ep93xx_dma.c edmac->buffer ^= 1; buffer 534 drivers/dma/ep93xx_dma.c if (edmac->buffer == 0) { buffer 544 drivers/dma/ep93xx_dma.c edmac->buffer ^= 1; buffer 963 drivers/dma/ep93xx_dma.c edmac->buffer = 0; buffer 118 drivers/edac/edac_device_sysfs.c struct attribute *attr, char *buffer) buffer 124 drivers/edac/edac_device_sysfs.c return ctl_info_attr->show(edac_dev, buffer); buffer 131 drivers/edac/edac_device_sysfs.c const char *buffer, size_t count) buffer 137 drivers/edac/edac_device_sysfs.c return ctl_info_attr->store(edac_dev, buffer, count); buffer 346 drivers/edac/edac_device_sysfs.c struct attribute *attr, char *buffer) buffer 352 drivers/edac/edac_device_sysfs.c return instance_attr->show(instance, buffer); buffer 359 drivers/edac/edac_device_sysfs.c const char *buffer, size_t count) buffer 365 drivers/edac/edac_device_sysfs.c return instance_attr->store(instance, buffer, count); buffer 448 drivers/edac/edac_device_sysfs.c struct attribute *attr, char *buffer) buffer 454 drivers/edac/edac_device_sysfs.c return block_attr->show(kobj, attr, buffer); buffer 461 drivers/edac/edac_device_sysfs.c const char *buffer, size_t count) buffer 468 drivers/edac/edac_device_sysfs.c return block_attr->store(kobj, attr, buffer, count); buffer 88 drivers/edac/edac_mc.c static int edac_report_get(char *buffer, const struct kernel_param *kp) buffer 94 drivers/edac/edac_mc.c ret = sprintf(buffer, "on"); buffer 97 drivers/edac/edac_mc.c ret = sprintf(buffer, "off"); buffer 100 drivers/edac/edac_mc.c ret = sprintf(buffer, "force"); buffer 98 drivers/edac/edac_pci_sysfs.c struct attribute *attr, char *buffer) buffer 104 drivers/edac/edac_pci_sysfs.c return instance_attr->show(pci, buffer); buffer 111 drivers/edac/edac_pci_sysfs.c const char *buffer, size_t count) buffer 117 drivers/edac/edac_pci_sysfs.c return instance_attr->store(pci, buffer, count); buffer 214 drivers/edac/edac_pci_sysfs.c static ssize_t edac_pci_int_show(void *ptr, char *buffer) buffer 217 drivers/edac/edac_pci_sysfs.c return sprintf(buffer, "%d\n", *value); buffer 220 drivers/edac/edac_pci_sysfs.c static ssize_t edac_pci_int_store(void *ptr, const char *buffer, size_t count) buffer 224 drivers/edac/edac_pci_sysfs.c if (isdigit(*buffer)) buffer 225 drivers/edac/edac_pci_sysfs.c *value = simple_strtoul(buffer, NULL, 0); buffer 239 drivers/edac/edac_pci_sysfs.c char *buffer) buffer 245 drivers/edac/edac_pci_sysfs.c return edac_pci_dev->show(edac_pci_dev->value, buffer); buffer 250 drivers/edac/edac_pci_sysfs.c struct attribute *attr, const char *buffer, buffer 257 drivers/edac/edac_pci_sysfs.c return edac_pci_dev->store(edac_pci_dev->value, buffer, count); buffer 313 drivers/edac/ppc4xx_edac.c char *buffer, buffer 319 drivers/edac/ppc4xx_edac.c n = snprintf(buffer, size, "%s: Banks: ", mci->dev_name); buffer 324 drivers/edac/ppc4xx_edac.c buffer += n; buffer 330 drivers/edac/ppc4xx_edac.c n = snprintf(buffer, size, "%s%u", buffer 336 drivers/edac/ppc4xx_edac.c buffer += n; buffer 342 drivers/edac/ppc4xx_edac.c n = snprintf(buffer, size, "%s; ", rows ? "" : "None"); buffer 347 drivers/edac/ppc4xx_edac.c buffer += n; buffer 375 drivers/edac/ppc4xx_edac.c char *buffer, buffer 410 drivers/edac/ppc4xx_edac.c return snprintf(buffer, size, "Checkbit Error: %s", ckber); buffer 433 drivers/edac/ppc4xx_edac.c char *buffer, buffer 441 drivers/edac/ppc4xx_edac.c n = snprintf(buffer, size, "; Byte Lane Errors: "); buffer 446 drivers/edac/ppc4xx_edac.c buffer += n; buffer 452 drivers/edac/ppc4xx_edac.c n = snprintf(buffer, size, buffer 459 drivers/edac/ppc4xx_edac.c buffer += n; buffer 465 drivers/edac/ppc4xx_edac.c n = snprintf(buffer, size, "%s; ", lanes ? "" : "None"); buffer 470 drivers/edac/ppc4xx_edac.c buffer += n; buffer 498 drivers/edac/ppc4xx_edac.c char *buffer, buffer 503 drivers/edac/ppc4xx_edac.c n = ppc4xx_edac_generate_bank_message(mci, status, buffer, size); buffer 508 drivers/edac/ppc4xx_edac.c buffer += n; buffer 512 drivers/edac/ppc4xx_edac.c n = ppc4xx_edac_generate_checkbit_message(mci, status, buffer, size); buffer 517 drivers/edac/ppc4xx_edac.c buffer += n; buffer 521 drivers/edac/ppc4xx_edac.c n = ppc4xx_edac_generate_lane_message(mci, status, buffer, size); buffer 526 drivers/edac/ppc4xx_edac.c buffer += n; buffer 554 drivers/edac/ppc4xx_edac.c char *buffer, buffer 570 drivers/edac/ppc4xx_edac.c return snprintf(buffer, size, buffer 595 drivers/edac/ppc4xx_edac.c char *buffer, buffer 600 drivers/edac/ppc4xx_edac.c if (buffer == NULL || size == 0) buffer 603 drivers/edac/ppc4xx_edac.c n = ppc4xx_edac_generate_ecc_message(mci, status, buffer, size); buffer 608 drivers/edac/ppc4xx_edac.c buffer += n; buffer 611 drivers/edac/ppc4xx_edac.c ppc4xx_edac_generate_plb_message(mci, status, buffer, size); buffer 631 drivers/firewire/core-card.c struct fw_iso_buffer *buffer, unsigned long payload) buffer 60 drivers/firewire/core-cdev.c struct fw_iso_buffer buffer; buffer 292 drivers/firewire/core-cdev.c char __user *buffer, size_t count) buffer 316 drivers/firewire/core-cdev.c if (copy_to_user(buffer + total, event->v[i].data, size)) { buffer 330 drivers/firewire/core-cdev.c static ssize_t fw_device_op_read(struct file *file, char __user *buffer, buffer 335 drivers/firewire/core-cdev.c return dequeue_event(client, buffer, count); buffer 942 drivers/firewire/core-cdev.c e->interrupt.completed = fw_iso_buffer_lookup(&client->buffer, buffer 1008 drivers/firewire/core-cdev.c ret = fw_iso_buffer_map_dma(&client->buffer, buffer 1073 drivers/firewire/core-cdev.c buffer_end = client->buffer.page_count << PAGE_SHIFT; buffer 1074 drivers/firewire/core-cdev.c if (a->data == 0 || client->buffer.pages == NULL || buffer 1133 drivers/firewire/core-cdev.c &client->buffer, payload)) buffer 1615 drivers/firewire/core-cdev.c union ioctl_arg buffer; buffer 1623 drivers/firewire/core-cdev.c _IOC_SIZE(cmd) > sizeof(buffer)) buffer 1626 drivers/firewire/core-cdev.c memset(&buffer, 0, sizeof(buffer)); buffer 1629 drivers/firewire/core-cdev.c if (copy_from_user(&buffer, arg, _IOC_SIZE(cmd))) buffer 1632 drivers/firewire/core-cdev.c ret = ioctl_handlers[_IOC_NR(cmd)](client, &buffer); buffer 1637 drivers/firewire/core-cdev.c if (copy_to_user(arg, &buffer, _IOC_SIZE(cmd))) buffer 1667 drivers/firewire/core-cdev.c if (client->buffer.pages != NULL) buffer 1682 drivers/firewire/core-cdev.c ret = fw_iso_buffer_alloc(&client->buffer, page_count); buffer 1688 drivers/firewire/core-cdev.c ret = fw_iso_buffer_map_dma(&client->buffer, buffer 1697 drivers/firewire/core-cdev.c ret = fw_iso_buffer_map_vma(&client->buffer, vma); buffer 1703 drivers/firewire/core-cdev.c fw_iso_buffer_destroy(&client->buffer, client->device->card); buffer 1753 drivers/firewire/core-cdev.c if (client->buffer.pages) buffer 1754 drivers/firewire/core-cdev.c fw_iso_buffer_destroy(&client->buffer, client->device->card); buffer 198 drivers/firewire/core-device.c static int get_modalias(struct fw_unit *unit, char *buffer, size_t buffer_size) buffer 204 drivers/firewire/core-device.c return snprintf(buffer, buffer_size, buffer 29 drivers/firewire/core-iso.c int fw_iso_buffer_alloc(struct fw_iso_buffer *buffer, int page_count) buffer 33 drivers/firewire/core-iso.c buffer->page_count = 0; buffer 34 drivers/firewire/core-iso.c buffer->page_count_mapped = 0; buffer 35 drivers/firewire/core-iso.c buffer->pages = kmalloc_array(page_count, sizeof(buffer->pages[0]), buffer 37 drivers/firewire/core-iso.c if (buffer->pages == NULL) buffer 41 drivers/firewire/core-iso.c buffer->pages[i] = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); buffer 42 drivers/firewire/core-iso.c if (buffer->pages[i] == NULL) buffer 45 drivers/firewire/core-iso.c buffer->page_count = i; buffer 47 drivers/firewire/core-iso.c fw_iso_buffer_destroy(buffer, NULL); buffer 54 drivers/firewire/core-iso.c int fw_iso_buffer_map_dma(struct fw_iso_buffer *buffer, struct fw_card *card, buffer 60 drivers/firewire/core-iso.c buffer->direction = direction; buffer 62 drivers/firewire/core-iso.c for (i = 0; i < buffer->page_count; i++) { buffer 63 drivers/firewire/core-iso.c address = dma_map_page(card->device, buffer->pages[i], buffer 68 drivers/firewire/core-iso.c set_page_private(buffer->pages[i], address); buffer 70 drivers/firewire/core-iso.c buffer->page_count_mapped = i; buffer 71 drivers/firewire/core-iso.c if (i < buffer->page_count) buffer 77 drivers/firewire/core-iso.c int fw_iso_buffer_init(struct fw_iso_buffer *buffer, struct fw_card *card, buffer 82 drivers/firewire/core-iso.c ret = fw_iso_buffer_alloc(buffer, page_count); buffer 86 drivers/firewire/core-iso.c ret = fw_iso_buffer_map_dma(buffer, card, direction); buffer 88 drivers/firewire/core-iso.c fw_iso_buffer_destroy(buffer, card); buffer 94 drivers/firewire/core-iso.c int fw_iso_buffer_map_vma(struct fw_iso_buffer *buffer, buffer 97 drivers/firewire/core-iso.c return vm_map_pages_zero(vma, buffer->pages, buffer 98 drivers/firewire/core-iso.c buffer->page_count); buffer 101 drivers/firewire/core-iso.c void fw_iso_buffer_destroy(struct fw_iso_buffer *buffer, buffer 107 drivers/firewire/core-iso.c for (i = 0; i < buffer->page_count_mapped; i++) { buffer 108 drivers/firewire/core-iso.c address = page_private(buffer->pages[i]); buffer 110 drivers/firewire/core-iso.c PAGE_SIZE, buffer->direction); buffer 112 drivers/firewire/core-iso.c for (i = 0; i < buffer->page_count; i++) buffer 113 drivers/firewire/core-iso.c __free_page(buffer->pages[i]); buffer 115 drivers/firewire/core-iso.c kfree(buffer->pages); buffer 116 drivers/firewire/core-iso.c buffer->pages = NULL; buffer 117 drivers/firewire/core-iso.c buffer->page_count = 0; buffer 118 drivers/firewire/core-iso.c buffer->page_count_mapped = 0; buffer 123 drivers/firewire/core-iso.c size_t fw_iso_buffer_lookup(struct fw_iso_buffer *buffer, dma_addr_t completed) buffer 129 drivers/firewire/core-iso.c for (i = 0; i < buffer->page_count; i++) { buffer 130 drivers/firewire/core-iso.c address = page_private(buffer->pages[i]); buffer 182 drivers/firewire/core-iso.c struct fw_iso_buffer *buffer, buffer 185 drivers/firewire/core-iso.c return ctx->card->driver->queue_iso(ctx, packet, buffer, payload); buffer 106 drivers/firewire/core.h struct fw_iso_buffer *buffer, buffer 158 drivers/firewire/core.h int fw_iso_buffer_alloc(struct fw_iso_buffer *buffer, int page_count); buffer 159 drivers/firewire/core.h int fw_iso_buffer_map_dma(struct fw_iso_buffer *buffer, struct fw_card *card, buffer 161 drivers/firewire/core.h int fw_iso_buffer_map_vma(struct fw_iso_buffer *buffer, buffer 50 drivers/firewire/nosy.c } buffer[13]; buffer 107 drivers/firewire/nosy.c struct packet_buffer buffer; buffer 115 drivers/firewire/nosy.c packet_buffer_init(struct packet_buffer *buffer, size_t capacity) buffer 117 drivers/firewire/nosy.c buffer->data = kmalloc(capacity, GFP_KERNEL); buffer 118 drivers/firewire/nosy.c if (buffer->data == NULL) buffer 120 drivers/firewire/nosy.c buffer->head = (struct packet *) buffer->data; buffer 121 drivers/firewire/nosy.c buffer->tail = (struct packet *) buffer->data; buffer 122 drivers/firewire/nosy.c buffer->capacity = capacity; buffer 123 drivers/firewire/nosy.c buffer->lost_packet_count = 0; buffer 124 drivers/firewire/nosy.c atomic_set(&buffer->size, 0); buffer 125 drivers/firewire/nosy.c init_waitqueue_head(&buffer->wait); buffer 131 drivers/firewire/nosy.c packet_buffer_destroy(struct packet_buffer *buffer) buffer 133 drivers/firewire/nosy.c kfree(buffer->data); buffer 139 drivers/firewire/nosy.c struct packet_buffer *buffer = &client->buffer; buffer 143 drivers/firewire/nosy.c if (wait_event_interruptible(buffer->wait, buffer 144 drivers/firewire/nosy.c atomic_read(&buffer->size) > 0) || buffer 148 drivers/firewire/nosy.c if (atomic_read(&buffer->size) == 0) buffer 153 drivers/firewire/nosy.c end = buffer->data + buffer->capacity; buffer 154 drivers/firewire/nosy.c length = buffer->head->length; buffer 156 drivers/firewire/nosy.c if (&buffer->head->data[length] < end) { buffer 157 drivers/firewire/nosy.c if (copy_to_user(data, buffer->head->data, length)) buffer 159 drivers/firewire/nosy.c buffer->head = (struct packet *) &buffer->head->data[length]; buffer 161 drivers/firewire/nosy.c size_t split = end - buffer->head->data; buffer 163 drivers/firewire/nosy.c if (copy_to_user(data, buffer->head->data, split)) buffer 165 drivers/firewire/nosy.c if (copy_to_user(data + split, buffer->data, length - split)) buffer 167 drivers/firewire/nosy.c buffer->head = (struct packet *) &buffer->data[length - split]; buffer 175 drivers/firewire/nosy.c atomic_sub(sizeof(struct packet) + length, &buffer->size); buffer 181 drivers/firewire/nosy.c packet_buffer_put(struct packet_buffer *buffer, void *data, size_t length) buffer 185 drivers/firewire/nosy.c buffer->total_packet_count++; buffer 187 drivers/firewire/nosy.c if (buffer->capacity < buffer 188 drivers/firewire/nosy.c atomic_read(&buffer->size) + sizeof(struct packet) + length) { buffer 189 drivers/firewire/nosy.c buffer->lost_packet_count++; buffer 193 drivers/firewire/nosy.c end = buffer->data + buffer->capacity; buffer 194 drivers/firewire/nosy.c buffer->tail->length = length; buffer 196 drivers/firewire/nosy.c if (&buffer->tail->data[length] < end) { buffer 197 drivers/firewire/nosy.c memcpy(buffer->tail->data, data, length); buffer 198 drivers/firewire/nosy.c buffer->tail = (struct packet *) &buffer->tail->data[length]; buffer 200 drivers/firewire/nosy.c size_t split = end - buffer->tail->data; buffer 202 drivers/firewire/nosy.c memcpy(buffer->tail->data, data, split); buffer 203 drivers/firewire/nosy.c memcpy(buffer->data, data + split, length - split); buffer 204 drivers/firewire/nosy.c buffer->tail = (struct packet *) &buffer->data[length - split]; buffer 209 drivers/firewire/nosy.c atomic_add(sizeof(struct packet) + length, &buffer->size); buffer 210 drivers/firewire/nosy.c wake_up_interruptible(&buffer->wait); buffer 288 drivers/firewire/nosy.c if (packet_buffer_init(&client->buffer, 128 * 1024) < 0) buffer 311 drivers/firewire/nosy.c packet_buffer_destroy(&client->buffer); buffer 324 drivers/firewire/nosy.c poll_wait(file, &client->buffer.wait, pt); buffer 326 drivers/firewire/nosy.c if (atomic_read(&client->buffer.size) > 0) buffer 336 drivers/firewire/nosy.c nosy_read(struct file *file, char __user *buffer, size_t count, loff_t *offset) buffer 340 drivers/firewire/nosy.c return packet_buffer_get(client, buffer, count); buffer 353 drivers/firewire/nosy.c stats.total_packet_count = client->buffer.total_packet_count; buffer 354 drivers/firewire/nosy.c stats.lost_packet_count = client->buffer.lost_packet_count; buffer 426 drivers/firewire/nosy.c packet_buffer_put(&client->buffer, buffer 445 drivers/firewire/nosy.c packet_buffer_put(&client->buffer, ×tamp, 4); buffer 506 drivers/firewire/nosy.c wake_up_interruptible(&client->buffer.wait); buffer 579 drivers/firewire/nosy.c lynx->rcv_pcl->buffer[0].control = buffer 581 drivers/firewire/nosy.c lynx->rcv_pcl->buffer[0].pointer = buffer 586 drivers/firewire/nosy.c lynx->rcv_pcl->buffer[i].control = buffer 588 drivers/firewire/nosy.c lynx->rcv_pcl->buffer[i].pointer = cpu_to_le32(p); buffer 590 drivers/firewire/nosy.c lynx->rcv_pcl->buffer[i - 1].control |= cpu_to_le32(PCL_LAST_BUFF); buffer 90 drivers/firewire/ohci.c void *buffer; buffer 114 drivers/firewire/ohci.c struct descriptor buffer[0]; buffer 679 drivers/firewire/ohci.c vunmap(ctx->buffer); buffer 798 drivers/firewire/ohci.c static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer) buffer 805 drivers/firewire/ohci.c p.header[0] = cond_le32_to_cpu(buffer[0]); buffer 806 drivers/firewire/ohci.c p.header[1] = cond_le32_to_cpu(buffer[1]); buffer 807 drivers/firewire/ohci.c p.header[2] = cond_le32_to_cpu(buffer[2]); buffer 813 drivers/firewire/ohci.c p.header[3] = (__force __u32) buffer[3]; buffer 819 drivers/firewire/ohci.c p.header[3] = cond_le32_to_cpu(buffer[3]); buffer 828 drivers/firewire/ohci.c p.header[3] = cond_le32_to_cpu(buffer[3]); buffer 849 drivers/firewire/ohci.c p.payload = (void *) buffer + p.header_length; buffer 853 drivers/firewire/ohci.c status = cond_le32_to_cpu(buffer[length]); buffer 893 drivers/firewire/ohci.c return buffer + length + 1; buffer 937 drivers/firewire/ohci.c end = ctx->buffer + end_buffer_index * PAGE_SIZE + end_buffer_offset; buffer 946 drivers/firewire/ohci.c void *buffer_end = ctx->buffer + AR_BUFFERS * PAGE_SIZE; buffer 1000 drivers/firewire/ohci.c ctx->buffer = vmap(pages, ARRAY_SIZE(pages), VM_MAP, PAGE_KERNEL); buffer 1001 drivers/firewire/ohci.c if (!ctx->buffer) buffer 1033 drivers/firewire/ohci.c ctx->pointer = ctx->buffer; buffer 1076 drivers/firewire/ohci.c d = desc->buffer + (address - desc->buffer_bus) / sizeof(*d); buffer 1117 drivers/firewire/ohci.c offset = (void *)&desc->buffer - (void *)desc; buffer 1156 drivers/firewire/ohci.c memset(ctx->buffer_tail->buffer, 0, sizeof(*ctx->buffer_tail->buffer)); buffer 1157 drivers/firewire/ohci.c ctx->buffer_tail->buffer->control = cpu_to_le16(DESCRIPTOR_OUTPUT_LAST); buffer 1158 drivers/firewire/ohci.c ctx->buffer_tail->buffer->transfer_status = cpu_to_le16(0x8011); buffer 1159 drivers/firewire/ohci.c ctx->buffer_tail->used += sizeof(*ctx->buffer_tail->buffer); buffer 1160 drivers/firewire/ohci.c ctx->last = ctx->buffer_tail->buffer; buffer 1161 drivers/firewire/ohci.c ctx->prev = ctx->buffer_tail->buffer; buffer 1175 drivers/firewire/ohci.c ((void *)&desc->buffer - (void *)desc)); buffer 1203 drivers/firewire/ohci.c d = desc->buffer + desc->used / sizeof(*d); buffer 1229 drivers/firewire/ohci.c d_bus = desc->buffer_bus + (d - desc->buffer) * sizeof(*d); buffer 3194 drivers/firewire/ohci.c struct fw_iso_buffer *buffer, buffer 3270 drivers/firewire/ohci.c page_bus = page_private(buffer->pages[page]); buffer 3298 drivers/firewire/ohci.c struct fw_iso_buffer *buffer, buffer 3353 drivers/firewire/ohci.c page_bus = page_private(buffer->pages[page]); buffer 3379 drivers/firewire/ohci.c struct fw_iso_buffer *buffer, buffer 3393 drivers/firewire/ohci.c if (WARN_ON(offset & 3 || rest & 3 || page + z > buffer->page_count)) buffer 3416 drivers/firewire/ohci.c page_bus = page_private(buffer->pages[page]); buffer 3435 drivers/firewire/ohci.c struct fw_iso_buffer *buffer, buffer 3445 drivers/firewire/ohci.c ret = queue_iso_transmit(ctx, packet, buffer, payload); buffer 3448 drivers/firewire/ohci.c ret = queue_iso_packet_per_buffer(ctx, packet, buffer, payload); buffer 3451 drivers/firewire/ohci.c ret = queue_iso_buffer_fill(ctx, packet, buffer, payload); buffer 72 drivers/firmware/dmi-id.c static ssize_t get_modalias(char *buffer, size_t buffer_size) buffer 97 drivers/firmware/dmi-id.c strcpy(buffer, "dmi"); buffer 98 drivers/firmware/dmi-id.c p = buffer + 3; left = buffer_size - 4; buffer 122 drivers/firmware/dmi-id.c return p - buffer + 1; buffer 40 drivers/firmware/efi/vars.c validate_device_path(efi_char16_t *var_name, int match, u8 *buffer, buffer 46 drivers/firmware/efi/vars.c node = (struct efi_generic_dev_path *)buffer; buffer 61 drivers/firmware/efi/vars.c node = (struct efi_generic_dev_path *)(buffer + offset); buffer 73 drivers/firmware/efi/vars.c validate_boot_order(efi_char16_t *var_name, int match, u8 *buffer, buffer 84 drivers/firmware/efi/vars.c validate_load_option(efi_char16_t *var_name, int match, u8 *buffer, buffer 107 drivers/firmware/efi/vars.c filepathlength = buffer[4] | buffer[5] << 8; buffer 113 drivers/firmware/efi/vars.c desclength = ucs2_strsize((efi_char16_t *)(buffer + 6), len - 6) + 2; buffer 130 drivers/firmware/efi/vars.c return validate_device_path(var_name, match, buffer + desclength + 6, buffer 135 drivers/firmware/efi/vars.c validate_uint16(efi_char16_t *var_name, int match, u8 *buffer, buffer 146 drivers/firmware/efi/vars.c validate_ascii_string(efi_char16_t *var_name, int match, u8 *buffer, buffer 152 drivers/firmware/efi/vars.c if (buffer[i] > 127) buffer 155 drivers/firmware/efi/vars.c if (buffer[i] == 0) buffer 140 drivers/firmware/meson/meson_sm.c int meson_sm_call_read(void *buffer, unsigned int bsize, unsigned int cmd_index, buffer 166 drivers/firmware/meson/meson_sm.c if (buffer) buffer 167 drivers/firmware/meson/meson_sm.c memcpy(buffer, fw.sm_shmem_out_base, size); buffer 187 drivers/firmware/meson/meson_sm.c int meson_sm_call_write(void *buffer, unsigned int size, unsigned int cmd_index, buffer 201 drivers/firmware/meson/meson_sm.c memcpy(fw.sm_shmem_in_base, buffer, size); buffer 64 drivers/fsi/fsi-occ.c u8 *buffer; buffer 80 drivers/fsi/fsi-occ.c client->buffer = (u8 *)__get_free_page(GFP_KERNEL); buffer 81 drivers/fsi/fsi-occ.c if (!client->buffer) { buffer 119 drivers/fsi/fsi-occ.c if (copy_to_user(buf, client->buffer + client->read_offset, rc)) buffer 148 drivers/fsi/fsi-occ.c cmd = client->buffer; buffer 203 drivers/fsi/fsi-occ.c free_page((unsigned long)client->buffer); buffer 31 drivers/gpio/gpio-74x164.c u8 buffer[]; buffer 36 drivers/gpio/gpio-74x164.c return spi_write(to_spi_device(chip->gpio_chip.parent), chip->buffer, buffer 48 drivers/gpio/gpio-74x164.c ret = (chip->buffer[bank] >> pin) & 0x1; buffer 63 drivers/gpio/gpio-74x164.c chip->buffer[bank] |= (1 << pin); buffer 65 drivers/gpio/gpio-74x164.c chip->buffer[bank] &= ~(1 << pin); buffer 87 drivers/gpio/gpio-74x164.c chip->buffer[bank] &= ~bankmask; buffer 88 drivers/gpio/gpio-74x164.c chip->buffer[bank] |= bankmask & (bits[idx] >> shift); buffer 38 drivers/gpio/gpio-pisosr.c u8 *buffer; buffer 57 drivers/gpio/gpio-pisosr.c ret = spi_read(gpio->spi, gpio->buffer, gpio->buffer_size); buffer 92 drivers/gpio/gpio-pisosr.c return (gpio->buffer[offset / 8] >> (offset % 8)) & 0x1; buffer 107 drivers/gpio/gpio-pisosr.c bits[j] |= ((unsigned long) gpio->buffer[i]) buffer 146 drivers/gpio/gpio-pisosr.c gpio->buffer = devm_kzalloc(dev, gpio->buffer_size, GFP_KERNEL); buffer 147 drivers/gpio/gpio-pisosr.c if (!gpio->buffer) buffer 32 drivers/gpio/gpio-tpic2810.c u8 buffer; buffer 63 drivers/gpio/gpio-tpic2810.c u8 buffer; buffer 68 drivers/gpio/gpio-tpic2810.c buffer = gpio->buffer & ~mask; buffer 69 drivers/gpio/gpio-tpic2810.c buffer |= (mask & bits); buffer 72 drivers/gpio/gpio-tpic2810.c buffer); buffer 74 drivers/gpio/gpio-tpic2810.c gpio->buffer = buffer; buffer 90 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 100 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c atif_arg_elements[1].buffer.length = params->length; buffer 101 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c atif_arg_elements[1].buffer.pointer = params->pointer; buffer 109 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c &buffer); buffer 115 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c kfree(buffer.pointer); buffer 119 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c return buffer.pointer; buffer 187 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = *(u16 *) info->buffer.pointer; buffer 195 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c memcpy(&output, info->buffer.pointer, size); buffer 212 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c struct acpi_buffer buffer = { sizeof(acpi_method_name), acpi_method_name }; buffer 232 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); buffer 264 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = *(u16 *) info->buffer.pointer; buffer 272 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c memcpy(¶ms, info->buffer.pointer, size); buffer 340 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = *(u16 *) info->buffer.pointer; buffer 348 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c memcpy(&characteristics, info->buffer.pointer, size); buffer 383 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = *(u16 *)info->buffer.pointer; buffer 391 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c memcpy(req, info->buffer.pointer, size); buffer 504 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 514 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c atcs_arg_elements[1].buffer.length = params->length; buffer 515 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c atcs_arg_elements[1].buffer.pointer = params->pointer; buffer 522 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c status = acpi_evaluate_object(handle, "ATCS", &atcs_arg, &buffer); buffer 528 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c kfree(buffer.pointer); buffer 532 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c return buffer.pointer; buffer 578 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = *(u16 *) info->buffer.pointer; buffer 586 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c memcpy(&output, info->buffer.pointer, size); buffer 703 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = *(u16 *) info->buffer.pointer; buffer 711 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c memcpy(&atcs_output, info->buffer.pointer, size); buffer 114 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 124 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c atpx_arg_elements[1].buffer.length = params->length; buffer 125 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c atpx_arg_elements[1].buffer.pointer = params->pointer; buffer 132 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c status = acpi_evaluate_object(handle, NULL, &atpx_arg, &buffer); buffer 138 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c kfree(buffer.pointer); buffer 142 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c return buffer.pointer; buffer 190 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c size = *(u16 *) info->buffer.pointer; buffer 198 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c memcpy(&output, info->buffer.pointer, size); buffer 269 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c size = *(u16 *) info->buffer.pointer; buffer 277 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c memcpy(&output, info->buffer.pointer, size); buffer 609 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c struct acpi_buffer buffer = {sizeof(acpi_method_name), acpi_method_name}; buffer 637 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c acpi_get_name(amdgpu_atpx_priv.atpx.handle, ACPI_FULL_PATHNAME, &buffer); buffer 245 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL}; buffer 256 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c status = acpi_evaluate_object(atrm_handle, NULL, &atrm_arg, &buffer); buffer 262 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c obj = (union acpi_object *)buffer.pointer; buffer 263 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c memcpy(bios+offset, obj->buffer.pointer, obj->buffer.length); buffer 264 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c len = obj->buffer.length; buffer 265 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c kfree(buffer.pointer); buffer 1181 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c void *buffer; buffer 1195 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c buffer = kmemdup(metadata, metadata_size, GFP_KERNEL); buffer 1196 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (buffer == NULL) buffer 1201 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c bo->metadata = buffer; buffer 1222 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c int amdgpu_bo_get_metadata(struct amdgpu_bo *bo, void *buffer, buffer 1226 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (!buffer && !metadata_size) buffer 1229 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (buffer) { buffer 1234 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c memcpy(buffer, bo->metadata, bo->metadata_size); buffer 264 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h int amdgpu_bo_get_metadata(struct amdgpu_bo *bo, void *buffer, buffer 123 drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h void (*get_csb_buffer)(struct amdgpu_device *adev, volatile u32 *buffer); buffer 156 drivers/gpu/drm/amd/amdgpu/atombios_dp.c memcpy(tx_buf + HEADER_SIZE, msg->buffer, msg->size); buffer 174 drivers/gpu/drm/amd/amdgpu/atombios_dp.c tx_buf, tx_size, msg->buffer, msg->size, delay, &ack); buffer 1501 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c void *buffer, size_t size) buffer 1507 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c uint8_t *frame = buffer + 3; buffer 1508 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c uint8_t *header = buffer; buffer 1558 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AVI_INFOFRAME_SIZE]; buffer 1698 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 1704 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c dce_v10_0_afmt_update_avi_infoframe(encoder, buffer, sizeof(buffer)); buffer 1543 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c void *buffer, size_t size) buffer 1549 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c uint8_t *frame = buffer + 3; buffer 1550 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c uint8_t *header = buffer; buffer 1600 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AVI_INFOFRAME_SIZE]; buffer 1740 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 1746 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c dce_v11_0_afmt_update_avi_infoframe(encoder, buffer, sizeof(buffer)); buffer 1437 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AVI_INFOFRAME_SIZE]; buffer 1438 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c uint8_t *payload = buffer + 3; buffer 1439 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c uint8_t *header = buffer; buffer 1449 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 1451 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c void *buffer, size_t size) buffer 1458 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c uint8_t *frame = buffer + 3; buffer 1459 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c uint8_t *header = buffer; buffer 1505 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AVI_INFOFRAME_SIZE]; buffer 1632 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 1638 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c dce_v8_0_afmt_update_avi_infoframe(encoder, buffer, sizeof(buffer)); buffer 917 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c volatile u32 *buffer) buffer 926 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (buffer == NULL) buffer 929 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 930 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); buffer 932 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); buffer 933 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 934 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 939 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = buffer 941 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(ext->reg_index - buffer 944 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(ext->extent[i]); buffer 953 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 1)); buffer 954 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(ctx_reg_offset); buffer 955 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(adev->gfx.config.pa_sc_tile_steering_override); buffer 957 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 958 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE); buffer 960 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0)); buffer 961 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c buffer[count++] = cpu_to_le32(0); buffer 75 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c static void gfx_v6_0_get_csb_buffer(struct amdgpu_device *adev, volatile u32 *buffer); buffer 2879 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c volatile u32 *buffer) buffer 2887 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if (buffer == NULL) buffer 2890 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 2891 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); buffer 2892 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); buffer 2893 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 2894 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 2899 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = buffer 2901 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(ext->reg_index - 0xa000); buffer 2903 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(ext->extent[i]); buffer 2910 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 1)); buffer 2911 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(mmPA_SC_RASTER_CONFIG - PACKET3_SET_CONTEXT_REG_START); buffer 2912 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(adev->gfx.config.rb_config[0][0].raster_config); buffer 2914 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 2915 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE); buffer 2917 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0)); buffer 2918 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c buffer[count++] = cpu_to_le32(0); buffer 886 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c static void gfx_v7_0_get_csb_buffer(struct amdgpu_device *adev, volatile u32 *buffer); buffer 3969 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c volatile u32 *buffer) buffer 3977 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (buffer == NULL) buffer 3980 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 3981 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); buffer 3983 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); buffer 3984 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 3985 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 3990 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = buffer 3992 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(ext->reg_index - PACKET3_SET_CONTEXT_REG_START); buffer 3994 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(ext->extent[i]); buffer 4001 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 2)); buffer 4002 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(mmPA_SC_RASTER_CONFIG - PACKET3_SET_CONTEXT_REG_START); buffer 4005 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x16000012); buffer 4006 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x00000000); buffer 4009 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x00000000); /* XXX */ buffer 4010 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x00000000); buffer 4014 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x00000000); /* XXX */ buffer 4015 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x00000000); buffer 4018 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x3a00161a); buffer 4019 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x0000002e); buffer 4022 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x00000000); buffer 4023 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0x00000000); buffer 4027 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 4028 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE); buffer 4030 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0)); buffer 4031 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c buffer[count++] = cpu_to_le32(0); buffer 1243 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c volatile u32 *buffer) buffer 1251 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (buffer == NULL) buffer 1254 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 1255 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); buffer 1257 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); buffer 1258 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 1259 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 1264 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = buffer 1266 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(ext->reg_index - buffer 1269 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(ext->extent[i]); buffer 1276 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 2)); buffer 1277 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(mmPA_SC_RASTER_CONFIG - buffer 1279 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(adev->gfx.config.rb_config[0][0].raster_config); buffer 1280 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(adev->gfx.config.rb_config[0][0].raster_config_1); buffer 1282 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 1283 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE); buffer 1285 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0)); buffer 1286 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c buffer[count++] = cpu_to_le32(0); buffer 1448 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c volatile u32 *buffer) buffer 1456 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (buffer == NULL) buffer 1459 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 1460 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); buffer 1462 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); buffer 1463 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 1464 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(0x80000000); buffer 1469 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = buffer 1471 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(ext->reg_index - buffer 1474 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(ext->extent[i]); buffer 1481 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 1482 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE); buffer 1484 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0)); buffer 1485 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c buffer[count++] = cpu_to_le32(0); buffer 365 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c uint32_t *buffer, i; buffer 377 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c retval = kq->ops.acquire_packet_buffer(kq, 5, &buffer); buffer 384 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c buffer[i] = kq->nop_packet; buffer 72 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c uint32_t *buffer, struct qcm_process_device *qpd) buffer 77 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c packet = (struct pm4_mes_map_process *)buffer; buffer 78 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c memset(buffer, 0, sizeof(struct pm4_mes_map_process)); buffer 113 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_runlist_v10(struct packet_manager *pm, uint32_t *buffer, buffer 134 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c packet = (struct pm4_mes_runlist *)buffer; buffer 136 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c memset(buffer, 0, sizeof(struct pm4_mes_runlist)); buffer 151 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_map_queues_v10(struct packet_manager *pm, uint32_t *buffer, buffer 157 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c packet = (struct pm4_mes_map_queues *)buffer; buffer 158 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c memset(buffer, 0, sizeof(struct pm4_mes_map_queues)); buffer 209 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_unmap_queues_v10(struct packet_manager *pm, uint32_t *buffer, buffer 217 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c packet = (struct pm4_mes_unmap_queues *)buffer; buffer 218 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c memset(buffer, 0, sizeof(struct pm4_mes_unmap_queues)); buffer 275 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_query_status_v10(struct packet_manager *pm, uint32_t *buffer, buffer 280 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c packet = (struct pm4_mes_query_status *)buffer; buffer 281 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c memset(buffer, 0, sizeof(struct pm4_mes_query_status)); buffer 302 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_release_mem_v10(uint64_t gpu_addr, uint32_t *buffer) buffer 306 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c WARN_ON(!buffer); buffer 308 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c packet = (struct pm4_mec_release_mem *)buffer; buffer 309 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c memset(buffer, 0, sizeof(struct pm4_mec_release_mem)); buffer 71 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c uint32_t *buffer, struct qcm_process_device *qpd) buffer 76 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c packet = (struct pm4_mes_map_process *)buffer; buffer 77 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c memset(buffer, 0, sizeof(struct pm4_mes_map_process)); buffer 109 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, buffer 129 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c packet = (struct pm4_mes_runlist *)buffer; buffer 131 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c memset(buffer, 0, sizeof(struct pm4_mes_runlist)); buffer 147 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, buffer 152 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c packet = (struct pm4_mes_set_resources *)buffer; buffer 153 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c memset(buffer, 0, sizeof(struct pm4_mes_set_resources)); buffer 175 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, buffer 181 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c packet = (struct pm4_mes_map_queues *)buffer; buffer 182 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c memset(buffer, 0, sizeof(struct pm4_mes_map_queues)); buffer 242 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, buffer 250 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c packet = (struct pm4_mes_unmap_queues *)buffer; buffer 251 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c memset(buffer, 0, sizeof(struct pm4_mes_unmap_queues)); buffer 318 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, buffer 323 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c packet = (struct pm4_mes_query_status *)buffer; buffer 324 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c memset(buffer, 0, sizeof(struct pm4_mes_query_status)); buffer 345 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_release_mem_v9(uint64_t gpu_addr, uint32_t *buffer) buffer 349 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c packet = (struct pm4_mec_release_mem *)buffer; buffer 350 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c memset(buffer, 0, sizeof(struct pm4_mec_release_mem)); buffer 82 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_map_process_vi(struct packet_manager *pm, uint32_t *buffer, buffer 87 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c packet = (struct pm4_mes_map_process *)buffer; buffer 89 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c memset(buffer, 0, sizeof(struct pm4_mes_map_process)); buffer 115 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_runlist_vi(struct packet_manager *pm, uint32_t *buffer, buffer 137 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c packet = (struct pm4_mes_runlist *)buffer; buffer 139 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c memset(buffer, 0, sizeof(struct pm4_mes_runlist)); buffer 154 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer, buffer 159 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c packet = (struct pm4_mes_set_resources *)buffer; buffer 160 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c memset(buffer, 0, sizeof(struct pm4_mes_set_resources)); buffer 182 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_map_queues_vi(struct packet_manager *pm, uint32_t *buffer, buffer 188 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c packet = (struct pm4_mes_map_queues *)buffer; buffer 189 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c memset(buffer, 0, sizeof(struct pm4_mes_map_queues)); buffer 240 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_unmap_queues_vi(struct packet_manager *pm, uint32_t *buffer, buffer 248 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c packet = (struct pm4_mes_unmap_queues *)buffer; buffer 249 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c memset(buffer, 0, sizeof(struct pm4_mes_unmap_queues)); buffer 306 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_query_status_vi(struct packet_manager *pm, uint32_t *buffer, buffer 311 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c packet = (struct pm4_mes_query_status *)buffer; buffer 312 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c memset(buffer, 0, sizeof(struct pm4_mes_query_status)); buffer 331 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_release_mem_vi(uint64_t gpu_addr, uint32_t *buffer) buffer 335 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c packet = (struct pm4_mec_release_mem *)buffer; buffer 336 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c memset(buffer, 0, sizeof(*packet)); buffer 275 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c uint32_t *buffer, size; buffer 282 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c (unsigned int **)&buffer); buffer 283 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!buffer) { buffer 289 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->set_resources(pm, buffer, res); buffer 346 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c uint32_t *buffer, size; buffer 355 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c size / sizeof(uint32_t), (unsigned int **)&buffer); buffer 356 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!buffer) { buffer 362 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->query_status(pm, buffer, fence_address, fence_value); buffer 378 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c uint32_t *buffer, size; buffer 384 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c size / sizeof(uint32_t), (unsigned int **)&buffer); buffer 385 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!buffer) { buffer 391 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->unmap_queues(pm, buffer, type, filter, filter_param, buffer 436 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c uint32_t *buffer, size; buffer 442 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c size / sizeof(uint32_t), (unsigned int **)&buffer); buffer 443 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!buffer) { buffer 448 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c memset(buffer, 0x55, size); buffer 452 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c buffer[0], buffer[1], buffer[2], buffer[3], buffer 453 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c buffer[4], buffer[5], buffer[6]); buffer 945 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*map_process)(struct packet_manager *pm, uint32_t *buffer, buffer 947 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*runlist)(struct packet_manager *pm, uint32_t *buffer, buffer 949 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*set_resources)(struct packet_manager *pm, uint32_t *buffer, buffer 951 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*map_queues)(struct packet_manager *pm, uint32_t *buffer, buffer 953 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*unmap_queues)(struct packet_manager *pm, uint32_t *buffer, buffer 958 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*query_status)(struct packet_manager *pm, uint32_t *buffer, buffer 960 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*release_mem)(uint64_t gpu_addr, uint32_t *buffer); buffer 993 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer, buffer 78 drivers/gpu/drm/amd/amdkfd/kfd_process.c char *buffer) buffer 91 drivers/gpu/drm/amd/amdkfd/kfd_process.c return snprintf(buffer, PAGE_SIZE, "%d\n", val); buffer 213 drivers/gpu/drm/amd/amdkfd/kfd_topology.c #define sysfs_show_gen_prop(buffer, fmt, ...) \ buffer 214 drivers/gpu/drm/amd/amdkfd/kfd_topology.c snprintf(buffer, PAGE_SIZE, "%s"fmt, buffer, __VA_ARGS__) buffer 215 drivers/gpu/drm/amd/amdkfd/kfd_topology.c #define sysfs_show_32bit_prop(buffer, name, value) \ buffer 216 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_gen_prop(buffer, "%s %u\n", name, value) buffer 217 drivers/gpu/drm/amd/amdkfd/kfd_topology.c #define sysfs_show_64bit_prop(buffer, name, value) \ buffer 218 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_gen_prop(buffer, "%s %llu\n", name, value) buffer 219 drivers/gpu/drm/amd/amdkfd/kfd_topology.c #define sysfs_show_32bit_val(buffer, value) \ buffer 220 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_gen_prop(buffer, "%u\n", value) buffer 221 drivers/gpu/drm/amd/amdkfd/kfd_topology.c #define sysfs_show_str_val(buffer, value) \ buffer 222 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_gen_prop(buffer, "%s\n", value) buffer 225 drivers/gpu/drm/amd/amdkfd/kfd_topology.c char *buffer) buffer 230 drivers/gpu/drm/amd/amdkfd/kfd_topology.c buffer[0] = 0; buffer 233 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = sysfs_show_32bit_val(buffer, sys_props.generation_count); buffer 235 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_64bit_prop(buffer, "platform_oem", buffer 237 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_64bit_prop(buffer, "platform_id", buffer 239 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = sysfs_show_64bit_prop(buffer, "platform_rev", buffer 263 drivers/gpu/drm/amd/amdkfd/kfd_topology.c char *buffer) buffer 269 drivers/gpu/drm/amd/amdkfd/kfd_topology.c buffer[0] = 0; buffer 272 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "type", iolink->iolink_type); buffer 273 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "version_major", iolink->ver_maj); buffer 274 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "version_minor", iolink->ver_min); buffer 275 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "node_from", iolink->node_from); buffer 276 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "node_to", iolink->node_to); buffer 277 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "weight", iolink->weight); buffer 278 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "min_latency", iolink->min_latency); buffer 279 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "max_latency", iolink->max_latency); buffer 280 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "min_bandwidth", iolink->min_bandwidth); buffer 281 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "max_bandwidth", iolink->max_bandwidth); buffer 282 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "recommended_transfer_size", buffer 284 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = sysfs_show_32bit_prop(buffer, "flags", iolink->flags); buffer 299 drivers/gpu/drm/amd/amdkfd/kfd_topology.c char *buffer) buffer 305 drivers/gpu/drm/amd/amdkfd/kfd_topology.c buffer[0] = 0; buffer 308 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "heap_type", mem->heap_type); buffer 309 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_64bit_prop(buffer, "size_in_bytes", mem->size_in_bytes); buffer 310 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "flags", mem->flags); buffer 311 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "width", mem->width); buffer 312 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = sysfs_show_32bit_prop(buffer, "mem_clk_max", mem->mem_clk_max); buffer 327 drivers/gpu/drm/amd/amdkfd/kfd_topology.c char *buffer) buffer 334 drivers/gpu/drm/amd/amdkfd/kfd_topology.c buffer[0] = 0; buffer 337 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "processor_id_low", buffer 339 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "level", cache->cache_level); buffer 340 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "size", cache->cache_size); buffer 341 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "cache_line_size", cache->cacheline_size); buffer 342 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "cache_lines_per_tag", buffer 344 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "association", cache->cache_assoc); buffer 345 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "latency", cache->cache_latency); buffer 346 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "type", cache->cache_type); buffer 347 drivers/gpu/drm/amd/amdkfd/kfd_topology.c snprintf(buffer, PAGE_SIZE, "%ssibling_map ", buffer); buffer 352 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = snprintf(buffer, PAGE_SIZE, buffer 353 drivers/gpu/drm/amd/amdkfd/kfd_topology.c "%s%d%s", buffer, 1, ","); buffer 355 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = snprintf(buffer, PAGE_SIZE, buffer 356 drivers/gpu/drm/amd/amdkfd/kfd_topology.c "%s%d%s", buffer, 0, ","); buffer 359 drivers/gpu/drm/amd/amdkfd/kfd_topology.c *(buffer + strlen(buffer) - 1) = 0xA; buffer 406 drivers/gpu/drm/amd/amdkfd/kfd_topology.c char *buffer) buffer 412 drivers/gpu/drm/amd/amdkfd/kfd_topology.c buffer[0] = 0; buffer 417 drivers/gpu/drm/amd/amdkfd/kfd_topology.c return sysfs_show_32bit_val(buffer, dev->gpu_id); buffer 424 drivers/gpu/drm/amd/amdkfd/kfd_topology.c return sysfs_show_str_val(buffer, dev->node_props.name); buffer 429 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "cpu_cores_count", buffer 431 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "simd_count", buffer 433 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "mem_banks_count", buffer 435 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "caches_count", buffer 437 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "io_links_count", buffer 439 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "cpu_core_id_base", buffer 441 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "simd_id_base", buffer 443 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "max_waves_per_simd", buffer 445 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "lds_size_in_kb", buffer 447 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "gds_size_in_kb", buffer 449 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "num_gws", buffer 451 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "wave_front_size", buffer 453 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "array_count", buffer 455 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "simd_arrays_per_engine", buffer 457 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "cu_per_simd_array", buffer 459 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "simd_per_cu", buffer 461 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "max_slots_scratch_cu", buffer 463 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "vendor_id", buffer 465 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "device_id", buffer 467 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "location_id", buffer 469 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "drm_render_minor", buffer 471 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_64bit_prop(buffer, "hive_id", buffer 473 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "num_sdma_engines", buffer 475 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "num_sdma_xgmi_engines", buffer 496 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "max_engine_clk_fcompute", buffer 499 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_64bit_prop(buffer, "local_mem_size", buffer 502 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "fw_version", buffer 504 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "capability", buffer 506 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "sdma_fw_version", buffer 510 drivers/gpu/drm/amd/amdkfd/kfd_topology.c return sysfs_show_32bit_prop(buffer, "max_engine_clk_ccompute", buffer 93 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c payload.data = msg->buffer; buffer 1679 drivers/gpu/drm/amd/display/dc/core/dc_link.c uint8_t address, uint8_t *buffer, uint32_t length) buffer 1692 drivers/gpu/drm/amd/display/dc/core/dc_link.c payload.data = buffer; buffer 1711 drivers/gpu/drm/amd/display/dc/core/dc_link.c uint8_t buffer[2]; buffer 1719 drivers/gpu/drm/amd/display/dc/core/dc_link.c memset(&buffer, 0, sizeof(buffer)); buffer 1727 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = settings->reg_settings[i].i2c_reg_index; buffer 1728 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = settings->reg_settings[i].i2c_reg_val; buffer 1730 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1733 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1759 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = offset; buffer 1761 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = value | apply_rx_tx_change; buffer 1763 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1766 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1780 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = settings->reg_settings_6g[i].i2c_reg_index; buffer 1781 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = settings->reg_settings_6g[i].i2c_reg_val; buffer 1783 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1786 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1812 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = offset; buffer 1814 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = value | apply_rx_tx_change; buffer 1816 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1819 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1832 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0xff; buffer 1833 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x01; buffer 1835 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1838 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1844 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0x00; buffer 1845 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x23; buffer 1847 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1850 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1856 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0xff; buffer 1857 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x00; buffer 1859 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1862 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1876 drivers/gpu/drm/amd/display/dc/core/dc_link.c uint8_t buffer[2]; buffer 1880 drivers/gpu/drm/amd/display/dc/core/dc_link.c memset(&buffer, 0, sizeof(buffer)); buffer 1884 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0x0A; buffer 1885 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x13; buffer 1887 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1890 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1896 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0x0A; buffer 1897 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x17; buffer 1899 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1902 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1908 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0x0B; buffer 1909 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = is_over_340mhz ? 0xDA : 0xD8; buffer 1911 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1914 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1920 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0x0A; buffer 1921 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x17; buffer 1923 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1926 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1932 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0x0C; buffer 1933 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = is_over_340mhz ? 0x1D : 0x91; buffer 1935 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1938 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1944 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0x0A; buffer 1945 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x17; buffer 1947 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1950 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1960 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0xff; buffer 1961 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x01; buffer 1963 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1966 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1972 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0x00; buffer 1973 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x23; buffer 1975 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1978 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 1984 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[0] = 0xff; buffer 1985 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[1] = 0x00; buffer 1987 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 1990 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[0], buffer[1], i2c_success?1:0); buffer 2002 drivers/gpu/drm/amd/display/dc/core/dc_link.c uint8_t buffer[16]; buffer 2006 drivers/gpu/drm/amd/display/dc/core/dc_link.c memset(&buffer, 0, sizeof(buffer)); buffer 2009 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[3] = 0x4E; buffer 2010 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[4] = 0x4E; buffer 2011 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[5] = 0x4E; buffer 2012 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer[6] = is_over_340mhz ? 0x4E : 0x4A; buffer 2015 drivers/gpu/drm/amd/display/dc/core/dc_link.c buffer, sizeof(buffer)); buffer 2020 drivers/gpu/drm/amd/display/dc/core/dc_link.c slave_address, buffer[3], buffer[4], buffer[5], buffer[6], i2c_success?1:0); buffer 340 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c uint8_t *buffer, buffer 354 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c .data = buffer } }; buffer 261 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c uint8_t *buffer, uint8_t *reply_result, buffer 303 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c buffer[i] = aux_sw_data_val; buffer 122 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c uint8_t *buffer = reply->data; buffer 139 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c *buffer++ = i2c_data; buffer 180 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c uint8_t *buffer = request->data; buffer 258 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c DC_I2C_DATA, *buffer++); buffer 334 drivers/gpu/drm/amd/display/dc/dm_services.h #define dm_log_to_buffer(buffer, size, fmt, args)\ buffer 335 drivers/gpu/drm/amd/display/dc/dm_services.h vsnprintf(buffer, size, fmt, args) buffer 96 drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h uint8_t *buffer; buffer 119 drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h uint8_t *buffer; buffer 159 drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h uint8_t *buffer, buffer 189 drivers/gpu/drm/bridge/analogix-anx78xx.c u8 *buffer = msg->buffer; buffer 205 drivers/gpu/drm/bridge/analogix-anx78xx.c SP_DP_BUF_DATA0_REG, buffer, buffer 237 drivers/gpu/drm/bridge/analogix-anx78xx.c SP_DP_BUF_DATA0_REG, buffer, buffer 887 drivers/gpu/drm/bridge/analogix-anx78xx.c u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AVI_INFOFRAME_SIZE]; buffer 890 drivers/gpu/drm/bridge/analogix-anx78xx.c err = hdmi_avi_infoframe_pack(frame, buffer, sizeof(buffer)); buffer 902 drivers/gpu/drm/bridge/analogix-anx78xx.c SP_INFOFRAME_AVI_DB1_REG, buffer, buffer 1106 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c u8 *buffer = msg->buffer; buffer 1157 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c reg = buffer[i]; buffer 1207 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c buffer[i] = (unsigned char)reg; buffer 1058 drivers/gpu/drm/bridge/sil-sii8620.c void *buffer, size_t size) buffer 1061 drivers/gpu/drm/bridge/sil-sii8620.c u8 *ptr = buffer; buffer 1066 drivers/gpu/drm/bridge/sil-sii8620.c memset(buffer, 0, size); buffer 1091 drivers/gpu/drm/bridge/sil-sii8620.c ptr[3] -= sii8620_checksum(buffer, frm_len); buffer 1681 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c u8 buffer[10]; buffer 1696 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c err = hdmi_vendor_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 1706 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_writeb(hdmi, buffer[2], HDMI_FC_VSDSIZE); buffer 1709 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_writeb(hdmi, buffer[4], HDMI_FC_VSDIEEEID0); buffer 1710 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_writeb(hdmi, buffer[5], HDMI_FC_VSDIEEEID1); buffer 1711 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_writeb(hdmi, buffer[6], HDMI_FC_VSDIEEEID2); buffer 1714 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_writeb(hdmi, buffer[7], HDMI_FC_VSDPAYLOAD0); buffer 1715 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_writeb(hdmi, buffer[8], HDMI_FC_VSDPAYLOAD1); buffer 1718 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_writeb(hdmi, buffer[9], HDMI_FC_VSDPAYLOAD2); buffer 361 drivers/gpu/drm/bridge/tc358767.c ret = tc_aux_write_data(tc, msg->buffer, size); buffer 403 drivers/gpu/drm/bridge/tc358767.c return tc_aux_read_data(tc, msg->buffer, size); buffer 618 drivers/gpu/drm/bridge/ti-sn65dsi86.c u8 *buf = (u8 *)msg->buffer; buffer 233 drivers/gpu/drm/drm_client.c static void drm_client_buffer_delete(struct drm_client_buffer *buffer) buffer 235 drivers/gpu/drm/drm_client.c struct drm_device *dev = buffer->client->dev; buffer 237 drivers/gpu/drm/drm_client.c drm_gem_vunmap(buffer->gem, buffer->vaddr); buffer 239 drivers/gpu/drm/drm_client.c if (buffer->gem) buffer 240 drivers/gpu/drm/drm_client.c drm_gem_object_put_unlocked(buffer->gem); buffer 242 drivers/gpu/drm/drm_client.c if (buffer->handle) buffer 243 drivers/gpu/drm/drm_client.c drm_mode_destroy_dumb(dev, buffer->handle, buffer->client->file); buffer 245 drivers/gpu/drm/drm_client.c kfree(buffer); buffer 254 drivers/gpu/drm/drm_client.c struct drm_client_buffer *buffer; buffer 258 drivers/gpu/drm/drm_client.c buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); buffer 259 drivers/gpu/drm/drm_client.c if (!buffer) buffer 262 drivers/gpu/drm/drm_client.c buffer->client = client; buffer 271 drivers/gpu/drm/drm_client.c buffer->handle = dumb_args.handle; buffer 272 drivers/gpu/drm/drm_client.c buffer->pitch = dumb_args.pitch; buffer 280 drivers/gpu/drm/drm_client.c buffer->gem = obj; buffer 282 drivers/gpu/drm/drm_client.c return buffer; buffer 285 drivers/gpu/drm/drm_client.c drm_client_buffer_delete(buffer); buffer 305 drivers/gpu/drm/drm_client.c void *drm_client_buffer_vmap(struct drm_client_buffer *buffer) buffer 309 drivers/gpu/drm/drm_client.c if (buffer->vaddr) buffer 310 drivers/gpu/drm/drm_client.c return buffer->vaddr; buffer 320 drivers/gpu/drm/drm_client.c vaddr = drm_gem_vmap(buffer->gem); buffer 324 drivers/gpu/drm/drm_client.c buffer->vaddr = vaddr; buffer 338 drivers/gpu/drm/drm_client.c void drm_client_buffer_vunmap(struct drm_client_buffer *buffer) buffer 340 drivers/gpu/drm/drm_client.c drm_gem_vunmap(buffer->gem, buffer->vaddr); buffer 341 drivers/gpu/drm/drm_client.c buffer->vaddr = NULL; buffer 345 drivers/gpu/drm/drm_client.c static void drm_client_buffer_rmfb(struct drm_client_buffer *buffer) buffer 349 drivers/gpu/drm/drm_client.c if (!buffer->fb) buffer 352 drivers/gpu/drm/drm_client.c ret = drm_mode_rmfb(buffer->client->dev, buffer->fb->base.id, buffer->client->file); buffer 354 drivers/gpu/drm/drm_client.c DRM_DEV_ERROR(buffer->client->dev->dev, buffer 355 drivers/gpu/drm/drm_client.c "Error removing FB:%u (%d)\n", buffer->fb->base.id, ret); buffer 357 drivers/gpu/drm/drm_client.c buffer->fb = NULL; buffer 360 drivers/gpu/drm/drm_client.c static int drm_client_buffer_addfb(struct drm_client_buffer *buffer, buffer 363 drivers/gpu/drm/drm_client.c struct drm_client_dev *client = buffer->client; buffer 373 drivers/gpu/drm/drm_client.c fb_req.handle = buffer->handle; buffer 374 drivers/gpu/drm/drm_client.c fb_req.pitch = buffer->pitch; buffer 380 drivers/gpu/drm/drm_client.c buffer->fb = drm_framebuffer_lookup(client->dev, buffer->client->file, fb_req.fb_id); buffer 381 drivers/gpu/drm/drm_client.c if (WARN_ON(!buffer->fb)) buffer 385 drivers/gpu/drm/drm_client.c drm_framebuffer_put(buffer->fb); buffer 387 drivers/gpu/drm/drm_client.c strscpy(buffer->fb->comm, client->name, TASK_COMM_LEN); buffer 409 drivers/gpu/drm/drm_client.c struct drm_client_buffer *buffer; buffer 412 drivers/gpu/drm/drm_client.c buffer = drm_client_buffer_create(client, width, height, format); buffer 413 drivers/gpu/drm/drm_client.c if (IS_ERR(buffer)) buffer 414 drivers/gpu/drm/drm_client.c return buffer; buffer 416 drivers/gpu/drm/drm_client.c ret = drm_client_buffer_addfb(buffer, width, height, format); buffer 418 drivers/gpu/drm/drm_client.c drm_client_buffer_delete(buffer); buffer 422 drivers/gpu/drm/drm_client.c return buffer; buffer 430 drivers/gpu/drm/drm_client.c void drm_client_framebuffer_delete(struct drm_client_buffer *buffer) buffer 432 drivers/gpu/drm/drm_client.c if (!buffer) buffer 435 drivers/gpu/drm/drm_client.c drm_client_buffer_rmfb(buffer); buffer 436 drivers/gpu/drm/drm_client.c drm_client_buffer_delete(buffer); buffer 63 drivers/gpu/drm/drm_dp_dual_mode_helper.c u8 offset, void *buffer, size_t size) buffer 76 drivers/gpu/drm/drm_dp_dual_mode_helper.c .buf = buffer, buffer 105 drivers/gpu/drm/drm_dp_dual_mode_helper.c u8 offset, const void *buffer, size_t size) buffer 123 drivers/gpu/drm/drm_dp_dual_mode_helper.c memcpy(data + 1, buffer, size); buffer 171 drivers/gpu/drm/drm_dp_helper.c u8 request, uint offset, void *buffer, int ret) buffer 177 drivers/gpu/drm/drm_dp_helper.c aux->name, offset, arrow, ret, min(ret, 20), buffer); buffer 196 drivers/gpu/drm/drm_dp_helper.c unsigned int offset, void *buffer, size_t size) buffer 205 drivers/gpu/drm/drm_dp_helper.c msg.buffer = buffer; buffer 267 drivers/gpu/drm/drm_dp_helper.c void *buffer, size_t size) buffer 283 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_access(aux, DP_AUX_NATIVE_READ, DP_DPCD_REV, buffer, buffer 288 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_access(aux, DP_AUX_NATIVE_READ, offset, buffer, buffer 292 drivers/gpu/drm/drm_dp_helper.c drm_dp_dump_access(aux, DP_AUX_NATIVE_READ, offset, buffer, ret); buffer 312 drivers/gpu/drm/drm_dp_helper.c void *buffer, size_t size) buffer 316 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_access(aux, DP_AUX_NATIVE_WRITE, offset, buffer, buffer 318 drivers/gpu/drm/drm_dp_helper.c drm_dp_dump_access(aux, DP_AUX_NATIVE_WRITE, offset, buffer, ret); buffer 895 drivers/gpu/drm/drm_dp_helper.c msg.buffer += err; buffer 931 drivers/gpu/drm/drm_dp_helper.c msg.buffer = NULL; buffer 949 drivers/gpu/drm/drm_dp_helper.c msg.buffer = msgs[i].buf + j; buffer 974 drivers/gpu/drm/drm_dp_helper.c msg.buffer = NULL; buffer 1505 drivers/gpu/drm/drm_dp_mst_topology.c unsigned int offset, void *buffer, size_t size) buffer 1511 drivers/gpu/drm/drm_dp_mst_topology.c offset, size, buffer); buffer 1528 drivers/gpu/drm/drm_dp_mst_topology.c unsigned int offset, void *buffer, size_t size) buffer 1534 drivers/gpu/drm/drm_dp_mst_topology.c offset, size, buffer); buffer 388 drivers/gpu/drm/drm_fb_helper.c void *dst = fb_helper->buffer->vaddr + offset; buffer 418 drivers/gpu/drm/drm_fb_helper.c if (helper->buffer) { buffer 419 drivers/gpu/drm/drm_fb_helper.c vaddr = drm_client_buffer_vmap(helper->buffer); buffer 428 drivers/gpu/drm/drm_fb_helper.c if (helper->buffer) buffer 429 drivers/gpu/drm/drm_fb_helper.c drm_client_buffer_vunmap(helper->buffer); buffer 2138 drivers/gpu/drm/drm_fb_helper.c drm_client_framebuffer_delete(fb_helper->buffer); buffer 2162 drivers/gpu/drm/drm_fb_helper.c return fb_helper->dev->driver->gem_prime_mmap(fb_helper->buffer->gem, vma); buffer 2203 drivers/gpu/drm/drm_fb_helper.c struct drm_client_buffer *buffer; buffer 2214 drivers/gpu/drm/drm_fb_helper.c buffer = drm_client_framebuffer_create(client, sizes->surface_width, buffer 2216 drivers/gpu/drm/drm_fb_helper.c if (IS_ERR(buffer)) buffer 2217 drivers/gpu/drm/drm_fb_helper.c return PTR_ERR(buffer); buffer 2219 drivers/gpu/drm/drm_fb_helper.c fb_helper->buffer = buffer; buffer 2220 drivers/gpu/drm/drm_fb_helper.c fb_helper->fb = buffer->fb; buffer 2221 drivers/gpu/drm/drm_fb_helper.c fb = buffer->fb; buffer 2257 drivers/gpu/drm/drm_fb_helper.c vaddr = drm_client_buffer_vmap(fb_helper->buffer); buffer 482 drivers/gpu/drm/drm_file.c ssize_t drm_read(struct file *filp, char __user *buffer, buffer 489 drivers/gpu/drm/drm_file.c if (!access_ok(buffer, count)) buffer 537 drivers/gpu/drm/drm_file.c if (copy_to_user(buffer + ret, e->event, length)) { buffer 48 drivers/gpu/drm/drm_kms_helper_common.c static int edid_firmware_get(char *buffer, const struct kernel_param *kp) buffer 50 drivers/gpu/drm/drm_kms_helper_common.c return __drm_get_edid_firmware_path(buffer, PAGE_SIZE); buffer 53 drivers/gpu/drm/drm_scdc_helper.c ssize_t drm_scdc_read(struct i2c_adapter *adapter, u8 offset, void *buffer, buffer 67 drivers/gpu/drm/drm_scdc_helper.c .buf = buffer, buffer 94 drivers/gpu/drm/drm_scdc_helper.c const void *buffer, size_t size) buffer 112 drivers/gpu/drm/drm_scdc_helper.c memcpy(data + 1, buffer, size); buffer 24 drivers/gpu/drm/etnaviv/etnaviv_buffer.c static inline void OUT(struct etnaviv_cmdbuf *buffer, u32 data) buffer 26 drivers/gpu/drm/etnaviv/etnaviv_buffer.c u32 *vaddr = (u32 *)buffer->vaddr; buffer 28 drivers/gpu/drm/etnaviv/etnaviv_buffer.c BUG_ON(buffer->user_size >= buffer->size); buffer 30 drivers/gpu/drm/etnaviv/etnaviv_buffer.c vaddr[buffer->user_size / 4] = data; buffer 31 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size += 4; buffer 34 drivers/gpu/drm/etnaviv/etnaviv_buffer.c static inline void CMD_LOAD_STATE(struct etnaviv_cmdbuf *buffer, buffer 39 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); buffer 42 drivers/gpu/drm/etnaviv/etnaviv_buffer.c OUT(buffer, VIV_FE_LOAD_STATE_HEADER_OP_LOAD_STATE | buffer 45 drivers/gpu/drm/etnaviv/etnaviv_buffer.c OUT(buffer, value); buffer 48 drivers/gpu/drm/etnaviv/etnaviv_buffer.c static inline void CMD_END(struct etnaviv_cmdbuf *buffer) buffer 50 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); buffer 52 drivers/gpu/drm/etnaviv/etnaviv_buffer.c OUT(buffer, VIV_FE_END_HEADER_OP_END); buffer 55 drivers/gpu/drm/etnaviv/etnaviv_buffer.c static inline void CMD_WAIT(struct etnaviv_cmdbuf *buffer) buffer 57 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); buffer 59 drivers/gpu/drm/etnaviv/etnaviv_buffer.c OUT(buffer, VIV_FE_WAIT_HEADER_OP_WAIT | 200); buffer 62 drivers/gpu/drm/etnaviv/etnaviv_buffer.c static inline void CMD_LINK(struct etnaviv_cmdbuf *buffer, buffer 65 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); buffer 67 drivers/gpu/drm/etnaviv/etnaviv_buffer.c OUT(buffer, VIV_FE_LINK_HEADER_OP_LINK | buffer 69 drivers/gpu/drm/etnaviv/etnaviv_buffer.c OUT(buffer, address); buffer 72 drivers/gpu/drm/etnaviv/etnaviv_buffer.c static inline void CMD_STALL(struct etnaviv_cmdbuf *buffer, buffer 75 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); buffer 77 drivers/gpu/drm/etnaviv/etnaviv_buffer.c OUT(buffer, VIV_FE_STALL_HEADER_OP_STALL); buffer 78 drivers/gpu/drm/etnaviv/etnaviv_buffer.c OUT(buffer, VIV_FE_STALL_TOKEN_FROM(from) | VIV_FE_STALL_TOKEN_TO(to)); buffer 81 drivers/gpu/drm/etnaviv/etnaviv_buffer.c static inline void CMD_SEM(struct etnaviv_cmdbuf *buffer, u32 from, u32 to) buffer 83 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_SEMAPHORE_TOKEN, buffer 89 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *buffer, u8 pipe) buffer 106 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, flush); buffer 107 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_SEM(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 108 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_STALL(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 110 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_PIPE_SELECT, buffer 135 drivers/gpu/drm/etnaviv/etnaviv_buffer.c static void etnaviv_buffer_replace_wait(struct etnaviv_cmdbuf *buffer, buffer 138 drivers/gpu/drm/etnaviv/etnaviv_buffer.c u32 *lw = buffer->vaddr + wl_offset; buffer 151 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *buffer, unsigned int cmd_dwords) buffer 153 drivers/gpu/drm/etnaviv/etnaviv_buffer.c if (buffer->user_size + cmd_dwords * sizeof(u64) > buffer->size) buffer 154 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = 0; buffer 156 drivers/gpu/drm/etnaviv/etnaviv_buffer.c return etnaviv_cmdbuf_get_va(buffer, buffer 158 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size; buffer 163 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *buffer = &gpu->buffer; buffer 168 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = 0; buffer 170 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_WAIT(buffer); buffer 171 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LINK(buffer, 2, buffer 172 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_cmdbuf_get_va(buffer, &gpu->mmu_context->cmdbuf_mapping) buffer 173 drivers/gpu/drm/etnaviv/etnaviv_buffer.c + buffer->user_size - 4); buffer 175 drivers/gpu/drm/etnaviv/etnaviv_buffer.c return buffer->user_size / 8; buffer 180 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *buffer = &gpu->buffer; buffer 184 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = 0; buffer 187 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_PIPE_SELECT, buffer 189 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_MMUv2_CONFIGURATION, buffer 191 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_MMUv2_SAFE_ADDRESS, safe_addr); buffer 192 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_SEM(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 193 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_STALL(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 197 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_PIPE_SELECT, buffer 199 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_MMUv2_CONFIGURATION, buffer 201 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_MMUv2_SAFE_ADDRESS, safe_addr); buffer 202 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_SEM(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 203 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_STALL(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 206 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_END(buffer); buffer 208 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); buffer 210 drivers/gpu/drm/etnaviv/etnaviv_buffer.c return buffer->user_size / 8; buffer 215 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *buffer = &gpu->buffer; buffer 219 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = 0; buffer 221 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_MMUv2_PTA_CONFIG, buffer 224 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_END(buffer); buffer 226 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); buffer 228 drivers/gpu/drm/etnaviv/etnaviv_buffer.c return buffer->user_size / 8; buffer 233 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *buffer = &gpu->buffer; buffer 234 drivers/gpu/drm/etnaviv/etnaviv_buffer.c unsigned int waitlink_offset = buffer->user_size - 16; buffer 251 drivers/gpu/drm/etnaviv/etnaviv_buffer.c link_target = etnaviv_buffer_reserve(gpu, buffer, dwords); buffer 253 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_SEM(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 254 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_STALL(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 255 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, flush); buffer 257 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_TS_FLUSH_CACHE, buffer 259 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_SEM(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 260 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_STALL(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 261 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_END(buffer); buffer 263 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_buffer_replace_wait(buffer, waitlink_offset, buffer 269 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_buffer_replace_wait(buffer, waitlink_offset, buffer 277 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *buffer = &gpu->buffer; buffer 278 drivers/gpu/drm/etnaviv/etnaviv_buffer.c unsigned int waitlink_offset = buffer->user_size - 16; buffer 288 drivers/gpu/drm/etnaviv/etnaviv_buffer.c target = etnaviv_buffer_reserve(gpu, buffer, dwords); buffer 291 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_EVENT, VIVS_GL_EVENT_EVENT_ID(event) | buffer 295 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_END(buffer); buffer 298 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_WAIT(buffer); buffer 299 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LINK(buffer, 2, buffer 300 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_cmdbuf_get_va(buffer, &gpu->mmu_context->cmdbuf_mapping) buffer 301 drivers/gpu/drm/etnaviv/etnaviv_buffer.c + buffer->user_size - 4); buffer 307 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_buffer_replace_wait(buffer, waitlink_offset, buffer 318 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *buffer = &gpu->buffer; buffer 319 drivers/gpu/drm/etnaviv/etnaviv_buffer.c unsigned int waitlink_offset = buffer->user_size - 16; buffer 330 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_buffer_dump(gpu, buffer, 0, 0x50); buffer 363 drivers/gpu/drm/etnaviv/etnaviv_buffer.c target = etnaviv_buffer_reserve(gpu, buffer, extra_dwords); buffer 381 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_MMU, buffer 395 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, buffer 403 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_MMUv2_CONFIGURATION, buffer 405 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_SEM(buffer, SYNC_RECIPIENT_FE, buffer 407 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_STALL(buffer, SYNC_RECIPIENT_FE, buffer 415 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_cmd_select_pipe(gpu, buffer, exec_state); buffer 422 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LINK(buffer, link_dwords, link_target); buffer 436 drivers/gpu/drm/etnaviv/etnaviv_buffer.c return_target = etnaviv_buffer_reserve(gpu, buffer, return_dwords); buffer 444 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, buffer 447 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, buffer 450 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_TS_FLUSH_CACHE, buffer 453 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_SEM(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 454 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_STALL(buffer, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_PE); buffer 455 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LOAD_STATE(buffer, VIVS_GL_EVENT, VIVS_GL_EVENT_EVENT_ID(event) | buffer 457 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_WAIT(buffer); buffer 458 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LINK(buffer, 2, buffer 459 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_cmdbuf_get_va(buffer, &gpu->mmu_context->cmdbuf_mapping) buffer 460 drivers/gpu/drm/etnaviv/etnaviv_buffer.c + buffer->user_size - 4); buffer 472 drivers/gpu/drm/etnaviv/etnaviv_buffer.c pr_info("link op: %p\n", buffer->vaddr + waitlink_offset); buffer 482 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_buffer_replace_wait(buffer, waitlink_offset, buffer 488 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_buffer_dump(gpu, buffer, 0, 0x50); buffer 161 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct etnaviv_cmdbuf *buf = &gpu->buffer; buffer 137 drivers/gpu/drm/etnaviv/etnaviv_dump.c mmu_size + gpu->buffer.size + submit->cmdbuf.size; buffer 173 drivers/gpu/drm/etnaviv/etnaviv_dump.c etnaviv_core_dump_mem(&iter, ETDUMP_BUF_RING, gpu->buffer.vaddr, buffer 174 drivers/gpu/drm/etnaviv/etnaviv_dump.c gpu->buffer.size, buffer 175 drivers/gpu/drm/etnaviv/etnaviv_dump.c etnaviv_cmdbuf_get_va(&gpu->buffer, buffer 614 drivers/gpu/drm/etnaviv/etnaviv_gpu.c u32 address = etnaviv_cmdbuf_get_va(&gpu->buffer, buffer 776 drivers/gpu/drm/etnaviv/etnaviv_gpu.c ret = etnaviv_cmdbuf_init(priv->cmdbuf_suballoc, &gpu->buffer, buffer 1687 drivers/gpu/drm/etnaviv/etnaviv_gpu.c etnaviv_cmdbuf_free(&gpu->buffer); buffer 106 drivers/gpu/drm/etnaviv/etnaviv_gpu.h struct etnaviv_cmdbuf buffer; buffer 178 drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c etnaviv_gpu_start_fe(gpu, (u32)etnaviv_cmdbuf_get_pa(&gpu->buffer), buffer 216 drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c etnaviv_gpu_start_fe(gpu, (u32)etnaviv_cmdbuf_get_pa(&gpu->buffer), buffer 168 drivers/gpu/drm/gma500/accel_2d.c uint32_t buffer[10]; buffer 172 drivers/gpu/drm/gma500/accel_2d.c buf = buffer; buffer 216 drivers/gpu/drm/gma500/accel_2d.c return psbfb_2d_submit(dev_priv, buffer, buf - buffer); buffer 96 drivers/gpu/drm/i915/display/intel_acpi.c intel_dsm_port_name(info->buffer.pointer[0])); buffer 98 drivers/gpu/drm/i915/display/intel_acpi.c intel_dsm_mux_type(info->buffer.pointer[1])); buffer 100 drivers/gpu/drm/i915/display/intel_acpi.c intel_dsm_mux_type(info->buffer.pointer[2])); buffer 102 drivers/gpu/drm/i915/display/intel_acpi.c intel_dsm_mux_type(info->buffer.pointer[3])); buffer 131 drivers/gpu/drm/i915/display/intel_acpi.c struct acpi_buffer buffer = {sizeof(acpi_method_name), acpi_method_name}; buffer 141 drivers/gpu/drm/i915/display/intel_acpi.c acpi_get_name(dhandle, ACPI_FULL_PATHNAME, &buffer); buffer 1502 drivers/gpu/drm/i915/display/intel_dp.c WARN_ON(!msg->buffer != !msg->size); buffer 1504 drivers/gpu/drm/i915/display/intel_dp.c if (msg->buffer) buffer 1505 drivers/gpu/drm/i915/display/intel_dp.c memcpy(txbuf + HEADER_SIZE, msg->buffer, msg->size); buffer 1541 drivers/gpu/drm/i915/display/intel_dp.c memcpy(msg->buffer, rxbuf + 1, ret); buffer 642 drivers/gpu/drm/i915/display/intel_hdmi.c u8 buffer[VIDEO_DIP_DATA_SIZE]; buffer 653 drivers/gpu/drm/i915/display/intel_hdmi.c len = hdmi_infoframe_pack_only(frame, buffer + 1, sizeof(buffer) - 1); buffer 658 drivers/gpu/drm/i915/display/intel_hdmi.c memmove(&buffer[0], &buffer[1], 3); buffer 659 drivers/gpu/drm/i915/display/intel_hdmi.c buffer[3] = 0; buffer 662 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->write_infoframe(encoder, crtc_state, type, buffer, len); buffer 671 drivers/gpu/drm/i915/display/intel_hdmi.c u8 buffer[VIDEO_DIP_DATA_SIZE]; buffer 679 drivers/gpu/drm/i915/display/intel_hdmi.c type, buffer, sizeof(buffer)); buffer 682 drivers/gpu/drm/i915/display/intel_hdmi.c memmove(&buffer[1], &buffer[0], 3); buffer 685 drivers/gpu/drm/i915/display/intel_hdmi.c ret = hdmi_infoframe_unpack(frame, buffer + 1, sizeof(buffer) - 1); buffer 1243 drivers/gpu/drm/i915/display/intel_hdmi.c unsigned int offset, void *buffer, size_t size) buffer 1263 drivers/gpu/drm/i915/display/intel_hdmi.c .buf = buffer buffer 1273 drivers/gpu/drm/i915/display/intel_hdmi.c unsigned int offset, void *buffer, size_t size) buffer 1289 drivers/gpu/drm/i915/display/intel_hdmi.c memcpy(&write_buf[1], buffer, size); buffer 374 drivers/gpu/drm/i915/display/intel_lspcon.c const u8 *buffer, ssize_t len) buffer 380 drivers/gpu/drm/i915/display/intel_lspcon.c const u8 *data = buffer; buffer 418 drivers/gpu/drm/i915/display/intel_sdvo.c char buffer[BUF_LEN]; buffer 421 drivers/gpu/drm/i915/display/intel_sdvo.c pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) buffer 440 drivers/gpu/drm/i915/display/intel_sdvo.c DRM_DEBUG_KMS("%s: W: %02X %s\n", SDVO_NAME(intel_sdvo), cmd, buffer); buffer 544 drivers/gpu/drm/i915/display/intel_sdvo.c char buffer[BUF_LEN]; buffer 546 drivers/gpu/drm/i915/display/intel_sdvo.c buffer[0] = '\0'; buffer 584 drivers/gpu/drm/i915/display/intel_sdvo.c pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) buffer 607 drivers/gpu/drm/i915/display/intel_sdvo.c DRM_DEBUG_KMS("%s: R: %s\n", SDVO_NAME(intel_sdvo), buffer); buffer 612 drivers/gpu/drm/i915/display/intel_sdvo.c SDVO_NAME(intel_sdvo), buffer); buffer 297 drivers/gpu/drm/mediatek/mtk_hdmi.c static void mtk_hdmi_hw_send_info_frame(struct mtk_hdmi *hdmi, u8 *buffer, buffer 309 drivers/gpu/drm/mediatek/mtk_hdmi.c frame_type = *buffer; buffer 310 drivers/gpu/drm/mediatek/mtk_hdmi.c buffer += 1; buffer 311 drivers/gpu/drm/mediatek/mtk_hdmi.c frame_ver = *buffer; buffer 312 drivers/gpu/drm/mediatek/mtk_hdmi.c buffer += 1; buffer 313 drivers/gpu/drm/mediatek/mtk_hdmi.c frame_len = *buffer; buffer 314 drivers/gpu/drm/mediatek/mtk_hdmi.c buffer += 1; buffer 315 drivers/gpu/drm/mediatek/mtk_hdmi.c checksum = *buffer; buffer 316 drivers/gpu/drm/mediatek/mtk_hdmi.c buffer += 1; buffer 317 drivers/gpu/drm/mediatek/mtk_hdmi.c frame_data = buffer; buffer 980 drivers/gpu/drm/mediatek/mtk_hdmi.c u8 buffer[17]; buffer 991 drivers/gpu/drm/mediatek/mtk_hdmi.c err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 997 drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_hw_send_info_frame(hdmi, buffer, sizeof(buffer)); buffer 1006 drivers/gpu/drm/mediatek/mtk_hdmi.c u8 buffer[29]; buffer 1016 drivers/gpu/drm/mediatek/mtk_hdmi.c err = hdmi_spd_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 1022 drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_hw_send_info_frame(hdmi, buffer, sizeof(buffer)); buffer 1029 drivers/gpu/drm/mediatek/mtk_hdmi.c u8 buffer[14]; buffer 1045 drivers/gpu/drm/mediatek/mtk_hdmi.c err = hdmi_audio_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 1052 drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_hw_send_info_frame(hdmi, buffer, sizeof(buffer)); buffer 1060 drivers/gpu/drm/mediatek/mtk_hdmi.c u8 buffer[10]; buffer 1071 drivers/gpu/drm/mediatek/mtk_hdmi.c err = hdmi_vendor_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 1078 drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_hw_send_info_frame(hdmi, buffer, sizeof(buffer)); buffer 39 drivers/gpu/drm/msm/edp/edp_aux.c u8 *msgdata = msg->buffer; buffer 90 drivers/gpu/drm/msm/edp/edp_aux.c dp = msg->buffer; buffer 120 drivers/gpu/drm/msm/edp/edp_aux.c if ((msg->size == 0) || (msg->buffer == NULL)) { buffer 91 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; buffer 98 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c len = hdmi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 112 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[3] | buffer 113 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[4] << 8 | buffer 114 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[5] << 16 | buffer 115 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[6] << 24); buffer 118 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[7] | buffer 119 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[8] << 8 | buffer 120 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[9] << 16 | buffer 121 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[10] << 24); buffer 124 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[11] | buffer 125 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[12] << 8 | buffer 126 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[13] << 16 | buffer 127 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[14] << 24); buffer 130 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[15] | buffer 131 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[16] << 8 | buffer 132 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c buffer[1] << 24); buffer 262 drivers/gpu/drm/msm/msm_gpu.c static ssize_t msm_gpu_devcoredump_read(char *buffer, loff_t offset, buffer 274 drivers/gpu/drm/msm/msm_gpu.c iter.data = buffer; buffer 55 drivers/gpu/drm/nouveau/dispnv50/atom.h u8 buffer:1; buffer 177 drivers/gpu/drm/nouveau/dispnv50/atom.h u8 buffer:1; buffer 53 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->olut.buffer, buffer 238 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->olut.buffer = !asyh->olut.buffer; buffer 32 drivers/gpu/drm/nouveau/dispnv50/lut.c nv50_lut_load(struct nv50_lut *lut, int buffer, struct drm_property_blob *blob, buffer 36 drivers/gpu/drm/nouveau/dispnv50/lut.c void __iomem *mem = lut->mem[buffer].object.map.ptr; buffer 37 drivers/gpu/drm/nouveau/dispnv50/lut.c const u32 addr = lut->mem[buffer].addr; buffer 14 drivers/gpu/drm/nouveau/dispnv50/lut.h u32 nv50_lut_load(struct nv50_lut *, int buffer, struct drm_property_blob *, buffer 145 drivers/gpu/drm/nouveau/dispnv50/wndw.c nv50_lut_load(&wndw->ilut, asyw->xlut.i.buffer, buffer 364 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->xlut.i.buffer = !asyw->xlut.i.buffer; buffer 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/fault.h struct nvkm_fault_buffer *buffer[2]; buffer 314 drivers/gpu/drm/nouveau/nouveau_abi16.c if (chan->chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) buffer 78 drivers/gpu/drm/nouveau/nouveau_acpi.c .buffer.type = ACPI_TYPE_BUFFER, buffer 79 drivers/gpu/drm/nouveau/nouveau_acpi.c .buffer.length = 4, buffer 80 drivers/gpu/drm/nouveau/nouveau_acpi.c .buffer.pointer = args_buff buffer 94 drivers/gpu/drm/nouveau/nouveau_acpi.c if (obj->buffer.length == 4) { buffer 95 drivers/gpu/drm/nouveau/nouveau_acpi.c *result |= obj->buffer.pointer[0]; buffer 96 drivers/gpu/drm/nouveau/nouveau_acpi.c *result |= (obj->buffer.pointer[1] << 8); buffer 97 drivers/gpu/drm/nouveau/nouveau_acpi.c *result |= (obj->buffer.pointer[2] << 16); buffer 98 drivers/gpu/drm/nouveau/nouveau_acpi.c *result |= (obj->buffer.pointer[3] << 24); buffer 291 drivers/gpu/drm/nouveau/nouveau_acpi.c struct acpi_buffer buffer = {sizeof(acpi_method_name), acpi_method_name}; buffer 327 drivers/gpu/drm/nouveau/nouveau_acpi.c &buffer); buffer 339 drivers/gpu/drm/nouveau/nouveau_acpi.c &buffer); buffer 395 drivers/gpu/drm/nouveau/nouveau_acpi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL}; buffer 406 drivers/gpu/drm/nouveau/nouveau_acpi.c status = acpi_evaluate_object(rom_handle, NULL, &rom_arg, &buffer); buffer 412 drivers/gpu/drm/nouveau/nouveau_acpi.c obj = (union acpi_object *)buffer.pointer; buffer 413 drivers/gpu/drm/nouveau/nouveau_acpi.c len = min(len, (int)obj->buffer.length); buffer 414 drivers/gpu/drm/nouveau/nouveau_acpi.c memcpy(bios+offset, obj->buffer.pointer, len); buffer 415 drivers/gpu/drm/nouveau/nouveau_acpi.c kfree(buffer.pointer); buffer 110 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_bo_unmap(chan->push.buffer); buffer 111 drivers/gpu/drm/nouveau/nouveau_chan.c if (chan->push.buffer && chan->push.buffer->pin_refcnt) buffer 112 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_bo_unpin(chan->push.buffer); buffer 113 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_bo_ref(NULL, &chan->push.buffer); buffer 147 drivers/gpu/drm/nouveau/nouveau_chan.c &chan->push.buffer); buffer 149 drivers/gpu/drm/nouveau/nouveau_chan.c ret = nouveau_bo_pin(chan->push.buffer, target, false); buffer 151 drivers/gpu/drm/nouveau/nouveau_chan.c ret = nouveau_bo_map(chan->push.buffer); buffer 163 drivers/gpu/drm/nouveau/nouveau_chan.c chan->push.addr = chan->push.buffer->bo.offset; buffer 166 drivers/gpu/drm/nouveau/nouveau_chan.c ret = nouveau_vma_new(chan->push.buffer, chan->vmm, buffer 183 drivers/gpu/drm/nouveau/nouveau_chan.c if (chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) { buffer 22 drivers/gpu/drm/nouveau/nouveau_chan.h struct nouveau_bo *buffer; buffer 1214 drivers/gpu/drm/nouveau/nouveau_connector.c msg->buffer, &size); buffer 37 drivers/gpu/drm/nouveau/nouveau_dma.c u32 *mem = ttm_kmap_obj_virtual(&chan->push.buffer->kmap, &is_iomem); buffer 88 drivers/gpu/drm/nouveau/nouveau_dma.c struct nouveau_bo *pb = chan->push.buffer; buffer 102 drivers/gpu/drm/nouveau/nouveau_dma.h nouveau_bo_wr32(chan->push.buffer, chan->dma.cur++, data); buffer 140 drivers/gpu/drm/nouveau/nouveau_dma.h nouveau_bo_rd32(chan->push.buffer, 0); \ buffer 67 drivers/gpu/drm/nouveau/nouveau_svm.c } buffer[1]; buffer 437 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_svm_fault_buffer *buffer, u32 offset) buffer 439 drivers/gpu/drm/nouveau/nouveau_svm.c struct nvif_object *memory = &buffer->object; buffer 460 drivers/gpu/drm/nouveau/nouveau_svm.c if (!buffer->fault[buffer->fault_nr]) { buffer 466 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[buffer->fault_nr] = fault; buffer 469 drivers/gpu/drm/nouveau/nouveau_svm.c fault = buffer->fault[buffer->fault_nr++]; buffer 526 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_svm_fault_buffer *buffer = buffer 527 drivers/gpu/drm/nouveau/nouveau_svm.c container_of(notify, typeof(*buffer), notify); buffer 529 drivers/gpu/drm/nouveau/nouveau_svm.c container_of(buffer, typeof(*svm), buffer[buffer->id]); buffer 550 drivers/gpu/drm/nouveau/nouveau_svm.c if (buffer->get == buffer->put) { buffer 551 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->put = nvif_rd32(device, buffer->putaddr); buffer 552 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->get = nvif_rd32(device, buffer->getaddr); buffer 553 drivers/gpu/drm/nouveau/nouveau_svm.c if (buffer->get == buffer->put) buffer 556 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault_nr = 0; buffer 558 drivers/gpu/drm/nouveau/nouveau_svm.c SVM_DBG(svm, "get %08x put %08x", buffer->get, buffer->put); buffer 559 drivers/gpu/drm/nouveau/nouveau_svm.c while (buffer->get != buffer->put) { buffer 560 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_svm_fault_cache(svm, buffer, buffer->get * 0x20); buffer 561 drivers/gpu/drm/nouveau/nouveau_svm.c if (++buffer->get == buffer->entries) buffer 562 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->get = 0; buffer 564 drivers/gpu/drm/nouveau/nouveau_svm.c nvif_wr32(device, buffer->getaddr, buffer->get); buffer 565 drivers/gpu/drm/nouveau/nouveau_svm.c SVM_DBG(svm, "%d fault(s) pending", buffer->fault_nr); buffer 571 drivers/gpu/drm/nouveau/nouveau_svm.c sort(buffer->fault, buffer->fault_nr, sizeof(*buffer->fault), buffer 576 drivers/gpu/drm/nouveau/nouveau_svm.c for (fi = 0, svmm = NULL; fi < buffer->fault_nr; fi++) { buffer 577 drivers/gpu/drm/nouveau/nouveau_svm.c if (!svmm || buffer->fault[fi]->inst != inst) { buffer 579 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_ivmm_find(svm, buffer->fault[fi]->inst); buffer 581 drivers/gpu/drm/nouveau/nouveau_svm.c inst = buffer->fault[fi]->inst; buffer 584 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fi]->svmm = svmm; buffer 595 drivers/gpu/drm/nouveau/nouveau_svm.c for (fi = 0; fn = fi + 1, fi < buffer->fault_nr; fi = fn) { buffer 597 drivers/gpu/drm/nouveau/nouveau_svm.c if (!(svmm = buffer->fault[fi]->svmm)) { buffer 598 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_svm_fault_cancel_fault(svm, buffer->fault[fi]); buffer 601 drivers/gpu/drm/nouveau/nouveau_svm.c SVMM_DBG(svmm, "addr %016llx", buffer->fault[fi]->addr); buffer 606 drivers/gpu/drm/nouveau/nouveau_svm.c start = buffer->fault[fi]->addr; buffer 623 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_svm_fault_cancel_fault(svm, buffer->fault[fi]); buffer 630 drivers/gpu/drm/nouveau/nouveau_svm.c if (buffer->fault[fi]->addr != start) { buffer 631 drivers/gpu/drm/nouveau/nouveau_svm.c SVMM_ERR(svmm, "addr %016llx", buffer->fault[fi]->addr); buffer 633 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_svm_fault_cancel_fault(svm, buffer->fault[fi]); buffer 648 drivers/gpu/drm/nouveau/nouveau_svm.c if (buffer->fault[fn]->access != 0 /* READ. */ && buffer 649 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn]->access != 3 /* PREFETCH. */) { buffer 664 drivers/gpu/drm/nouveau/nouveau_svm.c while (++fn < buffer->fault_nr && buffer 665 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn]->svmm == svmm && buffer 666 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn ]->addr == buffer 667 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn - 1]->addr); buffer 672 drivers/gpu/drm/nouveau/nouveau_svm.c if (fn >= buffer->fault_nr || buffer 673 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn]->svmm != svmm || buffer 674 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn]->addr >= limit) buffer 678 drivers/gpu/drm/nouveau/nouveau_svm.c fill = (buffer->fault[fn ]->addr - buffer 679 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn - 1]->addr) >> PAGE_SHIFT; buffer 722 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_svm_fault *fault = buffer->fault[fi++]; buffer 744 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; buffer 745 drivers/gpu/drm/nouveau/nouveau_svm.c nvif_notify_put(&buffer->notify); buffer 751 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; buffer 753 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->get = nvif_rd32(device, buffer->getaddr); buffer 754 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->put = nvif_rd32(device, buffer->putaddr); buffer 755 drivers/gpu/drm/nouveau/nouveau_svm.c SVM_DBG(svm, "get %08x put %08x (init)", buffer->get, buffer->put); buffer 756 drivers/gpu/drm/nouveau/nouveau_svm.c return nvif_notify_get(&buffer->notify); buffer 762 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; buffer 765 drivers/gpu/drm/nouveau/nouveau_svm.c if (buffer->fault) { buffer 766 drivers/gpu/drm/nouveau/nouveau_svm.c for (i = 0; buffer->fault[i] && i < buffer->entries; i++) buffer 767 drivers/gpu/drm/nouveau/nouveau_svm.c kfree(buffer->fault[i]); buffer 768 drivers/gpu/drm/nouveau/nouveau_svm.c kvfree(buffer->fault); buffer 773 drivers/gpu/drm/nouveau/nouveau_svm.c nvif_notify_fini(&buffer->notify); buffer 774 drivers/gpu/drm/nouveau/nouveau_svm.c nvif_object_fini(&buffer->object); buffer 780 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; buffer 786 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->id = id; buffer 789 drivers/gpu/drm/nouveau/nouveau_svm.c &buffer->object); buffer 795 drivers/gpu/drm/nouveau/nouveau_svm.c nvif_object_map(&buffer->object, NULL, 0); buffer 796 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->entries = args.entries; buffer 797 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->getaddr = args.get; buffer 798 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->putaddr = args.put; buffer 800 drivers/gpu/drm/nouveau/nouveau_svm.c ret = nvif_notify_init(&buffer->object, nouveau_svm_fault, true, buffer 802 drivers/gpu/drm/nouveau/nouveau_svm.c &buffer->notify); buffer 806 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault = kvzalloc(sizeof(*buffer->fault) * buffer->entries, GFP_KERNEL); buffer 807 drivers/gpu/drm/nouveau/nouveau_svm.c if (!buffer->fault) buffer 997 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c info->buffer[info->buffer_nr] = round_up(info->addr, align); buffer 998 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c info->addr = info->buffer[info->buffer_nr] + size; buffer 1010 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c int shift, int buffer) buffer 1018 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c info->mmio->buffer = buffer; buffer 1019 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (buffer >= 0) buffer 1020 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c data |= info->buffer[buffer] >> shift; buffer 1025 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (buffer >= 0) buffer 11 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h u64 buffer[4]; buffer 445 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (mmio->buffer >= 0) { buffer 446 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u64 info = chan->data[mmio->buffer].vma->addr; buffer 55 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h int buffer; buffer 31 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.intr(fault->buffer[index], false); buffer 38 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.intr(fault->buffer[index], true); buffer 45 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c struct nvkm_fault_buffer *buffer = nvkm_fault_buffer(object); buffer 49 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c notify->index = buffer->id; buffer 92 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c struct nvkm_fault_buffer *buffer; buffer 95 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c if (!(buffer = kzalloc(sizeof(*buffer), GFP_KERNEL))) buffer 97 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c buffer->fault = fault; buffer 98 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c buffer->id = id; buffer 99 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.info(buffer); buffer 100 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->buffer[id] = buffer; buffer 102 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_debug(subdev, "buffer %d: %d entries\n", id, buffer->entries); buffer 104 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, buffer->entries * buffer 105 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.entry_size, 0x1000, true, buffer 106 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c &buffer->mem); buffer 111 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c buffer->addr = nvkm_memory_bar2(buffer->mem); buffer 112 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c if (buffer->addr == ~0ULL) buffer 124 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c for (i = 0; i < ARRAY_SIZE(fault->buffer); i++) { buffer 125 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c if (i < fault->func->buffer.nr) { buffer 153 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c if (fault->buffer[i]) { buffer 154 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_memory_unref(&fault->buffer[i]->mem); buffer 155 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c kfree(fault->buffer[i]); buffer 29 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c gp100_fault_buffer_intr(struct nvkm_fault_buffer *buffer, bool enable) buffer 31 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 36 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c gp100_fault_buffer_fini(struct nvkm_fault_buffer *buffer) buffer 38 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 43 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c gp100_fault_buffer_init(struct nvkm_fault_buffer *buffer) buffer 45 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 46 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c nvkm_wr32(device, 0x002a74, upper_32_bits(buffer->addr)); buffer 47 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c nvkm_wr32(device, 0x002a70, lower_32_bits(buffer->addr)); buffer 52 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c gp100_fault_buffer_info(struct nvkm_fault_buffer *buffer) buffer 54 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c buffer->entries = nvkm_rd32(buffer->fault->subdev.device, 0x002a78); buffer 55 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c buffer->get = 0x002a7c; buffer 56 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c buffer->put = 0x002a80; buffer 68 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c .buffer.nr = 1, buffer 69 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c .buffer.entry_size = 32, buffer 70 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c .buffer.info = gp100_fault_buffer_info, buffer 71 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c .buffer.init = gp100_fault_buffer_init, buffer 72 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c .buffer.fini = gp100_fault_buffer_fini, buffer 73 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c .buffer.intr = gp100_fault_buffer_intr, buffer 31 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c gv100_fault_buffer_process(struct nvkm_fault_buffer *buffer) buffer 33 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 34 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c struct nvkm_memory *mem = buffer->mem; buffer 35 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c u32 get = nvkm_rd32(device, buffer->get); buffer 36 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c u32 put = nvkm_rd32(device, buffer->put); buffer 42 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c const u32 base = get * buffer->fault->func->buffer.entry_size; buffer 53 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c if (++get == buffer->entries) buffer 55 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c nvkm_wr32(device, buffer->get, get); buffer 74 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c gv100_fault_buffer_intr(struct nvkm_fault_buffer *buffer, bool enable) buffer 76 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 77 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c const u32 intr = buffer->id ? 0x08000000 : 0x20000000; buffer 85 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c gv100_fault_buffer_fini(struct nvkm_fault_buffer *buffer) buffer 87 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 88 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c const u32 foff = buffer->id * 0x14; buffer 93 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c gv100_fault_buffer_init(struct nvkm_fault_buffer *buffer) buffer 95 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 96 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c const u32 foff = buffer->id * 0x14; buffer 99 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c nvkm_wr32(device, 0x100e28 + foff, upper_32_bits(buffer->addr)); buffer 100 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c nvkm_wr32(device, 0x100e24 + foff, lower_32_bits(buffer->addr)); buffer 105 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c gv100_fault_buffer_info(struct nvkm_fault_buffer *buffer) buffer 107 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 108 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c const u32 foff = buffer->id * 0x14; buffer 112 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c buffer->entries = nvkm_rd32(device, 0x100e34 + foff) & 0x000fffff; buffer 113 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c buffer->get = 0x100e2c + foff; buffer 114 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c buffer->put = 0x100e30 + foff; buffer 121 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c gv100_fault_buffer_process(fault->buffer[0]); buffer 165 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c if (fault->buffer[0]) { buffer 172 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c if (fault->buffer[1]) { buffer 187 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c if (fault->buffer[0]) buffer 188 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c fault->func->buffer.fini(fault->buffer[0]); buffer 196 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c fault->func->buffer.init(fault->buffer[0]); buffer 203 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c return nvkm_notify_init(&fault->buffer[0]->object, &fault->event, buffer 214 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c .buffer.nr = 2, buffer 215 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c .buffer.entry_size = 32, buffer 216 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c .buffer.info = gv100_fault_buffer_info, buffer 217 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c .buffer.init = gv100_fault_buffer_init, buffer 218 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c .buffer.fini = gv100_fault_buffer_fini, buffer 219 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c .buffer.intr = gv100_fault_buffer_intr, buffer 36 drivers/gpu/drm/nouveau/nvkm/subdev/fault/priv.h } buffer; buffer 31 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c tu102_fault_buffer_intr(struct nvkm_fault_buffer *buffer, bool enable) buffer 40 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c tu102_fault_buffer_fini(struct nvkm_fault_buffer *buffer) buffer 42 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 43 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c const u32 foff = buffer->id * 0x20; buffer 48 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c tu102_fault_buffer_init(struct nvkm_fault_buffer *buffer) buffer 50 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 51 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c const u32 foff = buffer->id * 0x20; buffer 54 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c nvkm_wr32(device, 0xb83004 + foff, upper_32_bits(buffer->addr)); buffer 55 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c nvkm_wr32(device, 0xb83000 + foff, lower_32_bits(buffer->addr)); buffer 60 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c tu102_fault_buffer_info(struct nvkm_fault_buffer *buffer) buffer 62 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 63 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c const u32 foff = buffer->id * 0x20; buffer 67 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c buffer->entries = nvkm_rd32(device, 0xb83010 + foff) & 0x000fffff; buffer 68 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c buffer->get = 0xb83008 + foff; buffer 69 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c buffer->put = 0xb8300c + foff; buffer 112 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c if (fault->buffer[0]) { buffer 120 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c if (fault->buffer[1]) { buffer 135 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c if (fault->buffer[0]) buffer 136 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c fault->func->buffer.fini(fault->buffer[0]); buffer 144 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c fault->func->buffer.init(fault->buffer[0]); buffer 154 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c .buffer.nr = 2, buffer 155 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c .buffer.entry_size = 32, buffer 156 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c .buffer.info = tu102_fault_buffer_info, buffer 157 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c .buffer.init = tu102_fault_buffer_init, buffer 158 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c .buffer.fini = tu102_fault_buffer_fini, buffer 159 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c .buffer.intr = tu102_fault_buffer_intr, buffer 34 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c struct nvkm_fault_buffer *buffer = nvkm_fault_buffer(object); buffer 35 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c struct nvkm_device *device = buffer->fault->subdev.device; buffer 37 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c *addr = device->func->resource_addr(device, 3) + buffer->addr; buffer 38 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c *size = nvkm_memory_size(buffer->mem); buffer 46 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c struct nvkm_fault_buffer *buffer = nvkm_fault_buffer(object); buffer 48 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c *pevent = &buffer->fault->event; buffer 57 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c struct nvkm_fault_buffer *buffer = nvkm_fault_buffer(object); buffer 58 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c buffer->fault->func->buffer.fini(buffer); buffer 65 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c struct nvkm_fault_buffer *buffer = nvkm_fault_buffer(object); buffer 66 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c buffer->fault->func->buffer.init(buffer); buffer 93 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c struct nvkm_fault_buffer *buffer = fault->buffer[fault->func->user.rp]; buffer 97 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c args->v0.entries = buffer->entries; buffer 98 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c args->v0.get = buffer->get; buffer 99 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c args->v0.put = buffer->put; buffer 103 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c nvkm_object_ctor(&nvkm_ufault, oclass, &buffer->object); buffer 104 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c *pobject = &buffer->object; buffer 89 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c .buffer.type = ACPI_TYPE_BUFFER, buffer 90 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c .buffer.length = sizeof(mxms_args), buffer 91 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c .buffer.pointer = (char *)mxms_args, buffer 114 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c mxm->mxms = kmemdup(obj->buffer.pointer, buffer 115 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c obj->buffer.length, GFP_KERNEL); buffer 189 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c mxm->mxms = kmemdup(obj->buffer.pointer, buffer 190 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c obj->buffer.length, GFP_KERNEL); buffer 70 drivers/gpu/drm/omapdrm/omap_gem.h struct dma_buf *buffer); buffer 65 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c static int omap_gem_dmabuf_begin_cpu_access(struct dma_buf *buffer, buffer 68 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c struct drm_gem_object *obj = buffer->priv; buffer 80 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c static int omap_gem_dmabuf_end_cpu_access(struct dma_buf *buffer, buffer 83 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c struct drm_gem_object *obj = buffer->priv; buffer 88 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c static void *omap_gem_dmabuf_kmap(struct dma_buf *buffer, buffer 91 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c struct drm_gem_object *obj = buffer->priv; buffer 98 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c static void omap_gem_dmabuf_kunmap(struct dma_buf *buffer, buffer 101 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c struct drm_gem_object *obj = buffer->priv; buffer 107 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c static int omap_gem_dmabuf_mmap(struct dma_buf *buffer, buffer 110 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c struct drm_gem_object *obj = buffer->priv; buffer 42 drivers/gpu/drm/panel/panel-lg-lb035q02.c u8 buffer[16]; buffer 47 drivers/gpu/drm/panel/panel-lg-lb035q02.c buffer[0] = 0x70; buffer 48 drivers/gpu/drm/panel/panel-lg-lb035q02.c buffer[1] = 0x00; buffer 49 drivers/gpu/drm/panel/panel-lg-lb035q02.c buffer[2] = reg & 0x7f; buffer 50 drivers/gpu/drm/panel/panel-lg-lb035q02.c index_xfer.tx_buf = buffer; buffer 54 drivers/gpu/drm/panel/panel-lg-lb035q02.c buffer[4] = 0x72; buffer 55 drivers/gpu/drm/panel/panel-lg-lb035q02.c buffer[5] = val >> 8; buffer 56 drivers/gpu/drm/panel/panel-lg-lb035q02.c buffer[6] = val; buffer 57 drivers/gpu/drm/panel/panel-lg-lb035q02.c value_xfer.tx_buf = buffer + 4; buffer 56 drivers/gpu/drm/panel/panel-lg-lg4573.c static int lg4573_spi_write_u16_array(struct lg4573 *ctx, const u16 *buffer, buffer 63 drivers/gpu/drm/panel/panel-lg-lg4573.c ret = lg4573_spi_write_u16(ctx, buffer[i]); buffer 241 drivers/gpu/drm/panel/panel-raydium-rm67191.c u8 buffer[2] = { entry->cmd, entry->param }; buffer 243 drivers/gpu/drm/panel/panel-raydium-rm67191.c ret = mipi_dsi_generic_write(dsi, &buffer, sizeof(buffer)); buffer 104 drivers/gpu/drm/r128/r128_ioc32.c u32 buffer; buffer 121 drivers/gpu/drm/r128/r128_ioc32.c depth.buffer = compat_ptr(depth32.buffer); buffer 895 drivers/gpu/drm/r128/r128_state.c u32 *buffer; buffer 911 drivers/gpu/drm/r128/r128_state.c buffer = memdup_user(depth->buffer, buffer_size); buffer 912 drivers/gpu/drm/r128/r128_state.c if (IS_ERR(buffer)) buffer 913 drivers/gpu/drm/r128/r128_state.c return PTR_ERR(buffer); buffer 919 drivers/gpu/drm/r128/r128_state.c kfree(buffer); buffer 937 drivers/gpu/drm/r128/r128_state.c OUT_RING(buffer[i]); buffer 961 drivers/gpu/drm/r128/r128_state.c OUT_RING(buffer[i]); buffer 970 drivers/gpu/drm/r128/r128_state.c kfree(buffer); buffer 980 drivers/gpu/drm/r128/r128_state.c u32 *buffer; buffer 1001 drivers/gpu/drm/r128/r128_state.c buffer = memdup_user(depth->buffer, buffer_size); buffer 1002 drivers/gpu/drm/r128/r128_state.c if (IS_ERR(buffer)) { buffer 1005 drivers/gpu/drm/r128/r128_state.c return PTR_ERR(buffer); buffer 1014 drivers/gpu/drm/r128/r128_state.c kfree(buffer); buffer 1032 drivers/gpu/drm/r128/r128_state.c OUT_RING(buffer[i]); buffer 1056 drivers/gpu/drm/r128/r128_state.c OUT_RING(buffer[i]); buffer 1067 drivers/gpu/drm/r128/r128_state.c kfree(buffer); buffer 196 drivers/gpu/drm/radeon/atombios_dp.c memcpy(tx_buf + HEADER_SIZE, msg->buffer, msg->size); buffer 214 drivers/gpu/drm/radeon/atombios_dp.c tx_buf, tx_size, msg->buffer, msg->size, delay, &ack); buffer 6714 drivers/gpu/drm/radeon/cik.c void cik_get_csb_buffer(struct radeon_device *rdev, volatile u32 *buffer) buffer 6722 drivers/gpu/drm/radeon/cik.c if (buffer == NULL) buffer 6725 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 6726 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); buffer 6728 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); buffer 6729 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x80000000); buffer 6730 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x80000000); buffer 6735 drivers/gpu/drm/radeon/cik.c buffer[count++] = buffer 6737 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(ext->reg_index - 0xa000); buffer 6739 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(ext->extent[i]); buffer 6746 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 2)); buffer 6747 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(PA_SC_RASTER_CONFIG - PACKET3_SET_CONTEXT_REG_START); buffer 6750 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x16000012); buffer 6751 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x00000000); buffer 6754 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x00000000); /* XXX */ buffer 6755 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x00000000); buffer 6759 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x00000000); /* XXX */ buffer 6760 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x00000000); buffer 6763 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x3a00161a); buffer 6764 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x0000002e); buffer 6767 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x00000000); buffer 6768 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0x00000000); buffer 6772 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 6773 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE); buffer 6775 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0)); buffer 6776 drivers/gpu/drm/radeon/cik.c buffer[count++] = cpu_to_le32(0); buffer 223 drivers/gpu/drm/radeon/evergreen.c extern void si_get_csb_buffer(struct radeon_device *rdev, volatile u32 *buffer); buffer 225 drivers/gpu/drm/radeon/evergreen.c extern void cik_get_csb_buffer(struct radeon_device *rdev, volatile u32 *buffer); buffer 209 drivers/gpu/drm/radeon/evergreen_hdmi.c unsigned char *buffer, size_t size) buffer 211 drivers/gpu/drm/radeon/evergreen_hdmi.c uint8_t *frame = buffer + 3; buffer 220 drivers/gpu/drm/radeon/evergreen_hdmi.c frame[0xC] | (frame[0xD] << 8) | (buffer[1] << 24)); buffer 218 drivers/gpu/drm/radeon/r600_hdmi.c unsigned char *buffer, size_t size) buffer 220 drivers/gpu/drm/radeon/r600_hdmi.c uint8_t *frame = buffer + 3; buffer 229 drivers/gpu/drm/radeon/r600_hdmi.c frame[0xC] | (frame[0xD] << 8) | (buffer[1] << 24)); buffer 244 drivers/gpu/drm/radeon/r600_hdmi.c const void *buffer, size_t size) buffer 251 drivers/gpu/drm/radeon/r600_hdmi.c const u8 *frame = buffer + 3; buffer 418 drivers/gpu/drm/radeon/r600_hdmi.c uint8_t buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AUDIO_INFOFRAME_SIZE]; buffer 442 drivers/gpu/drm/radeon/r600_hdmi.c err = hdmi_audio_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 459 drivers/gpu/drm/radeon/r600_hdmi.c r600_hdmi_update_audio_infoframe(encoder, buffer, sizeof(buffer)); buffer 121 drivers/gpu/drm/radeon/radeon_acpi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 131 drivers/gpu/drm/radeon/radeon_acpi.c atif_arg_elements[1].buffer.length = params->length; buffer 132 drivers/gpu/drm/radeon/radeon_acpi.c atif_arg_elements[1].buffer.pointer = params->pointer; buffer 139 drivers/gpu/drm/radeon/radeon_acpi.c status = acpi_evaluate_object(handle, "ATIF", &atif_arg, &buffer); buffer 145 drivers/gpu/drm/radeon/radeon_acpi.c kfree(buffer.pointer); buffer 149 drivers/gpu/drm/radeon/radeon_acpi.c return buffer.pointer; buffer 224 drivers/gpu/drm/radeon/radeon_acpi.c size = *(u16 *) info->buffer.pointer; buffer 232 drivers/gpu/drm/radeon/radeon_acpi.c memcpy(&output, info->buffer.pointer, size); buffer 271 drivers/gpu/drm/radeon/radeon_acpi.c size = *(u16 *) info->buffer.pointer; buffer 279 drivers/gpu/drm/radeon/radeon_acpi.c memcpy(¶ms, info->buffer.pointer, size); buffer 330 drivers/gpu/drm/radeon/radeon_acpi.c size = *(u16 *)info->buffer.pointer; buffer 338 drivers/gpu/drm/radeon/radeon_acpi.c memcpy(req, info->buffer.pointer, size); buffer 446 drivers/gpu/drm/radeon/radeon_acpi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 456 drivers/gpu/drm/radeon/radeon_acpi.c atcs_arg_elements[1].buffer.length = params->length; buffer 457 drivers/gpu/drm/radeon/radeon_acpi.c atcs_arg_elements[1].buffer.pointer = params->pointer; buffer 464 drivers/gpu/drm/radeon/radeon_acpi.c status = acpi_evaluate_object(handle, "ATCS", &atcs_arg, &buffer); buffer 470 drivers/gpu/drm/radeon/radeon_acpi.c kfree(buffer.pointer); buffer 474 drivers/gpu/drm/radeon/radeon_acpi.c return buffer.pointer; buffer 520 drivers/gpu/drm/radeon/radeon_acpi.c size = *(u16 *) info->buffer.pointer; buffer 528 drivers/gpu/drm/radeon/radeon_acpi.c memcpy(&output, info->buffer.pointer, size); buffer 642 drivers/gpu/drm/radeon/radeon_acpi.c size = *(u16 *) info->buffer.pointer; buffer 650 drivers/gpu/drm/radeon/radeon_acpi.c memcpy(&atcs_output, info->buffer.pointer, size); buffer 401 drivers/gpu/drm/radeon/radeon_asic.h void r600_hdmi_update_avi_infoframe(struct drm_encoder *encoder, void *buffer, buffer 96 drivers/gpu/drm/radeon/radeon_atpx_handler.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 106 drivers/gpu/drm/radeon/radeon_atpx_handler.c atpx_arg_elements[1].buffer.length = params->length; buffer 107 drivers/gpu/drm/radeon/radeon_atpx_handler.c atpx_arg_elements[1].buffer.pointer = params->pointer; buffer 114 drivers/gpu/drm/radeon/radeon_atpx_handler.c status = acpi_evaluate_object(handle, NULL, &atpx_arg, &buffer); buffer 120 drivers/gpu/drm/radeon/radeon_atpx_handler.c kfree(buffer.pointer); buffer 124 drivers/gpu/drm/radeon/radeon_atpx_handler.c return buffer.pointer; buffer 172 drivers/gpu/drm/radeon/radeon_atpx_handler.c size = *(u16 *) info->buffer.pointer; buffer 180 drivers/gpu/drm/radeon/radeon_atpx_handler.c memcpy(&output, info->buffer.pointer, size); buffer 240 drivers/gpu/drm/radeon/radeon_atpx_handler.c size = *(u16 *) info->buffer.pointer; buffer 248 drivers/gpu/drm/radeon/radeon_atpx_handler.c memcpy(&output, info->buffer.pointer, size); buffer 551 drivers/gpu/drm/radeon/radeon_atpx_handler.c struct acpi_buffer buffer = {sizeof(acpi_method_name), acpi_method_name}; buffer 578 drivers/gpu/drm/radeon/radeon_atpx_handler.c acpi_get_name(radeon_atpx_priv.atpx.handle, ACPI_FULL_PATHNAME, &buffer); buffer 79 drivers/gpu/drm/radeon/radeon_audio.c unsigned char *buffer, size_t size); buffer 81 drivers/gpu/drm/radeon/radeon_audio.c unsigned char *buffer, size_t size); buffer 512 drivers/gpu/drm/radeon/radeon_audio.c u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AVI_INFOFRAME_SIZE]; buffer 532 drivers/gpu/drm/radeon/radeon_audio.c err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 541 drivers/gpu/drm/radeon/radeon_audio.c buffer, sizeof(buffer)); buffer 61 drivers/gpu/drm/radeon/radeon_audio.h unsigned char *buffer, size_t size); buffer 156 drivers/gpu/drm/radeon/radeon_bios.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL}; buffer 167 drivers/gpu/drm/radeon/radeon_bios.c status = acpi_evaluate_object(atrm_handle, NULL, &atrm_arg, &buffer); buffer 173 drivers/gpu/drm/radeon/radeon_bios.c obj = (union acpi_object *)buffer.pointer; buffer 174 drivers/gpu/drm/radeon/radeon_bios.c memcpy(bios+offset, obj->buffer.pointer, obj->buffer.length); buffer 175 drivers/gpu/drm/radeon/radeon_bios.c len = obj->buffer.length; buffer 176 drivers/gpu/drm/radeon/radeon_bios.c kfree(buffer.pointer); buffer 65 drivers/gpu/drm/radeon/radeon_dp_auxch.c u8 *buf = msg->buffer; buffer 5715 drivers/gpu/drm/radeon/si.c void si_get_csb_buffer(struct radeon_device *rdev, volatile u32 *buffer) buffer 5723 drivers/gpu/drm/radeon/si.c if (buffer == NULL) buffer 5726 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 5727 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); buffer 5729 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); buffer 5730 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(0x80000000); buffer 5731 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(0x80000000); buffer 5736 drivers/gpu/drm/radeon/si.c buffer[count++] = buffer 5738 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(ext->reg_index - 0xa000); buffer 5740 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(ext->extent[i]); buffer 5747 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 1)); buffer 5748 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(PA_SC_RASTER_CONFIG - PACKET3_SET_CONTEXT_REG_START); buffer 5752 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(0x2a00126a); buffer 5755 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(0x0000124a); buffer 5758 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(0x00000082); buffer 5761 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(0x00000000); buffer 5764 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(0x00000000); buffer 5768 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); buffer 5769 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE); buffer 5771 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0)); buffer 5772 drivers/gpu/drm/radeon/si.c buffer[count++] = cpu_to_le32(0); buffer 435 drivers/gpu/drm/sti/sti_hdmi.c u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; buffer 452 drivers/gpu/drm/sti/sti_hdmi.c ret = hdmi_avi_infoframe_pack(&infoframe, buffer, sizeof(buffer)); buffer 458 drivers/gpu/drm/sti/sti_hdmi.c hdmi_infoframe_write_infopack(hdmi, buffer, ret); buffer 477 drivers/gpu/drm/sti/sti_hdmi.c u8 buffer[HDMI_INFOFRAME_SIZE(AUDIO)]; buffer 484 drivers/gpu/drm/sti/sti_hdmi.c ret = hdmi_audio_infoframe_pack(&audio->cea, buffer, buffer 485 drivers/gpu/drm/sti/sti_hdmi.c sizeof(buffer)); buffer 490 drivers/gpu/drm/sti/sti_hdmi.c hdmi_infoframe_write_infopack(hdmi, buffer, ret); buffer 517 drivers/gpu/drm/sti/sti_hdmi.c u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_VENDOR_INFOFRAME_MAX_SIZE]; buffer 535 drivers/gpu/drm/sti/sti_hdmi.c ret = hdmi_vendor_infoframe_pack(&infoframe, buffer, sizeof(buffer)); buffer 541 drivers/gpu/drm/sti/sti_hdmi.c hdmi_infoframe_write_infopack(hdmi, buffer, ret); buffer 49 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c u8 buffer[17]; buffer 59 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c ret = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 65 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c for (i = 0; i < sizeof(buffer); i++) buffer 66 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c writeb(buffer[i], hdmi->base + SUN4I_HDMI_AVI_INFOFRAME_REG(i)); buffer 254 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c static u16 sun6i_dsi_crc_compute(u8 const *buffer, size_t len) buffer 256 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c return crc_ccitt(0xffff, buffer, len); buffer 259 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c static u16 sun6i_dsi_crc_repeat(u8 pd, u8 *buffer, size_t len) buffer 261 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c memset(buffer, pd, len); buffer 263 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c return sun6i_dsi_crc_compute(buffer, len); buffer 284 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c static u32 sun6i_dsi_build_blk1_pkt(u16 pd, u8 *buffer, size_t len) buffer 288 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c return val | SUN6I_DSI_BLK_PF(sun6i_dsi_crc_repeat(pd, buffer, len)); buffer 539 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c u8 *buffer; buffer 601 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c buffer = kmalloc(bytes, GFP_KERNEL); buffer 602 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c if (WARN_ON(!buffer)) buffer 641 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c sun6i_dsi_build_blk1_pkt(0, buffer, hsa)); buffer 647 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c sun6i_dsi_build_blk1_pkt(0, buffer, hbp)); buffer 653 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c sun6i_dsi_build_blk1_pkt(0, buffer, hfp)); buffer 659 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c sun6i_dsi_build_blk1_pkt(0, buffer, hblk)); buffer 665 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c sun6i_dsi_build_blk1_pkt(0, buffer, vblk)); buffer 667 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c kfree(buffer); buffer 84 drivers/gpu/drm/tegra/dpaux.c static void tegra_dpaux_write_fifo(struct tegra_dpaux *dpaux, const u8 *buffer, buffer 94 drivers/gpu/drm/tegra/dpaux.c value |= buffer[i * 4 + j] << (j * 8); buffer 100 drivers/gpu/drm/tegra/dpaux.c static void tegra_dpaux_read_fifo(struct tegra_dpaux *dpaux, u8 *buffer, buffer 112 drivers/gpu/drm/tegra/dpaux.c buffer[i * 4 + j] = value >> (j * 8); buffer 190 drivers/gpu/drm/tegra/dpaux.c tegra_dpaux_write_fifo(dpaux, msg->buffer, msg->size); buffer 244 drivers/gpu/drm/tegra/dpaux.c tegra_dpaux_read_fifo(dpaux, msg->buffer, count); buffer 1221 drivers/gpu/drm/tegra/dsi.c const void *buffer, size_t size) buffer 1223 drivers/gpu/drm/tegra/dsi.c const u8 *buf = buffer; buffer 688 drivers/gpu/drm/tegra/hdmi.c u8 buffer[17]; buffer 698 drivers/gpu/drm/tegra/hdmi.c err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 704 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_write_infopack(hdmi, buffer, err); buffer 728 drivers/gpu/drm/tegra/hdmi.c u8 buffer[14]; buffer 740 drivers/gpu/drm/tegra/hdmi.c err = hdmi_audio_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 753 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_write_infopack(hdmi, buffer, min_t(size_t, 10, err)); buffer 777 drivers/gpu/drm/tegra/hdmi.c u8 buffer[10]; buffer 783 drivers/gpu/drm/tegra/hdmi.c err = hdmi_vendor_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 790 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_write_infopack(hdmi, buffer, err); buffer 2105 drivers/gpu/drm/tegra/sor.c u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; buffer 2124 drivers/gpu/drm/tegra/sor.c err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 2130 drivers/gpu/drm/tegra/sor.c tegra_sor_hdmi_write_infopack(sor, buffer, err); buffer 2176 drivers/gpu/drm/tegra/sor.c u8 buffer[HDMI_INFOFRAME_SIZE(AUDIO)]; buffer 2189 drivers/gpu/drm/tegra/sor.c err = hdmi_audio_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 2195 drivers/gpu/drm/tegra/sor.c tegra_sor_hdmi_write_infopack(sor, buffer, err); buffer 117 drivers/gpu/drm/ttm/ttm_bo.c char *buffer) buffer 122 drivers/gpu/drm/ttm/ttm_bo.c return snprintf(buffer, PAGE_SIZE, "%d\n", buffer 91 drivers/gpu/drm/ttm/ttm_memory.c char *buffer) buffer 110 drivers/gpu/drm/ttm/ttm_memory.c return snprintf(buffer, PAGE_SIZE, "%llu\n", buffer 118 drivers/gpu/drm/ttm/ttm_memory.c const char *buffer, buffer 127 drivers/gpu/drm/ttm/ttm_memory.c chars = sscanf(buffer, "%lu", &val); buffer 181 drivers/gpu/drm/ttm/ttm_memory.c char *buffer) buffer 192 drivers/gpu/drm/ttm/ttm_memory.c return snprintf(buffer, PAGE_SIZE, "%llu\n", buffer 198 drivers/gpu/drm/ttm/ttm_memory.c const char *buffer, buffer 207 drivers/gpu/drm/ttm/ttm_memory.c chars = sscanf(buffer, "%lu", &val); buffer 154 drivers/gpu/drm/ttm/ttm_page_alloc.c struct attribute *attr, const char *buffer, size_t size) buffer 160 drivers/gpu/drm/ttm/ttm_page_alloc.c chars = sscanf(buffer, "%u", &val); buffer 188 drivers/gpu/drm/ttm/ttm_page_alloc.c struct attribute *attr, char *buffer) buffer 203 drivers/gpu/drm/ttm/ttm_page_alloc.c return snprintf(buffer, PAGE_SIZE, "%u\n", val); buffer 202 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c const char *buffer, size_t size) buffer 209 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c chars = sscanf(buffer, "%u", &val); buffer 237 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c char *buffer) buffer 252 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c return snprintf(buffer, PAGE_SIZE, "%u\n", val); buffer 33 drivers/gpu/drm/vboxvideo/hgsmi_defs.h } buffer; buffer 336 drivers/gpu/drm/vc4/vc4_hdmi.c uint8_t buffer[VC4_HDMI_PACKET_STRIDE]; buffer 344 drivers/gpu/drm/vc4/vc4_hdmi.c len = hdmi_infoframe_pack(frame, buffer, sizeof(buffer)); buffer 356 drivers/gpu/drm/vc4/vc4_hdmi.c buffer[i + 0] << 0 | buffer 357 drivers/gpu/drm/vc4/vc4_hdmi.c buffer[i + 1] << 8 | buffer 358 drivers/gpu/drm/vc4/vc4_hdmi.c buffer[i + 2] << 16); buffer 362 drivers/gpu/drm/vc4/vc4_hdmi.c buffer[i + 3] << 0 | buffer 363 drivers/gpu/drm/vc4/vc4_hdmi.c buffer[i + 4] << 8 | buffer 364 drivers/gpu/drm/vc4/vc4_hdmi.c buffer[i + 5] << 16 | buffer 365 drivers/gpu/drm/vc4/vc4_hdmi.c buffer[i + 6] << 24); buffer 442 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t buffer = VC4_GET_FIELD(surf->bits, buffer 496 drivers/gpu/drm/vc4/vc4_render_cl.c if (buffer == VC4_LOADSTORE_TILE_BUFFER_ZS) { buffer 502 drivers/gpu/drm/vc4/vc4_render_cl.c } else if (buffer == VC4_LOADSTORE_TILE_BUFFER_COLOR) { buffer 516 drivers/gpu/drm/vc4/vc4_render_cl.c DRM_DEBUG("Bad load/store buffer %d.\n", buffer); buffer 521 drivers/gpu/drm/via/via_verifier.c via_check_prim_list(uint32_t const **buffer, const uint32_t * buf_end, buffer 529 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 620 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 625 drivers/gpu/drm/via/via_verifier.c via_check_header2(uint32_t const **buffer, const uint32_t *buf_end, buffer 631 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 646 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 665 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 670 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 691 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 712 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 717 drivers/gpu/drm/via/via_verifier.c via_parse_header2(drm_via_private_t *dev_priv, uint32_t const **buffer, buffer 721 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 761 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 784 drivers/gpu/drm/via/via_verifier.c verify_video_tail(uint32_t const **buffer, const uint32_t * buf_end, buffer 787 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 799 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 804 drivers/gpu/drm/via/via_verifier.c via_check_header1(uint32_t const **buffer, const uint32_t * buf_end) buffer 807 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 831 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 836 drivers/gpu/drm/via/via_verifier.c via_parse_header1(drm_via_private_t *dev_priv, uint32_t const **buffer, buffer 840 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 849 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 854 drivers/gpu/drm/via/via_verifier.c via_check_vheader5(uint32_t const **buffer, const uint32_t *buf_end) buffer 857 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 881 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 887 drivers/gpu/drm/via/via_verifier.c via_parse_vheader5(drm_via_private_t *dev_priv, uint32_t const **buffer, buffer 891 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 900 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 905 drivers/gpu/drm/via/via_verifier.c via_check_vheader6(uint32_t const **buffer, const uint32_t * buf_end) buffer 908 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 937 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 942 drivers/gpu/drm/via/via_verifier.c via_parse_vheader6(drm_via_private_t *dev_priv, uint32_t const **buffer, buffer 947 drivers/gpu/drm/via/via_verifier.c const uint32_t *buf = *buffer; buffer 958 drivers/gpu/drm/via/via_verifier.c *buffer = buf; buffer 918 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h } buffer; buffer 980 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h } buffer; buffer 871 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h extern ssize_t vmw_fops_read(struct file *filp, char __user *buffer, buffer 1389 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h char *buffer, size_t *length); buffer 413 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c uint32_t *buffer = (fifo_state->dynamic_buffer != NULL) ? buffer 421 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c memcpy(fifo_mem + (next_cmd >> 2), buffer, chunk_size); buffer 424 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c memcpy(fifo_mem + (min >> 2), buffer + (chunk_size >> 2), rest); buffer 432 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c uint32_t *buffer = (fifo_state->dynamic_buffer != NULL) ? buffer 436 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c vmw_mmio_write(*buffer++, fifo_mem + (next_cmd >> 2)); buffer 184 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c void __user *buffer = (void __user *)((unsigned long)(arg->buffer)); buffer 236 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c ret = copy_to_user(buffer, bounce, size); buffer 440 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c ssize_t vmw_fops_read(struct file *filp, char __user *buffer, buffer 448 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c return drm_read(filp, buffer, count, offset); buffer 363 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vps->bo = vmw_framebuffer_to_vfbd(fb)->buffer; buffer 986 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_bo_unreference(&vfbd->buffer); buffer 1075 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : buffer 1118 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : buffer 1259 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vfbd->buffer = vmw_bo_reference(bo); buffer 2825 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c ret = vmw_validation_add_bo(&val_ctx, vfbbo->buffer, false, buffer 236 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct vmw_buffer_object *buffer; buffer 244 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct vmw_buffer_object *buffer; buffer 414 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c char *buffer, size_t *length) buffer 441 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c if (buffer && reply && reply_len > 0) { buffer 449 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c memcpy(buffer, reply + 2, reply_len); buffer 94 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct vmw_buffer_object *buffer; /**< Backing store buffer */ buffer 132 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c BUG_ON(!sou->buffer); buffer 153 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_bo_get_guest_ptr(&sou->buffer->base, &cmd->obj.backingStore.ptr); buffer 243 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c sou->buffer = vps->bo; buffer 258 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c sou->buffer = NULL; buffer 496 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_bo_get_guest_ptr(&vfbbo->buffer->base, &gmr->body.ptr); buffer 983 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c base)->buffer; buffer 1252 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c base)->buffer; buffer 1358 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c container_of(vfb, struct vmw_framebuffer_bo, base)->buffer; buffer 714 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_buffer_object *buffer, buffer 764 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c num_output_sig, buffer, buffer 789 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_buffer_object *buffer, buffer 831 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c offset, shader_type, 0, 0, buffer, buffer 847 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_buffer_object *buffer = NULL; buffer 853 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c &buffer, NULL); buffer 859 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c if ((u64)buffer->base.num_pages * PAGE_SIZE < buffer 884 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c ret = vmw_user_shader_alloc(dev_priv, buffer, size, offset, buffer 890 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_bo_unreference(&buffer); buffer 684 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c container_of(vfb, struct vmw_framebuffer_bo, base)->buffer; buffer 1213 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_bo_get_guest_ptr(&vfbbo->buffer->base, &cmd_dma->body.guest.ptr); buffer 1253 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c suffix->maximumOffset = vfbbo->buffer->base.num_pages * PAGE_SIZE; buffer 1314 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c src_bo = &vfbbo->buffer->base; buffer 77 drivers/gpu/drm/zte/zx_hdmi.c u8 buffer[ZX_HDMI_INFOFRAME_SIZE]; buffer 83 drivers/gpu/drm/zte/zx_hdmi.c num = hdmi_infoframe_pack(frame, buffer, ZX_HDMI_INFOFRAME_SIZE); buffer 90 drivers/gpu/drm/zte/zx_hdmi.c hdmi_writeb(hdmi, TPI_INFO_B0 + i, buffer[i]); buffer 71 drivers/greybus/es2.c u8 *buffer[NUM_CPORT_IN_URB]; buffer 427 drivers/greybus/es2.c message->buffer, buffer_size, buffer 802 drivers/greybus/es2.c kfree(es2->cport_in.buffer[i]); buffer 803 drivers/greybus/es2.c es2->cport_in.buffer[i] = NULL; buffer 1345 drivers/greybus/es2.c u8 *buffer; buffer 1354 drivers/greybus/es2.c buffer = kmalloc(ES2_GBUF_MSG_SIZE_MAX, GFP_KERNEL); buffer 1355 drivers/greybus/es2.c if (!buffer) { buffer 1362 drivers/greybus/es2.c buffer, ES2_GBUF_MSG_SIZE_MAX, buffer 1365 drivers/greybus/es2.c es2->cport_in.buffer[i] = buffer; buffer 1371 drivers/greybus/es2.c u8 *buffer; buffer 1380 drivers/greybus/es2.c buffer = kmalloc(ARPC_IN_SIZE_MAX, GFP_KERNEL); buffer 1381 drivers/greybus/es2.c if (!buffer) { buffer 1389 drivers/greybus/es2.c buffer, ARPC_IN_SIZE_MAX, buffer 1392 drivers/greybus/es2.c es2->arpc_buffer[i] = buffer; buffer 316 drivers/greybus/operation.c header = message->buffer; buffer 379 drivers/greybus/operation.c message->buffer = kzalloc(message_size, gfp_flags); buffer 380 drivers/greybus/operation.c if (!message->buffer) buffer 396 drivers/greybus/operation.c kfree(message->buffer); buffer 1011 drivers/greybus/operation.c memcpy(message->buffer, data, size); buffer 134 drivers/hid/hid-alps.c static u16 t4_calc_check_sum(u8 *buffer, buffer 149 drivers/hid/hid-alps.c sum1 += buffer[offset + i]; buffer 1091 drivers/hid/hid-debug.c static ssize_t hid_debug_events_read(struct file *file, char __user *buffer, buffer 1142 drivers/hid/hid-debug.c ret = kfifo_to_user(&list->hid_debug_fifo, buffer, count, &copied); buffer 31 drivers/hid/hid-elo.c unsigned char buffer[ELO_SMARTSET_PACKET_SIZE]; buffer 139 drivers/hid/hid-elo.c unsigned char *buffer = priv->buffer; buffer 150 drivers/hid/hid-elo.c *buffer = ELO_DIAG; buffer 151 drivers/hid/hid-elo.c ret = elo_smartset_send_get(dev, ELO_SEND_SMARTSET_COMMAND, buffer); buffer 159 drivers/hid/hid-elo.c ret = elo_smartset_send_get(dev, ELO_GET_SMARTSET_RESPONSE, buffer); buffer 167 drivers/hid/hid-elo.c if (*buffer != 'A') { buffer 169 drivers/hid/hid-elo.c buffer); buffer 142 drivers/hid/hid-gt683r.c u8 *buffer; buffer 144 drivers/hid/hid-gt683r.c buffer = kzalloc(GT683R_BUFFER_SIZE, GFP_KERNEL); buffer 145 drivers/hid/hid-gt683r.c if (!buffer) buffer 148 drivers/hid/hid-gt683r.c buffer[0] = 0x01; buffer 149 drivers/hid/hid-gt683r.c buffer[1] = 0x02; buffer 150 drivers/hid/hid-gt683r.c buffer[2] = 0x30; buffer 151 drivers/hid/hid-gt683r.c buffer[3] = leds; buffer 152 drivers/hid/hid-gt683r.c ret = gt683r_led_snd_msg(led, buffer); buffer 154 drivers/hid/hid-gt683r.c kfree(buffer); buffer 161 drivers/hid/hid-gt683r.c u8 *buffer; buffer 163 drivers/hid/hid-gt683r.c buffer = kzalloc(GT683R_BUFFER_SIZE, GFP_KERNEL); buffer 164 drivers/hid/hid-gt683r.c if (!buffer) buffer 167 drivers/hid/hid-gt683r.c buffer[0] = 0x01; buffer 168 drivers/hid/hid-gt683r.c buffer[1] = 0x02; buffer 169 drivers/hid/hid-gt683r.c buffer[2] = 0x20; buffer 170 drivers/hid/hid-gt683r.c buffer[3] = mode; buffer 171 drivers/hid/hid-gt683r.c buffer[4] = 0x01; buffer 172 drivers/hid/hid-gt683r.c ret = gt683r_led_snd_msg(led, buffer); buffer 174 drivers/hid/hid-gt683r.c kfree(buffer); buffer 102 drivers/hid/hid-hyperv.c char buffer[1]; buffer 300 drivers/hid/hid-hyperv.c memcpy(input_dev->input_buf, input_report->buffer, len); buffer 217 drivers/hid/hid-prodikeys.c unsigned char buffer[3]; buffer 219 drivers/hid/hid-prodikeys.c buffer[0] = status; buffer 220 drivers/hid/hid-prodikeys.c buffer[1] = note; buffer 221 drivers/hid/hid-prodikeys.c buffer[2] = velocity; buffer 230 drivers/hid/hid-prodikeys.c snd_rawmidi_receive(pm->in_substream, buffer, 3); buffer 73 drivers/hid/hid-roccat.c static ssize_t roccat_read(struct file *file, char __user *buffer, buffer 125 drivers/hid/hid-roccat.c if (copy_to_user(buffer, report->value, len)) { buffer 192 drivers/hid/hid-sensor-hub.c u32 field_index, int buffer_size, void *buffer) buffer 196 drivers/hid/hid-sensor-hub.c __s32 *buf32 = buffer; buffer 235 drivers/hid/hid-sensor-hub.c u32 field_index, int buffer_size, void *buffer) buffer 245 drivers/hid/hid-sensor-hub.c memset(buffer, 0, buffer_size); buffer 272 drivers/hid/hid-sensor-hub.c memcpy(&((u8 *)buffer)[buffer_index], val_ptr, buffer 22 drivers/hid/hid-wiimote-core.c static int wiimote_hid_send(struct hid_device *hdev, __u8 *buffer, buffer 31 drivers/hid/hid-wiimote-core.c buf = kmemdup(buffer, count, GFP_KERNEL); buffer 70 drivers/hid/hid-wiimote-core.c static void wiimote_queue(struct wiimote_data *wdata, const __u8 *buffer, buffer 95 drivers/hid/hid-wiimote-core.c memcpy(wdata->queue.outq[wdata->queue.head].data, buffer, count); buffer 39 drivers/hid/hidraw.c static ssize_t hidraw_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) buffer 80 drivers/hid/hidraw.c len = list->buffer[list->tail].len > count ? buffer 81 drivers/hid/hidraw.c count : list->buffer[list->tail].len; buffer 83 drivers/hid/hidraw.c if (list->buffer[list->tail].value) { buffer 84 drivers/hid/hidraw.c if (copy_to_user(buffer, list->buffer[list->tail].value, len)) { buffer 91 drivers/hid/hidraw.c kfree(list->buffer[list->tail].value); buffer 92 drivers/hid/hidraw.c list->buffer[list->tail].value = NULL; buffer 103 drivers/hid/hidraw.c static ssize_t hidraw_send_report(struct file *file, const char __user *buffer, size_t count, unsigned char report_type) buffer 133 drivers/hid/hidraw.c buf = memdup_user(buffer, count); buffer 160 drivers/hid/hidraw.c static ssize_t hidraw_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) buffer 164 drivers/hid/hidraw.c ret = hidraw_send_report(file, buffer, count, HID_OUTPUT_REPORT); buffer 177 drivers/hid/hidraw.c static ssize_t hidraw_get_report(struct file *file, char __user *buffer, size_t count, unsigned char report_type) buffer 223 drivers/hid/hidraw.c if (copy_from_user(&report_number, buffer, 1)) { buffer 236 drivers/hid/hidraw.c if (copy_to_user(buffer, buf, len)) { buffer 492 drivers/hid/hidraw.c if (!(list->buffer[list->head].value = kmemdup(data, len, GFP_ATOMIC))) { buffer 496 drivers/hid/hidraw.c list->buffer[list->head].len = len; buffer 219 drivers/hid/intel-ish-hid/ipc/ipc.c static int _ishtp_read(struct ishtp_device *dev, unsigned char *buffer, buffer 223 drivers/hid/intel-ish-hid/ipc/ipc.c uint32_t *r_buf = (uint32_t *)buffer; buffer 356 drivers/hid/intel-ish-hid/ishtp-fw-loader.c if (!rb_in_proc->buffer.data) { buffer 371 drivers/hid/intel-ish-hid/ishtp-fw-loader.c hdr = (struct loader_msg_hdr *)rb_in_proc->buffer.data; buffer 422 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rb_in_proc->buffer.data, data_len); buffer 339 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!rb_in_proc->buffer.data) buffer 345 drivers/hid/intel-ish-hid/ishtp-hid-client.c process_recv(hid_ishtp_cl, rb_in_proc->buffer.data, r_length); buffer 108 drivers/hid/intel-ish-hid/ishtp/client-buffers.c kfree(rb->buffer.data); buffer 118 drivers/hid/intel-ish-hid/ishtp/client-buffers.c kfree(rb->buffer.data); buffer 170 drivers/hid/intel-ish-hid/ishtp/client-buffers.c kfree(rb->buffer.data); buffer 213 drivers/hid/intel-ish-hid/ishtp/client-buffers.c rb->buffer.data = kmalloc(length, GFP_KERNEL); buffer 214 drivers/hid/intel-ish-hid/ishtp/client-buffers.c if (!rb->buffer.data) buffer 217 drivers/hid/intel-ish-hid/ishtp/client-buffers.c rb->buffer.size = length; buffer 823 drivers/hid/intel-ish-hid/ishtp/client.c unsigned char *buffer = NULL; buffer 850 drivers/hid/intel-ish-hid/ishtp/client.c if (rb->buffer.size == 0 || rb->buffer.data == NULL) { buffer 866 drivers/hid/intel-ish-hid/ishtp/client.c if (rb->buffer.size < ishtp_hdr->length + rb->buf_idx) { buffer 870 drivers/hid/intel-ish-hid/ishtp/client.c rb->buffer.size, ishtp_hdr->length, buffer 878 drivers/hid/intel-ish-hid/ishtp/client.c buffer = rb->buffer.data + rb->buf_idx; buffer 879 drivers/hid/intel-ish-hid/ishtp/client.c dev->ops->ishtp_read(dev, buffer, ishtp_hdr->length); buffer 923 drivers/hid/intel-ish-hid/ishtp/client.c if (!buffer) { buffer 956 drivers/hid/intel-ish-hid/ishtp/client.c unsigned char *buffer = NULL; buffer 972 drivers/hid/intel-ish-hid/ishtp/client.c if (rb->buffer.size == 0 || rb->buffer.data == NULL) { buffer 988 drivers/hid/intel-ish-hid/ishtp/client.c if (rb->buffer.size < hbm->msg_length) { buffer 992 drivers/hid/intel-ish-hid/ishtp/client.c rb->buffer.size, hbm->msg_length, rb->buf_idx); buffer 999 drivers/hid/intel-ish-hid/ishtp/client.c buffer = rb->buffer.data; buffer 1000 drivers/hid/intel-ish-hid/ishtp/client.c memcpy(buffer, msg, hbm->msg_length); buffer 1043 drivers/hid/intel-ish-hid/ishtp/client.c if (!buffer) { buffer 117 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h int (*ishtp_read)(struct ishtp_device *dev, unsigned char *buffer, buffer 399 drivers/hid/uhid.c static int uhid_event_from_user(const char __user *buffer, size_t len, buffer 405 drivers/hid/uhid.c if (get_user(type, buffer)) buffer 420 drivers/hid/uhid.c buffer += sizeof(type); buffer 422 drivers/hid/uhid.c if (copy_from_user(compat, buffer, buffer 453 drivers/hid/uhid.c if (copy_from_user(event, buffer, min(len, sizeof(*event)))) buffer 459 drivers/hid/uhid.c static int uhid_event_from_user(const char __user *buffer, size_t len, buffer 462 drivers/hid/uhid.c if (copy_from_user(event, buffer, min(len, sizeof(*event)))) buffer 652 drivers/hid/uhid.c static ssize_t uhid_char_read(struct file *file, char __user *buffer, buffer 684 drivers/hid/uhid.c if (copy_to_user(buffer, uhid->outq[uhid->tail], len)) { buffer 700 drivers/hid/uhid.c static ssize_t uhid_char_write(struct file *file, const char __user *buffer, buffer 718 drivers/hid/uhid.c ret = uhid_event_from_user(buffer, len, &uhid->input_buf); buffer 39 drivers/hid/usbhid/hiddev.c struct hiddev_usage_ref buffer[HIDDEV_BUFFER_SIZE]; buffer 151 drivers/hid/usbhid/hiddev.c list->buffer[list->head] = *uref; buffer 311 drivers/hid/usbhid/hiddev.c static ssize_t hiddev_write(struct file * file, const char __user * buffer, size_t count, loff_t *ppos) buffer 319 drivers/hid/usbhid/hiddev.c static ssize_t hiddev_read(struct file * file, char __user * buffer, size_t count, loff_t *ppos) buffer 377 drivers/hid/usbhid/hiddev.c if (list->buffer[list->tail].field_index != HID_FIELD_INDEX_NONE) { buffer 380 drivers/hid/usbhid/hiddev.c event.hid = list->buffer[list->tail].usage_code; buffer 381 drivers/hid/usbhid/hiddev.c event.value = list->buffer[list->tail].value; buffer 382 drivers/hid/usbhid/hiddev.c if (copy_to_user(buffer + retval, &event, sizeof(struct hiddev_event))) { buffer 389 drivers/hid/usbhid/hiddev.c if (list->buffer[list->tail].field_index != HID_FIELD_INDEX_NONE || buffer 392 drivers/hid/usbhid/hiddev.c if (copy_to_user(buffer + retval, list->buffer + list->tail, sizeof(struct hiddev_usage_ref))) { buffer 747 drivers/hv/channel.c int vmbus_sendpacket(struct vmbus_channel *channel, void *buffer, buffer 769 drivers/hv/channel.c bufferlist[1].iov_base = buffer; buffer 787 drivers/hv/channel.c u32 pagecount, void *buffer, u32 bufferlen, buffer 828 drivers/hv/channel.c bufferlist[1].iov_base = buffer; buffer 845 drivers/hv/channel.c void *buffer, u32 bufferlen, u64 requestid) buffer 866 drivers/hv/channel.c bufferlist[1].iov_base = buffer; buffer 890 drivers/hv/channel.c __vmbus_recvpacket(struct vmbus_channel *channel, void *buffer, buffer 894 drivers/hv/channel.c return hv_ringbuffer_read(channel, buffer, bufferlen, buffer 899 drivers/hv/channel.c int vmbus_recvpacket(struct vmbus_channel *channel, void *buffer, buffer 903 drivers/hv/channel.c return __vmbus_recvpacket(channel, buffer, bufferlen, buffer 911 drivers/hv/channel.c int vmbus_recvpacket_raw(struct vmbus_channel *channel, void *buffer, buffer 915 drivers/hv/channel.c return __vmbus_recvpacket(channel, buffer, bufferlen, buffer 393 drivers/hv/connection.c int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep) buffer 410 drivers/hv/connection.c ret = hv_post_message(conn_id, 1, buffer, buflen); buffer 423 drivers/hv/connection.c hdr = buffer; buffer 191 drivers/hv/hyperv_vmbus.h void *buffer, u32 buflen, u32 *buffer_actual_len, buffer 348 drivers/hv/hyperv_vmbus.h int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep); buffer 329 drivers/hv/ring_buffer.c void *buffer, u32 buflen, u32 *buffer_actual_len, buffer 360 drivers/hv/ring_buffer.c memcpy(buffer, (const char *)desc + offset, packetlen); buffer 542 drivers/hwmon/acpi_power_meter.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 547 drivers/hwmon/acpi_power_meter.c &buffer); buffer 553 drivers/hwmon/acpi_power_meter.c pss = buffer.pointer; buffer 613 drivers/hwmon/acpi_power_meter.c kfree(buffer.pointer); buffer 733 drivers/hwmon/acpi_power_meter.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 741 drivers/hwmon/acpi_power_meter.c &buffer); buffer 747 drivers/hwmon/acpi_power_meter.c pss = buffer.pointer; buffer 805 drivers/hwmon/acpi_power_meter.c kfree(buffer.pointer); buffer 219 drivers/hwmon/applesmc.c static int read_smc(u8 cmd, const char *key, u8 *buffer, u8 len) buffer 240 drivers/hwmon/applesmc.c buffer[i] = inb(APPLESMC_DATA_PORT); buffer 257 drivers/hwmon/applesmc.c static int write_smc(u8 cmd, const char *key, const u8 *buffer, u8 len) buffer 272 drivers/hwmon/applesmc.c if (send_byte(buffer[i], APPLESMC_DATA_PORT)) { buffer 424 drivers/hwmon/applesmc.c static int applesmc_read_key(const char *key, u8 *buffer, u8 len) buffer 432 drivers/hwmon/applesmc.c return applesmc_read_entry(entry, buffer, len); buffer 435 drivers/hwmon/applesmc.c static int applesmc_write_key(const char *key, const u8 *buffer, u8 len) buffer 443 drivers/hwmon/applesmc.c return applesmc_write_entry(entry, buffer, len); buffer 463 drivers/hwmon/applesmc.c u8 buffer[2]; buffer 466 drivers/hwmon/applesmc.c ret = applesmc_read_key(key, buffer, 2); buffer 470 drivers/hwmon/applesmc.c *value = ((s16)buffer[0] << 8) | buffer[1]; buffer 480 drivers/hwmon/applesmc.c u8 buffer[2]; buffer 486 drivers/hwmon/applesmc.c if (!applesmc_read_key(MOTION_SENSOR_KEY, buffer, 2) && buffer 487 drivers/hwmon/applesmc.c (buffer[0] != 0x00 || buffer[1] != 0x00)) buffer 489 drivers/hwmon/applesmc.c buffer[0] = 0xe0; buffer 490 drivers/hwmon/applesmc.c buffer[1] = 0x00; buffer 491 drivers/hwmon/applesmc.c applesmc_write_key(MOTION_SENSOR_KEY, buffer, 2); buffer 738 drivers/hwmon/applesmc.c u8 buffer[10]; buffer 750 drivers/hwmon/applesmc.c ret = applesmc_read_key(LIGHT_SENSOR_LEFT_KEY, buffer, data_length); buffer 753 drivers/hwmon/applesmc.c left = be16_to_cpu(*(__be16 *)(buffer + 6)) >> 2; buffer 756 drivers/hwmon/applesmc.c left = buffer[2]; buffer 759 drivers/hwmon/applesmc.c ret = applesmc_read_key(LIGHT_SENSOR_RIGHT_KEY, buffer, data_length); buffer 760 drivers/hwmon/applesmc.c right = buffer[2]; buffer 802 drivers/hwmon/applesmc.c u8 buffer[2]; buffer 807 drivers/hwmon/applesmc.c ret = applesmc_read_key(newkey, buffer, 2); buffer 808 drivers/hwmon/applesmc.c speed = ((buffer[0] << 8 | buffer[1]) >> 2); buffer 823 drivers/hwmon/applesmc.c u8 buffer[2]; buffer 831 drivers/hwmon/applesmc.c buffer[0] = (speed >> 6) & 0xff; buffer 832 drivers/hwmon/applesmc.c buffer[1] = (speed << 2) & 0xff; buffer 833 drivers/hwmon/applesmc.c ret = applesmc_write_key(newkey, buffer, 2); buffer 846 drivers/hwmon/applesmc.c u8 buffer[2]; buffer 848 drivers/hwmon/applesmc.c ret = applesmc_read_key(FANS_MANUAL, buffer, 2); buffer 849 drivers/hwmon/applesmc.c manual = ((buffer[0] << 8 | buffer[1]) >> to_index(attr)) & 0x01; buffer 862 drivers/hwmon/applesmc.c u8 buffer[2]; buffer 869 drivers/hwmon/applesmc.c ret = applesmc_read_key(FANS_MANUAL, buffer, 2); buffer 870 drivers/hwmon/applesmc.c val = (buffer[0] << 8 | buffer[1]); buffer 879 drivers/hwmon/applesmc.c buffer[0] = (val >> 8) & 0xFF; buffer 880 drivers/hwmon/applesmc.c buffer[1] = val & 0xFF; buffer 882 drivers/hwmon/applesmc.c ret = applesmc_write_key(FANS_MANUAL, buffer, 2); buffer 896 drivers/hwmon/applesmc.c u8 buffer[17]; buffer 900 drivers/hwmon/applesmc.c ret = applesmc_read_key(newkey, buffer, 16); buffer 901 drivers/hwmon/applesmc.c buffer[16] = 0; buffer 906 drivers/hwmon/applesmc.c return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", buffer+4); buffer 945 drivers/hwmon/applesmc.c u8 buffer[4]; buffer 948 drivers/hwmon/applesmc.c ret = applesmc_read_key(KEY_COUNT_KEY, buffer, 4); buffer 949 drivers/hwmon/applesmc.c count = ((u32)buffer[0]<<24) + ((u32)buffer[1]<<16) + buffer 950 drivers/hwmon/applesmc.c ((u32)buffer[2]<<8) + buffer[3]; buffer 538 drivers/hwmon/asus_atk0110.c tmp.buffer.pointer = (u8 *)&buf; buffer 539 drivers/hwmon/asus_atk0110.c tmp.buffer.length = sizeof(buf); buffer 555 drivers/hwmon/asus_atk0110.c if (obj->buffer.length < 8) { buffer 557 drivers/hwmon/asus_atk0110.c obj->buffer.length); buffer 575 drivers/hwmon/asus_atk0110.c tmp.buffer.pointer = (u8 *)buf; buffer 576 drivers/hwmon/asus_atk0110.c tmp.buffer.length = sizeof(*buf); buffer 592 drivers/hwmon/asus_atk0110.c if (obj->buffer.length < 8) { buffer 594 drivers/hwmon/asus_atk0110.c obj->buffer.length); buffer 613 drivers/hwmon/asus_atk0110.c buf = (struct atk_acpi_ret_buffer *)obj->buffer.pointer; buffer 674 drivers/hwmon/asus_atk0110.c buf = (struct atk_acpi_ret_buffer *)ret->buffer.pointer; buffer 1071 drivers/hwmon/asus_atk0110.c buf = (struct atk_acpi_ret_buffer *)obj->buffer.pointer; buffer 1104 drivers/hwmon/asus_atk0110.c ec_ret = (struct atk_acpi_ret_buffer *)obj->buffer.pointer; buffer 360 drivers/hwmon/pmbus/ucd9000.c static int ucd9000_get_mfr_status(struct i2c_client *client, u8 *buffer) buffer 367 drivers/hwmon/pmbus/ucd9000.c return i2c_smbus_read_block_data(client, UCD9000_MFR_STATUS, buffer); buffer 374 drivers/hwmon/pmbus/ucd9000.c u8 buffer[I2C_SMBUS_BLOCK_MAX]; buffer 377 drivers/hwmon/pmbus/ucd9000.c ret = ucd9000_get_mfr_status(client, buffer); buffer 385 drivers/hwmon/pmbus/ucd9000.c *val = !!(buffer[1] & BIT(entry->index)); buffer 397 drivers/hwmon/pmbus/ucd9000.c u8 buffer[I2C_SMBUS_BLOCK_MAX]; buffer 402 drivers/hwmon/pmbus/ucd9000.c rc = ucd9000_get_mfr_status(client, buffer); buffer 406 drivers/hwmon/pmbus/ucd9000.c res = bin2hex(str, buffer, min(rc, I2C_SMBUS_BLOCK_MAX)); buffer 292 drivers/hwmon/sht3x.c char buffer[SHT3X_RESPONSE_LENGTH]; buffer 299 drivers/hwmon/sht3x.c commands->read_command, buffer, buffer 305 drivers/hwmon/sht3x.c raw = be16_to_cpup((__be16 *)buffer); buffer 346 drivers/hwmon/sht3x.c char buffer[SHT3X_CMD_LENGTH + SHT3X_WORD_LEN + SHT3X_CRC8_LEN]; buffer 347 drivers/hwmon/sht3x.c char *position = buffer; buffer 375 drivers/hwmon/sht3x.c ret = i2c_master_send(client, buffer, sizeof(buffer)); buffer 378 drivers/hwmon/sht3x.c if (ret != sizeof(buffer)) buffer 462 drivers/hwmon/sht3x.c char *buffer, int length) buffer 469 drivers/hwmon/sht3x.c buffer, length, 0); buffer 478 drivers/hwmon/sht3x.c char buffer[SHT3X_WORD_LEN + SHT3X_CRC8_LEN]; buffer 481 drivers/hwmon/sht3x.c ret = status_register_read(dev, attr, buffer, buffer 486 drivers/hwmon/sht3x.c return scnprintf(buf, PAGE_SIZE, "%d\n", !!(buffer[0] & 0x04)); buffer 493 drivers/hwmon/sht3x.c char buffer[SHT3X_WORD_LEN + SHT3X_CRC8_LEN]; buffer 496 drivers/hwmon/sht3x.c ret = status_register_read(dev, attr, buffer, buffer 501 drivers/hwmon/sht3x.c return scnprintf(buf, PAGE_SIZE, "%d\n", !!(buffer[0] & 0x08)); buffer 508 drivers/hwmon/sht3x.c char buffer[SHT3X_WORD_LEN + SHT3X_CRC8_LEN]; buffer 511 drivers/hwmon/sht3x.c ret = status_register_read(dev, attr, buffer, buffer 516 drivers/hwmon/sht3x.c return scnprintf(buf, PAGE_SIZE, "%d\n", !!(buffer[0] & 0x20)); buffer 26 drivers/hwmon/vexpress-hwmon.c struct device_attribute *dev_attr, char *buffer) buffer 30 drivers/hwmon/vexpress-hwmon.c return snprintf(buffer, PAGE_SIZE, "%s\n", label); buffer 34 drivers/hwmon/vexpress-hwmon.c struct device_attribute *dev_attr, char *buffer) buffer 44 drivers/hwmon/vexpress-hwmon.c return snprintf(buffer, PAGE_SIZE, "%u\n", value / buffer 49 drivers/hwmon/vexpress-hwmon.c struct device_attribute *dev_attr, char *buffer) buffer 63 drivers/hwmon/vexpress-hwmon.c return snprintf(buffer, PAGE_SIZE, "%llu\n", buffer 328 drivers/hwtracing/coresight/coresight-platform.c return (obj->type == ACPI_TYPE_BUFFER) && (obj->buffer.length == 16); buffer 339 drivers/hwtracing/coresight/coresight-platform.c guid_equal((guid_t *)obj->buffer.pointer, guid); buffer 176 drivers/i2c/busses/i2c-ismt.c u8 buffer[I2C_SMBUS_BLOCK_MAX + 16]; /* temp R/W data buffer */ buffer 325 drivers/i2c/busses/i2c-ismt.c u8 *dma_buffer = PTR_ALIGN(&priv->buffer[0], 16); buffer 400 drivers/i2c/busses/i2c-ismt.c u8 *dma_buffer = PTR_ALIGN(&priv->buffer[0], 16); buffer 405 drivers/i2c/busses/i2c-ismt.c memset(priv->buffer, 0, sizeof(priv->buffer)); buffer 145 drivers/i2c/busses/i2c-nomadik.c unsigned char *buffer; buffer 497 drivers/i2c/busses/i2c-nomadik.c writeb(*dev->cli.buffer, buffer 499 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer++; buffer 678 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer = msgs[i].buf; buffer 771 drivers/i2c/busses/i2c-nomadik.c *dev->cli.buffer = readb(dev->virtbase + I2C_RFR); buffer 772 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer++; buffer 781 drivers/i2c/busses/i2c-nomadik.c *dev->cli.buffer = readb(dev->virtbase + I2C_RFR); buffer 782 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer++; buffer 796 drivers/i2c/busses/i2c-nomadik.c *dev->cli.buffer = buffer 798 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer++; buffer 91 drivers/i2c/busses/i2c-scmi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 152 drivers/i2c/busses/i2c-scmi.c mt_params[4].buffer.length = len; buffer 153 drivers/i2c/busses/i2c-scmi.c mt_params[4].buffer.pointer = data->block + 1; buffer 181 drivers/i2c/busses/i2c-scmi.c &buffer); buffer 188 drivers/i2c/busses/i2c-scmi.c pkg = buffer.pointer; buffer 261 drivers/i2c/busses/i2c-scmi.c memcpy(data->block + 1, obj->buffer.pointer, len); buffer 266 drivers/i2c/busses/i2c-scmi.c kfree(buffer.pointer); buffer 303 drivers/i2c/busses/i2c-scmi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 311 drivers/i2c/busses/i2c-scmi.c NULL, &buffer); buffer 318 drivers/i2c/busses/i2c-scmi.c obj = buffer.pointer; buffer 323 drivers/i2c/busses/i2c-scmi.c kfree(buffer.pointer); buffer 329 drivers/i2c/busses/i2c-scmi.c kfree(buffer.pointer); buffer 335 drivers/i2c/busses/i2c-scmi.c kfree(buffer.pointer); buffer 351 drivers/i2c/busses/i2c-scmi.c struct acpi_buffer buffer = { sizeof(node_name), node_name }; buffer 355 drivers/i2c/busses/i2c-scmi.c status = acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer); buffer 37 drivers/i2c/busses/i2c-taos-evm.c unsigned char buffer[TAOS_BUFFER_SIZE]; buffer 68 drivers/i2c/busses/i2c-taos-evm.c p = taos->buffer; buffer 94 drivers/i2c/busses/i2c-taos-evm.c dev_dbg(&adapter->dev, "Command buffer: %s\n", taos->buffer); buffer 95 drivers/i2c/busses/i2c-taos-evm.c for (p = taos->buffer; *p; p++) buffer 112 drivers/i2c/busses/i2c-taos-evm.c dev_dbg(&adapter->dev, "Answer buffer: %s\n", taos->buffer); buffer 115 drivers/i2c/busses/i2c-taos-evm.c p = taos->buffer + 1; buffer 156 drivers/i2c/busses/i2c-taos-evm.c taos->buffer[taos->pos++] = data; buffer 159 drivers/i2c/busses/i2c-taos-evm.c taos->buffer[taos->pos] = '\0'; buffer 169 drivers/i2c/busses/i2c-taos-evm.c taos->buffer[taos->pos++] = data; buffer 171 drivers/i2c/busses/i2c-taos-evm.c taos->buffer[taos->pos] = '\0'; buffer 183 drivers/i2c/busses/i2c-taos-evm.c static char *taos_adapter_name(char *buffer) buffer 187 drivers/i2c/busses/i2c-taos-evm.c start = strstr(buffer, "TAOS "); buffer 236 drivers/i2c/busses/i2c-taos-evm.c name = taos_adapter_name(taos->buffer); buffer 1049 drivers/i2c/busses/i2c-tegra.c u32 *buffer = NULL; buffer 1101 drivers/i2c/busses/i2c-tegra.c buffer = i2c_dev->dma_buf; buffer 1110 drivers/i2c/busses/i2c-tegra.c *buffer++ = packet_header; buffer 1116 drivers/i2c/busses/i2c-tegra.c *buffer++ = packet_header; buffer 1136 drivers/i2c/busses/i2c-tegra.c *buffer++ = packet_header; buffer 1142 drivers/i2c/busses/i2c-tegra.c memcpy(buffer, msg->buf, msg->len); buffer 275 drivers/i2c/busses/scx200_acb.c u8 *buffer; buffer 282 drivers/i2c/busses/scx200_acb.c buffer = NULL; buffer 287 drivers/i2c/busses/scx200_acb.c buffer = rw ? &data->byte : &command; buffer 292 drivers/i2c/busses/scx200_acb.c buffer = &data->byte; buffer 298 drivers/i2c/busses/scx200_acb.c buffer = (u8 *)&cur_word; buffer 305 drivers/i2c/busses/scx200_acb.c buffer = &data->block[1]; buffer 325 drivers/i2c/busses/scx200_acb.c iface->ptr = buffer; buffer 352 drivers/i2c/busses/scx200_acb.c if (buffer) { buffer 356 drivers/i2c/busses/scx200_acb.c printk(" %02x", buffer[i]); buffer 515 drivers/i2c/i2c-core-acpi.c u8 *buffer; buffer 517 drivers/i2c/i2c-core-acpi.c buffer = kzalloc(data_len, GFP_KERNEL); buffer 518 drivers/i2c/i2c-core-acpi.c if (!buffer) buffer 529 drivers/i2c/i2c-core-acpi.c msgs[1].buf = buffer; buffer 542 drivers/i2c/i2c-core-acpi.c memcpy(data, buffer, data_len); buffer 548 drivers/i2c/i2c-core-acpi.c kfree(buffer); buffer 557 drivers/i2c/i2c-core-acpi.c u8 *buffer; buffer 560 drivers/i2c/i2c-core-acpi.c buffer = kzalloc(data_len + 1, GFP_KERNEL); buffer 561 drivers/i2c/i2c-core-acpi.c if (!buffer) buffer 564 drivers/i2c/i2c-core-acpi.c buffer[0] = cmd; buffer 565 drivers/i2c/i2c-core-acpi.c memcpy(buffer + 1, data, data_len); buffer 570 drivers/i2c/i2c-core-acpi.c msgs[0].buf = buffer; buffer 574 drivers/i2c/i2c-core-acpi.c kfree(buffer); buffer 37 drivers/i2c/i2c-slave-eeprom.c u8 buffer[]; buffer 60 drivers/i2c/i2c-slave-eeprom.c eeprom->buffer[eeprom->buffer_idx++ & eeprom->address_mask] = *val; buffer 72 drivers/i2c/i2c-slave-eeprom.c *val = eeprom->buffer[eeprom->buffer_idx & eeprom->address_mask]; buffer 102 drivers/i2c/i2c-slave-eeprom.c memcpy(buf, &eeprom->buffer[off], count); buffer 117 drivers/i2c/i2c-slave-eeprom.c memcpy(&eeprom->buffer[off], buf, count); buffer 277 drivers/ide/ide-acpi.c if (!out_obj->buffer.length || !out_obj->buffer.pointer || buffer 278 drivers/ide/ide-acpi.c out_obj->buffer.length % REGS_PER_GTF) { buffer 281 drivers/ide/ide-acpi.c __func__, out_obj->buffer.length, buffer 282 drivers/ide/ide-acpi.c out_obj->buffer.pointer); buffer 288 drivers/ide/ide-acpi.c *gtf_length = out_obj->buffer.length; buffer 289 drivers/ide/ide-acpi.c *gtf_address = (unsigned long)out_obj->buffer.pointer; buffer 437 drivers/ide/ide-acpi.c if (!out_obj->buffer.length || !out_obj->buffer.pointer || buffer 438 drivers/ide/ide-acpi.c out_obj->buffer.length != sizeof(struct GTM_buffer)) { buffer 442 drivers/ide/ide-acpi.c __func__, out_obj->buffer.length, buffer 443 drivers/ide/ide-acpi.c sizeof(struct GTM_buffer), out_obj->buffer.pointer); buffer 448 drivers/ide/ide-acpi.c memcpy(&hwif->acpidata->gtm, out_obj->buffer.pointer, buffer 452 drivers/ide/ide-acpi.c out_obj->buffer.pointer, out_obj->buffer.length, buffer 489 drivers/ide/ide-acpi.c in_params[0].buffer.length = sizeof(struct GTM_buffer); buffer 490 drivers/ide/ide-acpi.c in_params[0].buffer.pointer = (u8 *)&hwif->acpidata->gtm; buffer 492 drivers/ide/ide-acpi.c in_params[1].buffer.length = ATA_ID_WORDS * 2; buffer 493 drivers/ide/ide-acpi.c in_params[1].buffer.pointer = (u8 *)&master->idbuff; buffer 495 drivers/ide/ide-acpi.c in_params[2].buffer.length = ATA_ID_WORDS * 2; buffer 496 drivers/ide/ide-acpi.c in_params[2].buffer.pointer = (u8 *)&slave->idbuff; buffer 432 drivers/ide/ide-cd.c int write, void *buffer, unsigned *bufflen, buffer 460 drivers/ide/ide-cd.c if (buffer) { buffer 461 drivers/ide/ide-cd.c error = blk_rq_map_kern(drive->queue, rq, buffer, buffer 472 drivers/ide/ide-cd.c if (buffer) buffer 1643 drivers/ide/ide-cd.c char buffer[16]; buffer 1650 drivers/ide/ide-cd.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_UNKNOWN); buffer 1656 drivers/ide/ide-cd.c buffer[11] = (buffer[11] & 0xf0) | (spindown & 0x0f); buffer 1663 drivers/ide/ide-cd.c char buffer[16]; buffer 1667 drivers/ide/ide-cd.c init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_UNKNOWN); buffer 1673 drivers/ide/ide-cd.c spindown = buffer[11] & 0x0f; buffer 463 drivers/ide/ide-cd_ioctl.c cgc->buffer, &len, buffer 282 drivers/ide/ide-proc.c static ssize_t ide_settings_proc_write(struct file *file, const char __user *buffer, buffer 305 drivers/ide/ide-proc.c if (copy_from_user(buf, buffer, count)) { buffer 1719 drivers/ide/ide-tape.c ide_tape_devset_r_field(buffer, caps[16]); buffer 1724 drivers/ide/ide-tape.c __IDE_PROC_DEVSET(buffer, 0, 0xffff, NULL, divf_buffer), buffer 959 drivers/iio/accel/adxl372.c iio_buffer_set_attrs(indio_dev->buffer, adxl372_fifo_attributes); buffer 76 drivers/iio/accel/bma220_spi.c s8 buffer[16]; /* 3x8-bit channels + 5x8 padding + 8x8 timestamp */ buffer 107 drivers/iio/accel/bma220_spi.c ret = spi_write_then_read(spi, data->tx_buf, 1, data->buffer, buffer 112 drivers/iio/accel/bma220_spi.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 191 drivers/iio/accel/bmc150-accel-core.c s16 buffer[8]; buffer 841 drivers/iio/accel/bmc150-accel-core.c char *buffer, int samples) buffer 849 drivers/iio/accel/bmc150-accel-core.c buffer, total_length); buffer 864 drivers/iio/accel/bmc150-accel-core.c u16 buffer[BMC150_ACCEL_FIFO_LENGTH * 3]; buffer 914 drivers/iio/accel/bmc150-accel-core.c ret = bmc150_accel_fifo_transfer(data, (u8 *)buffer, count); buffer 931 drivers/iio/accel/bmc150-accel-core.c memcpy(&sample[j++], &buffer[i * 3 + bit], 2); buffer 1115 drivers/iio/accel/bmc150-accel-core.c data->buffer, AXIS_MAX * 2); buffer 1120 drivers/iio/accel/bmc150-accel-core.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 1627 drivers/iio/accel/bmc150-accel-core.c iio_buffer_set_attrs(indio_dev->buffer, buffer 76 drivers/iio/accel/dmard10.c unsigned char buffer[7]; buffer 89 drivers/iio/accel/dmard10.c buffer[0] = DMARD10_REG_ACTR; buffer 90 drivers/iio/accel/dmard10.c buffer[1] = DMARD10_MODE_STANDBY; buffer 91 drivers/iio/accel/dmard10.c buffer[2] = DMARD10_MODE_READ_OTP; buffer 92 drivers/iio/accel/dmard10.c buffer[3] = DMARD10_MODE_STANDBY; buffer 93 drivers/iio/accel/dmard10.c buffer[4] = DMARD10_MODE_RESET_DATA_PATH; buffer 94 drivers/iio/accel/dmard10.c buffer[5] = DMARD10_MODE_STANDBY; buffer 95 drivers/iio/accel/dmard10.c ret = i2c_master_send(client, buffer, 6); buffer 106 drivers/iio/accel/dmard10.c buffer[0] = DMARD10_REG_AFEM; buffer 107 drivers/iio/accel/dmard10.c buffer[1] = DMARD10_VALUE_AFEM_AFEN_NORMAL; buffer 108 drivers/iio/accel/dmard10.c buffer[2] = DMARD10_VALUE_CKSEL_ODR_100_204; buffer 109 drivers/iio/accel/dmard10.c buffer[3] = DMARD10_VALUE_INTC; buffer 110 drivers/iio/accel/dmard10.c buffer[4] = DMARD10_VALUE_TAPNS_AVE_2; buffer 111 drivers/iio/accel/dmard10.c buffer[5] = 0x00; /* DLYC, no delay timing */ buffer 112 drivers/iio/accel/dmard10.c buffer[6] = 0x07; /* INTD=1 push-pull, INTA=1 active high, AUTOT=1 */ buffer 113 drivers/iio/accel/dmard10.c ret = i2c_master_send(client, buffer, 7); buffer 129 drivers/iio/accel/dmard10.c unsigned char buffer[3]; buffer 131 drivers/iio/accel/dmard10.c buffer[0] = DMARD10_REG_ACTR; buffer 132 drivers/iio/accel/dmard10.c buffer[1] = DMARD10_MODE_STANDBY; buffer 133 drivers/iio/accel/dmard10.c buffer[2] = DMARD10_MODE_OFF; buffer 135 drivers/iio/accel/dmard10.c return i2c_master_send(client, buffer, 3); buffer 134 drivers/iio/accel/kxcjk-1013.c s16 buffer[8]; buffer 1042 drivers/iio/accel/kxcjk-1013.c (u8 *)data->buffer); buffer 1047 drivers/iio/accel/kxcjk-1013.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 487 drivers/iio/accel/mma8452.c __be16 buffer[3]; buffer 497 drivers/iio/accel/mma8452.c ret = mma8452_read(data, buffer); buffer 504 drivers/iio/accel/mma8452.c buffer[chan->scan_index]) >> chan->scan_type.shift, buffer 1094 drivers/iio/accel/mma8452.c u8 buffer[16]; /* 3 16-bit channels + padding + ts */ buffer 1097 drivers/iio/accel/mma8452.c ret = mma8452_read(data, (__be16 *)buffer); buffer 1101 drivers/iio/accel/mma8452.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, buffer 59 drivers/iio/accel/mxc4005.c __be16 buffer[8]; buffer 138 drivers/iio/accel/mxc4005.c (u8 *) data->buffer, sizeof(data->buffer)); buffer 304 drivers/iio/accel/mxc4005.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 1277 drivers/iio/accel/sca3000.c struct iio_buffer *buffer; buffer 1279 drivers/iio/accel/sca3000.c buffer = devm_iio_kfifo_allocate(&indio_dev->dev); buffer 1280 drivers/iio/accel/sca3000.c if (!buffer) buffer 1283 drivers/iio/accel/sca3000.c iio_device_attach_buffer(indio_dev, buffer); buffer 99 drivers/iio/accel/ssp_accel_sensor.c struct iio_buffer *buffer; buffer 119 drivers/iio/accel/ssp_accel_sensor.c buffer = devm_iio_kfifo_allocate(&pdev->dev); buffer 120 drivers/iio/accel/ssp_accel_sensor.c if (!buffer) buffer 123 drivers/iio/accel/ssp_accel_sensor.c iio_device_attach_buffer(indio_dev, buffer); buffer 1018 drivers/iio/accel/st_accel_core.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 1046 drivers/iio/accel/st_accel_core.c status = acpi_evaluate_object(adev->handle, "_ONT", NULL, &buffer); buffer 1055 drivers/iio/accel/st_accel_core.c ont = buffer.pointer; buffer 1142 drivers/iio/accel/st_accel_core.c kfree(buffer.pointer); buffer 106 drivers/iio/accel/stk8312.c s8 buffer[16]; /* 3x8-bit channels + 5x8 padding + 64-bit timestamp */ buffer 441 drivers/iio/accel/stk8312.c data->buffer); buffer 455 drivers/iio/accel/stk8312.c data->buffer[i++] = ret; buffer 460 drivers/iio/accel/stk8312.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 99 drivers/iio/accel/stk8ba50.c s16 buffer[8]; buffer 327 drivers/iio/accel/stk8ba50.c (u8 *)data->buffer); buffer 340 drivers/iio/accel/stk8ba50.c data->buffer[i++] = ret; buffer 343 drivers/iio/accel/stk8ba50.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 57 drivers/iio/adc/ad7949.c u32 buffer ____cacheline_aligned; buffer 69 drivers/iio/adc/ad7949.c .tx_buf = &ad7949_adc->buffer, buffer 76 drivers/iio/adc/ad7949.c ad7949_adc->buffer = ad7949_adc->cfg << shift; buffer 98 drivers/iio/adc/ad7949.c .rx_buf = &ad7949_adc->buffer, buffer 121 drivers/iio/adc/ad7949.c ad7949_adc->buffer = 0; buffer 135 drivers/iio/adc/ad7949.c *val = ad7949_adc->buffer & mask; buffer 402 drivers/iio/adc/at91-sama5d2_adc.c u16 buffer[AT91_BUFFER_MAX_HWORDS]; buffer 1039 drivers/iio/adc/at91-sama5d2_adc.c st->buffer[i] = val; buffer 1041 drivers/iio/adc/at91-sama5d2_adc.c st->buffer[i] = 0; buffer 1046 drivers/iio/adc/at91-sama5d2_adc.c iio_push_to_buffers_with_timestamp(indio_dev, st->buffer, buffer 1202 drivers/iio/adc/at91-sama5d2_adc.c st->buffer[i] = val; buffer 1252 drivers/iio/adc/at91-sama5d2_adc.c iio_push_to_buffers(indio_dev, st->buffer); buffer 1807 drivers/iio/adc/at91-sama5d2_adc.c iio_buffer_set_attrs(indio_dev->buffer, buffer 195 drivers/iio/adc/at91_adc.c u16 *buffer; buffer 257 drivers/iio/adc/at91_adc.c st->buffer[j] = at91_adc_readl(st, AT91_ADC_CHAN(st, chan->channel)); buffer 261 drivers/iio/adc/at91_adc.c iio_push_to_buffers_with_timestamp(idev, st->buffer, pf->timestamp); buffer 565 drivers/iio/adc/at91_adc.c st->buffer = kmalloc(idev->scan_bytes, GFP_KERNEL); buffer 566 drivers/iio/adc/at91_adc.c if (st->buffer == NULL) buffer 593 drivers/iio/adc/at91_adc.c kfree(st->buffer); buffer 90 drivers/iio/adc/hx711.c u32 buffer[4]; buffer 377 drivers/iio/adc/hx711.c memset(hx711_data->buffer, 0, sizeof(hx711_data->buffer)); buffer 383 drivers/iio/adc/hx711.c hx711_data->buffer[j] = hx711_reset_read(hx711_data, buffer 388 drivers/iio/adc/hx711.c iio_push_to_buffers_with_timestamp(indio_dev, hx711_data->buffer, buffer 953 drivers/iio/adc/ina2xx-adc.c struct iio_buffer *buffer; buffer 1032 drivers/iio/adc/ina2xx-adc.c buffer = devm_iio_kfifo_allocate(&indio_dev->dev); buffer 1033 drivers/iio/adc/ina2xx-adc.c if (!buffer) buffer 1036 drivers/iio/adc/ina2xx-adc.c iio_device_attach_buffer(indio_dev, buffer); buffer 209 drivers/iio/adc/max1027.c __be16 *buffer; buffer 256 drivers/iio/adc/max1027.c ret = spi_read(st->spi, st->buffer, (chan->type == IIO_TEMP) ? 4 : 2); buffer 260 drivers/iio/adc/max1027.c *val = be16_to_cpu(st->buffer[0]); buffer 310 drivers/iio/adc/max1027.c u8 *val = (u8 *)st->buffer; buffer 371 drivers/iio/adc/max1027.c spi_read(st->spi, st->buffer, indio_dev->masklength * 2); buffer 373 drivers/iio/adc/max1027.c iio_push_to_buffers(indio_dev, st->buffer); buffer 422 drivers/iio/adc/max1027.c st->buffer = devm_kmalloc_array(&indio_dev->dev, buffer 425 drivers/iio/adc/max1027.c if (st->buffer == NULL) { buffer 37 drivers/iio/adc/max11100.c u8 buffer[3] ____cacheline_aligned; buffer 53 drivers/iio/adc/max11100.c ret = spi_read(state->spi, state->buffer, sizeof(state->buffer)); buffer 60 drivers/iio/adc/max11100.c if (state->buffer[0]) { buffer 65 drivers/iio/adc/max11100.c *val = (state->buffer[1] << 8) | state->buffer[2]; buffer 118 drivers/iio/adc/mxs-lradc-adc.c u32 buffer[10]; buffer 422 drivers/iio/adc/mxs-lradc-adc.c adc->buffer[j] = readl(adc->base + LRADC_CH(j)); buffer 424 drivers/iio/adc/mxs-lradc-adc.c adc->buffer[j] &= LRADC_CH_VALUE_MASK; buffer 425 drivers/iio/adc/mxs-lradc-adc.c adc->buffer[j] /= LRADC_DELAY_TIMER_LOOP; buffer 429 drivers/iio/adc/mxs-lradc-adc.c iio_push_to_buffers_with_timestamp(iio, adc->buffer, pf->timestamp); buffer 197 drivers/iio/adc/stm32-adc.c u16 buffer[STM32_ADC_MAX_SQ]; buffer 1151 drivers/iio/adc/stm32-adc.c *res = adc->buffer[0]; buffer 1216 drivers/iio/adc/stm32-adc.c adc->buffer[adc->bufi] = stm32_adc_readw(adc, regs->dr); buffer 1385 drivers/iio/adc/stm32-adc.c u16 *buffer = (u16 *)&adc->rx_buf[adc->bufi]; buffer 1387 drivers/iio/adc/stm32-adc.c iio_push_to_buffers(indio_dev, buffer); buffer 1540 drivers/iio/adc/stm32-adc.c iio_push_to_buffers_with_timestamp(indio_dev, adc->buffer, buffer 1546 drivers/iio/adc/stm32-adc.c u16 *buffer = (u16 *)&adc->rx_buf[adc->bufi]; buffer 1548 drivers/iio/adc/stm32-adc.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, buffer 81 drivers/iio/adc/stm32-dfsdm-adc.c u32 *buffer; buffer 822 drivers/iio/adc/stm32-dfsdm-adc.c s32 *buffer) buffer 827 drivers/iio/adc/stm32-dfsdm-adc.c s32 *ptr = buffer; buffer 866 drivers/iio/adc/stm32-dfsdm-adc.c s32 *buffer = (s32 *)&adc->rx_buf[adc->bufi]; buffer 868 drivers/iio/adc/stm32-dfsdm-adc.c stm32_dfsdm_process_data(adc, buffer); buffer 889 drivers/iio/adc/stm32-dfsdm-adc.c iio_push_to_buffers(indio_dev, buffer); buffer 1149 drivers/iio/adc/stm32-dfsdm-adc.c adc->buffer = res; buffer 1320 drivers/iio/adc/stm32-dfsdm-adc.c regmap_read(regmap, DFSDM_RDATAR(adc->fl_id), adc->buffer); buffer 31 drivers/iio/adc/ti-adc128s052.c u8 buffer[2] ____cacheline_aligned; buffer 40 drivers/iio/adc/ti-adc128s052.c adc->buffer[0] = channel << 3; buffer 41 drivers/iio/adc/ti-adc128s052.c adc->buffer[1] = 0; buffer 43 drivers/iio/adc/ti-adc128s052.c ret = spi_write(adc->spi, &adc->buffer, 2); buffer 49 drivers/iio/adc/ti-adc128s052.c ret = spi_read(adc->spi, &adc->buffer, 2); buffer 56 drivers/iio/adc/ti-adc128s052.c return ((adc->buffer[0] << 8 | adc->buffer[1]) & 0xFFF); buffer 73 drivers/iio/adc/ti-adc161s626.c u8 buffer[16] ____cacheline_aligned; buffer 119 drivers/iio/adc/ti-adc161s626.c (int *) &data->buffer); buffer 122 drivers/iio/adc/ti-adc161s626.c data->buffer, buffer 273 drivers/iio/adc/ti-ads124s08.c u32 buffer[ADS124S08_MAX_CHANNELS + sizeof(s64)/sizeof(u16)]; buffer 288 drivers/iio/adc/ti-ads124s08.c buffer[j] = ads124s_read(indio_dev, scan_index); buffer 296 drivers/iio/adc/ti-ads124s08.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, buffer 386 drivers/iio/adc/ti-ads8688.c u16 buffer[ADS8688_MAX_CHANNELS + sizeof(s64)/sizeof(u16)]; buffer 392 drivers/iio/adc/ti-ads8688.c buffer[j] = ads8688_read(indio_dev, i); buffer 396 drivers/iio/adc/ti-ads8688.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, buffer 387 drivers/iio/adc/ti_am335x_adc.c struct iio_buffer *buffer; buffer 390 drivers/iio/adc/ti_am335x_adc.c buffer = iio_kfifo_allocate(); buffer 391 drivers/iio/adc/ti_am335x_adc.c if (!buffer) buffer 394 drivers/iio/adc/ti_am335x_adc.c iio_device_attach_buffer(indio_dev, buffer); buffer 407 drivers/iio/adc/ti_am335x_adc.c iio_kfifo_free(indio_dev->buffer); buffer 416 drivers/iio/adc/ti_am335x_adc.c iio_kfifo_free(indio_dev->buffer); buffer 170 drivers/iio/adc/vf610_adc.c u16 buffer[8]; buffer 582 drivers/iio/adc/vf610_adc.c info->buffer[0] = info->value; buffer 584 drivers/iio/adc/vf610_adc.c info->buffer, buffer 15 drivers/iio/buffer/industrialio-buffer-cb.c struct iio_buffer buffer; buffer 22 drivers/iio/buffer/industrialio-buffer-cb.c static struct iio_cb_buffer *buffer_to_cb_buffer(struct iio_buffer *buffer) buffer 24 drivers/iio/buffer/industrialio-buffer-cb.c return container_of(buffer, struct iio_cb_buffer, buffer); buffer 27 drivers/iio/buffer/industrialio-buffer-cb.c static int iio_buffer_cb_store_to(struct iio_buffer *buffer, const void *data) buffer 29 drivers/iio/buffer/industrialio-buffer-cb.c struct iio_cb_buffer *cb_buff = buffer_to_cb_buffer(buffer); buffer 33 drivers/iio/buffer/industrialio-buffer-cb.c static void iio_buffer_cb_release(struct iio_buffer *buffer) buffer 35 drivers/iio/buffer/industrialio-buffer-cb.c struct iio_cb_buffer *cb_buff = buffer_to_cb_buffer(buffer); buffer 37 drivers/iio/buffer/industrialio-buffer-cb.c bitmap_free(cb_buff->buffer.scan_mask); buffer 61 drivers/iio/buffer/industrialio-buffer-cb.c iio_buffer_init(&cb_buff->buffer); buffer 65 drivers/iio/buffer/industrialio-buffer-cb.c cb_buff->buffer.access = &iio_cb_access; buffer 66 drivers/iio/buffer/industrialio-buffer-cb.c INIT_LIST_HEAD(&cb_buff->buffer.demux_list); buffer 75 drivers/iio/buffer/industrialio-buffer-cb.c cb_buff->buffer.scan_mask = bitmap_zalloc(cb_buff->indio_dev->masklength, buffer 77 drivers/iio/buffer/industrialio-buffer-cb.c if (cb_buff->buffer.scan_mask == NULL) { buffer 88 drivers/iio/buffer/industrialio-buffer-cb.c cb_buff->buffer.scan_mask); buffer 95 drivers/iio/buffer/industrialio-buffer-cb.c bitmap_free(cb_buff->buffer.scan_mask); buffer 109 drivers/iio/buffer/industrialio-buffer-cb.c cb_buff->buffer.watermark = watermark; buffer 117 drivers/iio/buffer/industrialio-buffer-cb.c return iio_update_buffers(cb_buff->indio_dev, &cb_buff->buffer, buffer 124 drivers/iio/buffer/industrialio-buffer-cb.c iio_update_buffers(cb_buff->indio_dev, NULL, &cb_buff->buffer); buffer 131 drivers/iio/buffer/industrialio-buffer-cb.c iio_buffer_put(&cb_buff->buffer); buffer 104 drivers/iio/buffer/industrialio-buffer-dma.c iio_buffer_put(&block->queue->buffer); buffer 163 drivers/iio/buffer/industrialio-buffer-dma.c return container_of(buf, struct iio_dma_buffer_queue, buffer); buffer 188 drivers/iio/buffer/industrialio-buffer-dma.c iio_buffer_get(&queue->buffer); buffer 224 drivers/iio/buffer/industrialio-buffer-dma.c wake_up_interruptible_poll(&queue->buffer.pollq, EPOLLIN | EPOLLRDNORM); buffer 253 drivers/iio/buffer/industrialio-buffer-dma.c wake_up_interruptible_poll(&queue->buffer.pollq, EPOLLIN | EPOLLRDNORM); buffer 281 drivers/iio/buffer/industrialio-buffer-dma.c int iio_dma_buffer_request_update(struct iio_buffer *buffer) buffer 283 drivers/iio/buffer/industrialio-buffer-dma.c struct iio_dma_buffer_queue *queue = iio_buffer_to_queue(buffer); buffer 295 drivers/iio/buffer/industrialio-buffer-dma.c size = DIV_ROUND_UP(queue->buffer.bytes_per_datum * buffer 296 drivers/iio/buffer/industrialio-buffer-dma.c queue->buffer.length, 2); buffer 401 drivers/iio/buffer/industrialio-buffer-dma.c int iio_dma_buffer_enable(struct iio_buffer *buffer, buffer 404 drivers/iio/buffer/industrialio-buffer-dma.c struct iio_dma_buffer_queue *queue = iio_buffer_to_queue(buffer); buffer 427 drivers/iio/buffer/industrialio-buffer-dma.c int iio_dma_buffer_disable(struct iio_buffer *buffer, buffer 430 drivers/iio/buffer/industrialio-buffer-dma.c struct iio_dma_buffer_queue *queue = iio_buffer_to_queue(buffer); buffer 482 drivers/iio/buffer/industrialio-buffer-dma.c int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, buffer 485 drivers/iio/buffer/industrialio-buffer-dma.c struct iio_dma_buffer_queue *queue = iio_buffer_to_queue(buffer); buffer 489 drivers/iio/buffer/industrialio-buffer-dma.c if (n < buffer->bytes_per_datum) buffer 506 drivers/iio/buffer/industrialio-buffer-dma.c n = rounddown(n, buffer->bytes_per_datum); buffer 573 drivers/iio/buffer/industrialio-buffer-dma.c int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd) buffer 575 drivers/iio/buffer/industrialio-buffer-dma.c buffer->bytes_per_datum = bpd; buffer 589 drivers/iio/buffer/industrialio-buffer-dma.c int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length) buffer 594 drivers/iio/buffer/industrialio-buffer-dma.c buffer->length = length; buffer 595 drivers/iio/buffer/industrialio-buffer-dma.c buffer->watermark = length / 2; buffer 614 drivers/iio/buffer/industrialio-buffer-dma.c iio_buffer_init(&queue->buffer); buffer 615 drivers/iio/buffer/industrialio-buffer-dma.c queue->buffer.length = PAGE_SIZE; buffer 616 drivers/iio/buffer/industrialio-buffer-dma.c queue->buffer.watermark = queue->buffer.length / 2; buffer 41 drivers/iio/buffer/industrialio-buffer-dmaengine.c struct iio_buffer *buffer) buffer 43 drivers/iio/buffer/industrialio-buffer-dmaengine.c return container_of(buffer, struct dmaengine_buffer, queue.buffer); buffer 61 drivers/iio/buffer/industrialio-buffer-dmaengine.c iio_buffer_to_dmaengine_buffer(&queue->buffer); buffer 94 drivers/iio/buffer/industrialio-buffer-dmaengine.c iio_buffer_to_dmaengine_buffer(&queue->buffer); buffer 182 drivers/iio/buffer/industrialio-buffer-dmaengine.c dmaengine_buffer->queue.buffer.access = &iio_dmaengine_buffer_ops; buffer 184 drivers/iio/buffer/industrialio-buffer-dmaengine.c return &dmaengine_buffer->queue.buffer; buffer 198 drivers/iio/buffer/industrialio-buffer-dmaengine.c void iio_dmaengine_buffer_free(struct iio_buffer *buffer) buffer 201 drivers/iio/buffer/industrialio-buffer-dmaengine.c iio_buffer_to_dmaengine_buffer(buffer); buffer 206 drivers/iio/buffer/industrialio-buffer-dmaengine.c iio_buffer_put(buffer); buffer 30 drivers/iio/buffer/industrialio-hw-consumer.c struct iio_buffer buffer; buffer 35 drivers/iio/buffer/industrialio-hw-consumer.c struct iio_buffer *buffer) buffer 37 drivers/iio/buffer/industrialio-hw-consumer.c return container_of(buffer, struct hw_consumer_buffer, buffer); buffer 40 drivers/iio/buffer/industrialio-hw-consumer.c static void iio_hw_buf_release(struct iio_buffer *buffer) buffer 43 drivers/iio/buffer/industrialio-hw-consumer.c iio_buffer_to_hw_consumer_buffer(buffer); buffer 67 drivers/iio/buffer/industrialio-hw-consumer.c buf->buffer.access = &iio_hw_buf_access; buffer 69 drivers/iio/buffer/industrialio-hw-consumer.c buf->buffer.scan_mask = buf->scan_mask; buffer 71 drivers/iio/buffer/industrialio-hw-consumer.c iio_buffer_init(&buf->buffer); buffer 109 drivers/iio/buffer/industrialio-hw-consumer.c set_bit(chan->channel->scan_index, buf->buffer.scan_mask); buffer 117 drivers/iio/buffer/industrialio-hw-consumer.c iio_buffer_put(&buf->buffer); buffer 135 drivers/iio/buffer/industrialio-hw-consumer.c iio_buffer_put(&buf->buffer); buffer 218 drivers/iio/buffer/industrialio-hw-consumer.c ret = iio_update_buffers(buf->indio_dev, &buf->buffer, NULL); buffer 227 drivers/iio/buffer/industrialio-hw-consumer.c iio_update_buffers(buf->indio_dev, NULL, &buf->buffer); buffer 241 drivers/iio/buffer/industrialio-hw-consumer.c iio_update_buffers(buf->indio_dev, NULL, &buf->buffer); buffer 46 drivers/iio/buffer/industrialio-triggered-buffer.c struct iio_buffer *buffer; buffer 49 drivers/iio/buffer/industrialio-triggered-buffer.c buffer = iio_kfifo_allocate(); buffer 50 drivers/iio/buffer/industrialio-triggered-buffer.c if (!buffer) { buffer 55 drivers/iio/buffer/industrialio-triggered-buffer.c iio_device_attach_buffer(indio_dev, buffer); buffer 81 drivers/iio/buffer/industrialio-triggered-buffer.c iio_kfifo_free(indio_dev->buffer); buffer 94 drivers/iio/buffer/industrialio-triggered-buffer.c iio_kfifo_free(indio_dev->buffer); buffer 17 drivers/iio/buffer/kfifo_buf.c struct iio_buffer buffer; buffer 23 drivers/iio/buffer/kfifo_buf.c #define iio_to_kfifo(r) container_of(r, struct iio_kfifo, buffer) buffer 50 drivers/iio/buffer/kfifo_buf.c ret = __iio_allocate_kfifo(buf, buf->buffer.bytes_per_datum, buffer 51 drivers/iio/buffer/kfifo_buf.c buf->buffer.length); buffer 133 drivers/iio/buffer/kfifo_buf.c static void iio_kfifo_buffer_release(struct iio_buffer *buffer) buffer 135 drivers/iio/buffer/kfifo_buf.c struct iio_kfifo *kf = iio_to_kfifo(buffer); buffer 163 drivers/iio/buffer/kfifo_buf.c iio_buffer_init(&kf->buffer); buffer 164 drivers/iio/buffer/kfifo_buf.c kf->buffer.access = &kfifo_access_funcs; buffer 165 drivers/iio/buffer/kfifo_buf.c kf->buffer.length = 2; buffer 168 drivers/iio/buffer/kfifo_buf.c return &kf->buffer; buffer 33 drivers/iio/chemical/ams-iaq-core.c struct ams_iaqcore_reading buffer; buffer 67 drivers/iio/chemical/ams-iaq-core.c .buf = (char *) &data->buffer, buffer 111 drivers/iio/chemical/ams-iaq-core.c *val2 = be16_to_cpu(data->buffer.co2_ppm); buffer 115 drivers/iio/chemical/ams-iaq-core.c *val = be32_to_cpu(data->buffer.resistance); buffer 120 drivers/iio/chemical/ams-iaq-core.c *val2 = be16_to_cpu(data->buffer.voc_ppb); buffer 81 drivers/iio/chemical/atlas-ph-sensor.c __be32 buffer[6]; /* 96-bit data + 32-bit pad + 64-bit timestamp */ buffer 361 drivers/iio/chemical/atlas-ph-sensor.c (u8 *) &data->buffer, buffer 365 drivers/iio/chemical/atlas-ph-sensor.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 75 drivers/iio/chemical/ccs811.c struct ccs811_reading buffer; buffer 188 drivers/iio/chemical/ccs811.c (char *)&data->buffer); buffer 213 drivers/iio/chemical/ccs811.c *val = be16_to_cpu(data->buffer.raw_data) & buffer 218 drivers/iio/chemical/ccs811.c *val = be16_to_cpu(data->buffer.raw_data) >> 10; buffer 224 drivers/iio/chemical/ccs811.c *val = be16_to_cpu(data->buffer.co2); buffer 228 drivers/iio/chemical/ccs811.c *val = be16_to_cpu(data->buffer.voc); buffer 111 drivers/iio/chemical/sgp30.c union sgp_reading buffer; buffer 377 drivers/iio/chemical/sgp30.c &data->buffer, SGP_MEASUREMENT_LEN, buffer 379 drivers/iio/chemical/sgp30.c words = data->buffer.raw_words; buffer 525 drivers/iio/chemical/sgp30.c ret = sgp_read_cmd(data, SGP_CMD_GET_FEATURE_SET, &data->buffer, 1, buffer 530 drivers/iio/chemical/sgp30.c data->feature_set = be16_to_cpu(data->buffer.raw_words[0].value); buffer 51 drivers/iio/chemical/vz89x.c u8 buffer[VZ89TE_REG_MEASUREMENT_RD_SIZE]; buffer 153 drivers/iio/chemical/vz89x.c if (data->buffer[VZ89X_VOC_SHORT_IDX] == 0) buffer 156 drivers/iio/chemical/vz89x.c return !!(data->buffer[data->chip->read_size - 1] > 0); buffer 166 drivers/iio/chemical/vz89x.c sum = crc + data->buffer[i]; buffer 171 drivers/iio/chemical/vz89x.c return !((0xff - crc) == data->buffer[data->chip->read_size - 1]); buffer 190 drivers/iio/chemical/vz89x.c msg[1].buf = (char *) &data->buffer; buffer 211 drivers/iio/chemical/vz89x.c data->buffer[i] = ret; buffer 246 drivers/iio/chemical/vz89x.c u8 *tmp = (u8 *) &data->buffer[chan->address]; buffer 280 drivers/iio/chemical/vz89x.c *val = data->buffer[chan->address]; buffer 91 drivers/iio/common/hid-sensors/hid-sensor-trigger.c iio_buffer_set_attrs(indio_dev->buffer, hid_sensor_fifo_attributes); buffer 28 drivers/iio/common/ssp_sensors/ssp_iio.c spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); buffer 29 drivers/iio/common/ssp_sensors/ssp_iio.c if (!spd->buffer) buffer 54 drivers/iio/common/ssp_sensors/ssp_iio.c kfree(spd->buffer); buffer 83 drivers/iio/common/ssp_sensors/ssp_iio.c memcpy(spd->buffer, buf, len); buffer 91 drivers/iio/common/ssp_sensors/ssp_iio.c return iio_push_to_buffers_with_timestamp(indio_dev, spd->buffer, buffer 40 drivers/iio/common/ssp_sensors/ssp_spi.c char *buffer; buffer 89 drivers/iio/common/ssp_sensors/ssp_spi.c msg->buffer = kzalloc(SSP_HEADER_SIZE_ALIGNED + len, buffer 91 drivers/iio/common/ssp_sensors/ssp_spi.c if (!msg->buffer) { buffer 99 drivers/iio/common/ssp_sensors/ssp_spi.c memcpy(msg->buffer, &h, SSP_HEADER_SIZE); buffer 112 drivers/iio/common/ssp_sensors/ssp_spi.c memcpy(&m->buffer[SSP_HEADER_SIZE_ALIGNED + offset], src, len); buffer 118 drivers/iio/common/ssp_sensors/ssp_spi.c memcpy(dest, &m->buffer[SSP_HEADER_SIZE_ALIGNED + offset], len); buffer 122 drivers/iio/common/ssp_sensors/ssp_spi.c (m->buffer[SSP_HEADER_SIZE_ALIGNED + index]) buffer 124 drivers/iio/common/ssp_sensors/ssp_spi.c (m->buffer[SSP_HEADER_SIZE_ALIGNED + index] = val) buffer 128 drivers/iio/common/ssp_sensors/ssp_spi.c kfree(m->buffer); buffer 198 drivers/iio/common/ssp_sensors/ssp_spi.c status = spi_write(data->spi, msg->buffer, SSP_HEADER_SIZE); buffer 328 drivers/iio/common/ssp_sensors/ssp_spi.c char *buffer; buffer 372 drivers/iio/common/ssp_sensors/ssp_spi.c buffer = kmalloc(length, GFP_KERNEL | GFP_DMA); buffer 373 drivers/iio/common/ssp_sensors/ssp_spi.c if (!buffer) { buffer 379 drivers/iio/common/ssp_sensors/ssp_spi.c ret = spi_read(data->spi, buffer, length); buffer 383 drivers/iio/common/ssp_sensors/ssp_spi.c kfree(buffer); buffer 393 drivers/iio/common/ssp_sensors/ssp_spi.c &msg->buffer[SSP_HEADER_SIZE_ALIGNED], buffer 398 drivers/iio/common/ssp_sensors/ssp_spi.c &msg->buffer[SSP_HEADER_SIZE_ALIGNED], buffer 417 drivers/iio/common/ssp_sensors/ssp_spi.c buffer = kzalloc(length, GFP_KERNEL | GFP_DMA); buffer 418 drivers/iio/common/ssp_sensors/ssp_spi.c if (!buffer) buffer 421 drivers/iio/common/ssp_sensors/ssp_spi.c ret = spi_read(data->spi, buffer, length); buffer 424 drivers/iio/common/ssp_sensors/ssp_spi.c kfree(buffer); buffer 428 drivers/iio/common/ssp_sensors/ssp_spi.c ret = ssp_parse_dataframe(data, buffer, length); buffer 430 drivers/iio/common/ssp_sensors/ssp_spi.c kfree(buffer); buffer 509 drivers/iio/common/ssp_sensors/ssp_spi.c char buffer; buffer 518 drivers/iio/common/ssp_sensors/ssp_spi.c buffer = SSP_GET_BUFFER_AT_INDEX(msg, 0); buffer 522 drivers/iio/common/ssp_sensors/ssp_spi.c return ret < 0 ? ret : buffer; buffer 63 drivers/iio/common/st_sensors/st_sensors_spi.c u8 buffer[] = { buffer 68 drivers/iio/common/st_sensors/st_sensors_spi.c return spi_write(spi, buffer, 2); buffer 121 drivers/iio/dummy/iio_simple_dummy_buffer.c struct iio_buffer *buffer; buffer 124 drivers/iio/dummy/iio_simple_dummy_buffer.c buffer = iio_kfifo_allocate(); buffer 125 drivers/iio/dummy/iio_simple_dummy_buffer.c if (!buffer) { buffer 130 drivers/iio/dummy/iio_simple_dummy_buffer.c iio_device_attach_buffer(indio_dev, buffer); buffer 175 drivers/iio/dummy/iio_simple_dummy_buffer.c iio_kfifo_free(indio_dev->buffer); buffer 187 drivers/iio/dummy/iio_simple_dummy_buffer.c iio_kfifo_free(indio_dev->buffer); buffer 99 drivers/iio/gyro/bmg160_core.c s16 buffer[8]; buffer 883 drivers/iio/gyro/bmg160_core.c data->buffer, AXIS_MAX * 2); buffer 888 drivers/iio/gyro/bmg160_core.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 90 drivers/iio/gyro/fxas21002c_core.c s16 buffer[8] ____cacheline_aligned; buffer 673 drivers/iio/gyro/fxas21002c_core.c data->buffer, CHANNEL_SCAN_MAX * sizeof(s16)); buffer 677 drivers/iio/gyro/fxas21002c_core.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 99 drivers/iio/gyro/ssp_gyro_sensor.c struct iio_buffer *buffer; buffer 118 drivers/iio/gyro/ssp_gyro_sensor.c buffer = devm_iio_kfifo_allocate(&pdev->dev); buffer 119 drivers/iio/gyro/ssp_gyro_sensor.c if (!buffer) buffer 122 drivers/iio/gyro/ssp_gyro_sensor.c iio_device_attach_buffer(indio_dev, buffer); buffer 312 drivers/iio/health/afe4403.c s32 buffer[8]; buffer 329 drivers/iio/health/afe4403.c buffer[i++] = (rx[0] << 16) | buffer 340 drivers/iio/health/afe4403.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, pf->timestamp); buffer 331 drivers/iio/health/afe4404.c s32 buffer[10]; buffer 336 drivers/iio/health/afe4404.c &buffer[i++]); buffer 341 drivers/iio/health/afe4404.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, pf->timestamp); buffer 76 drivers/iio/health/max30100.c __be16 buffer[2]; /* 2 16-bit channels */ buffer 220 drivers/iio/health/max30100.c (u8 *) &data->buffer); buffer 238 drivers/iio/health/max30100.c iio_push_to_buffers(data->indio_dev, data->buffer); buffer 422 drivers/iio/health/max30100.c struct iio_buffer *buffer; buffer 430 drivers/iio/health/max30100.c buffer = devm_iio_kfifo_allocate(&client->dev); buffer 431 drivers/iio/health/max30100.c if (!buffer) buffer 434 drivers/iio/health/max30100.c iio_device_attach_buffer(indio_dev, buffer); buffer 110 drivers/iio/health/max30102.c u8 buffer[12]; buffer 258 drivers/iio/health/max30102.c &buffer[(i) * MAX30102_REG_FIFO_DATA_BYTES], \ buffer 265 drivers/iio/health/max30102.c u8 *buffer = (u8 *) &data->buffer; buffer 271 drivers/iio/health/max30102.c buffer); buffer 510 drivers/iio/health/max30102.c struct iio_buffer *buffer; buffer 519 drivers/iio/health/max30102.c buffer = devm_iio_kfifo_allocate(&client->dev); buffer 520 drivers/iio/health/max30102.c if (!buffer) buffer 523 drivers/iio/health/max30102.c iio_device_attach_buffer(indio_dev, buffer); buffer 36 drivers/iio/humidity/am2315.c s16 buffer[8]; /* 2x16-bit channels + 2x16 padding + 4x16 timestamp */ buffer 170 drivers/iio/humidity/am2315.c data->buffer[0] = sensor_data.hum_data; buffer 171 drivers/iio/humidity/am2315.c data->buffer[1] = sensor_data.temp_data; buffer 176 drivers/iio/humidity/am2315.c data->buffer[i] = (bit ? sensor_data.temp_data : buffer 183 drivers/iio/humidity/am2315.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 165 drivers/iio/humidity/hts221_buffer.c u8 buffer[ALIGN(2 * HTS221_DATA_SIZE, sizeof(s64)) + sizeof(s64)]; buffer 175 drivers/iio/humidity/hts221_buffer.c buffer, HTS221_DATA_SIZE); buffer 182 drivers/iio/humidity/hts221_buffer.c buffer + HTS221_DATA_SIZE, HTS221_DATA_SIZE); buffer 186 drivers/iio/humidity/hts221_buffer.c iio_push_to_buffers_with_timestamp(iio_dev, buffer, buffer 652 drivers/iio/imu/adis16400.c void *buffer; buffer 655 drivers/iio/imu/adis16400.c if (!adis->buffer) buffer 674 drivers/iio/imu/adis16400.c buffer = adis->buffer + sizeof(u16); buffer 676 drivers/iio/imu/adis16400.c buffer = adis->buffer; buffer 678 drivers/iio/imu/adis16400.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, buffer 37 drivers/iio/imu/adis_buffer.c adis->buffer = kzalloc(burst_length + sizeof(u16), GFP_KERNEL); buffer 38 drivers/iio/imu/adis_buffer.c if (!adis->buffer) { buffer 44 drivers/iio/imu/adis_buffer.c tx = adis->buffer + burst_length; buffer 51 drivers/iio/imu/adis_buffer.c adis->xfer[1].rx_buf = adis->buffer; buffer 72 drivers/iio/imu/adis_buffer.c kfree(adis->buffer); buffer 83 drivers/iio/imu/adis_buffer.c adis->buffer = kcalloc(indio_dev->scan_bytes, 2, GFP_KERNEL); buffer 84 drivers/iio/imu/adis_buffer.c if (!adis->buffer) { buffer 90 drivers/iio/imu/adis_buffer.c rx = adis->buffer; buffer 128 drivers/iio/imu/adis_buffer.c if (!adis->buffer) buffer 150 drivers/iio/imu/adis_buffer.c iio_push_to_buffers_with_timestamp(indio_dev, adis->buffer, buffer 212 drivers/iio/imu/adis_buffer.c kfree(adis->buffer); buffer 47 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 53 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c status = acpi_evaluate_object(adev->handle, "CNF0", NULL, &buffer); buffer 57 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c cpm = buffer.pointer; buffer 79 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c kfree(buffer.pointer); buffer 1201 drivers/iio/imu/kmx61.c s16 buffer[8]; buffer 1216 drivers/iio/imu/kmx61.c buffer[i++] = ret; buffer 1220 drivers/iio/imu/kmx61.c iio_push_to_buffers(indio_dev, buffer); buffer 707 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c struct iio_buffer *buffer; buffer 763 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c buffer = devm_iio_kfifo_allocate(hw->dev); buffer 764 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c if (!buffer) buffer 767 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_device_attach_buffer(hw->iio_devs[i], buffer); buffer 106 drivers/iio/industrialio-buffer.c struct iio_buffer *rb = indio_dev->buffer; buffer 172 drivers/iio/industrialio-buffer.c struct iio_buffer *rb = indio_dev->buffer; buffer 192 drivers/iio/industrialio-buffer.c if (!indio_dev->buffer) buffer 195 drivers/iio/industrialio-buffer.c wake_up(&indio_dev->buffer->pollq); buffer 198 drivers/iio/industrialio-buffer.c void iio_buffer_init(struct iio_buffer *buffer) buffer 200 drivers/iio/industrialio-buffer.c INIT_LIST_HEAD(&buffer->demux_list); buffer 201 drivers/iio/industrialio-buffer.c INIT_LIST_HEAD(&buffer->buffer_list); buffer 202 drivers/iio/industrialio-buffer.c init_waitqueue_head(&buffer->pollq); buffer 203 drivers/iio/industrialio-buffer.c kref_init(&buffer->ref); buffer 204 drivers/iio/industrialio-buffer.c if (!buffer->watermark) buffer 205 drivers/iio/industrialio-buffer.c buffer->watermark = 1; buffer 214 drivers/iio/industrialio-buffer.c void iio_buffer_set_attrs(struct iio_buffer *buffer, buffer 217 drivers/iio/industrialio-buffer.c buffer->attrs = attrs; buffer 268 drivers/iio/industrialio-buffer.c indio_dev->buffer->scan_mask); buffer 314 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer, int bit) buffer 327 drivers/iio/industrialio-buffer.c bitmap_copy(trialmask, buffer->scan_mask, indio_dev->masklength); buffer 340 drivers/iio/industrialio-buffer.c bitmap_copy(buffer->scan_mask, trialmask, indio_dev->masklength); buffer 351 drivers/iio/industrialio-buffer.c static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) buffer 353 drivers/iio/industrialio-buffer.c clear_bit(bit, buffer->scan_mask); buffer 358 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer, int bit) buffer 363 drivers/iio/industrialio-buffer.c if (!buffer->scan_mask) buffer 367 drivers/iio/industrialio-buffer.c return !!test_bit(bit, buffer->scan_mask); buffer 378 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer = indio_dev->buffer; buffer 385 drivers/iio/industrialio-buffer.c if (iio_buffer_is_active(indio_dev->buffer)) { buffer 389 drivers/iio/industrialio-buffer.c ret = iio_scan_mask_query(indio_dev, buffer, this_attr->address); buffer 393 drivers/iio/industrialio-buffer.c ret = iio_scan_mask_clear(buffer, this_attr->address); buffer 397 drivers/iio/industrialio-buffer.c ret = iio_scan_mask_set(indio_dev, buffer, this_attr->address); buffer 414 drivers/iio/industrialio-buffer.c return sprintf(buf, "%d\n", indio_dev->buffer->scan_timestamp); buffer 431 drivers/iio/industrialio-buffer.c if (iio_buffer_is_active(indio_dev->buffer)) { buffer 435 drivers/iio/industrialio-buffer.c indio_dev->buffer->scan_timestamp = state; buffer 446 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer = indio_dev->buffer; buffer 455 drivers/iio/industrialio-buffer.c &buffer->scan_el_dev_attr_list); buffer 466 drivers/iio/industrialio-buffer.c &buffer->scan_el_dev_attr_list); buffer 478 drivers/iio/industrialio-buffer.c &buffer->scan_el_dev_attr_list); buffer 487 drivers/iio/industrialio-buffer.c &buffer->scan_el_dev_attr_list); buffer 500 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer = indio_dev->buffer; buffer 502 drivers/iio/industrialio-buffer.c return sprintf(buf, "%d\n", buffer->length); buffer 510 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer = indio_dev->buffer; buffer 518 drivers/iio/industrialio-buffer.c if (val == buffer->length) buffer 522 drivers/iio/industrialio-buffer.c if (iio_buffer_is_active(indio_dev->buffer)) { buffer 525 drivers/iio/industrialio-buffer.c buffer->access->set_length(buffer, val); buffer 530 drivers/iio/industrialio-buffer.c if (buffer->length && buffer->length < buffer->watermark) buffer 531 drivers/iio/industrialio-buffer.c buffer->watermark = buffer->length; buffer 543 drivers/iio/industrialio-buffer.c return sprintf(buf, "%d\n", iio_buffer_is_active(indio_dev->buffer)); buffer 592 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer) buffer 594 drivers/iio/industrialio-buffer.c iio_buffer_get(buffer); buffer 595 drivers/iio/industrialio-buffer.c list_add(&buffer->buffer_list, &indio_dev->buffer_list); buffer 598 drivers/iio/industrialio-buffer.c static void iio_buffer_deactivate(struct iio_buffer *buffer) buffer 600 drivers/iio/industrialio-buffer.c list_del_init(&buffer->buffer_list); buffer 601 drivers/iio/industrialio-buffer.c wake_up_interruptible(&buffer->pollq); buffer 602 drivers/iio/industrialio-buffer.c iio_buffer_put(buffer); buffer 607 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer, *_buffer; buffer 609 drivers/iio/industrialio-buffer.c list_for_each_entry_safe(buffer, _buffer, buffer 611 drivers/iio/industrialio-buffer.c iio_buffer_deactivate(buffer); buffer 614 drivers/iio/industrialio-buffer.c static int iio_buffer_enable(struct iio_buffer *buffer, buffer 617 drivers/iio/industrialio-buffer.c if (!buffer->access->enable) buffer 619 drivers/iio/industrialio-buffer.c return buffer->access->enable(buffer, indio_dev); buffer 622 drivers/iio/industrialio-buffer.c static int iio_buffer_disable(struct iio_buffer *buffer, buffer 625 drivers/iio/industrialio-buffer.c if (!buffer->access->disable) buffer 627 drivers/iio/industrialio-buffer.c return buffer->access->disable(buffer, indio_dev); buffer 631 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer) buffer 635 drivers/iio/industrialio-buffer.c if (!buffer->access->set_bytes_per_datum) buffer 638 drivers/iio/industrialio-buffer.c bytes = iio_compute_scan_bytes(indio_dev, buffer->scan_mask, buffer 639 drivers/iio/industrialio-buffer.c buffer->scan_timestamp); buffer 641 drivers/iio/industrialio-buffer.c buffer->access->set_bytes_per_datum(buffer, bytes); buffer 645 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer) buffer 649 drivers/iio/industrialio-buffer.c iio_buffer_update_bytes_per_datum(indio_dev, buffer); buffer 650 drivers/iio/industrialio-buffer.c if (buffer->access->request_update) { buffer 651 drivers/iio/industrialio-buffer.c ret = buffer->access->request_update(buffer); buffer 686 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer; buffer 703 drivers/iio/industrialio-buffer.c list_for_each_entry(buffer, &indio_dev->buffer_list, buffer_list) { buffer 704 drivers/iio/industrialio-buffer.c if (buffer == remove_buffer) buffer 706 drivers/iio/industrialio-buffer.c modes &= buffer->access->modes; buffer 707 drivers/iio/industrialio-buffer.c config->watermark = min(config->watermark, buffer->watermark); buffer 744 drivers/iio/industrialio-buffer.c list_for_each_entry(buffer, &indio_dev->buffer_list, buffer_list) { buffer 745 drivers/iio/industrialio-buffer.c if (buffer == remove_buffer) buffer 747 drivers/iio/industrialio-buffer.c bitmap_or(compound_mask, compound_mask, buffer->scan_mask, buffer 749 drivers/iio/industrialio-buffer.c scan_timestamp |= buffer->scan_timestamp; buffer 792 drivers/iio/industrialio-buffer.c static void iio_buffer_demux_free(struct iio_buffer *buffer) buffer 795 drivers/iio/industrialio-buffer.c list_for_each_entry_safe(p, q, &buffer->demux_list, l) { buffer 801 drivers/iio/industrialio-buffer.c static int iio_buffer_add_demux(struct iio_buffer *buffer, buffer 816 drivers/iio/industrialio-buffer.c list_add_tail(&(*p)->l, &buffer->demux_list); buffer 823 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer) buffer 830 drivers/iio/industrialio-buffer.c iio_buffer_demux_free(buffer); buffer 831 drivers/iio/industrialio-buffer.c kfree(buffer->demux_bounce); buffer 832 drivers/iio/industrialio-buffer.c buffer->demux_bounce = NULL; buffer 836 drivers/iio/industrialio-buffer.c buffer->scan_mask, buffer 842 drivers/iio/industrialio-buffer.c buffer->scan_mask, buffer 858 drivers/iio/industrialio-buffer.c ret = iio_buffer_add_demux(buffer, &p, in_loc, out_loc, length); buffer 865 drivers/iio/industrialio-buffer.c if (buffer->scan_timestamp) { buffer 869 drivers/iio/industrialio-buffer.c ret = iio_buffer_add_demux(buffer, &p, in_loc, out_loc, length); buffer 875 drivers/iio/industrialio-buffer.c buffer->demux_bounce = kzalloc(out_loc, GFP_KERNEL); buffer 876 drivers/iio/industrialio-buffer.c if (buffer->demux_bounce == NULL) { buffer 883 drivers/iio/industrialio-buffer.c iio_buffer_demux_free(buffer); buffer 890 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer; buffer 893 drivers/iio/industrialio-buffer.c list_for_each_entry(buffer, &indio_dev->buffer_list, buffer_list) { buffer 894 drivers/iio/industrialio-buffer.c ret = iio_buffer_update_demux(indio_dev, buffer); buffer 901 drivers/iio/industrialio-buffer.c list_for_each_entry(buffer, &indio_dev->buffer_list, buffer_list) buffer 902 drivers/iio/industrialio-buffer.c iio_buffer_demux_free(buffer); buffer 910 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer; buffer 945 drivers/iio/industrialio-buffer.c list_for_each_entry(buffer, &indio_dev->buffer_list, buffer_list) { buffer 946 drivers/iio/industrialio-buffer.c ret = iio_buffer_enable(buffer, indio_dev); buffer 965 drivers/iio/industrialio-buffer.c list_for_each_entry_continue_reverse(buffer, &indio_dev->buffer_list, buffer 967 drivers/iio/industrialio-buffer.c iio_buffer_disable(buffer, indio_dev); buffer 980 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer; buffer 1001 drivers/iio/industrialio-buffer.c list_for_each_entry(buffer, &indio_dev->buffer_list, buffer_list) { buffer 1002 drivers/iio/industrialio-buffer.c ret2 = iio_buffer_disable(buffer, indio_dev); buffer 1135 drivers/iio/industrialio-buffer.c inlist = iio_buffer_is_active(indio_dev->buffer); buffer 1142 drivers/iio/industrialio-buffer.c indio_dev->buffer, NULL); buffer 1145 drivers/iio/industrialio-buffer.c NULL, indio_dev->buffer); buffer 1159 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer = indio_dev->buffer; buffer 1161 drivers/iio/industrialio-buffer.c return sprintf(buf, "%u\n", buffer->watermark); buffer 1170 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer = indio_dev->buffer; buffer 1182 drivers/iio/industrialio-buffer.c if (val > buffer->length) { buffer 1187 drivers/iio/industrialio-buffer.c if (iio_buffer_is_active(indio_dev->buffer)) { buffer 1192 drivers/iio/industrialio-buffer.c buffer->watermark = val; buffer 1206 drivers/iio/industrialio-buffer.c bytes = iio_buffer_data_available(indio_dev->buffer); buffer 1235 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer = indio_dev->buffer; buffer 1248 drivers/iio/industrialio-buffer.c if (!buffer) buffer 1252 drivers/iio/industrialio-buffer.c if (buffer->attrs) { buffer 1253 drivers/iio/industrialio-buffer.c while (buffer->attrs[attrcount] != NULL) buffer 1263 drivers/iio/industrialio-buffer.c if (!buffer->access->set_length) buffer 1266 drivers/iio/industrialio-buffer.c if (buffer->access->flags & INDIO_BUFFER_FLAG_FIXED_WATERMARK) buffer 1269 drivers/iio/industrialio-buffer.c if (buffer->attrs) buffer 1270 drivers/iio/industrialio-buffer.c memcpy(&attr[ARRAY_SIZE(iio_buffer_attrs)], buffer->attrs, buffer 1275 drivers/iio/industrialio-buffer.c buffer->buffer_group.name = "buffer"; buffer 1276 drivers/iio/industrialio-buffer.c buffer->buffer_group.attrs = attr; buffer 1278 drivers/iio/industrialio-buffer.c indio_dev->groups[indio_dev->groupcounter++] = &buffer->buffer_group; buffer 1280 drivers/iio/industrialio-buffer.c if (buffer->scan_el_attrs != NULL) { buffer 1281 drivers/iio/industrialio-buffer.c attr = buffer->scan_el_attrs->attrs; buffer 1286 drivers/iio/industrialio-buffer.c INIT_LIST_HEAD(&buffer->scan_el_dev_attr_list); buffer 1303 drivers/iio/industrialio-buffer.c if (indio_dev->masklength && buffer->scan_mask == NULL) { buffer 1304 drivers/iio/industrialio-buffer.c buffer->scan_mask = bitmap_zalloc(indio_dev->masklength, buffer 1306 drivers/iio/industrialio-buffer.c if (buffer->scan_mask == NULL) { buffer 1313 drivers/iio/industrialio-buffer.c buffer->scan_el_group.name = iio_scan_elements_group_name; buffer 1315 drivers/iio/industrialio-buffer.c buffer->scan_el_group.attrs = kcalloc(attrcount + 1, buffer 1316 drivers/iio/industrialio-buffer.c sizeof(buffer->scan_el_group.attrs[0]), buffer 1318 drivers/iio/industrialio-buffer.c if (buffer->scan_el_group.attrs == NULL) { buffer 1322 drivers/iio/industrialio-buffer.c if (buffer->scan_el_attrs) buffer 1323 drivers/iio/industrialio-buffer.c memcpy(buffer->scan_el_group.attrs, buffer->scan_el_attrs, buffer 1324 drivers/iio/industrialio-buffer.c sizeof(buffer->scan_el_group.attrs[0])*attrcount_orig); buffer 1327 drivers/iio/industrialio-buffer.c list_for_each_entry(p, &buffer->scan_el_dev_attr_list, l) buffer 1328 drivers/iio/industrialio-buffer.c buffer->scan_el_group.attrs[attrn++] = &p->dev_attr.attr; buffer 1329 drivers/iio/industrialio-buffer.c indio_dev->groups[indio_dev->groupcounter++] = &buffer->scan_el_group; buffer 1334 drivers/iio/industrialio-buffer.c bitmap_free(buffer->scan_mask); buffer 1336 drivers/iio/industrialio-buffer.c iio_free_chan_devattr_list(&buffer->scan_el_dev_attr_list); buffer 1337 drivers/iio/industrialio-buffer.c kfree(indio_dev->buffer->buffer_group.attrs); buffer 1344 drivers/iio/industrialio-buffer.c if (!indio_dev->buffer) buffer 1347 drivers/iio/industrialio-buffer.c bitmap_free(indio_dev->buffer->scan_mask); buffer 1348 drivers/iio/industrialio-buffer.c kfree(indio_dev->buffer->buffer_group.attrs); buffer 1349 drivers/iio/industrialio-buffer.c kfree(indio_dev->buffer->scan_el_group.attrs); buffer 1350 drivers/iio/industrialio-buffer.c iio_free_chan_devattr_list(&indio_dev->buffer->scan_el_dev_attr_list); buffer 1369 drivers/iio/industrialio-buffer.c static const void *iio_demux(struct iio_buffer *buffer, buffer 1374 drivers/iio/industrialio-buffer.c if (list_empty(&buffer->demux_list)) buffer 1376 drivers/iio/industrialio-buffer.c list_for_each_entry(t, &buffer->demux_list, l) buffer 1377 drivers/iio/industrialio-buffer.c memcpy(buffer->demux_bounce + t->to, buffer 1380 drivers/iio/industrialio-buffer.c return buffer->demux_bounce; buffer 1383 drivers/iio/industrialio-buffer.c static int iio_push_to_buffer(struct iio_buffer *buffer, const void *data) buffer 1385 drivers/iio/industrialio-buffer.c const void *dataout = iio_demux(buffer, data); buffer 1388 drivers/iio/industrialio-buffer.c ret = buffer->access->store_to(buffer, dataout); buffer 1396 drivers/iio/industrialio-buffer.c wake_up_interruptible_poll(&buffer->pollq, EPOLLIN | EPOLLRDNORM); buffer 1431 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer = container_of(ref, struct iio_buffer, ref); buffer 1433 drivers/iio/industrialio-buffer.c buffer->access->release(buffer); buffer 1442 drivers/iio/industrialio-buffer.c struct iio_buffer *iio_buffer_get(struct iio_buffer *buffer) buffer 1444 drivers/iio/industrialio-buffer.c if (buffer) buffer 1445 drivers/iio/industrialio-buffer.c kref_get(&buffer->ref); buffer 1447 drivers/iio/industrialio-buffer.c return buffer; buffer 1455 drivers/iio/industrialio-buffer.c void iio_buffer_put(struct iio_buffer *buffer) buffer 1457 drivers/iio/industrialio-buffer.c if (buffer) buffer 1458 drivers/iio/industrialio-buffer.c kref_put(&buffer->ref, iio_buffer_release); buffer 1472 drivers/iio/industrialio-buffer.c struct iio_buffer *buffer) buffer 1474 drivers/iio/industrialio-buffer.c indio_dev->buffer = iio_buffer_get(buffer); buffer 1409 drivers/iio/industrialio-core.c iio_buffer_put(indio_dev->buffer); buffer 107 drivers/iio/light/acpi-als.c s32 *buffer = als->evt_buffer; buffer 114 drivers/iio/light/acpi-als.c memset(buffer, 0, ACPI_ALS_EVT_BUFFER_SIZE); buffer 121 drivers/iio/light/acpi-als.c *buffer++ = val; buffer 168 drivers/iio/light/acpi-als.c struct iio_buffer *buffer; buffer 187 drivers/iio/light/acpi-als.c buffer = devm_iio_kfifo_allocate(&device->dev); buffer 188 drivers/iio/light/acpi-als.c if (!buffer) buffer 191 drivers/iio/light/acpi-als.c iio_device_attach_buffer(indio_dev, buffer); buffer 57 drivers/iio/light/adjd_s311.c u16 *buffer; buffer 132 drivers/iio/light/adjd_s311.c data->buffer[j++] = ret & ADJD_S311_DATA_MASK; buffer 135 drivers/iio/light/adjd_s311.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, time_ns); buffer 233 drivers/iio/light/adjd_s311.c kfree(data->buffer); buffer 234 drivers/iio/light/adjd_s311.c data->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); buffer 235 drivers/iio/light/adjd_s311.c if (data->buffer == NULL) buffer 294 drivers/iio/light/adjd_s311.c kfree(data->buffer); buffer 149 drivers/iio/light/apds9960.c u8 buffer[4]; /* 4 8-bit channels */ buffer 771 drivers/iio/light/apds9960.c &data->buffer, 4); buffer 776 drivers/iio/light/apds9960.c iio_push_to_buffers(data->indio_dev, data->buffer); buffer 992 drivers/iio/light/apds9960.c struct iio_buffer *buffer; buffer 1000 drivers/iio/light/apds9960.c buffer = devm_iio_kfifo_allocate(&client->dev); buffer 1001 drivers/iio/light/apds9960.c if (!buffer) buffer 1004 drivers/iio/light/apds9960.c iio_device_attach_buffer(indio_dev, buffer); buffer 243 drivers/iio/light/gp2ap020a00f.c char *buffer; buffer 973 drivers/iio/light/gp2ap020a00f.c &priv->buffer[d_size], 2); buffer 979 drivers/iio/light/gp2ap020a00f.c out_val = le16_to_cpup((__le16 *)&priv->buffer[d_size]); buffer 982 drivers/iio/light/gp2ap020a00f.c put_unaligned_le32(out_val, &priv->buffer[d_size]); buffer 989 drivers/iio/light/gp2ap020a00f.c iio_push_to_buffers_with_timestamp(indio_dev, priv->buffer, buffer 1422 drivers/iio/light/gp2ap020a00f.c data->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); buffer 1423 drivers/iio/light/gp2ap020a00f.c if (!data->buffer) { buffer 1466 drivers/iio/light/gp2ap020a00f.c kfree(data->buffer); buffer 54 drivers/iio/light/isl29125.c u16 buffer[8]; /* 3x 16-bit, padding, 8 bytes timestamp */ buffer 187 drivers/iio/light/isl29125.c data->buffer[j++] = ret; buffer 190 drivers/iio/light/isl29125.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 452 drivers/iio/light/rpr0521.c u8 buffer[16]; /* 3 16-bit channels + padding + ts */ buffer 464 drivers/iio/light/rpr0521.c &buffer, buffer 468 drivers/iio/light/rpr0521.c buffer, pf->timestamp); buffer 684 drivers/iio/light/rpr0521.c __le16 buffer; buffer 687 drivers/iio/light/rpr0521.c RPR0521_REG_PS_OFFSET_LSB, &buffer, sizeof(buffer)); buffer 693 drivers/iio/light/rpr0521.c *offset = le16_to_cpu(buffer); buffer 701 drivers/iio/light/rpr0521.c __le16 buffer; buffer 703 drivers/iio/light/rpr0521.c buffer = cpu_to_le16(offset & 0x3ff); buffer 705 drivers/iio/light/rpr0521.c RPR0521_REG_PS_OFFSET_LSB, &buffer, sizeof(buffer)); buffer 603 drivers/iio/light/si1133.c u8 *buffer) buffer 611 drivers/iio/light/si1133.c return regmap_bulk_read(data->regmap, start_reg, buffer, length); buffer 620 drivers/iio/light/si1133.c u8 buffer[SI1133_MEASURE_BUFFER_SIZE]; buffer 631 drivers/iio/light/si1133.c err = si1133_bulk_read(data, SI1133_REG_HOSTOUT(0), sizeof(buffer), buffer 632 drivers/iio/light/si1133.c buffer); buffer 636 drivers/iio/light/si1133.c *val = sign_extend32((buffer[0] << 16) | (buffer[1] << 8) | buffer[2], buffer 714 drivers/iio/light/si1133.c u8 buffer[SI1133_LUX_BUFFER_SIZE]; buffer 722 drivers/iio/light/si1133.c SI1133_LUX_BUFFER_SIZE, buffer); buffer 727 drivers/iio/light/si1133.c sign_extend32((buffer[0] << 16) | (buffer[1] << 8) | buffer[2], buffer 731 drivers/iio/light/si1133.c sign_extend32((buffer[3] << 16) | (buffer[4] << 8) | buffer[5], buffer 734 drivers/iio/light/si1133.c ir = sign_extend32((buffer[6] << 16) | (buffer[7] << 8) | buffer[8], buffer 449 drivers/iio/light/si1145.c u8 buffer[24]; buffer 482 drivers/iio/light/si1145.c sizeof(u16) * run, &buffer[j]); buffer 497 drivers/iio/light/si1145.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, buffer 237 drivers/iio/light/st_uvis25_core.c u8 buffer[ALIGN(sizeof(u8), sizeof(s64)) + sizeof(s64)]; buffer 243 drivers/iio/light/st_uvis25_core.c err = regmap_read(hw->regmap, ST_UVIS25_REG_OUT_ADDR, (int *)buffer); buffer 247 drivers/iio/light/st_uvis25_core.c iio_push_to_buffers_with_timestamp(iio_dev, buffer, buffer 56 drivers/iio/light/tcs3414.c u16 buffer[8]; /* 4x 16-bit + 8 bytes timestamp */ buffer 212 drivers/iio/light/tcs3414.c data->buffer[j++] = ret; buffer 215 drivers/iio/light/tcs3414.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 67 drivers/iio/light/tcs3472.c u16 buffer[8]; /* 4 16-bit channels + 64-bit timestamp */ buffer 389 drivers/iio/light/tcs3472.c data->buffer[j++] = ret; buffer 392 drivers/iio/light/tcs3472.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 105 drivers/iio/light/vcnl4035.c u8 buffer[ALIGN(sizeof(u16), sizeof(s64)) + sizeof(s64)]; buffer 108 drivers/iio/light/vcnl4035.c ret = regmap_read(data->regmap, VCNL4035_ALS_DATA, (int *)buffer); buffer 114 drivers/iio/light/vcnl4035.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, buffer 140 drivers/iio/magnetometer/bmc150_magn.c s32 buffer[6]; buffer 424 drivers/iio/magnetometer/bmc150_magn.c static int bmc150_magn_read_xyz(struct bmc150_magn_data *data, s32 *buffer) buffer 447 drivers/iio/magnetometer/bmc150_magn.c buffer[AXIS_X] = bmc150_magn_compensate_x(&tregs, raw_x, rhall); buffer 448 drivers/iio/magnetometer/bmc150_magn.c buffer[AXIS_Y] = bmc150_magn_compensate_y(&tregs, raw_y, rhall); buffer 449 drivers/iio/magnetometer/bmc150_magn.c buffer[AXIS_Z] = bmc150_magn_compensate_z(&tregs, raw_z, rhall); buffer 676 drivers/iio/magnetometer/bmc150_magn.c ret = bmc150_magn_read_xyz(data, data->buffer); buffer 680 drivers/iio/magnetometer/bmc150_magn.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 44 drivers/iio/magnetometer/hmc5843.h __be16 buffer[8]; buffer 449 drivers/iio/magnetometer/hmc5843_core.c data->buffer, 3 * sizeof(__be16)); buffer 455 drivers/iio/magnetometer/hmc5843_core.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 273 drivers/iio/magnetometer/mag3110.c __be16 buffer[3]; buffer 284 drivers/iio/magnetometer/mag3110.c ret = mag3110_read(data, buffer); buffer 288 drivers/iio/magnetometer/mag3110.c be16_to_cpu(buffer[chan->scan_index]), 15); buffer 390 drivers/iio/magnetometer/mag3110.c u8 buffer[16]; /* 3 16-bit channels + 1 byte temp + padding + ts */ buffer 393 drivers/iio/magnetometer/mag3110.c ret = mag3110_read(data, (__be16 *) buffer); buffer 402 drivers/iio/magnetometer/mag3110.c buffer[6] = ret; buffer 405 drivers/iio/magnetometer/mag3110.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, buffer 79 drivers/iio/magnetometer/rm3100-core.c u8 buffer[RM3100_SCAN_BYTES]; buffer 209 drivers/iio/magnetometer/rm3100-core.c u8 buffer[3]; buffer 221 drivers/iio/magnetometer/rm3100-core.c ret = regmap_bulk_read(regmap, RM3100_REG_MX2 + 3 * idx, buffer, 3); buffer 226 drivers/iio/magnetometer/rm3100-core.c *val = sign_extend32((buffer[0] << 16) | (buffer[1] << 8) | buffer[2], buffer 483 drivers/iio/magnetometer/rm3100-core.c ret = regmap_bulk_read(regmap, RM3100_REG_MX2, data->buffer, 9); buffer 489 drivers/iio/magnetometer/rm3100-core.c memmove(data->buffer + i * 4, data->buffer + i * 3, 3); buffer 492 drivers/iio/magnetometer/rm3100-core.c ret = regmap_bulk_read(regmap, RM3100_REG_MX2, data->buffer, 6); buffer 496 drivers/iio/magnetometer/rm3100-core.c memmove(data->buffer + 4, data->buffer + 3, 3); buffer 499 drivers/iio/magnetometer/rm3100-core.c ret = regmap_bulk_read(regmap, RM3100_REG_MY2, data->buffer, 6); buffer 503 drivers/iio/magnetometer/rm3100-core.c memmove(data->buffer + 4, data->buffer + 3, 3); buffer 506 drivers/iio/magnetometer/rm3100-core.c ret = regmap_bulk_read(regmap, RM3100_REG_MX2, data->buffer, 9); buffer 510 drivers/iio/magnetometer/rm3100-core.c memmove(data->buffer + 4, data->buffer + 6, 3); buffer 515 drivers/iio/magnetometer/rm3100-core.c data->buffer, 3); buffer 527 drivers/iio/magnetometer/rm3100-core.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 75 drivers/iio/potentiostat/lmp91000.c u32 buffer[4]; /* 64-bit data + 64-bit timestamp */ buffer 129 drivers/iio/potentiostat/lmp91000.c *val = data->buffer[data->chan_select]; buffer 141 drivers/iio/potentiostat/lmp91000.c memset(data->buffer, 0, sizeof(data->buffer)); buffer 145 drivers/iio/potentiostat/lmp91000.c data->buffer[0] = val; buffer 146 drivers/iio/potentiostat/lmp91000.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 269 drivers/iio/potentiostat/lmp91000.c data->buffer[data->chan_select] = *((int *)val); buffer 147 drivers/iio/pressure/mpl3115.c u8 buffer[16]; /* 32-bit channel + 16-bit channel + padding + ts */ buffer 157 drivers/iio/pressure/mpl3115.c memset(buffer, 0, sizeof(buffer)); buffer 160 drivers/iio/pressure/mpl3115.c MPL3115_OUT_PRESS, 3, &buffer[pos]); buffer 170 drivers/iio/pressure/mpl3115.c MPL3115_OUT_TEMP, 2, &buffer[pos]); buffer 178 drivers/iio/pressure/mpl3115.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, buffer 64 drivers/iio/proximity/as3935.c u8 buffer[16]; /* 8-bit data + 56-bit padding + 64-bit timestamp */ buffer 230 drivers/iio/proximity/as3935.c st->buffer[0] = val & AS3935_DATA_MASK; buffer 231 drivers/iio/proximity/as3935.c iio_push_to_buffers_with_timestamp(indio_dev, &st->buffer, buffer 941 drivers/iio/proximity/isl29501.c u32 buffer[4] = {}; /* 1x16-bit + ts */ buffer 944 drivers/iio/proximity/isl29501.c isl29501_register_read(isl29501, REG_DISTANCE, buffer); buffer 946 drivers/iio/proximity/isl29501.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, pf->timestamp); buffer 120 drivers/iio/proximity/mb1232.c s16 buffer[8] = { 0 }; buffer 122 drivers/iio/proximity/mb1232.c buffer[0] = mb1232_read_distance(data); buffer 123 drivers/iio/proximity/mb1232.c if (buffer[0] < 0) buffer 126 drivers/iio/proximity/mb1232.c iio_push_to_buffers_with_timestamp(indio_dev, buffer, pf->timestamp); buffer 46 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c u16 buffer[8]; /* 2 byte distance + 8 byte timestamp */ buffer 230 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c ret = lidar_get_measurement(data, data->buffer); buffer 232 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 70 drivers/iio/proximity/srf08.c s16 buffer[8]; buffer 193 drivers/iio/proximity/srf08.c data->buffer[0] = sensor_data; buffer 195 drivers/iio/proximity/srf08.c data->buffer, pf->timestamp); buffer 92 drivers/iio/proximity/sx9500.c u16 *buffer; buffer 589 drivers/iio/proximity/sx9500.c kfree(data->buffer); buffer 590 drivers/iio/proximity/sx9500.c data->buffer = kzalloc(indio_dev->scan_bytes, GFP_KERNEL); buffer 593 drivers/iio/proximity/sx9500.c if (data->buffer == NULL) buffer 664 drivers/iio/proximity/sx9500.c data->buffer[i++] = val; buffer 667 drivers/iio/proximity/sx9500.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 996 drivers/iio/proximity/sx9500.c kfree(data->buffer); buffer 46 drivers/iio/proximity/vl53l0x-i2c.c u8 buffer[12]; buffer 68 drivers/iio/proximity/vl53l0x-i2c.c 12, buffer); buffer 75 drivers/iio/proximity/vl53l0x-i2c.c *val = (buffer[10] << 8) + buffer[11]; buffer 112 drivers/iio/temperature/maxim_thermocouple.c u8 buffer[16] ____cacheline_aligned; buffer 156 drivers/iio/temperature/maxim_thermocouple.c ret = spi_read(data->spi, data->buffer, data->chip->read_size); buffer 158 drivers/iio/temperature/maxim_thermocouple.c iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, buffer 1393 drivers/infiniband/hw/hfi1/debugfs.c char *buffer; buffer 1395 drivers/infiniband/hw/hfi1/debugfs.c size_t sz = seq_get_buf(s, &buffer); buffer 1401 drivers/infiniband/hw/hfi1/debugfs.c *(u64 *)buffer = hfi1_sps_ints(); buffer 1403 drivers/infiniband/hw/hfi1/debugfs.c *(u64 *)buffer = stats[*spos]; buffer 88 drivers/infiniband/hw/hfi1/driver.c static int hfi1_caps_get(char *buffer, const struct kernel_param *kp); buffer 151 drivers/infiniband/hw/hfi1/driver.c static int hfi1_caps_get(char *buffer, const struct kernel_param *kp) buffer 158 drivers/infiniband/hw/hfi1/driver.c return scnprintf(buffer, PAGE_SIZE, "0x%lx", cap_mask); buffer 103 drivers/infiniband/hw/hfi1/eprom.c u32 buffer[EP_PAGE_DWORDS]; buffer 129 drivers/infiniband/hw/hfi1/eprom.c read_page(dd, read_start, buffer); buffer 136 drivers/infiniband/hw/hfi1/eprom.c memcpy(dest, (u8 *)buffer + start_offset, len); buffer 140 drivers/infiniband/hw/hfi1/eprom.c memcpy(dest, (u8 *)buffer + start_offset, bytes); buffer 150 drivers/infiniband/hw/hfi1/eprom.c read_page(dd, start, buffer); buffer 151 drivers/infiniband/hw/hfi1/eprom.c memcpy(dest, buffer, EP_PAGE_SIZE); buffer 160 drivers/infiniband/hw/hfi1/eprom.c read_page(dd, start, buffer); buffer 161 drivers/infiniband/hw/hfi1/eprom.c memcpy(dest, buffer, len); buffer 254 drivers/infiniband/hw/hfi1/eprom.c void *buffer; buffer 259 drivers/infiniband/hw/hfi1/eprom.c buffer = kmalloc(P1_SIZE, GFP_KERNEL); buffer 260 drivers/infiniband/hw/hfi1/eprom.c if (!buffer) buffer 263 drivers/infiniband/hw/hfi1/eprom.c ret = read_length(dd, P1_START, P1_SIZE, buffer); buffer 265 drivers/infiniband/hw/hfi1/eprom.c kfree(buffer); buffer 270 drivers/infiniband/hw/hfi1/eprom.c if (memcmp(buffer, IMAGE_START_MAGIC, strlen(IMAGE_START_MAGIC))) { buffer 271 drivers/infiniband/hw/hfi1/eprom.c kfree(buffer); buffer 276 drivers/infiniband/hw/hfi1/eprom.c p = strnstr(buffer, IMAGE_TRAIL_MAGIC, P1_SIZE); buffer 278 drivers/infiniband/hw/hfi1/eprom.c length = p - buffer; buffer 282 drivers/infiniband/hw/hfi1/eprom.c *data = buffer; buffer 299 drivers/infiniband/hw/hfi1/eprom.c void *buffer = NULL; buffer 374 drivers/infiniband/hw/hfi1/eprom.c buffer = kmalloc(entry->size, GFP_KERNEL); buffer 375 drivers/infiniband/hw/hfi1/eprom.c if (!buffer) { buffer 425 drivers/infiniband/hw/hfi1/eprom.c buffer + ncopied); buffer 438 drivers/infiniband/hw/hfi1/eprom.c *data = buffer; buffer 444 drivers/infiniband/hw/hfi1/eprom.c kfree(buffer); buffer 988 drivers/infiniband/hw/hfi1/mad.c pi->replay_depth.buffer = 0x80; buffer 925 drivers/infiniband/hw/hns/hns_roce_device.h int *buffer); buffer 1825 drivers/infiniband/hw/hns/hns_roce_hw_v2.h int *buffer); buffer 10 drivers/infiniband/hw/hns/hns_roce_hw_v2_dfx.c int *buffer) buffer 29 drivers/infiniband/hw/hns/hns_roce_hw_v2_dfx.c memcpy(buffer, cq_context, sizeof(*cq_context)); buffer 913 drivers/infiniband/hw/i40iw/i40iw_cm.c static int i40iw_parse_mpa(struct i40iw_cm_node *cm_node, u8 *buffer, u32 *type, u32 len) buffer 928 drivers/infiniband/hw/i40iw/i40iw_cm.c mpa_frame = (struct ietf_mpa_v1 *)buffer; buffer 975 drivers/infiniband/hw/i40iw/i40iw_cm.c mpa_v2_frame = (struct ietf_mpa_v2 *)buffer; buffer 1029 drivers/infiniband/hw/i40iw/i40iw_cm.c memcpy(cm_node->pdata_buf, buffer + mpa_hdr_len, priv_data_len); buffer 1134 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_ib_read_user_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, buffer 1136 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_ib_read_user_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, buffer 1139 drivers/infiniband/hw/mlx5/mlx5_ib.h void *buffer, int buflen, size_t *bc); buffer 133 drivers/infiniband/hw/mlx5/qp.c void *buffer, buffer 153 drivers/infiniband/hw/mlx5/qp.c ret = ib_umem_copy_from(buffer, umem, offset, copy_length); buffer 165 drivers/infiniband/hw/mlx5/qp.c void *buffer, buffer 184 drivers/infiniband/hw/mlx5/qp.c buffer, buffer 199 drivers/infiniband/hw/mlx5/qp.c ctrl = buffer; buffer 214 drivers/infiniband/hw/mlx5/qp.c buffer + bytes_copied, buffer 231 drivers/infiniband/hw/mlx5/qp.c void *buffer, buffer 242 drivers/infiniband/hw/mlx5/qp.c buffer, buffer 259 drivers/infiniband/hw/mlx5/qp.c void *buffer, buffer 268 drivers/infiniband/hw/mlx5/qp.c buffer, buffer 635 drivers/infiniband/hw/ocrdma/ocrdma_stats.c const char __user *buffer, buffer 647 drivers/infiniband/hw/ocrdma/ocrdma_stats.c if (copy_from_user(tmp_str, buffer, count)) buffer 689 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static ssize_t ocrdma_dbgfs_ops_read(struct file *filp, char __user *buffer, buffer 747 drivers/infiniband/hw/ocrdma/ocrdma_stats.c status = simple_read_from_buffer(buffer, usr_buf_len, ppos, data, buffer 1276 drivers/infiniband/hw/qib/qib.h int qib_twsi_blk_rd(struct qib_devdata *dd, int dev, int addr, void *buffer, buffer 1279 drivers/infiniband/hw/qib/qib.h const void *buffer, int len); buffer 357 drivers/infiniband/hw/qib/qib_twsi.c void *buffer, int len) buffer 360 drivers/infiniband/hw/qib/qib_twsi.c u8 *bp = buffer; buffer 435 drivers/infiniband/hw/qib/qib_twsi.c const void *buffer, int len) buffer 438 drivers/infiniband/hw/qib/qib_twsi.c const u8 *bp = buffer; buffer 68 drivers/infiniband/sw/siw/siw_qp_tx.c char *buffer; buffer 79 drivers/infiniband/sw/siw/siw_qp_tx.c buffer = kmap(p); buffer 82 drivers/infiniband/sw/siw/siw_qp_tx.c memcpy(paddr, buffer + off, bytes); buffer 86 drivers/infiniband/sw/siw/siw_qp_tx.c memcpy(paddr, buffer + off, part); buffer 99 drivers/infiniband/sw/siw/siw_qp_tx.c buffer = kmap(p); buffer 100 drivers/infiniband/sw/siw/siw_qp_tx.c memcpy(paddr + part, buffer, bytes - part); buffer 172 drivers/infiniband/ulp/srp/ib_srp.c static int srp_tmo_get(char *buffer, const struct kernel_param *kp) buffer 177 drivers/infiniband/ulp/srp/ib_srp.c return sprintf(buffer, "%d", tmo); buffer 179 drivers/infiniband/ulp/srp/ib_srp.c return sprintf(buffer, "off"); buffer 82 drivers/infiniband/ulp/srpt/ib_srpt.c static int srpt_get_u64_x(char *buffer, const struct kernel_param *kp) buffer 84 drivers/infiniband/ulp/srpt/ib_srpt.c return sprintf(buffer, "0x%016llx", *(u64 *)kp->arg); buffer 53 drivers/input/evdev.c struct input_event buffer[]; buffer 117 drivers/input/evdev.c ev = &client->buffer[i]; buffer 128 drivers/input/evdev.c client->buffer[head] = *ev; buffer 155 drivers/input/evdev.c client->buffer[client->head++] = ev; buffer 217 drivers/input/evdev.c client->buffer[client->head++] = *event; buffer 227 drivers/input/evdev.c client->buffer[client->tail] = (struct input_event) { buffer 477 drivers/input/evdev.c client = kvzalloc(struct_size(client, buffer, bufsize), GFP_KERNEL); buffer 501 drivers/input/evdev.c static ssize_t evdev_write(struct file *file, const char __user *buffer, buffer 523 drivers/input/evdev.c if (input_event_from_user(buffer + retval, &event)) { buffer 548 drivers/input/evdev.c *event = client->buffer[client->tail++]; buffer 557 drivers/input/evdev.c static ssize_t evdev_read(struct file *file, char __user *buffer, buffer 587 drivers/input/evdev.c if (input_event_to_user(buffer + read, &event)) buffer 14 drivers/input/input-compat.c int input_event_from_user(const char __user *buffer, buffer 20 drivers/input/input-compat.c if (copy_from_user(&compat_event, buffer, buffer 31 drivers/input/input-compat.c if (copy_from_user(event, buffer, sizeof(struct input_event))) buffer 38 drivers/input/input-compat.c int input_event_to_user(char __user *buffer, buffer 50 drivers/input/input-compat.c if (copy_to_user(buffer, &compat_event, buffer 55 drivers/input/input-compat.c if (copy_to_user(buffer, event, sizeof(struct input_event))) buffer 62 drivers/input/input-compat.c int input_ff_effect_from_user(const char __user *buffer, size_t size, buffer 78 drivers/input/input-compat.c if (copy_from_user(compat_effect, buffer, buffer 90 drivers/input/input-compat.c if (copy_from_user(effect, buffer, sizeof(struct ff_effect))) buffer 99 drivers/input/input-compat.c int input_event_from_user(const char __user *buffer, buffer 102 drivers/input/input-compat.c if (copy_from_user(event, buffer, sizeof(struct input_event))) buffer 108 drivers/input/input-compat.c int input_event_to_user(char __user *buffer, buffer 111 drivers/input/input-compat.c if (copy_to_user(buffer, event, sizeof(struct input_event))) buffer 117 drivers/input/input-compat.c int input_ff_effect_from_user(const char __user *buffer, size_t size, buffer 123 drivers/input/input-compat.c if (copy_from_user(effect, buffer, sizeof(struct ff_effect))) buffer 69 drivers/input/input-compat.h int input_event_from_user(const char __user *buffer, buffer 72 drivers/input/input-compat.h int input_event_to_user(char __user *buffer, buffer 75 drivers/input/input-compat.h int input_ff_effect_from_user(const char __user *buffer, size_t size, buffer 59 drivers/input/joydev.c struct js_event buffer[JOYDEV_BUFFER_SIZE]; buffer 99 drivers/input/joydev.c client->buffer[client->head] = *event; buffer 329 drivers/input/joydev.c *event = client->buffer[client->tail++]; buffer 632 drivers/input/keyboard/applespi.c settings->spi_cs_delay = *(u64 *)o->buffer.pointer; buffer 638 drivers/input/keyboard/applespi.c settings->reset_a2r_usec = *(u64 *)o->buffer.pointer; buffer 644 drivers/input/keyboard/applespi.c settings->reset_rec_usec = *(u64 *)o->buffer.pointer; buffer 1358 drivers/input/keyboard/applespi.c static bool applespi_verify_crc(struct applespi_data *applespi, u8 *buffer, buffer 1363 drivers/input/keyboard/applespi.c crc = crc16(0, buffer, buflen); buffer 1367 drivers/input/keyboard/applespi.c trace_applespi_bad_crc(ET_RD_CRC, READ, buffer, buflen); buffer 108 drivers/input/keyboard/qt2160.c u8 inireg, u8 *buffer, unsigned int count) buffer 126 drivers/input/keyboard/qt2160.c error = i2c_master_recv(client, buffer, count); buffer 151 drivers/input/keyboard/qt2160.c buffer[idx++] = data; buffer 66 drivers/input/misc/ati_remote2.c static int ati_remote2_get_channel_mask(char *buffer, buffer 71 drivers/input/misc/ati_remote2.c return sprintf(buffer, "0x%04x", *(unsigned int *)kp->arg); buffer 82 drivers/input/misc/ati_remote2.c static int ati_remote2_get_mode_mask(char *buffer, buffer 87 drivers/input/misc/ati_remote2.c return sprintf(buffer, "0x%02x", *(unsigned int *)kp->arg); buffer 1280 drivers/input/misc/ims-pcu.c u8 buffer[] = { addr, data }; buffer 1285 drivers/input/misc/ims-pcu.c &buffer, sizeof(buffer)); buffer 98 drivers/input/misc/keyspan_remote.c u8 buffer[32]; buffer 160 drivers/input/misc/keyspan_remote.c dev->data.tester += (dev->data.buffer[dev->data.pos++] << dev->data.bits_left); buffer 194 drivers/input/misc/keyspan_remote.c memcpy(remote->data.buffer, remote->in_buffer, RECV_SIZE); buffer 208 drivers/input/misc/keyspan_remote.c memcpy(remote->data.buffer + remote->data.len, remote->in_buffer, RECV_SIZE); buffer 245 drivers/input/misc/keyspan_remote.c memcpy(remote->data.buffer + remote->data.len, remote->in_buffer, RECV_SIZE); buffer 249 drivers/input/misc/soc_button_array.c uuid->buffer.length != 16 || buffer 254 drivers/input/misc/soc_button_array.c if (memcmp(uuid->buffer.pointer, btns_desc_uuid, 16) == 0) { buffer 510 drivers/input/misc/uinput.c const char __user *buffer, size_t count) buffer 528 drivers/input/misc/uinput.c user_dev = memdup_user(buffer, sizeof(struct uinput_user_dev)); buffer 573 drivers/input/misc/uinput.c const char __user *buffer, size_t count) buffer 588 drivers/input/misc/uinput.c if (input_event_from_user(buffer + bytes, &ev)) buffer 599 drivers/input/misc/uinput.c static ssize_t uinput_write(struct file *file, const char __user *buffer, buffer 613 drivers/input/misc/uinput.c uinput_inject_events(udev, buffer, count) : buffer 614 drivers/input/misc/uinput.c uinput_setup_device_legacy(udev, buffer, count); buffer 640 drivers/input/misc/uinput.c char __user *buffer, size_t count) buffer 648 drivers/input/misc/uinput.c if (input_event_to_user(buffer + read, &event)) buffer 657 drivers/input/misc/uinput.c static ssize_t uinput_read(struct file *file, char __user *buffer, buffer 677 drivers/input/misc/uinput.c retval = uinput_events_to_user(udev, buffer, count); buffer 723 drivers/input/misc/uinput.c static int uinput_ff_upload_to_user(char __user *buffer, buffer 742 drivers/input/misc/uinput.c if (copy_to_user(buffer, &ff_up_compat, buffer 746 drivers/input/misc/uinput.c if (copy_to_user(buffer, ff_up, buffer 754 drivers/input/misc/uinput.c static int uinput_ff_upload_from_user(const char __user *buffer, buffer 760 drivers/input/misc/uinput.c if (copy_from_user(&ff_up_compat, buffer, buffer 772 drivers/input/misc/uinput.c if (copy_from_user(ff_up, buffer, buffer 782 drivers/input/misc/uinput.c static int uinput_ff_upload_to_user(char __user *buffer, buffer 785 drivers/input/misc/uinput.c if (copy_to_user(buffer, ff_up, sizeof(struct uinput_ff_upload))) buffer 791 drivers/input/misc/uinput.c static int uinput_ff_upload_from_user(const char __user *buffer, buffer 794 drivers/input/misc/uinput.c if (copy_from_user(ff_up, buffer, sizeof(struct uinput_ff_upload))) buffer 2208 drivers/input/mouse/cyapa_gen5.c u8 *buffer) buffer 2230 drivers/input/mouse/cyapa_gen5.c intp = (s32 *)buffer; buffer 622 drivers/input/mouse/elan_i2c_i2c.c u8 buffer[ETP_I2C_REPORT_LEN]; buffer 624 drivers/input/mouse/elan_i2c_i2c.c len = i2c_master_recv(client, buffer, ETP_I2C_REPORT_LEN); buffer 648 drivers/input/mouse/elan_i2c_i2c.c len = i2c_master_recv(client, buffer, ETP_I2C_INF_LENGTH); buffer 48 drivers/input/mouse/psmouse-base.c static int psmouse_get_maxproto(char *buffer, const struct kernel_param *kp); buffer 2041 drivers/input/mouse/psmouse-base.c static int psmouse_get_maxproto(char *buffer, const struct kernel_param *kp) buffer 2045 drivers/input/mouse/psmouse-base.c return sprintf(buffer, "%s", psmouse_protocol_by_type(type)->name); buffer 105 drivers/input/mousedev.c unsigned char ready, buffer, bufsiz; buffer 671 drivers/input/mousedev.c client->buffer = client->bufsiz; buffer 674 drivers/input/mousedev.c static ssize_t mousedev_write(struct file *file, const char __user *buffer, buffer 683 drivers/input/mousedev.c if (get_user(c, buffer + i)) buffer 716 drivers/input/mousedev.c static ssize_t mousedev_read(struct file *file, char __user *buffer, buffer 724 drivers/input/mousedev.c if (!client->ready && !client->buffer && mousedev->exist && buffer 729 drivers/input/mousedev.c !mousedev->exist || client->ready || client->buffer); buffer 738 drivers/input/mousedev.c if (!client->buffer && client->ready) { buffer 740 drivers/input/mousedev.c client->buffer = client->bufsiz; buffer 743 drivers/input/mousedev.c if (count > client->buffer) buffer 744 drivers/input/mousedev.c count = client->buffer; buffer 746 drivers/input/mousedev.c memcpy(data, client->ps2 + client->bufsiz - client->buffer, count); buffer 747 drivers/input/mousedev.c client->buffer -= count; buffer 751 drivers/input/mousedev.c if (copy_to_user(buffer, data, count)) buffer 767 drivers/input/mousedev.c if (client->ready || client->buffer) buffer 99 drivers/input/serio/gscps2.c } buffer[BUFFER_SIZE+1]; buffer 236 drivers/input/serio/gscps2.c while ( (ps2port->buffer[ps2port->append].str = buffer 238 drivers/input/serio/gscps2.c ps2port->buffer[ps2port->append].data = buffer 261 drivers/input/serio/gscps2.c status = ps2port->buffer[ps2port->act].str; buffer 262 drivers/input/serio/gscps2.c data = ps2port->buffer[ps2port->act].data; buffer 157 drivers/input/serio/serio_raw.c static ssize_t serio_raw_read(struct file *file, char __user *buffer, buffer 178 drivers/input/serio/serio_raw.c if (put_user(c, buffer++)) buffer 198 drivers/input/serio/serio_raw.c static ssize_t serio_raw_write(struct file *file, const char __user *buffer, buffer 219 drivers/input/serio/serio_raw.c if (get_user(c, buffer++)) { buffer 179 drivers/input/serio/userio.c static ssize_t userio_char_write(struct file *file, const char __user *buffer, buffer 191 drivers/input/serio/userio.c if (copy_from_user(&cmd, buffer, sizeof(cmd))) buffer 853 drivers/input/tablet/aiptek.c unsigned char report_id, void *buffer, int size) buffer 862 drivers/input/tablet/aiptek.c aiptek->ifnum, buffer, size, 5000); buffer 868 drivers/input/tablet/aiptek.c unsigned char report_id, void *buffer, int size) buffer 877 drivers/input/tablet/aiptek.c aiptek->ifnum, buffer, size, 5000); buffer 111 drivers/input/tablet/gtco.c unsigned char * buffer; /* databuffer for reports */ buffer 669 drivers/input/tablet/gtco.c switch (device->buffer[0]) { buffer 672 drivers/input/tablet/gtco.c val = ((u16)(device->buffer[8]) << 1); buffer 673 drivers/input/tablet/gtco.c val |= (u16)(device->buffer[7] >> 7); buffer 675 drivers/input/tablet/gtco.c device->buffer[8]); buffer 678 drivers/input/tablet/gtco.c device->buffer[7] = (u8)((device->buffer[7]) & 0x7F); buffer 684 drivers/input/tablet/gtco.c sign_extend32(device->buffer[6], 6)); buffer 687 drivers/input/tablet/gtco.c sign_extend32(device->buffer[7], 6)); buffer 693 drivers/input/tablet/gtco.c val = (device->buffer[5]) & MASK_BUTTON; buffer 702 drivers/input/tablet/gtco.c val = get_unaligned_le16(&device->buffer[1]); buffer 705 drivers/input/tablet/gtco.c val = get_unaligned_le16(&device->buffer[3]); buffer 709 drivers/input/tablet/gtco.c val = device->buffer[5] & MASK_INRANGE ? 1 : 0; buffer 714 drivers/input/tablet/gtco.c if (device->buffer[0] == 1) { buffer 721 drivers/input/tablet/gtco.c val = device->buffer[5] & MASK_BUTTON; buffer 737 drivers/input/tablet/gtco.c device->buffer[1]); buffer 747 drivers/input/tablet/gtco.c if (device->buffer[0] == 2) { buffer 749 drivers/input/tablet/gtco.c input_event(inputdev, EV_MSC, MSC_SCAN, device->buffer[1]); buffer 753 drivers/input/tablet/gtco.c if (device->buffer[0] == 1) { buffer 759 drivers/input/tablet/gtco.c val = (u16)(((u16)(device->buffer[2] << 8)) | (u8)device->buffer[1]); buffer 760 drivers/input/tablet/gtco.c val |= (u32)(((u8)device->buffer[3] & 0x1) << 16); buffer 764 drivers/input/tablet/gtco.c le_buffer[0] = (u8)((u8)(device->buffer[3]) >> 1); buffer 765 drivers/input/tablet/gtco.c le_buffer[0] |= (u8)((device->buffer[3] & 0x1) << 7); buffer 767 drivers/input/tablet/gtco.c le_buffer[1] = (u8)(device->buffer[4] >> 1); buffer 768 drivers/input/tablet/gtco.c le_buffer[1] |= (u8)((device->buffer[5] & 0x1) << 7); buffer 777 drivers/input/tablet/gtco.c buttonbyte = device->buffer[5] >> 1; buffer 780 drivers/input/tablet/gtco.c val = get_unaligned_le16(&device->buffer[1]); buffer 783 drivers/input/tablet/gtco.c val = get_unaligned_le16(&device->buffer[3]); buffer 786 drivers/input/tablet/gtco.c buttonbyte = device->buffer[5]; buffer 804 drivers/input/tablet/gtco.c input_report_abs(inputdev, ABS_MISC, device->buffer[6]); buffer 809 drivers/input/tablet/gtco.c input_event(inputdev, EV_MSC, MSC_RAW, device->buffer[0]); buffer 861 drivers/input/tablet/gtco.c gtco->buffer = usb_alloc_coherent(udev, REPORT_MAX_SIZE, buffer 863 drivers/input/tablet/gtco.c if (!gtco->buffer) { buffer 978 drivers/input/tablet/gtco.c gtco->buffer, buffer 1001 drivers/input/tablet/gtco.c gtco->buffer, gtco->buf_dma); buffer 1025 drivers/input/tablet/gtco.c gtco->buffer, gtco->buf_dma); buffer 367 drivers/input/touchscreen/chipone_icn8505.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 377 drivers/input/touchscreen/chipone_icn8505.c status = acpi_evaluate_object(adev->handle, "_SUB", NULL, &buffer); buffer 379 drivers/input/touchscreen/chipone_icn8505.c obj = buffer.pointer; buffer 386 drivers/input/touchscreen/chipone_icn8505.c buffer.pointer = NULL; buffer 392 drivers/input/touchscreen/chipone_icn8505.c kfree(buffer.pointer); buffer 109 drivers/input/touchscreen/mcs5000_ts.c u8 buffer[READ_BLOCK_SIZE]; buffer 115 drivers/input/touchscreen/mcs5000_ts.c READ_BLOCK_SIZE, buffer); buffer 121 drivers/input/touchscreen/mcs5000_ts.c switch (buffer[READ_INPUT_INFO]) { buffer 128 drivers/input/touchscreen/mcs5000_ts.c x = (buffer[READ_X_POS_UPPER] << 8) | buffer[READ_X_POS_LOWER]; buffer 129 drivers/input/touchscreen/mcs5000_ts.c y = (buffer[READ_Y_POS_UPPER] << 8) | buffer[READ_Y_POS_LOWER]; buffer 151 drivers/input/touchscreen/mcs5000_ts.c buffer[READ_INPUT_INFO]); buffer 296 drivers/input/touchscreen/s6sy761.c u8 buffer[S6SY761_EVENT_SIZE]; buffer 311 drivers/input/touchscreen/s6sy761.c buffer); buffer 315 drivers/input/touchscreen/s6sy761.c event = (buffer[0] >> 2) & 0xf; buffer 319 drivers/input/touchscreen/s6sy761.c buffer[1] != S6SY761_INFO_BOOT_COMPLETE) { buffer 344 drivers/input/touchscreen/s6sy761.c u8 buffer[S6SY761_PANEL_ID_SIZE]; /* larger read size */ buffer 354 drivers/input/touchscreen/s6sy761.c buffer); buffer 358 drivers/input/touchscreen/s6sy761.c sdata->devid = get_unaligned_be16(buffer + 1); buffer 363 drivers/input/touchscreen/s6sy761.c buffer); buffer 367 drivers/input/touchscreen/s6sy761.c *max_x = get_unaligned_be16(buffer); buffer 368 drivers/input/touchscreen/s6sy761.c *max_y = get_unaligned_be16(buffer + 2); buffer 371 drivers/input/touchscreen/s6sy761.c sdata->tx_channel = max_t(u8, buffer[8], 1); buffer 256 drivers/input/touchscreen/sur40.c u8 command, u16 index, void *buffer, u16 size) buffer 261 drivers/input/touchscreen/sur40.c 0x00, index, buffer, size, 1000); buffer 343 drivers/input/touchscreen/sur40.c u8 *buffer; buffer 345 drivers/input/touchscreen/sur40.c buffer = kmalloc(24, GFP_KERNEL); buffer 346 drivers/input/touchscreen/sur40.c if (!buffer) { buffer 352 drivers/input/touchscreen/sur40.c result = sur40_command(dev, SUR40_GET_VERSION, 0x00, buffer, 12); buffer 356 drivers/input/touchscreen/sur40.c result = sur40_command(dev, SUR40_GET_VERSION, 0x01, buffer, 12); buffer 360 drivers/input/touchscreen/sur40.c result = sur40_command(dev, SUR40_GET_VERSION, 0x02, buffer, 12); buffer 364 drivers/input/touchscreen/sur40.c result = sur40_command(dev, SUR40_SENSOR_CAPS, 0x00, buffer, 24); buffer 368 drivers/input/touchscreen/sur40.c result = sur40_command(dev, SUR40_ACCEL_CAPS, 0x00, buffer, 5); buffer 372 drivers/input/touchscreen/sur40.c result = sur40_command(dev, SUR40_GET_VERSION, 0x03, buffer, 12); buffer 379 drivers/input/touchscreen/sur40.c kfree(buffer); buffer 92 drivers/input/touchscreen/usbtouchscreen.c unsigned char *buffer; buffer 1412 drivers/input/touchscreen/usbtouchscreen.c unsigned char *buffer; buffer 1419 drivers/input/touchscreen/usbtouchscreen.c usbtouch->buffer, usbtouch->buf_len); buffer 1432 drivers/input/touchscreen/usbtouchscreen.c memcpy(usbtouch->buffer + usbtouch->buf_len, pkt, append); buffer 1436 drivers/input/touchscreen/usbtouchscreen.c usbtouch->buffer, usbtouch->buf_len); buffer 1445 drivers/input/touchscreen/usbtouchscreen.c memcpy(usbtouch->buffer + usbtouch->buf_len, pkt, tmp); buffer 1446 drivers/input/touchscreen/usbtouchscreen.c usbtouch_process_pkt(usbtouch, usbtouch->buffer, pkt_len); buffer 1448 drivers/input/touchscreen/usbtouchscreen.c buffer = pkt + tmp; buffer 1451 drivers/input/touchscreen/usbtouchscreen.c buffer = pkt; buffer 1459 drivers/input/touchscreen/usbtouchscreen.c pkt_len = usbtouch->type->get_pkt_len(buffer + pos, buffer 1470 drivers/input/touchscreen/usbtouchscreen.c usbtouch_process_pkt(usbtouch, buffer + pos, pkt_len); buffer 1473 drivers/input/touchscreen/usbtouchscreen.c memcpy(usbtouch->buffer, buffer + pos, buf_len - pos); buffer 1625 drivers/input/touchscreen/usbtouchscreen.c kfree(usbtouch->buffer); buffer 1689 drivers/input/touchscreen/usbtouchscreen.c usbtouch->buffer = kmalloc(type->rept_size, GFP_KERNEL); buffer 1690 drivers/input/touchscreen/usbtouchscreen.c if (!usbtouch->buffer) buffer 1953 drivers/iommu/dmar.c start = (struct acpi_dmar_header *)obj->buffer.pointer; buffer 1954 drivers/iommu/dmar.c ret = dmar_walk_remapping_entries(start, obj->buffer.length, &callback); buffer 1989 drivers/isdn/hardware/mISDN/hfcpci.c void *buffer; buffer 2009 drivers/isdn/hardware/mISDN/hfcpci.c buffer = pci_alloc_consistent(hc->pdev, 0x8000, &hc->hw.dmahandle); buffer 2011 drivers/isdn/hardware/mISDN/hfcpci.c if (!buffer) { buffer 2016 drivers/isdn/hardware/mISDN/hfcpci.c hc->hw.fifos = buffer; buffer 1007 drivers/isdn/hardware/mISDN/hfcsusb.c buf = context_iso_urb->buffer + offset; buffer 1062 drivers/isdn/hardware/mISDN/hfcsusb.c context_iso_urb->buffer, num_isoc_packets, buffer 1111 drivers/isdn/hardware/mISDN/hfcsusb.c buf = fifo->buffer; buffer 1224 drivers/isdn/hardware/mISDN/hfcsusb.c context_iso_urb->buffer, num_isoc_packets, buffer 1227 drivers/isdn/hardware/mISDN/hfcsusb.c memset(context_iso_urb->buffer, 0, buffer 1228 drivers/isdn/hardware/mISDN/hfcsusb.c sizeof(context_iso_urb->buffer)); buffer 1263 drivers/isdn/hardware/mISDN/hfcsusb.c context_iso_urb->buffer[tx_offset] = 0; buffer 1268 drivers/isdn/hardware/mISDN/hfcsusb.c buffer[tx_offset] = 1; buffer 1277 drivers/isdn/hardware/mISDN/hfcsusb.c p = context_iso_urb->buffer + tx_offset + 1; buffer 1304 drivers/isdn/hardware/mISDN/hfcsusb.c context_iso_urb->buffer[i]); buffer 1408 drivers/isdn/hardware/mISDN/hfcsusb.c fifo->iso[i].buffer, buffer 1413 drivers/isdn/hardware/mISDN/hfcsusb.c memset(fifo->iso[i].buffer, 0, buffer 1414 drivers/isdn/hardware/mISDN/hfcsusb.c sizeof(fifo->iso[i].buffer)); buffer 1509 drivers/isdn/hardware/mISDN/hfcsusb.c fifo->buffer, fifo->usb_packet_maxlen, buffer 239 drivers/isdn/hardware/mISDN/hfcsusb.h __u8 buffer[ISO_BUFFER_SIZE]; /* buffer rx/tx USB URB data */ buffer 257 drivers/isdn/hardware/mISDN/hfcsusb.h __u8 buffer[128]; /* buffer USB INT OUT URB data */ buffer 126 drivers/isdn/mISDN/dsp.h signed short buffer[DSP_DTMF_NPOINTS]; buffer 138 drivers/isdn/mISDN/dsp_dtmf.c buf = dsp->dtmf.buffer; buffer 188 drivers/isdn/mISDN/dsp_dtmf.c buf = dsp->dtmf.buffer; buffer 73 drivers/leds/uleds.c static ssize_t uleds_write(struct file *file, const char __user *buffer, buffer 97 drivers/leds/uleds.c if (copy_from_user(&udev->user_dev, buffer, buffer 131 drivers/leds/uleds.c static ssize_t uleds_read(struct file *file, char __user *buffer, size_t count, buffer 150 drivers/leds/uleds.c retval = copy_to_user(buffer, &udev->brightness, buffer 2117 drivers/lightnvm/pblk-core.c void *buffer; buffer 2121 drivers/lightnvm/pblk-core.c buffer = rqd->meta_list; buffer 2126 drivers/lightnvm/pblk-core.c buffer = page_to_virt( buffer 2130 drivers/lightnvm/pblk-core.c return buffer; buffer 186 drivers/macintosh/mac_hid.c void __user *buffer, size_t *lenp, buffer 197 drivers/macintosh/mac_hid.c rc = proc_dointvec(table, write, buffer, lenp, ppos); buffer 298 drivers/macintosh/smu.c if (data_len > sizeof(scmd->buffer)) buffer 304 drivers/macintosh/smu.c cmd->data_buf = scmd->buffer; buffer 305 drivers/macintosh/smu.c cmd->reply_len = sizeof(scmd->buffer); buffer 306 drivers/macintosh/smu.c cmd->reply_buf = scmd->buffer; buffer 312 drivers/macintosh/smu.c scmd->buffer[i] = (u8)va_arg(list, int); buffer 395 drivers/macintosh/smu.c time->tm_sec = bcd2hex(cmd.buffer[0]); buffer 396 drivers/macintosh/smu.c time->tm_min = bcd2hex(cmd.buffer[1]); buffer 397 drivers/macintosh/smu.c time->tm_hour = bcd2hex(cmd.buffer[2]); buffer 398 drivers/macintosh/smu.c time->tm_wday = bcd2hex(cmd.buffer[3]); buffer 399 drivers/macintosh/smu.c time->tm_mday = bcd2hex(cmd.buffer[4]); buffer 400 drivers/macintosh/smu.c time->tm_mon = bcd2hex(cmd.buffer[5]) - 1; buffer 401 drivers/macintosh/smu.c time->tm_year = bcd2hex(cmd.buffer[6]) + 100; buffer 973 drivers/macintosh/smu.c addr = *((u16 *)cmd.buffer); buffer 974 drivers/macintosh/smu.c len = cmd.buffer[3] << 2; buffer 1079 drivers/macintosh/smu.c u8 buffer[SMU_MAX_DATA]; buffer 1153 drivers/macintosh/smu.c if (copy_from_user(pp->buffer, buf + sizeof(hdr), hdr.data_len)) { buffer 1161 drivers/macintosh/smu.c pp->cmd.data_buf = pp->buffer; buffer 1162 drivers/macintosh/smu.c pp->cmd.reply_buf = pp->buffer; buffer 1220 drivers/macintosh/smu.c if (size && copy_to_user(buf + sizeof(hdr), pp->buffer, size)) buffer 934 drivers/macintosh/via-pmu.c const char __user *buffer, size_t count, loff_t *pos) buffer 944 drivers/macintosh/via-pmu.c if (copy_from_user(tmp, buffer, count)) buffer 56 drivers/macintosh/windfarm_smu_controls.c u8 buffer[16]; buffer 71 drivers/macintosh/windfarm_smu_controls.c buffer[0] = 0x30; buffer 72 drivers/macintosh/windfarm_smu_controls.c buffer[1] = id; buffer 73 drivers/macintosh/windfarm_smu_controls.c *((u16 *)(&buffer[2])) = value; buffer 79 drivers/macintosh/windfarm_smu_controls.c memset(buffer, 0, 16); buffer 80 drivers/macintosh/windfarm_smu_controls.c buffer[0] = pwm ? 0x10 : 0x00; buffer 81 drivers/macintosh/windfarm_smu_controls.c buffer[1] = 0x01 << id; buffer 82 drivers/macintosh/windfarm_smu_controls.c *((u16 *)&buffer[2 + id * 2]) = value; buffer 87 drivers/macintosh/windfarm_smu_controls.c cmd.data_buf = cmd.reply_buf = buffer; buffer 83 drivers/macintosh/windfarm_smu_sensors.c *value = *((u16 *)cmd.buffer); buffer 2330 drivers/md/bcache/super.c const char *buffer, size_t size); buffer 2333 drivers/md/bcache/super.c const char *buffer, size_t size); buffer 2373 drivers/md/bcache/super.c const char *buffer, size_t size) buffer 2395 drivers/md/bcache/super.c path = kstrndup(buffer, size, GFP_KERNEL); buffer 2493 drivers/md/bcache/super.c const char *buffer, buffer 1400 drivers/md/dm-raid1.c char buffer[MAX_NR_MIRRORS + 1]; buffer 1407 drivers/md/dm-raid1.c buffer[m] = device_status_char(&(ms->mirror[m])); buffer 1409 drivers/md/dm-raid1.c buffer[m] = '\0'; buffer 1413 drivers/md/dm-raid1.c (unsigned long long)ms->nr_regions, buffer); buffer 3244 drivers/md/dm-thin.c char buffer[BDEVNAME_SIZE]; buffer 3248 drivers/md/dm-thin.c bdevname(bdev, buffer), THIN_METADATA_MAX_SECTORS); buffer 9642 drivers/md/md.c static int get_ro(char *buffer, const struct kernel_param *kp) buffer 9644 drivers/md/md.c return sprintf(buffer, "%d", start_readonly); buffer 294 drivers/media/common/saa7146/saa7146_i2c.c __le32 *buffer = dev->d_i2c.cpu_addr; buffer 306 drivers/media/common/saa7146/saa7146_i2c.c count = saa7146_i2c_msg_prepare(msgs, num, buffer); buffer 325 drivers/media/common/saa7146/saa7146_i2c.c err = saa7146_i2c_writeout(dev, &buffer[i], short_delay); buffer 358 drivers/media/common/saa7146/saa7146_i2c.c if ( 0 != saa7146_i2c_msg_cleanup(msgs, num, buffer)) { buffer 615 drivers/media/common/siano/smscoreapi.c smscore_buffer_t *smscore_createbuffer(u8 *buffer, void *common_buffer, buffer 624 drivers/media/common/siano/smscoreapi.c cb->p = buffer; buffer 625 drivers/media/common/siano/smscoreapi.c cb->offset_in_common = buffer - (u8 *) common_buffer; buffer 648 drivers/media/common/siano/smscoreapi.c u8 *buffer; buffer 689 drivers/media/common/siano/smscoreapi.c buffer = kzalloc(dev->common_buffer_size, GFP_KERNEL); buffer 691 drivers/media/common/siano/smscoreapi.c buffer = dma_alloc_coherent(params->device, buffer 695 drivers/media/common/siano/smscoreapi.c if (!buffer) { buffer 699 drivers/media/common/siano/smscoreapi.c dev->common_buffer = buffer; buffer 703 drivers/media/common/siano/smscoreapi.c dev->num_buffers++, buffer += params->buffer_size) { buffer 706 drivers/media/common/siano/smscoreapi.c cb = smscore_createbuffer(buffer, dev->common_buffer, buffer 749 drivers/media/common/siano/smscoreapi.c void *buffer, size_t size, struct completion *completion) { buffer 756 drivers/media/common/siano/smscoreapi.c rc = coredev->sendrequest_handler(coredev->context, buffer, size); buffer 776 drivers/media/common/siano/smscoreapi.c void *buffer; buffer 787 drivers/media/common/siano/smscoreapi.c buffer = kmalloc(sizeof(struct sms_msg_data2) + buffer 790 drivers/media/common/siano/smscoreapi.c if (buffer) { buffer 793 drivers/media/common/siano/smscoreapi.c SMS_ALIGN_ADDRESS(buffer); buffer 805 drivers/media/common/siano/smscoreapi.c kfree(buffer); buffer 908 drivers/media/common/siano/smscoreapi.c void *buffer, size_t size) buffer 910 drivers/media/common/siano/smscoreapi.c struct sms_firmware *firmware = (struct sms_firmware *) buffer; buffer 1256 drivers/media/common/siano/smscoreapi.c void *buffer = kmalloc(sizeof(struct sms_msg_hdr) + SMS_DMA_ALIGNMENT, buffer 1259 drivers/media/common/siano/smscoreapi.c (struct sms_msg_hdr *) SMS_ALIGN_ADDRESS(buffer); buffer 1262 drivers/media/common/siano/smscoreapi.c if (!buffer) buffer 1285 drivers/media/common/siano/smscoreapi.c kfree(buffer); buffer 1301 drivers/media/common/siano/smscoreapi.c void *buffer; buffer 1305 drivers/media/common/siano/smscoreapi.c buffer = kmalloc(sizeof(struct sms_msg_data) + buffer 1307 drivers/media/common/siano/smscoreapi.c if (!buffer) buffer 1310 drivers/media/common/siano/smscoreapi.c msg = (struct sms_msg_data *)SMS_ALIGN_ADDRESS(buffer); buffer 1319 drivers/media/common/siano/smscoreapi.c kfree(buffer); buffer 1390 drivers/media/common/siano/smscoreapi.c char *buffer; buffer 1394 drivers/media/common/siano/smscoreapi.c buffer = kmalloc(sizeof(struct sms_msg_data) + buffer 1396 drivers/media/common/siano/smscoreapi.c if (buffer) { buffer 1397 drivers/media/common/siano/smscoreapi.c struct sms_msg_data *msg = (struct sms_msg_data *) SMS_ALIGN_ADDRESS(buffer); buffer 1407 drivers/media/common/siano/smscoreapi.c kfree(buffer); buffer 1791 drivers/media/common/siano/smscoreapi.c void *buffer, size_t size) buffer 1794 drivers/media/common/siano/smscoreapi.c struct sms_msg_hdr *phdr = (struct sms_msg_hdr *) buffer; buffer 1815 drivers/media/common/siano/smscoreapi.c return coredev->sendrequest_handler(coredev->context, buffer, size); buffer 1950 drivers/media/common/siano/smscoreapi.c void *buffer; buffer 1967 drivers/media/common/siano/smscoreapi.c buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT, buffer 1969 drivers/media/common/siano/smscoreapi.c if (!buffer) buffer 1972 drivers/media/common/siano/smscoreapi.c p_msg = (struct set_gpio_msg *) SMS_ALIGN_ADDRESS(buffer); buffer 2016 drivers/media/common/siano/smscoreapi.c kfree(buffer); buffer 2026 drivers/media/common/siano/smscoreapi.c void *buffer; buffer 2039 drivers/media/common/siano/smscoreapi.c buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT, buffer 2041 drivers/media/common/siano/smscoreapi.c if (!buffer) buffer 2044 drivers/media/common/siano/smscoreapi.c p_msg = (struct set_gpio_msg *) SMS_ALIGN_ADDRESS(buffer); buffer 2064 drivers/media/common/siano/smscoreapi.c kfree(buffer); buffer 2074 drivers/media/common/siano/smscoreapi.c void *buffer; buffer 2087 drivers/media/common/siano/smscoreapi.c buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT, buffer 2089 drivers/media/common/siano/smscoreapi.c if (!buffer) buffer 2092 drivers/media/common/siano/smscoreapi.c p_msg = (struct set_gpio_msg *) SMS_ALIGN_ADDRESS(buffer); buffer 2112 drivers/media/common/siano/smscoreapi.c kfree(buffer); buffer 104 drivers/media/common/siano/smscoreapi.h typedef int (*sendrequest_t)(void *context, void *buffer, size_t size); buffer 105 drivers/media/common/siano/smscoreapi.h typedef int (*loadfirmware_t)(void *context, void *buffer, size_t size); buffer 1137 drivers/media/common/siano/smscoreapi.h void *buffer, size_t size); buffer 685 drivers/media/common/siano/smsdvb-main.c void *buffer, size_t size, buffer 690 drivers/media/common/siano/smsdvb-main.c rc = smsclient_sendrequest(client->smsclient, buffer, size); buffer 17 drivers/media/common/siano/smsendian.c void smsendian_handle_tx_message(void *buffer) buffer 20 drivers/media/common/siano/smsendian.c struct sms_msg_data *msg = (struct sms_msg_data *)buffer; buffer 44 drivers/media/common/siano/smsendian.c void smsendian_handle_rx_message(void *buffer) buffer 47 drivers/media/common/siano/smsendian.c struct sms_msg_data *msg = (struct sms_msg_data *)buffer; buffer 16 drivers/media/common/siano/smsendian.h extern void smsendian_handle_tx_message(void *buffer); buffer 17 drivers/media/common/siano/smsendian.h extern void smsendian_handle_rx_message(void *buffer); buffer 338 drivers/media/common/videobuf2/videobuf2-core.c unsigned int buffer, plane; buffer 346 drivers/media/common/videobuf2/videobuf2-core.c for (buffer = 0; buffer < num_buffers; ++buffer) { buffer 357 drivers/media/common/videobuf2/videobuf2-core.c vb->index = q->num_buffers + buffer; buffer 373 drivers/media/common/videobuf2/videobuf2-core.c buffer); buffer 387 drivers/media/common/videobuf2/videobuf2-core.c buffer, vb); buffer 397 drivers/media/common/videobuf2/videobuf2-core.c buffer, num_planes); buffer 399 drivers/media/common/videobuf2/videobuf2-core.c return buffer; buffer 407 drivers/media/common/videobuf2/videobuf2-core.c unsigned int buffer; buffer 410 drivers/media/common/videobuf2/videobuf2-core.c for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; buffer 411 drivers/media/common/videobuf2/videobuf2-core.c ++buffer) { buffer 412 drivers/media/common/videobuf2/videobuf2-core.c vb = q->bufs[buffer]; buffer 433 drivers/media/common/videobuf2/videobuf2-core.c unsigned int buffer; buffer 443 drivers/media/common/videobuf2/videobuf2-core.c for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; buffer 444 drivers/media/common/videobuf2/videobuf2-core.c ++buffer) { buffer 445 drivers/media/common/videobuf2/videobuf2-core.c if (q->bufs[buffer] == NULL) buffer 447 drivers/media/common/videobuf2/videobuf2-core.c if (q->bufs[buffer]->state == VB2_BUF_STATE_PREPARING) { buffer 454 drivers/media/common/videobuf2/videobuf2-core.c for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; buffer 455 drivers/media/common/videobuf2/videobuf2-core.c ++buffer) { buffer 456 drivers/media/common/videobuf2/videobuf2-core.c struct vb2_buffer *vb = q->bufs[buffer]; buffer 490 drivers/media/common/videobuf2/videobuf2-core.c for (buffer = 0; buffer < q->num_buffers; ++buffer) { buffer 491 drivers/media/common/videobuf2/videobuf2-core.c struct vb2_buffer *vb = q->bufs[buffer]; buffer 503 drivers/media/common/videobuf2/videobuf2-core.c q, buffer, unbalanced ? " UNBALANCED!" : ""); buffer 529 drivers/media/common/videobuf2/videobuf2-core.c for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; buffer 530 drivers/media/common/videobuf2/videobuf2-core.c ++buffer) { buffer 531 drivers/media/common/videobuf2/videobuf2-core.c kfree(q->bufs[buffer]); buffer 532 drivers/media/common/videobuf2/videobuf2-core.c q->bufs[buffer] = NULL; buffer 567 drivers/media/common/videobuf2/videobuf2-core.c unsigned int buffer; buffer 568 drivers/media/common/videobuf2/videobuf2-core.c for (buffer = 0; buffer < q->num_buffers; ++buffer) { buffer 569 drivers/media/common/videobuf2/videobuf2-core.c if (vb2_buffer_in_use(q, q->bufs[buffer])) buffer 2054 drivers/media/common/videobuf2/videobuf2-core.c unsigned int buffer, plane; buffer 2061 drivers/media/common/videobuf2/videobuf2-core.c for (buffer = 0; buffer < q->num_buffers; ++buffer) { buffer 2062 drivers/media/common/videobuf2/videobuf2-core.c vb = q->bufs[buffer]; buffer 2066 drivers/media/common/videobuf2/videobuf2-core.c *_buffer = buffer; buffer 2151 drivers/media/common/videobuf2/videobuf2-core.c unsigned int buffer = 0, plane = 0; buffer 2190 drivers/media/common/videobuf2/videobuf2-core.c ret = __find_plane_by_offset(q, off, &buffer, &plane); buffer 2194 drivers/media/common/videobuf2/videobuf2-core.c vb = q->bufs[buffer]; buffer 2223 drivers/media/common/videobuf2/videobuf2-core.c dprintk(3, "buffer %d, plane %d successfully mapped\n", buffer, plane); buffer 2237 drivers/media/common/videobuf2/videobuf2-core.c unsigned int buffer, plane; buffer 2249 drivers/media/common/videobuf2/videobuf2-core.c ret = __find_plane_by_offset(q, off, &buffer, &plane); buffer 2253 drivers/media/common/videobuf2/videobuf2-core.c vb = q->bufs[buffer]; buffer 333 drivers/media/dvb-core/dmxdev.c struct dvb_ringbuffer *buf = &dmxdevfilter->buffer; buffer 367 drivers/media/dvb-core/dmxdev.c dmxdevfilter->buffer.error = -ETIMEDOUT; buffer 371 drivers/media/dvb-core/dmxdev.c wake_up(&dmxdevfilter->buffer.queue); buffer 395 drivers/media/dvb-core/dmxdev.c dmxdevfilter->buffer.error) { buffer 396 drivers/media/dvb-core/dmxdev.c wake_up(&dmxdevfilter->buffer.queue); buffer 415 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_buffer_write(&dmxdevfilter->buffer, buffer 418 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_buffer_write(&dmxdevfilter->buffer, buffer 423 drivers/media/dvb-core/dmxdev.c dmxdevfilter->buffer.error = ret; buffer 427 drivers/media/dvb-core/dmxdev.c wake_up(&dmxdevfilter->buffer.queue); buffer 437 drivers/media/dvb-core/dmxdev.c struct dvb_ringbuffer *buffer; buffer 451 drivers/media/dvb-core/dmxdev.c buffer = &dmxdevfilter->buffer; buffer 456 drivers/media/dvb-core/dmxdev.c buffer = &dmxdevfilter->dev->dvr_buffer; buffer 469 drivers/media/dvb-core/dmxdev.c if (buffer->error) { buffer 471 drivers/media/dvb-core/dmxdev.c wake_up(&buffer->queue); buffer 474 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_buffer_write(buffer, buffer1, buffer1_len); buffer 476 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_buffer_write(buffer, buffer 480 drivers/media/dvb-core/dmxdev.c buffer->error = ret; buffer 482 drivers/media/dvb-core/dmxdev.c wake_up(&buffer->queue); buffer 591 drivers/media/dvb-core/dmxdev.c dvb_ringbuffer_flush(&dmxdevfilter->buffer); buffer 686 drivers/media/dvb-core/dmxdev.c if (!filter->buffer.data) { buffer 687 drivers/media/dvb-core/dmxdev.c mem = vmalloc(filter->buffer.size); buffer 691 drivers/media/dvb-core/dmxdev.c filter->buffer.data = mem; buffer 695 drivers/media/dvb-core/dmxdev.c dvb_ringbuffer_flush(&filter->buffer); buffer 822 drivers/media/dvb-core/dmxdev.c dvb_ringbuffer_init(&dmxdevfilter->buffer, NULL, 8192); buffer 848 drivers/media/dvb-core/dmxdev.c if (dmxdevfilter->buffer.data) { buffer 849 drivers/media/dvb-core/dmxdev.c void *mem = dmxdevfilter->buffer.data; buffer 852 drivers/media/dvb-core/dmxdev.c dmxdevfilter->buffer.data = NULL; buffer 858 drivers/media/dvb-core/dmxdev.c wake_up(&dmxdevfilter->buffer.queue); buffer 983 drivers/media/dvb-core/dmxdev.c result = dvb_dmxdev_buffer_read(&dfil->buffer, buffer 1004 drivers/media/dvb-core/dmxdev.c result = dvb_dmxdev_buffer_read(&dfil->buffer, buffer 1026 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_buffer_read(&dmxdevfilter->buffer, buffer 1198 drivers/media/dvb-core/dmxdev.c poll_wait(file, &dmxdevfilter->buffer.queue, wait); buffer 1210 drivers/media/dvb-core/dmxdev.c if (dmxdevfilter->buffer.error) buffer 1213 drivers/media/dvb-core/dmxdev.c if (!dvb_ringbuffer_empty(&dmxdevfilter->buffer)) buffer 1430 drivers/media/dvb-core/dmxdev.c dmxdev->filter[i].buffer.data = NULL; buffer 1066 drivers/media/dvb-core/dvb_frontend.c .buffer = b \ buffer 1076 drivers/media/dvb-core/dvb_frontend.c __u32 buffer:1; /* Does this property use the buffer? */ buffer 1349 drivers/media/dvb-core/dvb_frontend.c tvp->u.buffer.data[ncaps] = fe->ops.delsys[ncaps]; buffer 1352 drivers/media/dvb-core/dvb_frontend.c tvp->u.buffer.len = ncaps; buffer 1559 drivers/media/dvb-core/dvb_frontend.c if (!dtv_cmds[tvp->cmd].buffer) buffer 1569 drivers/media/dvb-core/dvb_frontend.c tvp->u.buffer.len, buffer 1570 drivers/media/dvb-core/dvb_frontend.c tvp->u.buffer.len, tvp->u.buffer.data); buffer 2054 drivers/media/dvb-core/dvb_frontend.c } buffer; buffer 1448 drivers/media/dvb-frontends/drxk_hard.c u8 buffer[34]; buffer 1467 drivers/media/dvb-frontends/drxk_hard.c buffer[cnt++] = (parameter[ii] & 0xFF); buffer 1468 drivers/media/dvb-frontends/drxk_hard.c buffer[cnt++] = ((parameter[ii] >> 8) & 0xFF); buffer 1471 drivers/media/dvb-frontends/drxk_hard.c buffer[cnt++] = (cmd & 0xFF); buffer 1472 drivers/media/dvb-frontends/drxk_hard.c buffer[cnt++] = ((cmd >> 8) & 0xFF); buffer 1475 drivers/media/dvb-frontends/drxk_hard.c (parameter_len - 1), cnt, buffer); buffer 1525 drivers/media/dvb-frontends/drxk_hard.c print_hex_dump_bytes("drxk: ", DUMP_PREFIX_NONE, buffer, cnt); buffer 56 drivers/media/dvb-frontends/sp2.c u8 buffer[35]; buffer 62 drivers/media/dvb-frontends/sp2.c .buf = &buffer[0], buffer 66 drivers/media/dvb-frontends/sp2.c if ((len + 1) > sizeof(buffer)) { buffer 72 drivers/media/dvb-frontends/sp2.c buffer[0] = reg; buffer 73 drivers/media/dvb-frontends/sp2.c memcpy(&buffer[1], buf, len); buffer 79 drivers/media/firewire/firedtv-fw.c struct fw_iso_buffer buffer; buffer 94 drivers/media/firewire/firedtv-fw.c return fw_iso_context_queue(ctx->context, &p, &ctx->buffer, buffer 150 drivers/media/firewire/firedtv-fw.c err = fw_iso_buffer_init(&ctx->buffer, device->card, buffer 159 drivers/media/firewire/firedtv-fw.c ctx->pages[i] = page_address(ctx->buffer.pages[i]); buffer 176 drivers/media/firewire/firedtv-fw.c fw_iso_buffer_destroy(&ctx->buffer, device->card); buffer 190 drivers/media/firewire/firedtv-fw.c fw_iso_buffer_destroy(&ctx->buffer, device_of(fdtv)->card); buffer 530 drivers/media/i2c/adv7511-v4l2.c u8 buffer[32]; buffer 539 drivers/media/i2c/adv7511-v4l2.c memcpy(buffer, cri->header, sizeof(cri->header)); buffer 541 drivers/media/i2c/adv7511-v4l2.c len = buffer[2]; buffer 543 drivers/media/i2c/adv7511-v4l2.c if (len + 4 > sizeof(buffer)) { buffer 550 drivers/media/i2c/adv7511-v4l2.c buffer[i + 4] = adv7511_pktmem_rd(sd, cri->payload_addr + i - 0x100); buffer 553 drivers/media/i2c/adv7511-v4l2.c buffer[i + 4] = adv7511_rd(sd, cri->payload_addr + i); buffer 555 drivers/media/i2c/adv7511-v4l2.c buffer[3] = 0; buffer 556 drivers/media/i2c/adv7511-v4l2.c buffer[3] = hdmi_infoframe_checksum(buffer, len + 4); buffer 558 drivers/media/i2c/adv7511-v4l2.c if (hdmi_infoframe_unpack(&frame, buffer, sizeof(buffer)) < 0) { buffer 2421 drivers/media/i2c/adv7604.c uint8_t buffer[32]; buffer 2432 drivers/media/i2c/adv7604.c buffer[i] = infoframe_read(sd, buffer 2435 drivers/media/i2c/adv7604.c len = buffer[2] + 1; buffer 2437 drivers/media/i2c/adv7604.c if (len + 3 > sizeof(buffer)) { buffer 2444 drivers/media/i2c/adv7604.c buffer[i + 3] = infoframe_read(sd, buffer 2447 drivers/media/i2c/adv7604.c if (hdmi_infoframe_unpack(frame, buffer, sizeof(buffer)) < 0) { buffer 2553 drivers/media/i2c/adv7842.c u8 buffer[32]; buffer 2565 drivers/media/i2c/adv7842.c buffer[i] = infoframe_read(sd, cri->head_addr + i); buffer 2567 drivers/media/i2c/adv7842.c len = buffer[2] + 1; buffer 2569 drivers/media/i2c/adv7842.c if (len + 3 > sizeof(buffer)) { buffer 2575 drivers/media/i2c/adv7842.c buffer[i + 3] = infoframe_read(sd, cri->payload_addr + i); buffer 2577 drivers/media/i2c/adv7842.c if (hdmi_infoframe_unpack(&frame, buffer, sizeof(buffer)) < 0) { buffer 52 drivers/media/i2c/bt866.c u8 buffer[2]; buffer 55 drivers/media/i2c/bt866.c buffer[0] = subaddr; buffer 56 drivers/media/i2c/bt866.c buffer[1] = data; buffer 63 drivers/media/i2c/bt866.c if (i2c_master_send(client, buffer, 2) == 2) buffer 78 drivers/media/i2c/cx25840/cx25840-core.c u8 buffer[3]; buffer 80 drivers/media/i2c/cx25840/cx25840-core.c buffer[0] = addr >> 8; buffer 81 drivers/media/i2c/cx25840/cx25840-core.c buffer[1] = addr & 0xff; buffer 82 drivers/media/i2c/cx25840/cx25840-core.c buffer[2] = value; buffer 83 drivers/media/i2c/cx25840/cx25840-core.c return i2c_master_send(client, buffer, 3); buffer 88 drivers/media/i2c/cx25840/cx25840-core.c u8 buffer[6]; buffer 90 drivers/media/i2c/cx25840/cx25840-core.c buffer[0] = addr >> 8; buffer 91 drivers/media/i2c/cx25840/cx25840-core.c buffer[1] = addr & 0xff; buffer 92 drivers/media/i2c/cx25840/cx25840-core.c buffer[2] = value & 0xff; buffer 93 drivers/media/i2c/cx25840/cx25840-core.c buffer[3] = (value >> 8) & 0xff; buffer 94 drivers/media/i2c/cx25840/cx25840-core.c buffer[4] = (value >> 16) & 0xff; buffer 95 drivers/media/i2c/cx25840/cx25840-core.c buffer[5] = value >> 24; buffer 96 drivers/media/i2c/cx25840/cx25840-core.c return i2c_master_send(client, buffer, 6); buffer 99 drivers/media/i2c/cx25840/cx25840-firmware.c u8 buffer[FWSEND]; buffer 123 drivers/media/i2c/cx25840/cx25840-firmware.c buffer[0] = 0x08; buffer 124 drivers/media/i2c/cx25840/cx25840-firmware.c buffer[1] = 0x02; buffer 131 drivers/media/i2c/cx25840/cx25840-firmware.c memcpy(buffer + 2, ptr, len); buffer 133 drivers/media/i2c/cx25840/cx25840-firmware.c retval = fw_write(client, buffer, len + 2); buffer 1090 drivers/media/i2c/et8ek8/et8ek8_driver.c u8 buffer[PRIV_MEM_WIN_SIZE]; buffer 1123 drivers/media/i2c/et8ek8/et8ek8_driver.c msg.buf = buffer; buffer 1125 drivers/media/i2c/et8ek8/et8ek8_driver.c buffer[0] = (u8)(ofs >> 8); buffer 1126 drivers/media/i2c/et8ek8/et8ek8_driver.c buffer[1] = (u8)(ofs & 0xFF); buffer 1136 drivers/media/i2c/et8ek8/et8ek8_driver.c msg.buf = buffer; buffer 1137 drivers/media/i2c/et8ek8/et8ek8_driver.c memset(buffer, 0, sizeof(buffer)); buffer 1144 drivers/media/i2c/et8ek8/et8ek8_driver.c memcpy(ptr, buffer, bytes); buffer 199 drivers/media/i2c/msp3400-driver.c u8 buffer[5]; buffer 201 drivers/media/i2c/msp3400-driver.c buffer[0] = dev; buffer 202 drivers/media/i2c/msp3400-driver.c buffer[1] = addr >> 8; buffer 203 drivers/media/i2c/msp3400-driver.c buffer[2] = addr & 0xff; buffer 204 drivers/media/i2c/msp3400-driver.c buffer[3] = val >> 8; buffer 205 drivers/media/i2c/msp3400-driver.c buffer[4] = val & 0xff; buffer 210 drivers/media/i2c/msp3400-driver.c if (i2c_master_send(client, buffer, 5) == 5) buffer 73 drivers/media/i2c/mt9v011.c __be16 buffer; buffer 83 drivers/media/i2c/mt9v011.c rc = i2c_master_recv(c, (char *)&buffer, 2); buffer 88 drivers/media/i2c/mt9v011.c val = be16_to_cpu(buffer); buffer 99 drivers/media/i2c/mt9v011.c unsigned char buffer[3]; buffer 102 drivers/media/i2c/mt9v011.c buffer[0] = addr; buffer 103 drivers/media/i2c/mt9v011.c buffer[1] = value >> 8; buffer 104 drivers/media/i2c/mt9v011.c buffer[2] = value & 0xff; buffer 107 drivers/media/i2c/mt9v011.c "mt9v011: writing 0x%02x 0x%04x\n", buffer[0], value); buffer 108 drivers/media/i2c/mt9v011.c rc = i2c_master_send(c, buffer, 3); buffer 59 drivers/media/i2c/saa6588.c unsigned char *buffer; buffer 154 drivers/media/i2c/saa6588.c dprintk("0x%02x ", s->buffer[i]); buffer 157 drivers/media/i2c/saa6588.c memcpy(buf, &s->buffer[s->rd_index], 3); buffer 172 drivers/media/i2c/saa6588.c unsigned char __user *buf_ptr = a->buffer; buffer 179 drivers/media/i2c/saa6588.c if (!a->buffer) buffer 230 drivers/media/i2c/saa6588.c s->buffer[s->wr_index] = blockbuf[i]; buffer 466 drivers/media/i2c/saa6588.c s->buffer = devm_kzalloc(&client->dev, s->buf_size, GFP_KERNEL); buffer 467 drivers/media/i2c/saa6588.c if (s->buffer == NULL) buffer 49 drivers/media/i2c/sony-btf-mpx.c u8 buffer[5]; buffer 52 drivers/media/i2c/sony-btf-mpx.c buffer[0] = dev; buffer 53 drivers/media/i2c/sony-btf-mpx.c buffer[1] = addr >> 8; buffer 54 drivers/media/i2c/sony-btf-mpx.c buffer[2] = addr & 0xff; buffer 55 drivers/media/i2c/sony-btf-mpx.c buffer[3] = val >> 8; buffer 56 drivers/media/i2c/sony-btf-mpx.c buffer[4] = val & 0xff; buffer 60 drivers/media/i2c/sony-btf-mpx.c msg.buf = buffer; buffer 161 drivers/media/i2c/sony-btf-mpx.c u8 buffer[3]; buffer 166 drivers/media/i2c/sony-btf-mpx.c buffer[0] = 0x00; buffer 167 drivers/media/i2c/sony-btf-mpx.c buffer[1] = 0x80; buffer 168 drivers/media/i2c/sony-btf-mpx.c buffer[2] = 0x00; buffer 172 drivers/media/i2c/sony-btf-mpx.c msg.buf = buffer; buffer 174 drivers/media/i2c/sony-btf-mpx.c buffer[1] = 0x00; buffer 438 drivers/media/i2c/tc358743.c u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; buffer 445 drivers/media/i2c/tc358743.c i2c_rd(sd, PK_AVI_0HEAD, buffer, HDMI_INFOFRAME_SIZE(AVI)); buffer 447 drivers/media/i2c/tc358743.c if (hdmi_infoframe_unpack(&frame, buffer, sizeof(buffer)) < 0) { buffer 1250 drivers/media/i2c/tda1997x.c u8 buffer[40]; buffer 1255 drivers/media/i2c/tda1997x.c len = io_readn(sd, addr, sizeof(buffer), buffer); buffer 1256 drivers/media/i2c/tda1997x.c err = hdmi_infoframe_unpack(&frame, buffer, sizeof(buffer)); buffer 1260 drivers/media/i2c/tda1997x.c len, addr, buffer[0]); buffer 1929 drivers/media/i2c/tda1997x.c u8 buffer[40]; buffer 1933 drivers/media/i2c/tda1997x.c len = io_readn(sd, addr, sizeof(buffer), buffer); buffer 1935 drivers/media/i2c/tda1997x.c err = hdmi_infoframe_unpack(&frame, buffer, sizeof(buffer)); buffer 1939 drivers/media/i2c/tda1997x.c len, addr, buffer[0]); buffer 223 drivers/media/i2c/tda7432.c unsigned char buffer[2]; buffer 227 drivers/media/i2c/tda7432.c buffer[0] = subaddr; buffer 228 drivers/media/i2c/tda7432.c buffer[1] = val; buffer 229 drivers/media/i2c/tda7432.c if (2 != i2c_master_send(client, buffer, 2)) { buffer 158 drivers/media/i2c/tvaudio.c unsigned char buffer[2]; buffer 164 drivers/media/i2c/tvaudio.c buffer[0] = val; buffer 165 drivers/media/i2c/tvaudio.c rc = i2c_master_send(c, buffer, 1); buffer 183 drivers/media/i2c/tvaudio.c buffer[0] = subaddr; buffer 184 drivers/media/i2c/tvaudio.c buffer[1] = val; buffer 185 drivers/media/i2c/tvaudio.c rc = i2c_master_send(c, buffer, 2); buffer 223 drivers/media/i2c/tvaudio.c unsigned char buffer; buffer 226 drivers/media/i2c/tvaudio.c rc = i2c_master_recv(c, &buffer, 1); buffer 233 drivers/media/i2c/tvaudio.c v4l2_dbg(1, debug, sd, "chip_read: 0x%x\n", buffer); buffer 234 drivers/media/i2c/tvaudio.c return buffer; buffer 88 drivers/media/mmc/siano/smssdio.c static int smssdio_sendrequest(void *context, void *buffer, size_t size) buffer 97 drivers/media/mmc/siano/smssdio.c smsendian_handle_tx_message((struct sms_msg_data *) buffer); buffer 100 drivers/media/mmc/siano/smssdio.c buffer, smsdev->func->cur_blksize); buffer 104 drivers/media/mmc/siano/smssdio.c buffer += smsdev->func->cur_blksize; buffer 110 drivers/media/mmc/siano/smssdio.c buffer, size); buffer 181 drivers/media/mmc/siano/smssdio.c void *buffer; buffer 183 drivers/media/mmc/siano/smssdio.c buffer = cb->p + (hdr->msg_length - size); buffer 192 drivers/media/mmc/siano/smssdio.c buffer, buffer 211 drivers/media/mmc/siano/smssdio.c buffer, SMSSDIO_DATA, buffer 220 drivers/media/mmc/siano/smssdio.c buffer += smsdev->func->cur_blksize; buffer 3266 drivers/media/pci/bt8xx/bttv-driver.c cmd.buffer = data; buffer 261 drivers/media/pci/bt8xx/bttv-i2c.c unsigned char buffer = 0; buffer 269 drivers/media/pci/bt8xx/bttv-i2c.c if (1 != i2c_master_recv(&btv->i2c_client, &buffer, 1)) { buffer 280 drivers/media/pci/bt8xx/bttv-i2c.c return buffer; buffer 287 drivers/media/pci/bt8xx/bttv-i2c.c unsigned char buffer[2]; buffer 293 drivers/media/pci/bt8xx/bttv-i2c.c buffer[0] = b1; buffer 294 drivers/media/pci/bt8xx/bttv-i2c.c buffer[1] = b2; buffer 295 drivers/media/pci/bt8xx/bttv-i2c.c if (bytes != i2c_master_send(&btv->i2c_client, buffer, bytes)) buffer 625 drivers/media/pci/bt8xx/dst_ca.c static ssize_t dst_ca_read(struct file *file, char __user *buffer, size_t length, loff_t *offset) buffer 632 drivers/media/pci/bt8xx/dst_ca.c static ssize_t dst_ca_write(struct file *file, const char __user *buffer, size_t length, loff_t *offset) buffer 119 drivers/media/pci/cx23885/cimax2.c u8 buffer[MAX_XFER_SIZE]; buffer 124 drivers/media/pci/cx23885/cimax2.c .buf = &buffer[0], buffer 128 drivers/media/pci/cx23885/cimax2.c if (1 + len > sizeof(buffer)) { buffer 134 drivers/media/pci/cx23885/cimax2.c buffer[0] = reg; buffer 135 drivers/media/pci/cx23885/cimax2.c memcpy(&buffer[1], buf, len); buffer 356 drivers/media/pci/cx23885/cx23885-i2c.c char buffer[3]; buffer 361 drivers/media/pci/cx23885/cx23885-i2c.c buffer[0] = 0x01; buffer 362 drivers/media/pci/cx23885/cx23885-i2c.c buffer[1] = 0x44; buffer 364 drivers/media/pci/cx23885/cx23885-i2c.c buffer[2] = 0x05; buffer 366 drivers/media/pci/cx23885/cx23885-i2c.c buffer[2] = 0x00; buffer 371 drivers/media/pci/cx23885/cx23885-i2c.c msg.buf = buffer; buffer 323 drivers/media/pci/cx25821/cx25821-i2c.c char buffer[3]; buffer 328 drivers/media/pci/cx25821/cx25821-i2c.c buffer[0] = 0x01; buffer 329 drivers/media/pci/cx25821/cx25821-i2c.c buffer[1] = 0x44; buffer 331 drivers/media/pci/cx25821/cx25821-i2c.c buffer[2] = 0x05; buffer 333 drivers/media/pci/cx25821/cx25821-i2c.c buffer[2] = 0x00; buffer 338 drivers/media/pci/cx25821/cx25821-i2c.c msg.buf = buffer; buffer 3488 drivers/media/pci/cx88/cx88-cards.c static const u8 buffer[][2] = { buffer 3497 drivers/media/pci/cx88/cx88-cards.c for (i = 0; i < ARRAY_SIZE(buffer); i++) buffer 3499 drivers/media/pci/cx88/cx88-cards.c buffer[i], 2) != 2) buffer 128 drivers/media/pci/pt3/pt3.h struct dma_data_buffer buffer[MAX_DATA_BUFS]; buffer 70 drivers/media/pci/pt3/pt3_dma.c return &adap->buffer[*idx].data[*ofs]; buffer 80 drivers/media/pci/pt3/pt3_dma.c if (adap->buffer[idx].data[ofs] == PT3_BUF_CANARY) buffer 86 drivers/media/pci/pt3/pt3_dma.c p = &adap->buffer[adap->buf_idx].data[adap->buf_ofs]; buffer 93 drivers/media/pci/pt3/pt3_dma.c adap->buffer[idx].data, ofs / TS_PACKET_SZ); buffer 112 drivers/media/pci/pt3/pt3_dma.c p = adap->buffer[0].data; buffer 120 drivers/media/pci/pt3/pt3_dma.c p = adap->buffer[idx].data; buffer 135 drivers/media/pci/pt3/pt3_dma.c adap->buffer[i].data, adap->buffer[i].b_addr); buffer 160 drivers/media/pci/pt3/pt3_dma.c &adap->buffer[i].b_addr, GFP_KERNEL); buffer 163 drivers/media/pci/pt3/pt3_dma.c adap->buffer[i].data = p; buffer 188 drivers/media/pci/pt3/pt3_dma.c data_addr = adap->buffer[idx].b_addr + ofs; buffer 7984 drivers/media/pci/saa7134/saa7134-cards.c static u8 buffer[][2] = { buffer 7992 drivers/media/pci/saa7134/saa7134-cards.c for (i = 0; i < ARRAY_SIZE(buffer); i++) { buffer 7993 drivers/media/pci/saa7134/saa7134-cards.c msg.buf = &buffer[i][0]; buffer 7994 drivers/media/pci/saa7134/saa7134-cards.c msg.len = ARRAY_SIZE(buffer[0]); buffer 1196 drivers/media/pci/saa7134/saa7134-video.c cmd.buffer = data; buffer 788 drivers/media/pci/saa7164/saa7164-encoder.c static ssize_t fops_read(struct file *file, char __user *buffer, buffer 849 drivers/media/pci/saa7164/saa7164-encoder.c if (copy_to_user(buffer, p, cnt)) { buffer 860 drivers/media/pci/saa7164/saa7164-encoder.c buffer += cnt; buffer 492 drivers/media/pci/saa7164/saa7164-vbi.c static ssize_t fops_read(struct file *file, char __user *buffer, buffer 553 drivers/media/pci/saa7164/saa7164-vbi.c if (copy_to_user(buffer, p, cnt)) { buffer 564 drivers/media/pci/saa7164/saa7164-vbi.c buffer += cnt; buffer 42 drivers/media/pci/smipcie/smipcie-ir.c static void smi_raw_process(struct rc_dev *rc_dev, const u8 *buffer, buffer 49 drivers/media/pci/smipcie/smipcie-ir.c if (buffer[cnt] & 0x7f) { buffer 50 drivers/media/pci/smipcie/smipcie-ir.c rawir.pulse = (buffer[cnt] & 0x80) == 0; buffer 51 drivers/media/pci/smipcie/smipcie-ir.c rawir.duration = ((buffer[cnt] & 0x7f) + buffer 72 drivers/media/pci/tw686x/tw686x-core.c static int tw686x_dma_mode_get(char *buffer, const struct kernel_param *kp) buffer 74 drivers/media/pci/tw686x/tw686x-core.c return sprintf(buffer, "%s", dma_mode_name(dma_mode)); buffer 358 drivers/media/platform/atmel/atmel-isi.c static void start_dma(struct atmel_isi *isi, struct frame_buffer *buffer) buffer 375 drivers/media/platform/atmel/atmel-isi.c (u32)buffer->p_dma_desc->fbd_phys); buffer 381 drivers/media/platform/atmel/atmel-isi.c (u32)buffer->p_dma_desc->fbd_phys); buffer 1582 drivers/media/platform/omap3isp/ispccdc.c struct isp_buffer *buffer; buffer 1613 drivers/media/platform/omap3isp/ispccdc.c buffer = omap3isp_video_buffer_next(&ccdc->video_out); buffer 1614 drivers/media/platform/omap3isp/ispccdc.c if (buffer != NULL) buffer 1615 drivers/media/platform/omap3isp/ispccdc.c ccdc_set_outaddr(ccdc, buffer->dma); buffer 1624 drivers/media/platform/omap3isp/ispccdc.c return buffer != NULL; buffer 1783 drivers/media/platform/omap3isp/ispccdc.c static int ccdc_video_queue(struct isp_video *video, struct isp_buffer *buffer) buffer 1792 drivers/media/platform/omap3isp/ispccdc.c ccdc_set_outaddr(ccdc, buffer->dma); buffer 539 drivers/media/platform/omap3isp/ispccp2.c struct isp_buffer *buffer; buffer 541 drivers/media/platform/omap3isp/ispccp2.c buffer = omap3isp_video_buffer_next(&ccp2->video_in); buffer 542 drivers/media/platform/omap3isp/ispccp2.c if (buffer != NULL) buffer 543 drivers/media/platform/omap3isp/ispccp2.c ccp2_set_inaddr(ccp2, buffer->dma); buffer 930 drivers/media/platform/omap3isp/ispccp2.c static int ccp2_video_queue(struct isp_video *video, struct isp_buffer *buffer) buffer 934 drivers/media/platform/omap3isp/ispccp2.c ccp2_set_inaddr(ccp2, buffer->dma); buffer 678 drivers/media/platform/omap3isp/ispcsi2.c struct isp_buffer *buffer; buffer 682 drivers/media/platform/omap3isp/ispcsi2.c buffer = omap3isp_video_buffer_next(&csi2->video_out); buffer 688 drivers/media/platform/omap3isp/ispcsi2.c if (buffer == NULL) buffer 691 drivers/media/platform/omap3isp/ispcsi2.c csi2_set_outaddr(csi2, buffer->dma); buffer 798 drivers/media/platform/omap3isp/ispcsi2.c static int csi2_queue(struct isp_video *video, struct isp_buffer *buffer) buffer 803 drivers/media/platform/omap3isp/ispcsi2.c csi2_set_outaddr(csi2, buffer->dma); buffer 1477 drivers/media/platform/omap3isp/isppreview.c struct isp_buffer *buffer; buffer 1481 drivers/media/platform/omap3isp/isppreview.c buffer = omap3isp_video_buffer_next(&prev->video_out); buffer 1482 drivers/media/platform/omap3isp/isppreview.c if (buffer != NULL) { buffer 1483 drivers/media/platform/omap3isp/isppreview.c preview_set_outaddr(prev, buffer->dma); buffer 1490 drivers/media/platform/omap3isp/isppreview.c buffer = omap3isp_video_buffer_next(&prev->video_in); buffer 1491 drivers/media/platform/omap3isp/isppreview.c if (buffer != NULL) buffer 1492 drivers/media/platform/omap3isp/isppreview.c preview_set_inaddr(prev, buffer->dma); buffer 1556 drivers/media/platform/omap3isp/isppreview.c struct isp_buffer *buffer) buffer 1561 drivers/media/platform/omap3isp/isppreview.c preview_set_inaddr(prev, buffer->dma); buffer 1564 drivers/media/platform/omap3isp/isppreview.c preview_set_outaddr(prev, buffer->dma); buffer 1015 drivers/media/platform/omap3isp/ispresizer.c struct isp_buffer *buffer; buffer 1024 drivers/media/platform/omap3isp/ispresizer.c buffer = omap3isp_video_buffer_next(&res->video_out); buffer 1025 drivers/media/platform/omap3isp/ispresizer.c if (buffer != NULL) { buffer 1026 drivers/media/platform/omap3isp/ispresizer.c resizer_set_outaddr(res, buffer->dma); buffer 1033 drivers/media/platform/omap3isp/ispresizer.c buffer = omap3isp_video_buffer_next(&res->video_in); buffer 1034 drivers/media/platform/omap3isp/ispresizer.c if (buffer != NULL) buffer 1035 drivers/media/platform/omap3isp/ispresizer.c resizer_set_inaddr(res, buffer->dma); buffer 1087 drivers/media/platform/omap3isp/ispresizer.c struct isp_buffer *buffer) buffer 1092 drivers/media/platform/omap3isp/ispresizer.c resizer_set_inaddr(res, buffer->dma); buffer 1107 drivers/media/platform/omap3isp/ispresizer.c resizer_set_outaddr(res, buffer->dma); buffer 351 drivers/media/platform/omap3isp/ispvideo.c struct isp_buffer *buffer = to_isp_buffer(vbuf); buffer 371 drivers/media/platform/omap3isp/ispvideo.c vb2_set_plane_payload(&buffer->vb.vb2_buf, 0, buffer 373 drivers/media/platform/omap3isp/ispvideo.c buffer->dma = addr; buffer 391 drivers/media/platform/omap3isp/ispvideo.c struct isp_buffer *buffer = to_isp_buffer(vbuf); buffer 402 drivers/media/platform/omap3isp/ispvideo.c vb2_buffer_done(&buffer->vb.vb2_buf, VB2_BUF_STATE_ERROR); buffer 408 drivers/media/platform/omap3isp/ispvideo.c list_add_tail(&buffer->irqlist, &video->dmaqueue); buffer 420 drivers/media/platform/omap3isp/ispvideo.c video->ops->queue(video, buffer); buffer 145 drivers/media/platform/omap3isp/ispvideo.h int(*queue)(struct isp_video *video, struct isp_buffer *buffer); buffer 456 drivers/media/platform/qcom/camss/camss-vfe.c struct camss_buffer *buffer = NULL; buffer 459 drivers/media/platform/qcom/camss/camss-vfe.c buffer = list_first_entry(&output->pending_bufs, buffer 462 drivers/media/platform/qcom/camss/camss-vfe.c list_del(&buffer->queue); buffer 465 drivers/media/platform/qcom/camss/camss-vfe.c return buffer; buffer 474 drivers/media/platform/qcom/camss/camss-vfe.c struct camss_buffer *buffer) buffer 476 drivers/media/platform/qcom/camss/camss-vfe.c INIT_LIST_HEAD(&buffer->queue); buffer 477 drivers/media/platform/qcom/camss/camss-vfe.c list_add_tail(&buffer->queue, &output->pending_bufs); buffer 352 drivers/media/platform/qcom/camss/camss-video.c struct camss_buffer *buffer = container_of(vbuf, struct camss_buffer, buffer 364 drivers/media/platform/qcom/camss/camss-video.c buffer->addr[i] = sg_dma_address(sgt->sgl); buffer 371 drivers/media/platform/qcom/camss/camss-video.c buffer->addr[1] = buffer->addr[0] + buffer 402 drivers/media/platform/qcom/camss/camss-video.c struct camss_buffer *buffer = container_of(vbuf, struct camss_buffer, buffer 405 drivers/media/platform/qcom/camss/camss-video.c video->ops->queue_buffer(video, buffer); buffer 602 drivers/media/platform/rcar_jpu.c static u8 jpu_parse_hdr(void *buffer, unsigned long size, unsigned int *width, buffer 609 drivers/media/platform/rcar_jpu.c jpeg_buffer.end = buffer + size; buffer 610 drivers/media/platform/rcar_jpu.c jpeg_buffer.curr = buffer; buffer 616 drivers/media/platform/rcar_jpu.c if (size < JPU_JPEG_MIN_SIZE || *(u8 *)(buffer + size - 1) != EOI) buffer 1084 drivers/media/platform/rcar_jpu.c void *buffer = vb2_plane_vaddr(vb, 0); buffer 1088 drivers/media/platform/rcar_jpu.c u8 subsampling = jpu_parse_hdr(buffer, buf_size, &width, buffer 1132 drivers/media/platform/rcar_jpu.c u8 *buffer; buffer 1141 drivers/media/platform/rcar_jpu.c buffer = vb2_plane_vaddr(vb, 0); buffer 1143 drivers/media/platform/rcar_jpu.c memcpy(buffer, jpeg_hdrs[jpu_buf->compr_quality], JPU_JPEG_HDR_SIZE); buffer 1144 drivers/media/platform/rcar_jpu.c *(__be16 *)(buffer + JPU_JPEG_HEIGHT_OFFSET) = buffer 1146 drivers/media/platform/rcar_jpu.c *(__be16 *)(buffer + JPU_JPEG_WIDTH_OFFSET) = buffer 1148 drivers/media/platform/rcar_jpu.c *(buffer + JPU_JPEG_SUBS_OFFSET) = q_data->fmtinfo->subsampling; buffer 32 drivers/media/platform/s5p-cec/exynos_hdmi_cec.h void s5p_cec_get_rx_buf(struct s5p_cec_dev *cec, u32 size, u8 *buffer); buffer 195 drivers/media/platform/s5p-cec/exynos_hdmi_cecctrl.c void s5p_cec_get_rx_buf(struct s5p_cec_dev *cec, u32 size, u8 *buffer) buffer 201 drivers/media/platform/s5p-cec/exynos_hdmi_cecctrl.c buffer[i] = readb(cec->reg + S5P_CEC_RX_BUFF0 + (i * 4)); buffer 202 drivers/media/platform/s5p-cec/exynos_hdmi_cecctrl.c sprintf(debug + i * 2, "%02x ", buffer[i]); buffer 1111 drivers/media/platform/s5p-jpeg/jpeg-core.c unsigned long buffer, unsigned long size, buffer 1123 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_buffer.data = buffer; buffer 142 drivers/media/platform/vsp1/vsp1_histo.c struct vsp1_histogram_buffer *buffer; buffer 148 drivers/media/platform/vsp1/vsp1_histo.c list_for_each_entry(buffer, &histo->irqqueue, queue) buffer 149 drivers/media/platform/vsp1/vsp1_histo.c vb2_buffer_done(&buffer->buf.vb2_buf, VB2_BUF_STATE_ERROR); buffer 837 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_vb2_buffer *buffer; buffer 842 drivers/media/platform/vsp1/vsp1_video.c list_for_each_entry(buffer, &video->irqqueue, queue) buffer 843 drivers/media/platform/vsp1/vsp1_video.c vb2_buffer_done(&buffer->buf.vb2_buf, VB2_BUF_STATE_ERROR); buffer 55 drivers/media/radio/radio-keene.c u8 *buffer; buffer 75 drivers/media/radio/radio-keene.c radio->buffer[0] = 0x00; buffer 76 drivers/media/radio/radio-keene.c radio->buffer[1] = 0x50; buffer 77 drivers/media/radio/radio-keene.c radio->buffer[2] = (freq_send >> 8) & 0xff; buffer 78 drivers/media/radio/radio-keene.c radio->buffer[3] = freq_send & 0xff; buffer 79 drivers/media/radio/radio-keene.c radio->buffer[4] = radio->pa; buffer 85 drivers/media/radio/radio-keene.c radio->buffer[5] = (radio->muted ? 4 : 8) | (play ? 1 : 2) | buffer 87 drivers/media/radio/radio-keene.c radio->buffer[6] = 0x00; buffer 88 drivers/media/radio/radio-keene.c radio->buffer[7] = 0x00; buffer 91 drivers/media/radio/radio-keene.c 9, 0x21, 0x200, 2, radio->buffer, BUFFER_LENGTH, USB_TIMEOUT); buffer 107 drivers/media/radio/radio-keene.c radio->buffer[0] = 0x00; buffer 108 drivers/media/radio/radio-keene.c radio->buffer[1] = 0x51; buffer 109 drivers/media/radio/radio-keene.c radio->buffer[2] = radio->tx; buffer 113 drivers/media/radio/radio-keene.c radio->buffer[3] = (radio->stereo ? 0 : 1) | (radio->preemph_75_us ? 4 : 0); buffer 114 drivers/media/radio/radio-keene.c radio->buffer[4] = 0x00; buffer 115 drivers/media/radio/radio-keene.c radio->buffer[5] = 0x00; buffer 116 drivers/media/radio/radio-keene.c radio->buffer[6] = 0x00; buffer 117 drivers/media/radio/radio-keene.c radio->buffer[7] = 0x00; buffer 120 drivers/media/radio/radio-keene.c 9, 0x21, 0x200, 2, radio->buffer, BUFFER_LENGTH, USB_TIMEOUT); buffer 289 drivers/media/radio/radio-keene.c kfree(radio->buffer); buffer 316 drivers/media/radio/radio-keene.c radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL); buffer 318 drivers/media/radio/radio-keene.c if (!radio || !radio->buffer) { buffer 387 drivers/media/radio/radio-keene.c kfree(radio->buffer); buffer 79 drivers/media/radio/radio-ma901.c u8 *buffer; buffer 98 drivers/media/radio/radio-ma901.c radio->buffer[0] = 0x0a; buffer 99 drivers/media/radio/radio-ma901.c radio->buffer[1] = MA901_RADIO_SET_FREQ; buffer 100 drivers/media/radio/radio-ma901.c radio->buffer[2] = ((freq_send >> 8) & 0xff) + 0x80; buffer 101 drivers/media/radio/radio-ma901.c radio->buffer[3] = freq_send & 0xff; buffer 102 drivers/media/radio/radio-ma901.c radio->buffer[4] = 0x00; buffer 103 drivers/media/radio/radio-ma901.c radio->buffer[5] = 0x00; buffer 104 drivers/media/radio/radio-ma901.c radio->buffer[6] = 0x00; buffer 105 drivers/media/radio/radio-ma901.c radio->buffer[7] = 0x00; buffer 109 drivers/media/radio/radio-ma901.c radio->buffer, BUFFER_LENGTH, USB_TIMEOUT); buffer 121 drivers/media/radio/radio-ma901.c radio->buffer[0] = 0x0a; buffer 122 drivers/media/radio/radio-ma901.c radio->buffer[1] = MA901_RADIO_SET_VOLUME; buffer 123 drivers/media/radio/radio-ma901.c radio->buffer[2] = 0xc2; buffer 124 drivers/media/radio/radio-ma901.c radio->buffer[3] = vol_to_set + 0x20; buffer 125 drivers/media/radio/radio-ma901.c radio->buffer[4] = 0x00; buffer 126 drivers/media/radio/radio-ma901.c radio->buffer[5] = 0x00; buffer 127 drivers/media/radio/radio-ma901.c radio->buffer[6] = 0x00; buffer 128 drivers/media/radio/radio-ma901.c radio->buffer[7] = 0x00; buffer 132 drivers/media/radio/radio-ma901.c radio->buffer, BUFFER_LENGTH, USB_TIMEOUT); buffer 144 drivers/media/radio/radio-ma901.c radio->buffer[0] = 0x0a; buffer 145 drivers/media/radio/radio-ma901.c radio->buffer[1] = MA901_RADIO_SET_MONO_STEREO; buffer 146 drivers/media/radio/radio-ma901.c radio->buffer[2] = stereo; buffer 147 drivers/media/radio/radio-ma901.c radio->buffer[3] = 0x00; buffer 148 drivers/media/radio/radio-ma901.c radio->buffer[4] = 0x00; buffer 149 drivers/media/radio/radio-ma901.c radio->buffer[5] = 0x00; buffer 150 drivers/media/radio/radio-ma901.c radio->buffer[6] = 0x00; buffer 151 drivers/media/radio/radio-ma901.c radio->buffer[7] = 0x00; buffer 155 drivers/media/radio/radio-ma901.c radio->buffer, BUFFER_LENGTH, USB_TIMEOUT); buffer 327 drivers/media/radio/radio-ma901.c kfree(radio->buffer); buffer 356 drivers/media/radio/radio-ma901.c radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL); buffer 357 drivers/media/radio/radio-ma901.c if (!radio->buffer) { buffer 429 drivers/media/radio/radio-ma901.c kfree(radio->buffer); buffer 123 drivers/media/radio/radio-mr800.c u8 *buffer; buffer 141 drivers/media/radio/radio-mr800.c radio->buffer[0] = 0x00; buffer 142 drivers/media/radio/radio-mr800.c radio->buffer[1] = 0x55; buffer 143 drivers/media/radio/radio-mr800.c radio->buffer[2] = 0xaa; buffer 144 drivers/media/radio/radio-mr800.c radio->buffer[3] = extralen; buffer 145 drivers/media/radio/radio-mr800.c radio->buffer[4] = cmd; buffer 146 drivers/media/radio/radio-mr800.c radio->buffer[5] = arg; buffer 147 drivers/media/radio/radio-mr800.c radio->buffer[6] = 0x00; buffer 148 drivers/media/radio/radio-mr800.c radio->buffer[7] = extra || reply ? 8 : 0; buffer 151 drivers/media/radio/radio-mr800.c radio->buffer, BUFFER_LENGTH, &size, USB_TIMEOUT); buffer 163 drivers/media/radio/radio-mr800.c memcpy(radio->buffer, extra, extralen); buffer 164 drivers/media/radio/radio-mr800.c memset(radio->buffer + extralen, 0, 8 - extralen); buffer 166 drivers/media/radio/radio-mr800.c radio->buffer, BUFFER_LENGTH, &size, USB_TIMEOUT); buffer 168 drivers/media/radio/radio-mr800.c memset(radio->buffer, 0, 8); buffer 170 drivers/media/radio/radio-mr800.c radio->buffer, BUFFER_LENGTH, &size, USB_TIMEOUT); buffer 231 drivers/media/radio/radio-mr800.c *is_stereo = radio->buffer[2] >> 7; buffer 232 drivers/media/radio/radio-mr800.c *signal = (radio->buffer[3] & 0xf0) << 8; buffer 378 drivers/media/radio/radio-mr800.c if (radio->buffer[1] || radio->buffer[2]) { buffer 380 drivers/media/radio/radio-mr800.c radio->curfreq = (radio->buffer[1] << 8) | radio->buffer[2]; buffer 493 drivers/media/radio/radio-mr800.c kfree(radio->buffer); buffer 512 drivers/media/radio/radio-mr800.c radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL); buffer 514 drivers/media/radio/radio-mr800.c if (!radio->buffer) { buffer 572 drivers/media/radio/radio-mr800.c kfree(radio->buffer); buffer 111 drivers/media/radio/radio-raremono.c u8 *buffer; buffer 139 drivers/media/radio/radio-raremono.c radio->buffer[0] = 0x04 + band_offset; buffer 140 drivers/media/radio/radio-raremono.c radio->buffer[1] = freq >> 8; buffer 141 drivers/media/radio/radio-raremono.c radio->buffer[2] = freq & 0xff; buffer 146 drivers/media/radio/radio-raremono.c 0x0300 + radio->buffer[0], 2, buffer 147 drivers/media/radio/radio-raremono.c radio->buffer, 3, USB_TIMEOUT); buffer 221 drivers/media/radio/radio-raremono.c memset(radio->buffer, 1, BUFFER_LENGTH); buffer 223 drivers/media/radio/radio-raremono.c 1, 0xa1, 0x030d, 2, radio->buffer, BUFFER_LENGTH, USB_TIMEOUT); buffer 229 drivers/media/radio/radio-raremono.c v->signal = ((radio->buffer[1] & 0xf) << 8 | radio->buffer[2]) << 4; buffer 276 drivers/media/radio/radio-raremono.c kfree(radio->buffer); buffer 307 drivers/media/radio/radio-raremono.c radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL); buffer 308 drivers/media/radio/radio-raremono.c if (!radio->buffer) { buffer 331 drivers/media/radio/radio-raremono.c radio->buffer, 3, 500); buffer 333 drivers/media/radio/radio-raremono.c (get_unaligned_be16(&radio->buffer[1]) & 0xfff) == 0x0242) { buffer 376 drivers/media/radio/radio-raremono.c kfree(radio->buffer); buffer 88 drivers/media/radio/radio-terratec.c unsigned char buffer[25]; /* we have to bit shift 25 registers */ buffer 91 drivers/media/radio/radio-terratec.c memset(buffer, 0, sizeof(buffer)); buffer 100 drivers/media/radio/radio-terratec.c buffer[i] = 0; buffer 102 drivers/media/radio/radio-terratec.c buffer[i] = 1; buffer 111 drivers/media/radio/radio-terratec.c if (buffer[i] == 1) { buffer 64 drivers/media/radio/radio-wl1273.c unsigned char *buffer; buffer 194 drivers/media/radio/radio-wl1273.c memcpy(&radio->buffer[radio->wr_index], &rds, RDS_BLOCK_SIZE); buffer 1241 drivers/media/radio/radio-wl1273.c if (copy_to_user(buf, &radio->buffer[radio->rd_index], buffer 2020 drivers/media/radio/radio-wl1273.c radio->buffer = devm_kzalloc(&pdev->dev, radio->buf_size, GFP_KERNEL); buffer 2021 drivers/media/radio/radio-wl1273.c if (!radio->buffer) { buffer 492 drivers/media/radio/si470x/radio-si470x-common.c if (copy_to_user(buf, &radio->buffer[radio->rd_index], 3)) buffer 306 drivers/media/radio/si470x/radio-si470x-i2c.c memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); buffer 434 drivers/media/radio/si470x/radio-si470x-i2c.c radio->buffer = devm_kmalloc(&client->dev, radio->buf_size, GFP_KERNEL); buffer 435 drivers/media/radio/si470x/radio-si470x-i2c.c if (!radio->buffer) { buffer 443 drivers/media/radio/si470x/radio-si470x-usb.c memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); buffer 495 drivers/media/radio/si470x/radio-si470x-usb.c kfree(radio->buffer); buffer 722 drivers/media/radio/si470x/radio-si470x-usb.c radio->buffer = kmalloc(radio->buf_size, GFP_KERNEL); buffer 723 drivers/media/radio/si470x/radio-si470x-usb.c if (!radio->buffer) { buffer 754 drivers/media/radio/si470x/radio-si470x-usb.c kfree(radio->buffer); buffer 147 drivers/media/radio/si470x/radio-si470x.h unsigned char *buffer; /* size is always multiple of three */ buffer 57 drivers/media/radio/si4713/radio-usb-si4713.c u8 *buffer; buffer 135 drivers/media/radio/si4713/radio-usb-si4713.c kfree(radio->buffer); buffer 155 drivers/media/radio/si4713/radio-usb-si4713.c u8 *buffer = radio->buffer; buffer 160 drivers/media/radio/si4713/radio-usb-si4713.c 0x09, 0x21, 0x033f, 0, radio->buffer, buffer 168 drivers/media/radio/si4713/radio-usb-si4713.c 0x01, 0xa1, 0x033f, 0, radio->buffer, buffer 172 drivers/media/radio/si4713/radio-usb-si4713.c if (!radio->buffer[1]) { buffer 175 drivers/media/radio/si4713/radio-usb-si4713.c switch (buffer[1]) { buffer 177 drivers/media/radio/si4713/radio-usb-si4713.c if (radio->buffer[2] == 0) buffer 182 drivers/media/radio/si4713/radio-usb-si4713.c if (radio->buffer[2] & SI4713_CTS) buffer 186 drivers/media/radio/si4713/radio-usb-si4713.c if ((radio->buffer[2] & SI4713_CTS) && radio->buffer[9] == 0x08) buffer 245 drivers/media/radio/si4713/radio-usb-si4713.c radio->buffer[0] = 0x3f; buffer 251 drivers/media/radio/si4713/radio-usb-si4713.c memcpy(radio->buffer + 1, payload, len); buffer 252 drivers/media/radio/si4713/radio-usb-si4713.c memset(radio->buffer + len + 1, 0, BUFFER_LENGTH - 1 - len); buffer 297 drivers/media/radio/si4713/radio-usb-si4713.c radio->buffer[0] = 0x3f; buffer 298 drivers/media/radio/si4713/radio-usb-si4713.c radio->buffer[1] = 0x06; buffer 300 drivers/media/radio/si4713/radio-usb-si4713.c memcpy(radio->buffer + 2, payload, 3); buffer 301 drivers/media/radio/si4713/radio-usb-si4713.c memcpy(radio->buffer + 5, data, len); buffer 302 drivers/media/radio/si4713/radio-usb-si4713.c memset(radio->buffer + 5 + len, 0, BUFFER_LENGTH - 5 - len); buffer 306 drivers/media/radio/si4713/radio-usb-si4713.c 0x09, 0x21, 0x033f, 0, radio->buffer, buffer 321 drivers/media/radio/si4713/radio-usb-si4713.c 0x01, 0xa1, 0x033f, 0, radio->buffer, buffer 333 drivers/media/radio/si4713/radio-usb-si4713.c if (radio->buffer[1] == 0 && (radio->buffer[2] & SI4713_CTS)) { buffer 334 drivers/media/radio/si4713/radio-usb-si4713.c memcpy(data, radio->buffer + 2, len); buffer 425 drivers/media/radio/si4713/radio-usb-si4713.c radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL); buffer 427 drivers/media/radio/si4713/radio-usb-si4713.c if (!radio || !radio->buffer) { buffer 495 drivers/media/radio/si4713/radio-usb-si4713.c kfree(radio->buffer); buffer 92 drivers/media/radio/si4713/si4713.c #define DBG_BUFFER(device, message, buffer, size) \ buffer 97 drivers/media/radio/si4713/si4713.c sprintf(str + i * 5, " 0x%02x", buffer[i]); \ buffer 101 drivers/media/radio/si4713/si4713.c #define DBG_BUFFER(device, message, buffer, size) buffer 104 drivers/media/rc/ir-rx51.c static int ir_rx51_tx(struct rc_dev *dev, unsigned int *buffer, buffer 112 drivers/media/rc/ir-rx51.c memcpy(ir_rx51->wbuf, buffer, count * sizeof(unsigned int)); buffer 35 drivers/media/rc/ir-spi.c unsigned int *buffer, unsigned int count) buffer 49 drivers/media/rc/ir-spi.c periods = DIV_ROUND_CLOSEST(buffer[i] * idata->freq, 1000000); buffer 624 drivers/media/rc/lirc_dev.c static ssize_t ir_lirc_read_mode2(struct file *file, char __user *buffer, buffer 653 drivers/media/rc/lirc_dev.c ret = kfifo_to_user(&fh->rawir, buffer, length, &copied); buffer 662 drivers/media/rc/lirc_dev.c static ssize_t ir_lirc_read_scancode(struct file *file, char __user *buffer, buffer 692 drivers/media/rc/lirc_dev.c ret = kfifo_to_user(&fh->scancodes, buffer, length, &copied); buffer 701 drivers/media/rc/lirc_dev.c static ssize_t ir_lirc_read(struct file *file, char __user *buffer, buffer 714 drivers/media/rc/lirc_dev.c return ir_lirc_read_mode2(file, buffer, length); buffer 716 drivers/media/rc/lirc_dev.c return ir_lirc_read_scancode(file, buffer, length); buffer 580 drivers/media/rc/redrat3.c char *buffer; buffer 582 drivers/media/rc/redrat3.c buffer = kcalloc(RR3_FW_VERSION_LEN + 1, sizeof(*buffer), GFP_KERNEL); buffer 583 drivers/media/rc/redrat3.c if (!buffer) buffer 589 drivers/media/rc/redrat3.c 0, 0, buffer, RR3_FW_VERSION_LEN, HZ * 5); buffer 592 drivers/media/rc/redrat3.c dev_info(rr3->dev, "Firmware rev: %s", buffer); buffer 596 drivers/media/rc/redrat3.c kfree(buffer); buffer 242 drivers/media/rc/ttusbir.c void *buffer; buffer 253 drivers/media/rc/ttusbir.c buffer = usb_alloc_coherent(tt->udev, 128, GFP_KERNEL, buffer 255 drivers/media/rc/ttusbir.c if (!buffer) { buffer 261 drivers/media/rc/ttusbir.c urb->transfer_buffer = buffer; buffer 123 drivers/media/tuners/tea5761.c static void tea5761_status_dump(unsigned char *buffer) buffer 127 drivers/media/tuners/tea5761.c div = ((buffer[2] & 0x3f) << 8) | buffer[3]; buffer 142 drivers/media/tuners/tea5761.c unsigned char buffer[7] = {0, 0, 0, 0, 0, 0, 0 }; buffer 150 drivers/media/tuners/tea5761.c buffer[5] |= TEA5761_TNCTRL_MU; buffer 152 drivers/media/tuners/tea5761.c buffer[4] |= TEA5761_TNCTRL_PUPD_0; buffer 158 drivers/media/tuners/tea5761.c buffer[5] |= TEA5761_TNCTRL_MST; buffer 164 drivers/media/tuners/tea5761.c buffer[1] = (div >> 8) & 0x3f; buffer 165 drivers/media/tuners/tea5761.c buffer[2] = div & 0xff; buffer 168 drivers/media/tuners/tea5761.c tea5761_status_dump(buffer); buffer 170 drivers/media/tuners/tea5761.c if (7 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 7))) buffer 198 drivers/media/tuners/tea5761.c static int tea5761_read_status(struct dvb_frontend *fe, char *buffer) buffer 203 drivers/media/tuners/tea5761.c memset(buffer, 0, 16); buffer 204 drivers/media/tuners/tea5761.c if (16 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 16))) { buffer 212 drivers/media/tuners/tea5761.c static inline int tea5761_signal(struct dvb_frontend *fe, const char *buffer) buffer 216 drivers/media/tuners/tea5761.c int signal = ((buffer[9] & TEA5761_TUNCHECK_LEV_MASK) << (13 - 4)); buffer 223 drivers/media/tuners/tea5761.c static inline int tea5761_stereo(struct dvb_frontend *fe, const char *buffer) buffer 227 drivers/media/tuners/tea5761.c int stereo = buffer[9] & TEA5761_TUNCHECK_STEREO; buffer 236 drivers/media/tuners/tea5761.c unsigned char buffer[16]; buffer 240 drivers/media/tuners/tea5761.c if (0 == tea5761_read_status(fe, buffer)) { buffer 241 drivers/media/tuners/tea5761.c if (tea5761_signal(fe, buffer)) buffer 243 drivers/media/tuners/tea5761.c if (tea5761_stereo(fe, buffer)) buffer 252 drivers/media/tuners/tea5761.c unsigned char buffer[16]; buffer 256 drivers/media/tuners/tea5761.c if (0 == tea5761_read_status(fe, buffer)) buffer 257 drivers/media/tuners/tea5761.c *strength = tea5761_signal(fe, buffer); buffer 264 drivers/media/tuners/tea5761.c unsigned char buffer[16]; buffer 268 drivers/media/tuners/tea5761.c if (16 != (rc = tuner_i2c_xfer_recv(&i2c, buffer, 16))) { buffer 273 drivers/media/tuners/tea5761.c if ((buffer[13] != 0x2b) || (buffer[14] != 0x57) || (buffer[15] != 0x061)) { buffer 275 drivers/media/tuners/tea5761.c buffer[13], buffer[14], buffer[15]); buffer 279 drivers/media/tuners/tea5761.c buffer[14], buffer[15], buffer[13]); buffer 133 drivers/media/tuners/tea5767.c unsigned char *buffer) buffer 137 drivers/media/tuners/tea5767.c if (TEA5767_READY_FLAG_MASK & buffer[0]) buffer 142 drivers/media/tuners/tea5767.c if (TEA5767_BAND_LIMIT_MASK & buffer[0]) buffer 147 drivers/media/tuners/tea5767.c div = ((buffer[0] & 0x3f) << 8) | buffer[1]; buffer 164 drivers/media/tuners/tea5767.c buffer[0] = (div >> 8) & 0x3f; buffer 165 drivers/media/tuners/tea5767.c buffer[1] = div & 0xff; buffer 170 drivers/media/tuners/tea5767.c if (TEA5767_STEREO_MASK & buffer[2]) buffer 175 drivers/media/tuners/tea5767.c tuner_info("IF Counter = %d\n", buffer[2] & TEA5767_IF_CNTR_MASK); buffer 178 drivers/media/tuners/tea5767.c (buffer[3] & TEA5767_ADC_LEVEL_MASK) >> 4); buffer 180 drivers/media/tuners/tea5767.c tuner_info("Chip ID = %d\n", (buffer[3] & TEA5767_CHIP_ID_MASK)); buffer 183 drivers/media/tuners/tea5767.c (buffer[4] & TEA5767_RESERVED_MASK)); buffer 192 drivers/media/tuners/tea5767.c unsigned char buffer[5]; buffer 198 drivers/media/tuners/tea5767.c buffer[2] = 0; buffer 201 drivers/media/tuners/tea5767.c buffer[2] |= TEA5767_PORT1_HIGH; buffer 205 drivers/media/tuners/tea5767.c buffer[2] |= TEA5767_MONO; buffer 211 drivers/media/tuners/tea5767.c buffer[3] = 0; buffer 214 drivers/media/tuners/tea5767.c buffer[3] |= TEA5767_PORT2_HIGH; buffer 217 drivers/media/tuners/tea5767.c buffer[3] |= TEA5767_HIGH_CUT_CTRL; buffer 220 drivers/media/tuners/tea5767.c buffer[3] |= TEA5767_ST_NOISE_CTL; buffer 223 drivers/media/tuners/tea5767.c buffer[3] |= TEA5767_SOFT_MUTE; buffer 226 drivers/media/tuners/tea5767.c buffer[3] |= TEA5767_JAPAN_BAND; buffer 228 drivers/media/tuners/tea5767.c buffer[4] = 0; buffer 231 drivers/media/tuners/tea5767.c buffer[4] |= TEA5767_DEEMPH_75; buffer 234 drivers/media/tuners/tea5767.c buffer[4] |= TEA5767_PLLREF_ENABLE; buffer 243 drivers/media/tuners/tea5767.c buffer[2] |= TEA5767_HIGH_LO_INJECT; buffer 253 drivers/media/tuners/tea5767.c buffer[3] |= TEA5767_XTAL_32768; buffer 261 drivers/media/tuners/tea5767.c buffer[2] |= TEA5767_HIGH_LO_INJECT; buffer 262 drivers/media/tuners/tea5767.c buffer[3] |= TEA5767_XTAL_32768; buffer 266 drivers/media/tuners/tea5767.c buffer[0] = (div >> 8) & 0x3f; buffer 267 drivers/media/tuners/tea5767.c buffer[1] = div & 0xff; buffer 269 drivers/media/tuners/tea5767.c if (5 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 5))) buffer 273 drivers/media/tuners/tea5767.c if (5 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 5))) buffer 276 drivers/media/tuners/tea5767.c tea5767_status_dump(priv, buffer); buffer 284 drivers/media/tuners/tea5767.c static int tea5767_read_status(struct dvb_frontend *fe, char *buffer) buffer 289 drivers/media/tuners/tea5767.c memset(buffer, 0, 5); buffer 290 drivers/media/tuners/tea5767.c if (5 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 5))) { buffer 298 drivers/media/tuners/tea5767.c static inline int tea5767_signal(struct dvb_frontend *fe, const char *buffer) buffer 302 drivers/media/tuners/tea5767.c int signal = ((buffer[3] & TEA5767_ADC_LEVEL_MASK) << 8); buffer 309 drivers/media/tuners/tea5767.c static inline int tea5767_stereo(struct dvb_frontend *fe, const char *buffer) buffer 313 drivers/media/tuners/tea5767.c int stereo = buffer[2] & TEA5767_STEREO_MASK; buffer 322 drivers/media/tuners/tea5767.c unsigned char buffer[5]; buffer 326 drivers/media/tuners/tea5767.c if (0 == tea5767_read_status(fe, buffer)) { buffer 327 drivers/media/tuners/tea5767.c if (tea5767_signal(fe, buffer)) buffer 329 drivers/media/tuners/tea5767.c if (tea5767_stereo(fe, buffer)) buffer 338 drivers/media/tuners/tea5767.c unsigned char buffer[5]; buffer 342 drivers/media/tuners/tea5767.c if (0 == tea5767_read_status(fe, buffer)) buffer 343 drivers/media/tuners/tea5767.c *strength = tea5767_signal(fe, buffer); buffer 350 drivers/media/tuners/tea5767.c unsigned char buffer[5]; buffer 355 drivers/media/tuners/tea5767.c buffer[0] = (div >> 8) & 0x3f; buffer 356 drivers/media/tuners/tea5767.c buffer[1] = div & 0xff; buffer 357 drivers/media/tuners/tea5767.c buffer[2] = TEA5767_PORT1_HIGH; buffer 358 drivers/media/tuners/tea5767.c buffer[3] = TEA5767_PORT2_HIGH | TEA5767_HIGH_CUT_CTRL | buffer 360 drivers/media/tuners/tea5767.c buffer[4] = 0; buffer 362 drivers/media/tuners/tea5767.c if (5 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 5))) buffer 371 drivers/media/tuners/tea5767.c unsigned char buffer[7] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; buffer 375 drivers/media/tuners/tea5767.c if ((rc = tuner_i2c_xfer_recv(&i2c, buffer, 7))< 5) { buffer 381 drivers/media/tuners/tea5767.c if (buffer[0] == buffer[1] && buffer[0] == buffer[2] && buffer 382 drivers/media/tuners/tea5767.c buffer[0] == buffer[3] && buffer[0] == buffer[4]) { buffer 392 drivers/media/tuners/tea5767.c if (((buffer[3] & 0x0f) != 0x00) || (buffer[4] != 0x00)) { buffer 397 drivers/media/tuners/tuner-simple.c u8 buffer[4] = { 0x14, 0x00, 0x17, 0x00}; buffer 401 drivers/media/tuners/tuner-simple.c buffer[1] = 0x04; buffer 405 drivers/media/tuners/tuner-simple.c rc = tuner_i2c_xfer_send(&i2c, &buffer[0], 2); buffer 409 drivers/media/tuners/tuner-simple.c rc = tuner_i2c_xfer_send(&i2c, &buffer[2], 2); buffer 426 drivers/media/tuners/tuner-simple.c u8 buffer[2]; buffer 428 drivers/media/tuners/tuner-simple.c buffer[0] = (config & ~0x38) | 0x18; buffer 429 drivers/media/tuners/tuner-simple.c buffer[1] = aux; buffer 431 drivers/media/tuners/tuner-simple.c tuner_dbg("setting aux byte: 0x%02x 0x%02x\n", buffer[0], buffer[1]); buffer 433 drivers/media/tuners/tuner-simple.c rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 2); buffer 440 drivers/media/tuners/tuner-simple.c static int simple_post_tune(struct dvb_frontend *fe, u8 *buffer, buffer 477 drivers/media/tuners/tuner-simple.c buffer[0] = (div>>8) & 0x7f; buffer 478 drivers/media/tuners/tuner-simple.c buffer[1] = div & 0xff; buffer 479 drivers/media/tuners/tuner-simple.c buffer[2] = config; buffer 480 drivers/media/tuners/tuner-simple.c buffer[3] = cb; buffer 482 drivers/media/tuners/tuner-simple.c buffer[0], buffer[1], buffer[2], buffer[3]); buffer 484 drivers/media/tuners/tuner-simple.c rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4); buffer 495 drivers/media/tuners/tuner-simple.c static int simple_radio_bandswitch(struct dvb_frontend *fe, u8 *buffer) buffer 511 drivers/media/tuners/tuner-simple.c buffer[3] = 0x19; buffer 514 drivers/media/tuners/tuner-simple.c buffer[2] = 0x88; buffer 515 drivers/media/tuners/tuner-simple.c buffer[3] = 0x09; buffer 518 drivers/media/tuners/tuner-simple.c buffer[3] = 0x11; buffer 521 drivers/media/tuners/tuner-simple.c buffer[3] = 0xa5; buffer 524 drivers/media/tuners/tuner-simple.c buffer[3] = 0x39; buffer 530 drivers/media/tuners/tuner-simple.c buffer[3] = 0x01; buffer 534 drivers/media/tuners/tuner-simple.c buffer[3] = 0xa4; buffer 549 drivers/media/tuners/tuner-simple.c u8 buffer[4]; buffer 597 drivers/media/tuners/tuner-simple.c buffer[0] = config; buffer 598 drivers/media/tuners/tuner-simple.c buffer[1] = cb; buffer 599 drivers/media/tuners/tuner-simple.c buffer[2] = (div>>8) & 0x7f; buffer 600 drivers/media/tuners/tuner-simple.c buffer[3] = div & 0xff; buffer 602 drivers/media/tuners/tuner-simple.c buffer[0] = (div>>8) & 0x7f; buffer 603 drivers/media/tuners/tuner-simple.c buffer[1] = div & 0xff; buffer 604 drivers/media/tuners/tuner-simple.c buffer[2] = config; buffer 605 drivers/media/tuners/tuner-simple.c buffer[3] = cb; buffer 653 drivers/media/tuners/tuner-simple.c buffer[0], buffer[1], buffer[2], buffer[3]); buffer 655 drivers/media/tuners/tuner-simple.c rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4); buffer 659 drivers/media/tuners/tuner-simple.c simple_post_tune(fe, &buffer[0], div, config, cb); buffer 669 drivers/media/tuners/tuner-simple.c u8 buffer[4]; buffer 701 drivers/media/tuners/tuner-simple.c buffer[2] = (t_params->ranges[0].config & ~TUNER_RATIO_MASK) | buffer 705 drivers/media/tuners/tuner-simple.c simple_radio_bandswitch(fe, &buffer[0]); buffer 713 drivers/media/tuners/tuner-simple.c buffer[0] = buffer[2]; buffer 714 drivers/media/tuners/tuner-simple.c buffer[1] = buffer[3]; buffer 715 drivers/media/tuners/tuner-simple.c buffer[2] = (div>>8) & 0x7f; buffer 716 drivers/media/tuners/tuner-simple.c buffer[3] = div & 0xff; buffer 718 drivers/media/tuners/tuner-simple.c buffer[0] = (div>>8) & 0x7f; buffer 719 drivers/media/tuners/tuner-simple.c buffer[1] = div & 0xff; buffer 723 drivers/media/tuners/tuner-simple.c buffer[0], buffer[1], buffer[2], buffer[3]); buffer 750 drivers/media/tuners/tuner-simple.c rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4); buffer 757 drivers/media/tuners/tuner-simple.c buffer[2] = 0x98; buffer 758 drivers/media/tuners/tuner-simple.c buffer[3] = 0x20; /* set TOP AGC */ buffer 759 drivers/media/tuners/tuner-simple.c rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4); buffer 330 drivers/media/usb/b2c2/flexcop-usb.c u8 *buffer, int buffer_length) buffer 339 drivers/media/usb/b2c2/flexcop-usb.c memcpy(fc_usb->tmp_buffer+fc_usb->tmp_buffer_length, buffer, buffer 345 drivers/media/usb/b2c2/flexcop-usb.c b=buffer; buffer 244 drivers/media/usb/cpia2/cpia2.h } buffer; buffer 167 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 178 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 186 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 197 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 205 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 213 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 221 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 233 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 236 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 247 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VC_ST_CTRL; buffer 248 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = CPIA2_VC_ST_CTRL_SRC_VC | buffer 250 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VC_ST_CTRL; buffer 251 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].value = CPIA2_VC_ST_CTRL_SRC_VC | buffer 260 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = buffer 262 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = buffer 264 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = CPIA2_SYSTEM_CONTROL_CLEAR_ERR; buffer 265 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].value = buffer 273 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = 0; buffer 280 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = CPIA2_SYSTEM_CONTROL_CLEAR_ERR; buffer 283 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 300 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 303 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 311 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 324 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 333 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 341 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 349 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 357 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 364 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 370 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 380 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VC_VC_TARGET_KB; buffer 381 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = param; buffer 386 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VC_VC_JPEG_OPT; buffer 387 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = buffer 389 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VC_VC_USER_SQUEEZE; buffer 390 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].value = 20; buffer 391 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[2].index = CPIA2_VC_VC_CREEP_PERIOD; buffer 392 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[2].value = 2; buffer 393 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[3].index = CPIA2_VC_VC_JPEG_OPT; buffer 394 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[3].value = CPIA2_VC_VC_JPEG_OPT_DEFAULT; buffer 400 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 405 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; buffer 431 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]; buffer 433 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1]; buffer 436 drivers/media/usb/cpia2/cpia2_core.c cam->params.pnp_id.vendor = (cmd.buffer.block_data[0] << 8) | buffer 437 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1]; buffer 438 drivers/media/usb/cpia2/cpia2_core.c cam->params.pnp_id.product = (cmd.buffer.block_data[2] << 8) | buffer 439 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[3]; buffer 441 drivers/media/usb/cpia2/cpia2_core.c (cmd.buffer.block_data[4] << 8) | buffer 442 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[5]; buffer 453 drivers/media/usb/cpia2/cpia2_core.c cam->params.version.asic_id = cmd.buffer.block_data[0]; buffer 454 drivers/media/usb/cpia2/cpia2_core.c cam->params.version.asic_rev = cmd.buffer.block_data[1]; buffer 457 drivers/media/usb/cpia2/cpia2_core.c cam->params.version.sensor_flags = cmd.buffer.block_data[0]; buffer 458 drivers/media/usb/cpia2/cpia2_core.c cam->params.version.sensor_rev = cmd.buffer.block_data[1]; buffer 461 drivers/media/usb/cpia2/cpia2_core.c cam->params.version.vp_device_hi = cmd.buffer.block_data[0]; buffer 462 drivers/media/usb/cpia2/cpia2_core.c cam->params.version.vp_device_lo = cmd.buffer.block_data[1]; buffer 465 drivers/media/usb/cpia2/cpia2_core.c cam->params.vp_params.gpio_data = cmd.buffer.block_data[0]; buffer 468 drivers/media/usb/cpia2/cpia2_core.c cam->params.vp_params.gpio_direction = cmd.buffer.block_data[0]; buffer 471 drivers/media/usb/cpia2/cpia2_core.c cam->params.vc_params.vc_mp_direction =cmd.buffer.block_data[0]; buffer 474 drivers/media/usb/cpia2/cpia2_core.c cam->params.vc_params.vc_mp_data = cmd.buffer.block_data[0]; buffer 478 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]; buffer 481 drivers/media/usb/cpia2/cpia2_core.c cam->params.vc_params.wakeup = cmd.buffer.block_data[0]; buffer 484 drivers/media/usb/cpia2/cpia2_core.c cam->params.vc_params.pw_control = cmd.buffer.block_data[0]; buffer 487 drivers/media/usb/cpia2/cpia2_core.c cam->params.camera_state.system_ctrl = cmd.buffer.block_data[0]; buffer 490 drivers/media/usb/cpia2/cpia2_core.c cam->params.vp_params.system_state = cmd.buffer.block_data[0]; buffer 493 drivers/media/usb/cpia2/cpia2_core.c cam->params.vp_params.system_ctrl = cmd.buffer.block_data[0]; buffer 496 drivers/media/usb/cpia2/cpia2_core.c cam->params.vp_params.exposure_modes = cmd.buffer.block_data[0]; buffer 499 drivers/media/usb/cpia2/cpia2_core.c cam->params.vp_params.device_config = cmd.buffer.block_data[0]; buffer 502 drivers/media/usb/cpia2/cpia2_core.c cam->params.vc_params.vc_control = cmd.buffer.block_data[0]; buffer 505 drivers/media/usb/cpia2/cpia2_core.c cam->params.vp_params.video_mode = cmd.buffer.block_data[0]; buffer 508 drivers/media/usb/cpia2/cpia2_core.c cam->params.vp_params.user_effects = cmd.buffer.block_data[0]; buffer 529 drivers/media/usb/cpia2/cpia2_core.c u8 *buffer; buffer 536 drivers/media/usb/cpia2/cpia2_core.c buffer = (u8 *) & cmd->buffer; buffer 544 drivers/media/usb/cpia2/cpia2_core.c buffer = cmd->buffer.block_data; buffer 552 drivers/media/usb/cpia2/cpia2_core.c buffer = (u8 *) & cmd->buffer; buffer 560 drivers/media/usb/cpia2/cpia2_core.c buffer = cmd->buffer.block_data; buffer 571 drivers/media/usb/cpia2/cpia2_core.c buffer, buffer 580 drivers/media/usb/cpia2/cpia2_core.c DIR(cmd), start + i, buffer[i]); buffer 583 drivers/media/usb/cpia2/cpia2_core.c DIR(cmd), cmd->buffer.registers[i].index, buffer 584 drivers/media/usb/cpia2/cpia2_core.c cmd->buffer.registers[i].value); buffer 638 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VC_ST_CTRL; buffer 639 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = CPIA2_VC_ST_CTRL_SRC_VC | buffer 641 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VC_ST_CTRL; buffer 642 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].value = CPIA2_VC_ST_CTRL_SRC_VC | buffer 653 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_SYSTEM_INT_PACKET_CTRL; buffer 654 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = buffer 675 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VP5_MYBLACK_LEVEL; buffer 676 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = 0; /* reduce from the default buffer 678 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VP5_MCYRANGE; buffer 679 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].value = 0x92; /* increase from 100% to buffer 682 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[2].index = CPIA2_VP5_MYCEILING; buffer 683 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[2].value = 0xFF; /* Increase from the buffer 686 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[3].index = CPIA2_VP5_MCUVSATURATION; buffer 687 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[3].value = 0xFF; /* Increase from the rec buffer 690 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[4].index = CPIA2_VP5_ANTIFLKRSETUP; buffer 691 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[4].value = 0x80; /* Inhibit the buffer 695 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[5].index = CPIA2_VP_RAM_ADDR_H; buffer 696 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[5].value = 0x01; buffer 697 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[6].index = CPIA2_VP_RAM_ADDR_L; buffer 698 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[6].value = 0xE3; buffer 699 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[7].index = CPIA2_VP_RAM_DATA; buffer 700 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[7].value = 0x02; buffer 701 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[8].index = CPIA2_VP_RAM_DATA; buffer 702 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[8].value = 0xFC; buffer 731 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = tmp_reg & buffer 735 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].value = cam->params.vp_params.device_config | buffer 737 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VP_SYSTEMCTRL; buffer 738 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VP_DEVICE_CONFIG; buffer 777 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = cam->params.vp_params.device_config & buffer 781 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].value = buffer 784 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VP_DEVICE_CONFIG; buffer 785 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VP_SYSTEMCTRL; buffer 901 drivers/media/usb/cpia2/cpia2_core.c cmd->buffer.block_data[0] = datum; buffer 932 drivers/media/usb/cpia2/cpia2_core.c memcpy(cmd.buffer.block_data, &fw->data[i], cmd.reg_count); buffer 1198 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_FORMAT; buffer 1200 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1204 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1209 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_CLOCKS; buffer 1212 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value= buffer 1219 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value= buffer 1225 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1230 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1236 drivers/media/usb/cpia2/cpia2_core.c DBG("VC_Clocks (0xc4) = 0x%0X\n", cmd.buffer.registers[i-1].value); buffer 1239 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_IHSIZE_LO; buffer 1241 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1244 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1248 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_XLIM_HI; buffer 1250 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1252 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 1; buffer 1254 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_XLIM_LO; buffer 1256 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 208; buffer 1258 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 160; buffer 1260 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_YLIM_HI; buffer 1262 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1264 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 1; buffer 1266 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_YLIM_LO; buffer 1268 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 160; buffer 1270 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 64; buffer 1273 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_OHSIZE; buffer 1274 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = cam->params.roi.width / 4; buffer 1276 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_OVSIZE; buffer 1277 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = cam->params.roi.height / 4; buffer 1280 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HCROP; buffer 1282 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1285 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1288 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VCROP; buffer 1290 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1293 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1297 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HPHASE; buffer 1298 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1300 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VPHASE; buffer 1301 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1303 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HISPAN; buffer 1304 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 31; buffer 1306 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VISPAN; buffer 1307 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 31; buffer 1309 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HICROP; buffer 1310 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1312 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VICROP; buffer 1313 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1315 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HFRACT; buffer 1316 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0x81; /* = 8/1 = 8 (HIBYTE/LOBYTE) */ buffer 1318 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VFRACT; buffer 1319 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0x81; /* = 8/1 = 8 (HIBYTE/LOBYTE) */ buffer 1373 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_FORMAT; buffer 1374 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].value = (u8) CPIA2_VC_VC_FORMAT_UFIRST; buffer 1376 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].value |= (u8) CPIA2_VC_VC_FORMAT_DECIMATING; buffer 1380 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_CLOCKS; buffer 1383 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].value = buffer 1386 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].value = buffer 1391 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].value = buffer 1394 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].value = buffer 1400 drivers/media/usb/cpia2/cpia2_core.c DBG("VC_CLOCKS = 0x%X\n", cmd.buffer.registers[i-1].value); buffer 1403 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_IHSIZE_LO; buffer 1405 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].value = buffer 1408 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].value = buffer 1411 drivers/media/usb/cpia2/cpia2_core.c DBG("Input width = %d\n", cmd.buffer.registers[i-1].value); buffer 1414 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_XLIM_HI; buffer 1416 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 2; buffer 1418 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 1; buffer 1420 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_XLIM_LO; buffer 1422 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 250; buffer 1424 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 125; buffer 1426 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 160; buffer 1428 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_YLIM_HI; buffer 1430 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 2; buffer 1432 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 1; buffer 1434 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_YLIM_LO; buffer 1436 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 12; buffer 1438 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 64; buffer 1440 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 6; buffer 1443 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_OHSIZE; buffer 1445 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = STV_IMAGE_CIF_COLS / 4; buffer 1447 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = width / 4; buffer 1449 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_OVSIZE; buffer 1451 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = STV_IMAGE_CIF_ROWS / 4; buffer 1453 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = height / 4; buffer 1456 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HCROP; buffer 1458 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1461 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1464 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1467 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1470 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VCROP; buffer 1472 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1475 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1478 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1481 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = buffer 1485 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HPHASE; buffer 1487 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 36; buffer 1489 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1491 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VPHASE; buffer 1493 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 32; buffer 1495 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1497 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HISPAN; buffer 1499 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 26; buffer 1501 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 31; buffer 1503 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VISPAN; buffer 1505 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 21; buffer 1507 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 31; buffer 1509 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HICROP; buffer 1510 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1512 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VICROP; buffer 1513 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0; buffer 1515 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HFRACT; buffer 1517 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0x2B; /* 2/11 */ buffer 1519 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0x81; /* 8/1 */ buffer 1521 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VFRACT; buffer 1523 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0x13; /* 1/3 */ buffer 1525 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = (u8) 0x81; /* 8/1 */ buffer 1847 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = 0; /* High byte of address to write to */ buffer 1848 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1] = 0x59; /* Low byte of address to write to */ buffer 1849 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[2] = 0; /* High byte of data to write */ buffer 1854 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = 0x02; /* Low byte data to write */ buffer 1856 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = 0x06; buffer 1909 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 1911 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1]); buffer 1913 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[2]); buffer 1921 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 1923 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1]); buffer 1925 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[2]); buffer 1927 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[3]); buffer 1933 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 1938 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 1944 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 1946 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1]); buffer 1948 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[2]); buffer 1954 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 1960 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 1962 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[3]); buffer 1964 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[4]); buffer 1966 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[5]); buffer 1968 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[6]); buffer 1970 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[7]); buffer 1972 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[8]); buffer 1974 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[9]); buffer 1976 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[10]); buffer 1978 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[11]); buffer 1980 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[12]); buffer 1982 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[13]); buffer 1984 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[14]); buffer 1986 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[15]); buffer 1988 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[16]); buffer 1990 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[17]); buffer 1992 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[18]); buffer 1994 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[19]); buffer 1996 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[20]); buffer 1998 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[21]); buffer 2000 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[22]); buffer 2002 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[23]); buffer 2004 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[24]); buffer 2006 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[25]); buffer 2015 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 2017 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1]); buffer 2019 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[2]); buffer 2021 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[3]); buffer 2023 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[5]); buffer 2025 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[6]); buffer 2027 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[7]); buffer 2029 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[8]); buffer 2031 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[9]); buffer 2033 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[10]); buffer 2035 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[11]); buffer 2037 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[12]); buffer 2039 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[13]); buffer 2046 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 2048 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1]); buffer 2050 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[2]); buffer 2052 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[3]); buffer 2054 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[4]); buffer 2056 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[5]); buffer 2058 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[6]); buffer 2060 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[7]); buffer 2062 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[8]); buffer 2068 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 2074 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 2076 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1]); buffer 2078 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[5]); buffer 2080 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[6]); buffer 2082 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[7]); buffer 2088 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 2094 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0]); buffer 2096 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[1]); buffer 2098 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[2]); buffer 2100 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[3]); buffer 393 drivers/media/usb/cpia2/cpia2_usb.c cmd.buffer.block_data[0] = iso_regs[alt][0]; buffer 394 drivers/media/usb/cpia2/cpia2_usb.c cmd.buffer.block_data[1] = iso_regs[alt][1]; buffer 395 drivers/media/usb/cpia2/cpia2_usb.c cmd.buffer.block_data[2] = iso_regs[alt][2]; buffer 396 drivers/media/usb/cpia2/cpia2_usb.c cmd.buffer.block_data[3] = iso_regs[alt][3]; buffer 411 drivers/media/usb/cpia2/cpia2_usb.c reg = cmd.buffer.block_data[0]; buffer 428 drivers/media/usb/cpia2/cpia2_usb.c cmd.buffer.block_data[0] = reg; buffer 1376 drivers/media/usb/cx231xx/cx231xx-417.c unsigned char *p_buffer, *buffer; buffer 1382 drivers/media/usb/cx231xx/cx231xx-417.c buffer = kmalloc(buffer_size, GFP_ATOMIC); buffer 1383 drivers/media/usb/cx231xx/cx231xx-417.c if (!buffer) buffer 1386 drivers/media/usb/cx231xx/cx231xx-417.c memcpy(buffer, dma_q->ps_head, 3); buffer 1387 drivers/media/usb/cx231xx/cx231xx-417.c memcpy(buffer+3, p_buffer, buffer_size-3); buffer 1390 drivers/media/usb/cx231xx/cx231xx-417.c p_buffer = buffer; buffer 1393 drivers/media/usb/cx231xx/cx231xx-417.c kfree(buffer); buffer 756 drivers/media/usb/cx231xx/cx231xx-core.c u32 *buffer; buffer 758 drivers/media/usb/cx231xx/cx231xx-core.c buffer = kzalloc(4096, GFP_KERNEL); buffer 759 drivers/media/usb/cx231xx/cx231xx-core.c if (buffer == NULL) buffer 761 drivers/media/usb/cx231xx/cx231xx-core.c memcpy(&buffer[0], firmware, 4096); buffer 764 drivers/media/usb/cx231xx/cx231xx-core.c buffer, 4096, &actlen, 2000); buffer 773 drivers/media/usb/cx231xx/cx231xx-core.c kfree(buffer); buffer 70 drivers/media/usb/dvb-usb/dvb-usb-urb.c static void dvb_usb_data_complete(struct usb_data_stream *stream, u8 *buffer, size_t length) buffer 74 drivers/media/usb/dvb-usb/dvb-usb-urb.c dvb_dmx_swfilter(&adap->demux, buffer, length); buffer 77 drivers/media/usb/dvb-usb/dvb-usb-urb.c static void dvb_usb_data_complete_204(struct usb_data_stream *stream, u8 *buffer, size_t length) buffer 81 drivers/media/usb/dvb-usb/dvb-usb-urb.c dvb_dmx_swfilter_204(&adap->demux, buffer, length); buffer 85 drivers/media/usb/dvb-usb/dvb-usb-urb.c u8 *buffer, size_t length) buffer 89 drivers/media/usb/dvb-usb/dvb-usb-urb.c dvb_dmx_swfilter_raw(&adap->demux, buffer, length); buffer 97 drivers/media/usb/gspca/conex.c const __u8 *buffer, buffer 107 drivers/media/usb/gspca/conex.c index, *buffer); buffer 109 drivers/media/usb/gspca/conex.c memcpy(gspca_dev->usb_buf, buffer, len); buffer 185 drivers/media/usb/gspca/etoms.c const __u8 *buffer, buffer 195 drivers/media/usb/gspca/etoms.c index, *buffer); buffer 197 drivers/media/usb/gspca/etoms.c memcpy(gspca_dev->usb_buf, buffer, len); buffer 207 drivers/media/usb/gspca/etoms.c const __u8 *buffer, buffer 222 drivers/media/usb/gspca/etoms.c reg_w_val(gspca_dev, ET_I2C_DATA0 + len, buffer[len]); buffer 161 drivers/media/usb/gspca/gspca.c void *buffer = NULL; buffer 177 drivers/media/usb/gspca/gspca.c buffer = usb_alloc_coherent(dev, buffer_len, buffer 179 drivers/media/usb/gspca/gspca.c if (!buffer) { buffer 185 drivers/media/usb/gspca/gspca.c buffer, buffer_len, buffer 313 drivers/media/usb/gspca/jl2005bcd.c u8 *buffer; buffer 315 drivers/media/usb/gspca/jl2005bcd.c buffer = kmalloc(JL2005C_MAX_TRANSFER, GFP_KERNEL); buffer 316 drivers/media/usb/gspca/jl2005bcd.c if (!buffer) { buffer 335 drivers/media/usb/gspca/jl2005bcd.c buffer, JL2005C_MAX_TRANSFER, &act_len, buffer 343 drivers/media/usb/gspca/jl2005bcd.c if (memcmp(header_sig, buffer, 2) != 0) { buffer 349 drivers/media/usb/gspca/jl2005bcd.c bytes_left = buffer[0x07] * dev->block_size - act_len; buffer 355 drivers/media/usb/gspca/jl2005bcd.c buffer, act_len); buffer 363 drivers/media/usb/gspca/jl2005bcd.c buffer, data_len, &act_len, buffer 377 drivers/media/usb/gspca/jl2005bcd.c buffer, data_len); buffer 386 drivers/media/usb/gspca/jl2005bcd.c kfree(buffer); buffer 287 drivers/media/usb/gspca/m5602/m5602_core.c const u8 buffer[4] = {0x13, 0xf9, 0x0f, 0x01}; buffer 292 drivers/media/usb/gspca/m5602/m5602_core.c memcpy(buf, buffer, sizeof(buffer)); buffer 296 drivers/media/usb/gspca/m5602/m5602_core.c sizeof(buffer), M5602_URB_MSG_TIMEOUT); buffer 87 drivers/media/usb/gspca/pac207.c const u8 *buffer, u16 length) buffer 95 drivers/media/usb/gspca/pac207.c memcpy(gspca_dev->usb_buf, buffer, length); buffer 234 drivers/media/usb/gspca/pac7302.c const u8 *buffer, int len) buffer 240 drivers/media/usb/gspca/pac7302.c memcpy(gspca_dev->usb_buf, buffer, len); buffer 153 drivers/media/usb/gspca/pac7311.c const u8 *buffer, int len) buffer 159 drivers/media/usb/gspca/pac7311.c memcpy(gspca_dev->usb_buf, buffer, len); buffer 928 drivers/media/usb/gspca/sn9c20x.c const u8 *buffer, int length) buffer 935 drivers/media/usb/gspca/sn9c20x.c memcpy(gspca_dev->usb_buf, buffer, length); buffer 955 drivers/media/usb/gspca/sn9c20x.c static void i2c_w(struct gspca_dev *gspca_dev, const u8 *buffer) buffer 959 drivers/media/usb/gspca/sn9c20x.c reg_w(gspca_dev, 0x10c0, buffer, 8); buffer 973 drivers/media/usb/gspca/sn9c20x.c pr_err("i2c_w reg %02x no response\n", buffer[2]); buffer 466 drivers/media/usb/gspca/sonixb.c const __u8 *buffer, buffer 474 drivers/media/usb/gspca/sonixb.c memcpy(gspca_dev->usb_buf, buffer, len); buffer 520 drivers/media/usb/gspca/sonixb.c const __u8 buffer[][8], int len) buffer 525 drivers/media/usb/gspca/sonixb.c i2c_w(gspca_dev, *buffer); buffer 529 drivers/media/usb/gspca/sonixb.c buffer++; buffer 1198 drivers/media/usb/gspca/sonixj.c const u8 *buffer, buffer 1206 drivers/media/usb/gspca/sonixj.c value, buffer[0], buffer[1]); buffer 1213 drivers/media/usb/gspca/sonixj.c memcpy(gspca_dev->usb_buf, buffer, len); buffer 1270 drivers/media/usb/gspca/sonixj.c const u8 *buffer) buffer 1277 drivers/media/usb/gspca/sonixj.c buffer[2], buffer[3]); buffer 1278 drivers/media/usb/gspca/sonixj.c memcpy(gspca_dev->usb_buf, buffer, 8); buffer 209 drivers/media/usb/gspca/sq905.c u8 *buffer; buffer 211 drivers/media/usb/gspca/sq905.c buffer = kmalloc(SQ905_MAX_TRANSFER, GFP_KERNEL); buffer 212 drivers/media/usb/gspca/sq905.c if (!buffer) { buffer 237 drivers/media/usb/gspca/sq905.c ret = sq905_read_data(gspca_dev, buffer, data_len, 1); buffer 244 drivers/media/usb/gspca/sq905.c data = buffer; buffer 281 drivers/media/usb/gspca/sq905.c kfree(buffer); buffer 130 drivers/media/usb/gspca/sq905c.c u8 *buffer; buffer 132 drivers/media/usb/gspca/sq905c.c buffer = kmalloc(SQ905C_MAX_TRANSFER, GFP_KERNEL); buffer 133 drivers/media/usb/gspca/sq905c.c if (!buffer) { buffer 146 drivers/media/usb/gspca/sq905c.c buffer, FRAME_HEADER_LEN, &act_len, buffer 154 drivers/media/usb/gspca/sq905c.c bytes_left = buffer[0x40]|(buffer[0x41]<<8)|(buffer[0x42]<<16) buffer 155 drivers/media/usb/gspca/sq905c.c |(buffer[0x43]<<24); buffer 161 drivers/media/usb/gspca/sq905c.c buffer, FRAME_HEADER_LEN); buffer 167 drivers/media/usb/gspca/sq905c.c buffer, data_len, &act_len, buffer 180 drivers/media/usb/gspca/sq905c.c buffer, data_len); buffer 189 drivers/media/usb/gspca/sq905c.c kfree(buffer); buffer 318 drivers/media/usb/gspca/t613.c const u8 *buffer, u16 len) buffer 321 drivers/media/usb/gspca/t613.c memcpy(gspca_dev->usb_buf, buffer, len); buffer 331 drivers/media/usb/gspca/t613.c tmpbuf = kmemdup(buffer, len, GFP_KERNEL); buffer 349 drivers/media/usb/gspca/t613.c const u8 *buffer, u16 len) buffer 366 drivers/media/usb/gspca/t613.c *p++ = *buffer++; buffer 172 drivers/media/usb/gspca/vicam.c u8 *buffer; buffer 176 drivers/media/usb/gspca/vicam.c buffer = kmalloc(frame_sz, GFP_KERNEL); buffer 177 drivers/media/usb/gspca/vicam.c if (!buffer) { buffer 187 drivers/media/usb/gspca/vicam.c ret = vicam_read_frame(gspca_dev, buffer, frame_sz); buffer 197 drivers/media/usb/gspca/vicam.c buffer + HEADER_SIZE, buffer 202 drivers/media/usb/gspca/vicam.c kfree(buffer); buffer 441 drivers/media/usb/hackrf/hackrf.c struct hackrf_buffer *buffer = NULL; buffer 447 drivers/media/usb/hackrf/hackrf.c buffer = list_entry(buffer_list->next, struct hackrf_buffer, list); buffer 448 drivers/media/usb/hackrf/hackrf.c list_del(&buffer->list); buffer 451 drivers/media/usb/hackrf/hackrf.c return buffer; buffer 485 drivers/media/usb/hackrf/hackrf.c struct hackrf_buffer *buffer; buffer 505 drivers/media/usb/hackrf/hackrf.c buffer = hackrf_get_next_buffer(dev, &dev->rx_buffer_list); buffer 506 drivers/media/usb/hackrf/hackrf.c if (unlikely(buffer == NULL)) { buffer 514 drivers/media/usb/hackrf/hackrf.c len = min_t(unsigned long, vb2_plane_size(&buffer->vb.vb2_buf, 0), buffer 516 drivers/media/usb/hackrf/hackrf.c hackrf_copy_stream(dev, vb2_plane_vaddr(&buffer->vb.vb2_buf, 0), buffer 518 drivers/media/usb/hackrf/hackrf.c vb2_set_plane_payload(&buffer->vb.vb2_buf, 0, len); buffer 519 drivers/media/usb/hackrf/hackrf.c buffer->vb.sequence = dev->sequence++; buffer 520 drivers/media/usb/hackrf/hackrf.c buffer->vb.vb2_buf.timestamp = ktime_get_ns(); buffer 521 drivers/media/usb/hackrf/hackrf.c vb2_buffer_done(&buffer->vb.vb2_buf, VB2_BUF_STATE_DONE); buffer 530 drivers/media/usb/hackrf/hackrf.c struct hackrf_buffer *buffer; buffer 549 drivers/media/usb/hackrf/hackrf.c buffer = hackrf_get_next_buffer(dev, &dev->tx_buffer_list); buffer 550 drivers/media/usb/hackrf/hackrf.c if (unlikely(buffer == NULL)) { buffer 560 drivers/media/usb/hackrf/hackrf.c vb2_get_plane_payload(&buffer->vb.vb2_buf, 0)); buffer 562 drivers/media/usb/hackrf/hackrf.c vb2_plane_vaddr(&buffer->vb.vb2_buf, 0), len); buffer 564 drivers/media/usb/hackrf/hackrf.c buffer->vb.sequence = dev->sequence++; buffer 565 drivers/media/usb/hackrf/hackrf.c buffer->vb.vb2_buf.timestamp = ktime_get_ns(); buffer 566 drivers/media/usb/hackrf/hackrf.c vb2_buffer_done(&buffer->vb.vb2_buf, VB2_BUF_STATE_DONE); buffer 731 drivers/media/usb/hackrf/hackrf.c struct hackrf_buffer *buffer, *node; buffer 743 drivers/media/usb/hackrf/hackrf.c list_for_each_entry_safe(buffer, node, buffer_list, list) { buffer 745 drivers/media/usb/hackrf/hackrf.c vb2_buffer_done(&buffer->vb.vb2_buf, state); buffer 746 drivers/media/usb/hackrf/hackrf.c list_del(&buffer->list); buffer 774 drivers/media/usb/hackrf/hackrf.c struct hackrf_buffer *buffer = container_of(vbuf, struct hackrf_buffer, vb); buffer 786 drivers/media/usb/hackrf/hackrf.c list_add_tail(&buffer->list, buffer_list); buffer 176 drivers/media/usb/hdpvr/hdpvr-i2c.c char buffer[2]; buffer 180 drivers/media/usb/hdpvr/hdpvr-i2c.c hdpvr_i2c_read(dev, 0, 0x54, NULL, 0, buffer, 1); buffer 182 drivers/media/usb/hdpvr/hdpvr-i2c.c buffer[0] = 0; buffer 183 drivers/media/usb/hdpvr/hdpvr-i2c.c buffer[1] = 0x8; buffer 184 drivers/media/usb/hdpvr/hdpvr-i2c.c hdpvr_i2c_write(dev, 1, 0x54, buffer, 2); buffer 186 drivers/media/usb/hdpvr/hdpvr-i2c.c buffer[1] = 0x18; buffer 187 drivers/media/usb/hdpvr/hdpvr-i2c.c hdpvr_i2c_write(dev, 1, 0x54, buffer, 2); buffer 407 drivers/media/usb/hdpvr/hdpvr-video.c static ssize_t hdpvr_read(struct file *file, char __user *buffer, size_t count, buffer 491 drivers/media/usb/hdpvr/hdpvr-video.c if (copy_to_user(buffer, urb->transfer_buffer + buf->pos, buffer 501 drivers/media/usb/hdpvr/hdpvr-video.c buffer += cnt; buffer 153 drivers/media/usb/pwc/pwc-if.c void *buffer = kmalloc(size, GFP_KERNEL); buffer 155 drivers/media/usb/pwc/pwc-if.c if (!buffer) buffer 158 drivers/media/usb/pwc/pwc-if.c *dma_handle = dma_map_single(dev, buffer, size, DMA_FROM_DEVICE); buffer 160 drivers/media/usb/pwc/pwc-if.c kfree(buffer); buffer 164 drivers/media/usb/pwc/pwc-if.c return buffer; buffer 169 drivers/media/usb/pwc/pwc-if.c void *buffer, buffer 173 drivers/media/usb/pwc/pwc-if.c kfree(buffer); buffer 211 drivers/media/usb/s2255/s2255drv.c struct s2255_bufferi buffer; buffer 606 drivers/media/usb/s2255/s2255drv.c (const char *)vc->buffer.frame[last_frame].lpvbits; buffer 990 drivers/media/usb/s2255/s2255drv.c __le32 *buffer = dev->cmdbuf; buffer 1007 drivers/media/usb/s2255/s2255drv.c buffer[0] = IN_DATA_TOKEN; buffer 1008 drivers/media/usb/s2255/s2255drv.c buffer[1] = (__le32) cpu_to_le32(chn_rev); buffer 1009 drivers/media/usb/s2255/s2255drv.c buffer[2] = CMD_SET_MODE; buffer 1011 drivers/media/usb/s2255/s2255drv.c buffer[3 + i] = cpu_to_le32(((u32 *)&vc->mode)[i]); buffer 1013 drivers/media/usb/s2255/s2255drv.c res = s2255_write_config(dev->udev, (unsigned char *)buffer, 512); buffer 1038 drivers/media/usb/s2255/s2255drv.c __le32 *buffer = dev->cmdbuf; buffer 1044 drivers/media/usb/s2255/s2255drv.c buffer[0] = IN_DATA_TOKEN; buffer 1045 drivers/media/usb/s2255/s2255drv.c buffer[1] = (__le32) cpu_to_le32(chn_rev); buffer 1046 drivers/media/usb/s2255/s2255drv.c buffer[2] = CMD_STATUS; buffer 1049 drivers/media/usb/s2255/s2255drv.c res = s2255_write_config(dev->udev, (unsigned char *)buffer, 512); buffer 1073 drivers/media/usb/s2255/s2255drv.c vc->buffer.frame[j].ulState = S2255_READ_IDLE; buffer 1074 drivers/media/usb/s2255/s2255drv.c vc->buffer.frame[j].cur_size = 0; buffer 1707 drivers/media/usb/s2255/s2255drv.c frm = &vc->buffer.frame[idx]; buffer 1793 drivers/media/usb/s2255/s2255drv.c frm = &vc->buffer.frame[idx]; buffer 1836 drivers/media/usb/s2255/s2255drv.c (vc->cur_frame == vc->buffer.dwFrames)) buffer 1929 drivers/media/usb/s2255/s2255drv.c vc->buffer.dwFrames = SYS_FRAMES; buffer 1938 drivers/media/usb/s2255/s2255drv.c vc->buffer.frame[i].lpvbits = vmalloc(reqsize); buffer 1939 drivers/media/usb/s2255/s2255drv.c vc->buffer.frame[i].size = reqsize; buffer 1940 drivers/media/usb/s2255/s2255drv.c if (vc->buffer.frame[i].lpvbits == NULL) { buffer 1942 drivers/media/usb/s2255/s2255drv.c vc->buffer.dwFrames = i; buffer 1949 drivers/media/usb/s2255/s2255drv.c vc->buffer.frame[i].ulState = 0; buffer 1950 drivers/media/usb/s2255/s2255drv.c vc->buffer.frame[i].cur_size = 0; buffer 1962 drivers/media/usb/s2255/s2255drv.c vfree(vc->buffer.frame[i].lpvbits); buffer 1963 drivers/media/usb/s2255/s2255drv.c vc->buffer.frame[i].lpvbits = NULL; buffer 2121 drivers/media/usb/s2255/s2255drv.c __le32 *buffer = dev->cmdbuf; buffer 2129 drivers/media/usb/s2255/s2255drv.c vc->buffer.frame[j].ulState = 0; buffer 2130 drivers/media/usb/s2255/s2255drv.c vc->buffer.frame[j].cur_size = 0; buffer 2134 drivers/media/usb/s2255/s2255drv.c buffer[0] = IN_DATA_TOKEN; buffer 2135 drivers/media/usb/s2255/s2255drv.c buffer[1] = (__le32) cpu_to_le32(chn_rev); buffer 2136 drivers/media/usb/s2255/s2255drv.c buffer[2] = CMD_START; buffer 2137 drivers/media/usb/s2255/s2255drv.c res = s2255_write_config(dev->udev, (unsigned char *)buffer, 512); buffer 2151 drivers/media/usb/s2255/s2255drv.c __le32 *buffer = dev->cmdbuf; buffer 2156 drivers/media/usb/s2255/s2255drv.c buffer[0] = IN_DATA_TOKEN; buffer 2157 drivers/media/usb/s2255/s2255drv.c buffer[1] = (__le32) cpu_to_le32(chn_rev); buffer 2158 drivers/media/usb/s2255/s2255drv.c buffer[2] = CMD_STOP; buffer 2160 drivers/media/usb/s2255/s2255drv.c res = s2255_write_config(dev->udev, (unsigned char *)buffer, 512); buffer 206 drivers/media/usb/siano/smsusb.c static int smsusb_sendrequest(void *context, void *buffer, size_t size) buffer 217 drivers/media/usb/siano/smsusb.c phdr = kmemdup(buffer, size, GFP_KERNEL); buffer 344 drivers/media/usb/stkwebcam/stk-webcam.c fill = fb->buffer + fb->v4lbuf.bytesused; buffer 377 drivers/media/usb/stkwebcam/stk-webcam.c fill = fb->buffer; buffer 382 drivers/media/usb/stkwebcam/stk-webcam.c fill = fb->buffer; buffer 390 drivers/media/usb/stkwebcam/stk-webcam.c fill = fb->buffer; buffer 522 drivers/media/usb/stkwebcam/stk-webcam.c buf->buffer = vmalloc_user(buf->v4lbuf.length); buffer 523 drivers/media/usb/stkwebcam/stk-webcam.c if (buf->buffer == NULL) buffer 560 drivers/media/usb/stkwebcam/stk-webcam.c vfree(dev->sio_bufs[i].buffer); buffer 699 drivers/media/usb/stkwebcam/stk-webcam.c if (copy_to_user(buf, sbuf->buffer + *f_pos, count)) buffer 779 drivers/media/usb/stkwebcam/stk-webcam.c ret = remap_vmalloc_range(vma, sbuf->buffer, 0); buffer 35 drivers/media/usb/stkwebcam/stk-webcam.h char *buffer; buffer 251 drivers/media/usb/ttusb-dec/ttusb_dec.c char *buffer = dec->irq_buffer; buffer 271 drivers/media/usb/ttusb-dec/ttusb_dec.c if ((buffer[0] == 0x1) && (buffer[2] == 0x15)) { buffer 284 drivers/media/usb/ttusb-dec/ttusb_dec.c if (buffer[4] - 1 < ARRAY_SIZE(rc_keys)) { buffer 285 drivers/media/usb/ttusb-dec/ttusb_dec.c dprintk("%s:rc signal:%d\n", __func__, buffer[4]); buffer 286 drivers/media/usb/ttusb-dec/ttusb_dec.c input_report_key(dec->rc_input_dev, rc_keys[buffer[4] - 1], 1); buffer 288 drivers/media/usb/ttusb-dec/ttusb_dec.c input_report_key(dec->rc_input_dev, rc_keys[buffer[4] - 1], 0); buffer 1348 drivers/media/usb/usbvision/usbvision-core.c unsigned char *buffer = usbvision->ctrl_urb_buffer; buffer 1356 drivers/media/usb/usbvision/usbvision-core.c 0, (__u16) reg, buffer, 1, HZ); buffer 1363 drivers/media/usb/usbvision/usbvision-core.c return buffer[0]; buffer 1482 drivers/media/usb/usbvision/usbvision-core.c unsigned char buffer[6]; buffer 1492 drivers/media/usb/usbvision/usbvision-core.c buffer[0] = (unsigned char)(4 + 16 * usbvision->compr_level / 100); /* PCM Threshold 1 */ buffer 1493 drivers/media/usb/usbvision/usbvision-core.c buffer[1] = (unsigned char)(4 + 8 * usbvision->compr_level / 100); /* PCM Threshold 2 */ buffer 1495 drivers/media/usb/usbvision/usbvision-core.c buffer[2] = (unsigned char)(distortion & 0xFF); /* Average distortion Threshold (inter) */ buffer 1496 drivers/media/usb/usbvision/usbvision-core.c buffer[3] = (unsigned char)(distortion & 0xFF); /* Average distortion Threshold (intra) */ buffer 1498 drivers/media/usb/usbvision/usbvision-core.c buffer[4] = (unsigned char)(distortion & 0xFF); /* Maximum distortion Threshold (inter) */ buffer 1499 drivers/media/usb/usbvision/usbvision-core.c buffer[5] = (unsigned char)(distortion & 0xFF); /* Maximum distortion Threshold (intra) */ buffer 1501 drivers/media/usb/usbvision/usbvision-core.c buffer[0] = (unsigned char)(4 + 16 * usbvision->compr_level / 100); /* PCM threshold 1 */ buffer 1502 drivers/media/usb/usbvision/usbvision-core.c buffer[1] = (unsigned char)(4 + 8 * usbvision->compr_level / 100); /* PCM threshold 2 */ buffer 1504 drivers/media/usb/usbvision/usbvision-core.c buffer[2] = (unsigned char)(distortion & 0xFF); /* distortion threshold bit0-7 */ buffer 1505 drivers/media/usb/usbvision/usbvision-core.c buffer[3] = 0; /* (unsigned char)((distortion >> 8) & 0x0F); distortion threshold bit 8-11 */ buffer 1507 drivers/media/usb/usbvision/usbvision-core.c buffer[4] = (unsigned char)(distortion & 0xFF); /* maximum distortion bit0-7 */ buffer 1508 drivers/media/usb/usbvision/usbvision-core.c buffer[5] = 0; /* (unsigned char)((distortion >> 8) & 0x01); maximum distortion bit 8 */ buffer 1510 drivers/media/usb/usbvision/usbvision-core.c err_code = usbvision_write_reg_irq(usbvision, USBVISION_PCM_THR1, buffer, 6); buffer 1512 drivers/media/usb/usbvision/usbvision-core.c PDEBUG(DBG_IRQ, "new compr params %#02x %#02x %#02x %#02x %#02x %#02x", buffer[0], buffer 1513 drivers/media/usb/usbvision/usbvision-core.c buffer[1], buffer[2], buffer[3], buffer[4], buffer[5]); buffer 1523 drivers/media/usb/usbvision/usbvision-core.c unsigned char buffer[1]; buffer 1527 drivers/media/usb/usbvision/usbvision-core.c buffer[0] = 1; buffer 1528 drivers/media/usb/usbvision/usbvision-core.c usbvision_write_reg_irq(usbvision, USBVISION_FORCE_INTRA, buffer, 1); buffer 1534 drivers/media/usb/usbvision/usbvision-core.c unsigned char buffer[1]; buffer 1538 drivers/media/usb/usbvision/usbvision-core.c buffer[0] = 0; buffer 1539 drivers/media/usb/usbvision/usbvision-core.c usbvision_write_reg_irq(usbvision, USBVISION_FORCE_INTRA, buffer, 1); buffer 443 drivers/media/usb/uvc/uvc_driver.c u32 **intervals, unsigned char *buffer, int buflen) buffer 449 drivers/media/usb/uvc/uvc_driver.c const unsigned char *start = buffer; buffer 455 drivers/media/usb/uvc/uvc_driver.c format->type = buffer[2]; buffer 456 drivers/media/usb/uvc/uvc_driver.c format->index = buffer[3]; buffer 458 drivers/media/usb/uvc/uvc_driver.c switch (buffer[2]) { buffer 461 drivers/media/usb/uvc/uvc_driver.c n = buffer[2] == UVC_VS_FORMAT_UNCOMPRESSED ? 27 : 28; buffer 471 drivers/media/usb/uvc/uvc_driver.c fmtdesc = uvc_format_by_guid(&buffer[5]); buffer 479 drivers/media/usb/uvc/uvc_driver.c &buffer[5]); buffer 481 drivers/media/usb/uvc/uvc_driver.c &buffer[5]); buffer 485 drivers/media/usb/uvc/uvc_driver.c format->bpp = buffer[21]; buffer 516 drivers/media/usb/uvc/uvc_driver.c if (buffer[2] == UVC_VS_FORMAT_UNCOMPRESSED) { buffer 520 drivers/media/usb/uvc/uvc_driver.c if (buffer[27]) buffer 550 drivers/media/usb/uvc/uvc_driver.c switch (buffer[8] & 0x7f) { buffer 564 drivers/media/usb/uvc/uvc_driver.c alts->desc.bInterfaceNumber, buffer[8]); buffer 568 drivers/media/usb/uvc/uvc_driver.c strlcat(format->name, buffer[8] & (1 << 7) ? " 60Hz" : " 50Hz", buffer 593 drivers/media/usb/uvc/uvc_driver.c buffer[2]); buffer 599 drivers/media/usb/uvc/uvc_driver.c buflen -= buffer[0]; buffer 600 drivers/media/usb/uvc/uvc_driver.c buffer += buffer[0]; buffer 605 drivers/media/usb/uvc/uvc_driver.c while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE && buffer 606 drivers/media/usb/uvc/uvc_driver.c buffer[2] == ftype) { buffer 609 drivers/media/usb/uvc/uvc_driver.c n = buflen > 25 ? buffer[25] : 0; buffer 611 drivers/media/usb/uvc/uvc_driver.c n = buflen > 21 ? buffer[21] : 0; buffer 622 drivers/media/usb/uvc/uvc_driver.c frame->bFrameIndex = buffer[3]; buffer 623 drivers/media/usb/uvc/uvc_driver.c frame->bmCapabilities = buffer[4]; buffer 624 drivers/media/usb/uvc/uvc_driver.c frame->wWidth = get_unaligned_le16(&buffer[5]) buffer 626 drivers/media/usb/uvc/uvc_driver.c frame->wHeight = get_unaligned_le16(&buffer[7]); buffer 627 drivers/media/usb/uvc/uvc_driver.c frame->dwMinBitRate = get_unaligned_le32(&buffer[9]); buffer 628 drivers/media/usb/uvc/uvc_driver.c frame->dwMaxBitRate = get_unaligned_le32(&buffer[13]); buffer 631 drivers/media/usb/uvc/uvc_driver.c get_unaligned_le32(&buffer[17]); buffer 633 drivers/media/usb/uvc/uvc_driver.c get_unaligned_le32(&buffer[21]); buffer 634 drivers/media/usb/uvc/uvc_driver.c frame->bFrameIntervalType = buffer[25]; buffer 638 drivers/media/usb/uvc/uvc_driver.c get_unaligned_le32(&buffer[17]); buffer 639 drivers/media/usb/uvc/uvc_driver.c frame->bFrameIntervalType = buffer[21]; buffer 661 drivers/media/usb/uvc/uvc_driver.c interval = get_unaligned_le32(&buffer[26+4*i]); buffer 686 drivers/media/usb/uvc/uvc_driver.c buflen -= buffer[0]; buffer 687 drivers/media/usb/uvc/uvc_driver.c buffer += buffer[0]; buffer 690 drivers/media/usb/uvc/uvc_driver.c if (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE && buffer 691 drivers/media/usb/uvc/uvc_driver.c buffer[2] == UVC_VS_STILL_IMAGE_FRAME) { buffer 692 drivers/media/usb/uvc/uvc_driver.c buflen -= buffer[0]; buffer 693 drivers/media/usb/uvc/uvc_driver.c buffer += buffer[0]; buffer 696 drivers/media/usb/uvc/uvc_driver.c if (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE && buffer 697 drivers/media/usb/uvc/uvc_driver.c buffer[2] == UVC_VS_COLORFORMAT) { buffer 706 drivers/media/usb/uvc/uvc_driver.c format->colorspace = uvc_colorspace(buffer[3]); buffer 708 drivers/media/usb/uvc/uvc_driver.c buflen -= buffer[0]; buffer 709 drivers/media/usb/uvc/uvc_driver.c buffer += buffer[0]; buffer 712 drivers/media/usb/uvc/uvc_driver.c return buffer - start; buffer 722 drivers/media/usb/uvc/uvc_driver.c unsigned char *_buffer, *buffer = alts->extra; buffer 765 drivers/media/usb/uvc/uvc_driver.c buffer = alts->endpoint[i].extra; buffer 773 drivers/media/usb/uvc/uvc_driver.c while (buflen > 2 && buffer[1] != USB_DT_CS_INTERFACE) { buffer 774 drivers/media/usb/uvc/uvc_driver.c buflen -= buffer[0]; buffer 775 drivers/media/usb/uvc/uvc_driver.c buffer += buffer[0]; buffer 785 drivers/media/usb/uvc/uvc_driver.c switch (buffer[2]) { buffer 803 drivers/media/usb/uvc/uvc_driver.c p = buflen >= 4 ? buffer[3] : 0; buffer 804 drivers/media/usb/uvc/uvc_driver.c n = buflen >= size ? buffer[size-1] : 0; buffer 814 drivers/media/usb/uvc/uvc_driver.c streaming->header.bEndpointAddress = buffer[6]; buffer 815 drivers/media/usb/uvc/uvc_driver.c if (buffer[2] == UVC_VS_INPUT_HEADER) { buffer 816 drivers/media/usb/uvc/uvc_driver.c streaming->header.bmInfo = buffer[7]; buffer 817 drivers/media/usb/uvc/uvc_driver.c streaming->header.bTerminalLink = buffer[8]; buffer 818 drivers/media/usb/uvc/uvc_driver.c streaming->header.bStillCaptureMethod = buffer[9]; buffer 819 drivers/media/usb/uvc/uvc_driver.c streaming->header.bTriggerSupport = buffer[10]; buffer 820 drivers/media/usb/uvc/uvc_driver.c streaming->header.bTriggerUsage = buffer[11]; buffer 822 drivers/media/usb/uvc/uvc_driver.c streaming->header.bTerminalLink = buffer[7]; buffer 826 drivers/media/usb/uvc/uvc_driver.c streaming->header.bmaControls = kmemdup(&buffer[size], p * n, buffer 833 drivers/media/usb/uvc/uvc_driver.c buflen -= buffer[0]; buffer 834 drivers/media/usb/uvc/uvc_driver.c buffer += buffer[0]; buffer 836 drivers/media/usb/uvc/uvc_driver.c _buffer = buffer; buffer 905 drivers/media/usb/uvc/uvc_driver.c while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE) { buffer 906 drivers/media/usb/uvc/uvc_driver.c switch (buffer[2]) { buffer 913 drivers/media/usb/uvc/uvc_driver.c &interval, buffer, buflen); buffer 921 drivers/media/usb/uvc/uvc_driver.c buffer += ret; buffer 928 drivers/media/usb/uvc/uvc_driver.c buflen -= buffer[0]; buffer 929 drivers/media/usb/uvc/uvc_driver.c buffer += buffer[0]; buffer 997 drivers/media/usb/uvc/uvc_driver.c const unsigned char *buffer, int buflen) buffer 1007 drivers/media/usb/uvc/uvc_driver.c if (buffer[1] != 0x41 || buffer[2] != 0x01) buffer 1036 drivers/media/usb/uvc/uvc_driver.c p = buflen >= 22 ? buffer[21] : 0; buffer 1037 drivers/media/usb/uvc/uvc_driver.c n = buflen >= 25 + p ? buffer[22+p] : 0; buffer 1046 drivers/media/usb/uvc/uvc_driver.c unit = uvc_alloc_entity(UVC_VC_EXTENSION_UNIT, buffer[3], buffer 1051 drivers/media/usb/uvc/uvc_driver.c memcpy(unit->extension.guidExtensionCode, &buffer[4], 16); buffer 1052 drivers/media/usb/uvc/uvc_driver.c unit->extension.bNumControls = buffer[20]; buffer 1053 drivers/media/usb/uvc/uvc_driver.c memcpy(unit->baSourceID, &buffer[22], p); buffer 1054 drivers/media/usb/uvc/uvc_driver.c unit->extension.bControlSize = buffer[22+p]; buffer 1058 drivers/media/usb/uvc/uvc_driver.c memcpy(unit->extension.bmControls, &buffer[23+p], 2*n); buffer 1060 drivers/media/usb/uvc/uvc_driver.c if (buffer[24+p+2*n] != 0) buffer 1061 drivers/media/usb/uvc/uvc_driver.c usb_string(udev, buffer[24+p+2*n], unit->name, buffer 1064 drivers/media/usb/uvc/uvc_driver.c sprintf(unit->name, "Extension %u", buffer[3]); buffer 1075 drivers/media/usb/uvc/uvc_driver.c const unsigned char *buffer, int buflen) buffer 1084 drivers/media/usb/uvc/uvc_driver.c switch (buffer[2]) { buffer 1086 drivers/media/usb/uvc/uvc_driver.c n = buflen >= 12 ? buffer[11] : 0; buffer 1095 drivers/media/usb/uvc/uvc_driver.c dev->uvc_version = get_unaligned_le16(&buffer[3]); buffer 1096 drivers/media/usb/uvc/uvc_driver.c dev->clock_frequency = get_unaligned_le32(&buffer[7]); buffer 1100 drivers/media/usb/uvc/uvc_driver.c intf = usb_ifnum_to_if(udev, buffer[12+i]); buffer 1131 drivers/media/usb/uvc/uvc_driver.c type = get_unaligned_le16(&buffer[4]); buffer 1137 drivers/media/usb/uvc/uvc_driver.c buffer[3], type); buffer 1146 drivers/media/usb/uvc/uvc_driver.c n = buflen >= 15 ? buffer[14] : 0; buffer 1150 drivers/media/usb/uvc/uvc_driver.c n = buflen >= 9 ? buffer[8] : 0; buffer 1151 drivers/media/usb/uvc/uvc_driver.c p = buflen >= 10 + n ? buffer[9+n] : 0; buffer 1162 drivers/media/usb/uvc/uvc_driver.c term = uvc_alloc_entity(type | UVC_TERM_INPUT, buffer[3], buffer 1171 drivers/media/usb/uvc/uvc_driver.c get_unaligned_le16(&buffer[8]); buffer 1173 drivers/media/usb/uvc/uvc_driver.c get_unaligned_le16(&buffer[10]); buffer 1175 drivers/media/usb/uvc/uvc_driver.c get_unaligned_le16(&buffer[12]); buffer 1176 drivers/media/usb/uvc/uvc_driver.c memcpy(term->camera.bmControls, &buffer[15], n); buffer 1184 drivers/media/usb/uvc/uvc_driver.c memcpy(term->media.bmControls, &buffer[9], n); buffer 1185 drivers/media/usb/uvc/uvc_driver.c memcpy(term->media.bmTransportModes, &buffer[10+n], p); buffer 1188 drivers/media/usb/uvc/uvc_driver.c if (buffer[7] != 0) buffer 1189 drivers/media/usb/uvc/uvc_driver.c usb_string(udev, buffer[7], term->name, buffer 1192 drivers/media/usb/uvc/uvc_driver.c sprintf(term->name, "Camera %u", buffer[3]); buffer 1194 drivers/media/usb/uvc/uvc_driver.c sprintf(term->name, "Media %u", buffer[3]); buffer 1196 drivers/media/usb/uvc/uvc_driver.c sprintf(term->name, "Input %u", buffer[3]); buffer 1212 drivers/media/usb/uvc/uvc_driver.c type = get_unaligned_le16(&buffer[4]); buffer 1217 drivers/media/usb/uvc/uvc_driver.c alts->desc.bInterfaceNumber, buffer[3], type); buffer 1221 drivers/media/usb/uvc/uvc_driver.c term = uvc_alloc_entity(type | UVC_TERM_OUTPUT, buffer[3], buffer 1226 drivers/media/usb/uvc/uvc_driver.c memcpy(term->baSourceID, &buffer[7], 1); buffer 1228 drivers/media/usb/uvc/uvc_driver.c if (buffer[8] != 0) buffer 1229 drivers/media/usb/uvc/uvc_driver.c usb_string(udev, buffer[8], term->name, buffer 1232 drivers/media/usb/uvc/uvc_driver.c sprintf(term->name, "Output %u", buffer[3]); buffer 1238 drivers/media/usb/uvc/uvc_driver.c p = buflen >= 5 ? buffer[4] : 0; buffer 1247 drivers/media/usb/uvc/uvc_driver.c unit = uvc_alloc_entity(buffer[2], buffer[3], p + 1, 0); buffer 1251 drivers/media/usb/uvc/uvc_driver.c memcpy(unit->baSourceID, &buffer[5], p); buffer 1253 drivers/media/usb/uvc/uvc_driver.c if (buffer[5+p] != 0) buffer 1254 drivers/media/usb/uvc/uvc_driver.c usb_string(udev, buffer[5+p], unit->name, buffer 1257 drivers/media/usb/uvc/uvc_driver.c sprintf(unit->name, "Selector %u", buffer[3]); buffer 1263 drivers/media/usb/uvc/uvc_driver.c n = buflen >= 8 ? buffer[7] : 0; buffer 1273 drivers/media/usb/uvc/uvc_driver.c unit = uvc_alloc_entity(buffer[2], buffer[3], 2, n); buffer 1277 drivers/media/usb/uvc/uvc_driver.c memcpy(unit->baSourceID, &buffer[4], 1); buffer 1279 drivers/media/usb/uvc/uvc_driver.c get_unaligned_le16(&buffer[5]); buffer 1280 drivers/media/usb/uvc/uvc_driver.c unit->processing.bControlSize = buffer[7]; buffer 1282 drivers/media/usb/uvc/uvc_driver.c memcpy(unit->processing.bmControls, &buffer[8], n); buffer 1284 drivers/media/usb/uvc/uvc_driver.c unit->processing.bmVideoStandards = buffer[9+n]; buffer 1286 drivers/media/usb/uvc/uvc_driver.c if (buffer[8+n] != 0) buffer 1287 drivers/media/usb/uvc/uvc_driver.c usb_string(udev, buffer[8+n], unit->name, buffer 1290 drivers/media/usb/uvc/uvc_driver.c sprintf(unit->name, "Processing %u", buffer[3]); buffer 1296 drivers/media/usb/uvc/uvc_driver.c p = buflen >= 22 ? buffer[21] : 0; buffer 1297 drivers/media/usb/uvc/uvc_driver.c n = buflen >= 24 + p ? buffer[22+p] : 0; buffer 1306 drivers/media/usb/uvc/uvc_driver.c unit = uvc_alloc_entity(buffer[2], buffer[3], p + 1, n); buffer 1310 drivers/media/usb/uvc/uvc_driver.c memcpy(unit->extension.guidExtensionCode, &buffer[4], 16); buffer 1311 drivers/media/usb/uvc/uvc_driver.c unit->extension.bNumControls = buffer[20]; buffer 1312 drivers/media/usb/uvc/uvc_driver.c memcpy(unit->baSourceID, &buffer[22], p); buffer 1313 drivers/media/usb/uvc/uvc_driver.c unit->extension.bControlSize = buffer[22+p]; buffer 1315 drivers/media/usb/uvc/uvc_driver.c memcpy(unit->extension.bmControls, &buffer[23+p], n); buffer 1317 drivers/media/usb/uvc/uvc_driver.c if (buffer[23+p+n] != 0) buffer 1318 drivers/media/usb/uvc/uvc_driver.c usb_string(udev, buffer[23+p+n], unit->name, buffer 1321 drivers/media/usb/uvc/uvc_driver.c sprintf(unit->name, "Extension %u", buffer[3]); buffer 1328 drivers/media/usb/uvc/uvc_driver.c "descriptor (%u)\n", buffer[2]); buffer 1338 drivers/media/usb/uvc/uvc_driver.c unsigned char *buffer = alts->extra; buffer 1348 drivers/media/usb/uvc/uvc_driver.c if (uvc_parse_vendor_control(dev, buffer, buflen) || buffer 1349 drivers/media/usb/uvc/uvc_driver.c buffer[1] != USB_DT_CS_INTERFACE) buffer 1352 drivers/media/usb/uvc/uvc_driver.c if ((ret = uvc_parse_standard_control(dev, buffer, buflen)) < 0) buffer 1356 drivers/media/usb/uvc/uvc_driver.c buflen -= buffer[0]; buffer 1357 drivers/media/usb/uvc/uvc_driver.c buffer += buffer[0]; buffer 1681 drivers/media/usb/uvc/uvc_driver.c char *buffer) buffer 1685 drivers/media/usb/uvc/uvc_driver.c char *p = buffer; buffer 1701 drivers/media/usb/uvc/uvc_driver.c return p - buffer; buffer 1706 drivers/media/usb/uvc/uvc_driver.c static char buffer[43]; buffer 1707 drivers/media/usb/uvc/uvc_driver.c char *p = buffer; buffer 1713 drivers/media/usb/uvc/uvc_driver.c return buffer; buffer 2356 drivers/media/usb/uvc/uvc_driver.c static int uvc_clock_param_get(char *buffer, const struct kernel_param *kp) buffer 2359 drivers/media/usb/uvc/uvc_driver.c return sprintf(buffer, "CLOCK_MONOTONIC"); buffer 2361 drivers/media/usb/uvc/uvc_driver.c return sprintf(buffer, "CLOCK_REALTIME"); buffer 1565 drivers/media/usb/uvc/uvc_video.c if (!uvc_urb->buffer) buffer 1570 drivers/media/usb/uvc/uvc_video.c uvc_urb->buffer, uvc_urb->dma); buffer 1572 drivers/media/usb/uvc/uvc_video.c kfree(uvc_urb->buffer); buffer 1574 drivers/media/usb/uvc/uvc_video.c uvc_urb->buffer = NULL; buffer 1615 drivers/media/usb/uvc/uvc_video.c uvc_urb->buffer = usb_alloc_coherent( buffer 1619 drivers/media/usb/uvc/uvc_video.c uvc_urb->buffer = buffer 1622 drivers/media/usb/uvc/uvc_video.c if (!uvc_urb->buffer) { buffer 1738 drivers/media/usb/uvc/uvc_video.c urb->transfer_buffer = uvc_urb->buffer; buffer 1794 drivers/media/usb/uvc/uvc_video.c usb_fill_bulk_urb(urb, stream->dev->udev, pipe, uvc_urb->buffer, buffer 527 drivers/media/usb/uvc/uvcvideo.h char *buffer; buffer 165 drivers/media/usb/zr364xx/zr364xx.c struct zr364xx_bufferi buffer; buffer 492 drivers/media/usb/zr364xx/zr364xx.c tmpbuf = (const char *)cam->buffer.frame[last_frame].lpvbits; buffer 566 drivers/media/usb/zr364xx/zr364xx.c frm = &cam->buffer.frame[idx]; buffer 639 drivers/media/usb/zr364xx/zr364xx.c if (cam->cur_frame == cam->buffer.dwFrames) buffer 1081 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.frame[j].ulState = ZR364XX_READ_IDLE; buffer 1082 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.frame[j].cur_size = 0; buffer 1115 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.frame[j].ulState = ZR364XX_READ_IDLE; buffer 1116 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.frame[j].cur_size = 0; buffer 1201 drivers/media/usb/zr364xx/zr364xx.c if (cam->buffer.frame[i].lpvbits) { buffer 1202 drivers/media/usb/zr364xx/zr364xx.c DBG("vfree %p\n", cam->buffer.frame[i].lpvbits); buffer 1203 drivers/media/usb/zr364xx/zr364xx.c vfree(cam->buffer.frame[i].lpvbits); buffer 1205 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.frame[i].lpvbits = NULL; buffer 1352 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.frame[i].lpvbits = vmalloc(MAX_FRAME_SIZE); buffer 1355 drivers/media/usb/zr364xx/zr364xx.c &cam->buffer.frame[i], i, buffer 1356 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.frame[i].lpvbits); buffer 1357 drivers/media/usb/zr364xx/zr364xx.c if (!cam->buffer.frame[i].lpvbits) { buffer 1369 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.dwFrames = i; buffer 1373 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.frame[i].ulState = ZR364XX_READ_IDLE; buffer 1374 drivers/media/usb/zr364xx/zr364xx.c cam->buffer.frame[i].cur_size = 0; buffer 304 drivers/media/v4l2-core/tuner-core.c unsigned char buffer[4]; buffer 350 drivers/media/v4l2-core/tuner-core.c buffer[0] = 0x0b; buffer 351 drivers/media/v4l2-core/tuner-core.c buffer[1] = 0xdc; buffer 352 drivers/media/v4l2-core/tuner-core.c buffer[2] = 0x9c; buffer 353 drivers/media/v4l2-core/tuner-core.c buffer[3] = 0x60; buffer 354 drivers/media/v4l2-core/tuner-core.c i2c_master_send(c, buffer, 4); buffer 356 drivers/media/v4l2-core/tuner-core.c buffer[2] = 0x86; buffer 357 drivers/media/v4l2-core/tuner-core.c buffer[3] = 0x54; buffer 358 drivers/media/v4l2-core/tuner-core.c i2c_master_send(c, buffer, 4); buffer 364 drivers/media/v4l2-core/tuner-core.c buffer[0] = 0x0b; buffer 365 drivers/media/v4l2-core/tuner-core.c buffer[1] = 0xdc; buffer 366 drivers/media/v4l2-core/tuner-core.c buffer[2] = 0x86; buffer 367 drivers/media/v4l2-core/tuner-core.c buffer[3] = 0xa4; buffer 368 drivers/media/v4l2-core/tuner-core.c i2c_master_send(c, buffer, 4); buffer 651 drivers/media/v4l2-core/tuner-core.c unsigned char buffer[16]; buffer 654 drivers/media/v4l2-core/tuner-core.c memset(buffer, 0, sizeof(buffer)); buffer 655 drivers/media/v4l2-core/tuner-core.c rc = i2c_master_recv(client, buffer, sizeof(buffer)); buffer 657 drivers/media/v4l2-core/tuner-core.c pr_info("I2C RECV = %*ph\n", rc, buffer); buffer 95 drivers/memstick/core/ms_block.c size_t offset, u8 *buffer, size_t len) buffer 110 drivers/memstick/core/ms_block.c retval = memcmp(miter.addr + offset, buffer, cmplen) ? -1 : 0; buffer 114 drivers/memstick/core/ms_block.c buffer += cmplen; buffer 1253 drivers/memstick/core/ms_block.c u16 *buffer = NULL; buffer 1281 drivers/memstick/core/ms_block.c buffer = kzalloc(size_to_read, GFP_KERNEL); buffer 1282 drivers/memstick/core/ms_block.c if (!buffer) buffer 1286 drivers/memstick/core/ms_block.c sg_init_one(&sg, buffer, size_to_read); buffer 1306 drivers/memstick/core/ms_block.c u16 bad_block = be16_to_cpu(buffer[i]); buffer 1324 drivers/memstick/core/ms_block.c kfree(buffer); buffer 284 drivers/memstick/core/mspro_block.c char *buffer); buffer 288 drivers/memstick/core/mspro_block.c char *buffer) buffer 299 drivers/memstick/core/mspro_block.c buffer[rc++] = '\n'; buffer 302 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "%02x ", buffer 310 drivers/memstick/core/mspro_block.c char *buffer) buffer 332 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "class: %x\n", buffer 334 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "block size: %x\n", buffer 336 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "block count: %x\n", buffer 338 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "user block count: %x\n", buffer 340 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "page size: %x\n", buffer 342 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "assembly date: " buffer 349 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "serial number: %x\n", buffer 351 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, buffer 354 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "assembly model code: " buffer 358 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "memory maker code: %x\n", buffer 360 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "memory model code: %x\n", buffer 362 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "vcc: %x\n", buffer 364 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "vpp: %x\n", buffer 366 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "controller number: %x\n", buffer 368 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, buffer 371 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "start sector: %x\n", buffer 373 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "unit size: %x\n", buffer 375 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "sub class: %x\n", buffer 377 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "interface type: %x\n", buffer 379 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "controller code: %x\n", buffer 381 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "format type: %x\n", buffer 383 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "device type: %x\n", buffer 385 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "mspro id: %s\n", buffer 392 drivers/memstick/core/mspro_block.c char *buffer) buffer 398 drivers/memstick/core/mspro_block.c return scnprintf(buffer, PAGE_SIZE, "%s", (char *)s_attr->data); buffer 403 drivers/memstick/core/mspro_block.c char *buffer) buffer 411 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "boot partition: %x\n", buffer 413 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "start head: %x\n", buffer 415 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "start sector: %x\n", buffer 417 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "start cylinder: %x\n", buffer 419 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "partition type: %x\n", buffer 421 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "end head: %x\n", buffer 423 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "end sector: %x\n", buffer 425 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "end cylinder: %x\n", buffer 427 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "start sectors: %x\n", buffer 429 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, buffer 437 drivers/memstick/core/mspro_block.c char *buffer) buffer 451 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "name: %s\n", name); buffer 452 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "ext: %s\n", ext); buffer 453 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "attribute: %x\n", buffer 455 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "time: %d:%d:%d\n", buffer 459 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "date: %d-%d-%d\n", buffer 463 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "start cluster: %x\n", buffer 465 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "size: %x\n", buffer 472 drivers/memstick/core/mspro_block.c char *buffer) buffer 480 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "cylinders: %x\n", buffer 482 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "heads: %x\n", buffer 484 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "bytes per track: %x\n", buffer 486 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "bytes per sector: %x\n", buffer 488 drivers/memstick/core/mspro_block.c rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "sectors per track: %x\n", buffer 974 drivers/memstick/core/mspro_block.c unsigned char *buffer = NULL; buffer 1026 drivers/memstick/core/mspro_block.c buffer = kmemdup(attr, attr_len, GFP_KERNEL); buffer 1027 drivers/memstick/core/mspro_block.c if (!buffer) { buffer 1070 drivers/memstick/core/mspro_block.c memcpy(s_attr->data, buffer + addr % msb->page_size, buffer 1078 drivers/memstick/core/mspro_block.c kfree(buffer); buffer 1081 drivers/memstick/core/mspro_block.c buffer = kmalloc(attr_len, GFP_KERNEL); buffer 1082 drivers/memstick/core/mspro_block.c if (!buffer) { buffer 1088 drivers/memstick/core/mspro_block.c sg_init_one(&msb->req_sg[0], buffer, attr_len); buffer 1106 drivers/memstick/core/mspro_block.c memcpy(s_attr->data, buffer + addr % msb->page_size, buffer 1112 drivers/memstick/core/mspro_block.c kfree(buffer); buffer 327 drivers/memstick/host/r592.c unsigned char *buffer, int len) buffer 333 drivers/memstick/host/r592.c int copy_len = kfifo_in(&dev->pio_fifo, buffer, len); buffer 338 drivers/memstick/host/r592.c buffer += copy_len; buffer 349 drivers/memstick/host/r592.c r592_write_reg_raw_be(dev, R592_FIFO_PIO, *(u32 *)buffer); buffer 350 drivers/memstick/host/r592.c buffer += 4; buffer 356 drivers/memstick/host/r592.c kfifo_in(&dev->pio_fifo, buffer, len); buffer 362 drivers/memstick/host/r592.c u8 buffer[4] = { 0 }; buffer 368 drivers/memstick/host/r592.c len = kfifo_out(&dev->pio_fifo, buffer, 4); buffer 369 drivers/memstick/host/r592.c r592_write_reg_raw_be(dev, R592_FIFO_PIO, *(u32 *)buffer); buffer 378 drivers/memstick/host/r592.c unsigned char *buffer, int len) buffer 385 drivers/memstick/host/r592.c kfifo_out(&dev->pio_fifo, buffer, min(4, len)); buffer 386 drivers/memstick/host/r592.c buffer += bytes_copied; buffer 395 drivers/memstick/host/r592.c *(u32 *)buffer = r592_read_reg_raw_be(dev, R592_FIFO_PIO); buffer 396 drivers/memstick/host/r592.c buffer += 4; buffer 403 drivers/memstick/host/r592.c len -= kfifo_out(&dev->pio_fifo, buffer, len); buffer 286 drivers/message/fusion/mptbase.c SasIOUnitPage0_t *buffer; buffer 303 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, buffer 305 drivers/message/fusion/mptbase.c if (!buffer) buffer 314 drivers/message/fusion/mptbase.c if (!(buffer->PhyData[0].PortFlags & buffer 320 drivers/message/fusion/mptbase.c buffer, dma_handle); buffer 5649 drivers/message/fusion/mptbase.c pRaidVolumePage0_t buffer = NULL; buffer 5668 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, buffer 5671 drivers/message/fusion/mptbase.c if (!buffer) buffer 5680 drivers/message/fusion/mptbase.c if (!buffer->NumPhysDisks) buffer 5684 drivers/message/fusion/mptbase.c (buffer->VolumeStatus.Flags & MPI_RAIDVOL0_STATUS_FLAG_VOLUME_INACTIVE || buffer 5685 drivers/message/fusion/mptbase.c (buffer->VolumeStatus.Flags & MPI_RAIDVOL0_STATUS_FLAG_ENABLED) == 0 || buffer 5686 drivers/message/fusion/mptbase.c buffer->VolumeStatus.State == MPI_RAIDVOL0_STATUS_STATE_FAILED || buffer 5687 drivers/message/fusion/mptbase.c buffer->VolumeStatus.State == MPI_RAIDVOL0_STATUS_STATE_MISSING) ? 1 : 0; buffer 5693 drivers/message/fusion/mptbase.c for (i = 0; i < buffer->NumPhysDisks; i++) { buffer 5695 drivers/message/fusion/mptbase.c buffer->PhysDisk[i].PhysDiskNum, &phys_disk) != 0) buffer 5715 drivers/message/fusion/mptbase.c if (buffer) buffer 5716 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, buffer 5738 drivers/message/fusion/mptbase.c pRaidPhysDiskPage0_t buffer = NULL; buffer 5761 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, buffer 5764 drivers/message/fusion/mptbase.c if (!buffer) { buffer 5779 drivers/message/fusion/mptbase.c memcpy(phys_disk, buffer, sizeof(*buffer)); buffer 5780 drivers/message/fusion/mptbase.c phys_disk->MaxLBA = le32_to_cpu(buffer->MaxLBA); buffer 5784 drivers/message/fusion/mptbase.c if (buffer) buffer 5785 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, buffer 5805 drivers/message/fusion/mptbase.c pRaidPhysDiskPage1_t buffer = NULL; buffer 5828 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, buffer 5831 drivers/message/fusion/mptbase.c if (!buffer) { buffer 5845 drivers/message/fusion/mptbase.c rc = buffer->NumPhysDiskPaths; buffer 5848 drivers/message/fusion/mptbase.c if (buffer) buffer 5849 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, buffer 5874 drivers/message/fusion/mptbase.c pRaidPhysDiskPage1_t buffer = NULL; buffer 5900 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, buffer 5903 drivers/message/fusion/mptbase.c if (!buffer) { buffer 5917 drivers/message/fusion/mptbase.c phys_disk->NumPhysDiskPaths = buffer->NumPhysDiskPaths; buffer 5920 drivers/message/fusion/mptbase.c phys_disk->Path[i].PhysDiskID = buffer->Path[i].PhysDiskID; buffer 5921 drivers/message/fusion/mptbase.c phys_disk->Path[i].PhysDiskBus = buffer->Path[i].PhysDiskBus; buffer 5923 drivers/message/fusion/mptbase.c buffer->Path[i].OwnerIdentifier; buffer 5924 drivers/message/fusion/mptbase.c phys_disk->Path[i].Flags = le16_to_cpu(buffer->Path[i].Flags); buffer 5925 drivers/message/fusion/mptbase.c memcpy(&sas_address, &buffer->Path[i].WWID, sizeof(__le64)); buffer 5929 drivers/message/fusion/mptbase.c &buffer->Path[i].OwnerWWID, sizeof(__le64)); buffer 5937 drivers/message/fusion/mptbase.c if (buffer) buffer 5938 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, buffer 6807 drivers/message/fusion/mptbase.c mpt_print_ioc_summary(MPT_ADAPTER *ioc, char *buffer, int *size, int len, int showlan) buffer 6817 drivers/message/fusion/mptbase.c y = sprintf(buffer+len, "%s: %s, %s%08xh%s, Ports=%d, MaxQ=%d", buffer 6828 drivers/message/fusion/mptbase.c y += sprintf(buffer+len+y, ", LanAddr=%pMR", a); buffer 6831 drivers/message/fusion/mptbase.c y += sprintf(buffer+len+y, ", IRQ=%d", ioc->pci_irq); buffer 6834 drivers/message/fusion/mptbase.c y += sprintf(buffer+len+y, " (disabled)"); buffer 6836 drivers/message/fusion/mptbase.c y += sprintf(buffer+len+y, "\n"); buffer 657 drivers/message/fusion/mptsas.c pRaidVolumePage0_t buffer = NULL; buffer 677 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, buffer 680 drivers/message/fusion/mptsas.c if (!buffer) buffer 689 drivers/message/fusion/mptsas.c if (!buffer->NumPhysDisks) buffer 695 drivers/message/fusion/mptsas.c for (i = 0; i < buffer->NumPhysDisks; i++) { buffer 698 drivers/message/fusion/mptsas.c buffer->PhysDisk[i].PhysDiskNum, &phys_disk) != 0) buffer 743 drivers/message/fusion/mptsas.c if (buffer) buffer 744 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, buffer 1348 drivers/message/fusion/mptsas.c SasEnclosurePage0_t *buffer; buffer 1374 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, buffer 1376 drivers/message/fusion/mptsas.c if (!buffer) { buffer 1389 drivers/message/fusion/mptsas.c memcpy(&le_identifier, &buffer->EnclosureLogicalID, sizeof(__le64)); buffer 1391 drivers/message/fusion/mptsas.c enclosure->enclosure_handle = le16_to_cpu(buffer->EnclosureHandle); buffer 1392 drivers/message/fusion/mptsas.c enclosure->flags = le16_to_cpu(buffer->Flags); buffer 1393 drivers/message/fusion/mptsas.c enclosure->num_slot = le16_to_cpu(buffer->NumSlots); buffer 1394 drivers/message/fusion/mptsas.c enclosure->start_slot = le16_to_cpu(buffer->StartSlot); buffer 1395 drivers/message/fusion/mptsas.c enclosure->start_id = buffer->StartTargetID; buffer 1396 drivers/message/fusion/mptsas.c enclosure->start_channel = buffer->StartBus; buffer 1397 drivers/message/fusion/mptsas.c enclosure->sep_id = buffer->SEPTargetID; buffer 1398 drivers/message/fusion/mptsas.c enclosure->sep_channel = buffer->SEPBus; buffer 1402 drivers/message/fusion/mptsas.c buffer, dma_handle); buffer 2004 drivers/message/fusion/mptsas.c SasPhyPage1_t *buffer; buffer 2033 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, buffer 2035 drivers/message/fusion/mptsas.c if (!buffer) buffer 2045 drivers/message/fusion/mptsas.c mptsas_print_phy_pg1(ioc, buffer); buffer 2047 drivers/message/fusion/mptsas.c phy->invalid_dword_count = le32_to_cpu(buffer->InvalidDwordCount); buffer 2049 drivers/message/fusion/mptsas.c le32_to_cpu(buffer->RunningDisparityErrorCount); buffer 2051 drivers/message/fusion/mptsas.c le32_to_cpu(buffer->LossDwordSynchCount); buffer 2053 drivers/message/fusion/mptsas.c le32_to_cpu(buffer->PhyResetProblemCount); buffer 2057 drivers/message/fusion/mptsas.c buffer, dma_handle); buffer 2360 drivers/message/fusion/mptsas.c SasIOUnitPage0_t *buffer; buffer 2387 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, buffer 2389 drivers/message/fusion/mptsas.c if (!buffer) { buffer 2401 drivers/message/fusion/mptsas.c port_info->num_phys = buffer->NumPhys; buffer 2410 drivers/message/fusion/mptsas.c le16_to_cpu(buffer->NvdataVersionPersistent); buffer 2412 drivers/message/fusion/mptsas.c le16_to_cpu(buffer->NvdataVersionDefault); buffer 2415 drivers/message/fusion/mptsas.c mptsas_print_phy_data(ioc, &buffer->PhyData[i]); buffer 2418 drivers/message/fusion/mptsas.c buffer->PhyData[i].Port; buffer 2420 drivers/message/fusion/mptsas.c buffer->PhyData[i].NegotiatedLinkRate; buffer 2423 drivers/message/fusion/mptsas.c le16_to_cpu(buffer->PhyData[i].ControllerDevHandle); buffer 2428 drivers/message/fusion/mptsas.c buffer, dma_handle); buffer 2438 drivers/message/fusion/mptsas.c SasIOUnitPage1_t *buffer; buffer 2462 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, buffer 2464 drivers/message/fusion/mptsas.c if (!buffer) { buffer 2477 drivers/message/fusion/mptsas.c le16_to_cpu(buffer->IODeviceMissingDelay); buffer 2478 drivers/message/fusion/mptsas.c device_missing_delay = buffer->ReportDeviceMissingDelay; buffer 2485 drivers/message/fusion/mptsas.c buffer, dma_handle); buffer 2496 drivers/message/fusion/mptsas.c SasPhyPage0_t *buffer; buffer 2526 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, buffer 2528 drivers/message/fusion/mptsas.c if (!buffer) { buffer 2540 drivers/message/fusion/mptsas.c mptsas_print_phy_pg0(ioc, buffer); buffer 2542 drivers/message/fusion/mptsas.c phy_info->hw_link_rate = buffer->HwLinkRate; buffer 2543 drivers/message/fusion/mptsas.c phy_info->programmed_link_rate = buffer->ProgrammedLinkRate; buffer 2544 drivers/message/fusion/mptsas.c phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); buffer 2545 drivers/message/fusion/mptsas.c phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle); buffer 2549 drivers/message/fusion/mptsas.c buffer, dma_handle); buffer 2560 drivers/message/fusion/mptsas.c SasDevicePage0_t *buffer; buffer 2589 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, buffer 2591 drivers/message/fusion/mptsas.c if (!buffer) { buffer 2609 drivers/message/fusion/mptsas.c mptsas_print_device_pg0(ioc, buffer); buffer 2612 drivers/message/fusion/mptsas.c device_info->handle = le16_to_cpu(buffer->DevHandle); buffer 2613 drivers/message/fusion/mptsas.c device_info->handle_parent = le16_to_cpu(buffer->ParentDevHandle); buffer 2615 drivers/message/fusion/mptsas.c le16_to_cpu(buffer->EnclosureHandle); buffer 2616 drivers/message/fusion/mptsas.c device_info->slot = le16_to_cpu(buffer->Slot); buffer 2617 drivers/message/fusion/mptsas.c device_info->phy_id = buffer->PhyNum; buffer 2618 drivers/message/fusion/mptsas.c device_info->port_id = buffer->PhysicalPort; buffer 2619 drivers/message/fusion/mptsas.c device_info->id = buffer->TargetID; buffer 2621 drivers/message/fusion/mptsas.c device_info->channel = buffer->Bus; buffer 2622 drivers/message/fusion/mptsas.c memcpy(&sas_address, &buffer->SASAddress, sizeof(__le64)); buffer 2625 drivers/message/fusion/mptsas.c le32_to_cpu(buffer->DeviceInfo); buffer 2626 drivers/message/fusion/mptsas.c device_info->flags = le16_to_cpu(buffer->Flags); buffer 2630 drivers/message/fusion/mptsas.c buffer, dma_handle); buffer 2641 drivers/message/fusion/mptsas.c SasExpanderPage0_t *buffer; buffer 2672 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, buffer 2674 drivers/message/fusion/mptsas.c if (!buffer) { buffer 2692 drivers/message/fusion/mptsas.c port_info->num_phys = (buffer->NumPhys) ? buffer->NumPhys : 1; buffer 2700 drivers/message/fusion/mptsas.c memcpy(&sas_address, &buffer->SASAddress, sizeof(__le64)); buffer 2704 drivers/message/fusion/mptsas.c le16_to_cpu(buffer->DevHandle); buffer 2708 drivers/message/fusion/mptsas.c le16_to_cpu(buffer->ParentDevHandle); buffer 2713 drivers/message/fusion/mptsas.c buffer, dma_handle); buffer 2724 drivers/message/fusion/mptsas.c SasExpanderPage1_t *buffer; buffer 2752 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, buffer 2754 drivers/message/fusion/mptsas.c if (!buffer) { buffer 2773 drivers/message/fusion/mptsas.c mptsas_print_expander_pg1(ioc, buffer); buffer 2776 drivers/message/fusion/mptsas.c phy_info->phy_id = buffer->PhyIdentifier; buffer 2777 drivers/message/fusion/mptsas.c phy_info->port_id = buffer->PhysicalPort; buffer 2778 drivers/message/fusion/mptsas.c phy_info->negotiated_link_rate = buffer->NegotiatedLinkRate; buffer 2779 drivers/message/fusion/mptsas.c phy_info->programmed_link_rate = buffer->ProgrammedLinkRate; buffer 2780 drivers/message/fusion/mptsas.c phy_info->hw_link_rate = buffer->HwLinkRate; buffer 2781 drivers/message/fusion/mptsas.c phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); buffer 2782 drivers/message/fusion/mptsas.c phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle); buffer 2786 drivers/message/fusion/mptsas.c buffer, dma_handle); buffer 3515 drivers/message/fusion/mptsas.c struct mptsas_portinfo buffer; buffer 3523 drivers/message/fusion/mptsas.c mptsas_sas_expander_pg0(ioc, &buffer, buffer 3528 drivers/message/fusion/mptsas.c if (buffer.num_phys) { buffer 3529 drivers/message/fusion/mptsas.c kfree(buffer.phy_info); buffer 3647 drivers/message/fusion/mptsas.c struct mptsas_portinfo buffer, *port_info; buffer 3650 drivers/message/fusion/mptsas.c if ((mptsas_sas_expander_pg0(ioc, &buffer, buffer 3662 drivers/message/fusion/mptsas.c port_info->num_phys = buffer.num_phys; buffer 3663 drivers/message/fusion/mptsas.c port_info->phy_info = buffer.phy_info; buffer 3671 drivers/message/fusion/mptsas.c (unsigned long long)buffer.phy_info[0].identify.sas_address); buffer 3772 drivers/message/fusion/mptsas.c struct mptsas_portinfo buffer, *port_info; buffer 3869 drivers/message/fusion/mptsas.c while (!mptsas_sas_expander_pg0(ioc, &buffer, buffer 3874 drivers/message/fusion/mptsas.c handle = buffer.phy_info[0].handle; buffer 3875 drivers/message/fusion/mptsas.c if (buffer.phy_info[0].identify.sas_address == buffer 3879 drivers/message/fusion/mptsas.c kfree(buffer.phy_info); buffer 3898 drivers/message/fusion/mptsas.c struct mptsas_portinfo buffer, *port_info; buffer 3903 drivers/message/fusion/mptsas.c while (!mptsas_sas_expander_pg0(ioc, &buffer, buffer 3907 drivers/message/fusion/mptsas.c handle = buffer.phy_info[0].handle; buffer 3909 drivers/message/fusion/mptsas.c buffer.phy_info[0].identify.sas_address); buffer 3913 drivers/message/fusion/mptsas.c for (i = 0; i < buffer.num_phys; i++) { buffer 3916 drivers/message/fusion/mptsas.c buffer.phy_info[0].identify.handle_parent; buffer 3919 drivers/message/fusion/mptsas.c kfree(buffer.phy_info); buffer 3930 drivers/message/fusion/mptsas.c port_info->num_phys = buffer.num_phys; buffer 3931 drivers/message/fusion/mptsas.c port_info->phy_info = buffer.phy_info; buffer 3939 drivers/message/fusion/mptsas.c (unsigned long long)buffer.phy_info[0].identify.sas_address); buffer 4227 drivers/message/fusion/mptsas.c pRaidVolumePage0_t buffer = NULL; buffer 4247 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, buffer 4250 drivers/message/fusion/mptsas.c if (!buffer) buffer 4259 drivers/message/fusion/mptsas.c if (!(buffer->VolumeStatus.Flags & buffer 4263 drivers/message/fusion/mptsas.c if (!buffer->NumPhysDisks) buffer 4266 drivers/message/fusion/mptsas.c for (i = 0; i < buffer->NumPhysDisks; i++) { buffer 4269 drivers/message/fusion/mptsas.c buffer->PhysDisk[i].PhysDiskNum, &phys_disk) != 0) buffer 4293 drivers/message/fusion/mptsas.c if (buffer) buffer 4294 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, buffer 175 drivers/mfd/si476x-cmd.c u8 buffer[2]; buffer 179 drivers/mfd/si476x-cmd.c buffer, sizeof(buffer)); buffer 180 drivers/mfd/si476x-cmd.c if (err == sizeof(buffer)) { buffer 181 drivers/mfd/si476x-cmd.c switch (buffer[1]) { buffer 39 drivers/misc/altera-stapl/altera-comp.c static u32 altera_read_packed(u8 *buffer, u32 bits, u32 *bits_avail, buffer 47 drivers/misc/altera-stapl/altera-comp.c databyte = buffer[*in_index]; buffer 390 drivers/misc/altera-stapl/altera-jtag.c static void altera_concatenate_data(u8 *buffer, buffer 407 drivers/misc/altera-stapl/altera-jtag.c buffer[i >> 3L] |= (1L << (i & 7L)); buffer 409 drivers/misc/altera-stapl/altera-jtag.c buffer[i >> 3L] &= ~(u32)(1L << (i & 7L)); buffer 417 drivers/misc/altera-stapl/altera-jtag.c buffer[i >> 3L] |= (1L << (i & 7L)); buffer 419 drivers/misc/altera-stapl/altera-jtag.c buffer[i >> 3L] &= ~(u32)(1L << (i & 7L)); buffer 427 drivers/misc/altera-stapl/altera-jtag.c buffer[i >> 3L] |= (1L << (i & 7L)); buffer 429 drivers/misc/altera-stapl/altera-jtag.c buffer[i >> 3L] &= ~(u32)(1L << (i & 7L)); buffer 558 drivers/misc/altera-stapl/altera-jtag.c static void altera_extract_target_data(u8 *buffer, buffer 575 drivers/misc/altera-stapl/altera-jtag.c if (buffer[j >> 3] & (1 << (j & 7))) buffer 627 drivers/misc/c2port/core.c char *buffer, loff_t offset, size_t count) buffer 708 drivers/misc/c2port/core.c ret = c2port_read_dr(dev, buffer+i); buffer 718 drivers/misc/c2port/core.c char *buffer, loff_t offset, size_t count) buffer 728 drivers/misc/c2port/core.c ret = __c2port_read_flash_data(c2dev, buffer, offset, count); buffer 738 drivers/misc/c2port/core.c char *buffer, loff_t offset, size_t count) buffer 813 drivers/misc/c2port/core.c ret = c2port_write_dr(dev, *(buffer+i)); buffer 833 drivers/misc/c2port/core.c char *buffer, loff_t offset, size_t count) buffer 843 drivers/misc/c2port/core.c ret = __c2port_write_flash_data(c2dev, buffer, offset, count); buffer 28 drivers/misc/cxl/flash.c static unsigned long *buffer[CXL_AI_MAX_ENTRIES]; buffer 281 drivers/misc/cxl/flash.c dest = buffer[i]; buffer 286 drivers/misc/cxl/flash.c memcpy(buffer[i], header, sizeof(struct ai_header)); buffer 298 drivers/misc/cxl/flash.c le[i].phys_addr = cpu_to_be64(virt_to_phys(buffer[i])); buffer 415 drivers/misc/cxl/flash.c buffer[i] = NULL; buffer 433 drivers/misc/cxl/flash.c buffer[i] = (unsigned long *)get_zeroed_page(GFP_KERNEL); buffer 434 drivers/misc/cxl/flash.c if (!buffer[i]) { buffer 444 drivers/misc/cxl/flash.c if (buffer[i]) buffer 445 drivers/misc/cxl/flash.c free_page((unsigned long) buffer[i]); buffer 490 drivers/misc/cxl/flash.c if (buffer[i]) buffer 491 drivers/misc/cxl/flash.c free_page((unsigned long) buffer[i]); buffer 510 drivers/misc/fastrpc.c struct fastrpc_buf *buffer = dmabuf->priv; buffer 512 drivers/misc/fastrpc.c fastrpc_buf_free(buffer); buffer 519 drivers/misc/fastrpc.c struct fastrpc_buf *buffer = dmabuf->priv; buffer 526 drivers/misc/fastrpc.c ret = dma_get_sgtable(buffer->dev, &a->sgt, buffer->virt, buffer 527 drivers/misc/fastrpc.c FASTRPC_PHYS(buffer->phys), buffer->size); buffer 529 drivers/misc/fastrpc.c dev_err(buffer->dev, "failed to get scatterlist from DMA API\n"); buffer 538 drivers/misc/fastrpc.c mutex_lock(&buffer->lock); buffer 539 drivers/misc/fastrpc.c list_add(&a->node, &buffer->attachments); buffer 540 drivers/misc/fastrpc.c mutex_unlock(&buffer->lock); buffer 549 drivers/misc/fastrpc.c struct fastrpc_buf *buffer = dmabuf->priv; buffer 551 drivers/misc/fastrpc.c mutex_lock(&buffer->lock); buffer 553 drivers/misc/fastrpc.c mutex_unlock(&buffer->lock); buffer 32 drivers/misc/ibmasm/command.c cmd->buffer = kzalloc(buffer_size, GFP_KERNEL); buffer 33 drivers/misc/ibmasm/command.c if (cmd->buffer == NULL) { buffer 59 drivers/misc/ibmasm/command.c kfree(cmd->buffer); buffer 168 drivers/misc/ibmasm/command.c memcpy_fromio(cmd->buffer, response, min(size, cmd->buffer_size)); buffer 66 drivers/misc/ibmasm/dot_command.c header = (struct dot_command_header *)command->buffer; buffer 73 drivers/misc/ibmasm/dot_command.c vpd_command = command->buffer + sizeof(struct dot_command_header); buffer 120 drivers/misc/ibmasm/dot_command.c os_state_cmd = (struct os_state_command *)cmd->buffer; buffer 39 drivers/misc/ibmasm/dot_command.h static inline size_t get_dot_command_size(void *buffer) buffer 41 drivers/misc/ibmasm/dot_command.h struct dot_command_header *cmd = (struct dot_command_header *)buffer; buffer 45 drivers/misc/ibmasm/dot_command.h static inline unsigned int get_dot_command_timeout(void *buffer) buffer 47 drivers/misc/ibmasm/dot_command.h struct dot_command_header *header = (struct dot_command_header *)buffer; buffer 48 drivers/misc/ibmasm/dot_command.h unsigned char *cmd = buffer + sizeof(struct dot_command_header); buffer 45 drivers/misc/ibmasm/event.c struct event_buffer *buffer = sp->event_buffer; buffer 53 drivers/misc/ibmasm/event.c event = &buffer->events[buffer->next_index]; buffer 56 drivers/misc/ibmasm/event.c event->serial_number = buffer->next_serial_number; buffer 59 drivers/misc/ibmasm/event.c buffer->next_index = (buffer->next_index + 1) % IBMASM_NUM_EVENTS; buffer 60 drivers/misc/ibmasm/event.c buffer->next_serial_number++; buffer 79 drivers/misc/ibmasm/event.c struct event_buffer *buffer = sp->event_buffer; buffer 87 drivers/misc/ibmasm/event.c event_available(buffer, reader) || reader->cancelled)) buffer 90 drivers/misc/ibmasm/event.c if (!event_available(buffer, reader)) buffer 95 drivers/misc/ibmasm/event.c index = buffer->next_index; buffer 96 drivers/misc/ibmasm/event.c event = &buffer->events[index]; buffer 99 drivers/misc/ibmasm/event.c event = &buffer->events[index]; buffer 138 drivers/misc/ibmasm/event.c struct event_buffer *buffer; buffer 142 drivers/misc/ibmasm/event.c buffer = kmalloc(sizeof(struct event_buffer), GFP_KERNEL); buffer 143 drivers/misc/ibmasm/event.c if (!buffer) buffer 146 drivers/misc/ibmasm/event.c buffer->next_index = 0; buffer 147 drivers/misc/ibmasm/event.c buffer->next_serial_number = 1; buffer 149 drivers/misc/ibmasm/event.c event = buffer->events; buffer 153 drivers/misc/ibmasm/event.c INIT_LIST_HEAD(&buffer->readers); buffer 155 drivers/misc/ibmasm/event.c sp->event_buffer = buffer; buffer 74 drivers/misc/ibmasm/heartbeat.c struct dot_command_header *header = (struct dot_command_header *)cmd->buffer; buffer 84 drivers/misc/ibmasm/heartbeat.c memcpy_fromio(cmd->buffer, message, size); buffer 82 drivers/misc/ibmasm/ibmasm.h unsigned char *buffer; buffer 287 drivers/misc/ibmasm/ibmasmfs.c if (copy_to_user(buf, cmd->buffer, len)) { buffer 317 drivers/misc/ibmasm/ibmasmfs.c if (copy_from_user(cmd->buffer, ubuff, count)) { buffer 332 drivers/misc/ibmasm/ibmasmfs.c ibmasm_wait_for_response(cmd, get_dot_command_timeout(cmd->buffer)); buffer 30 drivers/misc/ibmasm/lowlevel.c command_size = get_dot_command_size(command->buffer); buffer 36 drivers/misc/ibmasm/lowlevel.c memcpy_toio(&message->data, command->buffer, command_size); buffer 59 drivers/misc/ibmasm/r_heartbeat.c memcpy(cmd->buffer, (void *)&rhb_dot_cmd, sizeof rhb_dot_cmd); buffer 276 drivers/misc/ibmvmc.c void *buffer = kzalloc(size, GFP_ATOMIC); buffer 278 drivers/misc/ibmvmc.c if (!buffer) { buffer 284 drivers/misc/ibmvmc.c *dma_handle = dma_map_single(&vdev->dev, buffer, size, buffer 289 drivers/misc/ibmvmc.c kzfree(buffer); buffer 293 drivers/misc/ibmvmc.c return buffer; buffer 326 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer; buffer 333 drivers/misc/ibmvmc.c buffer = hmcs[hmc_index].buffer; buffer 336 drivers/misc/ibmvmc.c if (buffer[i].valid && buffer[i].free && buffer 337 drivers/misc/ibmvmc.c buffer[i].owner == VMC_BUF_OWNER_ALPHA) { buffer 338 drivers/misc/ibmvmc.c buffer[i].free = 0; buffer 339 drivers/misc/ibmvmc.c ret_buf = &buffer[i]; buffer 359 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer; buffer 369 drivers/misc/ibmvmc.c buffer = hmcs[hmc_index].buffer; buffer 372 drivers/misc/ibmvmc.c if (buffer[i].free && buffer 373 drivers/misc/ibmvmc.c buffer[i].owner == VMC_BUF_OWNER_ALPHA) { buffer 374 drivers/misc/ibmvmc.c buffer[i].free = 0; buffer 375 drivers/misc/ibmvmc.c ret_buf = &buffer[i]; buffer 391 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer) buffer 396 drivers/misc/ibmvmc.c buffer->free = 1; buffer 411 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer; buffer 423 drivers/misc/ibmvmc.c buffer = hmcs[hmc_index].buffer; buffer 427 drivers/misc/ibmvmc.c if (buffer[i].valid) { buffer 429 drivers/misc/ibmvmc.c if (buffer[i].free) buffer 480 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer; buffer 506 drivers/misc/ibmvmc.c buffer = hmc->buffer; buffer 508 drivers/misc/ibmvmc.c if (buffer[i].valid) { buffer 511 drivers/misc/ibmvmc.c buffer[i].real_addr_local, buffer 512 drivers/misc/ibmvmc.c buffer[i].dma_addr_local); buffer 515 drivers/misc/ibmvmc.c memset(&buffer[i], 0, sizeof(struct ibmvmc_buffer)); buffer 543 drivers/misc/ibmvmc.c static int ibmvmc_send_open(struct ibmvmc_buffer *buffer, buffer 557 drivers/misc/ibmvmc.c (unsigned long)buffer->size, (unsigned long)adapter->liobn, buffer 558 drivers/misc/ibmvmc.c (unsigned long)buffer->dma_addr_local, buffer 560 drivers/misc/ibmvmc.c (unsigned long)buffer->dma_addr_remote); buffer 562 drivers/misc/ibmvmc.c rc = h_copy_rdma(buffer->size, buffer 564 drivers/misc/ibmvmc.c buffer->dma_addr_local, buffer 566 drivers/misc/ibmvmc.c buffer->dma_addr_remote); buffer 581 drivers/misc/ibmvmc.c crq_msg.var2.buffer_id = cpu_to_be16(buffer->id); buffer 778 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer, buffer 788 drivers/misc/ibmvmc.c buffer->dma_addr_local, buffer 790 drivers/misc/ibmvmc.c buffer->dma_addr_remote); buffer 803 drivers/misc/ibmvmc.c crq_msg.var2.buffer_id = cpu_to_be16(buffer->id); buffer 808 drivers/misc/ibmvmc.c buffer->owner = VMC_BUF_OWNER_HV; buffer 909 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer; buffer 973 drivers/misc/ibmvmc.c buffer = &(hmc->buffer[hmc->queue_outbound_msgs[hmc->queue_tail]]); buffer 979 drivers/misc/ibmvmc.c nbytes = min_t(size_t, nbytes, buffer->msg_len); buffer 980 drivers/misc/ibmvmc.c n = copy_to_user((void *)buf, buffer->real_addr_local, nbytes); buffer 982 drivers/misc/ibmvmc.c ibmvmc_free_hmc_buffer(hmc, buffer); buffer 1039 drivers/misc/ibmvmc.c static ssize_t ibmvmc_write(struct file *file, const char *buffer, buffer 1049 drivers/misc/ibmvmc.c const char *p = buffer; buffer 1122 drivers/misc/ibmvmc.c if (p == buffer) buffer 1132 drivers/misc/ibmvmc.c ret = p - buffer; buffer 1210 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer; buffer 1242 drivers/misc/ibmvmc.c buffer = ibmvmc_get_valid_hmc_buffer(hmc->index); buffer 1245 drivers/misc/ibmvmc.c if (!buffer || !buffer->real_addr_local) { buffer 1255 drivers/misc/ibmvmc.c memcpy(buffer->real_addr_local, hmc->hmc_id, HMC_ID_LEN); buffer 1257 drivers/misc/ibmvmc.c rc = ibmvmc_send_open(buffer, hmc); buffer 1428 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer; buffer 1459 drivers/misc/ibmvmc.c buffer = &hmcs[hmc_index].buffer[buffer_id]; buffer 1461 drivers/misc/ibmvmc.c if (buffer->real_addr_local || buffer->dma_addr_local) { buffer 1470 drivers/misc/ibmvmc.c buffer->real_addr_local = alloc_dma_buffer(to_vio_dev(adapter->dev), buffer 1472 drivers/misc/ibmvmc.c &buffer->dma_addr_local); buffer 1474 drivers/misc/ibmvmc.c if (!buffer->real_addr_local) { buffer 1482 drivers/misc/ibmvmc.c buffer->dma_addr_remote = be32_to_cpu(crq->var3.lioba); buffer 1483 drivers/misc/ibmvmc.c buffer->size = ibmvmc.max_mtu; buffer 1484 drivers/misc/ibmvmc.c buffer->owner = crq->var1.owner; buffer 1485 drivers/misc/ibmvmc.c buffer->free = 1; buffer 1488 drivers/misc/ibmvmc.c buffer->valid = 1; buffer 1489 drivers/misc/ibmvmc.c buffer->id = buffer_id; buffer 1493 drivers/misc/ibmvmc.c hmc_index, hmc_session, buffer_id, buffer->owner); buffer 1495 drivers/misc/ibmvmc.c (u32)buffer->dma_addr_local, buffer 1496 drivers/misc/ibmvmc.c (u32)buffer->dma_addr_remote); buffer 1545 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer; buffer 1567 drivers/misc/ibmvmc.c buffer = ibmvmc_get_free_hmc_buffer(adapter, hmc_index); buffer 1568 drivers/misc/ibmvmc.c if (!buffer) { buffer 1577 drivers/misc/ibmvmc.c buffer_id = buffer->id; buffer 1579 drivers/misc/ibmvmc.c if (buffer->valid) buffer 1582 drivers/misc/ibmvmc.c buffer->real_addr_local, buffer 1583 drivers/misc/ibmvmc.c buffer->dma_addr_local); buffer 1585 drivers/misc/ibmvmc.c memset(buffer, 0, sizeof(struct ibmvmc_buffer)); buffer 1598 drivers/misc/ibmvmc.c struct ibmvmc_buffer *buffer; buffer 1647 drivers/misc/ibmvmc.c buffer = &hmc->buffer[buffer_id]; buffer 1649 drivers/misc/ibmvmc.c if (buffer->valid == 0 || buffer->owner == VMC_BUF_OWNER_ALPHA) { buffer 1651 drivers/misc/ibmvmc.c buffer->valid, buffer->owner); buffer 1659 drivers/misc/ibmvmc.c buffer->dma_addr_remote, buffer 1661 drivers/misc/ibmvmc.c buffer->dma_addr_local); buffer 1666 drivers/misc/ibmvmc.c buffer->msg_len = msg_len; buffer 1667 drivers/misc/ibmvmc.c buffer->free = 0; buffer 1668 drivers/misc/ibmvmc.c buffer->owner = VMC_BUF_OWNER_ALPHA; buffer 1884 drivers/misc/ibmvmc.c &hmcs[hmc_index].buffer[buffer_id]); buffer 191 drivers/misc/ibmvmc.h struct ibmvmc_buffer buffer[MAX_BUF_POOL_SIZE]; buffer 69 drivers/misc/lattice-ecp3-config.c u8 *buffer; buffer 117 drivers/misc/lattice-ecp3-config.c buffer = kzalloc(fw->size + 8, GFP_KERNEL); buffer 118 drivers/misc/lattice-ecp3-config.c if (!buffer) { buffer 126 drivers/misc/lattice-ecp3-config.c buffer[0] = FPGA_CMD_WRITE_INC; buffer 127 drivers/misc/lattice-ecp3-config.c buffer[1] = 0xff; buffer 128 drivers/misc/lattice-ecp3-config.c buffer[2] = 0xff; buffer 129 drivers/misc/lattice-ecp3-config.c buffer[3] = 0xff; buffer 130 drivers/misc/lattice-ecp3-config.c memcpy(buffer + 4, fw->data, fw->size); buffer 158 drivers/misc/lattice-ecp3-config.c kfree(buffer); buffer 163 drivers/misc/lattice-ecp3-config.c ret = spi_write(spi, buffer, fw->size + 8); buffer 184 drivers/misc/lattice-ecp3-config.c kfree(buffer); buffer 603 drivers/misc/mei/hw-me.c static int mei_me_read_slots(struct mei_device *dev, unsigned char *buffer, buffer 606 drivers/misc/mei/hw-me.c u32 *reg_buf = (u32 *)buffer; buffer 146 drivers/mmc/core/mmc_test.c u8 *buffer; buffer 289 drivers/mmc/core/mmc_test.c u8 *buffer, unsigned addr, unsigned blksz, int write) buffer 302 drivers/mmc/core/mmc_test.c sg_init_one(&sg, buffer, blksz); buffer 634 drivers/mmc/core/mmc_test.c memset(test->buffer, 0xDF, 512); buffer 637 drivers/mmc/core/mmc_test.c test->buffer[i] = i; buffer 641 drivers/mmc/core/mmc_test.c ret = mmc_test_buffer_transfer(test, test->buffer, i, 512, 1); buffer 667 drivers/mmc/core/mmc_test.c memset(test->buffer, 0, 512); buffer 670 drivers/mmc/core/mmc_test.c ret = mmc_test_buffer_transfer(test, test->buffer, i, 512, 1); buffer 923 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, blocks * blksz); buffer 980 drivers/mmc/core/mmc_test.c memset(test->buffer, 0, sectors * 512); buffer 984 drivers/mmc/core/mmc_test.c test->buffer + i * 512, buffer 991 drivers/mmc/core/mmc_test.c if (test->buffer[i] != (u8)i) buffer 996 drivers/mmc/core/mmc_test.c if (test->buffer[i] != 0xDF) buffer 1033 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, 512); buffer 1047 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, 512); buffer 1056 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, 512); buffer 1065 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, 512); buffer 1086 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, size); buffer 1107 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, size); buffer 1121 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, i); buffer 1139 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, i); buffer 1157 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, i); buffer 1175 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer, i); buffer 1190 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer + i, 512); buffer 1205 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer + i, 512); buffer 1232 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer + i, size); buffer 1259 drivers/mmc/core/mmc_test.c sg_init_one(&sg, test->buffer + i, size); buffer 3097 drivers/mmc/core/mmc_test.c test->buffer = kzalloc(BUFFER_SIZE, GFP_KERNEL); buffer 3103 drivers/mmc/core/mmc_test.c if (test->buffer && test->highmem) { buffer 3105 drivers/mmc/core/mmc_test.c if (test->buffer) { buffer 3115 drivers/mmc/core/mmc_test.c kfree(test->buffer); buffer 27 drivers/mmc/core/sdio_cis.c char **buffer, *string; buffer 46 drivers/mmc/core/sdio_cis.c buffer = kzalloc(sizeof(char*) * nr_strings + size, GFP_KERNEL); buffer 47 drivers/mmc/core/sdio_cis.c if (!buffer) buffer 50 drivers/mmc/core/sdio_cis.c string = (char*)(buffer + nr_strings); buffer 53 drivers/mmc/core/sdio_cis.c buffer[i] = string; buffer 61 drivers/mmc/core/sdio_cis.c func->info = (const char**)buffer; buffer 64 drivers/mmc/core/sdio_cis.c card->info = (const char**)buffer; buffer 310 drivers/mmc/host/atmel-mci.c unsigned int *buffer; buffer 920 drivers/mmc/host/atmel-mci.c host->buffer[i] = swab32(host->buffer[i]); buffer 922 drivers/mmc/host/atmel-mci.c host->buffer, transfer_size); buffer 1069 drivers/mmc/host/atmel-mci.c host->buffer, host->data_size); buffer 1072 drivers/mmc/host/atmel-mci.c host->buffer[i] = swab32(host->buffer[i]); buffer 2561 drivers/mmc/host/atmel-mci.c host->buffer = dma_alloc_coherent(&pdev->dev, host->buf_size, buffer 2564 drivers/mmc/host/atmel-mci.c if (!host->buffer) { buffer 2606 drivers/mmc/host/atmel-mci.c if (host->buffer) buffer 2608 drivers/mmc/host/atmel-mci.c host->buffer, host->buf_phys_addr); buffer 188 drivers/mmc/host/davinci_mmc.c u8 *buffer; buffer 220 drivers/mmc/host/davinci_mmc.c host->buffer = sg_virt(host->sg); buffer 236 drivers/mmc/host/davinci_mmc.c p = host->buffer; buffer 265 drivers/mmc/host/davinci_mmc.c host->buffer = p; buffer 562 drivers/mmc/host/davinci_mmc.c host->buffer = NULL; buffer 1339 drivers/mmc/host/mmci.c static int mmci_pio_read(struct mmci_host *host, char *buffer, unsigned int remain) buffer 1342 drivers/mmc/host/mmci.c char *ptr = buffer; buffer 1384 drivers/mmc/host/mmci.c return ptr - buffer; buffer 1387 drivers/mmc/host/mmci.c static int mmci_pio_write(struct mmci_host *host, char *buffer, unsigned int remain, u32 status) buffer 1391 drivers/mmc/host/mmci.c char *ptr = buffer; buffer 1419 drivers/mmc/host/mmci.c return ptr - buffer; buffer 1439 drivers/mmc/host/mmci.c char *buffer; buffer 1454 drivers/mmc/host/mmci.c buffer = sg_miter->addr; buffer 1459 drivers/mmc/host/mmci.c len = mmci_pio_read(host, buffer, remain); buffer 1461 drivers/mmc/host/mmci.c len = mmci_pio_write(host, buffer, remain, status); buffer 148 drivers/mmc/host/omap.c u16 * buffer; buffer 649 drivers/mmc/host/omap.c host->buffer = sg_virt(sg); buffer 686 drivers/mmc/host/omap.c host->buffer, nwords); buffer 689 drivers/mmc/host/omap.c host->buffer, nwords); buffer 692 drivers/mmc/host/omap.c host->buffer += nwords; buffer 121 drivers/mmc/host/sdhci-acpi.c } else if (obj->type == ACPI_TYPE_BUFFER && obj->buffer.length > 0) { buffer 122 drivers/mmc/host/sdhci-acpi.c size_t len = min_t(size_t, obj->buffer.length, 4); buffer 125 drivers/mmc/host/sdhci-acpi.c memcpy(result, obj->buffer.pointer, len); buffer 128 drivers/mmc/host/sdhci-acpi.c __func__, fn, obj->type, obj->buffer.length); buffer 532 drivers/mmc/host/sdhci-pci-core.c if (obj->type != ACPI_TYPE_BUFFER || obj->buffer.length < 1) { buffer 537 drivers/mmc/host/sdhci-pci-core.c len = min_t(size_t, obj->buffer.length, 4); buffer 540 drivers/mmc/host/sdhci-pci-core.c memcpy(result, obj->buffer.pointer, len); buffer 657 drivers/mmc/host/sdhci.c static void sdhci_kunmap_atomic(void *buffer, unsigned long *flags) buffer 659 drivers/mmc/host/sdhci.c kunmap_atomic(buffer); buffer 705 drivers/mmc/host/sdhci.c char *buffer; buffer 734 drivers/mmc/host/sdhci.c buffer = sdhci_kmap_atomic(sg, &flags); buffer 735 drivers/mmc/host/sdhci.c memcpy(align, buffer, offset); buffer 736 drivers/mmc/host/sdhci.c sdhci_kunmap_atomic(buffer, &flags); buffer 784 drivers/mmc/host/sdhci.c char *buffer; buffer 808 drivers/mmc/host/sdhci.c buffer = sdhci_kmap_atomic(sg, &flags); buffer 809 drivers/mmc/host/sdhci.c memcpy(buffer, align, size); buffer 810 drivers/mmc/host/sdhci.c sdhci_kunmap_atomic(buffer, &flags); buffer 401 drivers/mmc/host/wbsd.c char *buffer; buffer 410 drivers/mmc/host/wbsd.c buffer = wbsd_map_sg(host) + host->offset; buffer 430 drivers/mmc/host/wbsd.c buffer[idx++] = inb(host->base + WBSD_DFR); buffer 440 drivers/mmc/host/wbsd.c kunmap_atomic(buffer); buffer 447 drivers/mmc/host/wbsd.c buffer = wbsd_map_sg(host); buffer 452 drivers/mmc/host/wbsd.c kunmap_atomic(buffer); buffer 466 drivers/mmc/host/wbsd.c char *buffer; buffer 476 drivers/mmc/host/wbsd.c buffer = wbsd_map_sg(host) + host->offset; buffer 496 drivers/mmc/host/wbsd.c outb(buffer[idx], host->base + WBSD_DFR); buffer 506 drivers/mmc/host/wbsd.c kunmap_atomic(buffer); buffer 513 drivers/mmc/host/wbsd.c buffer = wbsd_map_sg(host); buffer 518 drivers/mmc/host/wbsd.c kunmap_atomic(buffer); buffer 672 drivers/mtd/chips/cfi_cmdset_0020.c char *buffer; buffer 680 drivers/mtd/chips/cfi_cmdset_0020.c buffer = kmalloc(ECCBUF_SIZE, GFP_KERNEL); buffer 681 drivers/mtd/chips/cfi_cmdset_0020.c if (!buffer) buffer 691 drivers/mtd/chips/cfi_cmdset_0020.c memcpy(buffer+buflen, elem_base, elem_len); buffer 695 drivers/mtd/chips/cfi_cmdset_0020.c memcpy(buffer+buflen, elem_base, ECCBUF_SIZE-buflen); buffer 697 drivers/mtd/chips/cfi_cmdset_0020.c buffer); buffer 715 drivers/mtd/chips/cfi_cmdset_0020.c memset(buffer, 0xff, ECCBUF_SIZE); buffer 716 drivers/mtd/chips/cfi_cmdset_0020.c memcpy(buffer, elem_base + thislen, buflen); buffer 721 drivers/mtd/chips/cfi_cmdset_0020.c ret = mtd_write(mtd, to, buflen, &thislen, buffer); buffer 729 drivers/mtd/chips/cfi_cmdset_0020.c kfree(buffer); buffer 226 drivers/mtd/devices/slram.c char *buffer; buffer 235 drivers/mtd/devices/slram.c devstart = simple_strtoul(szstart, &buffer, 0); buffer 236 drivers/mtd/devices/slram.c devstart = handle_unit(devstart, buffer); buffer 239 drivers/mtd/devices/slram.c devlength = simple_strtoul(szlength, &buffer, 0); buffer 240 drivers/mtd/devices/slram.c devlength = handle_unit(devlength, buffer); buffer 246 drivers/mtd/devices/slram.c devlength = simple_strtoul(szlength + 1, &buffer, 0); buffer 247 drivers/mtd/devices/slram.c devlength = handle_unit(devlength, buffer); buffer 748 drivers/mtd/ftl.c static int ftl_read(partition_t *part, caddr_t buffer, buffer 771 drivers/mtd/ftl.c memset(buffer, 0, SECTOR_SIZE); buffer 776 drivers/mtd/ftl.c (u_char *)buffer); buffer 783 drivers/mtd/ftl.c buffer += SECTOR_SIZE; buffer 862 drivers/mtd/ftl.c static int ftl_write(partition_t *part, caddr_t buffer, buffer 911 drivers/mtd/ftl.c ret = mtd_write(part->mbd.mtd, offset, SECTOR_SIZE, &retlen, buffer); buffer 936 drivers/mtd/ftl.c buffer += SECTOR_SIZE; buffer 805 drivers/mtd/inftlcore.c char *buffer) buffer 815 drivers/mtd/inftlcore.c "buffer=%p)\n", inftl, block, buffer); buffer 818 drivers/mtd/inftlcore.c pend = buffer + SECTORSIZE; buffer 819 drivers/mtd/inftlcore.c for (p = buffer; p < pend && !*p; p++) buffer 839 drivers/mtd/inftlcore.c blockofs, SECTORSIZE, &retlen, (char *)buffer, buffer 853 drivers/mtd/inftlcore.c char *buffer) buffer 865 drivers/mtd/inftlcore.c "buffer=%p)\n", inftl, block, buffer); buffer 903 drivers/mtd/inftlcore.c memset(buffer, 0, SECTORSIZE); buffer 907 drivers/mtd/inftlcore.c int ret = mtd_read(mtd, ptr, SECTORSIZE, &retlen, buffer); buffer 17 drivers/mtd/maps/vmu-flash.c unsigned char *buffer; /* Cache */ buffer 128 drivers/mtd/maps/vmu-flash.c if (!pcache->buffer) { buffer 129 drivers/mtd/maps/vmu-flash.c pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL); buffer 130 drivers/mtd/maps/vmu-flash.c if (!pcache->buffer) { buffer 208 drivers/mtd/maps/vmu-flash.c memcpy(pcache->buffer + (card->blocklen/card->readcnt) * x, buffer 386 drivers/mtd/maps/vmu-flash.c pcache->buffer + vblock->ofs, buffer 391 drivers/mtd/maps/vmu-flash.c memcpy(buf + index, pcache->buffer + buffer 425 drivers/mtd/maps/vmu-flash.c unsigned char *buffer; buffer 446 drivers/mtd/maps/vmu-flash.c buffer = kmalloc(card->blocklen, GFP_KERNEL); buffer 447 drivers/mtd/maps/vmu-flash.c if (!buffer) { buffer 454 drivers/mtd/maps/vmu-flash.c error = maple_vmu_read_block(vblock->num, buffer, mtd); buffer 459 drivers/mtd/maps/vmu-flash.c buffer[vblock->ofs] = buf[index]; buffer 467 drivers/mtd/maps/vmu-flash.c error = maple_vmu_write_block(vblock->num, buffer, mtd); buffer 479 drivers/mtd/maps/vmu-flash.c kfree(buffer); buffer 485 drivers/mtd/maps/vmu-flash.c kfree(buffer); buffer 361 drivers/mtd/nand/onenand/omap2.c unsigned char *buffer, int offset, buffer 367 drivers/mtd/nand/onenand/omap2.c void *buf = (void *)buffer; buffer 409 drivers/mtd/nand/onenand/omap2.c const unsigned char *buffer, buffer 415 drivers/mtd/nand/onenand/omap2.c void *buf = (void *)buffer; buffer 759 drivers/mtd/nand/onenand/onenand_base.c unsigned char *buffer, int offset, size_t count) buffer 776 drivers/mtd/nand/onenand/onenand_base.c buffer[count] = (word & 0xff); buffer 779 drivers/mtd/nand/onenand/onenand_base.c memcpy(buffer, bufferram + offset, count); buffer 795 drivers/mtd/nand/onenand/onenand_base.c unsigned char *buffer, int offset, size_t count) buffer 814 drivers/mtd/nand/onenand/onenand_base.c buffer[count] = (word & 0xff); buffer 817 drivers/mtd/nand/onenand/onenand_base.c memcpy(buffer, bufferram + offset, count); buffer 835 drivers/mtd/nand/onenand/onenand_base.c const unsigned char *buffer, int offset, size_t count) buffer 856 drivers/mtd/nand/onenand/onenand_base.c word = (word & ~0xff) | buffer[count]; buffer 860 drivers/mtd/nand/onenand/onenand_base.c memcpy(bufferram + offset, buffer, count); buffer 494 drivers/mtd/nand/onenand/samsung.c unsigned char *buffer, int offset, buffer 500 drivers/mtd/nand/onenand/samsung.c memcpy(buffer, p + offset, count); buffer 505 drivers/mtd/nand/onenand/samsung.c const unsigned char *buffer, int offset, buffer 511 drivers/mtd/nand/onenand/samsung.c memcpy(p + offset, buffer, count); buffer 616 drivers/mtd/nand/onenand/samsung.c unsigned char *buffer, int offset, size_t count) buffer 620 drivers/mtd/nand/onenand/samsung.c void *buf = (void *) buffer; buffer 682 drivers/mtd/nand/onenand/samsung.c memcpy(buffer, p, count); buffer 457 drivers/mtd/nand/raw/fsmc_nand.c static int dma_xfer(struct fsmc_nand_data *host, void *buffer, int len, buffer 477 drivers/mtd/nand/raw/fsmc_nand.c dma_addr = dma_map_single(dma_dev->dev, buffer, len, direction); buffer 1950 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c u8 *buffer = nand_get_data_buf(chip); buffer 1974 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c ret = nand_read_page_op(chip, page, 12, buffer, buffer 1980 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (!memcmp(buffer, fingerprint, strlen(fingerprint))) { buffer 2010 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c u8 *buffer = nand_get_data_buf(chip); buffer 2041 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c memset(buffer, ~0, mtd->writesize); buffer 2042 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c memcpy(buffer + 12, fingerprint, strlen(fingerprint)); buffer 2053 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c status = chip->ecc.write_page_raw(chip, buffer, 0, page); buffer 137 drivers/mtd/nand/raw/hisi504_nand.c char *buffer; buffer 369 drivers/mtd/nand/raw/hisi504_nand.c return *(uint8_t *)(host->buffer + host->offset - 1); buffer 377 drivers/mtd/nand/raw/hisi504_nand.c memcpy(host->buffer + host->offset, buf, len); buffer 385 drivers/mtd/nand/raw/hisi504_nand.c memcpy(buf, host->buffer + host->offset, len); buffer 699 drivers/mtd/nand/raw/hisi504_nand.c host->buffer = dmam_alloc_coherent(host->dev, buffer 702 drivers/mtd/nand/raw/hisi504_nand.c if (!host->buffer) buffer 706 drivers/mtd/nand/raw/hisi504_nand.c memset(host->buffer, 0xff, mtd->writesize + mtd->oobsize); buffer 833 drivers/mtd/nand/raw/meson_nand.c static bool meson_nfc_is_buffer_dma_safe(const void *buffer) buffer 835 drivers/mtd/nand/raw/meson_nand.c if (virt_addr_valid(buffer) && (!object_is_on_stack(buffer))) buffer 394 drivers/mtd/nand/raw/mpc5121_nfc.c u8 *buffer, uint size, int wr) buffer 433 drivers/mtd/nand/raw/mpc5121_nfc.c buffer, blksize); buffer 435 drivers/mtd/nand/raw/mpc5121_nfc.c memcpy_fromio(buffer, buffer 438 drivers/mtd/nand/raw/mpc5121_nfc.c buffer += blksize; buffer 156 drivers/mtd/nand/raw/mtk_nand.c u8 *buffer; buffer 219 drivers/mtd/nand/raw/mtk_nand.c return nfc->buffer + i * mtk_data_len(chip); buffer 226 drivers/mtd/nand/raw/mtk_nand.c return nfc->buffer + i * mtk_data_len(chip) + chip->ecc.size; buffer 656 drivers/mtd/nand/raw/mtk_nand.c memset(nfc->buffer, 0xff, mtd->writesize + mtd->oobsize); buffer 665 drivers/mtd/nand/raw/mtk_nand.c mtk_nand->bad_mark.bm_swap(mtd, nfc->buffer, 1); buffer 686 drivers/mtd/nand/raw/mtk_nand.c memset(nfc->buffer, 0xff, mtd->writesize + mtd->oobsize); buffer 693 drivers/mtd/nand/raw/mtk_nand.c mtk_nand->bad_mark.bm_swap(mtd, nfc->buffer, 1); buffer 825 drivers/mtd/nand/raw/mtk_nand.c memcpy(nfc->buffer, buf, mtd->writesize); buffer 826 drivers/mtd/nand/raw/mtk_nand.c mtk_nand->bad_mark.bm_swap(mtd, nfc->buffer, raw); buffer 827 drivers/mtd/nand/raw/mtk_nand.c bufpoi = nfc->buffer; buffer 860 drivers/mtd/nand/raw/mtk_nand.c return mtk_nfc_write_page(mtd, chip, nfc->buffer, pg, 1); buffer 876 drivers/mtd/nand/raw/mtk_nand.c return mtk_nfc_write_page(mtd, chip, nfc->buffer, page, 1); buffer 1031 drivers/mtd/nand/raw/mtk_nand.c memset(nfc->buffer, 0xff, mtd->writesize + mtd->oobsize); buffer 1032 drivers/mtd/nand/raw/mtk_nand.c ret = mtk_nfc_read_subpage(mtd, chip, 0, mtd->writesize, nfc->buffer, buffer 1041 drivers/mtd/nand/raw/mtk_nand.c mtk_nand->bad_mark.bm_swap(mtd, nfc->buffer, 1); buffer 1319 drivers/mtd/nand/raw/mtk_nand.c nfc->buffer = devm_kzalloc(dev, len, GFP_KERNEL); buffer 1320 drivers/mtd/nand/raw/mtk_nand.c if (!nfc->buffer) buffer 1560 drivers/mtd/nand/raw/qcom_nandc.c __le32 buffer; buffer 1741 drivers/mtd/nand/raw/qcom_nandc.c u32 flash, buffer, erased_cw; buffer 1753 drivers/mtd/nand/raw/qcom_nandc.c buffer = le32_to_cpu(buf->buffer); buffer 1764 drivers/mtd/nand/raw/qcom_nandc.c if ((flash & FS_OP_ERR) && (buffer & BS_UNCORRECTABLE_BIT)) { buffer 1802 drivers/mtd/nand/raw/qcom_nandc.c stat = buffer & BS_CORRECTABLE_ERR_MSK; buffer 675 drivers/mtd/nftlcore.c char *buffer) buffer 696 drivers/mtd/nftlcore.c 512, &retlen, (char *)buffer, (char *)&oob); buffer 702 drivers/mtd/nftlcore.c char *buffer) buffer 755 drivers/mtd/nftlcore.c memset(buffer, 0, 512); buffer 759 drivers/mtd/nftlcore.c int res = mtd_read(mtd, ptr, 512, &retlen, buffer); buffer 217 drivers/mtd/sm_ftl.c static int sm_correct_sector(uint8_t *buffer, struct sm_oob *oob) buffer 221 drivers/mtd/sm_ftl.c __nand_calculate_ecc(buffer, SM_SMALL_PAGE, ecc, buffer 223 drivers/mtd/sm_ftl.c if (__nand_correct_data(buffer, ecc, oob->ecc1, SM_SMALL_PAGE, buffer 227 drivers/mtd/sm_ftl.c buffer += SM_SMALL_PAGE; buffer 229 drivers/mtd/sm_ftl.c __nand_calculate_ecc(buffer, SM_SMALL_PAGE, ecc, buffer 231 drivers/mtd/sm_ftl.c if (__nand_correct_data(buffer, ecc, oob->ecc2, SM_SMALL_PAGE, buffer 240 drivers/mtd/sm_ftl.c uint8_t *buffer, struct sm_oob *oob) buffer 250 drivers/mtd/sm_ftl.c memset(buffer, 0xFF, SM_SECTOR_SIZE); buffer 263 drivers/mtd/sm_ftl.c ops.datbuf = buffer; buffer 295 drivers/mtd/sm_ftl.c WARN_ON(buffer && ops.retlen != SM_SECTOR_SIZE); buffer 297 drivers/mtd/sm_ftl.c if (!buffer) buffer 309 drivers/mtd/sm_ftl.c (ftl->smallpagenand && sm_correct_sector(buffer, oob))) { buffer 322 drivers/mtd/sm_ftl.c uint8_t *buffer, struct sm_oob *oob) buffer 340 drivers/mtd/sm_ftl.c ops.datbuf = buffer; buffer 359 drivers/mtd/sm_ftl.c WARN_ON(buffer && ops.retlen != SM_SECTOR_SIZE); buffer 898 drivers/mtd/sm_ftl.c static void sm_cache_put(struct sm_ftl *ftl, char *buffer, int boffset) buffer 900 drivers/mtd/sm_ftl.c memcpy(ftl->cache_data + boffset, buffer, SM_SECTOR_SIZE); buffer 906 drivers/mtd/sm_ftl.c static int sm_cache_get(struct sm_ftl *ftl, char *buffer, int boffset) buffer 912 drivers/mtd/sm_ftl.c memcpy(buffer, ftl->cache_data + boffset, SM_SECTOR_SIZE); buffer 96 drivers/mtd/spi-nor/hisi-sfc.c void *buffer; buffer 285 drivers/mtd/spi-nor/hisi-sfc.c memcpy(read_buf + offset, host->buffer, trans); buffer 302 drivers/mtd/spi-nor/hisi-sfc.c memcpy(host->buffer, write_buf + offset, trans); buffer 450 drivers/mtd/spi-nor/hisi-sfc.c host->buffer = dmam_alloc_coherent(dev, HIFMC_DMA_MAX_LEN, buffer 452 drivers/mtd/spi-nor/hisi-sfc.c if (!host->buffer) buffer 264 drivers/mtd/spi-nor/mtk-quadspi.c u_char *buffer) buffer 268 drivers/mtd/spi-nor/mtk-quadspi.c u8 *buf = (u8 *)buffer; buffer 970 drivers/mtd/ubi/io.c void *p = vidb->buffer; buffer 1054 drivers/mtd/ubi/io.c void *p = vidb->buffer; buffer 1252 drivers/mtd/ubi/io.c p = vidb->buffer; buffer 164 drivers/mtd/ubi/ubi.h void *buffer; buffer 1073 drivers/mtd/ubi/ubi.h vidb->buffer = buf; buffer 1112 drivers/mtd/ubi/ubi.h kfree(vidb->buffer); buffer 377 drivers/net/arcnet/arcdevice.h #define arcnet_insb(addr, offset, buffer, count) \ buffer 378 drivers/net/arcnet/arcdevice.h insb((addr) + BUS_ALIGN * (offset), buffer, count) buffer 379 drivers/net/arcnet/arcdevice.h #define arcnet_outsb(addr, offset, buffer, count) \ buffer 380 drivers/net/arcnet/arcdevice.h outsb((addr) + BUS_ALIGN * (offset), buffer, count) buffer 80 drivers/net/bonding/bond_sysfs.c const char *buffer, size_t count) buffer 88 drivers/net/bonding/bond_sysfs.c sscanf(buffer, "%16s", command); /* IFNAMSIZ*/ buffer 143 drivers/net/bonding/bond_sysfs.c const char *buffer, size_t count) buffer 153 drivers/net/bonding/bond_sysfs.c buffer_clone = kstrndup(buffer, count, GFP_KERNEL); buffer 165 drivers/net/caif/caif_hsi.c char buffer[32]; /* Any reasonable value */ buffer 184 drivers/net/caif/caif_hsi.c fifo_occupancy = min(sizeof(buffer), fifo_occupancy); buffer 186 drivers/net/caif/caif_hsi.c ret = cfhsi->ops->cfhsi_rx(buffer, fifo_occupancy, buffer 1573 drivers/net/can/kvaser_pciefd.c __le32 *buffer = pcie->dma_data[dma_buf]; buffer 1582 drivers/net/can/kvaser_pciefd.c size = le32_to_cpu(buffer[pos++]); buffer 1588 drivers/net/can/kvaser_pciefd.c p->header[0] = le32_to_cpu(buffer[pos++]); buffer 1589 drivers/net/can/kvaser_pciefd.c p->header[1] = le32_to_cpu(buffer[pos++]); buffer 1592 drivers/net/can/kvaser_pciefd.c memcpy(×tamp, &buffer[pos], sizeof(__le64)); buffer 1599 drivers/net/can/kvaser_pciefd.c ret = kvaser_pciefd_handle_data_packet(pcie, p, &buffer[pos]); buffer 241 drivers/net/can/sja1000/peak_pci.c u8 buffer[2] = { buffer 248 drivers/net/can/sja1000/peak_pci.c .buf = buffer, buffer 494 drivers/net/can/usb/peak_usb/pcan_usb_pro.c u8 *buffer; buffer 497 drivers/net/can/usb/peak_usb/pcan_usb_pro.c buffer = kzalloc(PCAN_USBPRO_FCT_DRVLD_REQ_LEN, GFP_KERNEL); buffer 498 drivers/net/can/usb/peak_usb/pcan_usb_pro.c if (!buffer) buffer 501 drivers/net/can/usb/peak_usb/pcan_usb_pro.c buffer[0] = 0; buffer 502 drivers/net/can/usb/peak_usb/pcan_usb_pro.c buffer[1] = !!loaded; buffer 505 drivers/net/can/usb/peak_usb/pcan_usb_pro.c PCAN_USBPRO_FCT_DRVLD, buffer, buffer 507 drivers/net/can/usb/peak_usb/pcan_usb_pro.c kfree(buffer); buffer 518 drivers/net/ethernet/alacritech/slic.h __le32 buffer; buffer 109 drivers/net/ethernet/altera/altera_msgdma.c int msgdma_tx_buffer(struct altera_tse_private *priv, struct tse_buffer *buffer) buffer 111 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(lower_32_bits(buffer->dma_addr), priv->tx_dma_desc, buffer 113 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(upper_32_bits(buffer->dma_addr), priv->tx_dma_desc, buffer 117 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(buffer->len, priv->tx_dma_desc, msgdma_descroffs(len)); buffer 40 drivers/net/ethernet/altera/altera_sgdma.c queue_tx(struct altera_tse_private *priv, struct tse_buffer *buffer); buffer 43 drivers/net/ethernet/altera/altera_sgdma.c queue_rx(struct altera_tse_private *priv, struct tse_buffer *buffer); buffer 167 drivers/net/ethernet/altera/altera_sgdma.c int sgdma_tx_buffer(struct altera_tse_private *priv, struct tse_buffer *buffer) buffer 182 drivers/net/ethernet/altera/altera_sgdma.c buffer->dma_addr, /* address of packet to xmit */ buffer 184 drivers/net/ethernet/altera/altera_sgdma.c buffer->len, /* length of packet */ buffer 192 drivers/net/ethernet/altera/altera_sgdma.c queue_tx(priv, buffer); buffer 445 drivers/net/ethernet/altera/altera_sgdma.c queue_tx(struct altera_tse_private *priv, struct tse_buffer *buffer) buffer 447 drivers/net/ethernet/altera/altera_sgdma.c list_add_tail(&buffer->lh, &priv->txlisthd); buffer 456 drivers/net/ethernet/altera/altera_sgdma.c queue_rx(struct altera_tse_private *priv, struct tse_buffer *buffer) buffer 458 drivers/net/ethernet/altera/altera_sgdma.c list_add_tail(&buffer->lh, &priv->rxlisthd); buffer 469 drivers/net/ethernet/altera/altera_sgdma.c struct tse_buffer *buffer = NULL; buffer 470 drivers/net/ethernet/altera/altera_sgdma.c list_remove_head(&priv->txlisthd, buffer, struct tse_buffer, lh); buffer 471 drivers/net/ethernet/altera/altera_sgdma.c return buffer; buffer 482 drivers/net/ethernet/altera/altera_sgdma.c struct tse_buffer *buffer = NULL; buffer 483 drivers/net/ethernet/altera/altera_sgdma.c list_remove_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); buffer 484 drivers/net/ethernet/altera/altera_sgdma.c return buffer; buffer 496 drivers/net/ethernet/altera/altera_sgdma.c struct tse_buffer *buffer = NULL; buffer 497 drivers/net/ethernet/altera/altera_sgdma.c list_peek_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); buffer 498 drivers/net/ethernet/altera/altera_sgdma.c return buffer; buffer 252 drivers/net/ethernet/altera/altera_tse_main.c struct tse_buffer *buffer) buffer 254 drivers/net/ethernet/altera/altera_tse_main.c if (buffer->dma_addr) { buffer 255 drivers/net/ethernet/altera/altera_tse_main.c if (buffer->mapped_as_page) buffer 256 drivers/net/ethernet/altera/altera_tse_main.c dma_unmap_page(priv->device, buffer->dma_addr, buffer 257 drivers/net/ethernet/altera/altera_tse_main.c buffer->len, DMA_TO_DEVICE); buffer 259 drivers/net/ethernet/altera/altera_tse_main.c dma_unmap_single(priv->device, buffer->dma_addr, buffer 260 drivers/net/ethernet/altera/altera_tse_main.c buffer->len, DMA_TO_DEVICE); buffer 261 drivers/net/ethernet/altera/altera_tse_main.c buffer->dma_addr = 0; buffer 263 drivers/net/ethernet/altera/altera_tse_main.c if (buffer->skb) { buffer 264 drivers/net/ethernet/altera/altera_tse_main.c dev_kfree_skb_any(buffer->skb); buffer 265 drivers/net/ethernet/altera/altera_tse_main.c buffer->skb = NULL; buffer 562 drivers/net/ethernet/altera/altera_tse_main.c struct tse_buffer *buffer = NULL; buffer 584 drivers/net/ethernet/altera/altera_tse_main.c buffer = &priv->tx_ring[entry]; buffer 594 drivers/net/ethernet/altera/altera_tse_main.c buffer->skb = skb; buffer 595 drivers/net/ethernet/altera/altera_tse_main.c buffer->dma_addr = dma_addr; buffer 596 drivers/net/ethernet/altera/altera_tse_main.c buffer->len = nopaged_len; buffer 598 drivers/net/ethernet/altera/altera_tse_main.c priv->dmaops->tx_buffer(priv, buffer); buffer 171 drivers/net/ethernet/amd/am79c961a.c unsigned char *buffer = kmalloc (65536, GFP_KERNEL); buffer 174 drivers/net/ethernet/amd/am79c961a.c if (!buffer) buffer 176 drivers/net/ethernet/amd/am79c961a.c memset (buffer, val, 65536); buffer 177 drivers/net/ethernet/amd/am79c961a.c am_writebuffer(dev, 0, buffer, 65536); buffer 178 drivers/net/ethernet/amd/am79c961a.c memset (buffer, val ^ 255, 65536); buffer 179 drivers/net/ethernet/amd/am79c961a.c am_readbuffer(dev, 0, buffer, 65536); buffer 181 drivers/net/ethernet/amd/am79c961a.c if (buffer[i] != val && !error) { buffer 182 drivers/net/ethernet/amd/am79c961a.c printk ("%s: buffer error (%02X %02X) %05X - ", dev->name, val, buffer[i], i); buffer 185 drivers/net/ethernet/amd/am79c961a.c } else if (error && buffer[i] == val) { buffer 192 drivers/net/ethernet/amd/am79c961a.c kfree (buffer); buffer 733 drivers/net/ethernet/amd/ni65.c unsigned long buffer[TMDNUM]; buffer 751 drivers/net/ethernet/amd/ni65.c buffer[i] = (u32) isa_bus_to_virt(tmdp->u.buffer); buffer 765 drivers/net/ethernet/amd/ni65.c p->tmdhead[i].u.buffer = (u32) isa_virt_to_bus((char *)buffer[num]); /* status is part of buffer field */ buffer 825 drivers/net/ethernet/amd/ni65.c tmdp->u.buffer = 0x0; buffer 834 drivers/net/ethernet/amd/ni65.c rmdp->u.buffer = (u32) isa_virt_to_bus(p->recv_skb[i]->data); buffer 836 drivers/net/ethernet/amd/ni65.c rmdp->u.buffer = (u32) isa_virt_to_bus(p->recvbounce[i]); buffer 1101 drivers/net/ethernet/amd/ni65.c rmdp->u.buffer = (u32) isa_virt_to_bus(skb->data); buffer 1184 drivers/net/ethernet/amd/ni65.c tmdp->u.buffer = (u32) isa_virt_to_bus(p->tmdbounce[p->tmdbouncenum]); buffer 1193 drivers/net/ethernet/amd/ni65.c tmdp->u.buffer = (u32) isa_virt_to_bus(skb->data); buffer 101 drivers/net/ethernet/amd/ni65.h volatile u32 buffer; buffer 113 drivers/net/ethernet/amd/ni65.h volatile u32 buffer; buffer 124 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgbe_common_read(char __user *buffer, size_t count, buffer 142 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); buffer 148 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgbe_common_write(const char __user *buffer, size_t count, buffer 162 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c buffer, count); buffer 174 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgmac_reg_addr_read(struct file *filp, char __user *buffer, buffer 179 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xgmac_reg); buffer 183 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c const char __user *buffer, buffer 188 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_write(buffer, count, ppos, buffer 192 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer, buffer 200 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_read(buffer, count, ppos, value); buffer 204 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c const char __user *buffer, buffer 211 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c len = xgbe_common_write(buffer, count, ppos, &value); buffer 234 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer, buffer 239 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xpcs_mmd); buffer 242 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_mmd_write(struct file *filp, const char __user *buffer, buffer 247 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_write(buffer, count, ppos, buffer 251 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer, buffer 256 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xpcs_reg); buffer 259 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_reg_addr_write(struct file *filp, const char __user *buffer, buffer 264 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_write(buffer, count, ppos, buffer 268 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_reg_value_read(struct file *filp, char __user *buffer, buffer 277 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_read(buffer, count, ppos, value); buffer 281 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c const char __user *buffer, buffer 288 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c len = xgbe_common_write(buffer, count, ppos, &value); buffer 319 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xprop_reg_addr_read(struct file *filp, char __user *buffer, buffer 324 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xprop_reg); buffer 328 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c const char __user *buffer, buffer 333 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_write(buffer, count, ppos, buffer 337 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xprop_reg_value_read(struct file *filp, char __user *buffer, buffer 345 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_read(buffer, count, ppos, value); buffer 349 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c const char __user *buffer, buffer 356 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c len = xgbe_common_write(buffer, count, ppos, &value); buffer 379 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xi2c_reg_addr_read(struct file *filp, char __user *buffer, buffer 384 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xi2c_reg); buffer 388 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c const char __user *buffer, buffer 393 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_write(buffer, count, ppos, buffer 397 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xi2c_reg_value_read(struct file *filp, char __user *buffer, buffer 405 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c return xgbe_common_read(buffer, count, ppos, value); buffer 409 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c const char __user *buffer, buffer 416 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c len = xgbe_common_write(buffer, count, ppos, &value); buffer 2979 drivers/net/ethernet/amd/xgbe/xgbe-drv.c unsigned char buffer[128]; buffer 2995 drivers/net/ethernet/amd/xgbe/xgbe-drv.c buffer, sizeof(buffer), false); buffer 2996 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netdev_dbg(netdev, " %#06x: %s\n", i, buffer); buffer 1560 drivers/net/ethernet/apple/bmac.c bmac_proc_info(char *buffer, char **start, off_t offset, int length) buffer 1570 drivers/net/ethernet/apple/bmac.c len += sprintf(buffer, "BMAC counters & registers\n"); buffer 1573 drivers/net/ethernet/apple/bmac.c len += sprintf(buffer + len, "%s: %#08x\n", buffer 1586 drivers/net/ethernet/apple/bmac.c *start = buffer + (offset - begin); buffer 584 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 buffer) buffer 586 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPB_RXBHI_THRESH_ADR(buffer), buffer 594 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 buffer) buffer 596 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPB_RXBLO_THRESH_ADR(buffer), buffer 631 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 rx_pkt_buff_size_per_tc, u32 buffer) buffer 633 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPB_RXBBUF_SIZE_ADR(buffer), buffer 640 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 buffer) buffer 642 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPB_RXBXOFF_EN_ADR(buffer), buffer 1304 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 buffer) buffer 1306 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_TPB_TXBHI_THRESH_ADR(buffer), buffer 1314 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 buffer) buffer 1316 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_TPB_TXBLO_THRESH_ADR(buffer), buffer 1331 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 tx_pkt_buff_size_per_tc, u32 buffer) buffer 1333 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_TPB_TXBBUF_SIZE_ADR(buffer), buffer 301 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 buffer); buffer 306 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 buffer); buffer 314 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 buffer); buffer 324 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 buffer); buffer 614 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 buffer); buffer 619 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 buffer); buffer 626 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 tx_pkt_buff_size_per_tc, u32 buffer); buffer 600 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPB_RXBHI_THRESH_ADR(buffer) (0x00005714 + (buffer) * 0x10) buffer 619 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPB_RXBLO_THRESH_ADR(buffer) (0x00005714 + (buffer) * 0x10) buffer 656 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPB_RXBBUF_SIZE_ADR(buffer) (0x00005710 + (buffer) * 0x10) buffer 675 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPB_RXBXOFF_EN_ADR(buffer) (0x00005714 + (buffer) * 0x10) buffer 2015 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_TPB_TXBHI_THRESH_ADR(buffer) (0x00007914 + (buffer) * 0x10) buffer 2034 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_TPB_TXBLO_THRESH_ADR(buffer) (0x00007914 + (buffer) * 0x10) buffer 2071 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_TPB_TXBBUF_SIZE_ADR(buffer) (0x00007910 + (buffer) * 0x10) buffer 1058 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c void *buffer) buffer 1060 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u32 *p = buffer; buffer 1213 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c void *buffer, buffer 1221 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bnx2x_add_tlv(bp, buffer, *offset, CHANNEL_TLV_PHYS_PORT_ID, buffer 1225 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c (((u8 *)buffer) + *offset); buffer 1236 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c void *buffer, buffer 1241 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bnx2x_add_tlv(bp, buffer, *offset, CHANNEL_TLV_FP_HSI_SUPPORT, buffer 1245 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c (((u8 *)buffer) + *offset); buffer 21 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c char __user *buffer, buffer 53 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); buffer 17 drivers/net/ethernet/brocade/bna/bfa_cee.c static void bfa_cee_format_cee_cfg(void *buffer); buffer 20 drivers/net/ethernet/brocade/bna/bfa_cee.c bfa_cee_format_cee_cfg(void *buffer) buffer 22 drivers/net/ethernet/brocade/bna/bfa_cee.c struct bfa_cee_attr *cee_cfg = buffer; buffer 29 drivers/net/ethernet/brocade/bna/bfa_cee.c u32 *buffer = (u32 *)stats; buffer 34 drivers/net/ethernet/brocade/bna/bfa_cee.c buffer[i] = ntohl(buffer[i]); buffer 137 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_get_debug_drvinfo(struct bnad *bnad, void *buffer, u32 len) buffer 139 drivers/net/ethernet/brocade/bna/bnad_debugfs.c struct bnad_drvinfo *drvinfo = (struct bnad_drvinfo *) buffer; buffer 39 drivers/net/ethernet/cavium/liquidio/octeon_console.c char *buffer, u32 buf_size); buffer 759 drivers/net/ethernet/cavium/liquidio/octeon_console.c char *buffer, u32 buf_size) buffer 795 drivers/net/ethernet/cavium/liquidio/octeon_console.c (u8 *)buffer, bytes_to_read); buffer 821 drivers/net/ethernet/cavium/liquidio/octeon_device.h char *buffer, u32 write_request_size, u32 flags); buffer 157 drivers/net/ethernet/cavium/liquidio/octeon_droq.c recv_buffer_destroy(droq->recv_buf_list[i].buffer, buffer 160 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->recv_buf_list[i].buffer = NULL; buffer 184 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->recv_buf_list[i].buffer = buf; buffer 188 drivers/net/ethernet/cavium/liquidio/octeon_droq.c lio_map_ring(droq->recv_buf_list[i].buffer); buffer 376 drivers/net/ethernet/cavium/liquidio/octeon_droq.c recv_pkt->buffer_ptr[i] = droq->recv_buf_list[idx].buffer; buffer 377 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->recv_buf_list[idx].buffer = NULL; buffer 400 drivers/net/ethernet/cavium/liquidio/octeon_droq.c if (droq->recv_buf_list[refill_index].buffer) { buffer 401 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->recv_buf_list[droq->refill_idx].buffer = buffer 402 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->recv_buf_list[refill_index].buffer; buffer 407 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->recv_buf_list[refill_index].buffer = NULL; buffer 415 drivers/net/ethernet/cavium/liquidio/octeon_droq.c } while (droq->recv_buf_list[droq->refill_idx].buffer); buffer 448 drivers/net/ethernet/cavium/liquidio/octeon_droq.c if (!droq->recv_buf_list[droq->refill_idx].buffer) { buffer 465 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->recv_buf_list[droq->refill_idx].buffer = buffer 470 drivers/net/ethernet/cavium/liquidio/octeon_droq.c [droq->refill_idx].buffer); buffer 477 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->refill_idx].buffer); buffer 643 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->read_idx].buffer; buffer 648 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->recv_buf_list[droq->read_idx].buffer = buffer 675 drivers/net/ethernet/cavium/liquidio/octeon_droq.c idx].buffer; buffer 677 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->recv_buf_list[idx].buffer buffer 82 drivers/net/ethernet/cavium/liquidio/octeon_droq.h void *buffer; buffer 391 drivers/net/ethernet/cavium/liquidio/octeon_network.h recv_buffer_destroy(void *buffer, struct octeon_skb_page_info *pg_info) buffer 393 drivers/net/ethernet/cavium/liquidio/octeon_network.h struct sk_buff *skb = (struct sk_buff *)buffer; buffer 404 drivers/net/ethernet/cavium/liquidio/octeon_network.h static inline void recv_buffer_free(void *buffer) buffer 406 drivers/net/ethernet/cavium/liquidio/octeon_network.h struct sk_buff *skb = (struct sk_buff *)buffer; buffer 418 drivers/net/ethernet/cavium/liquidio/octeon_network.h dev_kfree_skb_any((struct sk_buff *)buffer); buffer 422 drivers/net/ethernet/cavium/liquidio/octeon_network.h recv_buffer_fast_free(void *buffer) buffer 424 drivers/net/ethernet/cavium/liquidio/octeon_network.h dev_kfree_skb_any((struct sk_buff *)buffer); buffer 427 drivers/net/ethernet/cavium/liquidio/octeon_network.h static inline void tx_buffer_free(void *buffer) buffer 429 drivers/net/ethernet/cavium/liquidio/octeon_network.h dev_kfree_skb_any((struct sk_buff *)buffer); buffer 495 drivers/net/ethernet/cavium/liquidio/octeon_network.h skb_put_data(nicbuf, get_rbd(droq->recv_buf_list[idx].buffer), buffer 256 drivers/net/ethernet/cirrus/cs89x0.c get_eeprom_data(struct net_device *dev, int off, int len, int *buffer) buffer 268 drivers/net/ethernet/cirrus/cs89x0.c buffer[i] = readreg(dev, PP_EEData); buffer 269 drivers/net/ethernet/cirrus/cs89x0.c cs89_dbg(3, cont, " %04x", buffer[i]); buffer 276 drivers/net/ethernet/cirrus/cs89x0.c get_eeprom_cksum(int off, int len, int *buffer) buffer 282 drivers/net/ethernet/cirrus/cs89x0.c cksum += buffer[i]; buffer 1151 drivers/net/ethernet/cortina/gemini.c void *buffer; buffer 1183 drivers/net/ethernet/cortina/gemini.c buffer = skb->data; buffer 1187 drivers/net/ethernet/cortina/gemini.c buffer = skb_frag_address(skb_frag); buffer 1196 drivers/net/ethernet/cortina/gemini.c mapping = dma_map_single(geth->dev, buffer, buflen, buffer 158 drivers/net/ethernet/dec/tulip/xircom_cb.c char buffer[64]; buffer 159 drivers/net/ethernet/dec/tulip/xircom_cb.c memset(buffer,0,64); buffer 163 drivers/net/ethernet/dec/tulip/xircom_cb.c buffer[i2++]='1'; buffer 165 drivers/net/ethernet/dec/tulip/xircom_cb.c buffer[i2++]='0'; buffer 167 drivers/net/ethernet/dec/tulip/xircom_cb.c buffer[i2++]=' '; buffer 169 drivers/net/ethernet/dec/tulip/xircom_cb.c pr_debug("%s\n",buffer); buffer 241 drivers/net/ethernet/fealnx.c u32 buffer; buffer 1073 drivers/net/ethernet/fealnx.c np->lack_rxbuf->buffer = pci_map_single(np->pci_dev, skb->data, buffer 1268 drivers/net/ethernet/fealnx.c np->rx_ring[i].buffer = pci_map_single(np->pci_dev, skb->data, buffer 1307 drivers/net/ethernet/fealnx.c np->cur_tx_copy->buffer = pci_map_single(np->pci_dev, skb->data, buffer 1323 drivers/net/ethernet/fealnx.c np->cur_tx_copy->buffer = pci_map_single(np->pci_dev, skb->data, buffer 1338 drivers/net/ethernet/fealnx.c next->buffer = pci_map_single(ep->pci_dev, skb->data + BPT, buffer 1347 drivers/net/ethernet/fealnx.c np->cur_tx_copy->buffer = pci_map_single(np->pci_dev, skb->data, buffer 1388 drivers/net/ethernet/fealnx.c pci_unmap_single(np->pci_dev, cur->buffer, buffer 1532 drivers/net/ethernet/fealnx.c pci_unmap_single(np->pci_dev, np->cur_tx->buffer, buffer 1700 drivers/net/ethernet/fealnx.c np->cur_rx->buffer, buffer 1714 drivers/net/ethernet/fealnx.c np->cur_rx->buffer, buffer 1719 drivers/net/ethernet/fealnx.c np->cur_rx->buffer, buffer 1914 drivers/net/ethernet/fealnx.c pci_unmap_single(np->pci_dev, np->rx_ring[i].buffer, buffer 1925 drivers/net/ethernet/fealnx.c pci_unmap_single(np->pci_dev, np->tx_ring[i].buffer, buffer 284 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c static ssize_t hns3_dbg_cmd_read(struct file *filp, char __user *buffer, buffer 303 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c uncopy_bytes = copy_to_user(buffer, buf, len); buffer 313 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c static ssize_t hns3_dbg_cmd_write(struct file *filp, const char __user *buffer, buffer 337 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c uncopied_bytes = copy_from_user(cmd_buf, buffer, count); buffer 254 drivers/net/ethernet/i825xx/ether1.c unsigned char *buffer = kmalloc (BUFFER_SIZE, GFP_KERNEL); buffer 260 drivers/net/ethernet/i825xx/ether1.c if (!buffer) buffer 263 drivers/net/ethernet/i825xx/ether1.c memset (buffer, byte, BUFFER_SIZE); buffer 264 drivers/net/ethernet/i825xx/ether1.c ether1_writebuffer (dev, buffer, 0, BUFFER_SIZE); buffer 265 drivers/net/ethernet/i825xx/ether1.c memset (buffer, byte ^ 0xff, BUFFER_SIZE); buffer 266 drivers/net/ethernet/i825xx/ether1.c ether1_readbuffer (dev, buffer, 0, BUFFER_SIZE); buffer 269 drivers/net/ethernet/i825xx/ether1.c if (buffer[i] != byte) { buffer 270 drivers/net/ethernet/i825xx/ether1.c if (max_errors >= 0 && bad != buffer[i]) { buffer 274 drivers/net/ethernet/i825xx/ether1.c dev->name, buffer[i], byte, i); buffer 277 drivers/net/ethernet/i825xx/ether1.c bad = buffer[i]; buffer 293 drivers/net/ethernet/i825xx/ether1.c kfree (buffer); buffer 599 drivers/net/ethernet/i825xx/sun3_82586.c p->xmit_buffs[i]->buffer = make24((p->xmit_cbuffs[i])); buffer 667 drivers/net/ethernet/i825xx/sun3_82586.c rbd[i].buffer = make24(ptr); buffer 786 drivers/net/ethernet/i825xx/sun3_82586.c skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); buffer 166 drivers/net/ethernet/i825xx/sun3_82586.h char *buffer; /* receive buffer address pointer */ buffer 311 drivers/net/ethernet/i825xx/sun3_82586.h char *buffer; /* pointer to buffer */ buffer 14 drivers/net/ethernet/intel/e1000e/manage.c static u8 e1000_calculate_checksum(u8 *buffer, u32 length) buffer 19 drivers/net/ethernet/intel/e1000e/manage.c if (!buffer) buffer 23 drivers/net/ethernet/intel/e1000e/manage.c sum += buffer[i]; buffer 95 drivers/net/ethernet/intel/e1000e/manage.c u32 *buffer = (u32 *)&hw->mng_cookie; buffer 121 drivers/net/ethernet/intel/e1000e/manage.c *(buffer + i) = E1000_READ_REG_ARRAY(hw, E1000_HOST_IF, buffer 181 drivers/net/ethernet/intel/e1000e/manage.c static s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, buffer 185 drivers/net/ethernet/intel/e1000e/manage.c u8 *bufptr = buffer; buffer 249 drivers/net/ethernet/intel/e1000e/manage.c s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) buffer 267 drivers/net/ethernet/intel/e1000e/manage.c ret_val = e1000_mng_host_if_write(hw, buffer, length, buffer 9 drivers/net/ethernet/intel/e1000e/manage.h s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length); buffer 12 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c static void fm10k_fifo_init(struct fm10k_mbx_fifo *fifo, u32 *buffer, u16 size) buffer 14 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c fifo->buffer = buffer; buffer 85 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c u32 *head = fifo->buffer + fm10k_fifo_head_offset(fifo, 0); buffer 216 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c u32 *tail = mbx->rx.buffer + fm10k_fifo_tail_offset(&mbx->rx, 0); buffer 240 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c u32 *tail = fifo->buffer + end; buffer 247 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c memcpy(fifo->buffer, msg + end, (len - end) << 2); buffer 308 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c msg = fifo->buffer + fm10k_fifo_tail_offset(fifo, total_len); buffer 335 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c u32 *head = fifo->buffer; buffer 356 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c for (end = fifo->size - end; len; head = fifo->buffer) { buffer 428 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c u32 *tail = fifo->buffer; buffer 442 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c for (end = fifo->size - end; len; tail = fifo->buffer) { buffer 591 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c u32 *data = fifo->buffer + offset; buffer 599 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c data = fifo->buffer; buffer 711 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c err = fm10k_tlv_msg_parse(hw, fifo->buffer + fifo->head, buffer 720 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c memmove(fifo->buffer, fifo->buffer + fifo->tail, mbx->pushed << 2); buffer 1438 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c if (!mbx->rx.buffer) buffer 1607 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c fm10k_fifo_init(&mbx->tx, mbx->buffer, FM10K_MBX_TX_BUFFER_SIZE); buffer 1608 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c fm10k_fifo_init(&mbx->rx, &mbx->buffer[FM10K_MBX_TX_BUFFER_SIZE], buffer 1696 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c if (!mbx->rx.buffer) buffer 1935 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c msg = fifo->buffer + fm10k_fifo_head_offset(fifo, len); buffer 2165 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c fm10k_fifo_init(&mbx->tx, mbx->buffer, FM10K_MBX_TX_BUFFER_SIZE); buffer 2166 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c fm10k_fifo_init(&mbx->rx, &mbx->buffer[FM10K_MBX_TX_BUFFER_SIZE], buffer 230 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h u32 *buffer; buffer 286 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h u32 buffer[FM10K_MBX_BUFFER_SIZE]; buffer 261 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_rx_buffer *buffer = &rx_ring->rx_buffer[i]; buffer 263 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (!buffer->page) buffer 266 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dma_unmap_page(rx_ring->dev, buffer->dma, buffer 268 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c __free_page(buffer->page); buffer 270 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c buffer->page = NULL; buffer 282 drivers/net/ethernet/intel/i40e/i40e_common.c void *buffer, u16 buf_len) buffer 288 drivers/net/ethernet/intel/i40e/i40e_common.c u8 *buf = (u8 *)buffer; buffer 314 drivers/net/ethernet/intel/i40e/i40e_common.c if (buffer && buf_len != 0 && len != 0 && buffer 63 drivers/net/ethernet/intel/i40e/i40e_debugfs.c static ssize_t i40e_dbg_command_read(struct file *filp, char __user *buffer, buffer 86 drivers/net/ethernet/intel/i40e/i40e_debugfs.c bytes_not_copied = copy_to_user(buffer, buf, len); buffer 700 drivers/net/ethernet/intel/i40e/i40e_debugfs.c const char __user *buffer, buffer 719 drivers/net/ethernet/intel/i40e/i40e_debugfs.c bytes_not_copied = copy_from_user(cmd_buf, buffer, count); buffer 1572 drivers/net/ethernet/intel/i40e/i40e_debugfs.c static ssize_t i40e_dbg_netdev_ops_read(struct file *filp, char __user *buffer, buffer 1595 drivers/net/ethernet/intel/i40e/i40e_debugfs.c bytes_not_copied = copy_to_user(buffer, buf, len); buffer 1613 drivers/net/ethernet/intel/i40e/i40e_debugfs.c const char __user *buffer, buffer 1631 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buffer, count); buffer 33 drivers/net/ethernet/intel/i40e/i40e_prototype.h void *desc, void *buffer, u16 buf_len); buffer 261 drivers/net/ethernet/intel/iavf/iavf_common.c void *buffer, u16 buf_len) buffer 264 drivers/net/ethernet/intel/iavf/iavf_common.c u8 *buf = (u8 *)buffer; buffer 285 drivers/net/ethernet/intel/iavf/iavf_common.c if (buffer && aq_desc->datalen) { buffer 34 drivers/net/ethernet/intel/iavf/iavf_prototype.h void *desc, void *buffer, u16 buf_len); buffer 451 drivers/net/ethernet/intel/igb/e1000_i210.c u32 buffer[E1000_INVM_SIZE]; buffer 458 drivers/net/ethernet/intel/igb/e1000_i210.c buffer[i] = invm_dword; buffer 463 drivers/net/ethernet/intel/igb/e1000_i210.c record = &buffer[invm_blocks - i]; buffer 464 drivers/net/ethernet/intel/igb/e1000_i210.c next_record = &buffer[invm_blocks - i + 1]; buffer 508 drivers/net/ethernet/intel/igb/e1000_i210.c record = &buffer[invm_blocks - i]; buffer 509 drivers/net/ethernet/intel/igb/e1000_i210.c next_record = &buffer[invm_blocks - i + 1]; buffer 3576 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u8 ixgbe_calculate_checksum(u8 *buffer, u32 length) buffer 3581 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (!buffer) buffer 3585 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c sum += buffer[i]; buffer 3604 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s32 ixgbe_hic_unlocked(struct ixgbe_hw *hw, u32 *buffer, u32 length, buffer 3639 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c i, (__force u32)cpu_to_le32(buffer[i])); buffer 3676 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s32 ixgbe_host_interface_command(struct ixgbe_hw *hw, void *buffer, buffer 3684 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c } *bp = buffer; buffer 3698 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c status = ixgbe_hic_unlocked(hw, buffer, length, timeout); buffer 90 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h u8 ixgbe_calculate_checksum(u8 *buffer, u32 length); buffer 93 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h s32 ixgbe_hic_unlocked(struct ixgbe_hw *hw, u32 *buffer, u32 len, u32 timeout); buffer 13 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c static ssize_t ixgbe_dbg_common_ops_read(struct file *filp, char __user *buffer, buffer 35 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); buffer 48 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c static ssize_t ixgbe_dbg_reg_ops_read(struct file *filp, char __user *buffer, buffer 51 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c return ixgbe_dbg_common_ops_read(filp, buffer, count, ppos, buffer 63 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c const char __user *buffer, buffer 78 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c buffer, buffer 131 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c static ssize_t ixgbe_dbg_netdev_ops_read(struct file *filp, char __user *buffer, buffer 134 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c return ixgbe_dbg_common_ops_read(filp, buffer, count, ppos, buffer 146 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c const char __user *buffer, buffer 161 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c buffer, buffer 754 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c void *buffer; buffer 763 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c buffer = kmalloc(IXGBE_FCBUFF_MIN, GFP_KERNEL); buffer 764 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (!buffer) buffer 767 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c dma = dma_map_single(dev, buffer, IXGBE_FCBUFF_MIN, DMA_FROM_DEVICE); buffer 770 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c kfree(buffer); buffer 774 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c fcoe->extra_ddp_buffer = buffer; buffer 856 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c struct ixgbe_hic_read_shadow_ram buffer; buffer 875 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.cmd = FW_READ_SHADOW_RAM_CMD; buffer 876 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.buf_lenh = 0; buffer 877 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.buf_lenl = FW_READ_SHADOW_RAM_LEN; buffer 878 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; buffer 881 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.address = (__force u32)cpu_to_be32((offset + buffer 883 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.length = (__force u16)cpu_to_be16(words_to_read * 2); buffer 884 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.pad2 = 0; buffer 885 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.pad3 = 0; buffer 887 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c status = ixgbe_hic_unlocked(hw, (u32 *)&buffer, sizeof(buffer), buffer 925 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c u16 size, u16 *csum, u16 *buffer, buffer 936 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c if (!buffer) { buffer 946 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c local_buffer = &buffer[ptr]; buffer 962 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c if (buffer && ((u32)start + (u32)length > buffer_size)) buffer 966 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c if (i == bufsz && !buffer) { buffer 992 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c static s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, buffer 1003 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c if (!buffer) { buffer 1016 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c local_buffer = buffer; buffer 1054 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer, buffer_size); buffer 1084 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c struct ixgbe_hic_read_shadow_ram buffer; buffer 1087 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.cmd = FW_READ_SHADOW_RAM_CMD; buffer 1088 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.buf_lenh = 0; buffer 1089 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.buf_lenl = FW_READ_SHADOW_RAM_LEN; buffer 1090 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; buffer 1093 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.address = (__force u32)cpu_to_be32(offset * 2); buffer 1095 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.length = (__force u16)cpu_to_be16(sizeof(u16)); buffer 1101 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c status = ixgbe_hic_unlocked(hw, (u32 *)&buffer, sizeof(buffer), buffer 1173 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c struct ixgbe_hic_write_shadow_ram buffer; buffer 1175 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.cmd = FW_WRITE_SHADOW_RAM_CMD; buffer 1176 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.buf_lenh = 0; buffer 1177 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.buf_lenl = FW_WRITE_SHADOW_RAM_LEN; buffer 1178 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; buffer 1181 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.length = cpu_to_be16(sizeof(u16)); buffer 1182 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.data = data; buffer 1183 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.address = cpu_to_be32(offset * 2); buffer 1185 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c status = ixgbe_host_interface_command(hw, &buffer, sizeof(buffer), buffer 1220 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c union ixgbe_hic_hdr2 buffer; buffer 1222 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.req.cmd = FW_SHADOW_RAM_DUMP_CMD; buffer 1223 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.req.buf_lenh = 0; buffer 1224 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.req.buf_lenl = FW_SHADOW_RAM_DUMP_LEN; buffer 1225 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.req.checksum = FW_DEFAULT_CHECKSUM; buffer 1227 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c status = ixgbe_host_interface_command(hw, &buffer, sizeof(buffer), buffer 222 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c kfree(tracer->str_db.buffer[i]); buffer 223 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.buffer[i] = NULL; buffer 234 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.buffer[i] = kzalloc(string_db_size_out[i], GFP_KERNEL); buffer 235 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (!tracer->str_db.buffer[i]) buffer 301 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c memcpy(tracer->str_db.buffer[i] + offset, out_value, buffer 322 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c memcpy(tracer->str_db.buffer[i] + offset, out_value, buffer 393 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c cur_string->string = (char *)(tracer->str_db.buffer[i] + buffer 82 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h void *buffer[STRINGS_DB_SECTIONS_NUM]; buffer 273 drivers/net/ethernet/mellanox/mlx5/core/en/port.c int mlx5e_port_query_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer) buffer 296 drivers/net/ethernet/mellanox/mlx5/core/en/port.c buffer[prio] = (u8)(prio_x_buff >> (4 * prio)) & 0xF; buffer 297 drivers/net/ethernet/mellanox/mlx5/core/en/port.c mlx5_core_dbg(mdev, "prio %d, buffer %d\n", prio, buffer[prio]); buffer 305 drivers/net/ethernet/mellanox/mlx5/core/en/port.c int mlx5e_port_set_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer) buffer 335 drivers/net/ethernet/mellanox/mlx5/core/en/port.c prio_x_buff |= (buffer[prio] << (4 * prio)); buffer 60 drivers/net/ethernet/mellanox/mlx5/core/en/port.h int mlx5e_port_query_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer); buffer 61 drivers/net/ethernet/mellanox/mlx5/core/en/port.h int mlx5e_port_set_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer); buffer 40 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c void *buffer; buffer 54 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c buffer = MLX5_ADDR_OF(pbmc_reg, out, buffer[i]); buffer 55 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].lossy = buffer 56 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c MLX5_GET(bufferx_reg, buffer, lossy); buffer 57 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].epsb = buffer 58 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c MLX5_GET(bufferx_reg, buffer, epsb); buffer 59 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].size = buffer 60 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c MLX5_GET(bufferx_reg, buffer, size) << MLX5E_BUFFER_CELL_SHIFT; buffer 61 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xon = buffer 62 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c MLX5_GET(bufferx_reg, buffer, xon_threshold) << MLX5E_BUFFER_CELL_SHIFT; buffer 63 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xoff = buffer 64 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c MLX5_GET(bufferx_reg, buffer, xoff_threshold) << MLX5E_BUFFER_CELL_SHIFT; buffer 65 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c total_used += port_buffer->buffer[i].size; buffer 68 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].size, buffer 69 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xon, buffer 70 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xoff, buffer 71 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].epsb, buffer 72 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].lossy); buffer 93 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c void *buffer; buffer 107 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c buffer = MLX5_ADDR_OF(pbmc_reg, in, buffer[i]); buffer 109 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c MLX5_SET(bufferx_reg, buffer, size, buffer 110 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].size >> MLX5E_BUFFER_CELL_SHIFT); buffer 111 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c MLX5_SET(bufferx_reg, buffer, lossy, buffer 112 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].lossy); buffer 113 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c MLX5_SET(bufferx_reg, buffer, xoff_threshold, buffer 114 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xoff >> MLX5E_BUFFER_CELL_SHIFT); buffer 115 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c MLX5_SET(bufferx_reg, buffer, xon_threshold, buffer 116 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xon >> MLX5E_BUFFER_CELL_SHIFT); buffer 151 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c if (port_buffer->buffer[i].lossy) { buffer 152 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xoff = 0; buffer 153 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xon = 0; buffer 157 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c if (port_buffer->buffer[i].size < buffer 160 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c i, port_buffer->buffer[i].size); buffer 164 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xoff = port_buffer->buffer[i].size - xoff; buffer 165 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xon = buffer 166 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].xoff - max_mtu; buffer 192 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c u8 pfc_en, u8 *buffer, u32 xoff, buffer 209 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c if (buffer[prio] != i) buffer 221 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c if (lossy != port_buffer->buffer[i].lossy) { buffer 222 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer->buffer[i].lossy = lossy; buffer 268 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c u8 buffer[MLX5E_MAX_PRIORITY]; buffer 291 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c err = mlx5e_port_query_priority2buffer(priv->mdev, buffer); buffer 295 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c err = update_buffer_lossy(max_mtu, pfc->pfc_en, buffer, xoff, buffer 316 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c if (!port_buffer.buffer[i].lossy && !buffer_size[i]) { buffer 322 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c port_buffer.buffer[i].size = buffer_size[i]; buffer 64 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.h struct mlx5e_bufferx_reg buffer[MLX5E_MAX_BUFFER]; buffer 902 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c u8 buffer[MLX5E_MAX_PRIORITY]; buffer 908 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = mlx5e_port_query_priority2buffer(mdev, buffer); buffer 913 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c dcb_buffer->prio2buffer[i] = buffer[i]; buffer 920 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c dcb_buffer->buffer_size[i] = port_buffer.buffer[i].size; buffer 964 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (port_buffer.buffer[i].size != dcb_buffer->buffer_size[i]) { buffer 109 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c static u16 mlxsw_sp_acl_bf_crc(const u8 *buffer, size_t len) buffer 114 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c crc = mlxsw_sp_acl_bf_crc_byte(crc, *buffer++); buffer 8169 drivers/net/ethernet/neterion/s2io.c static int check_L2_lro_capable(u8 *buffer, struct iphdr **ip, buffer 8198 drivers/net/ethernet/neterion/s2io.c *ip = (struct iphdr *)(buffer + ip_off); buffer 8360 drivers/net/ethernet/neterion/s2io.c static int s2io_club_tcp_session(struct ring_info *ring_data, u8 *buffer, buffer 8370 drivers/net/ethernet/neterion/s2io.c ret = check_L2_lro_capable(buffer, &ip, (struct tcphdr **)tcp, buffer 8437 drivers/net/ethernet/neterion/s2io.c initiate_new_session(*lro, buffer, ip, tcph, *tcp_len, buffer 338 drivers/net/ethernet/neterion/s2io.h u8 buffer[20]; buffer 1102 drivers/net/ethernet/neterion/s2io.h static int s2io_club_tcp_session(struct ring_info *ring_data, u8 *buffer, buffer 1010 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_dump_nsp_diag(struct nfp_app *app, struct ethtool_dump *dump, void *buffer) buffer 1025 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (buffer) { buffer 1033 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c buffer, dump->len); buffer 1099 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c void *buffer) buffer 1107 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c return nfp_dump_nsp_diag(app, dump, buffer); buffer 1113 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c buffer); buffer 225 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h void *buffer, size_t length); buffer 227 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h const void *buffer, size_t length); buffer 4978 drivers/net/ethernet/nvidia/forcedeth.c struct ethtool_stats *estats, u64 *buffer) buffer 4986 drivers/net/ethernet/nvidia/forcedeth.c memcpy(buffer, &np->estats, buffer 5223 drivers/net/ethernet/nvidia/forcedeth.c static void nv_self_test(struct net_device *dev, struct ethtool_test *test, u64 *buffer) buffer 5230 drivers/net/ethernet/nvidia/forcedeth.c memset(buffer, 0, count * sizeof(u64)); buffer 5234 drivers/net/ethernet/nvidia/forcedeth.c buffer[0] = 1; buffer 5261 drivers/net/ethernet/nvidia/forcedeth.c buffer[1] = 1; buffer 5267 drivers/net/ethernet/nvidia/forcedeth.c buffer[2] = 1; buffer 5276 drivers/net/ethernet/nvidia/forcedeth.c buffer[3] = 1; buffer 5303 drivers/net/ethernet/nvidia/forcedeth.c static void nv_get_strings(struct net_device *dev, u32 stringset, u8 *buffer) buffer 5307 drivers/net/ethernet/nvidia/forcedeth.c memcpy(buffer, &nv_estats_str, nv_get_sset_count(dev, ETH_SS_STATS)*sizeof(struct nv_ethtool_str)); buffer 5310 drivers/net/ethernet/nvidia/forcedeth.c memcpy(buffer, &nv_etests_str, nv_get_sset_count(dev, ETH_SS_TEST)*sizeof(struct nv_ethtool_str)); buffer 891 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c void *buffer) buffer 906 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c data = buffer; buffer 911 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c memcpy(buffer + copy_sz, buffer 1455 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct netxen_rx_buffer *buffer) buffer 1461 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer->skb = netdev_alloc_skb(adapter->netdev, rds_ring->skb_size); buffer 1462 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (!buffer->skb) buffer 1465 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c skb = buffer->skb; buffer 1475 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer->skb = NULL; buffer 1479 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer->skb = skb; buffer 1480 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer->dma = dma; buffer 1481 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer->state = NETXEN_BUFFER_BUSY; buffer 1489 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct netxen_rx_buffer *buffer; buffer 1492 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer = &rds_ring->rx_buf_arr[index]; buffer 1494 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c pci_unmap_single(adapter->pdev, buffer->dma, rds_ring->dma_size, buffer 1497 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c skb = buffer->skb; buffer 1508 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer->skb = NULL; buffer 1510 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer->state = NETXEN_BUFFER_FREE; buffer 1521 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct netxen_rx_buffer *buffer; buffer 1535 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer = &rds_ring->rx_buf_arr[index]; buffer 1543 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c return buffer; buffer 1561 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c return buffer; buffer 1575 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct netxen_rx_buffer *buffer; buffer 1596 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer = &rds_ring->rx_buf_arr[index]; buffer 1607 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c return buffer; buffer 1640 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c return buffer; buffer 1740 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct netxen_cmd_buffer *buffer; buffer 1754 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer = &tx_ring->cmd_buf_arr[sw_consumer]; buffer 1755 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (buffer->skb) { buffer 1756 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c frag = &buffer->frag_array[0]; buffer 1760 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c for (i = 1; i < buffer->frag_count; i++) { buffer 1768 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c dev_kfree_skb_any(buffer->skb); buffer 1769 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer->skb = NULL; buffer 1812 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct netxen_rx_buffer *buffer; buffer 1822 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer = list_entry(head->next, struct netxen_rx_buffer, list); buffer 1824 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (!buffer->skb) { buffer 1825 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (netxen_alloc_rx_skb(adapter, rds_ring, buffer)) buffer 1830 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c list_del(&buffer->list); buffer 1834 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c pdesc->addr_buffer = cpu_to_le64(buffer->dma); buffer 1835 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c pdesc->reference_handle = cpu_to_le16(buffer->ref_handle); buffer 1870 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct netxen_rx_buffer *buffer; buffer 1882 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer = list_entry(head->next, struct netxen_rx_buffer, list); buffer 1884 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (!buffer->skb) { buffer 1885 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (netxen_alloc_rx_skb(adapter, rds_ring, buffer)) buffer 1890 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c list_del(&buffer->list); buffer 1894 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c pdesc->reference_handle = cpu_to_le16(buffer->ref_handle); buffer 1896 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c pdesc->addr_buffer = cpu_to_le64(buffer->dma); buffer 7905 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_grc(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes) buffer 7907 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_dbg_feature(cdev, buffer, DBG_FEATURE_GRC, num_dumped_bytes); buffer 7915 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_idle_chk(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes) buffer 7917 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_dbg_feature(cdev, buffer, DBG_FEATURE_IDLE_CHK, buffer 7926 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_reg_fifo(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes) buffer 7928 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_dbg_feature(cdev, buffer, DBG_FEATURE_REG_FIFO, buffer 7937 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_igu_fifo(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes) buffer 7939 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_dbg_feature(cdev, buffer, DBG_FEATURE_IGU_FIFO, buffer 7964 drivers/net/ethernet/qlogic/qed/qed_debug.c static int qed_dbg_nvm_image(struct qed_dev *cdev, void *buffer, buffer 7984 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_mcp_get_nvm_image(p_hwfn, image_id, buffer, len_rounded); buffer 7991 drivers/net/ethernet/qlogic/qed/qed_debug.c val = cpu_to_be32(*(u32 *)(buffer + i)); buffer 7992 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)(buffer + i) = val; buffer 8000 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_protection_override(struct qed_dev *cdev, void *buffer, buffer 8003 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_dbg_feature(cdev, buffer, DBG_FEATURE_PROTECTION_OVERRIDE, buffer 8012 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_fw_asserts(struct qed_dev *cdev, void *buffer, buffer 8015 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_dbg_feature(cdev, buffer, DBG_FEATURE_FW_ASSERTS, buffer 8024 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_mcp_trace(struct qed_dev *cdev, void *buffer, buffer 8027 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_dbg_feature(cdev, buffer, DBG_FEATURE_MCP_TRACE, buffer 8069 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_all_data(struct qed_dev *cdev, void *buffer) buffer 8093 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_dbg_idle_chk(cdev, (u8 *)buffer + offset + buffer 8096 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8105 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_dbg_idle_chk(cdev, (u8 *)buffer + offset + buffer 8108 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8117 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_dbg_reg_fifo(cdev, (u8 *)buffer + offset + buffer 8120 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8129 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_dbg_igu_fifo(cdev, (u8 *)buffer + offset + buffer 8132 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8141 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_dbg_protection_override(cdev, (u8 *)buffer + offset + buffer 8145 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8157 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_dbg_fw_asserts(cdev, (u8 *)buffer + offset + buffer 8160 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8175 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_dbg_grc(cdev, (u8 *)buffer + offset + buffer 8178 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8189 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_dbg_mcp_trace(cdev, (u8 *)buffer + offset + buffer 8192 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8202 drivers/net/ethernet/qlogic/qed/qed_debug.c (u8 *)buffer + offset + REGDUMP_HEADER_SIZE, buffer 8205 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8217 drivers/net/ethernet/qlogic/qed/qed_debug.c (u8 *)buffer + offset + REGDUMP_HEADER_SIZE, buffer 8220 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8233 drivers/net/ethernet/qlogic/qed/qed_debug.c (u8 *)buffer + offset + REGDUMP_HEADER_SIZE, buffer 8236 drivers/net/ethernet/qlogic/qed/qed_debug.c *(u32 *)((u8 *)buffer + offset) = buffer 8289 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_feature(struct qed_dev *cdev, void *buffer, buffer 8317 drivers/net/ethernet/qlogic/qed/qed_debug.c memcpy(buffer, qed_feature->dump_buf, qed_feature->buf_size); buffer 23 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_grc(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes); buffer 25 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_idle_chk(struct qed_dev *cdev, void *buffer, buffer 28 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_reg_fifo(struct qed_dev *cdev, void *buffer, buffer 31 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_igu_fifo(struct qed_dev *cdev, void *buffer, buffer 34 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_protection_override(struct qed_dev *cdev, void *buffer, buffer 37 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_fw_asserts(struct qed_dev *cdev, void *buffer, buffer 40 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_mcp_trace(struct qed_dev *cdev, void *buffer, buffer 43 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_all_data(struct qed_dev *cdev, void *buffer); buffer 47 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_feature(struct qed_dev *cdev, void *buffer, buffer 2457 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct qed_iwarp_ll2_buff *buffer = cookie; buffer 2460 drivers/net/ethernet/qlogic/qed/qed_iwarp.c dma_free_coherent(&p_hwfn->cdev->pdev->dev, buffer->buff_size, buffer 2461 drivers/net/ethernet/qlogic/qed/qed_iwarp.c buffer->data, buffer->data_phys_addr); buffer 2462 drivers/net/ethernet/qlogic/qed/qed_iwarp.c kfree(buffer); buffer 2469 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct qed_iwarp_ll2_buff *buffer = cookie; buffer 2473 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (!buffer) /* can happen in packed mpa unaligned... */ buffer 2477 drivers/net/ethernet/qlogic/qed/qed_iwarp.c piggy = buffer->piggy_buf; buffer 2479 drivers/net/ethernet/qlogic/qed/qed_iwarp.c buffer->piggy_buf = NULL; buffer 2483 drivers/net/ethernet/qlogic/qed/qed_iwarp.c qed_iwarp_ll2_post_rx(p_hwfn, buffer, connection_handle); buffer 2495 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct qed_iwarp_ll2_buff *buffer = cookie; buffer 2498 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (!buffer) buffer 2501 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (buffer->piggy_buf) { buffer 2503 drivers/net/ethernet/qlogic/qed/qed_iwarp.c buffer->piggy_buf->buff_size, buffer 2504 drivers/net/ethernet/qlogic/qed/qed_iwarp.c buffer->piggy_buf->data, buffer 2505 drivers/net/ethernet/qlogic/qed/qed_iwarp.c buffer->piggy_buf->data_phys_addr); buffer 2507 drivers/net/ethernet/qlogic/qed/qed_iwarp.c kfree(buffer->piggy_buf); buffer 2510 drivers/net/ethernet/qlogic/qed/qed_iwarp.c dma_free_coherent(&p_hwfn->cdev->pdev->dev, buffer->buff_size, buffer 2511 drivers/net/ethernet/qlogic/qed/qed_iwarp.c buffer->data, buffer->data_phys_addr); buffer 2513 drivers/net/ethernet/qlogic/qed/qed_iwarp.c kfree(buffer); buffer 2584 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct qed_iwarp_ll2_buff *buffer; buffer 2589 drivers/net/ethernet/qlogic/qed/qed_iwarp.c buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); buffer 2590 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (!buffer) { buffer 2595 drivers/net/ethernet/qlogic/qed/qed_iwarp.c buffer->data = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, buffer 2597 drivers/net/ethernet/qlogic/qed/qed_iwarp.c &buffer->data_phys_addr, buffer 2599 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (!buffer->data) { buffer 2600 drivers/net/ethernet/qlogic/qed/qed_iwarp.c kfree(buffer); buffer 2605 drivers/net/ethernet/qlogic/qed/qed_iwarp.c buffer->buff_size = buff_size; buffer 2606 drivers/net/ethernet/qlogic/qed/qed_iwarp.c rc = qed_iwarp_ll2_post_rx(p_hwfn, buffer, ll2_handle); buffer 135 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ll2_buffer *buffer) buffer 139 drivers/net/ethernet/qlogic/qed/qed_ll2.c dma_unmap_single(&cdev->pdev->dev, buffer->phys_addr, buffer 141 drivers/net/ethernet/qlogic/qed/qed_ll2.c kfree(buffer->data); buffer 142 drivers/net/ethernet/qlogic/qed/qed_ll2.c list_del(&buffer->list); buffer 155 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ll2_buffer *buffer, *tmp_buffer; buffer 157 drivers/net/ethernet/qlogic/qed/qed_ll2.c list_for_each_entry_safe(buffer, tmp_buffer, &cdev->ll2->list, list) buffer 158 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ll2_dealloc_buffer(cdev, buffer); buffer 165 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ll2_buffer *buffer = data->cookie; buffer 182 drivers/net/ethernet/qlogic/qed/qed_ll2.c if ((cdev->dp_module & NETIF_MSG_PKTDATA) && buffer->data) { buffer 185 drivers/net/ethernet/qlogic/qed/qed_ll2.c buffer->data, data->length.packet_length, false); buffer 200 drivers/net/ethernet/qlogic/qed/qed_ll2.c dma_unmap_single(&cdev->pdev->dev, buffer->phys_addr, buffer 203 drivers/net/ethernet/qlogic/qed/qed_ll2.c skb = build_skb(buffer->data, 0); buffer 206 drivers/net/ethernet/qlogic/qed/qed_ll2.c kfree(buffer->data); buffer 233 drivers/net/ethernet/qlogic/qed/qed_ll2.c kfree(buffer->data); buffer 238 drivers/net/ethernet/qlogic/qed/qed_ll2.c buffer->data = new_data; buffer 239 drivers/net/ethernet/qlogic/qed/qed_ll2.c buffer->phys_addr = new_phys_addr; buffer 243 drivers/net/ethernet/qlogic/qed/qed_ll2.c buffer->phys_addr, 0, buffer, 1); buffer 245 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ll2_dealloc_buffer(cdev, buffer); buffer 2342 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ll2_buffer *buffer, *tmp_buffer; buffer 2381 drivers/net/ethernet/qlogic/qed/qed_ll2.c list_for_each_entry_safe(buffer, tmp_buffer, &cdev->ll2->list, list) { buffer 2384 drivers/net/ethernet/qlogic/qed/qed_ll2.c buffer->phys_addr, 0, buffer, 1); buffer 2388 drivers/net/ethernet/qlogic/qed/qed_ll2.c dma_unmap_single(&cdev->pdev->dev, buffer->phys_addr, buffer 2390 drivers/net/ethernet/qlogic/qed/qed_ll2.c kfree(buffer->data); buffer 2391 drivers/net/ethernet/qlogic/qed/qed_ll2.c list_del(&buffer->list); buffer 2392 drivers/net/ethernet/qlogic/qed/qed_ll2.c kfree(buffer); buffer 2418 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ll2_buffer *buffer; buffer 2443 drivers/net/ethernet/qlogic/qed/qed_ll2.c buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); buffer 2444 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (!buffer) { buffer 2450 drivers/net/ethernet/qlogic/qed/qed_ll2.c rc = qed_ll2_alloc_buffer(cdev, (u8 **)&buffer->data, buffer 2451 drivers/net/ethernet/qlogic/qed/qed_ll2.c &buffer->phys_addr); buffer 2453 drivers/net/ethernet/qlogic/qed/qed_ll2.c kfree(buffer); buffer 2457 drivers/net/ethernet/qlogic/qed/qed_ll2.c list_add_tail(&buffer->list, &cdev->ll2->list); buffer 1181 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c struct qed_tlv_parsed_buf buffer; buffer 1211 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c &buffer); buffer 1215 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c &buffer); buffer 1219 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c &buffer); buffer 1223 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c &buffer); buffer 1233 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c buffer.p_val, len); buffer 322 drivers/net/ethernet/qlogic/qede/qede.h struct sw_rx_data buffer; buffer 1030 drivers/net/ethernet/qlogic/qede/qede_ethtool.c struct ethtool_regs *regs, void *buffer) buffer 1035 drivers/net/ethernet/qlogic/qede/qede_ethtool.c memset(buffer, 0, regs->len); buffer 1038 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->ops->common->dbg_all_data(edev->cdev, buffer); buffer 66 drivers/net/ethernet/qlogic/qede/qede_filter.c void (*stringify)(struct qede_arfs_tuple *t, void *buffer); buffer 1530 drivers/net/ethernet/qlogic/qede/qede_filter.c void *buffer) buffer 1534 drivers/net/ethernet/qlogic/qede/qede_filter.c snprintf(buffer, QEDE_FILTER_PRINT_MAX_LEN, buffer 819 drivers/net/ethernet/qlogic/qede/qede_fp.c tpa_info->buffer.page_offset = sw_rx_data_cons->page_offset; buffer 820 drivers/net/ethernet/qlogic/qede/qede_fp.c tpa_info->buffer.mapping = sw_rx_data_cons->mapping; buffer 958 drivers/net/ethernet/qlogic/qede/qede_fp.c if (tpa_info->buffer.page_offset == PAGE_SIZE) buffer 959 drivers/net/ethernet/qlogic/qede/qede_fp.c dma_unmap_page(rxq->dev, tpa_info->buffer.mapping, buffer 1000 drivers/net/ethernet/qlogic/qede/qede_fp.c qede_reuse_page(rxq, &tpa_info->buffer); buffer 2402 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h static inline void qlcnic_swap32_buffer(u32 *buffer, int count) buffer 2405 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u32 *tmp = buffer; buffer 1689 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c void *buffer) buffer 1710 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c data = buffer; buffer 1715 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c memcpy(buffer + copy_sz, fw_dump->data, fw_dump->size); buffer 816 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct qlcnic_rx_buffer *buffer) buffer 838 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer->skb = skb; buffer 839 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer->dma = dma; buffer 849 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct qlcnic_rx_buffer *buffer; buffer 860 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = list_entry(head->next, struct qlcnic_rx_buffer, list); buffer 862 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (!buffer->skb) { buffer 863 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (qlcnic_alloc_rx_skb(adapter, rds_ring, buffer)) buffer 867 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c list_del(&buffer->list); buffer 872 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer->ref_handle, ring_id); buffer 875 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c pdesc->addr_buffer = cpu_to_le64(buffer->dma); buffer 892 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct qlcnic_cmd_buffer *buffer; buffer 904 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &tx_ring->cmd_buf_arr[sw_consumer]; buffer 905 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (buffer->skb) { buffer 906 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c frag = &buffer->frag_array[0]; buffer 910 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c for (i = 1; i < buffer->frag_count; i++) { buffer 917 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c dev_kfree_skb_any(buffer->skb); buffer 918 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer->skb = NULL; buffer 1142 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct qlcnic_rx_buffer *buffer; buffer 1145 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &ring->rx_buf_arr[index]; buffer 1146 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (unlikely(buffer->skb == NULL)) { buffer 1151 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c pci_unmap_single(adapter->pdev, buffer->dma, ring->dma_size, buffer 1154 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb = buffer->skb; buffer 1164 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer->skb = NULL; buffer 1200 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct qlcnic_rx_buffer *buffer; buffer 1215 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &rds_ring->rx_buf_arr[index]; buffer 1222 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1241 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1254 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1267 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct qlcnic_rx_buffer *buffer; buffer 1287 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &rds_ring->rx_buf_arr[index]; buffer 1298 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1317 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1354 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1441 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct qlcnic_rx_buffer *buffer; buffer 1451 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = list_entry(head->next, struct qlcnic_rx_buffer, list); buffer 1453 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (!buffer->skb) { buffer 1454 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (qlcnic_alloc_rx_skb(adapter, rds_ring, buffer)) buffer 1459 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c list_del(&buffer->list); buffer 1463 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c pdesc->addr_buffer = cpu_to_le64(buffer->dma); buffer 1464 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c handle = qlcnic_get_ref_handle(adapter, buffer->ref_handle, buffer 1723 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct qlcnic_rx_buffer *buffer; buffer 1739 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &rds_ring->rx_buf_arr[index]; buffer 1744 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1761 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1780 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1789 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct qlcnic_rx_buffer *buffer; buffer 1811 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &rds_ring->rx_buf_arr[index]; buffer 1820 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1840 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 1877 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c return buffer; buffer 386 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 396 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(addr); buffer 397 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 404 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 502 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 512 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(val); buffer 513 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 520 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 534 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 543 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 553 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 560 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 583 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(val); buffer 590 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 605 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 615 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 652 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 662 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __mem *mem, __le32 *buffer, buffer 701 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 770 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c __le32 *buffer, int *ret) buffer 844 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c memcpy(buffer, dma_buffer, size); buffer 845 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c buffer += size / 4; buffer 856 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 865 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c data_size = qlcnic_read_memory_pexdma(adapter, mem, buffer, buffer 875 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c data_size = qlcnic_read_memory_test_agent(adapter, mem, buffer, &ret); buffer 887 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 909 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c __le32 *buffer) buffer 945 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(poll->addr2); buffer 946 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 953 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 980 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(sel_val); buffer 981 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 988 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 1003 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(t_sel_val); buffer 1004 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 1009 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(t_sel_val); buffer 1010 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = cpu_to_le32(data); buffer 1019 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct qlcnic_dump_entry *entry, __le32 *buffer) buffer 1028 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c (u8 *)buffer, size)) buffer 1095 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u8 *buffer, u32 size) buffer 1107 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c buffer, size / sizeof(u32)); buffer 1170 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u32 *buffer, u32 temp_size) buffer 1196 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c *buffer++ = __le32_to_cpu(*tmp_buf++); buffer 1298 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c __le32 *buffer; buffer 1333 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c buffer = fw_dump->data; buffer 1377 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c dump = fw_dump_ops[ops_index].handler(adapter, entry, buffer); buffer 1386 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c buffer = fw_dump->data + buf_offset; buffer 204 drivers/net/ethernet/realtek/atp.c static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); buffer 1481 drivers/net/ethernet/renesas/ravb_main.c void *buffer; buffer 1502 drivers/net/ethernet/renesas/ravb_main.c buffer = PTR_ALIGN(priv->tx_align[q], DPTR_ALIGN) + buffer 1521 drivers/net/ethernet/renesas/ravb_main.c memcpy(buffer, skb->data, len); buffer 1522 drivers/net/ethernet/renesas/ravb_main.c dma_addr = dma_map_single(ndev->dev.parent, buffer, len, buffer 1531 drivers/net/ethernet/renesas/ravb_main.c buffer = skb->data + len; buffer 1533 drivers/net/ethernet/renesas/ravb_main.c dma_addr = dma_map_single(ndev->dev.parent, buffer, len, buffer 223 drivers/net/ethernet/seeq/ether3.c unsigned char *buffer = kmalloc(RX_END, GFP_KERNEL); buffer 228 drivers/net/ethernet/seeq/ether3.c if (!buffer) buffer 231 drivers/net/ethernet/seeq/ether3.c memset(buffer, byte, RX_END); buffer 233 drivers/net/ethernet/seeq/ether3.c ether3_writebuffer(dev, buffer, TX_END); buffer 235 drivers/net/ethernet/seeq/ether3.c ether3_writebuffer(dev, buffer + RX_START, RX_LEN); buffer 236 drivers/net/ethernet/seeq/ether3.c memset(buffer, byte ^ 0xff, RX_END); buffer 238 drivers/net/ethernet/seeq/ether3.c ether3_readbuffer(dev, buffer, TX_END); buffer 240 drivers/net/ethernet/seeq/ether3.c ether3_readbuffer(dev, buffer + RX_START, RX_LEN); buffer 243 drivers/net/ethernet/seeq/ether3.c if (buffer[i] != byte) { buffer 244 drivers/net/ethernet/seeq/ether3.c if (max_errors > 0 && bad != buffer[i]) { buffer 246 drivers/net/ethernet/seeq/ether3.c dev->name, buffer[i], byte, i); buffer 262 drivers/net/ethernet/seeq/ether3.c kfree(buffer); buffer 2326 drivers/net/ethernet/sfc/ef10.c struct efx_tx_buffer *buffer; buffer 2360 drivers/net/ethernet/sfc/ef10.c buffer = efx_tx_queue_get_insert_buffer(tx_queue); buffer 2362 drivers/net/ethernet/sfc/ef10.c buffer->flags = EFX_TX_BUF_OPTION; buffer 2363 drivers/net/ethernet/sfc/ef10.c buffer->len = 0; buffer 2364 drivers/net/ethernet/sfc/ef10.c buffer->unmap_len = 0; buffer 2365 drivers/net/ethernet/sfc/ef10.c EFX_POPULATE_QWORD_5(buffer->option, buffer 2375 drivers/net/ethernet/sfc/ef10.c buffer = efx_tx_queue_get_insert_buffer(tx_queue); buffer 2377 drivers/net/ethernet/sfc/ef10.c buffer->flags = EFX_TX_BUF_OPTION; buffer 2378 drivers/net/ethernet/sfc/ef10.c buffer->len = 0; buffer 2379 drivers/net/ethernet/sfc/ef10.c buffer->unmap_len = 0; buffer 2380 drivers/net/ethernet/sfc/ef10.c EFX_POPULATE_QWORD_4(buffer->option, buffer 2499 drivers/net/ethernet/sfc/ef10.c tx_queue->buffer[0].flags = EFX_TX_BUF_OPTION; buffer 2592 drivers/net/ethernet/sfc/ef10.c struct efx_tx_buffer *buffer; buffer 2602 drivers/net/ethernet/sfc/ef10.c buffer = &tx_queue->buffer[write_ptr]; buffer 2607 drivers/net/ethernet/sfc/ef10.c if (buffer->flags & EFX_TX_BUF_OPTION) { buffer 2608 drivers/net/ethernet/sfc/ef10.c *txd = buffer->option; buffer 2618 drivers/net/ethernet/sfc/ef10.c buffer->flags & EFX_TX_BUF_CONT, buffer 2619 drivers/net/ethernet/sfc/ef10.c ESF_DZ_TX_KER_BYTE_CNT, buffer->len, buffer 2620 drivers/net/ethernet/sfc/ef10.c ESF_DZ_TX_KER_BUF_ADDR, buffer->dma_addr); buffer 521 drivers/net/ethernet/sfc/efx.c tx_queue->buffer = NULL; buffer 527 drivers/net/ethernet/sfc/efx.c rx_queue->buffer = NULL; buffer 481 drivers/net/ethernet/sfc/falcon/efx.c tx_queue->buffer = NULL; buffer 486 drivers/net/ethernet/sfc/falcon/efx.c rx_queue->buffer = NULL; buffer 617 drivers/net/ethernet/sfc/falcon/falcon.c loff_t start, size_t len, size_t *retlen, u8 *buffer) buffer 628 drivers/net/ethernet/sfc/falcon/falcon.c buffer + pos, block_len); buffer 692 drivers/net/ethernet/sfc/falcon/falcon.c loff_t start, size_t len, size_t *retlen, const u8 *buffer) buffer 708 drivers/net/ethernet/sfc/falcon/falcon.c buffer + pos, NULL, block_len); buffer 719 drivers/net/ethernet/sfc/falcon/falcon.c if (memcmp(verify_buffer, buffer + pos, block_len)) { buffer 810 drivers/net/ethernet/sfc/falcon/falcon.c u8 buffer[FALCON_SPI_VERIFY_BUF_LEN]; buffer 834 drivers/net/ethernet/sfc/falcon/falcon.c block_len = min(len - pos, sizeof(buffer)); buffer 836 drivers/net/ethernet/sfc/falcon/falcon.c NULL, buffer); buffer 839 drivers/net/ethernet/sfc/falcon/falcon.c if (memcmp(empty, buffer, block_len)) buffer 860 drivers/net/ethernet/sfc/falcon/falcon.c size_t len, size_t *retlen, u8 *buffer) buffer 871 drivers/net/ethernet/sfc/falcon/falcon.c len, retlen, buffer); buffer 892 drivers/net/ethernet/sfc/falcon/falcon.c size_t len, size_t *retlen, const u8 *buffer) buffer 903 drivers/net/ethernet/sfc/falcon/falcon.c len, retlen, buffer); buffer 168 drivers/net/ethernet/sfc/falcon/farch.c ef4_init_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) buffer 175 drivers/net/ethernet/sfc/falcon/farch.c EF4_BUG_ON_PARANOID(!buffer->buf.addr); buffer 178 drivers/net/ethernet/sfc/falcon/farch.c for (i = 0; i < buffer->entries; i++) { buffer 179 drivers/net/ethernet/sfc/falcon/farch.c index = buffer->index + i; buffer 180 drivers/net/ethernet/sfc/falcon/farch.c dma_addr = buffer->buf.dma_addr + (i * EF4_BUF_SIZE); buffer 194 drivers/net/ethernet/sfc/falcon/farch.c ef4_fini_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) buffer 197 drivers/net/ethernet/sfc/falcon/farch.c unsigned int start = buffer->index; buffer 198 drivers/net/ethernet/sfc/falcon/farch.c unsigned int end = (buffer->index + buffer->entries - 1); buffer 200 drivers/net/ethernet/sfc/falcon/farch.c if (!buffer->entries) buffer 204 drivers/net/ethernet/sfc/falcon/farch.c buffer->index, buffer->index + buffer->entries - 1); buffer 224 drivers/net/ethernet/sfc/falcon/farch.c struct ef4_special_buffer *buffer, buffer 229 drivers/net/ethernet/sfc/falcon/farch.c if (ef4_nic_alloc_buffer(efx, &buffer->buf, len, GFP_KERNEL)) buffer 231 drivers/net/ethernet/sfc/falcon/farch.c buffer->entries = len / EF4_BUF_SIZE; buffer 232 drivers/net/ethernet/sfc/falcon/farch.c BUG_ON(buffer->buf.dma_addr & (EF4_BUF_SIZE - 1)); buffer 235 drivers/net/ethernet/sfc/falcon/farch.c buffer->index = efx->next_buffer_table; buffer 236 drivers/net/ethernet/sfc/falcon/farch.c efx->next_buffer_table += buffer->entries; buffer 240 drivers/net/ethernet/sfc/falcon/farch.c "(virt %p phys %llx)\n", buffer->index, buffer 241 drivers/net/ethernet/sfc/falcon/farch.c buffer->index + buffer->entries - 1, buffer 242 drivers/net/ethernet/sfc/falcon/farch.c (u64)buffer->buf.dma_addr, len, buffer 243 drivers/net/ethernet/sfc/falcon/farch.c buffer->buf.addr, (u64)virt_to_phys(buffer->buf.addr)); buffer 249 drivers/net/ethernet/sfc/falcon/farch.c ef4_free_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) buffer 251 drivers/net/ethernet/sfc/falcon/farch.c if (!buffer->buf.addr) buffer 256 drivers/net/ethernet/sfc/falcon/farch.c "(virt %p phys %llx)\n", buffer->index, buffer 257 drivers/net/ethernet/sfc/falcon/farch.c buffer->index + buffer->entries - 1, buffer 258 drivers/net/ethernet/sfc/falcon/farch.c (u64)buffer->buf.dma_addr, buffer->buf.len, buffer 259 drivers/net/ethernet/sfc/falcon/farch.c buffer->buf.addr, (u64)virt_to_phys(buffer->buf.addr)); buffer 261 drivers/net/ethernet/sfc/falcon/farch.c ef4_nic_free_buffer(efx, &buffer->buf); buffer 262 drivers/net/ethernet/sfc/falcon/farch.c buffer->entries = 0; buffer 308 drivers/net/ethernet/sfc/falcon/farch.c struct ef4_tx_buffer *buffer; buffer 319 drivers/net/ethernet/sfc/falcon/farch.c buffer = &tx_queue->buffer[write_ptr]; buffer 323 drivers/net/ethernet/sfc/falcon/farch.c EF4_BUG_ON_PARANOID(buffer->flags & EF4_TX_BUF_OPTION); buffer 329 drivers/net/ethernet/sfc/falcon/farch.c buffer->flags & EF4_TX_BUF_CONT, buffer 330 drivers/net/ethernet/sfc/falcon/farch.c FSF_AZ_TX_KER_BYTE_COUNT, buffer->len, buffer 332 drivers/net/ethernet/sfc/falcon/farch.c FSF_AZ_TX_KER_BUF_ADDR, buffer->dma_addr); buffer 218 drivers/net/ethernet/sfc/falcon/net_driver.h struct ef4_tx_buffer *buffer; buffer 331 drivers/net/ethernet/sfc/falcon/net_driver.h struct ef4_rx_buffer *buffer; buffer 1132 drivers/net/ethernet/sfc/falcon/net_driver.h size_t *retlen, u8 *buffer); buffer 1135 drivers/net/ethernet/sfc/falcon/net_driver.h size_t *retlen, const u8 *buffer); buffer 1272 drivers/net/ethernet/sfc/falcon/net_driver.h return &rx_queue->buffer[index]; buffer 1319 drivers/net/ethernet/sfc/falcon/net_driver.h return &tx_queue->buffer[ef4_tx_queue_get_insert_index(tx_queue)]; buffer 1326 drivers/net/ethernet/sfc/falcon/net_driver.h struct ef4_tx_buffer *buffer = buffer 1329 drivers/net/ethernet/sfc/falcon/net_driver.h EF4_BUG_ON_PARANOID(buffer->len); buffer 1330 drivers/net/ethernet/sfc/falcon/net_driver.h EF4_BUG_ON_PARANOID(buffer->flags); buffer 1331 drivers/net/ethernet/sfc/falcon/net_driver.h EF4_BUG_ON_PARANOID(buffer->unmap_len); buffer 1333 drivers/net/ethernet/sfc/falcon/net_driver.h return buffer; buffer 30 drivers/net/ethernet/sfc/falcon/nic.c int ef4_nic_alloc_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer, buffer 33 drivers/net/ethernet/sfc/falcon/nic.c buffer->addr = dma_alloc_coherent(&efx->pci_dev->dev, len, buffer 34 drivers/net/ethernet/sfc/falcon/nic.c &buffer->dma_addr, gfp_flags); buffer 35 drivers/net/ethernet/sfc/falcon/nic.c if (!buffer->addr) buffer 37 drivers/net/ethernet/sfc/falcon/nic.c buffer->len = len; buffer 41 drivers/net/ethernet/sfc/falcon/nic.c void ef4_nic_free_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer) buffer 43 drivers/net/ethernet/sfc/falcon/nic.c if (buffer->addr) { buffer 44 drivers/net/ethernet/sfc/falcon/nic.c dma_free_coherent(&efx->pci_dev->dev, buffer->len, buffer 45 drivers/net/ethernet/sfc/falcon/nic.c buffer->addr, buffer->dma_addr); buffer 46 drivers/net/ethernet/sfc/falcon/nic.c buffer->addr = NULL; buffer 484 drivers/net/ethernet/sfc/falcon/nic.h int ef4_nic_alloc_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer, buffer 486 drivers/net/ethernet/sfc/falcon/nic.h void ef4_nic_free_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer); buffer 696 drivers/net/ethernet/sfc/falcon/rx.c rx_queue->buffer = kcalloc(entries, sizeof(*rx_queue->buffer), buffer 698 drivers/net/ethernet/sfc/falcon/rx.c if (!rx_queue->buffer) buffer 703 drivers/net/ethernet/sfc/falcon/rx.c kfree(rx_queue->buffer); buffer 704 drivers/net/ethernet/sfc/falcon/rx.c rx_queue->buffer = NULL; buffer 785 drivers/net/ethernet/sfc/falcon/rx.c if (rx_queue->buffer) { buffer 819 drivers/net/ethernet/sfc/falcon/rx.c kfree(rx_queue->buffer); buffer 820 drivers/net/ethernet/sfc/falcon/rx.c rx_queue->buffer = NULL; buffer 26 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_tx_buffer *buffer) buffer 38 drivers/net/ethernet/sfc/falcon/tx.c buffer->dma_addr = page_buf->dma_addr + offset; buffer 39 drivers/net/ethernet/sfc/falcon/tx.c buffer->unmap_len = 0; buffer 44 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_tx_buffer *buffer, size_t len) buffer 48 drivers/net/ethernet/sfc/falcon/tx.c return ef4_tx_get_copy_buffer(tx_queue, buffer); buffer 52 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_tx_buffer *buffer, buffer 56 drivers/net/ethernet/sfc/falcon/tx.c if (buffer->unmap_len) { buffer 58 drivers/net/ethernet/sfc/falcon/tx.c dma_addr_t unmap_addr = buffer->dma_addr - buffer->dma_offset; buffer 59 drivers/net/ethernet/sfc/falcon/tx.c if (buffer->flags & EF4_TX_BUF_MAP_SINGLE) buffer 60 drivers/net/ethernet/sfc/falcon/tx.c dma_unmap_single(dma_dev, unmap_addr, buffer->unmap_len, buffer 63 drivers/net/ethernet/sfc/falcon/tx.c dma_unmap_page(dma_dev, unmap_addr, buffer->unmap_len, buffer 65 drivers/net/ethernet/sfc/falcon/tx.c buffer->unmap_len = 0; buffer 68 drivers/net/ethernet/sfc/falcon/tx.c if (buffer->flags & EF4_TX_BUF_SKB) { buffer 70 drivers/net/ethernet/sfc/falcon/tx.c (*bytes_compl) += buffer->skb->len; buffer 71 drivers/net/ethernet/sfc/falcon/tx.c dev_consume_skb_any((struct sk_buff *)buffer->skb); buffer 77 drivers/net/ethernet/sfc/falcon/tx.c buffer->len = 0; buffer 78 drivers/net/ethernet/sfc/falcon/tx.c buffer->flags = 0; buffer 152 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_tx_buffer *buffer; buffer 158 drivers/net/ethernet/sfc/falcon/tx.c buffer = ef4_tx_queue_get_insert_buffer(tx_queue); buffer 160 drivers/net/ethernet/sfc/falcon/tx.c copy_buffer = ef4_tx_get_copy_buffer(tx_queue, buffer); buffer 168 drivers/net/ethernet/sfc/falcon/tx.c buffer->len = min_len; buffer 170 drivers/net/ethernet/sfc/falcon/tx.c buffer->len = copy_len; buffer 173 drivers/net/ethernet/sfc/falcon/tx.c buffer->skb = skb; buffer 174 drivers/net/ethernet/sfc/falcon/tx.c buffer->flags = EF4_TX_BUF_SKB; buffer 185 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_tx_buffer *buffer; buffer 190 drivers/net/ethernet/sfc/falcon/tx.c buffer = ef4_tx_queue_get_insert_buffer(tx_queue); buffer 193 drivers/net/ethernet/sfc/falcon/tx.c buffer->len = dma_len; buffer 194 drivers/net/ethernet/sfc/falcon/tx.c buffer->dma_addr = dma_addr; buffer 195 drivers/net/ethernet/sfc/falcon/tx.c buffer->flags = EF4_TX_BUF_CONT; buffer 201 drivers/net/ethernet/sfc/falcon/tx.c return buffer; buffer 230 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_tx_buffer *buffer; buffer 233 drivers/net/ethernet/sfc/falcon/tx.c buffer = ef4_tx_map_chunk(tx_queue, dma_addr, len); buffer 238 drivers/net/ethernet/sfc/falcon/tx.c buffer->flags = EF4_TX_BUF_CONT | dma_flags; buffer 239 drivers/net/ethernet/sfc/falcon/tx.c buffer->unmap_len = unmap_len; buffer 240 drivers/net/ethernet/sfc/falcon/tx.c buffer->dma_offset = buffer->dma_addr - unmap_addr; buffer 246 drivers/net/ethernet/sfc/falcon/tx.c buffer->skb = skb; buffer 247 drivers/net/ethernet/sfc/falcon/tx.c buffer->flags = EF4_TX_BUF_SKB | dma_flags; buffer 270 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_tx_buffer *buffer; buffer 275 drivers/net/ethernet/sfc/falcon/tx.c buffer = __ef4_tx_queue_get_insert_buffer(tx_queue); buffer 276 drivers/net/ethernet/sfc/falcon/tx.c ef4_dequeue_buffer(tx_queue, buffer, NULL, NULL); buffer 366 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_tx_buffer *buffer = &tx_queue->buffer[read_ptr]; buffer 368 drivers/net/ethernet/sfc/falcon/tx.c if (!(buffer->flags & EF4_TX_BUF_OPTION) && buffer 369 drivers/net/ethernet/sfc/falcon/tx.c unlikely(buffer->len == 0)) { buffer 377 drivers/net/ethernet/sfc/falcon/tx.c ef4_dequeue_buffer(tx_queue, buffer, pkts_compl, bytes_compl); buffer 460 drivers/net/ethernet/sfc/falcon/tx.c if (!tx_queue->buffer) { buffer 554 drivers/net/ethernet/sfc/falcon/tx.c tx_queue->buffer = kcalloc(entries, sizeof(*tx_queue->buffer), buffer 556 drivers/net/ethernet/sfc/falcon/tx.c if (!tx_queue->buffer) buffer 577 drivers/net/ethernet/sfc/falcon/tx.c kfree(tx_queue->buffer); buffer 578 drivers/net/ethernet/sfc/falcon/tx.c tx_queue->buffer = NULL; buffer 608 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_tx_buffer *buffer; buffer 613 drivers/net/ethernet/sfc/falcon/tx.c if (!tx_queue->buffer) buffer 619 drivers/net/ethernet/sfc/falcon/tx.c buffer = &tx_queue->buffer[tx_queue->read_count & tx_queue->ptr_mask]; buffer 620 drivers/net/ethernet/sfc/falcon/tx.c ef4_dequeue_buffer(tx_queue, buffer, &pkts_compl, &bytes_compl); buffer 632 drivers/net/ethernet/sfc/falcon/tx.c if (!tx_queue->buffer) buffer 647 drivers/net/ethernet/sfc/falcon/tx.c kfree(tx_queue->buffer); buffer 648 drivers/net/ethernet/sfc/falcon/tx.c tx_queue->buffer = NULL; buffer 19 drivers/net/ethernet/sfc/falcon/tx.h struct ef4_tx_buffer *buffer, size_t len); buffer 170 drivers/net/ethernet/sfc/farch.c efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) buffer 177 drivers/net/ethernet/sfc/farch.c EFX_WARN_ON_PARANOID(!buffer->buf.addr); buffer 180 drivers/net/ethernet/sfc/farch.c for (i = 0; i < buffer->entries; i++) { buffer 181 drivers/net/ethernet/sfc/farch.c index = buffer->index + i; buffer 182 drivers/net/ethernet/sfc/farch.c dma_addr = buffer->buf.dma_addr + (i * EFX_BUF_SIZE); buffer 196 drivers/net/ethernet/sfc/farch.c efx_fini_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) buffer 199 drivers/net/ethernet/sfc/farch.c unsigned int start = buffer->index; buffer 200 drivers/net/ethernet/sfc/farch.c unsigned int end = (buffer->index + buffer->entries - 1); buffer 202 drivers/net/ethernet/sfc/farch.c if (!buffer->entries) buffer 206 drivers/net/ethernet/sfc/farch.c buffer->index, buffer->index + buffer->entries - 1); buffer 226 drivers/net/ethernet/sfc/farch.c struct efx_special_buffer *buffer, buffer 234 drivers/net/ethernet/sfc/farch.c if (efx_nic_alloc_buffer(efx, &buffer->buf, len, GFP_KERNEL)) buffer 236 drivers/net/ethernet/sfc/farch.c buffer->entries = len / EFX_BUF_SIZE; buffer 237 drivers/net/ethernet/sfc/farch.c BUG_ON(buffer->buf.dma_addr & (EFX_BUF_SIZE - 1)); buffer 240 drivers/net/ethernet/sfc/farch.c buffer->index = efx->next_buffer_table; buffer 241 drivers/net/ethernet/sfc/farch.c efx->next_buffer_table += buffer->entries; buffer 249 drivers/net/ethernet/sfc/farch.c "(virt %p phys %llx)\n", buffer->index, buffer 250 drivers/net/ethernet/sfc/farch.c buffer->index + buffer->entries - 1, buffer 251 drivers/net/ethernet/sfc/farch.c (u64)buffer->buf.dma_addr, len, buffer 252 drivers/net/ethernet/sfc/farch.c buffer->buf.addr, (u64)virt_to_phys(buffer->buf.addr)); buffer 258 drivers/net/ethernet/sfc/farch.c efx_free_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) buffer 260 drivers/net/ethernet/sfc/farch.c if (!buffer->buf.addr) buffer 265 drivers/net/ethernet/sfc/farch.c "(virt %p phys %llx)\n", buffer->index, buffer 266 drivers/net/ethernet/sfc/farch.c buffer->index + buffer->entries - 1, buffer 267 drivers/net/ethernet/sfc/farch.c (u64)buffer->buf.dma_addr, buffer->buf.len, buffer 268 drivers/net/ethernet/sfc/farch.c buffer->buf.addr, (u64)virt_to_phys(buffer->buf.addr)); buffer 270 drivers/net/ethernet/sfc/farch.c efx_nic_free_buffer(efx, &buffer->buf); buffer 271 drivers/net/ethernet/sfc/farch.c buffer->entries = 0; buffer 317 drivers/net/ethernet/sfc/farch.c struct efx_tx_buffer *buffer; buffer 328 drivers/net/ethernet/sfc/farch.c buffer = &tx_queue->buffer[write_ptr]; buffer 332 drivers/net/ethernet/sfc/farch.c EFX_WARN_ON_ONCE_PARANOID(buffer->flags & EFX_TX_BUF_OPTION); buffer 338 drivers/net/ethernet/sfc/farch.c buffer->flags & EFX_TX_BUF_CONT, buffer 339 drivers/net/ethernet/sfc/farch.c FSF_AZ_TX_KER_BYTE_COUNT, buffer->len, buffer 341 drivers/net/ethernet/sfc/farch.c FSF_AZ_TX_KER_BUF_ADDR, buffer->dma_addr); buffer 2091 drivers/net/ethernet/sfc/mcdi.c loff_t offset, u8 *buffer, size_t length) buffer 2110 drivers/net/ethernet/sfc/mcdi.c memcpy(buffer, MCDI_PTR(outbuf, NVRAM_READ_OUT_READ_BUFFER), length); buffer 2115 drivers/net/ethernet/sfc/mcdi.c loff_t offset, const u8 *buffer, size_t length) buffer 2124 drivers/net/ethernet/sfc/mcdi.c memcpy(MCDI_PTR(inbuf, NVRAM_WRITE_IN_WRITE_BUFFER), buffer, length); buffer 2202 drivers/net/ethernet/sfc/mcdi.c size_t len, size_t *retlen, u8 *buffer) buffer 2214 drivers/net/ethernet/sfc/mcdi.c buffer, chunk); buffer 2218 drivers/net/ethernet/sfc/mcdi.c buffer += chunk; buffer 2256 drivers/net/ethernet/sfc/mcdi.c size_t len, size_t *retlen, const u8 *buffer) buffer 2275 drivers/net/ethernet/sfc/mcdi.c buffer, chunk); buffer 2279 drivers/net/ethernet/sfc/mcdi.c buffer += chunk; buffer 375 drivers/net/ethernet/sfc/mcdi.h size_t *retlen, u8 *buffer); buffer 378 drivers/net/ethernet/sfc/mcdi.h size_t *retlen, const u8 *buffer); buffer 245 drivers/net/ethernet/sfc/net_driver.h struct efx_tx_buffer *buffer; buffer 370 drivers/net/ethernet/sfc/net_driver.h struct efx_rx_buffer *buffer; buffer 1377 drivers/net/ethernet/sfc/net_driver.h size_t *retlen, u8 *buffer); buffer 1380 drivers/net/ethernet/sfc/net_driver.h size_t *retlen, const u8 *buffer); buffer 1553 drivers/net/ethernet/sfc/net_driver.h return &rx_queue->buffer[index]; buffer 1609 drivers/net/ethernet/sfc/net_driver.h return &tx_queue->buffer[efx_tx_queue_get_insert_index(tx_queue)]; buffer 1616 drivers/net/ethernet/sfc/net_driver.h struct efx_tx_buffer *buffer = buffer 1619 drivers/net/ethernet/sfc/net_driver.h EFX_WARN_ON_ONCE_PARANOID(buffer->len); buffer 1620 drivers/net/ethernet/sfc/net_driver.h EFX_WARN_ON_ONCE_PARANOID(buffer->flags); buffer 1621 drivers/net/ethernet/sfc/net_driver.h EFX_WARN_ON_ONCE_PARANOID(buffer->unmap_len); buffer 1623 drivers/net/ethernet/sfc/net_driver.h return buffer; buffer 31 drivers/net/ethernet/sfc/nic.c int efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer, buffer 34 drivers/net/ethernet/sfc/nic.c buffer->addr = dma_alloc_coherent(&efx->pci_dev->dev, len, buffer 35 drivers/net/ethernet/sfc/nic.c &buffer->dma_addr, gfp_flags); buffer 36 drivers/net/ethernet/sfc/nic.c if (!buffer->addr) buffer 38 drivers/net/ethernet/sfc/nic.c buffer->len = len; buffer 42 drivers/net/ethernet/sfc/nic.c void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer) buffer 44 drivers/net/ethernet/sfc/nic.c if (buffer->addr) { buffer 45 drivers/net/ethernet/sfc/nic.c dma_free_coherent(&efx->pci_dev->dev, buffer->len, buffer 46 drivers/net/ethernet/sfc/nic.c buffer->addr, buffer->dma_addr); buffer 47 drivers/net/ethernet/sfc/nic.c buffer->addr = NULL; buffer 665 drivers/net/ethernet/sfc/nic.h int efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer, buffer 667 drivers/net/ethernet/sfc/nic.h void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer); buffer 694 drivers/net/ethernet/sfc/rx.c rx_queue->buffer = kcalloc(entries, sizeof(*rx_queue->buffer), buffer 696 drivers/net/ethernet/sfc/rx.c if (!rx_queue->buffer) buffer 701 drivers/net/ethernet/sfc/rx.c kfree(rx_queue->buffer); buffer 702 drivers/net/ethernet/sfc/rx.c rx_queue->buffer = NULL; buffer 783 drivers/net/ethernet/sfc/rx.c if (rx_queue->buffer) { buffer 817 drivers/net/ethernet/sfc/rx.c kfree(rx_queue->buffer); buffer 818 drivers/net/ethernet/sfc/rx.c rx_queue->buffer = NULL; buffer 940 drivers/net/ethernet/sfc/siena_sriov.c struct efx_buffer *buffer) buffer 950 drivers/net/ethernet/sfc/siena_sriov.c BUG_ON(buffer->len != EFX_PAGE_SIZE); buffer 963 drivers/net/ethernet/sfc/siena_sriov.c memcpy(buffer->addr + pos, &event, sizeof(event)); buffer 971 drivers/net/ethernet/sfc/siena_sriov.c copy_req[k].from_addr = buffer->dma_addr; buffer 34 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer) buffer 46 drivers/net/ethernet/sfc/tx.c buffer->dma_addr = page_buf->dma_addr + offset; buffer 47 drivers/net/ethernet/sfc/tx.c buffer->unmap_len = 0; buffer 52 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer, size_t len) buffer 56 drivers/net/ethernet/sfc/tx.c return efx_tx_get_copy_buffer(tx_queue, buffer); buffer 60 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer, buffer 64 drivers/net/ethernet/sfc/tx.c if (buffer->unmap_len) { buffer 66 drivers/net/ethernet/sfc/tx.c dma_addr_t unmap_addr = buffer->dma_addr - buffer->dma_offset; buffer 67 drivers/net/ethernet/sfc/tx.c if (buffer->flags & EFX_TX_BUF_MAP_SINGLE) buffer 68 drivers/net/ethernet/sfc/tx.c dma_unmap_single(dma_dev, unmap_addr, buffer->unmap_len, buffer 71 drivers/net/ethernet/sfc/tx.c dma_unmap_page(dma_dev, unmap_addr, buffer->unmap_len, buffer 73 drivers/net/ethernet/sfc/tx.c buffer->unmap_len = 0; buffer 76 drivers/net/ethernet/sfc/tx.c if (buffer->flags & EFX_TX_BUF_SKB) { buffer 77 drivers/net/ethernet/sfc/tx.c struct sk_buff *skb = (struct sk_buff *)buffer->skb; buffer 94 drivers/net/ethernet/sfc/tx.c dev_consume_skb_any((struct sk_buff *)buffer->skb); buffer 100 drivers/net/ethernet/sfc/tx.c buffer->len = 0; buffer 101 drivers/net/ethernet/sfc/tx.c buffer->flags = 0; buffer 168 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer; buffer 174 drivers/net/ethernet/sfc/tx.c buffer = efx_tx_queue_get_insert_buffer(tx_queue); buffer 176 drivers/net/ethernet/sfc/tx.c copy_buffer = efx_tx_get_copy_buffer(tx_queue, buffer); buffer 182 drivers/net/ethernet/sfc/tx.c buffer->len = copy_len; buffer 184 drivers/net/ethernet/sfc/tx.c buffer->skb = skb; buffer 185 drivers/net/ethernet/sfc/tx.c buffer->flags = EFX_TX_BUF_SKB; buffer 288 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer = buffer 319 drivers/net/ethernet/sfc/tx.c buffer->skb = skb; buffer 320 drivers/net/ethernet/sfc/tx.c buffer->flags = EFX_TX_BUF_SKB | EFX_TX_BUF_OPTION; buffer 322 drivers/net/ethernet/sfc/tx.c EFX_POPULATE_QWORD_5(buffer->option, buffer 339 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer; buffer 344 drivers/net/ethernet/sfc/tx.c buffer = efx_tx_queue_get_insert_buffer(tx_queue); buffer 347 drivers/net/ethernet/sfc/tx.c buffer->len = dma_len; buffer 348 drivers/net/ethernet/sfc/tx.c buffer->dma_addr = dma_addr; buffer 349 drivers/net/ethernet/sfc/tx.c buffer->flags = EFX_TX_BUF_CONT; buffer 355 drivers/net/ethernet/sfc/tx.c return buffer; buffer 400 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer; buffer 403 drivers/net/ethernet/sfc/tx.c buffer = efx_tx_map_chunk(tx_queue, dma_addr, len); buffer 408 drivers/net/ethernet/sfc/tx.c buffer->flags = EFX_TX_BUF_CONT | dma_flags; buffer 409 drivers/net/ethernet/sfc/tx.c buffer->unmap_len = unmap_len; buffer 410 drivers/net/ethernet/sfc/tx.c buffer->dma_offset = buffer->dma_addr - unmap_addr; buffer 416 drivers/net/ethernet/sfc/tx.c buffer->skb = skb; buffer 417 drivers/net/ethernet/sfc/tx.c buffer->flags = EFX_TX_BUF_SKB | dma_flags; buffer 441 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer; buffer 448 drivers/net/ethernet/sfc/tx.c buffer = __efx_tx_queue_get_insert_buffer(tx_queue); buffer 449 drivers/net/ethernet/sfc/tx.c efx_dequeue_buffer(tx_queue, buffer, &pkts_compl, &bytes_compl); buffer 617 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer = &tx_queue->buffer[read_ptr]; buffer 619 drivers/net/ethernet/sfc/tx.c if (!(buffer->flags & EFX_TX_BUF_OPTION) && buffer 620 drivers/net/ethernet/sfc/tx.c unlikely(buffer->len == 0)) { buffer 628 drivers/net/ethernet/sfc/tx.c efx_dequeue_buffer(tx_queue, buffer, pkts_compl, bytes_compl); buffer 717 drivers/net/ethernet/sfc/tx.c if (!tx_queue->buffer) { buffer 811 drivers/net/ethernet/sfc/tx.c tx_queue->buffer = kcalloc(entries, sizeof(*tx_queue->buffer), buffer 813 drivers/net/ethernet/sfc/tx.c if (!tx_queue->buffer) buffer 834 drivers/net/ethernet/sfc/tx.c kfree(tx_queue->buffer); buffer 835 drivers/net/ethernet/sfc/tx.c tx_queue->buffer = NULL; buffer 873 drivers/net/ethernet/sfc/tx.c struct efx_tx_buffer *buffer; buffer 878 drivers/net/ethernet/sfc/tx.c if (!tx_queue->buffer) buffer 884 drivers/net/ethernet/sfc/tx.c buffer = &tx_queue->buffer[tx_queue->read_count & tx_queue->ptr_mask]; buffer 885 drivers/net/ethernet/sfc/tx.c efx_dequeue_buffer(tx_queue, buffer, &pkts_compl, &bytes_compl); buffer 897 drivers/net/ethernet/sfc/tx.c if (!tx_queue->buffer) buffer 912 drivers/net/ethernet/sfc/tx.c kfree(tx_queue->buffer); buffer 913 drivers/net/ethernet/sfc/tx.c tx_queue->buffer = NULL; buffer 19 drivers/net/ethernet/sfc/tx.h struct efx_tx_buffer *buffer, size_t len); buffer 84 drivers/net/ethernet/sfc/tx_tso.c ptr = (char *) (tx_queue->buffer + insert_ptr); buffer 106 drivers/net/ethernet/sfc/tx_tso.c struct efx_tx_buffer *buffer; buffer 112 drivers/net/ethernet/sfc/tx_tso.c buffer = efx_tx_queue_get_insert_buffer(tx_queue); buffer 119 drivers/net/ethernet/sfc/tx_tso.c buffer->dma_addr = dma_addr; buffer 128 drivers/net/ethernet/sfc/tx_tso.c buffer->len = dma_len; buffer 129 drivers/net/ethernet/sfc/tx_tso.c buffer->flags = EFX_TX_BUF_CONT; buffer 135 drivers/net/ethernet/sfc/tx_tso.c buffer->len = len; buffer 136 drivers/net/ethernet/sfc/tx_tso.c *final_buffer = buffer; buffer 236 drivers/net/ethernet/sfc/tx_tso.c struct efx_tx_buffer *buffer; buffer 253 drivers/net/ethernet/sfc/tx_tso.c efx_tx_queue_insert(tx_queue, st->dma_addr, n, &buffer); buffer 257 drivers/net/ethernet/sfc/tx_tso.c buffer->skb = skb; buffer 258 drivers/net/ethernet/sfc/tx_tso.c buffer->flags = EFX_TX_BUF_SKB; buffer 260 drivers/net/ethernet/sfc/tx_tso.c buffer->flags = EFX_TX_BUF_CONT; buffer 265 drivers/net/ethernet/sfc/tx_tso.c buffer->unmap_len = st->unmap_len; buffer 266 drivers/net/ethernet/sfc/tx_tso.c buffer->dma_offset = buffer->unmap_len - buffer->len; buffer 289 drivers/net/ethernet/sfc/tx_tso.c struct efx_tx_buffer *buffer = buffer 309 drivers/net/ethernet/sfc/tx_tso.c buffer->flags = EFX_TX_BUF_OPTION; buffer 310 drivers/net/ethernet/sfc/tx_tso.c buffer->len = 0; buffer 311 drivers/net/ethernet/sfc/tx_tso.c buffer->unmap_len = 0; buffer 312 drivers/net/ethernet/sfc/tx_tso.c EFX_POPULATE_QWORD_5(buffer->option, buffer 324 drivers/net/ethernet/sfc/tx_tso.c buffer = efx_tx_queue_get_insert_buffer(tx_queue); buffer 325 drivers/net/ethernet/sfc/tx_tso.c buffer->dma_addr = st->header_dma_addr; buffer 326 drivers/net/ethernet/sfc/tx_tso.c buffer->len = st->header_len; buffer 328 drivers/net/ethernet/sfc/tx_tso.c buffer->flags = EFX_TX_BUF_CONT | EFX_TX_BUF_MAP_SINGLE; buffer 329 drivers/net/ethernet/sfc/tx_tso.c buffer->unmap_len = st->header_unmap_len; buffer 330 drivers/net/ethernet/sfc/tx_tso.c buffer->dma_offset = 0; buffer 336 drivers/net/ethernet/sfc/tx_tso.c buffer->flags = EFX_TX_BUF_CONT; buffer 337 drivers/net/ethernet/sfc/tx_tso.c buffer->unmap_len = 0; buffer 460 drivers/net/ethernet/sun/cassini.c __free_pages(page->buffer, cp->page_order); buffer 486 drivers/net/ethernet/sun/cassini.c page->buffer = alloc_pages(flags, cp->page_order); buffer 487 drivers/net/ethernet/sun/cassini.c if (!page->buffer) buffer 489 drivers/net/ethernet/sun/cassini.c page->dma_addr = pci_map_page(cp->pdev, page->buffer, 0, buffer 575 drivers/net/ethernet/sun/cassini.c if (page_count(page->buffer) > 1) buffer 1364 drivers/net/ethernet/sun/cassini.c if (page_count(page->buffer) == 1) buffer 1384 drivers/net/ethernet/sun/cassini.c if (page_count(page0[index]->buffer) > 1) { buffer 1413 drivers/net/ethernet/sun/cassini.c rxd[i].buffer = cpu_to_le64(page->dma_addr); buffer 1883 drivers/net/ethernet/sun/cassini.c daddr = le64_to_cpu(txd->buffer); buffer 1982 drivers/net/ethernet/sun/cassini.c addr = cas_page_map(page->buffer); buffer 2017 drivers/net/ethernet/sun/cassini.c addr = cas_page_map(page->buffer); buffer 2035 drivers/net/ethernet/sun/cassini.c __skb_frag_set_page(frag, page->buffer); buffer 2059 drivers/net/ethernet/sun/cassini.c __skb_frag_set_page(frag, page->buffer); buffer 2067 drivers/net/ethernet/sun/cassini.c addr = cas_page_map(page->buffer); buffer 2091 drivers/net/ethernet/sun/cassini.c addr = cas_page_map(page->buffer); buffer 2109 drivers/net/ethernet/sun/cassini.c addr = cas_page_map(page->buffer); buffer 2186 drivers/net/ethernet/sun/cassini.c cp->init_rxds[ring][entry].buffer = cpu_to_le64(new->dma_addr); buffer 2223 drivers/net/ethernet/sun/cassini.c if (page_count(page[entry]->buffer) > 1) { buffer 2240 drivers/net/ethernet/sun/cassini.c cp->init_rxds[ring][entry].buffer = buffer 2736 drivers/net/ethernet/sun/cassini.c txd->buffer = cpu_to_le64(mapping); buffer 3902 drivers/net/ethernet/sun/cassini.c daddr = le64_to_cpu(txd[ent].buffer); buffer 2595 drivers/net/ethernet/sun/cassini.h __le64 buffer; buffer 2604 drivers/net/ethernet/sun/cassini.h __le64 buffer; buffer 2699 drivers/net/ethernet/sun/cassini.h struct page *buffer; buffer 682 drivers/net/ethernet/sun/sungem.c dma_addr = le64_to_cpu(txd->buffer); buffer 815 drivers/net/ethernet/sun/sungem.c dma_addr = le64_to_cpu(rxd->buffer); buffer 829 drivers/net/ethernet/sun/sungem.c rxd->buffer = cpu_to_le64(pci_map_page(gp->pdev, buffer 1042 drivers/net/ethernet/sun/sungem.c txd->buffer = cpu_to_le64(mapping); buffer 1080 drivers/net/ethernet/sun/sungem.c txd->buffer = cpu_to_le64(mapping); buffer 1090 drivers/net/ethernet/sun/sungem.c txd->buffer = cpu_to_le64(first_mapping); buffer 1588 drivers/net/ethernet/sun/sungem.c dma_addr = le64_to_cpu(rxd->buffer); buffer 1597 drivers/net/ethernet/sun/sungem.c rxd->buffer = 0; buffer 1612 drivers/net/ethernet/sun/sungem.c dma_addr = le64_to_cpu(txd->buffer); buffer 1645 drivers/net/ethernet/sun/sungem.c rxd->buffer = 0; buffer 1657 drivers/net/ethernet/sun/sungem.c rxd->buffer = cpu_to_le64(dma_addr); buffer 1668 drivers/net/ethernet/sun/sungem.c txd->buffer = 0; buffer 833 drivers/net/ethernet/sun/sungem.h __le64 buffer; buffer 868 drivers/net/ethernet/sun/sungem.h __le64 buffer; buffer 336 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c unsigned char buffer[128]; buffer 352 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c buffer, sizeof(buffer), false); buffer 353 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c netdev_dbg(netdev, " %#06x: %s\n", i, buffer); buffer 1022 drivers/net/ethernet/ti/davinci_cpdma.c dma_addr_t buffer; buffer 1046 drivers/net/ethernet/ti/davinci_cpdma.c buffer = si->data_dma; buffer 1047 drivers/net/ethernet/ti/davinci_cpdma.c dma_sync_single_for_device(ctlr->dev, buffer, len, chan->dir); buffer 1049 drivers/net/ethernet/ti/davinci_cpdma.c buffer = dma_map_single(ctlr->dev, si->data_virt, len, chan->dir); buffer 1050 drivers/net/ethernet/ti/davinci_cpdma.c ret = dma_mapping_error(ctlr->dev, buffer); buffer 1061 drivers/net/ethernet/ti/davinci_cpdma.c writel_relaxed(buffer, &desc->hw_buffer); buffer 1065 drivers/net/ethernet/ti/davinci_cpdma.c writel_relaxed(buffer, &desc->sw_buffer); buffer 219 drivers/net/ethernet/ti/tlan.c tag->buffer[9].address = addr; buffer 220 drivers/net/ethernet/ti/tlan.c tag->buffer[8].address = upper_32_bits(addr); buffer 228 drivers/net/ethernet/ti/tlan.c addr = tag->buffer[9].address; buffer 229 drivers/net/ethernet/ti/tlan.c addr |= ((unsigned long) tag->buffer[8].address << 16) << 16; buffer 1091 drivers/net/ethernet/ti/tlan.c tail_list->buffer[0].address = pci_map_single(priv->pci_dev, buffer 1097 drivers/net/ethernet/ti/tlan.c tail_list->buffer[0].count = TLAN_LAST_BUFFER | (u32) txlen; buffer 1098 drivers/net/ethernet/ti/tlan.c tail_list->buffer[1].count = 0; buffer 1099 drivers/net/ethernet/ti/tlan.c tail_list->buffer[1].address = 0; buffer 1387 drivers/net/ethernet/ti/tlan.c pci_unmap_single(priv->pci_dev, head_list->buffer[0].address, buffer 1392 drivers/net/ethernet/ti/tlan.c head_list->buffer[8].address = 0; buffer 1393 drivers/net/ethernet/ti/tlan.c head_list->buffer[9].address = 0; buffer 1519 drivers/net/ethernet/ti/tlan.c dma_addr_t frame_dma = head_list->buffer[0].address; buffer 1542 drivers/net/ethernet/ti/tlan.c head_list->buffer[0].address = buffer 1926 drivers/net/ethernet/ti/tlan.c list->buffer[0].address = 0; buffer 1927 drivers/net/ethernet/ti/tlan.c list->buffer[2].count = 0; buffer 1928 drivers/net/ethernet/ti/tlan.c list->buffer[2].address = 0; buffer 1929 drivers/net/ethernet/ti/tlan.c list->buffer[8].address = 0; buffer 1930 drivers/net/ethernet/ti/tlan.c list->buffer[9].address = 0; buffer 1940 drivers/net/ethernet/ti/tlan.c list->buffer[0].count = TLAN_MAX_FRAME_SIZE | TLAN_LAST_BUFFER; buffer 1945 drivers/net/ethernet/ti/tlan.c list->buffer[0].address = pci_map_single(priv->pci_dev, buffer 1950 drivers/net/ethernet/ti/tlan.c list->buffer[1].count = 0; buffer 1951 drivers/net/ethernet/ti/tlan.c list->buffer[1].address = 0; buffer 1978 drivers/net/ethernet/ti/tlan.c list->buffer[0].address, buffer 1983 drivers/net/ethernet/ti/tlan.c list->buffer[8].address = 0; buffer 1984 drivers/net/ethernet/ti/tlan.c list->buffer[9].address = 0; buffer 1993 drivers/net/ethernet/ti/tlan.c list->buffer[0].address, buffer 1997 drivers/net/ethernet/ti/tlan.c list->buffer[8].address = 0; buffer 1998 drivers/net/ethernet/ti/tlan.c list->buffer[9].address = 0; buffer 2067 drivers/net/ethernet/ti/tlan.c i, list->buffer[i].count, list->buffer[i].address); buffer 146 drivers/net/ethernet/ti/tlan.h struct tlan_buffer buffer[TLAN_BUFFERS_PER_LIST]; buffer 158 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c arg1 = (cmd->buffer) ? buffer 159 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ps3_mm_phys_to_lpar(__pa(cmd->buffer)) : buffer 181 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c arg1 = ps3_mm_phys_to_lpar(__pa(cmd->buffer)); buffer 206 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c void *buffer, buffer 218 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c cmd->buffer = buffer; buffer 300 drivers/net/ethernet/toshiba/ps3_gelic_wireless.h void *buffer; buffer 301 drivers/net/fddi/defza.c buf = fp->mmio + readl_u(&ring->buffer); buffer 414 drivers/net/fddi/defza.c *init = fp->mmio + readl_u(&ring->buffer); buffer 524 drivers/net/fddi/defza.c smt_rx_ptr = fp->mmio + readl_u(&fp->ring_smt_rx[i].buffer); buffer 798 drivers/net/fddi/defza.c smt_tx_ptr = fp->mmio + readl_u(&fp->ring_smt_tx[i].buffer); buffer 231 drivers/net/fddi/defza.h u32 buffer; /* address of the buffer in the FZA space */ buffer 258 drivers/net/fddi/defza.h u32 buffer; /* address of the buffer in the FZA space */ buffer 363 drivers/net/fddi/defza.h u32 buffer; /* address of the buffer */ buffer 121 drivers/net/fjes/fjes_hw.c epbh->buffer = mem; buffer 132 drivers/net/fjes/fjes_hw.c vfree(epbh->buffer); buffer 133 drivers/net/fjes/fjes_hw.c epbh->buffer = NULL; buffer 498 drivers/net/fjes/fjes_hw.c req_buf->share_buffer.buffer[idx++] = buf_pair->tx.size; buffer 501 drivers/net/fjes/fjes_hw.c addr = ((u8 *)(buf_pair->tx.buffer)) + buffer 503 drivers/net/fjes/fjes_hw.c req_buf->share_buffer.buffer[idx++] = buffer 508 drivers/net/fjes/fjes_hw.c req_buf->share_buffer.buffer[idx++] = buf_pair->rx.size; buffer 511 drivers/net/fjes/fjes_hw.c addr = ((u8 *)(buf_pair->rx.buffer)) + buffer 513 drivers/net/fjes/fjes_hw.c req_buf->share_buffer.buffer[idx++] = buffer 1203 drivers/net/fjes/fjes_hw.c req_buf->start_trace.buffer[i] = buffer 120 drivers/net/fjes/fjes_hw.h __le64 buffer[]; buffer 130 drivers/net/fjes/fjes_hw.h __le64 buffer[]; buffer 248 drivers/net/fjes/fjes_hw.h void *buffer; buffer 107 drivers/net/fjes/fjes_main.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL}; buffer 113 drivers/net/fjes/fjes_main.c status = acpi_evaluate_object(device->handle, "_STR", NULL, &buffer); buffer 117 drivers/net/fjes/fjes_main.c str = buffer.pointer; buffer 124 drivers/net/fjes/fjes_main.c kfree(buffer.pointer); buffer 127 drivers/net/fjes/fjes_main.c kfree(buffer.pointer); buffer 108 drivers/net/fjes/fjes_trace.h tx = (void *)buf_pair->tx.buffer; buffer 109 drivers/net/fjes/fjes_trace.h rx = (void *)buf_pair->rx.buffer; buffer 203 drivers/net/fjes/fjes_trace.h __field(phys_addr_t, buffer) buffer 208 drivers/net/fjes/fjes_trace.h __entry->buffer = req_buf->start_trace.buffer[0]; buffer 211 drivers/net/fjes/fjes_trace.h __entry->length, __entry->mode, &__entry->buffer) buffer 232 drivers/net/hamradio/baycom_epp.c static inline void append_crc_ccitt(unsigned char *buffer, int len) buffer 237 drivers/net/hamradio/baycom_epp.c crc = (crc >> 8) ^ crc_ccitt_table[(crc ^ *buffer++) & 0xff]; buffer 239 drivers/net/hamradio/baycom_epp.c *buffer++ = crc; buffer 240 drivers/net/hamradio/baycom_epp.c *buffer++ = crc >> 8; buffer 75 drivers/net/hamradio/hdlcdrv.c static inline void append_crc_ccitt(unsigned char *buffer, int len) buffer 77 drivers/net/hamradio/hdlcdrv.c unsigned int crc = crc_ccitt(0xffff, buffer, len) ^ 0xffff; buffer 78 drivers/net/hamradio/hdlcdrv.c buffer += len; buffer 79 drivers/net/hamradio/hdlcdrv.c *buffer++ = crc; buffer 80 drivers/net/hamradio/hdlcdrv.c *buffer++ = crc >> 8; buffer 119 drivers/net/hamradio/hdlcdrv.c if (s->hdlcrx.len >= sizeof(s->hdlcrx.buffer)) { buffer 139 drivers/net/hamradio/hdlcdrv.c if (!check_crc_ccitt(s->hdlcrx.buffer, s->hdlcrx.len)) buffer 149 drivers/net/hamradio/hdlcdrv.c memcpy(cp, s->hdlcrx.buffer, pkt_len - 1); buffer 193 drivers/net/hamradio/hdlcdrv.c s->hdlcrx.bp = s->hdlcrx.buffer; buffer 308 drivers/net/hamradio/hdlcdrv.c s->hdlctx.buffer, buffer 311 drivers/net/hamradio/hdlcdrv.c s->hdlctx.bp = s->hdlctx.buffer; buffer 312 drivers/net/hamradio/hdlcdrv.c append_crc_ccitt(s->hdlctx.buffer, pkt_len); buffer 579 drivers/net/hamradio/hdlcdrv.c s->bitbuf_channel.buffer[s->bitbuf_channel.rd]; buffer 581 drivers/net/hamradio/hdlcdrv.c sizeof(s->bitbuf_channel.buffer); buffer 592 drivers/net/hamradio/hdlcdrv.c s->bitbuf_hdlc.buffer[s->bitbuf_hdlc.rd]; buffer 594 drivers/net/hamradio/hdlcdrv.c sizeof(s->bitbuf_hdlc.buffer); buffer 128 drivers/net/ieee802154/atusb.c u8 *buffer; buffer 131 drivers/net/ieee802154/atusb.c buffer = kmalloc(1, GFP_KERNEL); buffer 132 drivers/net/ieee802154/atusb.c if (!buffer) buffer 138 drivers/net/ieee802154/atusb.c 0, reg, buffer, 1, 1000); buffer 141 drivers/net/ieee802154/atusb.c value = buffer[0]; buffer 142 drivers/net/ieee802154/atusb.c kfree(buffer); buffer 145 drivers/net/ieee802154/atusb.c kfree(buffer); buffer 799 drivers/net/ieee802154/atusb.c unsigned char *buffer; buffer 802 drivers/net/ieee802154/atusb.c buffer = kmalloc(3, GFP_KERNEL); buffer 803 drivers/net/ieee802154/atusb.c if (!buffer) buffer 809 drivers/net/ieee802154/atusb.c buffer, 3, 1000); buffer 811 drivers/net/ieee802154/atusb.c atusb->fw_ver_maj = buffer[0]; buffer 812 drivers/net/ieee802154/atusb.c atusb->fw_ver_min = buffer[1]; buffer 813 drivers/net/ieee802154/atusb.c atusb->fw_hw_type = buffer[2]; buffer 849 drivers/net/ieee802154/atusb.c kfree(buffer); buffer 969 drivers/net/ieee802154/atusb.c unsigned char *buffer; buffer 982 drivers/net/ieee802154/atusb.c buffer = kmalloc(IEEE802154_EXTENDED_ADDR_LEN, GFP_KERNEL); buffer 983 drivers/net/ieee802154/atusb.c if (!buffer) buffer 989 drivers/net/ieee802154/atusb.c buffer, IEEE802154_EXTENDED_ADDR_LEN, 1000); buffer 993 drivers/net/ieee802154/atusb.c kfree(buffer); buffer 997 drivers/net/ieee802154/atusb.c memcpy(&extended_addr, buffer, IEEE802154_EXTENDED_ADDR_LEN); buffer 1009 drivers/net/ieee802154/atusb.c kfree(buffer); buffer 13 drivers/net/netdevsim/ipsec.c char __user *buffer, buffer 56 drivers/net/netdevsim/ipsec.c len = simple_read_from_buffer(buffer, count, ppos, buf, p - buf); buffer 708 drivers/net/sb1000.c unsigned char buffer[], int size) buffer 713 drivers/net/sb1000.c if (buffer[24] == 0x08 && buffer[25] == 0x00 && buffer[26] == 0x45) { buffer 715 drivers/net/sb1000.c "to %d.%d.%d.%d:%d\n", name, buffer[28] << 8 | buffer[29], buffer 716 drivers/net/sb1000.c buffer[35], buffer[38], buffer[39], buffer[40], buffer[41], buffer 717 drivers/net/sb1000.c buffer[46] << 8 | buffer[47], buffer 718 drivers/net/sb1000.c buffer[42], buffer[43], buffer[44], buffer[45], buffer 719 drivers/net/sb1000.c buffer[48] << 8 | buffer[49]); buffer 724 drivers/net/sb1000.c printk(" %02x", buffer[k]); buffer 741 drivers/net/sb1000.c unsigned char st[2], buffer[FRAMESIZE], session_id, frame_id; buffer 806 drivers/net/sb1000.c insw(ioaddr, buffer, NewDatagramHeaderSize / 2); buffer 808 drivers/net/sb1000.c printk("cm0: IP identification: %02x%02x fragment offset: %02x%02x\n", buffer[30], buffer[31], buffer[32], buffer[33]); buffer 810 drivers/net/sb1000.c if (buffer[0] != NewDatagramHeaderSkip) { buffer 813 drivers/net/sb1000.c "got %02x expecting %02x\n", dev->name, buffer[0], buffer 816 drivers/net/sb1000.c insw(ioaddr, buffer, NewDatagramDataSize / 2); buffer 819 drivers/net/sb1000.c dlen = ((buffer[NewDatagramHeaderSkip + 3] & 0x0f) << 8 | buffer 820 drivers/net/sb1000.c buffer[NewDatagramHeaderSkip + 4]) - 17; buffer 826 drivers/net/sb1000.c insw(ioaddr, buffer, NewDatagramDataSize / 2); buffer 837 drivers/net/sb1000.c insw(ioaddr, buffer, NewDatagramDataSize / 2); buffer 842 drivers/net/sb1000.c skb->protocol = (unsigned short) buffer[NewDatagramHeaderSkip + 16]; buffer 848 drivers/net/sb1000.c insw(ioaddr, buffer, ContDatagramHeaderSize / 2); buffer 849 drivers/net/sb1000.c if (buffer[0] != ContDatagramHeaderSkip) { buffer 852 drivers/net/sb1000.c "got %02x expecting %02x\n", dev->name, buffer[0], buffer 855 drivers/net/sb1000.c insw(ioaddr, buffer, ContDatagramDataSize / 2); buffer 878 drivers/net/sb1000.c insw(ioaddr, buffer, FrameSize / 2); buffer 885 drivers/net/sb1000.c sb1000_print_status_buffer(dev->name, st, buffer, FrameSize); buffer 57 drivers/net/usb/kalmia.c u8 *buffer, u8 expected_len) buffer 82 drivers/net/usb/kalmia.c buffer, expected_len, &act_len, KALMIA_USB_TIMEOUT); buffer 719 drivers/net/usb/r8152.c void *buffer; buffer 726 drivers/net/usb/r8152.c void *buffer; buffer 1234 drivers/net/usb/r8152.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 1261 drivers/net/usb/r8152.c status = acpi_evaluate_object(NULL, "\\_SB.AMAC", NULL, &buffer); buffer 1262 drivers/net/usb/r8152.c obj = (union acpi_object *)buffer.pointer; buffer 1552 drivers/net/usb/r8152.c rx_agg->buffer = page_address(rx_agg->page); buffer 1596 drivers/net/usb/r8152.c kfree(tp->tx_info[i].buffer); buffer 1597 drivers/net/usb/r8152.c tp->tx_info[i].buffer = NULL; buffer 1657 drivers/net/usb/r8152.c tp->tx_info[i].buffer = buf; buffer 2008 drivers/net/usb/r8152.c return (int)(addr - agg->buffer); buffer 2090 drivers/net/usb/r8152.c rx_desc = agg->buffer; buffer 2091 drivers/net/usb/r8152.c rx_data = agg->buffer; buffer 2278 drivers/net/usb/r8152.c agg->buffer, tp->rx_buf_sz, buffer 1518 drivers/net/usb/smsc75xx.c static u16 smsc_crc(const u8 *buffer, size_t len) buffer 1520 drivers/net/usb/smsc75xx.c return bitrev16(crc16(0xFFFF, buffer, len)); buffer 1335 drivers/net/usb/smsc95xx.c static u32 smsc_crc(const u8 *buffer, size_t len, int filter) buffer 1337 drivers/net/usb/smsc95xx.c u32 crc = bitrev16(crc16(0xFFFF, buffer, len)); buffer 792 drivers/net/wan/sdla.c pbuf = (void *) (dev->mem_start + ((pbufi->rse_base + flp->buffer * sizeof(struct buf_entry)) & SDLA_ADDR_MASK)); buffer 861 drivers/net/wan/sdla.c flp->buffer = (flp->buffer + 1) % pbufi->rse_num; buffer 1029 drivers/net/wan/sdla.c flp->buffer = 0; buffer 41 drivers/net/wimax/i2400m/debugfs.c ssize_t i2400m_rx_stats_read(struct file *filp, char __user *buffer, buffer 59 drivers/net/wimax/i2400m/debugfs.c return simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); buffer 65 drivers/net/wimax/i2400m/debugfs.c ssize_t i2400m_rx_stats_write(struct file *filp, const char __user *buffer, buffer 95 drivers/net/wimax/i2400m/debugfs.c ssize_t i2400m_tx_stats_read(struct file *filp, char __user *buffer, buffer 113 drivers/net/wimax/i2400m/debugfs.c return simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); buffer 118 drivers/net/wimax/i2400m/debugfs.c ssize_t i2400m_tx_stats_write(struct file *filp, const char __user *buffer, buffer 149 drivers/net/wimax/i2400m/usb.c void *buffer; buffer 158 drivers/net/wimax/i2400m/usb.c buffer = kmalloc(barker_size, GFP_KERNEL); buffer 159 drivers/net/wimax/i2400m/usb.c if (buffer == NULL) buffer 163 drivers/net/wimax/i2400m/usb.c memcpy(buffer, barker, barker_size); buffer 165 drivers/net/wimax/i2400m/usb.c ret = usb_bulk_msg(i2400mu->usb_dev, pipe, buffer, barker_size, buffer 219 drivers/net/wimax/i2400m/usb.c kfree(buffer); buffer 161 drivers/net/wireless/ath/ath10k/bmi.c u32 address, void *buffer, u32 length) buffer 192 drivers/net/wireless/ath/ath10k/bmi.c memcpy(buffer, resp.read_mem.payload, rxlen); buffer 194 drivers/net/wireless/ath/ath10k/bmi.c buffer += rxlen; buffer 265 drivers/net/wireless/ath/ath10k/bmi.c u32 address, const void *buffer, u32 length) buffer 284 drivers/net/wireless/ath/ath10k/bmi.c memcpy(cmd.write_mem.payload, buffer, txlen); buffer 303 drivers/net/wireless/ath/ath10k/bmi.c buffer += txlen; buffer 349 drivers/net/wireless/ath/ath10k/bmi.c int ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length) buffer 357 drivers/net/wireless/ath/ath10k/bmi.c buffer, length); buffer 371 drivers/net/wireless/ath/ath10k/bmi.c memcpy(cmd.lz_data.payload, buffer, txlen); buffer 380 drivers/net/wireless/ath/ath10k/bmi.c buffer += txlen; buffer 414 drivers/net/wireless/ath/ath10k/bmi.c u32 address, const void *buffer, u32 length) buffer 423 drivers/net/wireless/ath/ath10k/bmi.c address, buffer, length); buffer 431 drivers/net/wireless/ath/ath10k/bmi.c memcpy(trailer, buffer + head_len, trailer_len); buffer 433 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_bmi_lz_data(ar, buffer, head_len); buffer 229 drivers/net/wireless/ath/ath10k/bmi.h void *buffer, u32 length); buffer 231 drivers/net/wireless/ath/ath10k/bmi.h const void *buffer, u32 length); buffer 260 drivers/net/wireless/ath/ath10k/bmi.h int ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length); buffer 262 drivers/net/wireless/ath/ath10k/bmi.h const void *buffer, u32 length); buffer 490 drivers/net/wireless/ath/ath10k/ce.c dma_addr_t buffer, buffer 525 drivers/net/wireless/ath/ath10k/ce.c sdesc.addr = __cpu_to_le32(buffer); buffer 547 drivers/net/wireless/ath/ath10k/ce.c dma_addr_t buffer, buffer 594 drivers/net/wireless/ath/ath10k/ce.c flags |= upper_32_bits(buffer) & CE_DESC_ADDR_HI_MASK; buffer 595 drivers/net/wireless/ath/ath10k/ce.c addr[0] = __cpu_to_le32(buffer); buffer 628 drivers/net/wireless/ath/ath10k/ce.c dma_addr_t buffer, buffer 634 drivers/net/wireless/ath/ath10k/ce.c buffer, nbytes, transfer_id, flags); buffer 668 drivers/net/wireless/ath/ath10k/ce.c dma_addr_t buffer, buffer 679 drivers/net/wireless/ath/ath10k/ce.c buffer, nbytes, transfer_id, flags); buffer 176 drivers/net/wireless/ath/ath10k/ce.h dma_addr_t buffer, buffer 184 drivers/net/wireless/ath/ath10k/ce.h dma_addr_t buffer, buffer 324 drivers/net/wireless/ath/ath10k/ce.h dma_addr_t buffer, u32 nbytes, buffer 101 drivers/net/wireless/ath/ath10k/debug.h void ath10k_debug_dbglog_add(struct ath10k *ar, u8 *buffer, int len); buffer 175 drivers/net/wireless/ath/ath10k/debug.h static inline void ath10k_debug_dbglog_add(struct ath10k *ar, u8 *buffer, buffer 295 drivers/net/wireless/ath/ath10k/htc.c u8 *buffer, buffer 309 drivers/net/wireless/ath/ath10k/htc.c orig_buffer = buffer; buffer 313 drivers/net/wireless/ath/ath10k/htc.c record = (struct ath10k_htc_record *)buffer; buffer 374 drivers/net/wireless/ath/ath10k/htc.c buffer += sizeof(record->hdr) + record->hdr.len; buffer 378 drivers/net/wireless/ath/ath10k/htc.h u8 *buffer, buffer 932 drivers/net/wireless/ath/ath10k/hw.c const void *buffer, buffer 946 drivers/net/wireless/ath/ath10k/hw.c ret = ath10k_hif_diag_write(ar, address, buffer, size); buffer 957 drivers/net/wireless/ath/ath10k/hw.c buf = buffer + size; buffer 970 drivers/net/wireless/ath/ath10k/hw.c ret = ath10k_hif_diag_write(ar, address, buffer, length); buffer 987 drivers/net/wireless/ath/ath10k/hw.c const void *buffer, buffer 993 drivers/net/wireless/ath/ath10k/hw.c return ath10k_hw_diag_segment_msb_download(ar, buffer, buffer 996 drivers/net/wireless/ath/ath10k/hw.c return ath10k_hif_diag_write(ar, address, buffer, length); buffer 1001 drivers/net/wireless/ath/ath10k/hw.c const void *buffer, buffer 1004 drivers/net/wireless/ath/ath10k/hw.c const u8 *buf = buffer; buffer 398 drivers/net/wireless/ath/ath10k/hw.h const void *buffer, buffer 35 drivers/net/wireless/ath/ath6kl/hif-ops.h static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, buffer 41 drivers/net/wireless/ath/ath6kl/hif-ops.h address, buffer, length, request); buffer 43 drivers/net/wireless/ath/ath6kl/hif-ops.h return ar->hif_ops->write_async(ar, address, buffer, length, buffer 82 drivers/net/wireless/ath/ath6kl/hif.h u8 *buffer; buffer 237 drivers/net/wireless/ath/ath6kl/hif.h int (*write_async)(struct ath6kl *ar, u32 address, u8 *buffer, buffer 851 drivers/net/wireless/ath/ath6kl/htc_pipe.c static int htc_process_trailer(struct htc_target *target, u8 *buffer, buffer 866 drivers/net/wireless/ath/ath6kl/htc_pipe.c record = (struct htc_record_hdr *) buffer; buffer 868 drivers/net/wireless/ath/ath6kl/htc_pipe.c buffer += sizeof(struct htc_record_hdr); buffer 880 drivers/net/wireless/ath/ath6kl/htc_pipe.c record_buf = buffer; buffer 902 drivers/net/wireless/ath/ath6kl/htc_pipe.c buffer += record->len; buffer 454 drivers/net/wireless/ath/ath6kl/sdio.c req->buffer, req->length, buffer 566 drivers/net/wireless/ath/ath6kl/sdio.c static int ath6kl_sdio_write_async(struct ath6kl *ar, u32 address, u8 *buffer, buffer 579 drivers/net/wireless/ath/ath6kl/sdio.c bus_req->buffer = buffer; buffer 3017 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c u8 *buffer) buffer 3024 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c *buffer = (val >> (8 * (address % 2))) & 0xff; buffer 3029 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c u8 *buffer) buffer 3036 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c buffer[0] = val >> 8; buffer 3037 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c buffer[1] = val & 0xff; buffer 3042 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static bool ar9300_read_eeprom(struct ath_hw *ah, int address, u8 *buffer, buffer 3059 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (!ar9300_eeprom_read_byte(ah, address--, buffer++)) buffer 3066 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (!ar9300_eeprom_read_word(ah, address, buffer)) buffer 3070 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c buffer += 2; buffer 3074 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (!ar9300_eeprom_read_byte(ah, address, buffer)) buffer 3097 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static bool ar9300_read_otp(struct ath_hw *ah, int address, u8 *buffer, buffer 3108 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c buffer[i] = (data >> offset) & 0xff; buffer 3227 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c typedef bool (*eeprom_read_op)(struct ath_hw *ah, int address, u8 *buffer, buffer 129 drivers/net/wireless/ath/carl9170/rx.c static void carl9170_cmd_callback(struct ar9170 *ar, u32 len, void *buffer) buffer 142 drivers/net/wireless/ath/carl9170/rx.c buffer, len); buffer 153 drivers/net/wireless/ath/carl9170/rx.c memcpy(ar->readbuf, buffer + 4, len - 4); buffer 1068 drivers/net/wireless/broadcom/b43/b43.h static inline void b43_block_read(struct b43_wldev *dev, void *buffer, buffer 1071 drivers/net/wireless/broadcom/b43/b43.h dev->dev->block_read(dev->dev, buffer, count, offset, reg_width); buffer 1074 drivers/net/wireless/broadcom/b43/b43.h static inline void b43_block_write(struct b43_wldev *dev, const void *buffer, buffer 1077 drivers/net/wireless/broadcom/b43/b43.h dev->dev->block_write(dev->dev, buffer, count, offset, reg_width); buffer 63 drivers/net/wireless/broadcom/b43/bus.c void b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, buffer 66 drivers/net/wireless/broadcom/b43/bus.c bcma_block_read(dev->bdev, buffer, count, offset, reg_width); buffer 69 drivers/net/wireless/broadcom/b43/bus.c void b43_bus_bcma_block_write(struct b43_bus_dev *dev, const void *buffer, buffer 72 drivers/net/wireless/broadcom/b43/bus.c bcma_block_write(dev->bdev, buffer, count, offset, reg_width); buffer 166 drivers/net/wireless/broadcom/b43/bus.c static void b43_bus_ssb_block_read(struct b43_bus_dev *dev, void *buffer, buffer 169 drivers/net/wireless/broadcom/b43/bus.c ssb_block_read(dev->sdev, buffer, count, offset, reg_width); buffer 172 drivers/net/wireless/broadcom/b43/bus.c void b43_bus_ssb_block_write(struct b43_bus_dev *dev, const void *buffer, buffer 175 drivers/net/wireless/broadcom/b43/bus.c ssb_block_write(dev->sdev, buffer, count, offset, reg_width); buffer 33 drivers/net/wireless/broadcom/b43/bus.h void (*block_read)(struct b43_bus_dev *dev, void *buffer, buffer 35 drivers/net/wireless/broadcom/b43/bus.h void (*block_write)(struct b43_bus_dev *dev, const void *buffer, buffer 522 drivers/net/wireless/broadcom/b43/debugfs.c if (!dfile->buffer) { buffer 536 drivers/net/wireless/broadcom/b43/debugfs.c dfile->buffer = buf; buffer 540 drivers/net/wireless/broadcom/b43/debugfs.c dfile->buffer, buffer 543 drivers/net/wireless/broadcom/b43/debugfs.c free_pages((unsigned long)dfile->buffer, buforder); buffer 544 drivers/net/wireless/broadcom/b43/debugfs.c dfile->buffer = NULL; buffer 36 drivers/net/wireless/broadcom/b43/debugfs.h char *buffer; buffer 744 drivers/net/wireless/broadcom/b43/main.c u32 buffer[5] = { buffer 754 drivers/net/wireless/broadcom/b43/main.c buffer[0] = 0x000201CC; buffer 757 drivers/net/wireless/broadcom/b43/main.c buffer[0] = 0x000B846E; buffer 761 drivers/net/wireless/broadcom/b43/main.c b43_ram_write(dev, i * 4, buffer[i]); buffer 4656 drivers/net/wireless/broadcom/b43/phy_n.c u16 buffer[7]; buffer 4661 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_read_bulk(dev, B43_NTAB16(15, 80), 7, buffer); buffer 4664 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ((buffer[i * 2] & 0x3FF) << 10) | buffer 4665 drivers/net/wireless/broadcom/b43/phy_n.c (buffer[i * 2 + 1] & 0x3FF); buffer 4677 drivers/net/wireless/broadcom/b43/phy_n.c tmp = buffer[5 + i]; buffer 5385 drivers/net/wireless/broadcom/b43/phy_n.c u16 buffer[11]; buffer 5519 drivers/net/wireless/broadcom/b43/phy_n.c buffer[0] = b43_ntab_read(dev, buffer 5521 drivers/net/wireless/broadcom/b43/phy_n.c diq_start = buffer[0]; buffer 5522 drivers/net/wireless/broadcom/b43/phy_n.c buffer[0] = 0; buffer 5536 drivers/net/wireless/broadcom/b43/phy_n.c buffer); buffer 5538 drivers/net/wireless/broadcom/b43/phy_n.c buffer); buffer 5541 drivers/net/wireless/broadcom/b43/phy_n.c buffer[0] = diq_start; buffer 5550 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_write_bulk(dev, B43_NTAB16(15, 96), 4, buffer); buffer 5551 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_read_bulk(dev, B43_NTAB16(15, 80), 4, buffer); buffer 5553 drivers/net/wireless/broadcom/b43/phy_n.c buffer[0] = 0; buffer 5554 drivers/net/wireless/broadcom/b43/phy_n.c buffer[1] = 0; buffer 5555 drivers/net/wireless/broadcom/b43/phy_n.c buffer[2] = 0; buffer 5556 drivers/net/wireless/broadcom/b43/phy_n.c buffer[3] = 0; buffer 5559 drivers/net/wireless/broadcom/b43/phy_n.c buffer); buffer 5561 drivers/net/wireless/broadcom/b43/phy_n.c buffer); buffer 5563 drivers/net/wireless/broadcom/b43/phy_n.c buffer); buffer 5565 drivers/net/wireless/broadcom/b43/phy_n.c buffer); buffer 5607 drivers/net/wireless/broadcom/b43/phy_n.c u16 buffer[7]; buffer 5615 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_read_bulk(dev, B43_NTAB16(15, 80), 7, buffer); buffer 5617 drivers/net/wireless/broadcom/b43/phy_n.c if (buffer[i] != nphy->txiqlocal_bestc[i]) { buffer 5627 drivers/net/wireless/broadcom/b43/phy_n.c buffer[i] = 0; buffer 5629 drivers/net/wireless/broadcom/b43/phy_n.c buffer); buffer 219 drivers/net/wireless/broadcom/b43legacy/debugfs.c if (!dfile->buffer) { buffer 238 drivers/net/wireless/broadcom/b43legacy/debugfs.c dfile->buffer = buf; buffer 242 drivers/net/wireless/broadcom/b43legacy/debugfs.c dfile->buffer, buffer 245 drivers/net/wireless/broadcom/b43legacy/debugfs.c free_pages((unsigned long)dfile->buffer, buforder); buffer 246 drivers/net/wireless/broadcom/b43legacy/debugfs.c dfile->buffer = NULL; buffer 32 drivers/net/wireless/broadcom/b43legacy/debugfs.h char *buffer; buffer 602 drivers/net/wireless/broadcom/b43legacy/main.c u32 buffer[5] = { buffer 614 drivers/net/wireless/broadcom/b43legacy/main.c buffer[0] = 0x000B846E; buffer 622 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_ram_write(dev, i * 4, buffer[i]); buffer 711 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c void *buffer, int buflen) buffer 750 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c memcpy(buffer, tmpbuf, buflen); buffer 827 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c brcmf_usb_dl_send_bulk(struct brcmf_usbdev_info *devinfo, void *buffer, int len) buffer 836 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c devinfo->tx_pipe, buffer, len, buffer 1107 drivers/net/wireless/cisco/airo.c static int get_dec_u16( char *buffer, int *start, int limit ); buffer 1152 drivers/net/wireless/cisco/airo.c static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len); buffer 1967 drivers/net/wireless/cisco/airo.c unsigned char *buffer; buffer 1984 drivers/net/wireless/cisco/airo.c buffer = skb->data; buffer 2012 drivers/net/wireless/cisco/airo.c (ntohs(((__be16 *)buffer)[6]) != 0x888E)) { buffer 2015 drivers/net/wireless/cisco/airo.c if (encapsulate(ai, (etherHead *)buffer, &pMic, len - sizeof(etherHead)) != SUCCESS) buffer 2021 drivers/net/wireless/cisco/airo.c memcpy (sendbuf, buffer, sizeof(etherHead)); buffer 2022 drivers/net/wireless/cisco/airo.c buffer += sizeof(etherHead); buffer 2026 drivers/net/wireless/cisco/airo.c memcpy (sendbuf, buffer, len - sizeof(etherHead)); buffer 2033 drivers/net/wireless/cisco/airo.c memcpy(sendbuf, buffer, len); buffer 3291 drivers/net/wireless/cisco/airo.c __le16 fc, v, *buffer, tmpbuf[4]; buffer 3342 drivers/net/wireless/cisco/airo.c buffer = skb_put(skb, len + hdrlen); buffer 3344 drivers/net/wireless/cisco/airo.c buffer[0] = fc; buffer 3345 drivers/net/wireless/cisco/airo.c bap_read(ai, buffer + 1, hdrlen - 2, BAP0); buffer 3359 drivers/net/wireless/cisco/airo.c bap_read(ai, buffer + hdrlen/2, len, BAP0); buffer 3363 drivers/net/wireless/cisco/airo.c bap_read(ai, buffer, ETH_ALEN * 2, BAP0); buffer 3379 drivers/net/wireless/cisco/airo.c bap_read(ai, buffer + ETH_ALEN, len, BAP0); buffer 3380 drivers/net/wireless/cisco/airo.c if (decapsulate(ai, &micbuf, (etherHead*) buffer, len)) buffer 3393 drivers/net/wireless/cisco/airo.c sa = (char *) buffer + 6; buffer 3397 drivers/net/wireless/cisco/airo.c sa = (char *) buffer + 10; buffer 3644 drivers/net/wireless/cisco/airo.c char *buffer; buffer 3660 drivers/net/wireless/cisco/airo.c buffer = skb_put(skb,len); buffer 3661 drivers/net/wireless/cisco/airo.c memcpy(buffer, ai->rxfids[0].virtual_host_addr, ETH_ALEN * 2); buffer 3674 drivers/net/wireless/cisco/airo.c memcpy(buffer + ETH_ALEN * 2, buffer 3677 drivers/net/wireless/cisco/airo.c if (decapsulate (ai, &micbuf, (etherHead*)buffer, len - off - ETH_ALEN * 2)) { buffer 3687 drivers/net/wireless/cisco/airo.c sa = buffer + ETH_ALEN; buffer 3717 drivers/net/wireless/cisco/airo.c u16 *buffer; buffer 3744 drivers/net/wireless/cisco/airo.c buffer = skb_put(skb, len + hdrlen); buffer 3745 drivers/net/wireless/cisco/airo.c memcpy ((char *)buffer, ptr, hdrlen); buffer 3758 drivers/net/wireless/cisco/airo.c memcpy ((char *)buffer + hdrlen, ptr, len); buffer 3765 drivers/net/wireless/cisco/airo.c sa = (char*)buffer + 10; buffer 4416 drivers/net/wireless/cisco/airo.c char __user *buffer, buffer 4421 drivers/net/wireless/cisco/airo.c const char __user *buffer, buffer 4610 drivers/net/wireless/cisco/airo.c char __user *buffer, buffer 4619 drivers/net/wireless/cisco/airo.c return simple_read_from_buffer(buffer, len, offset, priv->rbuffer, buffer 4628 drivers/net/wireless/cisco/airo.c const char __user *buffer, buffer 4639 drivers/net/wireless/cisco/airo.c buffer, len); buffer 4767 drivers/net/wireless/cisco/airo.c static int get_dec_u16( char *buffer, int *start, int limit ) { buffer 4770 drivers/net/wireless/cisco/airo.c for (value = 0; *start < limit && buffer[*start] >= '0' && buffer 4771 drivers/net/wireless/cisco/airo.c buffer[*start] <= '9'; (*start)++) { buffer 4774 drivers/net/wireless/cisco/airo.c value += buffer[*start] - '0'; buffer 3863 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 buffer[4]; buffer 3875 drivers/net/wireless/intel/ipw2x00/ipw2100.c buffer[i] = buffer 3879 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(dev, loop + i * 4, &buffer[i]); buffer 3887 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x0], buffer 3888 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x1], buffer 3889 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x2], buffer 3890 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x3], buffer 3891 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x4], buffer 3892 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x5], buffer 3893 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x6], buffer 3894 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x7], buffer 3895 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x8], buffer 3896 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0x9], buffer 3897 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0xa], buffer 3898 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0xb], buffer 3899 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0xc], buffer 3900 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0xd], buffer 3901 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0xe], buffer 3902 drivers/net/wireless/intel/ipw2x00/ipw2100.c ((u8 *) buffer)[0xf]); buffer 3906 drivers/net/wireless/intel/ipw2x00/ipw2100.c (u8 *) buffer, 16, loop)); buffer 1478 drivers/net/wireless/intel/ipw2x00/ipw2200.c char buffer[] = "00000000"; buffer 1480 drivers/net/wireless/intel/ipw2x00/ipw2200.c (sizeof(buffer) - 1) > count ? count : sizeof(buffer) - 1; buffer 1482 drivers/net/wireless/intel/ipw2x00/ipw2200.c char *p = buffer; buffer 1486 drivers/net/wireless/intel/ipw2x00/ipw2200.c strncpy(buffer, buf, len); buffer 1487 drivers/net/wireless/intel/ipw2x00/ipw2200.c buffer[len] = 0; buffer 1496 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (p == buffer) { buffer 225 drivers/net/wireless/intel/ipw2x00/libipw_module.c const char __user *buffer, size_t count, loff_t *pos) buffer 231 drivers/net/wireless/intel/ipw2x00/libipw_module.c if (copy_from_user(buf, buffer, len)) buffer 3258 drivers/net/wireless/intel/iwlegacy/3945-mac.c u8 buffer[32]; buffer 3262 drivers/net/wireless/intel/iwlegacy/3945-mac.c char *p = buffer; buffer 3263 drivers/net/wireless/intel/iwlegacy/3945-mac.c strlcpy(buffer, buf, sizeof(buffer)); buffer 3268 drivers/net/wireless/intel/iwlegacy/3945-mac.c p = buffer; buffer 797 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct iwl_mvm_reorder_buffer *buffer, buffer 802 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (gp2 != buffer->consec_oldsn_ampdu_gp2) { buffer 809 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (!buffer->consec_oldsn_prev_drop) buffer 810 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->consec_oldsn_drops = 0; buffer 813 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->consec_oldsn_ampdu_gp2 = gp2; buffer 814 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c } else if (buffer->consec_oldsn_prev_drop) { buffer 829 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->consec_oldsn_prev_drop = 1; buffer 830 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->consec_oldsn_drops++; buffer 833 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (buffer->consec_oldsn_drops == IWL_MVM_AMPDU_CONSEC_DROPS_DELBA) { buffer 839 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->consec_oldsn_prev_drop = 0; buffer 840 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->consec_oldsn_drops = 0; buffer 859 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct iwl_mvm_reorder_buffer *buffer; buffer 920 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer = &baid_data->reorder_buf[queue]; buffer 923 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c spin_lock_bh(&buffer->lock); buffer 925 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (!buffer->valid) { buffer 927 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c spin_unlock_bh(&buffer->lock); buffer 930 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->valid = true; buffer 935 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer, nssn, 0); buffer 949 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (!iwl_mvm_is_sn_less(nssn, buffer->head_sn + buffer->buf_size, buffer 950 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->buf_size) || buffer 951 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c !ieee80211_sn_less(sn, buffer->head_sn + buffer->buf_size)) { buffer 954 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_release_frames(mvm, sta, napi, baid_data, buffer, buffer 958 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_oldsn_workaround(mvm, sta, tid, buffer, reorder, buffer 962 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (ieee80211_sn_less(sn, buffer->head_sn)) buffer 966 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (!buffer->num_stored && ieee80211_sn_less(sn, nssn)) { buffer 967 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (iwl_mvm_is_sn_less(buffer->head_sn, nssn, buffer 968 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->buf_size) && buffer 984 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->head_sn = nssn; buffer 987 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c spin_unlock_bh(&buffer->lock); buffer 999 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (!buffer->num_stored && sn == buffer->head_sn) { buffer 1003 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->head_sn = ieee80211_sn_inc(buffer->head_sn); buffer 1006 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c spin_unlock_bh(&buffer->lock); buffer 1010 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c index = sn % buffer->buf_size; buffer 1023 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c else if (tail && (sn != buffer->last_amsdu || buffer 1024 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->last_sub_index >= sub_frame_idx)) buffer 1029 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->num_stored++; buffer 1033 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->last_amsdu = sn; buffer 1034 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer->last_sub_index = sub_frame_idx; buffer 1050 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c buffer, nssn, buffer 1053 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c spin_unlock_bh(&buffer->lock); buffer 1058 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c spin_unlock_bh(&buffer->lock); buffer 3064 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u32 *buffer = (u32 *)fw_mon_data->data; buffer 3073 drivers/net/wireless/intel/iwlwifi/pcie/trans.c buffer[i] = iwl_read_umac_prph_no_grab(trans, buffer 72 drivers/net/wireless/intersil/hostap/hostap.h struct iw_request_info *info, char *buffer); buffer 2368 drivers/net/wireless/intersil/hostap/hostap_ap.c struct iw_request_info *info, char *buffer) buffer 2375 drivers/net/wireless/intersil/hostap/hostap_ap.c char *current_ev = buffer; buffer 2376 drivers/net/wireless/intersil/hostap/hostap_ap.c char *end_buf = buffer + IW_SCAN_MAX_DATA; buffer 2478 drivers/net/wireless/intersil/hostap/hostap_ap.c return current_ev - buffer; buffer 1955 drivers/net/wireless/intersil/hostap/hostap_ioctl.c char *buffer, int buflen) buffer 1959 drivers/net/wireless/intersil/hostap/hostap_ioctl.c char *current_ev = buffer; buffer 1960 drivers/net/wireless/intersil/hostap/hostap_ioctl.c char *end_buf = buffer + buflen; buffer 2022 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return current_ev - buffer; buffer 127 drivers/net/wireless/intersil/p54/p54spi.c u32 buffer = p54spi_read32(priv, reg); buffer 128 drivers/net/wireless/intersil/p54/p54spi.c if ((buffer & bits) == bits) buffer 35 drivers/net/wireless/intersil/prism54/islpci_mgt.c display_buffer(char *buffer, int length) buffer 41 drivers/net/wireless/intersil/prism54/islpci_mgt.c printk("[%02x]", *buffer & 255); buffer 43 drivers/net/wireless/intersil/prism54/islpci_mgt.c buffer++; buffer 106 drivers/net/wireless/marvell/libertas/if_sdio.c u8 buffer[0] __attribute__((aligned(4))); buffer 119 drivers/net/wireless/marvell/libertas/if_sdio.c u8 buffer[65536] __attribute__((aligned(4))); buffer 203 drivers/net/wireless/marvell/libertas/if_sdio.c u8 *buffer, unsigned size) buffer 222 drivers/net/wireless/marvell/libertas/if_sdio.c memcpy(priv->resp_buf[i], buffer, size); buffer 234 drivers/net/wireless/marvell/libertas/if_sdio.c u8 *buffer, unsigned size) buffer 254 drivers/net/wireless/marvell/libertas/if_sdio.c skb_put_data(skb, buffer, size); buffer 265 drivers/net/wireless/marvell/libertas/if_sdio.c u8 *buffer, unsigned size) buffer 284 drivers/net/wireless/marvell/libertas/if_sdio.c event = buffer[3] << 24; buffer 285 drivers/net/wireless/marvell/libertas/if_sdio.c event |= buffer[2] << 16; buffer 286 drivers/net/wireless/marvell/libertas/if_sdio.c event |= buffer[1] << 8; buffer 287 drivers/net/wireless/marvell/libertas/if_sdio.c event |= buffer[0] << 0; buffer 344 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_readsb(card->func, card->buffer, card->ioport, chunk); buffer 348 drivers/net/wireless/marvell/libertas/if_sdio.c chunk = card->buffer[0] | (card->buffer[1] << 8); buffer 349 drivers/net/wireless/marvell/libertas/if_sdio.c type = card->buffer[2] | (card->buffer[3] << 8); buffer 368 drivers/net/wireless/marvell/libertas/if_sdio.c ret = if_sdio_handle_cmd(card, card->buffer + 4, chunk - 4); buffer 373 drivers/net/wireless/marvell/libertas/if_sdio.c ret = if_sdio_handle_data(card, card->buffer + 4, chunk - 4); buffer 378 drivers/net/wireless/marvell/libertas/if_sdio.c ret = if_sdio_handle_event(card, card->buffer + 4, chunk - 4); buffer 420 drivers/net/wireless/marvell/libertas/if_sdio.c packet->buffer, packet->nb); buffer 943 drivers/net/wireless/marvell/libertas/if_sdio.c packet->buffer[0] = (nb + 4) & 0xff; buffer 944 drivers/net/wireless/marvell/libertas/if_sdio.c packet->buffer[1] = ((nb + 4) >> 8) & 0xff; buffer 945 drivers/net/wireless/marvell/libertas/if_sdio.c packet->buffer[2] = type; buffer 946 drivers/net/wireless/marvell/libertas/if_sdio.c packet->buffer[3] = 0; buffer 948 drivers/net/wireless/marvell/libertas/if_sdio.c memcpy(packet->buffer + 4, buf, nb); buffer 38 drivers/net/wireless/marvell/libertas/if_spi.c u8 buffer[0] __attribute__((aligned(4))); buffer 808 drivers/net/wireless/marvell/libertas/if_spi.c err = spu_write(card, port_reg, packet->buffer, packet->blen); buffer 956 drivers/net/wireless/marvell/libertas/if_spi.c memcpy(packet->buffer, buf, nb); buffer 957 drivers/net/wireless/marvell/libertas/if_spi.c memset(packet->buffer + nb, 0, blen - nb); buffer 171 drivers/net/wireless/marvell/mwifiex/11ac.c u8 **buffer) buffer 189 drivers/net/wireless/marvell/mwifiex/11ac.c vht_cap = (struct mwifiex_ie_types_vhtcap *)*buffer; buffer 200 drivers/net/wireless/marvell/mwifiex/11ac.c *buffer += sizeof(*vht_cap); buffer 207 drivers/net/wireless/marvell/mwifiex/11ac.c vht_op = (struct mwifiex_ie_types_vht_oper *)*buffer; buffer 245 drivers/net/wireless/marvell/mwifiex/11ac.c *buffer += sizeof(*vht_op); buffer 253 drivers/net/wireless/marvell/mwifiex/11ac.c oper_ntf = (void *)*buffer; buffer 258 drivers/net/wireless/marvell/mwifiex/11ac.c *buffer += sizeof(*oper_ntf); buffer 39 drivers/net/wireless/marvell/mwifiex/11ac.h u8 **buffer); buffer 38 drivers/net/wireless/marvell/mwifiex/11h.c mwifiex_11h_process_infra_join(struct mwifiex_private *priv, u8 **buffer, buffer 48 drivers/net/wireless/marvell/mwifiex/11h.c if (!buffer || !(*buffer)) buffer 54 drivers/net/wireless/marvell/mwifiex/11h.c cap = (struct mwifiex_ie_types_pwr_capability *)*buffer; buffer 59 drivers/net/wireless/marvell/mwifiex/11h.c *buffer += sizeof(*cap); buffer 61 drivers/net/wireless/marvell/mwifiex/11h.c constraint = (struct mwifiex_ie_types_local_pwr_constraint *)*buffer; buffer 66 drivers/net/wireless/marvell/mwifiex/11h.c *buffer += sizeof(*constraint); buffer 68 drivers/net/wireless/marvell/mwifiex/11h.c ie_header = (struct mwifiex_ie_types_header *)*buffer; buffer 71 drivers/net/wireless/marvell/mwifiex/11h.c *buffer += sizeof(*ie_header); buffer 72 drivers/net/wireless/marvell/mwifiex/11h.c *(*buffer)++ = WLAN_EID_SUPPORTED_CHANNELS; buffer 73 drivers/net/wireless/marvell/mwifiex/11h.c *(*buffer)++ = 2 * sband->n_channels; buffer 75 drivers/net/wireless/marvell/mwifiex/11h.c *(*buffer)++ = ieee80211_frequency_to_channel( buffer 77 drivers/net/wireless/marvell/mwifiex/11h.c *(*buffer)++ = 1; /* one channel in the subband */ buffer 100 drivers/net/wireless/marvell/mwifiex/11h.c void mwifiex_11h_process_join(struct mwifiex_private *priv, u8 **buffer, buffer 110 drivers/net/wireless/marvell/mwifiex/11h.c mwifiex_11h_process_infra_join(priv, buffer, bss_desc); buffer 313 drivers/net/wireless/marvell/mwifiex/11n.c u8 **buffer) buffer 325 drivers/net/wireless/marvell/mwifiex/11n.c if (!buffer || !*buffer) buffer 332 drivers/net/wireless/marvell/mwifiex/11n.c ht_cap = (struct mwifiex_ie_types_htcap *) *buffer; buffer 375 drivers/net/wireless/marvell/mwifiex/11n.c *buffer += sizeof(struct mwifiex_ie_types_htcap); buffer 381 drivers/net/wireless/marvell/mwifiex/11n.c ht_info = (struct mwifiex_ie_types_htinfo *) *buffer; buffer 401 drivers/net/wireless/marvell/mwifiex/11n.c *buffer += sizeof(struct mwifiex_ie_types_htinfo); buffer 406 drivers/net/wireless/marvell/mwifiex/11n.c (struct mwifiex_ie_types_chan_list_param_set *) *buffer; buffer 426 drivers/net/wireless/marvell/mwifiex/11n.c *buffer += sizeof(struct mwifiex_ie_types_chan_list_param_set); buffer 431 drivers/net/wireless/marvell/mwifiex/11n.c bss_co_2040 = (struct mwifiex_ie_types_2040bssco *) *buffer; buffer 444 drivers/net/wireless/marvell/mwifiex/11n.c *buffer += sizeof(struct mwifiex_ie_types_2040bssco); buffer 450 drivers/net/wireless/marvell/mwifiex/11n.c ext_cap = (struct mwifiex_ie_types_extcap *) *buffer; buffer 465 drivers/net/wireless/marvell/mwifiex/11n.c *buffer += sizeof(struct mwifiex_ie_types_extcap) + hdr->len; buffer 734 drivers/net/wireless/marvell/mwifiex/11n.c rx_reo_tbl->buffer[i] = true; buffer 736 drivers/net/wireless/marvell/mwifiex/11n.c rx_reo_tbl->buffer[i] = false; buffer 36 drivers/net/wireless/marvell/mwifiex/11n.h u8 **buffer); buffer 181 drivers/net/wireless/marvell/mwifiex/ioctl.h u32 buffer[MAX_RX_WINSIZE]; buffer 40 drivers/net/wireless/marvell/mwifiex/join.c mwifiex_cmd_append_generic_ie(struct mwifiex_private *priv, u8 **buffer) buffer 46 drivers/net/wireless/marvell/mwifiex/join.c if (!buffer) buffer 48 drivers/net/wireless/marvell/mwifiex/join.c if (!(*buffer)) buffer 58 drivers/net/wireless/marvell/mwifiex/join.c __func__, priv->gen_ie_buf_len, *buffer); buffer 63 drivers/net/wireless/marvell/mwifiex/join.c memcpy(*buffer, &ie_header, sizeof(ie_header)); buffer 67 drivers/net/wireless/marvell/mwifiex/join.c *buffer += sizeof(ie_header); buffer 72 drivers/net/wireless/marvell/mwifiex/join.c memcpy(*buffer, priv->gen_ie_buf, priv->gen_ie_buf_len); buffer 76 drivers/net/wireless/marvell/mwifiex/join.c *buffer += priv->gen_ie_buf_len; buffer 101 drivers/net/wireless/marvell/mwifiex/join.c mwifiex_cmd_append_tsf_tlv(struct mwifiex_private *priv, u8 **buffer, buffer 108 drivers/net/wireless/marvell/mwifiex/join.c if (buffer == NULL) buffer 110 drivers/net/wireless/marvell/mwifiex/join.c if (*buffer == NULL) buffer 118 drivers/net/wireless/marvell/mwifiex/join.c memcpy(*buffer, &tsf_tlv, sizeof(tsf_tlv.header)); buffer 119 drivers/net/wireless/marvell/mwifiex/join.c *buffer += sizeof(tsf_tlv.header); buffer 123 drivers/net/wireless/marvell/mwifiex/join.c memcpy(*buffer, &tsf_val, sizeof(tsf_val)); buffer 124 drivers/net/wireless/marvell/mwifiex/join.c *buffer += sizeof(tsf_val); buffer 132 drivers/net/wireless/marvell/mwifiex/join.c memcpy(*buffer, &tsf_val, sizeof(tsf_val)); buffer 133 drivers/net/wireless/marvell/mwifiex/join.c *buffer += sizeof(tsf_val); buffer 238 drivers/net/wireless/marvell/mwifiex/join.c mwifiex_cmd_append_wps_ie(struct mwifiex_private *priv, u8 **buffer) buffer 243 drivers/net/wireless/marvell/mwifiex/join.c if (!buffer || !*buffer) buffer 253 drivers/net/wireless/marvell/mwifiex/join.c priv->wps_ie_len, *buffer); buffer 258 drivers/net/wireless/marvell/mwifiex/join.c memcpy(*buffer, &ie_header, sizeof(ie_header)); buffer 259 drivers/net/wireless/marvell/mwifiex/join.c *buffer += sizeof(ie_header); buffer 262 drivers/net/wireless/marvell/mwifiex/join.c memcpy(*buffer, priv->wps_ie, priv->wps_ie_len); buffer 263 drivers/net/wireless/marvell/mwifiex/join.c *buffer += priv->wps_ie_len; buffer 282 drivers/net/wireless/marvell/mwifiex/join.c mwifiex_cmd_append_wapi_ie(struct mwifiex_private *priv, u8 **buffer) buffer 288 drivers/net/wireless/marvell/mwifiex/join.c if (buffer == NULL) buffer 290 drivers/net/wireless/marvell/mwifiex/join.c if (*buffer == NULL) buffer 300 drivers/net/wireless/marvell/mwifiex/join.c priv->wapi_ie_len, *buffer); buffer 305 drivers/net/wireless/marvell/mwifiex/join.c memcpy(*buffer, &ie_header, sizeof(ie_header)); buffer 309 drivers/net/wireless/marvell/mwifiex/join.c *buffer += sizeof(ie_header); buffer 314 drivers/net/wireless/marvell/mwifiex/join.c memcpy(*buffer, priv->wapi_ie, priv->wapi_ie_len); buffer 318 drivers/net/wireless/marvell/mwifiex/join.c *buffer += priv->wapi_ie_len; buffer 331 drivers/net/wireless/marvell/mwifiex/join.c u8 **buffer) buffer 336 drivers/net/wireless/marvell/mwifiex/join.c if (!buffer || !(*buffer)) buffer 339 drivers/net/wireless/marvell/mwifiex/join.c rsn_ie_tlv = (struct mwifiex_ie_types_rsn_param_set *) (*buffer); buffer 354 drivers/net/wireless/marvell/mwifiex/join.c *buffer += rsn_ie_len; buffer 1206 drivers/net/wireless/marvell/mwifiex/main.h u8 **buffer); buffer 1594 drivers/net/wireless/marvell/mwifiex/main.h void mwifiex_11h_process_join(struct mwifiex_private *priv, u8 **buffer, buffer 459 drivers/net/wireless/marvell/mwifiex/pcie.c u8 *buffer; buffer 468 drivers/net/wireless/marvell/mwifiex/pcie.c buffer = cmdrsp->data; buffer 469 drivers/net/wireless/marvell/mwifiex/pcie.c sleep_cookie = get_unaligned_le32(buffer); buffer 2865 drivers/net/wireless/marvell/mwifiex/scan.c u16 vsie_mask, u8 **buffer) buffer 2870 drivers/net/wireless/marvell/mwifiex/scan.c if (!buffer) buffer 2872 drivers/net/wireless/marvell/mwifiex/scan.c if (!(*buffer)) buffer 2883 drivers/net/wireless/marvell/mwifiex/scan.c *buffer; buffer 2898 drivers/net/wireless/marvell/mwifiex/scan.c *buffer += le16_to_cpu(vs_param_set->header.len) + buffer 250 drivers/net/wireless/marvell/mwifiex/sdio.c u8 *buffer, u32 pkt_len, u32 port) buffer 271 drivers/net/wireless/marvell/mwifiex/sdio.c ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); buffer 280 drivers/net/wireless/marvell/mwifiex/sdio.c static int mwifiex_read_data_sync(struct mwifiex_adapter *adapter, u8 *buffer, buffer 295 drivers/net/wireless/marvell/mwifiex/sdio.c ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); buffer 947 drivers/net/wireless/marvell/mwifiex/sdio.c u32 *type, u8 *buffer, buffer 953 drivers/net/wireless/marvell/mwifiex/sdio.c if (!buffer) { buffer 959 drivers/net/wireless/marvell/mwifiex/sdio.c ret = mwifiex_read_data_sync(adapter, buffer, npayload, ioport, 1); buffer 968 drivers/net/wireless/marvell/mwifiex/sdio.c nb = get_unaligned_le16((buffer)); buffer 976 drivers/net/wireless/marvell/mwifiex/sdio.c *type = get_unaligned_le16((buffer + 2)); buffer 1389 drivers/net/wireless/marvell/mwifiex/sta_cmd.c u8 **buffer) buffer 1393 drivers/net/wireless/marvell/mwifiex/sta_cmd.c u8 *stack_ptr = *buffer; buffer 1424 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (stack_ptr - *buffer > STACK_NBYTES) buffer 1428 drivers/net/wireless/marvell/mwifiex/sta_cmd.c *buffer = stack_ptr; buffer 319 drivers/net/wireless/marvell/mwifiex/util.c info->rx_tbl[i].buffer[j] ? buffer 688 drivers/net/wireless/marvell/mwl8k.c unsigned char *buffer; buffer 692 drivers/net/wireless/marvell/mwl8k.c buffer = kmalloc(1024, GFP_KERNEL); buffer 693 drivers/net/wireless/marvell/mwl8k.c if (buffer == NULL) buffer 729 drivers/net/wireless/marvell/mwl8k.c memcpy(buffer, data + done, block_size); buffer 731 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_send_fw_load_cmd(priv, buffer, block_size); buffer 739 drivers/net/wireless/marvell/mwl8k.c kfree(buffer); buffer 45 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c void *buffer, const u16 buffer_length, buffer 60 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c value, offset, buffer, buffer_length, buffer 82 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c const u16 offset, void *buffer, buffer 98 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c memcpy(rt2x00dev->csr.cache, buffer, buffer_length); buffer 105 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c memcpy(buffer, rt2x00dev->csr.cache, buffer_length); buffer 113 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c const u16 offset, void *buffer, buffer 122 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c tb = (char *)buffer; buffer 94 drivers/net/wireless/ralink/rt2x00/rt2x00usb.h void *buffer, const u16 buffer_length, buffer 116 drivers/net/wireless/ralink/rt2x00/rt2x00usb.h const u16 offset, void *buffer, buffer 134 drivers/net/wireless/ralink/rt2x00/rt2x00usb.h const u16 offset, void *buffer, buffer 2706 drivers/net/wireless/ray_cs.c const char __user *buffer, size_t count, loff_t *pos) buffer 2714 drivers/net/wireless/ray_cs.c if (copy_from_user(proc_essid, buffer, len)) buffer 2726 drivers/net/wireless/ray_cs.c static ssize_t int_proc_write(struct file *file, const char __user *buffer, buffer 2738 drivers/net/wireless/ray_cs.c if (copy_from_user(proc_number, buffer, count)) buffer 68 drivers/net/wireless/realtek/rtlwifi/debug.c ssize_t (*cb_write)(struct file *filp, const char __user *buffer, buffer 286 drivers/net/wireless/realtek/rtlwifi/debug.c const char __user *buffer, buffer 301 drivers/net/wireless/realtek/rtlwifi/debug.c if (!buffer || copy_from_user(tmp, buffer, tmp_len)) buffer 335 drivers/net/wireless/realtek/rtlwifi/debug.c const char __user *buffer, buffer 352 drivers/net/wireless/realtek/rtlwifi/debug.c if (!buffer || copy_from_user(tmp, buffer, tmp_len)) buffer 381 drivers/net/wireless/realtek/rtlwifi/debug.c const char __user *buffer, buffer 398 drivers/net/wireless/realtek/rtlwifi/debug.c if (!buffer || copy_from_user(tmp, buffer, tmp_len)) buffer 427 drivers/net/wireless/realtek/rtlwifi/debug.c const char __user *buffer, buffer 432 drivers/net/wireless/realtek/rtlwifi/debug.c return debugfs_priv->cb_write(filp, buffer, count, loff); buffer 1292 drivers/net/wireless/realtek/rtlwifi/efuse.c void rtl_fw_block_write(struct ieee80211_hw *hw, const u8 *buffer, u32 size) buffer 1295 drivers/net/wireless/realtek/rtlwifi/efuse.c u8 *pu4byteptr = (u8 *)buffer; buffer 1303 drivers/net/wireless/realtek/rtlwifi/efuse.c void rtl_fw_page_write(struct ieee80211_hw *hw, u32 page, const u8 *buffer, buffer 1313 drivers/net/wireless/realtek/rtlwifi/efuse.c rtl_fw_block_write(hw, buffer, size); buffer 94 drivers/net/wireless/realtek/rtlwifi/efuse.h void rtl_fw_page_write(struct ieee80211_hw *hw, u32 page, const u8 *buffer, buffer 96 drivers/net/wireless/realtek/rtlwifi/efuse.h void rtl_fw_block_write(struct ieee80211_hw *hw, const u8 *buffer, u32 size); buffer 36 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c enum version_8188e version, u8 *buffer, u32 size) buffer 39 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c u8 *bufferptr = (u8 *)buffer; buffer 50 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c enum version_8192c version, u8 *buffer, u32 size) buffer 55 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c u8 *bufferptr = (u8 *)buffer; buffer 85 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c rtl_fw_block_write(hw, buffer, size); buffer 42 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c enum version_8192d version, u8 *buffer, u32 size) buffer 46 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c u8 *bufferptr = buffer; buffer 389 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c u8 *buffer, buffer 32 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c u8 *buffer, u32 size) buffer 35 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c u8 *bufferptr = (u8 *)buffer; buffer 37 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c u8 *buffer, u32 size, u8 max_page) buffer 40 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c u8 *bufferptr = buffer; buffer 66 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.h u8 *buffer, u32 size, u8 max_page); buffer 35 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c u8 *buffer, u32 size) buffer 38 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c u8 *bufferptr = (u8 *)buffer; buffer 236 drivers/net/wireless/realtek/rtlwifi/stats.c void rtl_process_phyinfo(struct ieee80211_hw *hw, u8 *buffer, buffer 17 drivers/net/wireless/realtek/rtlwifi/stats.h void rtl_process_phyinfo(struct ieee80211_hw *hw, u8 *buffer, buffer 207 drivers/net/wireless/realtek/rtlwifi/usb.c u8 *buffer; buffer 210 drivers/net/wireless/realtek/rtlwifi/usb.c buffer = kmemdup(data, len, GFP_ATOMIC); buffer 211 drivers/net/wireless/realtek/rtlwifi/usb.c if (!buffer) buffer 214 drivers/net/wireless/realtek/rtlwifi/usb.c index, buffer, len, 50); buffer 216 drivers/net/wireless/realtek/rtlwifi/usb.c kfree(buffer); buffer 18 drivers/net/wireless/realtek/rtw88/debug.c ssize_t (*cb_write)(struct file *filp, const char __user *buffer, buffer 47 drivers/net/wireless/realtek/rtw88/debug.c const char __user *buffer, buffer 52 drivers/net/wireless/realtek/rtw88/debug.c return debugfs_priv->cb_write(filp, buffer, count, loff); buffer 56 drivers/net/wireless/realtek/rtw88/debug.c const char __user *buffer, buffer 62 drivers/net/wireless/realtek/rtw88/debug.c return debugfs_priv->cb_write(filp, buffer, count, loff); buffer 144 drivers/net/wireless/realtek/rtw88/debug.c const char __user *buffer, size_t count, buffer 154 drivers/net/wireless/realtek/rtw88/debug.c if (!buffer || copy_from_user(tmp, buffer, tmp_len)) buffer 163 drivers/net/wireless/realtek/rtw88/debug.c const char __user *buffer, buffer 173 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 2); buffer 253 drivers/net/wireless/realtek/rtw88/debug.c const char __user *buffer, buffer 263 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 2); buffer 279 drivers/net/wireless/realtek/rtw88/debug.c const char __user *buffer, buffer 289 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 1); buffer 304 drivers/net/wireless/realtek/rtw88/debug.c const char __user *buffer, buffer 313 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 3); buffer 347 drivers/net/wireless/realtek/rtw88/debug.c const char __user *buffer, buffer 356 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 4); buffer 374 drivers/net/wireless/realtek/rtw88/debug.c const char __user *buffer, buffer 384 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 3); buffer 120 drivers/net/wireless/rsi/rsi_91x_main.c u8 *buffer, buffer 143 drivers/net/wireless/rsi/rsi_91x_main.c memcpy((skb->data), (buffer + payload_offset), skb->len); buffer 29 drivers/net/wireless/ti/wlcore/event.c u8 *buffer; buffer 40 drivers/net/wireless/ti/wlcore/event.c buffer = kzalloc(WL18XX_LOGGER_SDIO_BUFF_MAX, GFP_KERNEL); buffer 41 drivers/net/wireless/ti/wlcore/event.c if (!buffer) { buffer 47 drivers/net/wireless/ti/wlcore/event.c ret = wlcore_read(wl, addr, buffer, WL18XX_LOGGER_SDIO_BUFF_MAX, buffer 56 drivers/net/wireless/ti/wlcore/event.c memcpy(&fw_log, buffer, sizeof(fw_log)); buffer 71 drivers/net/wireless/ti/wlcore/event.c wl12xx_copy_fwlog(wl, &buffer[start_loc], len); buffer 78 drivers/net/wireless/ti/wlcore/event.c &buffer[WL18XX_LOGGER_BUFF_OFFSET], buffer 94 drivers/net/wireless/ti/wlcore/event.c kfree(buffer); buffer 101 drivers/net/wireless/ti/wlcore/sysfs.c char *buffer, loff_t pos, size_t count) buffer 121 drivers/net/wireless/ti/wlcore/sysfs.c memcpy(buffer, wl->fwlog, len); buffer 615 drivers/net/wireless/zydas/zd1201.c unsigned char *buffer; buffer 617 drivers/net/wireless/zydas/zd1201.c buffer = kzalloc(ZD1201_RXSIZE, GFP_KERNEL); buffer 618 drivers/net/wireless/zydas/zd1201.c if (!buffer) buffer 622 drivers/net/wireless/zydas/zd1201.c usb_rcvbulkpipe(zd->usb, zd->endp_in), buffer, ZD1201_RXSIZE, buffer 651 drivers/net/wireless/zydas/zd1201.c kfree(buffer); buffer 946 drivers/net/wireless/zydas/zd1201.c unsigned char buffer[IW_ESSID_MAX_SIZE+2]; buffer 988 drivers/net/wireless/zydas/zd1201.c *(__le16 *)buffer = cpu_to_le16(zd->essidlen); buffer 989 drivers/net/wireless/zydas/zd1201.c memcpy(buffer+2, zd->essid, zd->essidlen); buffer 991 drivers/net/wireless/zydas/zd1201.c buffer, IW_ESSID_MAX_SIZE+2, 1); buffer 1084 drivers/net/wireless/zydas/zd1201.c unsigned char buffer[6]; buffer 1086 drivers/net/wireless/zydas/zd1201.c if (!zd1201_getconfig(zd, ZD1201_RID_COMMSQUALITY, buffer, 6)) { buffer 1093 drivers/net/wireless/zydas/zd1201.c zd->iwstats.qual.level = le16_to_cpu(((__le16 *)buffer)[1]); buffer 1639 drivers/net/wireless/zydas/zd1201.c unsigned char buffer[10]; buffer 1644 drivers/net/wireless/zydas/zd1201.c memcpy(buffer, sta->sa_data, ETH_ALEN); buffer 1645 drivers/net/wireless/zydas/zd1201.c *(short*)(buffer+6) = 0; /* 0==success, 1==failure */ buffer 1646 drivers/net/wireless/zydas/zd1201.c *(short*)(buffer+8) = 0; buffer 1648 drivers/net/wireless/zydas/zd1201.c return zd1201_setconfig(zd, ZD1201_RID_AUTHENTICATESTA, buffer, 10, 1); buffer 41 drivers/net/wireless/zydas/zd1211rw/zd_chip.c static int scnprint_mac_oui(struct zd_chip *chip, char *buffer, size_t size) buffer 44 drivers/net/wireless/zydas/zd1211rw/zd_chip.c return scnprintf(buffer, size, "%3phD", addr); buffer 48 drivers/net/wireless/zydas/zd1211rw/zd_chip.c static int scnprint_id(struct zd_chip *chip, char *buffer, size_t size) buffer 52 drivers/net/wireless/zydas/zd1211rw/zd_chip.c i = scnprintf(buffer, size, "zd1211%s chip ", buffer 54 drivers/net/wireless/zydas/zd1211rw/zd_chip.c i += zd_usb_scnprint_id(&chip->usb, buffer+i, size-i); buffer 55 drivers/net/wireless/zydas/zd1211rw/zd_chip.c i += scnprintf(buffer+i, size-i, " "); buffer 56 drivers/net/wireless/zydas/zd1211rw/zd_chip.c i += scnprint_mac_oui(chip, buffer+i, size-i); buffer 57 drivers/net/wireless/zydas/zd1211rw/zd_chip.c i += scnprintf(buffer+i, size-i, " "); buffer 58 drivers/net/wireless/zydas/zd1211rw/zd_chip.c i += zd_rf_scnprint_id(&chip->rf, buffer+i, size-i); buffer 59 drivers/net/wireless/zydas/zd1211rw/zd_chip.c i += scnprintf(buffer+i, size-i, " pa%1x %c%c%c%c%c", chip->pa_type, buffer 70 drivers/net/wireless/zydas/zd1211rw/zd_chip.c char buffer[80]; buffer 72 drivers/net/wireless/zydas/zd1211rw/zd_chip.c scnprint_id(chip, buffer, sizeof(buffer)); buffer 73 drivers/net/wireless/zydas/zd1211rw/zd_chip.c buffer[sizeof(buffer)-1] = 0; buffer 74 drivers/net/wireless/zydas/zd1211rw/zd_chip.c dev_info(zd_chip_dev(chip), "%s\n", buffer); buffer 1016 drivers/net/wireless/zydas/zd1211rw/zd_mac.c int zd_mac_rx(struct ieee80211_hw *hw, const u8 *buffer, unsigned int length) buffer 1045 drivers/net/wireless/zydas/zd1211rw/zd_mac.c (buffer + (length - sizeof(struct rx_status))); buffer 1060 drivers/net/wireless/zydas/zd1211rw/zd_mac.c rate = zd_rx_rate(buffer, status); buffer 1068 drivers/net/wireless/zydas/zd1211rw/zd_mac.c buffer += ZD_PLCP_HEADER_SIZE; buffer 1076 drivers/net/wireless/zydas/zd1211rw/zd_mac.c filter_ack(hw, (struct ieee80211_hdr *)buffer, &stats) buffer 1080 drivers/net/wireless/zydas/zd1211rw/zd_mac.c fc = get_unaligned((__le16*)buffer); buffer 1092 drivers/net/wireless/zydas/zd1211rw/zd_mac.c skb_put_data(skb, buffer, length); buffer 301 drivers/net/wireless/zydas/zd1211rw/zd_mac.h int zd_mac_rx(struct ieee80211_hw *hw, const u8 *buffer, unsigned int length); buffer 102 drivers/net/wireless/zydas/zd1211rw/zd_rf.c int zd_rf_scnprint_id(struct zd_rf *rf, char *buffer, size_t size) buffer 104 drivers/net/wireless/zydas/zd1211rw/zd_rf.c return scnprintf(buffer, size, "%s", zd_rf_name(rf->type)); buffer 68 drivers/net/wireless/zydas/zd1211rw/zd_rf.h int zd_rf_scnprint_id(struct zd_rf *rf, char *buffer, size_t size); buffer 215 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static char *get_fw_name(struct zd_usb *usb, char *buffer, size_t size, buffer 218 drivers/net/wireless/zydas/zd1211rw/zd_usb.c scnprintf(buffer, size, "%s%s", buffer 222 drivers/net/wireless/zydas/zd1211rw/zd_usb.c return buffer; buffer 395 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (len > sizeof(intr->read_regs.buffer)) buffer 396 drivers/net/wireless/zydas/zd1211rw/zd_usb.c len = sizeof(intr->read_regs.buffer); buffer 398 drivers/net/wireless/zydas/zd1211rw/zd_usb.c memcpy(intr->read_regs.buffer, urb->transfer_buffer, len); buffer 541 drivers/net/wireless/zydas/zd1211rw/zd_usb.c intr->buffer = usb_alloc_coherent(udev, USB_MAX_EP_INT_BUFFER, buffer 543 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (!intr->buffer) { buffer 550 drivers/net/wireless/zydas/zd1211rw/zd_usb.c intr->buffer, USB_MAX_EP_INT_BUFFER, buffer 567 drivers/net/wireless/zydas/zd1211rw/zd_usb.c intr->buffer, intr->buffer_dma); buffer 584 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void *buffer; buffer 594 drivers/net/wireless/zydas/zd1211rw/zd_usb.c buffer = intr->buffer; buffer 596 drivers/net/wireless/zydas/zd1211rw/zd_usb.c intr->buffer = NULL; buffer 603 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (buffer) buffer 605 drivers/net/wireless/zydas/zd1211rw/zd_usb.c buffer, buffer_dma); buffer 608 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void handle_rx_packet(struct zd_usb *usb, const u8 *buffer, buffer 621 drivers/net/wireless/zydas/zd1211rw/zd_usb.c (buffer + length - sizeof(struct rx_length_info)); buffer 641 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_mac_rx(zd_usb_to_hw(usb), buffer+l, k); buffer 647 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_mac_rx(zd_usb_to_hw(usb), buffer, length); buffer 656 drivers/net/wireless/zydas/zd1211rw/zd_usb.c const u8 *buffer; buffer 676 drivers/net/wireless/zydas/zd1211rw/zd_usb.c buffer = urb->transfer_buffer; buffer 688 drivers/net/wireless/zydas/zd1211rw/zd_usb.c memcpy(rx->fragment, buffer, length); buffer 700 drivers/net/wireless/zydas/zd1211rw/zd_usb.c memcpy(rx->fragment+rx->fragment_length, buffer, length); buffer 707 drivers/net/wireless/zydas/zd1211rw/zd_usb.c handle_rx_packet(usb, buffer, length); buffer 720 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void *buffer; buffer 725 drivers/net/wireless/zydas/zd1211rw/zd_usb.c buffer = usb_alloc_coherent(udev, USB_MAX_RX_SIZE, GFP_KERNEL, buffer 727 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (!buffer) { buffer 733 drivers/net/wireless/zydas/zd1211rw/zd_usb.c buffer, USB_MAX_RX_SIZE, buffer 1235 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static int scnprint_id(struct usb_device *udev, char *buffer, size_t size) buffer 1237 drivers/net/wireless/zydas/zd1211rw/zd_usb.c return scnprintf(buffer, size, "%04hx:%04hx v%04hx %s", buffer 1244 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size) buffer 1247 drivers/net/wireless/zydas/zd1211rw/zd_usb.c return scnprint_id(udev, buffer, size); buffer 1253 drivers/net/wireless/zydas/zd1211rw/zd_usb.c char buffer[40]; buffer 1255 drivers/net/wireless/zydas/zd1211rw/zd_usb.c scnprint_id(udev, buffer, sizeof(buffer)); buffer 1256 drivers/net/wireless/zydas/zd1211rw/zd_usb.c buffer[sizeof(buffer)-1] = 0; buffer 1257 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(&udev->dev, "%s\n", buffer); buffer 1629 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_int_regs *regs = (struct usb_int_regs *)rr->buffer; buffer 1641 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (rr->length > sizeof(rr->buffer)) { buffer 1644 drivers/net/wireless/zydas/zd1211rw/zd_usb.c rr->length, sizeof(rr->buffer)); buffer 1670 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_int_regs *regs = (struct usb_int_regs *)rr->buffer; buffer 139 drivers/net/wireless/zydas/zd1211rw/zd_usb.h u8 buffer[USB_MAX_EP_INT_BUFFER]; buffer 158 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void *buffer; buffer 167 drivers/net/wireless/zydas/zd1211rw/zd_usb.h return (struct usb_int_regs *)intr->read_regs.buffer; buffer 240 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size); buffer 74 drivers/nfc/nxp-nci/firmware.c static u16 nxp_nci_fw_crc(u8 const *buffer, size_t len) buffer 79 drivers/nfc/nxp-nci/firmware.c crc = ((crc >> 8) | (crc << 8)) ^ *buffer++; buffer 372 drivers/nfc/pn533/usb.c char *buffer; buffer 380 drivers/nfc/pn533/usb.c buffer = kmemdup(cmd, sizeof(cmd), GFP_KERNEL); buffer 381 drivers/nfc/pn533/usb.c if (!buffer) buffer 393 drivers/nfc/pn533/usb.c rc = usb_bulk_msg(phy->udev, phy->out_urb->pipe, buffer, sizeof(cmd), buffer 395 drivers/nfc/pn533/usb.c kfree(buffer); buffer 819 drivers/nvme/host/core.c union nvme_result *result, void *buffer, unsigned bufflen, buffer 832 drivers/nvme/host/core.c if (buffer && bufflen) { buffer 833 drivers/nvme/host/core.c ret = blk_rq_map_kern(q, req, buffer, bufflen, GFP_KERNEL); buffer 855 drivers/nvme/host/core.c void *buffer, unsigned bufflen) buffer 857 drivers/nvme/host/core.c return __nvme_submit_sync_cmd(q, cmd, NULL, buffer, bufflen, 0, buffer 1172 drivers/nvme/host/core.c unsigned int dword11, void *buffer, size_t buflen, u32 *result) buffer 1184 drivers/nvme/host/core.c buffer, buflen, 0, NVME_QID_ANY, 0, 0, false); buffer 1191 drivers/nvme/host/core.c unsigned int dword11, void *buffer, size_t buflen, buffer 1194 drivers/nvme/host/core.c return nvme_features(dev, nvme_admin_set_features, fid, dword11, buffer, buffer 1200 drivers/nvme/host/core.c unsigned int dword11, void *buffer, size_t buflen, buffer 1203 drivers/nvme/host/core.c return nvme_features(dev, nvme_admin_get_features, fid, dword11, buffer, buffer 2013 drivers/nvme/host/core.c int nvme_sec_submit(void *data, u16 spsp, u8 secp, void *buffer, size_t len, buffer 2028 drivers/nvme/host/core.c return __nvme_submit_sync_cmd(ctrl->admin_q, &cmd, NULL, buffer, len, buffer 467 drivers/nvme/host/nvme.h int nvme_sec_submit(void *data, u16 spsp, u8 secp, void *buffer, size_t len, buffer 491 drivers/nvme/host/nvme.h union nvme_result *result, void *buffer, unsigned bufflen, buffer 495 drivers/nvme/host/nvme.h unsigned int dword11, void *buffer, size_t buflen, buffer 498 drivers/nvme/host/nvme.h unsigned int dword11, void *buffer, size_t buflen, buffer 172 drivers/nvme/target/discovery.c void *buffer; buffer 187 drivers/nvme/target/discovery.c buffer = kzalloc(alloc_len, GFP_KERNEL); buffer 188 drivers/nvme/target/discovery.c if (!buffer) { buffer 194 drivers/nvme/target/discovery.c hdr = buffer; buffer 224 drivers/nvme/target/discovery.c status = nvmet_copy_to_sgl(req, 0, buffer + offset, data_len); buffer 225 drivers/nvme/target/discovery.c kfree(buffer); buffer 600 drivers/parport/ieee1284.c ssize_t parport_write (struct parport *port, const void *buffer, size_t len) buffer 603 drivers/parport/ieee1284.c return port->ops->compat_write_data (port, buffer, len, 0); buffer 670 drivers/parport/ieee1284.c retval = (*fn) (port, buffer, len, 0); buffer 694 drivers/parport/ieee1284.c ssize_t parport_read (struct parport *port, void *buffer, size_t len) buffer 771 drivers/parport/ieee1284.c return (*fn) (port, buffer, len, 0); buffer 42 drivers/parport/ieee1284_ops.c const void *buffer, size_t len, buffer 47 drivers/parport/ieee1284_ops.c const unsigned char *addr = buffer; buffer 151 drivers/parport/ieee1284_ops.c void *buffer, size_t len, buffer 157 drivers/parport/ieee1284_ops.c unsigned char *buf = buffer; buffer 242 drivers/parport/ieee1284_ops.c void *buffer, size_t len, buffer 248 drivers/parport/ieee1284_ops.c unsigned char *buf = buffer; buffer 405 drivers/parport/ieee1284_ops.c const void *buffer, size_t len, buffer 411 drivers/parport/ieee1284_ops.c const unsigned char *buf = buffer; buffer 492 drivers/parport/ieee1284_ops.c void *buffer, size_t len, int flags) buffer 498 drivers/parport/ieee1284_ops.c unsigned char *buf = buffer; buffer 640 drivers/parport/ieee1284_ops.c const void *buffer, size_t len, buffer 646 drivers/parport/ieee1284_ops.c const unsigned char *buf = buffer; buffer 732 drivers/parport/ieee1284_ops.c const void *buffer, size_t len, buffer 735 drivers/parport/ieee1284_ops.c unsigned char *bp = (unsigned char *) buffer; buffer 776 drivers/parport/ieee1284_ops.c void *buffer, size_t len, buffer 779 drivers/parport/ieee1284_ops.c unsigned char *bp = (unsigned char *) buffer; buffer 820 drivers/parport/ieee1284_ops.c const void *buffer, size_t len, buffer 823 drivers/parport/ieee1284_ops.c unsigned char *bp = (unsigned char *) buffer; buffer 864 drivers/parport/ieee1284_ops.c void *buffer, size_t len, buffer 867 drivers/parport/ieee1284_ops.c unsigned char *bp = (unsigned char *) buffer; buffer 136 drivers/parport/probe.c static ssize_t parport_read_device_id (struct parport *port, char *buffer, buffer 157 drivers/parport/probe.c memcpy(buffer, length, 2); buffer 196 drivers/parport/probe.c retval = parport_read (port, buffer+len, idlen-len); buffer 216 drivers/parport/probe.c if (buffer[len-1] == ';') { buffer 229 drivers/parport/probe.c retval = parport_read (port, buffer+len, count-len-1); buffer 252 drivers/parport/probe.c buffer[len] = '\0'; buffer 257 drivers/parport/probe.c ssize_t parport_device_id (int devnum, char *buffer, size_t count) buffer 274 drivers/parport/probe.c retval = parport_read_device_id (dev->port, buffer, count); buffer 277 drivers/parport/probe.c parse_data (dev->port, dev->daisy, buffer+2); buffer 40 drivers/parport/procfs.c char buffer[256]; buffer 54 drivers/parport/procfs.c len += sprintf(buffer, "%s\n", dev->name); buffer 59 drivers/parport/procfs.c len += sprintf(buffer, "%s\n", "none"); buffer 69 drivers/parport/procfs.c return copy_to_user(result, buffer, len) ? -EFAULT : 0; buffer 78 drivers/parport/procfs.c char buffer[256]; buffer 90 drivers/parport/procfs.c len += sprintf (buffer + len, "CLASS:%s;\n", str); buffer 93 drivers/parport/procfs.c len += sprintf (buffer + len, "MODEL:%s;\n", str); buffer 96 drivers/parport/procfs.c len += sprintf (buffer + len, "MANUFACTURER:%s;\n", str); buffer 99 drivers/parport/procfs.c len += sprintf (buffer + len, "DESCRIPTION:%s;\n", str); buffer 102 drivers/parport/procfs.c len += sprintf (buffer + len, "COMMAND SET:%s;\n", str); buffer 111 drivers/parport/procfs.c return copy_to_user (result, buffer, len) ? -EFAULT : 0; buffer 120 drivers/parport/procfs.c char buffer[20]; buffer 131 drivers/parport/procfs.c len += sprintf (buffer, "%lu\t%lu\n", port->base, port->base_hi); buffer 140 drivers/parport/procfs.c return copy_to_user(result, buffer, len) ? -EFAULT : 0; buffer 148 drivers/parport/procfs.c char buffer[20]; buffer 159 drivers/parport/procfs.c len += sprintf (buffer, "%d\n", port->irq); buffer 168 drivers/parport/procfs.c return copy_to_user(result, buffer, len) ? -EFAULT : 0; buffer 176 drivers/parport/procfs.c char buffer[20]; buffer 187 drivers/parport/procfs.c len += sprintf (buffer, "%d\n", port->dma); buffer 196 drivers/parport/procfs.c return copy_to_user(result, buffer, len) ? -EFAULT : 0; buffer 204 drivers/parport/procfs.c char buffer[40]; buffer 216 drivers/parport/procfs.c #define printmode(x) {if(port->modes&PARPORT_MODE_##x){len+=sprintf(buffer+len,"%s%s",f?",":"",#x);f++;}} buffer 226 drivers/parport/procfs.c buffer[len++] = '\n'; buffer 235 drivers/parport/procfs.c return copy_to_user(result, buffer, len) ? -EFAULT : 0; buffer 1110 drivers/pci/controller/pci-hyperv.c u8 buffer[sizeof(struct pci_delete_interrupt)]; buffer 1872 drivers/pci/controller/pci-hyperv.c u8 buffer[sizeof(struct pci_child_message)]; buffer 2168 drivers/pci/controller/pci-hyperv.c u8 buffer[sizeof(struct pci_eject_response)]; buffer 2248 drivers/pci/controller/pci-hyperv.c unsigned char *buffer; buffer 2258 drivers/pci/controller/pci-hyperv.c buffer = kmalloc(bufferlen, GFP_ATOMIC); buffer 2259 drivers/pci/controller/pci-hyperv.c if (!buffer) buffer 2263 drivers/pci/controller/pci-hyperv.c ret = vmbus_recvpacket_raw(hbus->hdev->channel, buffer, buffer 2267 drivers/pci/controller/pci-hyperv.c kfree(buffer); buffer 2270 drivers/pci/controller/pci-hyperv.c buffer = kmalloc(bytes_recvd, GFP_ATOMIC); buffer 2271 drivers/pci/controller/pci-hyperv.c if (!buffer) buffer 2286 drivers/pci/controller/pci-hyperv.c desc = (struct vmpacket_descriptor *)buffer; buffer 2296 drivers/pci/controller/pci-hyperv.c response = (struct pci_response *)buffer; buffer 2304 drivers/pci/controller/pci-hyperv.c new_message = (struct pci_incoming_message *)buffer; buffer 2308 drivers/pci/controller/pci-hyperv.c bus_rel = (struct pci_bus_relations *)buffer; buffer 2323 drivers/pci/controller/pci-hyperv.c dev_message = (struct pci_dev_incoming *)buffer; buffer 2334 drivers/pci/controller/pci-hyperv.c inval = (struct pci_dev_inval_block *)buffer; buffer 2363 drivers/pci/controller/pci-hyperv.c kfree(buffer); buffer 3019 drivers/pci/controller/pci-hyperv.c u8 buffer[sizeof(struct pci_message)]; buffer 88 drivers/pci/hotplug/acpiphp_ibm.c char *buffer, loff_t pos, size_t size); buffer 285 drivers/pci/hotplug/acpiphp_ibm.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 290 drivers/pci/hotplug/acpiphp_ibm.c status = acpi_evaluate_object(ibm_acpi_handle, "APCI", NULL, &buffer); buffer 296 drivers/pci/hotplug/acpiphp_ibm.c package = (union acpi_object *) buffer.pointer; buffer 309 drivers/pci/hotplug/acpiphp_ibm.c size += package->package.elements[i].buffer.length; buffer 329 drivers/pci/hotplug/acpiphp_ibm.c package->package.elements[i].buffer.pointer, buffer 330 drivers/pci/hotplug/acpiphp_ibm.c package->package.elements[i].buffer.length); buffer 331 drivers/pci/hotplug/acpiphp_ibm.c size += package->package.elements[i].buffer.length; buffer 335 drivers/pci/hotplug/acpiphp_ibm.c kfree(buffer.pointer); buffer 357 drivers/pci/hotplug/acpiphp_ibm.c char *buffer, loff_t pos, size_t size) buffer 367 drivers/pci/hotplug/acpiphp_ibm.c memcpy(buffer, table, bytes_read); buffer 154 drivers/pci/hotplug/cpqphp_nvram.c static u32 access_EV(u16 operation, u8 *ev_name, u8 *buffer, u32 *buf_size) buffer 173 drivers/pci/hotplug/cpqphp_nvram.c "D" (buffer), "m" (compaq_int15_entry_point) buffer 223 drivers/pci/hotplug/cpqphp_nvram.c u32 *buffer; buffer 241 drivers/pci/hotplug/cpqphp_nvram.c buffer = (u32 *) evbuffer; buffer 243 drivers/pci/hotplug/cpqphp_nvram.c if (!buffer) buffer 246 drivers/pci/hotplug/cpqphp_nvram.c pFill = buffer; buffer 397 drivers/pci/hotplug/cpqphp_nvram.c rc = access_EV(WRITE_EV, "CQTHPS", (u8 *) buffer, &temp_dword); buffer 488 drivers/pci/p2pdma.c if (!acs_list.buffer) buffer 497 drivers/pci/p2pdma.c acs_list.buffer[acs_list.len-1] = 0; buffer 499 drivers/pci/p2pdma.c acs_list.buffer); buffer 507 drivers/pci/p2pdma.c kfree(acs_list.buffer); buffer 627 drivers/pci/pci-acpi.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 635 drivers/pci/pci-acpi.c status = acpi_evaluate_object(handle, "_HPX", NULL, &buffer); buffer 639 drivers/pci/pci-acpi.c package = (union acpi_object *)buffer.pointer; buffer 695 drivers/pci/pci-acpi.c kfree(buffer.pointer); buffer 702 drivers/pci/pci-acpi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 709 drivers/pci/pci-acpi.c status = acpi_evaluate_object(handle, "_HPP", NULL, &buffer); buffer 713 drivers/pci/pci-acpi.c package = (union acpi_object *) buffer.pointer; buffer 737 drivers/pci/pci-acpi.c kfree(buffer.pointer); buffer 162 drivers/pci/pci-label.c len = utf16s_to_utf8s((const wchar_t *)obj->buffer.pointer, buffer 163 drivers/pci/pci-label.c obj->buffer.length, buffer 1162 drivers/pci/pcie/aspm.c static int pcie_aspm_get_policy(char *buffer, const struct kernel_param *kp) buffer 1167 drivers/pci/pcie/aspm.c cnt += sprintf(buffer + cnt, "[%s] ", policy_str[i]); buffer 1169 drivers/pci/pcie/aspm.c cnt += sprintf(buffer + cnt, "%s ", policy_str[i]); buffer 466 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(pa-req-buffer-full, 0x28), buffer 1626 drivers/phy/phy-xgene.c const char *name, u32 *buffer, buffer 1632 drivers/phy/phy-xgene.c if (!of_property_read_u32_array(pdev->dev.of_node, name, buffer, buffer 1635 drivers/phy/phy-xgene.c buffer[i] /= conv_factor; buffer 1640 drivers/phy/phy-xgene.c buffer[i] = default_val[i % 3]; buffer 201 drivers/platform/chrome/cros_ec_chardev.c static ssize_t cros_ec_chardev_read(struct file *filp, char __user *buffer, buffer 227 drivers/platform/chrome/cros_ec_chardev.c ret = copy_to_user(buffer, &event->event_type, count); buffer 247 drivers/platform/chrome/cros_ec_chardev.c if (copy_to_user(buffer, msg, count)) buffer 332 drivers/platform/chrome/cros_ec_chardev.c s_mem.buffer); buffer 216 drivers/platform/chrome/cros_ec_ishtp.c (struct cros_ish_in_msg *)rb_in_proc->buffer.data; buffer 231 drivers/platform/chrome/cros_ec_ishtp.c if (!rb_in_proc->buffer.data) { buffer 287 drivers/platform/chrome/cros_ec_ishtp.c rb_in_proc->buffer.data, data_len); buffer 542 drivers/platform/chrome/cros_ec_proto.c u8 buffer[sizeof(struct cros_ec_command) + sizeof(ec_dev->event_data)]; buffer 543 drivers/platform/chrome/cros_ec_proto.c struct cros_ec_command *msg = (struct cros_ec_command *)&buffer; buffer 570 drivers/platform/chrome/cros_ec_proto.c u8 buffer[sizeof(struct cros_ec_command) + buffer 572 drivers/platform/chrome/cros_ec_proto.c struct cros_ec_command *msg = (struct cros_ec_command *)&buffer; buffer 294 drivers/platform/chrome/wilco_ec/event.c if (obj->buffer.length < sizeof(struct ec_event)) { buffer 296 drivers/platform/chrome/wilco_ec/event.c obj->buffer.length, EC_ACPI_GET_EVENT); buffer 301 drivers/platform/chrome/wilco_ec/event.c enqueue_events(adev, obj->buffer.pointer, obj->buffer.length); buffer 404 drivers/platform/goldfish/goldfish_pipe.c char __user *buffer, buffer 420 drivers/platform/goldfish/goldfish_pipe.c if (unlikely(!access_ok(buffer, bufflen))) buffer 423 drivers/platform/goldfish/goldfish_pipe.c address = (unsigned long)buffer; buffer 486 drivers/platform/goldfish/goldfish_pipe.c static ssize_t goldfish_pipe_read(struct file *filp, char __user *buffer, buffer 489 drivers/platform/goldfish/goldfish_pipe.c return goldfish_pipe_read_write(filp, buffer, bufflen, buffer 494 drivers/platform/goldfish/goldfish_pipe.c const char __user *buffer, size_t bufflen, buffer 498 drivers/platform/goldfish/goldfish_pipe.c char __user *no_const_buffer = (char __user *)buffer; buffer 822 drivers/platform/x86/acer-wmi.c obj->buffer.length == sizeof(struct wmab_ret)) { buffer 823 drivers/platform/x86/acer-wmi.c ret = *((struct wmab_ret *) obj->buffer.pointer); buffer 888 drivers/platform/x86/acer-wmi.c obj->buffer.length == sizeof(struct wmab_ret)) { buffer 889 drivers/platform/x86/acer-wmi.c ret = *((struct wmab_ret *) obj->buffer.pointer); buffer 911 drivers/platform/x86/acer-wmi.c && obj->buffer.length == sizeof(struct wmab_ret)) { buffer 912 drivers/platform/x86/acer-wmi.c ret = *((struct wmab_ret *) obj->buffer.pointer); buffer 963 drivers/platform/x86/acer-wmi.c (obj->buffer.length == sizeof(u32) || buffer 964 drivers/platform/x86/acer-wmi.c obj->buffer.length == sizeof(u64))) { buffer 965 drivers/platform/x86/acer-wmi.c tmp = *((u32 *) obj->buffer.pointer); buffer 1087 drivers/platform/x86/acer-wmi.c if (obj->buffer.length != 8) { buffer 1088 drivers/platform/x86/acer-wmi.c pr_warn("Unknown buffer length %d\n", obj->buffer.length); buffer 1093 drivers/platform/x86/acer-wmi.c return_value = *((struct wmid3_gds_return_value *)obj->buffer.pointer); buffer 1166 drivers/platform/x86/acer-wmi.c if (obj->buffer.length != 8) { buffer 1167 drivers/platform/x86/acer-wmi.c pr_warn("Unknown buffer length %d\n", obj->buffer.length); buffer 1172 drivers/platform/x86/acer-wmi.c return_value = *((struct wmid3_gds_return_value *)obj->buffer.pointer); buffer 1197 drivers/platform/x86/acer-wmi.c if (obj->buffer.length != 4) { buffer 1198 drivers/platform/x86/acer-wmi.c pr_warn("Unknown buffer length %d\n", obj->buffer.length); buffer 1203 drivers/platform/x86/acer-wmi.c return_value = *((struct wmid3_gds_return_value *)obj->buffer.pointer); buffer 1277 drivers/platform/x86/acer-wmi.c (obj->buffer.length == sizeof(u32) || buffer 1278 drivers/platform/x86/acer-wmi.c obj->buffer.length == sizeof(u64))) { buffer 1279 drivers/platform/x86/acer-wmi.c devices = *((u32 *) obj->buffer.pointer); buffer 1731 drivers/platform/x86/acer-wmi.c if (obj->buffer.length != 8) { buffer 1732 drivers/platform/x86/acer-wmi.c pr_warn("Unknown buffer length %d\n", obj->buffer.length); buffer 1737 drivers/platform/x86/acer-wmi.c return_value = *((struct event_return_value *)obj->buffer.pointer); buffer 1804 drivers/platform/x86/acer-wmi.c if (obj->buffer.length != 4) { buffer 1805 drivers/platform/x86/acer-wmi.c pr_warn("Unknown buffer length %d\n", obj->buffer.length); buffer 1810 drivers/platform/x86/acer-wmi.c *return_value = *((struct func_return_value *)obj->buffer.pointer); buffer 1988 drivers/platform/x86/acer-wmi.c (obj->buffer.length == sizeof(u32) || buffer 1989 drivers/platform/x86/acer-wmi.c obj->buffer.length == sizeof(u64))) { buffer 1990 drivers/platform/x86/acer-wmi.c devices = *((u32 *) obj->buffer.pointer); buffer 432 drivers/platform/x86/alienware-wmi.c char buffer[10]; buffer 469 drivers/platform/x86/alienware-wmi.c sprintf(buffer, "zone%02hhX", zone); buffer 470 drivers/platform/x86/alienware-wmi.c name = kstrdup(buffer, GFP_KERNEL); buffer 1215 drivers/platform/x86/asus-laptop.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 1217 drivers/platform/x86/asus-laptop.c &buffer); buffer 1219 drivers/platform/x86/asus-laptop.c union acpi_object *obj = buffer.pointer; buffer 1686 drivers/platform/x86/asus-laptop.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 1704 drivers/platform/x86/asus-laptop.c if (write_acpi_int_ret(asus->handle, "INIT", 0, &buffer)) { buffer 1727 drivers/platform/x86/asus-laptop.c if (buffer.pointer) { buffer 1728 drivers/platform/x86/asus-laptop.c model = buffer.pointer; buffer 1734 drivers/platform/x86/asus-laptop.c string = model->buffer.pointer; buffer 1743 drivers/platform/x86/asus-laptop.c kfree(buffer.pointer); buffer 174 drivers/platform/x86/classmate-laptop.c locs = (int16_t *) obj->buffer.pointer; buffer 517 drivers/platform/x86/classmate-laptop.c locs = obj->buffer.pointer; buffer 496 drivers/platform/x86/dcdbas.c static u8 checksum(u8 *buffer, u8 length) buffer 499 drivers/platform/x86/dcdbas.c u8 *end = buffer + length; buffer 501 drivers/platform/x86/dcdbas.c while (buffer < end) buffer 502 drivers/platform/x86/dcdbas.c sum += *buffer++; buffer 339 drivers/platform/x86/dell-laptop.c static void dell_fill_request(struct calling_interface_buffer *buffer, buffer 342 drivers/platform/x86/dell-laptop.c memset(buffer, 0, sizeof(struct calling_interface_buffer)); buffer 343 drivers/platform/x86/dell-laptop.c buffer->input[0] = arg0; buffer 344 drivers/platform/x86/dell-laptop.c buffer->input[1] = arg1; buffer 345 drivers/platform/x86/dell-laptop.c buffer->input[2] = arg2; buffer 346 drivers/platform/x86/dell-laptop.c buffer->input[3] = arg3; buffer 349 drivers/platform/x86/dell-laptop.c static int dell_send_request(struct calling_interface_buffer *buffer, buffer 354 drivers/platform/x86/dell-laptop.c buffer->cmd_class = class; buffer 355 drivers/platform/x86/dell-laptop.c buffer->cmd_select = select; buffer 356 drivers/platform/x86/dell-laptop.c ret = dell_smbios_call(buffer); buffer 359 drivers/platform/x86/dell-laptop.c return dell_smbios_error(buffer->output[0]); buffer 487 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 492 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0, 0, 0, 0); buffer 493 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 496 drivers/platform/x86/dell-laptop.c status = buffer.output[1]; buffer 498 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0x2, 0, 0, 0); buffer 499 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 502 drivers/platform/x86/dell-laptop.c hwswitch = buffer.output[1]; buffer 510 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 1 | (radio<<8) | (disable << 16), 0, 0, 0); buffer 511 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 520 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 522 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, buffer 524 drivers/platform/x86/dell-laptop.c dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 541 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 546 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0, 0, 0, 0); buffer 547 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 548 drivers/platform/x86/dell-laptop.c status = buffer.output[1]; buffer 554 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0x2, 0, 0, 0); buffer 555 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 556 drivers/platform/x86/dell-laptop.c hwswitch = buffer.output[1]; buffer 573 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 579 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0, 0, 0, 0); buffer 580 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 583 drivers/platform/x86/dell-laptop.c status = buffer.output[1]; buffer 585 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0x2, 0, 0, 0); buffer 586 drivers/platform/x86/dell-laptop.c hwswitch_ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 589 drivers/platform/x86/dell-laptop.c hwswitch_state = buffer.output[1]; buffer 658 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 663 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0, 0, 0, 0); buffer 664 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 665 drivers/platform/x86/dell-laptop.c status = buffer.output[1]; buffer 670 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0x2, 0, 0, 0); buffer 671 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 674 drivers/platform/x86/dell-laptop.c hwswitch = buffer.output[1]; buffer 732 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 748 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0, 0, 0, 0); buffer 749 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_INFO, SELECT_RFKILL); buffer 750 drivers/platform/x86/dell-laptop.c status = buffer.output[1]; buffer 903 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 911 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, buffer 914 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, buffer 917 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, buffer 925 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 933 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, token->location, 0, 0, 0); buffer 935 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, buffer 938 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, buffer 942 drivers/platform/x86/dell-laptop.c ret = buffer.output[1]; buffer 1208 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 1212 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0, 0, 0, 0); buffer 1213 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, buffer 1218 drivers/platform/x86/dell-laptop.c info->modes = buffer.output[1] & 0xFFFF; buffer 1219 drivers/platform/x86/dell-laptop.c info->type = (buffer.output[1] >> 24) & 0xFF; buffer 1220 drivers/platform/x86/dell-laptop.c info->triggers = buffer.output[2] & 0xFF; buffer 1221 drivers/platform/x86/dell-laptop.c units = (buffer.output[2] >> 8) & 0xFF; buffer 1222 drivers/platform/x86/dell-laptop.c info->levels = (buffer.output[2] >> 16) & 0xFF; buffer 1228 drivers/platform/x86/dell-laptop.c info->seconds = (buffer.output[3] >> 0) & 0xFF; buffer 1230 drivers/platform/x86/dell-laptop.c info->minutes = (buffer.output[3] >> 8) & 0xFF; buffer 1232 drivers/platform/x86/dell-laptop.c info->hours = (buffer.output[3] >> 16) & 0xFF; buffer 1234 drivers/platform/x86/dell-laptop.c info->days = (buffer.output[3] >> 24) & 0xFF; buffer 1294 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 1297 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0x1, 0, 0, 0); buffer 1298 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, buffer 1303 drivers/platform/x86/dell-laptop.c state->mode_bit = ffs(buffer.output[1] & 0xFFFF); buffer 1307 drivers/platform/x86/dell-laptop.c state->triggers = (buffer.output[1] >> 16) & 0xFF; buffer 1308 drivers/platform/x86/dell-laptop.c state->timeout_value = (buffer.output[1] >> 24) & 0x3F; buffer 1309 drivers/platform/x86/dell-laptop.c state->timeout_unit = (buffer.output[1] >> 30) & 0x3; buffer 1310 drivers/platform/x86/dell-laptop.c state->als_setting = buffer.output[2] & 0xFF; buffer 1311 drivers/platform/x86/dell-laptop.c state->als_value = (buffer.output[2] >> 8) & 0xFF; buffer 1312 drivers/platform/x86/dell-laptop.c state->level = (buffer.output[2] >> 16) & 0xFF; buffer 1313 drivers/platform/x86/dell-laptop.c state->timeout_value_ac = (buffer.output[2] >> 24) & 0x3F; buffer 1314 drivers/platform/x86/dell-laptop.c state->timeout_unit_ac = (buffer.output[2] >> 30) & 0x3; buffer 1321 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 1334 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, 0x2, input1, input2, 0); buffer 1335 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, buffer 1363 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 1374 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, token->location, token->value, 0, 0); buffer 1375 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_TOKEN_WRITE, SELECT_TOKEN_STD); buffer 1382 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 1394 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, token->location, 0, 0, 0); buffer 1395 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, CLASS_TOKEN_READ, SELECT_TOKEN_STD); buffer 1396 drivers/platform/x86/dell-laptop.c val = buffer.output[1]; buffer 2139 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 2151 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, token->location, token->value, 0, 0); buffer 2152 drivers/platform/x86/dell-laptop.c dell_send_request(&buffer, CLASS_TOKEN_WRITE, SELECT_TOKEN_STD); buffer 2217 drivers/platform/x86/dell-laptop.c struct calling_interface_buffer buffer; buffer 2219 drivers/platform/x86/dell-laptop.c dell_fill_request(&buffer, token->location, 0, 0, 0); buffer 2220 drivers/platform/x86/dell-laptop.c ret = dell_send_request(&buffer, buffer 2223 drivers/platform/x86/dell-laptop.c max_intensity = buffer.output[3]; buffer 177 drivers/platform/x86/dell-smbios-base.c struct calling_interface_buffer *buffer) buffer 183 drivers/platform/x86/dell-smbios-base.c if (buffer->cmd_class > 30) { buffer 184 drivers/platform/x86/dell-smbios-base.c dev_dbg(d, "class too big: %u\n", buffer->cmd_class); buffer 189 drivers/platform/x86/dell-smbios-base.c if (!(da_supported_commands & (1 << buffer->cmd_class))) { buffer 197 drivers/platform/x86/dell-smbios-base.c if (buffer->cmd_class != call_blacklist[i].cmd_class) buffer 199 drivers/platform/x86/dell-smbios-base.c if (buffer->cmd_select != call_blacklist[i].cmd_select && buffer 203 drivers/platform/x86/dell-smbios-base.c buffer->cmd_class, buffer->cmd_select); buffer 209 drivers/platform/x86/dell-smbios-base.c if ((buffer->cmd_class == CLASS_TOKEN_READ || buffer 210 drivers/platform/x86/dell-smbios-base.c buffer->cmd_class == CLASS_TOKEN_WRITE) && buffer 211 drivers/platform/x86/dell-smbios-base.c buffer->cmd_select < 3) { buffer 220 drivers/platform/x86/dell-smbios-base.c if (da_tokens[i].location != buffer->input[0]) buffer 229 drivers/platform/x86/dell-smbios-base.c buffer->input[0]); buffer 259 drivers/platform/x86/dell-smbios-base.c if (buffer->cmd_class != call_whitelist[i].cmd_class) buffer 261 drivers/platform/x86/dell-smbios-base.c if (buffer->cmd_select != call_whitelist[i].cmd_select) buffer 266 drivers/platform/x86/dell-smbios-base.c buffer->cmd_class, buffer->cmd_select); buffer 271 drivers/platform/x86/dell-smbios-base.c buffer->cmd_class, buffer->cmd_select); buffer 278 drivers/platform/x86/dell-smbios-base.c buffer->cmd_class, buffer->cmd_select); buffer 286 drivers/platform/x86/dell-smbios-base.c int dell_smbios_call(struct calling_interface_buffer *buffer) buffer 309 drivers/platform/x86/dell-smbios-base.c ret = call_fn(buffer); buffer 23 drivers/platform/x86/dell-smbios-smm.c static struct calling_interface_buffer *buffer; buffer 91 drivers/platform/x86/dell-smbios-smm.c command.ebx = virt_to_phys(buffer); buffer 95 drivers/platform/x86/dell-smbios-smm.c memcpy(buffer, input, size); buffer 97 drivers/platform/x86/dell-smbios-smm.c memcpy(input, buffer, size); buffer 116 drivers/platform/x86/dell-smbios-smm.c buffer->cmd_class = CLASS_TOKEN_READ; buffer 117 drivers/platform/x86/dell-smbios-smm.c buffer->cmd_select = SELECT_TOKEN_STD; buffer 118 drivers/platform/x86/dell-smbios-smm.c memset(buffer, 0, sizeof(struct calling_interface_buffer)); buffer 119 drivers/platform/x86/dell-smbios-smm.c buffer->input[0] = wsmt->location; buffer 120 drivers/platform/x86/dell-smbios-smm.c buffer->output[0] = 99; buffer 121 drivers/platform/x86/dell-smbios-smm.c dell_smbios_smm_call(buffer); buffer 122 drivers/platform/x86/dell-smbios-smm.c if (buffer->output[0] == 99) buffer 135 drivers/platform/x86/dell-smbios-smm.c buffer = (void *)__get_free_page(GFP_KERNEL | GFP_DMA32); buffer 136 drivers/platform/x86/dell-smbios-smm.c if (!buffer) buffer 172 drivers/platform/x86/dell-smbios-smm.c free_page((unsigned long)buffer); buffer 181 drivers/platform/x86/dell-smbios-smm.c free_page((unsigned long)buffer); buffer 74 drivers/platform/x86/dell-smbios-wmi.c memcpy(&priv->buf->std, obj->buffer.pointer, obj->buffer.length); buffer 83 drivers/platform/x86/dell-smbios-wmi.c static int dell_smbios_wmi_call(struct calling_interface_buffer *buffer) buffer 101 drivers/platform/x86/dell-smbios-wmi.c memcpy(&priv->buf->std, buffer, size); buffer 103 drivers/platform/x86/dell-smbios-wmi.c memcpy(buffer, &priv->buf->std, size); buffer 62 drivers/platform/x86/dell-smbios.h struct calling_interface_buffer *buffer); buffer 63 drivers/platform/x86/dell-smbios.h int dell_smbios_call(struct calling_interface_buffer *buffer); buffer 59 drivers/platform/x86/dell-wmi-aio.c static bool dell_wmi_aio_event_check(u8 *buffer, int length) buffer 61 drivers/platform/x86/dell-wmi-aio.c struct dell_wmi_event *event = (struct dell_wmi_event *)buffer; buffer 98 drivers/platform/x86/dell-wmi-aio.c if (dell_wmi_aio_event_check(obj->buffer.pointer, buffer 99 drivers/platform/x86/dell-wmi-aio.c obj->buffer.length)) { buffer 101 drivers/platform/x86/dell-wmi-aio.c obj->buffer.pointer; buffer 106 drivers/platform/x86/dell-wmi-aio.c if (obj->buffer.pointer && buffer 107 drivers/platform/x86/dell-wmi-aio.c obj->buffer.length > 0) buffer 108 drivers/platform/x86/dell-wmi-aio.c scancode = obj->buffer.pointer[0]; buffer 106 drivers/platform/x86/dell-wmi-descriptor.c u32 *buffer; buffer 126 drivers/platform/x86/dell-wmi-descriptor.c if (obj->buffer.length != 128) { buffer 129 drivers/platform/x86/dell-wmi-descriptor.c obj->buffer.length); buffer 135 drivers/platform/x86/dell-wmi-descriptor.c buffer = (u32 *)obj->buffer.pointer; buffer 139 drivers/platform/x86/dell-wmi-descriptor.c buffer); buffer 146 drivers/platform/x86/dell-wmi-descriptor.c if (buffer[2] != 0 && buffer[2] != 1) buffer 148 drivers/platform/x86/dell-wmi-descriptor.c (unsigned long) buffer[2]); buffer 158 drivers/platform/x86/dell-wmi-descriptor.c priv->interface_version = buffer[2]; buffer 159 drivers/platform/x86/dell-wmi-descriptor.c priv->size = buffer[3]; buffer 160 drivers/platform/x86/dell-wmi-descriptor.c priv->hotfix = buffer[4]; buffer 84 drivers/platform/x86/dell-wmi-led.c bios_return = ((struct bios_args *)obj->buffer.pointer); buffer 368 drivers/platform/x86/dell-wmi.c obj->buffer.length, obj->buffer.pointer); buffer 370 drivers/platform/x86/dell-wmi.c buffer_entry = (u16 *)obj->buffer.pointer; buffer 371 drivers/platform/x86/dell-wmi.c buffer_size = obj->buffer.length/2; buffer 645 drivers/platform/x86/dell-wmi.c struct calling_interface_buffer *buffer; buffer 648 drivers/platform/x86/dell-wmi.c buffer = kzalloc(sizeof(struct calling_interface_buffer), GFP_KERNEL); buffer 649 drivers/platform/x86/dell-wmi.c if (!buffer) buffer 651 drivers/platform/x86/dell-wmi.c buffer->cmd_class = CLASS_INFO; buffer 652 drivers/platform/x86/dell-wmi.c buffer->cmd_select = SELECT_APP_REGISTRATION; buffer 653 drivers/platform/x86/dell-wmi.c buffer->input[0] = 0x10000; buffer 654 drivers/platform/x86/dell-wmi.c buffer->input[1] = 0x51534554; buffer 655 drivers/platform/x86/dell-wmi.c buffer->input[3] = enable; buffer 656 drivers/platform/x86/dell-wmi.c ret = dell_smbios_call(buffer); buffer 658 drivers/platform/x86/dell-wmi.c ret = buffer->output[0]; buffer 659 drivers/platform/x86/dell-wmi.c kfree(buffer); buffer 449 drivers/platform/x86/dell_rbu.c static ssize_t read_packet_data(char *buffer, loff_t pos, size_t count) buffer 454 drivers/platform/x86/dell_rbu.c char *ptempBuf = buffer; buffer 487 drivers/platform/x86/dell_rbu.c static ssize_t read_rbu_mono_data(char *buffer, loff_t pos, size_t count) buffer 499 drivers/platform/x86/dell_rbu.c return memory_read_from_buffer(buffer, count, &pos, buffer 505 drivers/platform/x86/dell_rbu.c char *buffer, loff_t pos, size_t count) buffer 512 drivers/platform/x86/dell_rbu.c ret_count = read_rbu_mono_data(buffer, pos, count); buffer 514 drivers/platform/x86/dell_rbu.c ret_count = read_packet_data(buffer, pos, count); buffer 559 drivers/platform/x86/dell_rbu.c char *buffer, loff_t pos, size_t count) buffer 563 drivers/platform/x86/dell_rbu.c size = scnprintf(buffer, count, "%s\n", image_type); buffer 569 drivers/platform/x86/dell_rbu.c char *buffer, loff_t pos, size_t count) buffer 579 drivers/platform/x86/dell_rbu.c if (buffer[i] == '\n' || buffer[i] == ' ') { buffer 580 drivers/platform/x86/dell_rbu.c buffer[i] = '\0'; buffer 584 drivers/platform/x86/dell_rbu.c buffer[count] = '\0'; buffer 586 drivers/platform/x86/dell_rbu.c if (strstr(buffer, "mono")) buffer 588 drivers/platform/x86/dell_rbu.c else if (strstr(buffer, "packet")) buffer 590 drivers/platform/x86/dell_rbu.c else if (strstr(buffer, "init")) { buffer 630 drivers/platform/x86/dell_rbu.c char *buffer, loff_t pos, size_t count) buffer 635 drivers/platform/x86/dell_rbu.c size = scnprintf(buffer, count, "%lu\n", rbu_data.packetsize); buffer 643 drivers/platform/x86/dell_rbu.c char *buffer, loff_t pos, size_t count) buffer 648 drivers/platform/x86/dell_rbu.c sscanf(buffer, "%lu", &temp); buffer 208 drivers/platform/x86/hp-wmi.c void *buffer, int insize, int outsize) buffer 231 drivers/platform/x86/hp-wmi.c memcpy(&args.data[0], buffer, insize); buffer 245 drivers/platform/x86/hp-wmi.c bios_return = (struct bios_return *)obj->buffer.pointer; buffer 258 drivers/platform/x86/hp-wmi.c actual_outsize = min(outsize, (int)(obj->buffer.length - sizeof(*bios_return))); buffer 259 drivers/platform/x86/hp-wmi.c memcpy(buffer, obj->buffer.pointer + sizeof(*bios_return), actual_outsize); buffer 260 drivers/platform/x86/hp-wmi.c memset(buffer + actual_outsize, 0, outsize - actual_outsize); buffer 364 drivers/platform/x86/hp-wmi.c char buffer[4] = { 0x01, 0x00, rfkill_id, !blocked }; buffer 368 drivers/platform/x86/hp-wmi.c buffer, sizeof(buffer), 0); buffer 545 drivers/platform/x86/hp-wmi.c location = (u32 *)obj->buffer.pointer; buffer 546 drivers/platform/x86/hp-wmi.c if (obj->buffer.length == 8) { buffer 549 drivers/platform/x86/hp-wmi.c } else if (obj->buffer.length == 16) { buffer 553 drivers/platform/x86/hp-wmi.c pr_info("Unknown buffer length %d\n", obj->buffer.length); buffer 208 drivers/platform/x86/intel-hid.c intel_hid_dsm_fn_mask = *obj->buffer.pointer; buffer 93 drivers/platform/x86/lg-laptop.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 108 drivers/platform/x86/lg-laptop.c status = acpi_evaluate_object(handle, NULL, &arg, &buffer); buffer 114 drivers/platform/x86/lg-laptop.c r = buffer.pointer; buffer 132 drivers/platform/x86/lg-laptop.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 150 drivers/platform/x86/lg-laptop.c status = acpi_evaluate_object(handle, NULL, &arg, &buffer); buffer 156 drivers/platform/x86/lg-laptop.c return buffer.pointer; buffer 165 drivers/platform/x86/lg-laptop.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 176 drivers/platform/x86/lg-laptop.c args[2].buffer.length = 32; buffer 177 drivers/platform/x86/lg-laptop.c args[2].buffer.pointer = buf; buffer 188 drivers/platform/x86/lg-laptop.c status = acpi_evaluate_object(handle, NULL, &arg, &buffer); buffer 194 drivers/platform/x86/lg-laptop.c return (union acpi_object *)buffer.pointer; buffer 276 drivers/platform/x86/lg-laptop.c const char *buffer, size_t count) buffer 283 drivers/platform/x86/lg-laptop.c ret = kstrtobool(buffer, &value); buffer 307 drivers/platform/x86/lg-laptop.c struct device_attribute *attr, char *buffer) buffer 324 drivers/platform/x86/lg-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", status); buffer 329 drivers/platform/x86/lg-laptop.c const char *buffer, size_t count) buffer 335 drivers/platform/x86/lg-laptop.c ret = kstrtobool(buffer, &value); buffer 348 drivers/platform/x86/lg-laptop.c struct device_attribute *attr, char *buffer) buffer 362 drivers/platform/x86/lg-laptop.c status = !!r->buffer.pointer[0x10]; buffer 366 drivers/platform/x86/lg-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", status); buffer 371 drivers/platform/x86/lg-laptop.c const char *buffer, size_t count) buffer 377 drivers/platform/x86/lg-laptop.c ret = kstrtobool(buffer, &value); buffer 390 drivers/platform/x86/lg-laptop.c struct device_attribute *attr, char *buffer) buffer 408 drivers/platform/x86/lg-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", status); buffer 413 drivers/platform/x86/lg-laptop.c const char *buffer, size_t count) buffer 419 drivers/platform/x86/lg-laptop.c ret = kstrtobool(buffer, &value); buffer 432 drivers/platform/x86/lg-laptop.c struct device_attribute *attr, char *buffer) buffer 446 drivers/platform/x86/lg-laptop.c status = !!r->buffer.pointer[0]; buffer 449 drivers/platform/x86/lg-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", status); buffer 454 drivers/platform/x86/lg-laptop.c const char *buffer, size_t count) buffer 459 drivers/platform/x86/lg-laptop.c ret = kstrtoul(buffer, 10, &value); buffer 479 drivers/platform/x86/lg-laptop.c char *buffer) buffer 498 drivers/platform/x86/lg-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", status); buffer 561 drivers/platform/x86/lg-laptop.c if (r->type != ACPI_TYPE_BUFFER || r->buffer.pointer[1] != 0x05) { buffer 566 drivers/platform/x86/lg-laptop.c switch (r->buffer.pointer[0] & 0x27) { buffer 107 drivers/platform/x86/msi-wmi.c obj->buffer.length : 0); buffer 258 drivers/platform/x86/panasonic-laptop.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 263 drivers/platform/x86/panasonic-laptop.c &buffer); buffer 270 drivers/platform/x86/panasonic-laptop.c hkey = buffer.pointer; buffer 295 drivers/platform/x86/panasonic-laptop.c kfree(buffer.pointer); buffer 789 drivers/platform/x86/sony-laptop.c void *buffer, size_t buflen) buffer 799 drivers/platform/x86/sony-laptop.c len = MIN(buflen, object->buffer.length); buffer 800 drivers/platform/x86/sony-laptop.c memcpy(buffer, object->buffer.pointer, len); buffer 804 drivers/platform/x86/sony-laptop.c memcpy(buffer, &object->integer.value, len); buffer 824 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 830 drivers/platform/x86/sony-laptop.c len += snprintf(buffer + len, PAGE_SIZE - len, "0x%.4x ", buffer 833 drivers/platform/x86/sony-laptop.c len += snprintf(buffer + len, PAGE_SIZE - len, "\n"); buffer 957 drivers/platform/x86/sony-laptop.c char *buffer) buffer 974 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", value); buffer 979 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 992 drivers/platform/x86/sony-laptop.c if (kstrtoint(buffer, 10, &value)) buffer 1710 drivers/platform/x86/sony-laptop.c unsigned char buffer[32] = { 0 }; buffer 1715 drivers/platform/x86/sony-laptop.c i = sony_nc_buffer_call(sony_nc_acpi_handle, "SN06", &offset, buffer, buffer 1739 drivers/platform/x86/sony-laptop.c for (i = 0; i < ARRAY_SIZE(buffer); i++) { buffer 1741 drivers/platform/x86/sony-laptop.c if (buffer[i] == 0xff) buffer 1744 drivers/platform/x86/sony-laptop.c dprintk("Radio devices, found 0x%.2x\n", buffer[i]); buffer 1746 drivers/platform/x86/sony-laptop.c if (buffer[i] == 0 && !sony_rfkill_devices[SONY_WIFI]) buffer 1749 drivers/platform/x86/sony-laptop.c if (buffer[i] == 0x10 && !sony_rfkill_devices[SONY_BLUETOOTH]) buffer 1752 drivers/platform/x86/sony-laptop.c if (((0xf0 & buffer[i]) == 0x20 || buffer 1753 drivers/platform/x86/sony-laptop.c (0xf0 & buffer[i]) == 0x50) && buffer 1757 drivers/platform/x86/sony-laptop.c if (buffer[i] == 0x30 && !sony_rfkill_devices[SONY_WIMAX]) buffer 1800 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 1808 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value)) buffer 1819 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 1822 drivers/platform/x86/sony-laptop.c count = snprintf(buffer, PAGE_SIZE, "%d\n", kbdbl_ctl->mode); buffer 1844 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 1852 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value)) buffer 1863 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 1866 drivers/platform/x86/sony-laptop.c count = snprintf(buffer, PAGE_SIZE, "%d\n", kbdbl_ctl->timeout); buffer 1982 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 1990 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value)) buffer 2038 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2061 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", status); buffer 2065 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2073 drivers/platform/x86/sony-laptop.c count = snprintf(buffer, PAGE_SIZE, "%d\n", health & 0xff); buffer 2183 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2190 drivers/platform/x86/sony-laptop.c idx += snprintf(buffer + idx, PAGE_SIZE - idx, "%s ", buffer 2193 drivers/platform/x86/sony-laptop.c idx += snprintf(buffer + idx, PAGE_SIZE - idx, "\n"); buffer 2200 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 2209 drivers/platform/x86/sony-laptop.c if (buffer[len - 1] == '\n') buffer 2213 drivers/platform/x86/sony-laptop.c if (strncmp(buffer, snc_thermal_profiles[cmd], len) == 0) buffer 2223 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2231 drivers/platform/x86/sony-laptop.c count = snprintf(buffer, PAGE_SIZE, "%s\n", snc_thermal_profiles[mode]); buffer 2319 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 2327 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value) || value > 1) buffer 2360 drivers/platform/x86/sony-laptop.c char *buffer) buffer 2366 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", buffer 2494 drivers/platform/x86/sony-laptop.c char *buffer) buffer 2501 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%s\n", buffer 2551 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 2559 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value) || value > 1) buffer 2569 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2576 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", result & 0x01); buffer 2625 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 2633 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value) || value > 1) buffer 2643 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2650 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", result & 1); buffer 2691 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 2699 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value) || value > 1) buffer 2709 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2716 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", result & 0x01); buffer 2720 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2727 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", result & 0xff); buffer 2798 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 2806 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value) || value > 1) buffer 2816 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2823 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", result & 0x01); buffer 2871 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 2878 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", result); buffer 2919 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 2927 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value) || value > 1) buffer 2977 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, const char *buffer, size_t count) buffer 2985 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value) || value > 1) buffer 2999 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 3006 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", !(result & 0x01)); buffer 3051 drivers/platform/x86/sony-laptop.c unsigned char buffer[32] = { 0 }; buffer 3062 drivers/platform/x86/sony-laptop.c i = sony_nc_buffer_call(sony_nc_acpi_handle, "SN06", &offset, buffer, buffer 3083 drivers/platform/x86/sony-laptop.c for (i = 0; i < lvl_table_len && i < ARRAY_SIZE(buffer); i++) { buffer 3085 drivers/platform/x86/sony-laptop.c dprintk("Brightness level: %d\n", buffer[i]); buffer 3087 drivers/platform/x86/sony-laptop.c if (!buffer[i]) buffer 3090 drivers/platform/x86/sony-laptop.c if (buffer[i] > max) buffer 3091 drivers/platform/x86/sony-laptop.c max = buffer[i]; buffer 3092 drivers/platform/x86/sony-laptop.c if (buffer[i] < min) buffer 3093 drivers/platform/x86/sony-laptop.c min = buffer[i]; buffer 3902 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 3908 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value)) buffer 3919 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 3923 drivers/platform/x86/sony-laptop.c count = snprintf(buffer, PAGE_SIZE, "%d\n", spic_dev.wwan_power); buffer 3941 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 3947 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value)) buffer 3958 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 3962 drivers/platform/x86/sony-laptop.c count = snprintf(buffer, PAGE_SIZE, "%d\n", spic_dev.bluetooth_power); buffer 3982 drivers/platform/x86/sony-laptop.c const char *buffer, size_t count) buffer 3988 drivers/platform/x86/sony-laptop.c if (kstrtoul(buffer, 10, &value)) buffer 3998 drivers/platform/x86/sony-laptop.c struct device_attribute *attr, char *buffer) buffer 4004 drivers/platform/x86/sony-laptop.c return snprintf(buffer, PAGE_SIZE, "%d\n", value); buffer 4504 drivers/platform/x86/sony-laptop.c struct acpi_buffer buffer = { 0, NULL }; buffer 4514 drivers/platform/x86/sony-laptop.c buffer.length = sizeof(*resource) + 1; buffer 4515 drivers/platform/x86/sony-laptop.c buffer.pointer = resource; buffer 4564 drivers/platform/x86/sony-laptop.c status = acpi_set_current_resources(device->handle, &buffer); buffer 74 drivers/platform/x86/surface3-wmi.c obj->buffer.length : 0); buffer 6854 drivers/platform/x86/thinkpad_acpi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 6865 drivers/platform/x86/thinkpad_acpi.c NULL, &buffer); buffer 6869 drivers/platform/x86/thinkpad_acpi.c obj = (union acpi_object *)buffer.pointer; buffer 6880 drivers/platform/x86/thinkpad_acpi.c kfree(buffer.pointer); buffer 1486 drivers/platform/x86/toshiba_acpi.c char *buffer; buffer 1498 drivers/platform/x86/toshiba_acpi.c buffer = cmd; buffer 1505 drivers/platform/x86/toshiba_acpi.c if (sscanf(buffer, " lcd_out : %i", &value) == 1) buffer 1507 drivers/platform/x86/toshiba_acpi.c else if (sscanf(buffer, " crt_out : %i", &value) == 1) buffer 1509 drivers/platform/x86/toshiba_acpi.c else if (sscanf(buffer, " tv_out : %i", &value) == 1) buffer 1513 drivers/platform/x86/toshiba_acpi.c ++buffer; buffer 1515 drivers/platform/x86/toshiba_acpi.c } while (remain && *(buffer - 1) != ';'); buffer 39 drivers/platform/x86/wmi-bmof.c if (off >= priv->bmofdata->buffer.length) buffer 42 drivers/platform/x86/wmi-bmof.c if (count > priv->bmofdata->buffer.length - off) buffer 43 drivers/platform/x86/wmi-bmof.c count = priv->bmofdata->buffer.length - off; buffer 45 drivers/platform/x86/wmi-bmof.c memcpy(buf, priv->bmofdata->buffer.pointer + off, count); buffer 76 drivers/platform/x86/wmi-bmof.c priv->bmof_bin_attr.size = priv->bmofdata->buffer.length; buffer 287 drivers/platform/x86/wmi.c params[2].buffer.length = in->length; buffer 288 drivers/platform/x86/wmi.c params[2].buffer.pointer = in->pointer; buffer 441 drivers/platform/x86/wmi.c params[1].buffer.length = in->length; buffer 442 drivers/platform/x86/wmi.c params[1].buffer.pointer = in->pointer; buffer 493 drivers/platform/x86/wmi.c pr_cont("BUFFER_TYPE - length %d\n", obj->buffer.length); buffer 830 drivers/platform/x86/wmi.c static ssize_t wmi_char_read(struct file *filp, char __user *buffer, buffer 835 drivers/platform/x86/wmi.c return simple_read_from_buffer(buffer, length, offset, buffer 1166 drivers/platform/x86/wmi.c gblock = (const struct guid_block *)obj->buffer.pointer; buffer 1167 drivers/platform/x86/wmi.c total = obj->buffer.length / sizeof(struct guid_block); buffer 26 drivers/pnp/interface.c char *buffer; /* pointer to begin of buffer */ buffer 36 drivers/pnp/interface.c static int pnp_printf(pnp_info_buffer_t * buffer, char *fmt, ...) buffer 41 drivers/pnp/interface.c if (buffer->stop || buffer->error) buffer 44 drivers/pnp/interface.c res = vsnprintf(buffer->curr, buffer->len - buffer->size, fmt, args); buffer 46 drivers/pnp/interface.c if (buffer->size + res >= buffer->len) { buffer 47 drivers/pnp/interface.c buffer->stop = 1; buffer 50 drivers/pnp/interface.c buffer->curr += res; buffer 51 drivers/pnp/interface.c buffer->size += res; buffer 55 drivers/pnp/interface.c static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, buffer 58 drivers/pnp/interface.c pnp_printf(buffer, "%sport %#llx-%#llx, align %#llx, size %#llx, " buffer 67 drivers/pnp/interface.c static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, buffer 72 drivers/pnp/interface.c pnp_printf(buffer, "%sirq ", space); buffer 76 drivers/pnp/interface.c pnp_printf(buffer, ","); buffer 81 drivers/pnp/interface.c pnp_printf(buffer, "2/9"); buffer 83 drivers/pnp/interface.c pnp_printf(buffer, "%i", i); buffer 86 drivers/pnp/interface.c pnp_printf(buffer, "<none>"); buffer 88 drivers/pnp/interface.c pnp_printf(buffer, " High-Edge"); buffer 90 drivers/pnp/interface.c pnp_printf(buffer, " Low-Edge"); buffer 92 drivers/pnp/interface.c pnp_printf(buffer, " High-Level"); buffer 94 drivers/pnp/interface.c pnp_printf(buffer, " Low-Level"); buffer 96 drivers/pnp/interface.c pnp_printf(buffer, " (optional)"); buffer 97 drivers/pnp/interface.c pnp_printf(buffer, "\n"); buffer 100 drivers/pnp/interface.c static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, buffer 106 drivers/pnp/interface.c pnp_printf(buffer, "%sdma ", space); buffer 110 drivers/pnp/interface.c pnp_printf(buffer, ","); buffer 114 drivers/pnp/interface.c pnp_printf(buffer, "%i", i); buffer 117 drivers/pnp/interface.c pnp_printf(buffer, "<none>"); buffer 128 drivers/pnp/interface.c pnp_printf(buffer, " %s", s); buffer 130 drivers/pnp/interface.c pnp_printf(buffer, " master"); buffer 132 drivers/pnp/interface.c pnp_printf(buffer, " byte-count"); buffer 134 drivers/pnp/interface.c pnp_printf(buffer, " word-count"); buffer 149 drivers/pnp/interface.c pnp_printf(buffer, " %s\n", s); buffer 152 drivers/pnp/interface.c static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, buffer 157 drivers/pnp/interface.c pnp_printf(buffer, "%sMemory %#llx-%#llx, align %#llx, size %#llx", buffer 163 drivers/pnp/interface.c pnp_printf(buffer, ", writeable"); buffer 165 drivers/pnp/interface.c pnp_printf(buffer, ", cacheable"); buffer 167 drivers/pnp/interface.c pnp_printf(buffer, ", range-length"); buffer 169 drivers/pnp/interface.c pnp_printf(buffer, ", shadowable"); buffer 171 drivers/pnp/interface.c pnp_printf(buffer, ", expansion ROM"); buffer 185 drivers/pnp/interface.c pnp_printf(buffer, ", %s\n", s); buffer 188 drivers/pnp/interface.c static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, buffer 193 drivers/pnp/interface.c pnp_print_port(buffer, space, &option->u.port); buffer 196 drivers/pnp/interface.c pnp_print_mem(buffer, space, &option->u.mem); buffer 199 drivers/pnp/interface.c pnp_print_irq(buffer, space, &option->u.irq); buffer 202 drivers/pnp/interface.c pnp_print_dma(buffer, space, &option->u.dma); buffer 211 drivers/pnp/interface.c pnp_info_buffer_t *buffer; buffer 216 drivers/pnp/interface.c buffer = pnp_alloc(sizeof(pnp_info_buffer_t)); buffer 217 drivers/pnp/interface.c if (!buffer) buffer 220 drivers/pnp/interface.c buffer->len = PAGE_SIZE; buffer 221 drivers/pnp/interface.c buffer->buffer = buf; buffer 222 drivers/pnp/interface.c buffer->curr = buffer->buffer; buffer 230 drivers/pnp/interface.c pnp_printf(buffer, "Dependent: %02i - " buffer 238 drivers/pnp/interface.c pnp_print_option(buffer, indent, option); buffer 241 drivers/pnp/interface.c ret = (buffer->curr - buf); buffer 242 drivers/pnp/interface.c kfree(buffer); buffer 251 drivers/pnp/interface.c pnp_info_buffer_t *buffer; buffer 259 drivers/pnp/interface.c buffer = pnp_alloc(sizeof(pnp_info_buffer_t)); buffer 260 drivers/pnp/interface.c if (!buffer) buffer 263 drivers/pnp/interface.c buffer->len = PAGE_SIZE; buffer 264 drivers/pnp/interface.c buffer->buffer = buf; buffer 265 drivers/pnp/interface.c buffer->curr = buffer->buffer; buffer 267 drivers/pnp/interface.c pnp_printf(buffer, "state = %s\n", dev->active ? "active" : "disabled"); buffer 272 drivers/pnp/interface.c pnp_printf(buffer, pnp_resource_type_name(res)); buffer 275 drivers/pnp/interface.c pnp_printf(buffer, " disabled\n"); buffer 283 drivers/pnp/interface.c pnp_printf(buffer, " %#llx-%#llx%s\n", buffer 291 drivers/pnp/interface.c pnp_printf(buffer, " %lld\n", buffer 297 drivers/pnp/interface.c ret = (buffer->curr - buf); buffer 298 drivers/pnp/interface.c kfree(buffer); buffer 68 drivers/pnp/pnpacpi/core.c struct acpi_buffer buffer; buffer 70 drivers/pnp/pnpacpi/core.c ret = pnpacpi_build_resource_template(dev, &buffer); buffer 74 drivers/pnp/pnpacpi/core.c ret = pnpacpi_encode_resources(dev, &buffer); buffer 78 drivers/pnp/pnpacpi/core.c status = acpi_set_current_resources(handle, &buffer); buffer 82 drivers/pnp/pnpacpi/core.c kfree(buffer.pointer); buffer 622 drivers/pnp/pnpacpi/rsparser.c struct acpi_buffer *buffer) buffer 638 drivers/pnp/pnpacpi/rsparser.c buffer->length = sizeof(struct acpi_resource) * (res_cnt + 1) + 1; buffer 639 drivers/pnp/pnpacpi/rsparser.c buffer->pointer = kzalloc(buffer->length - 1, GFP_KERNEL); buffer 640 drivers/pnp/pnpacpi/rsparser.c if (!buffer->pointer) buffer 643 drivers/pnp/pnpacpi/rsparser.c resource = (struct acpi_resource *)buffer->pointer; buffer 647 drivers/pnp/pnpacpi/rsparser.c kfree(buffer->pointer); buffer 876 drivers/pnp/pnpacpi/rsparser.c int pnpacpi_encode_resources(struct pnp_dev *dev, struct acpi_buffer *buffer) buffer 880 drivers/pnp/pnpacpi/rsparser.c int res_cnt = (buffer->length - 1) / sizeof(struct acpi_resource) - 1; buffer 881 drivers/pnp/pnpacpi/rsparser.c struct acpi_resource *resource = buffer->pointer; buffer 341 drivers/power/supply/test_power.c static int param_get_ac_online(char *buffer, const struct kernel_param *kp) buffer 343 drivers/power/supply/test_power.c strcpy(buffer, map_get_key(map_ac_online, ac_online, "unknown")); buffer 344 drivers/power/supply/test_power.c return strlen(buffer); buffer 354 drivers/power/supply/test_power.c static int param_get_usb_online(char *buffer, const struct kernel_param *kp) buffer 356 drivers/power/supply/test_power.c strcpy(buffer, map_get_key(map_ac_online, usb_online, "unknown")); buffer 357 drivers/power/supply/test_power.c return strlen(buffer); buffer 368 drivers/power/supply/test_power.c static int param_get_battery_status(char *buffer, const struct kernel_param *kp) buffer 370 drivers/power/supply/test_power.c strcpy(buffer, map_get_key(map_status, battery_status, "unknown")); buffer 371 drivers/power/supply/test_power.c return strlen(buffer); buffer 382 drivers/power/supply/test_power.c static int param_get_battery_health(char *buffer, const struct kernel_param *kp) buffer 384 drivers/power/supply/test_power.c strcpy(buffer, map_get_key(map_health, battery_health, "unknown")); buffer 385 drivers/power/supply/test_power.c return strlen(buffer); buffer 396 drivers/power/supply/test_power.c static int param_get_battery_present(char *buffer, buffer 399 drivers/power/supply/test_power.c strcpy(buffer, map_get_key(map_present, battery_present, "unknown")); buffer 400 drivers/power/supply/test_power.c return strlen(buffer); buffer 412 drivers/power/supply/test_power.c static int param_get_battery_technology(char *buffer, buffer 415 drivers/power/supply/test_power.c strcpy(buffer, buffer 417 drivers/power/supply/test_power.c return strlen(buffer); buffer 263 drivers/rapidio/devices/rio_mport_cdev.c u32 *buffer; buffer 276 drivers/rapidio/devices/rio_mport_cdev.c buffer = vmalloc(maint_io.length); buffer 277 drivers/rapidio/devices/rio_mport_cdev.c if (buffer == NULL) buffer 285 drivers/rapidio/devices/rio_mport_cdev.c offset, &buffer[i]); buffer 288 drivers/rapidio/devices/rio_mport_cdev.c maint_io.hopcount, offset, &buffer[i]); buffer 295 drivers/rapidio/devices/rio_mport_cdev.c if (unlikely(copy_to_user((void __user *)(uintptr_t)maint_io.buffer, buffer 296 drivers/rapidio/devices/rio_mport_cdev.c buffer, maint_io.length))) buffer 299 drivers/rapidio/devices/rio_mport_cdev.c vfree(buffer); buffer 308 drivers/rapidio/devices/rio_mport_cdev.c u32 *buffer; buffer 321 drivers/rapidio/devices/rio_mport_cdev.c buffer = vmalloc(maint_io.length); buffer 322 drivers/rapidio/devices/rio_mport_cdev.c if (buffer == NULL) buffer 326 drivers/rapidio/devices/rio_mport_cdev.c if (unlikely(copy_from_user(buffer, buffer 327 drivers/rapidio/devices/rio_mport_cdev.c (void __user *)(uintptr_t)maint_io.buffer, length))) { buffer 338 drivers/rapidio/devices/rio_mport_cdev.c offset, buffer[i]); buffer 342 drivers/rapidio/devices/rio_mport_cdev.c offset, buffer[i]); buffer 350 drivers/rapidio/devices/rio_mport_cdev.c vfree(buffer); buffer 1668 drivers/rapidio/devices/tsi721.c void *buffer, size_t len) buffer 1684 drivers/rapidio/devices/tsi721.c memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len); buffer 141 drivers/rapidio/rio_cm.c void *buffer; buffer 227 drivers/rapidio/rio_cm.c void *buffer, size_t len); buffer 677 drivers/rapidio/rio_cm.c cm->tx_buf[cm->tx_slot] = req->buffer; buffer 679 drivers/rapidio/rio_cm.c req->buffer, req->len); buffer 680 drivers/rapidio/rio_cm.c kfree(req->buffer); buffer 704 drivers/rapidio/rio_cm.c void *buffer, size_t len) buffer 714 drivers/rapidio/rio_cm.c treq->buffer = buffer; buffer 734 drivers/rapidio/rio_cm.c void *buffer, size_t len) buffer 752 drivers/rapidio/rio_cm.c cm->tx_buf[cm->tx_slot] = buffer; buffer 753 drivers/rapidio/rio_cm.c rc = rio_add_outb_message(cm->mport, rdev, cmbox, buffer, len); buffer 756 drivers/rapidio/rio_cm.c buffer, rdev->destid, cm->tx_slot, cm->tx_cnt); buffer 78 drivers/rtc/rtc-bq32k.c uint8_t buffer[MAX_LEN + 1]; buffer 80 drivers/rtc/rtc-bq32k.c buffer[0] = off; buffer 81 drivers/rtc/rtc-bq32k.c memcpy(&buffer[1], data, len); buffer 83 drivers/rtc/rtc-bq32k.c if (i2c_master_send(client, buffer, len + 1) == len + 1) buffer 69 drivers/rtc/rtc-pcf8523.c u8 buffer[2] = { reg, value }; buffer 75 drivers/rtc/rtc-pcf8523.c msg.len = sizeof(buffer); buffer 76 drivers/rtc/rtc-pcf8523.c msg.buf = buffer; buffer 949 drivers/s390/block/dasd.c char *buffer; buffer 951 drivers/s390/block/dasd.c buffer = vmalloc(user_len + 1); buffer 952 drivers/s390/block/dasd.c if (buffer == NULL) buffer 954 drivers/s390/block/dasd.c if (copy_from_user(buffer, user_buf, user_len) != 0) { buffer 955 drivers/s390/block/dasd.c vfree(buffer); buffer 959 drivers/s390/block/dasd.c if (buffer[user_len - 1] == '\n') buffer 960 drivers/s390/block/dasd.c buffer[user_len - 1] = 0; buffer 962 drivers/s390/block/dasd.c buffer[user_len] = 0; buffer 963 drivers/s390/block/dasd.c return buffer; buffer 970 drivers/s390/block/dasd.c char *buffer, *str; buffer 977 drivers/s390/block/dasd.c buffer = dasd_get_user_string(user_buf, user_len); buffer 978 drivers/s390/block/dasd.c if (IS_ERR(buffer)) buffer 979 drivers/s390/block/dasd.c return PTR_ERR(buffer); buffer 981 drivers/s390/block/dasd.c str = skip_spaces(buffer); buffer 1001 drivers/s390/block/dasd.c vfree(buffer); buffer 406 drivers/s390/block/dasd_diag.c bio.buffer = label; buffer 554 drivers/s390/block/dasd_diag.c dbio->buffer = dst; buffer 53 drivers/s390/block/dasd_diag.h void *buffer; buffer 88 drivers/s390/block/dasd_eer.c char **buffer; buffer 143 drivers/s390/block/dasd_eer.c memcpy(eerb->buffer[headindex]+localhead, nextdata, len); buffer 170 drivers/s390/block/dasd_eer.c memcpy(nextdata, eerb->buffer[tailindex] + localtail, len); buffer 565 drivers/s390/block/dasd_eer.c eerb->buffer = kmalloc_array(eerb->buffer_page_count, sizeof(char *), buffer 567 drivers/s390/block/dasd_eer.c if (!eerb->buffer) { buffer 571 drivers/s390/block/dasd_eer.c if (dasd_eer_allocate_buffer_pages(eerb->buffer, buffer 573 drivers/s390/block/dasd_eer.c kfree(eerb->buffer); buffer 594 drivers/s390/block/dasd_eer.c dasd_eer_free_buffer_pages(eerb->buffer, eerb->buffer_page_count); buffer 595 drivers/s390/block/dasd_eer.c kfree(eerb->buffer); buffer 263 drivers/s390/block/dasd_proc.c char *buffer, *str; buffer 268 drivers/s390/block/dasd_proc.c buffer = dasd_get_user_string(user_buf, user_len); buffer 269 drivers/s390/block/dasd_proc.c if (IS_ERR(buffer)) buffer 270 drivers/s390/block/dasd_proc.c return PTR_ERR(buffer); buffer 273 drivers/s390/block/dasd_proc.c str = skip_spaces(buffer); buffer 309 drivers/s390/block/dasd_proc.c vfree(buffer); buffer 315 drivers/s390/block/dasd_proc.c vfree(buffer); buffer 81 drivers/s390/char/con3215.c char *buffer; /* pointer to output buffer */ buffer 202 drivers/s390/char/con3215.c if (raw->buffer[ix] == 0x15) buffer 222 drivers/s390/char/con3215.c (__u32) __pa(raw->buffer + ix); buffer 477 drivers/s390/char/con3215.c ch = raw->buffer[ix]; buffer 543 drivers/s390/char/con3215.c memcpy(raw->buffer + raw->head, str, c); buffer 544 drivers/s390/char/con3215.c ASCEBC(raw->buffer + raw->head, c); buffer 583 drivers/s390/char/con3215.c raw->buffer[raw->head] = (char) _ascebc[(int) ch]; buffer 665 drivers/s390/char/con3215.c info->buffer = kzalloc(RAW3215_BUFFER_SIZE, GFP_KERNEL | GFP_DMA); buffer 667 drivers/s390/char/con3215.c if (!info->buffer || !info->inbuf) { buffer 669 drivers/s390/char/con3215.c kfree(info->buffer); buffer 685 drivers/s390/char/con3215.c kfree(raw->buffer); buffer 59 drivers/s390/char/monwriter.c static int monwrite_diag(struct monwrite_hdr *myhdr, char *buffer, int fcn) buffer 77 drivers/s390/char/monwriter.c (void *) buffer, myhdr->datalen); buffer 148 drivers/s390/char/raw3270.c rq->buffer = kmalloc(size, GFP_KERNEL | GFP_DMA); buffer 149 drivers/s390/char/raw3270.c if (!rq->buffer) { buffer 160 drivers/s390/char/raw3270.c rq->ccw.cda = __pa(rq->buffer); buffer 172 drivers/s390/char/raw3270.c kfree(rq->buffer); buffer 185 drivers/s390/char/raw3270.c rq->ccw.cda = __pa(rq->buffer); buffer 208 drivers/s390/char/raw3270.c memcpy(rq->buffer + rq->ccw.count, data, size); buffer 102 drivers/s390/char/raw3270.h void *buffer; /* output buffer. */ buffer 48 drivers/s390/char/sclp_con.c sclp_conbuf_callback(struct sclp_buffer *buffer, int rc) buffer 54 drivers/s390/char/sclp_con.c page = sclp_unmake_buffer(buffer); buffer 58 drivers/s390/char/sclp_con.c list_del(&buffer->list); buffer 62 drivers/s390/char/sclp_con.c buffer = NULL; buffer 64 drivers/s390/char/sclp_con.c buffer = list_first_entry(&sclp_con_outqueue, buffer 66 drivers/s390/char/sclp_con.c if (!buffer || sclp_con_suspended) { buffer 72 drivers/s390/char/sclp_con.c } while (sclp_emit_buffer(buffer, sclp_conbuf_callback)); buffer 80 drivers/s390/char/sclp_con.c struct sclp_buffer* buffer; buffer 92 drivers/s390/char/sclp_con.c buffer = list_first_entry(&sclp_con_outqueue, struct sclp_buffer, buffer 97 drivers/s390/char/sclp_con.c rc = sclp_emit_buffer(buffer, sclp_conbuf_callback); buffer 99 drivers/s390/char/sclp_con.c sclp_conbuf_callback(buffer, rc); buffer 140 drivers/s390/char/sclp_con.c struct sclp_buffer *buffer; buffer 152 drivers/s390/char/sclp_con.c buffer = list_entry(list, struct sclp_buffer, list); buffer 153 drivers/s390/char/sclp_con.c page = sclp_unmake_buffer(buffer); buffer 50 drivers/s390/char/sclp_rw.c struct sclp_buffer *buffer; buffer 58 drivers/s390/char/sclp_rw.c buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; buffer 59 drivers/s390/char/sclp_rw.c buffer->sccb = sccb; buffer 60 drivers/s390/char/sclp_rw.c buffer->retry_count = 0; buffer 61 drivers/s390/char/sclp_rw.c buffer->messages = 0; buffer 62 drivers/s390/char/sclp_rw.c buffer->char_sum = 0; buffer 63 drivers/s390/char/sclp_rw.c buffer->current_line = NULL; buffer 64 drivers/s390/char/sclp_rw.c buffer->current_length = 0; buffer 65 drivers/s390/char/sclp_rw.c buffer->columns = columns; buffer 66 drivers/s390/char/sclp_rw.c buffer->htab = htab; buffer 72 drivers/s390/char/sclp_rw.c return buffer; buffer 80 drivers/s390/char/sclp_rw.c sclp_unmake_buffer(struct sclp_buffer *buffer) buffer 82 drivers/s390/char/sclp_rw.c return buffer->sccb; buffer 90 drivers/s390/char/sclp_rw.c sclp_initialize_mto(struct sclp_buffer *buffer, int max_len) buffer 103 drivers/s390/char/sclp_rw.c sccb = buffer->sccb; buffer 128 drivers/s390/char/sclp_rw.c buffer->current_msg = msg; buffer 129 drivers/s390/char/sclp_rw.c buffer->current_line = (char *) (mto + 1); buffer 130 drivers/s390/char/sclp_rw.c buffer->current_length = 0; buffer 140 drivers/s390/char/sclp_rw.c sclp_finalize_mto(struct sclp_buffer *buffer) buffer 149 drivers/s390/char/sclp_rw.c sccb = buffer->sccb; buffer 150 drivers/s390/char/sclp_rw.c msg = buffer->current_msg; buffer 151 drivers/s390/char/sclp_rw.c msg->header.length += buffer->current_length; buffer 152 drivers/s390/char/sclp_rw.c msg->mdb.header.length += buffer->current_length; buffer 153 drivers/s390/char/sclp_rw.c msg->mdb.mto.length += buffer->current_length; buffer 161 drivers/s390/char/sclp_rw.c buffer->messages++; buffer 162 drivers/s390/char/sclp_rw.c buffer->char_sum += buffer->current_length; buffer 164 drivers/s390/char/sclp_rw.c buffer->current_line = NULL; buffer 165 drivers/s390/char/sclp_rw.c buffer->current_length = 0; buffer 166 drivers/s390/char/sclp_rw.c buffer->current_msg = NULL; buffer 177 drivers/s390/char/sclp_rw.c sclp_write(struct sclp_buffer *buffer, const unsigned char *msg, int count) buffer 209 drivers/s390/char/sclp_rw.c if (buffer->current_line == NULL) { buffer 210 drivers/s390/char/sclp_rw.c rc = sclp_initialize_mto(buffer, 0); buffer 214 drivers/s390/char/sclp_rw.c sclp_finalize_mto(buffer); buffer 218 drivers/s390/char/sclp_rw.c if (buffer->current_line == NULL) { buffer 219 drivers/s390/char/sclp_rw.c rc = sclp_initialize_mto(buffer, buffer 220 drivers/s390/char/sclp_rw.c buffer->columns); buffer 224 drivers/s390/char/sclp_rw.c buffer->current_msg->mdb.go.general_msg_flags |= buffer 229 drivers/s390/char/sclp_rw.c if (buffer->current_line == NULL) { buffer 230 drivers/s390/char/sclp_rw.c rc = sclp_initialize_mto(buffer, buffer 231 drivers/s390/char/sclp_rw.c buffer->columns); buffer 237 drivers/s390/char/sclp_rw.c if (buffer->current_length >= buffer->columns) buffer 240 drivers/s390/char/sclp_rw.c *buffer->current_line++ = 0x40; buffer 241 drivers/s390/char/sclp_rw.c buffer->current_length++; buffer 242 drivers/s390/char/sclp_rw.c } while (buffer->current_length % buffer->htab); buffer 248 drivers/s390/char/sclp_rw.c if (buffer->current_line != NULL) { buffer 249 drivers/s390/char/sclp_rw.c spaces = buffer->current_length; buffer 250 drivers/s390/char/sclp_rw.c sclp_finalize_mto(buffer); buffer 251 drivers/s390/char/sclp_rw.c rc = sclp_initialize_mto(buffer, buffer 252 drivers/s390/char/sclp_rw.c buffer->columns); buffer 255 drivers/s390/char/sclp_rw.c memset(buffer->current_line, 0x40, spaces); buffer 256 drivers/s390/char/sclp_rw.c buffer->current_line += spaces; buffer 257 drivers/s390/char/sclp_rw.c buffer->current_length = spaces; buffer 260 drivers/s390/char/sclp_rw.c rc = sclp_initialize_mto(buffer, buffer 261 drivers/s390/char/sclp_rw.c buffer->columns); buffer 264 drivers/s390/char/sclp_rw.c sclp_finalize_mto(buffer); buffer 271 drivers/s390/char/sclp_rw.c if (buffer->current_line != NULL && buffer 272 drivers/s390/char/sclp_rw.c buffer->current_length > 0) { buffer 273 drivers/s390/char/sclp_rw.c buffer->current_length--; buffer 274 drivers/s390/char/sclp_rw.c buffer->current_line--; buffer 279 drivers/s390/char/sclp_rw.c if (buffer->current_line != NULL) buffer 280 drivers/s390/char/sclp_rw.c sclp_finalize_mto(buffer); buffer 289 drivers/s390/char/sclp_rw.c if (buffer->current_line == NULL) { buffer 290 drivers/s390/char/sclp_rw.c rc = sclp_initialize_mto(buffer, buffer 291 drivers/s390/char/sclp_rw.c buffer->columns); buffer 295 drivers/s390/char/sclp_rw.c *buffer->current_line++ = sclp_ascebc(msg[i_msg]); buffer 296 drivers/s390/char/sclp_rw.c buffer->current_length++; buffer 300 drivers/s390/char/sclp_rw.c if (buffer->current_line != NULL && buffer 301 drivers/s390/char/sclp_rw.c buffer->current_length >= buffer->columns) buffer 302 drivers/s390/char/sclp_rw.c sclp_finalize_mto(buffer); buffer 313 drivers/s390/char/sclp_rw.c sclp_buffer_space(struct sclp_buffer *buffer) buffer 318 drivers/s390/char/sclp_rw.c sccb = buffer->sccb; buffer 320 drivers/s390/char/sclp_rw.c if (buffer->current_line != NULL) buffer 321 drivers/s390/char/sclp_rw.c count -= sizeof(struct msg_buf) + buffer->current_length; buffer 329 drivers/s390/char/sclp_rw.c sclp_chars_in_buffer(struct sclp_buffer *buffer) buffer 333 drivers/s390/char/sclp_rw.c count = buffer->char_sum; buffer 334 drivers/s390/char/sclp_rw.c if (buffer->current_line != NULL) buffer 335 drivers/s390/char/sclp_rw.c count += buffer->current_length; buffer 343 drivers/s390/char/sclp_rw.c sclp_set_columns(struct sclp_buffer *buffer, unsigned short columns) buffer 345 drivers/s390/char/sclp_rw.c buffer->columns = columns; buffer 346 drivers/s390/char/sclp_rw.c if (buffer->current_line != NULL && buffer 347 drivers/s390/char/sclp_rw.c buffer->current_length > buffer->columns) buffer 348 drivers/s390/char/sclp_rw.c sclp_finalize_mto(buffer); buffer 352 drivers/s390/char/sclp_rw.c sclp_set_htab(struct sclp_buffer *buffer, unsigned short htab) buffer 354 drivers/s390/char/sclp_rw.c buffer->htab = htab; buffer 385 drivers/s390/char/sclp_rw.c struct sclp_buffer *buffer; buffer 388 drivers/s390/char/sclp_rw.c buffer = (struct sclp_buffer *) data; buffer 389 drivers/s390/char/sclp_rw.c sccb = buffer->sccb; buffer 392 drivers/s390/char/sclp_rw.c if (buffer->callback != NULL) buffer 393 drivers/s390/char/sclp_rw.c buffer->callback(buffer, -EIO); buffer 404 drivers/s390/char/sclp_rw.c if (++buffer->retry_count > SCLP_BUFFER_MAX_RETRY) { buffer 412 drivers/s390/char/sclp_rw.c buffer->request.status = SCLP_REQ_FILLED; buffer 422 drivers/s390/char/sclp_rw.c if (++buffer->retry_count > SCLP_BUFFER_MAX_RETRY) { buffer 428 drivers/s390/char/sclp_rw.c buffer->request.status = SCLP_REQ_FILLED; buffer 440 drivers/s390/char/sclp_rw.c if (buffer->callback != NULL) buffer 441 drivers/s390/char/sclp_rw.c buffer->callback(buffer, rc); buffer 450 drivers/s390/char/sclp_rw.c sclp_emit_buffer(struct sclp_buffer *buffer, buffer 454 drivers/s390/char/sclp_rw.c if (buffer->current_line != NULL) buffer 455 drivers/s390/char/sclp_rw.c sclp_finalize_mto(buffer); buffer 458 drivers/s390/char/sclp_rw.c if (buffer->messages == 0) buffer 461 drivers/s390/char/sclp_rw.c buffer->request.command = SCLP_CMDW_WRITE_EVENT_DATA; buffer 462 drivers/s390/char/sclp_rw.c buffer->request.status = SCLP_REQ_FILLED; buffer 463 drivers/s390/char/sclp_rw.c buffer->request.callback = sclp_writedata_callback; buffer 464 drivers/s390/char/sclp_rw.c buffer->request.callback_data = buffer; buffer 465 drivers/s390/char/sclp_rw.c buffer->request.sccb = buffer->sccb; buffer 466 drivers/s390/char/sclp_rw.c buffer->callback = callback; buffer 467 drivers/s390/char/sclp_rw.c return sclp_add_request(&buffer->request); buffer 87 drivers/s390/char/sclp_rw.h int sclp_write(struct sclp_buffer *buffer, const unsigned char *, int); buffer 455 drivers/s390/char/sclp_sd.c struct bin_attribute *attr, char *buffer, buffer 471 drivers/s390/char/sclp_sd.c memcpy(buffer, data + off, size); buffer 108 drivers/s390/char/sclp_tty.c sclp_ttybuf_callback(struct sclp_buffer *buffer, int rc) buffer 114 drivers/s390/char/sclp_tty.c page = sclp_unmake_buffer(buffer); buffer 117 drivers/s390/char/sclp_tty.c list_del(&buffer->list); buffer 121 drivers/s390/char/sclp_tty.c buffer = NULL; buffer 123 drivers/s390/char/sclp_tty.c buffer = list_entry(sclp_tty_outqueue.next, buffer 126 drivers/s390/char/sclp_tty.c } while (buffer && sclp_emit_buffer(buffer, sclp_ttybuf_callback)); buffer 132 drivers/s390/char/sclp_tty.c __sclp_ttybuf_emit(struct sclp_buffer *buffer) buffer 139 drivers/s390/char/sclp_tty.c list_add_tail(&buffer->list, &sclp_tty_outqueue); buffer 144 drivers/s390/char/sclp_tty.c rc = sclp_emit_buffer(buffer, sclp_ttybuf_callback); buffer 146 drivers/s390/char/sclp_tty.c sclp_ttybuf_callback(buffer, rc); buffer 314 drivers/s390/char/sclp_vt220.c void *buffer; buffer 325 drivers/s390/char/sclp_vt220.c buffer = (void *) ((addr_t) sccb + sccb->header.length); buffer 337 drivers/s390/char/sclp_vt220.c ((unsigned char *) buffer)[to++] = c; buffer 338 drivers/s390/char/sclp_vt220.c ((unsigned char *) buffer)[to++] = 0x0d; buffer 343 drivers/s390/char/sclp_vt220.c ((unsigned char *) buffer)[to++] = c; buffer 349 drivers/s390/char/sclp_vt220.c memcpy(buffer, (const void *) msg, count); buffer 491 drivers/s390/char/sclp_vt220.c static void sclp_vt220_handle_input(const char *buffer, unsigned int count) buffer 497 drivers/s390/char/sclp_vt220.c if (buffer[i] == ('O' ^ 0100)) { /* CTRL-O */ buffer 506 drivers/s390/char/sclp_vt220.c sysrq.key = buffer[i]; buffer 511 drivers/s390/char/sclp_vt220.c tty_insert_flip_char(&sclp_vt220_port, buffer[i], 0); buffer 521 drivers/s390/char/sclp_vt220.c static void sclp_vt220_handle_input(const char *buffer, unsigned int count) buffer 523 drivers/s390/char/sclp_vt220.c tty_insert_flip_string(&sclp_vt220_port, buffer, count); buffer 534 drivers/s390/char/sclp_vt220.c char *buffer; buffer 537 drivers/s390/char/sclp_vt220.c buffer = (char *) ((addr_t) evbuf + sizeof(struct evbuf_header)); buffer 540 drivers/s390/char/sclp_vt220.c switch (*buffer) { buffer 547 drivers/s390/char/sclp_vt220.c buffer++; buffer 549 drivers/s390/char/sclp_vt220.c sclp_vt220_handle_input(buffer, count); buffer 72 drivers/s390/char/vmlogrdr.c char * buffer; buffer 415 drivers/s390/char/vmlogrdr.c char * buffer; buffer 423 drivers/s390/char/vmlogrdr.c buffer = priv->buffer; buffer 431 drivers/s390/char/vmlogrdr.c temp = (int*)priv->buffer; buffer 433 drivers/s390/char/vmlogrdr.c buffer = priv->buffer + sizeof(int); buffer 443 drivers/s390/char/vmlogrdr.c 0, buffer, iucv_data_count, buffer 460 drivers/s390/char/vmlogrdr.c priv->current_position = priv->buffer; buffer 465 drivers/s390/char/vmlogrdr.c buffer = priv->buffer + user_data_count; buffer 466 drivers/s390/char/vmlogrdr.c memcpy(buffer, FENCE, sizeof(FENCE)); buffer 837 drivers/s390/char/vmlogrdr.c free_page((unsigned long)sys_ser[i].buffer); buffer 870 drivers/s390/char/vmlogrdr.c sys_ser[i].buffer = (char *) get_zeroed_page(GFP_KERNEL | GFP_DMA); buffer 871 drivers/s390/char/vmlogrdr.c if (!sys_ser[i].buffer) { buffer 875 drivers/s390/char/vmlogrdr.c sys_ser[i].current_position = sys_ser[i].buffer; buffer 687 drivers/s390/cio/device_pgid.c u8 *buffer; buffer 695 drivers/s390/cio/device_pgid.c buffer = kzalloc(64, GFP_DMA | GFP_KERNEL); buffer 696 drivers/s390/cio/device_pgid.c if (!buffer) buffer 706 drivers/s390/cio/device_pgid.c ccw_device_stlck_start(cdev, &data, &buffer[0], &buffer[32]); buffer 723 drivers/s390/cio/device_pgid.c kfree(buffer); buffer 178 drivers/s390/cio/itcw.c struct itcw *itcw_init(void *buffer, size_t size, int op, int intrg, buffer 188 drivers/s390/cio/itcw.c start = (addr_t) buffer; buffer 192 drivers/s390/cio/itcw.c memset(buffer, 0, size); buffer 1029 drivers/s390/crypto/zcrypt_api.c static long zcrypt_rng(char *buffer) buffer 1040 drivers/s390/crypto/zcrypt_api.c trace_s390_zcrypt_req(buffer, TP_HWRNGCPRB); buffer 1079 drivers/s390/crypto/zcrypt_api.c rc = pref_zq->ops->rng(pref_zq, buffer, &ap_msg); buffer 1087 drivers/s390/crypto/zcrypt_api.c trace_s390_zcrypt_rep(buffer, func_code, rc, buffer 763 drivers/s390/crypto/zcrypt_msgtype6.c char *buffer) buffer 774 drivers/s390/crypto/zcrypt_msgtype6.c memcpy(buffer, data + msg->fmt2.offset2, msg->fmt2.count2); buffer 1283 drivers/s390/crypto/zcrypt_msgtype6.c char *buffer, struct ap_message *ap_msg) buffer 1305 drivers/s390/crypto/zcrypt_msgtype6.c rc = convert_response_rng(zq, ap_msg, buffer); buffer 190 drivers/s390/net/ctcm_sysfs.c static DEVICE_ATTR(buffer, 0644, ctcm_buffer_show, ctcm_buffer_write); buffer 603 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 608 drivers/s390/net/lcs.c buffer = __lcs_get_buffer(channel); buffer 610 drivers/s390/net/lcs.c return buffer; buffer 661 drivers/s390/net/lcs.c lcs_ready_buffer(struct lcs_channel *channel, struct lcs_buffer *buffer) buffer 667 drivers/s390/net/lcs.c BUG_ON(buffer->state != LCS_BUF_STATE_LOCKED && buffer 668 drivers/s390/net/lcs.c buffer->state != LCS_BUF_STATE_PROCESSED); buffer 670 drivers/s390/net/lcs.c buffer->state = LCS_BUF_STATE_READY; buffer 671 drivers/s390/net/lcs.c index = buffer - channel->iob; buffer 673 drivers/s390/net/lcs.c channel->ccws[index].count = buffer->count; buffer 687 drivers/s390/net/lcs.c __lcs_processed_buffer(struct lcs_channel *channel, struct lcs_buffer *buffer) buffer 692 drivers/s390/net/lcs.c BUG_ON(buffer->state != LCS_BUF_STATE_READY); buffer 693 drivers/s390/net/lcs.c buffer->state = LCS_BUF_STATE_PROCESSED; buffer 694 drivers/s390/net/lcs.c index = buffer - channel->iob; buffer 719 drivers/s390/net/lcs.c lcs_release_buffer(struct lcs_channel *channel, struct lcs_buffer *buffer) buffer 724 drivers/s390/net/lcs.c BUG_ON(buffer->state != LCS_BUF_STATE_LOCKED && buffer 725 drivers/s390/net/lcs.c buffer->state != LCS_BUF_STATE_PROCESSED); buffer 727 drivers/s390/net/lcs.c buffer->state = LCS_BUF_STATE_EMPTY; buffer 737 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 743 drivers/s390/net/lcs.c ((buffer = lcs_get_buffer(&card->write)) != NULL)); buffer 745 drivers/s390/net/lcs.c *(__u16 *)(buffer->data + count) = 0; buffer 746 drivers/s390/net/lcs.c buffer->count = count + sizeof(__u16); buffer 747 drivers/s390/net/lcs.c buffer->callback = lcs_release_buffer; buffer 748 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 752 drivers/s390/net/lcs.c return buffer; buffer 845 drivers/s390/net/lcs.c lcs_send_lancmd(struct lcs_card *card, struct lcs_buffer *buffer, buffer 854 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 866 drivers/s390/net/lcs.c buffer->callback = lcs_release_buffer; buffer 867 drivers/s390/net/lcs.c rc = lcs_ready_buffer(&card->write, buffer); buffer 886 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 890 drivers/s390/net/lcs.c buffer = lcs_get_lancmd(card, LCS_STD_CMD_SIZE); buffer 891 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 895 drivers/s390/net/lcs.c return lcs_send_lancmd(card, buffer, NULL); buffer 904 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 908 drivers/s390/net/lcs.c buffer = lcs_get_lancmd(card, LCS_STD_CMD_SIZE); buffer 909 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 912 drivers/s390/net/lcs.c return lcs_send_lancmd(card, buffer, NULL); buffer 928 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 932 drivers/s390/net/lcs.c buffer = lcs_get_lancmd(card, LCS_STD_CMD_SIZE); buffer 933 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 939 drivers/s390/net/lcs.c return lcs_send_lancmd(card, buffer, __lcs_lanstat_cb); buffer 948 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 952 drivers/s390/net/lcs.c buffer = lcs_get_lancmd(card, LCS_STD_CMD_SIZE); buffer 953 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 958 drivers/s390/net/lcs.c return lcs_send_lancmd(card, buffer, NULL); buffer 975 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 979 drivers/s390/net/lcs.c buffer = lcs_get_lancmd(card, LCS_STD_CMD_SIZE); buffer 980 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 985 drivers/s390/net/lcs.c return lcs_send_lancmd(card, buffer, __lcs_send_startlan_cb); buffer 995 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 999 drivers/s390/net/lcs.c buffer = lcs_get_lancmd(card, LCS_MULTICAST_CMD_SIZE); buffer 1000 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 1010 drivers/s390/net/lcs.c return lcs_send_lancmd(card, buffer, NULL); buffer 1019 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 1023 drivers/s390/net/lcs.c buffer = lcs_get_lancmd(card, LCS_MULTICAST_CMD_SIZE); buffer 1024 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 1034 drivers/s390/net/lcs.c return lcs_send_lancmd(card, buffer, NULL); buffer 1053 drivers/s390/net/lcs.c struct lcs_buffer *buffer; buffer 1059 drivers/s390/net/lcs.c buffer = lcs_get_lancmd(card, LCS_STD_CMD_SIZE); buffer 1060 drivers/s390/net/lcs.c cmd = (struct lcs_cmd *) buffer->data; buffer 1067 drivers/s390/net/lcs.c rc = lcs_send_lancmd(card, buffer, __lcs_check_multicast_cb); buffer 1497 drivers/s390/net/lcs.c lcs_txbuffer_cb(struct lcs_channel *channel, struct lcs_buffer *buffer) buffer 1503 drivers/s390/net/lcs.c lcs_release_buffer(channel, buffer); buffer 1786 drivers/s390/net/lcs.c lcs_get_frames_cb(struct lcs_channel *channel, struct lcs_buffer *buffer) buffer 1793 drivers/s390/net/lcs.c lcs_hdr = (struct lcs_header *) buffer->data; buffer 1826 drivers/s390/net/lcs.c lcs_hdr = (struct lcs_header *) (buffer->data + offset); buffer 1829 drivers/s390/net/lcs.c lcs_ready_buffer(&card->read, buffer); buffer 1571 drivers/s390/net/netiucv.c static DEVICE_ATTR(buffer, 0644, buffer_show, buffer_write); buffer 422 drivers/s390/net/qeth_core.h struct qdio_buffer *buffer; buffer 448 drivers/s390/net/qeth_core.h struct qdio_buffer *buffer; buffer 285 drivers/s390/net/qeth_core_main.c q->bufs[i].buffer = q->qdio_bufs[i]; buffer 441 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_buffer *buffer; buffer 448 drivers/s390/net/qeth_core_main.c buffer = (struct qeth_qdio_out_buffer *) aob->user1; buffer 451 drivers/s390/net/qeth_core_main.c if (atomic_cmpxchg(&buffer->state, QETH_QDIO_BUF_PRIMED, buffer 455 drivers/s390/net/qeth_core_main.c WARN_ON_ONCE(atomic_read(&buffer->state) != buffer 457 drivers/s390/net/qeth_core_main.c atomic_set(&buffer->state, QETH_QDIO_BUF_IN_CQ); buffer 465 drivers/s390/net/qeth_core_main.c qeth_notify_skbs(buffer->q, buffer, notification); buffer 473 drivers/s390/net/qeth_core_main.c if (aob->sba[i] && buffer->is_header[i]) buffer 477 drivers/s390/net/qeth_core_main.c atomic_set(&buffer->state, QETH_QDIO_BUF_HANDLED_DELAYED); buffer 655 drivers/s390/net/qeth_core_main.c unsigned char *buffer) buffer 657 drivers/s390/net/qeth_core_main.c QETH_DBF_HEX(CTRL, 2, buffer, QETH_DBF_CTRL_LEN); buffer 658 drivers/s390/net/qeth_core_main.c if ((buffer[2] & QETH_IDX_TERMINATE_MASK) == QETH_IDX_TERMINATE) { buffer 660 drivers/s390/net/qeth_core_main.c buffer[4]); buffer 663 drivers/s390/net/qeth_core_main.c QETH_CARD_TEXT_(card, 2, "rc%x", buffer[4]); buffer 664 drivers/s390/net/qeth_core_main.c if (buffer[4] == QETH_IDX_TERM_BAD_TRANSPORT || buffer 665 drivers/s390/net/qeth_core_main.c buffer[4] == QETH_IDX_TERM_BAD_TRANSPORT_VM) { buffer 1141 drivers/s390/net/qeth_core_main.c if (buf->buffer->element[0].sflags & SBAL_SFLAGS0_PCI_REQ) buffer 1147 drivers/s390/net/qeth_core_main.c if (buf->buffer->element[i].addr && buf->is_header[i]) buffer 1149 drivers/s390/net/qeth_core_main.c buf->buffer->element[i].addr); buffer 1153 drivers/s390/net/qeth_core_main.c qeth_scrub_qdio_buffer(buf->buffer, queue->max_elements); buffer 2286 drivers/s390/net/qeth_core_main.c newbuf->buffer = q->qdio_bufs[bidx]; buffer 2652 drivers/s390/net/qeth_core_main.c buf->buffer->element[i].length = PAGE_SIZE; buffer 2653 drivers/s390/net/qeth_core_main.c buf->buffer->element[i].addr = pool_entry->elements[i]; buffer 2655 drivers/s390/net/qeth_core_main.c buf->buffer->element[i].eflags = SBAL_EFLAGS_LAST_ENTRY; buffer 2657 drivers/s390/net/qeth_core_main.c buf->buffer->element[i].eflags = 0; buffer 2658 drivers/s390/net/qeth_core_main.c buf->buffer->element[i].sflags = 0; buffer 3198 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_buffer *buffer, unsigned int qdio_err) buffer 3200 drivers/s390/net/qeth_core_main.c int sbalf15 = buffer->buffer->element[15].sflags; buffer 3203 drivers/s390/net/qeth_core_main.c qeth_check_qdio_errors(card, buffer->buffer, qdio_err, "qouterr"); buffer 3224 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_buffer *buffer; buffer 3226 drivers/s390/net/qeth_core_main.c buffer = queue->bufs[queue->next_buf_to_fill]; buffer 3227 drivers/s390/net/qeth_core_main.c if ((atomic_read(&buffer->state) == QETH_QDIO_BUF_EMPTY) && buffer 3228 drivers/s390/net/qeth_core_main.c (buffer->next_element_to_fill > 0)) { buffer 3230 drivers/s390/net/qeth_core_main.c atomic_set(&buffer->state, QETH_QDIO_BUF_PRIMED); buffer 3288 drivers/s390/net/qeth_core_main.c buf->buffer->element[buf->next_element_to_fill - 1].eflags |= buffer 3305 drivers/s390/net/qeth_core_main.c buf->buffer->element[0].sflags |= SBAL_SFLAGS0_PCI_REQ; buffer 3318 drivers/s390/net/qeth_core_main.c buf->buffer->element[0].sflags |= SBAL_SFLAGS0_PCI_REQ; buffer 3449 drivers/s390/net/qeth_core_main.c struct qdio_buffer *buffer = cq->qdio_bufs[bidx]; buffer 3453 drivers/s390/net/qeth_core_main.c buffer->element[e].addr) { buffer 3456 drivers/s390/net/qeth_core_main.c phys_aob_addr = (unsigned long) buffer->element[e].addr; buffer 3460 drivers/s390/net/qeth_core_main.c qeth_scrub_qdio_buffer(buffer, QDIO_MAX_ELEMENTS_PER_BUFFER); buffer 3497 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_buffer *buffer; buffer 3512 drivers/s390/net/qeth_core_main.c buffer = queue->bufs[bidx]; buffer 3513 drivers/s390/net/qeth_core_main.c qeth_handle_send_error(card, buffer, qdio_error); buffer 3514 drivers/s390/net/qeth_core_main.c qeth_clear_output_buffer(queue, buffer, qdio_error, 0); buffer 3709 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_buffer *buffer, buffer 3720 drivers/s390/net/qeth_core_main.c struct sk_buff *prev_skb = skb_peek(&buffer->skb_list); buffer 3735 drivers/s390/net/qeth_core_main.c struct qdio_buffer *buffer = buf->buffer; buffer 3746 drivers/s390/net/qeth_core_main.c buffer->element[element].addr = data; buffer 3747 drivers/s390/net/qeth_core_main.c buffer->element[element].length = elem_length; buffer 3753 drivers/s390/net/qeth_core_main.c buffer->element[element].eflags = buffer 3756 drivers/s390/net/qeth_core_main.c buffer->element[element].eflags = 0; buffer 3758 drivers/s390/net/qeth_core_main.c buffer->element[element].eflags = buffer 3776 drivers/s390/net/qeth_core_main.c buffer->element[element].addr = data; buffer 3777 drivers/s390/net/qeth_core_main.c buffer->element[element].length = elem_length; buffer 3778 drivers/s390/net/qeth_core_main.c buffer->element[element].eflags = buffer 3787 drivers/s390/net/qeth_core_main.c if (buffer->element[element - 1].eflags) buffer 3788 drivers/s390/net/qeth_core_main.c buffer->element[element - 1].eflags = SBAL_EFLAGS_LAST_FRAG; buffer 3806 drivers/s390/net/qeth_core_main.c struct qdio_buffer *buffer = buf->buffer; buffer 3816 drivers/s390/net/qeth_core_main.c buffer->element[element].addr = hdr; buffer 3817 drivers/s390/net/qeth_core_main.c buffer->element[element].length = hd_len; buffer 3818 drivers/s390/net/qeth_core_main.c buffer->element[element].eflags = SBAL_EFLAGS_FIRST_FRAG; buffer 3832 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_buffer *buffer = queue->bufs[queue->bulk_start]; buffer 3844 drivers/s390/net/qeth_core_main.c if (atomic_read(&buffer->state) != QETH_QDIO_BUF_EMPTY) buffer 3847 drivers/s390/net/qeth_core_main.c if ((buffer->next_element_to_fill + elements > queue->max_elements) || buffer 3848 drivers/s390/net/qeth_core_main.c !qeth_iqd_may_bulk(queue, buffer, skb, hdr)) { buffer 3849 drivers/s390/net/qeth_core_main.c atomic_set(&buffer->state, QETH_QDIO_BUF_PRIMED); buffer 3851 drivers/s390/net/qeth_core_main.c buffer = queue->bufs[queue->bulk_start]; buffer 3854 drivers/s390/net/qeth_core_main.c if (atomic_read(&buffer->state) != QETH_QDIO_BUF_EMPTY) buffer 3858 drivers/s390/net/qeth_core_main.c if (buffer->next_element_to_fill == 0 && buffer 3868 drivers/s390/net/qeth_core_main.c next_element = qeth_fill_buffer(buffer, skb, hdr, offset, hd_len); buffer 3869 drivers/s390/net/qeth_core_main.c buffer->bytes += bytes; buffer 3876 drivers/s390/net/qeth_core_main.c atomic_set(&buffer->state, QETH_QDIO_BUF_PRIMED); buffer 3890 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_buffer *buffer; buffer 3904 drivers/s390/net/qeth_core_main.c buffer = queue->bufs[queue->next_buf_to_fill]; buffer 3909 drivers/s390/net/qeth_core_main.c if (atomic_read(&buffer->state) != QETH_QDIO_BUF_EMPTY) { buffer 3921 drivers/s390/net/qeth_core_main.c if (buffer->next_element_to_fill + elements_needed > buffer 3924 drivers/s390/net/qeth_core_main.c atomic_set(&buffer->state, QETH_QDIO_BUF_PRIMED); buffer 3929 drivers/s390/net/qeth_core_main.c buffer = queue->bufs[queue->next_buf_to_fill]; buffer 3932 drivers/s390/net/qeth_core_main.c if (atomic_read(&buffer->state) != buffer 3944 drivers/s390/net/qeth_core_main.c if (buffer->next_element_to_fill == 0 && buffer 3954 drivers/s390/net/qeth_core_main.c next_element = qeth_fill_buffer(buffer, skb, hdr, offset, hd_len); buffer 3960 drivers/s390/net/qeth_core_main.c atomic_set(&buffer->state, QETH_QDIO_BUF_PRIMED); buffer 4492 drivers/s390/net/qeth_core_main.c memcpy((priv->buffer + priv->response_len), resdata, buffer 4527 drivers/s390/net/qeth_core_main.c priv.buffer = vzalloc(oat_data.buffer_len); buffer 4528 drivers/s390/net/qeth_core_main.c if (!priv.buffer) { buffer 4551 drivers/s390/net/qeth_core_main.c if (copy_to_user(tmp, priv.buffer, buffer 4565 drivers/s390/net/qeth_core_main.c vfree(priv.buffer); buffer 4726 drivers/s390/net/qeth_core_main.c card->qdio.c_q->bufs[i].buffer; buffer 4762 drivers/s390/net/qeth_core_main.c in_sbal_ptrs[i] = card->qdio.in_q->bufs[i].buffer; buffer 4787 drivers/s390/net/qeth_core_main.c card->qdio.out_qs[i]->bufs[j]->buffer; buffer 5047 drivers/s390/net/qeth_core_main.c struct qdio_buffer *buffer = qethbuffer->buffer; buffer 5119 drivers/s390/net/qeth_core_main.c QETH_CARD_HEX(card, 2, buffer, sizeof(void *)); buffer 5152 drivers/s390/net/qeth_core_main.c struct qeth_qdio_buffer *buffer; buffer 5168 drivers/s390/net/qeth_core_main.c .buffer->element[0]; buffer 5173 drivers/s390/net/qeth_core_main.c buffer = &card->qdio.in_q->bufs[card->rx.b_index]; buffer 5175 drivers/s390/net/qeth_core_main.c qeth_check_qdio_errors(card, buffer->buffer, buffer 5186 drivers/s390/net/qeth_core_main.c buffer->pool_entry); buffer 5196 drivers/s390/net/qeth_core_main.c .buffer->element[0]; buffer 5219 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_buffer *buffer = queue->bufs[bidx]; buffer 5220 drivers/s390/net/qeth_core_main.c u8 sflags = buffer->buffer->element[15].sflags; buffer 5227 drivers/s390/net/qeth_core_main.c if (atomic_cmpxchg(&buffer->state, QETH_QDIO_BUF_PRIMED, buffer 5230 drivers/s390/net/qeth_core_main.c qeth_notify_skbs(queue, buffer, TX_NOTIFY_PENDING); buffer 5235 drivers/s390/net/qeth_core_main.c qeth_scrub_qdio_buffer(buffer->buffer, queue->max_elements); buffer 5245 drivers/s390/net/qeth_core_main.c qeth_notify_skbs(queue, buffer, buffer 5247 drivers/s390/net/qeth_core_main.c qeth_clear_output_buffer(queue, buffer, error, budget); buffer 5290 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_buffer *buffer; buffer 5293 drivers/s390/net/qeth_core_main.c buffer = queue->bufs[bidx]; buffer 5294 drivers/s390/net/qeth_core_main.c packets += skb_queue_len(&buffer->skb_list); buffer 5295 drivers/s390/net/qeth_core_main.c bytes += buffer->bytes; buffer 5297 drivers/s390/net/qeth_core_main.c qeth_handle_send_error(card, buffer, error); buffer 16 drivers/s390/net/qeth_core_mpc.h #define QETH_IPA_PDU_LEN_TOTAL(buffer) (buffer + 0x0e) buffer 17 drivers/s390/net/qeth_core_mpc.h #define QETH_IPA_PDU_LEN_PDU1(buffer) (buffer + 0x26) buffer 18 drivers/s390/net/qeth_core_mpc.h #define QETH_IPA_PDU_LEN_PDU2(buffer) (buffer + 0x29) buffer 19 drivers/s390/net/qeth_core_mpc.h #define QETH_IPA_PDU_LEN_PDU3(buffer) (buffer + 0x3a) buffer 22 drivers/s390/net/qeth_core_mpc.h #define QETH_IPA_CMD_DEST_ADDR(buffer) (buffer + 0x2c) buffer 484 drivers/s390/net/qeth_core_mpc.h char *buffer; buffer 822 drivers/s390/net/qeth_core_mpc.h #define QETH_CM_ENABLE_ISSUER_RM_TOKEN(buffer) (buffer + 0x2c) buffer 823 drivers/s390/net/qeth_core_mpc.h #define QETH_CM_ENABLE_FILTER_TOKEN(buffer) (buffer + 0x53) buffer 824 drivers/s390/net/qeth_core_mpc.h #define QETH_CM_ENABLE_USER_DATA(buffer) (buffer + 0x5b) buffer 826 drivers/s390/net/qeth_core_mpc.h #define QETH_CM_ENABLE_RESP_FILTER_TOKEN(buffer) \ buffer 827 drivers/s390/net/qeth_core_mpc.h (PDU_ENCAPSULATION(buffer) + 0x13) buffer 832 drivers/s390/net/qeth_core_mpc.h #define QETH_CM_SETUP_DEST_ADDR(buffer) (buffer + 0x2c) buffer 833 drivers/s390/net/qeth_core_mpc.h #define QETH_CM_SETUP_CONNECTION_TOKEN(buffer) (buffer + 0x51) buffer 834 drivers/s390/net/qeth_core_mpc.h #define QETH_CM_SETUP_FILTER_TOKEN(buffer) (buffer + 0x5a) buffer 836 drivers/s390/net/qeth_core_mpc.h #define QETH_CM_SETUP_RESP_DEST_ADDR(buffer) \ buffer 837 drivers/s390/net/qeth_core_mpc.h (PDU_ENCAPSULATION(buffer) + 0x1a) buffer 841 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_ENABLE_LINKNUM(buffer) (buffer + 0x61) buffer 842 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_ENABLE_DEST_ADDR(buffer) (buffer + 0x2c) buffer 843 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_ENABLE_FILTER_TOKEN(buffer) (buffer + 0x53) buffer 844 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_ENABLE_PORTNAME_AND_LL(buffer) (buffer + 0x62) buffer 845 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_ENABLE_RESP_FILTER_TOKEN(buffer) \ buffer 846 drivers/s390/net/qeth_core_mpc.h (PDU_ENCAPSULATION(buffer) + 0x13) buffer 847 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_ENABLE_RESP_MAX_MTU(buffer) \ buffer 848 drivers/s390/net/qeth_core_mpc.h (PDU_ENCAPSULATION(buffer) + 0x1f) buffer 849 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_ENABLE_RESP_DIFINFO_LEN(buffer) \ buffer 850 drivers/s390/net/qeth_core_mpc.h (PDU_ENCAPSULATION(buffer) + 0x17) buffer 851 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_ENABLE_RESP_LINK_TYPE(buffer) \ buffer 852 drivers/s390/net/qeth_core_mpc.h (PDU_ENCAPSULATION(buffer) + 0x2b) buffer 857 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_ENABLE_PROT_TYPE(buffer) (buffer + 0x50) buffer 858 drivers/s390/net/qeth_core_mpc.h #define QETH_IPA_CMD_PROT_TYPE(buffer) (buffer + 0x19) buffer 862 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_SETUP_DEST_ADDR(buffer) (buffer + 0x2c) buffer 863 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_SETUP_CONNECTION_TOKEN(buffer) (buffer + 0x51) buffer 864 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_SETUP_FILTER_TOKEN(buffer) (buffer + 0x5a) buffer 865 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_SETUP_CUA(buffer) (buffer + 0x68) buffer 866 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_SETUP_REAL_DEVADDR(buffer) (buffer + 0x6a) buffer 868 drivers/s390/net/qeth_core_mpc.h #define QETH_ULP_SETUP_RESP_CONNECTION_TOKEN(buffer) \ buffer 869 drivers/s390/net/qeth_core_mpc.h (PDU_ENCAPSULATION(buffer) + 0x1a) buffer 874 drivers/s390/net/qeth_core_mpc.h #define QETH_DM_ACT_DEST_ADDR(buffer) (buffer + 0x2c) buffer 875 drivers/s390/net/qeth_core_mpc.h #define QETH_DM_ACT_CONNECTION_TOKEN(buffer) (buffer + 0x51) buffer 879 drivers/s390/net/qeth_core_mpc.h #define QETH_TRANSPORT_HEADER_SEQ_NO(buffer) (buffer + 4) buffer 880 drivers/s390/net/qeth_core_mpc.h #define QETH_PDU_HEADER_SEQ_NO(buffer) (buffer + 0x1c) buffer 881 drivers/s390/net/qeth_core_mpc.h #define QETH_PDU_HEADER_ACK_SEQ_NO(buffer) (buffer + 0x20) buffer 887 drivers/s390/net/qeth_core_mpc.h #define QETH_IDX_ACT_PNO(buffer) (buffer+0x0b) buffer 888 drivers/s390/net/qeth_core_mpc.h #define QETH_IDX_ACT_ISSUER_RM_TOKEN(buffer) (buffer + 0x0c) buffer 889 drivers/s390/net/qeth_core_mpc.h #define QETH_IDX_NO_PORTNAME_REQUIRED(buffer) ((buffer)[0x0b] & 0x80) buffer 890 drivers/s390/net/qeth_core_mpc.h #define QETH_IDX_ACT_FUNC_LEVEL(buffer) (buffer + 0x10) buffer 891 drivers/s390/net/qeth_core_mpc.h #define QETH_IDX_ACT_DATASET_NAME(buffer) (buffer + 0x16) buffer 892 drivers/s390/net/qeth_core_mpc.h #define QETH_IDX_ACT_QDIO_DEV_CUA(buffer) (buffer + 0x1e) buffer 893 drivers/s390/net/qeth_core_mpc.h #define QETH_IDX_ACT_QDIO_DEV_REALADDR(buffer) (buffer + 0x20) buffer 894 drivers/s390/net/qeth_core_mpc.h #define QETH_IS_IDX_ACT_POS_REPLY(buffer) (((buffer)[0x08] & 3) == 2) buffer 895 drivers/s390/net/qeth_core_mpc.h #define QETH_IDX_REPLY_LEVEL(buffer) (buffer + 0x12) buffer 896 drivers/s390/net/qeth_core_mpc.h #define QETH_IDX_ACT_CAUSE_CODE(buffer) (buffer)[0x09] buffer 906 drivers/s390/net/qeth_core_mpc.h #define PDU_ENCAPSULATION(buffer) \ buffer 907 drivers/s390/net/qeth_core_mpc.h (buffer + *(buffer + (*(buffer + 0x0b)) + \ buffer 908 drivers/s390/net/qeth_core_mpc.h *(buffer + *(buffer + 0x0b) + 0x11) + 0x07)) buffer 910 drivers/s390/net/qeth_core_mpc.h #define IS_IPA(buffer) \ buffer 911 drivers/s390/net/qeth_core_mpc.h ((buffer) && \ buffer 912 drivers/s390/net/qeth_core_mpc.h (*(buffer + ((*(buffer + 0x0b)) + 4)) == 0xc1)) buffer 490 drivers/s390/net/qeth_l3_sys.c char buffer[40] = {0, }; buffer 498 drivers/s390/net/qeth_l3_sys.c strncpy(buffer, start, end - start); buffer 499 drivers/s390/net/qeth_l3_sys.c if (qeth_l3_string_to_ipaddr(buffer, proto, addr)) { buffer 59 drivers/s390/net/smsgiucv.c unsigned char *buffer; buffer 63 drivers/s390/net/smsgiucv.c buffer = kmalloc(msg->length + 1, GFP_ATOMIC | GFP_DMA); buffer 64 drivers/s390/net/smsgiucv.c if (!buffer) { buffer 68 drivers/s390/net/smsgiucv.c rc = iucv_message_receive(path, msg, 0, buffer, msg->length, NULL); buffer 70 drivers/s390/net/smsgiucv.c buffer[msg->length] = 0; buffer 71 drivers/s390/net/smsgiucv.c EBCASC(buffer, msg->length); buffer 72 drivers/s390/net/smsgiucv.c memcpy(sender, buffer, 8); buffer 82 drivers/s390/net/smsgiucv.c if (strncmp(buffer + 8, cb->prefix, cb->len) == 0) { buffer 83 drivers/s390/net/smsgiucv.c cb->callback(sender, buffer + 8); buffer 88 drivers/s390/net/smsgiucv.c kfree(buffer); buffer 1781 drivers/scsi/53c700.c SCp->SCp.buffer = NULL; buffer 833 drivers/scsi/FlashPoint.c static unsigned short FPT_CalcCrc16(unsigned char buffer[]); buffer 834 drivers/scsi/FlashPoint.c static unsigned char FPT_CalcLrc(unsigned char buffer[]); buffer 7490 drivers/scsi/FlashPoint.c static unsigned short FPT_CalcCrc16(unsigned char buffer[]) buffer 7496 drivers/scsi/FlashPoint.c ch = (unsigned short)buffer[i]; buffer 7508 drivers/scsi/FlashPoint.c static unsigned char FPT_CalcLrc(unsigned char buffer[]) buffer 7514 drivers/scsi/FlashPoint.c lrc ^= buffer[i]; buffer 154 drivers/scsi/NCR5380.c cmd->SCp.buffer = scsi_sglist(cmd); buffer 155 drivers/scsi/NCR5380.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); buffer 156 drivers/scsi/NCR5380.c cmd->SCp.this_residual = cmd->SCp.buffer->length; buffer 158 drivers/scsi/NCR5380.c cmd->SCp.buffer = NULL; buffer 169 drivers/scsi/NCR5380.c struct scatterlist *s = cmd->SCp.buffer; buffer 172 drivers/scsi/NCR5380.c cmd->SCp.buffer = sg_next(s); buffer 173 drivers/scsi/NCR5380.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); buffer 174 drivers/scsi/NCR5380.c cmd->SCp.this_residual = cmd->SCp.buffer->length; buffer 1740 drivers/scsi/NCR5380.c sg_nents(cmd->SCp.buffer)); buffer 2131 drivers/scsi/aacraid/aachba.c char buffer[16]; buffer 2152 drivers/scsi/aacraid/aachba.c buffer[0] = '\0'; buffer 2154 drivers/scsi/aacraid/aachba.c shost_to_class(dev->scsi_host_ptr), buffer)) buffer 2156 drivers/scsi/aacraid/aachba.c dev->name, dev->id, buffer); buffer 1607 drivers/scsi/aacraid/commsup.c command->SCp.buffer = (struct scatterlist *)command_list; buffer 1613 drivers/scsi/aacraid/commsup.c command_list = (struct scsi_cmnd *)command->SCp.buffer; buffer 1614 drivers/scsi/aacraid/commsup.c command->SCp.buffer = NULL; buffer 334 drivers/scsi/aacraid/rx.c char * buffer; buffer 344 drivers/scsi/aacraid/rx.c buffer = dma_alloc_coherent(&dev->pdev->dev, 512, &baddr, buffer 347 drivers/scsi/aacraid/rx.c if (unlikely(buffer == NULL)) buffer 353 drivers/scsi/aacraid/rx.c dma_free_coherent(&dev->pdev->dev, 512, buffer, baddr); buffer 356 drivers/scsi/aacraid/rx.c memset(buffer, 0, 512); buffer 364 drivers/scsi/aacraid/rx.c if (likely((buffer[0] == '0') && ((buffer[1] == 'x') || (buffer[1] == 'X')))) { buffer 365 drivers/scsi/aacraid/rx.c ret = (hex_to_bin(buffer[2]) << 4) + buffer 366 drivers/scsi/aacraid/rx.c hex_to_bin(buffer[3]); buffer 368 drivers/scsi/aacraid/rx.c dma_free_coherent(&dev->pdev->dev, 512, buffer, baddr); buffer 557 drivers/scsi/aha152x.c #define SG_ADDRESS(buffer) ((char *) sg_virt((buffer))) buffer 946 drivers/scsi/aha152x.c SCpnt->SCp.buffer = NULL; buffer 949 drivers/scsi/aha152x.c SCpnt->SCp.buffer = scsi_sglist(SCpnt); buffer 950 drivers/scsi/aha152x.c SCpnt->SCp.ptr = SG_ADDRESS(SCpnt->SCp.buffer); buffer 951 drivers/scsi/aha152x.c SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; buffer 2019 drivers/scsi/aha152x.c !sg_is_last(CURRENT_SC->SCp.buffer)) { buffer 2021 drivers/scsi/aha152x.c CURRENT_SC->SCp.buffer = sg_next(CURRENT_SC->SCp.buffer); buffer 2022 drivers/scsi/aha152x.c CURRENT_SC->SCp.ptr = SG_ADDRESS(CURRENT_SC->SCp.buffer); buffer 2023 drivers/scsi/aha152x.c CURRENT_SC->SCp.this_residual = CURRENT_SC->SCp.buffer->length; buffer 2125 drivers/scsi/aha152x.c !sg_is_last(CURRENT_SC->SCp.buffer)) { buffer 2127 drivers/scsi/aha152x.c CURRENT_SC->SCp.buffer = sg_next(CURRENT_SC->SCp.buffer); buffer 2128 drivers/scsi/aha152x.c CURRENT_SC->SCp.ptr = SG_ADDRESS(CURRENT_SC->SCp.buffer); buffer 2129 drivers/scsi/aha152x.c CURRENT_SC->SCp.this_residual = CURRENT_SC->SCp.buffer->length; buffer 2162 drivers/scsi/aha152x.c CURRENT_SC->SCp.buffer = sg; buffer 2163 drivers/scsi/aha152x.c CURRENT_SC->SCp.ptr = SG_ADDRESS(CURRENT_SC->SCp.buffer) + done; buffer 2164 drivers/scsi/aha152x.c CURRENT_SC->SCp.this_residual = CURRENT_SC->SCp.buffer->length - buffer 2493 drivers/scsi/aha152x.c sg_nents(ptr->SCp.buffer) - 1); buffer 2773 drivers/scsi/aha152x.c static int aha152x_set_info(struct Scsi_Host *shpnt, char *buffer, int length) buffer 2775 drivers/scsi/aha152x.c if(!shpnt || !buffer || length<8 || strncmp("aha152x ", buffer, 8)!=0) buffer 2779 drivers/scsi/aha152x.c if(length>13 && strncmp("reset", buffer+8, 5)==0) { buffer 553 drivers/scsi/aic7xxx/aic79xx_osm.c static char buffer[512]; buffer 558 drivers/scsi/aic7xxx/aic79xx_osm.c bp = &buffer[0]; buffer 560 drivers/scsi/aic7xxx/aic79xx_osm.c memset(bp, 0, sizeof(buffer)); buffer 208 drivers/scsi/aic7xxx/aic79xx_proc.c ahd_proc_write_seeprom(struct Scsi_Host *shost, char *buffer, int length) buffer 231 drivers/scsi/aic7xxx/aic79xx_proc.c have_seeprom = ahd_verify_cksum((struct seeprom_config*)buffer); buffer 254 drivers/scsi/aic7xxx/aic79xx_proc.c ahd_write_seeprom(ahd, (u_int16_t *)buffer, start_addr, buffer 497 drivers/scsi/aic7xxx/aic7xxx_osm.c static char buffer[512]; buffer 502 drivers/scsi/aic7xxx/aic7xxx_osm.c bp = &buffer[0]; buffer 504 drivers/scsi/aic7xxx/aic7xxx_osm.c memset(bp, 0, sizeof(buffer)); buffer 188 drivers/scsi/aic7xxx/aic7xxx_proc.c ahc_proc_write_seeprom(struct Scsi_Host *shost, char *buffer, int length) buffer 209 drivers/scsi/aic7xxx/aic7xxx_proc.c have_seeprom = ahc_verify_cksum((struct seeprom_config*)buffer); buffer 267 drivers/scsi/aic7xxx/aic7xxx_proc.c ahc_write_seeprom(&sd, (u_int16_t *)buffer, start_addr, buffer 116 drivers/scsi/aic94xx/aic94xx_sds.c static int asd_read_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, buffer 119 drivers/scsi/aic94xx/aic94xx_sds.c u8 *p = buffer; buffer 121 drivers/scsi/aic94xx/aic94xx_sds.c asd_read_reg_string(asd_ha, buffer, offs+OCM_BASE_ADDR, size); buffer 161 drivers/scsi/aic94xx/aic94xx_sds.c static void asd_write_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, buffer 164 drivers/scsi/aic94xx/aic94xx_sds.c u8 *p = buffer; buffer 166 drivers/scsi/aic94xx/aic94xx_sds.c asd_write_reg_string(asd_ha, buffer, offs+OCM_BASE_ADDR, size); buffer 577 drivers/scsi/aic94xx/aic94xx_sds.c void *buffer, u32 offs, int size) buffer 579 drivers/scsi/aic94xx/aic94xx_sds.c asd_read_reg_string(asd_ha, buffer, asd_ha->hw_prof.flash.bar+offs, buffer 357 drivers/scsi/arcmsr/arcmsr_hba.c unsigned char *buffer;/* return copy of block device's partition table */ buffer 359 drivers/scsi/arcmsr/arcmsr_hba.c buffer = scsi_bios_ptable(bdev); buffer 360 drivers/scsi/arcmsr/arcmsr_hba.c if (buffer) { buffer 361 drivers/scsi/arcmsr/arcmsr_hba.c ret = scsi_partsize(buffer, capacity, &geom[2], &geom[0], &geom[1]); buffer 362 drivers/scsi/arcmsr/arcmsr_hba.c kfree(buffer); buffer 2770 drivers/scsi/arcmsr/arcmsr_hba.c char *buffer; buffer 2783 drivers/scsi/arcmsr/arcmsr_hba.c buffer = kmap_atomic(sg_page(sg)) + sg->offset; buffer 2794 drivers/scsi/arcmsr/arcmsr_hba.c pcmdmessagefld = (struct CMD_MESSAGE_FIELD *)buffer; buffer 3016 drivers/scsi/arcmsr/arcmsr_hba.c kunmap_atomic(buffer - sg->offset); buffer 3044 drivers/scsi/arcmsr/arcmsr_hba.c char *buffer; buffer 3067 drivers/scsi/arcmsr/arcmsr_hba.c buffer = kmap_atomic(sg_page(sg)) + sg->offset; buffer 3069 drivers/scsi/arcmsr/arcmsr_hba.c memcpy(buffer, inqdata, sizeof(inqdata)); buffer 3071 drivers/scsi/arcmsr/arcmsr_hba.c kunmap_atomic(buffer - sg->offset); buffer 314 drivers/scsi/arm/cumana_2.c cumanascsi_2_set_proc_info(struct Scsi_Host *host, char *buffer, int length) buffer 318 drivers/scsi/arm/cumana_2.c if (length >= 11 && strncmp(buffer, "CUMANASCSI2", 11) == 0) { buffer 319 drivers/scsi/arm/cumana_2.c buffer += 11; buffer 322 drivers/scsi/arm/cumana_2.c if (length >= 5 && strncmp(buffer, "term=", 5) == 0) { buffer 323 drivers/scsi/arm/cumana_2.c if (buffer[5] == '1') buffer 325 drivers/scsi/arm/cumana_2.c else if (buffer[5] == '0') buffer 399 drivers/scsi/arm/eesox.c eesoxscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) buffer 403 drivers/scsi/arm/eesox.c if (length >= 9 && strncmp(buffer, "EESOXSCSI", 9) == 0) { buffer 404 drivers/scsi/arm/eesox.c buffer += 9; buffer 407 drivers/scsi/arm/eesox.c if (length >= 5 && strncmp(buffer, "term=", 5) == 0) { buffer 408 drivers/scsi/arm/eesox.c if (buffer[5] == '1') buffer 410 drivers/scsi/arm/eesox.c else if (buffer[5] == '0') buffer 177 drivers/scsi/arm/fas216.c prefix, SCp->ptr, SCp->this_residual, SCp->buffer, buffer 202 drivers/scsi/arm/powertec.c powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) buffer 206 drivers/scsi/arm/powertec.c if (length >= 12 && strncmp(buffer, "POWERTECSCSI", 12) == 0) { buffer 207 drivers/scsi/arm/powertec.c buffer += 12; buffer 210 drivers/scsi/arm/powertec.c if (length >= 5 && strncmp(buffer, "term=", 5) == 0) { buffer 211 drivers/scsi/arm/powertec.c if (buffer[5] == '1') buffer 213 drivers/scsi/arm/powertec.c else if (buffer[5] == '0') buffer 39 drivers/scsi/arm/scsi.h for_each_sg(sg_next(SCp->buffer), src_sg, bufs, i) buffer 51 drivers/scsi/arm/scsi.h SCp->buffer = sg_next(SCp->buffer); buffer 53 drivers/scsi/arm/scsi.h SCp->ptr = sg_virt(SCp->buffer); buffer 54 drivers/scsi/arm/scsi.h SCp->this_residual = SCp->buffer->length; buffer 86 drivers/scsi/arm/scsi.h SCpnt->SCp.buffer = scsi_sglist(SCpnt); buffer 88 drivers/scsi/arm/scsi.h SCpnt->SCp.ptr = sg_virt(SCpnt->SCp.buffer); buffer 89 drivers/scsi/arm/scsi.h SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; buffer 1620 drivers/scsi/atp870u.c static char buffer[128]; buffer 1622 drivers/scsi/atp870u.c strcpy(buffer, "ACARD AEC-6710/6712/67160 PCI Ultra/W/LVD SCSI-3 Adapter Driver V2.6+ac "); buffer 1624 drivers/scsi/atp870u.c return buffer; buffer 550 drivers/scsi/bfa/bfa_port.c u32 *buffer; buffer 560 drivers/scsi/bfa/bfa_port.c buffer = (u32 *)cee->stats; buffer 563 drivers/scsi/bfa/bfa_port.c buffer[i] = cpu_to_be32(buffer[i]); buffer 188 drivers/scsi/ch.c void *buffer, unsigned buflength, buffer 199 drivers/scsi/ch.c result = scsi_execute_req(ch->device, cmd, direction, buffer, buffer 239 drivers/scsi/ch.c u_char *buffer; buffer 242 drivers/scsi/ch.c buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); buffer 243 drivers/scsi/ch.c if(!buffer) buffer 257 drivers/scsi/ch.c buffer, 256, DMA_FROM_DEVICE))) { buffer 258 drivers/scsi/ch.c if (((buffer[16] << 8) | buffer[17]) != elem) { buffer 260 drivers/scsi/ch.c elem,(buffer[16] << 8) | buffer[17]); buffer 261 drivers/scsi/ch.c kfree(buffer); buffer 264 drivers/scsi/ch.c memcpy(data,buffer+16,16); buffer 273 drivers/scsi/ch.c kfree(buffer); buffer 296 drivers/scsi/ch.c u_char *buffer; buffer 300 drivers/scsi/ch.c buffer = kzalloc(512, GFP_KERNEL | GFP_DMA); buffer 301 drivers/scsi/ch.c if (!buffer) buffer 309 drivers/scsi/ch.c result = ch_do_scsi(ch, cmd, 10, buffer, 255, DMA_FROM_DEVICE); buffer 312 drivers/scsi/ch.c result = ch_do_scsi(ch, cmd, 10, buffer, 255, DMA_FROM_DEVICE); buffer 316 drivers/scsi/ch.c (buffer[buffer[3]+ 6] << 8) | buffer[buffer[3]+ 7]; buffer 318 drivers/scsi/ch.c (buffer[buffer[3]+ 8] << 8) | buffer[buffer[3]+ 9]; buffer 320 drivers/scsi/ch.c (buffer[buffer[3]+10] << 8) | buffer[buffer[3]+11]; buffer 322 drivers/scsi/ch.c (buffer[buffer[3]+12] << 8) | buffer[buffer[3]+13]; buffer 324 drivers/scsi/ch.c (buffer[buffer[3]+14] << 8) | buffer[buffer[3]+15]; buffer 326 drivers/scsi/ch.c (buffer[buffer[3]+16] << 8) | buffer[buffer[3]+17]; buffer 328 drivers/scsi/ch.c (buffer[buffer[3]+18] << 8) | buffer[buffer[3]+19]; buffer 330 drivers/scsi/ch.c (buffer[buffer[3]+20] << 8) | buffer[buffer[3]+21]; buffer 365 drivers/scsi/ch.c kfree(buffer); buffer 414 drivers/scsi/ch.c kfree(buffer); buffer 508 drivers/scsi/ch.c u_char *buffer; buffer 511 drivers/scsi/ch.c buffer = kzalloc(512, GFP_KERNEL); buffer 512 drivers/scsi/ch.c if (!buffer) buffer 531 drivers/scsi/ch.c memcpy(buffer,tag,32); buffer 532 drivers/scsi/ch.c ch_check_voltag(buffer); buffer 534 drivers/scsi/ch.c result = ch_do_scsi(ch, cmd, 12, buffer, 256, DMA_TO_DEVICE); buffer 535 drivers/scsi/ch.c kfree(buffer); buffer 753 drivers/scsi/ch.c u_char *buffer; buffer 764 drivers/scsi/ch.c buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); buffer 765 drivers/scsi/ch.c if (!buffer) buffer 781 drivers/scsi/ch.c buffer, 256, DMA_FROM_DEVICE); buffer 783 drivers/scsi/ch.c cge.cge_status = buffer[18]; buffer 785 drivers/scsi/ch.c if (buffer[18] & CESTATUS_EXCEPT) { buffer 788 drivers/scsi/ch.c if (buffer[25] & 0x80) { buffer 790 drivers/scsi/ch.c if (buffer[25] & 0x40) buffer 792 drivers/scsi/ch.c elem = (buffer[26]<<8) | buffer[27]; buffer 801 drivers/scsi/ch.c if ((buffer[22] & 0x30) == 0x30) { buffer 803 drivers/scsi/ch.c cge.cge_id = buffer[23]; buffer 804 drivers/scsi/ch.c cge.cge_lun = buffer[22] & 7; buffer 806 drivers/scsi/ch.c if (buffer[9] & 0x80) { buffer 808 drivers/scsi/ch.c memcpy(cge.cge_pvoltag,buffer+28,36); buffer 810 drivers/scsi/ch.c if (buffer[9] & 0x40) { buffer 812 drivers/scsi/ch.c memcpy(cge.cge_avoltag,buffer+64,36); buffer 819 drivers/scsi/ch.c kfree(buffer); buffer 76 drivers/scsi/device_handler/scsi_dh_emc.c unsigned char buffer[CLARIION_BUFFER_SIZE]; buffer 141 drivers/scsi/device_handler/scsi_dh_emc.c if (csdev->buffer[48] != 0) { buffer 148 drivers/scsi/device_handler/scsi_dh_emc.c if (csdev->buffer[4] > 2) { buffer 156 drivers/scsi/device_handler/scsi_dh_emc.c switch (csdev->buffer[28] & 0x0f) { buffer 168 drivers/scsi/device_handler/scsi_dh_emc.c CLARIION_NAME, csdev->buffer[28] & 0x0f); buffer 173 drivers/scsi/device_handler/scsi_dh_emc.c csdev->default_sp = csdev->buffer[5]; buffer 174 drivers/scsi/device_handler/scsi_dh_emc.c csdev->lun_state = csdev->buffer[4]; buffer 175 drivers/scsi/device_handler/scsi_dh_emc.c csdev->current_sp = csdev->buffer[8]; buffer 176 drivers/scsi/device_handler/scsi_dh_emc.c csdev->port = csdev->buffer[7]; buffer 189 drivers/scsi/device_handler/scsi_dh_emc.c static char * parse_sp_model(struct scsi_device *sdev, unsigned char *buffer) buffer 191 drivers/scsi/device_handler/scsi_dh_emc.c unsigned char len = buffer[4] + 5; buffer 200 drivers/scsi/device_handler/scsi_dh_emc.c if (!strncmp(buffer + 8, "DGC", 3)) { buffer 210 drivers/scsi/device_handler/scsi_dh_emc.c serial_len = buffer[160]; buffer 217 drivers/scsi/device_handler/scsi_dh_emc.c sp_len = buffer[99]; buffer 224 drivers/scsi/device_handler/scsi_dh_emc.c sp_model = &buffer[serial_len + 161]; buffer 264 drivers/scsi/device_handler/scsi_dh_emc.c memcpy(csdev->buffer, page22, len); buffer 266 drivers/scsi/device_handler/scsi_dh_emc.c err = scsi_execute(sdev, cdb, DMA_TO_DEVICE, csdev->buffer, len, NULL, buffer 374 drivers/scsi/device_handler/scsi_dh_emc.c if (!scsi_get_vpd_page(sdev, 0xC0, csdev->buffer, buffer 90 drivers/scsi/dpt/sys_info.h uSHORT netInsert(dptBuffer_S *buffer); buffer 91 drivers/scsi/dpt/sys_info.h uSHORT netExtract(dptBuffer_S *buffer); buffer 168 drivers/scsi/dpt/sys_info.h uSHORT netInsert(dptBuffer_S *buffer); buffer 169 drivers/scsi/dpt/sys_info.h uSHORT netExtract(dptBuffer_S *buffer); buffer 209 drivers/scsi/dpt/sys_info.h uSHORT netInsert(dptBuffer_S *buffer); buffer 210 drivers/scsi/dpt/sys_info.h uSHORT netExtract(dptBuffer_S *buffer); buffer 257 drivers/scsi/dpt/sys_info.h uSHORT netInsert(dptBuffer_S *buffer); buffer 258 drivers/scsi/dpt/sys_info.h uSHORT netExtract(dptBuffer_S *buffer); buffer 291 drivers/scsi/dpt/sys_info.h uSHORT netInsert(dptBuffer_S *buffer); buffer 292 drivers/scsi/dpt/sys_info.h uSHORT netExtract(dptBuffer_S *buffer); buffer 325 drivers/scsi/dpt/sys_info.h uSHORT netInsert(dptBuffer_S *buffer); buffer 326 drivers/scsi/dpt/sys_info.h uSHORT netExtract(dptBuffer_S *buffer); buffer 359 drivers/scsi/dpt/sys_info.h uSHORT netInsert(dptBuffer_S *buffer); buffer 360 drivers/scsi/dpt/sys_info.h uSHORT netExtract(dptBuffer_S *buffer); buffer 393 drivers/scsi/dpt/sys_info.h uSHORT netInsert(dptBuffer_S *buffer); buffer 394 drivers/scsi/dpt/sys_info.h uSHORT netExtract(dptBuffer_S *buffer); buffer 1918 drivers/scsi/dpt_i2o.c static int adpt_system_info(void __user *buffer) buffer 1942 drivers/scsi/dpt_i2o.c if (copy_to_user(buffer, &si, sizeof(si))){ buffer 124 drivers/scsi/esas2r/esas2r_log.c char *buffer = event_buffer; buffer 133 drivers/scsi/esas2r/esas2r_log.c memset(buffer, 0, buflen); buffer 142 drivers/scsi/esas2r/esas2r_log.c snprintf(buffer, buflen, fmt_nodev, slevel, buffer 145 drivers/scsi/esas2r/esas2r_log.c snprintf(buffer, buflen, fmt_dev, slevel, buffer 152 drivers/scsi/esas2r/esas2r_log.c buffer += strlen(event_buffer); buffer 155 drivers/scsi/esas2r/esas2r_log.c retval = vsnprintf(buffer, buflen, format, args); buffer 25 drivers/scsi/fcoe/fcoe_transport.c static int fcoe_transport_show(char *buffer, const struct kernel_param *kp); buffer 596 drivers/scsi/fcoe/fcoe_transport.c static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) buffer 601 drivers/scsi/fcoe/fcoe_transport.c i = j = sprintf(buffer, "Attached FCoE transports:"); buffer 606 drivers/scsi/fcoe/fcoe_transport.c i += snprintf(&buffer[i], IFNAMSIZ, "%s ", ft->name); buffer 610 drivers/scsi/fcoe/fcoe_transport.c i += snprintf(&buffer[i], IFNAMSIZ, "none"); buffer 705 drivers/scsi/fcoe/fcoe_transport.c static struct net_device *fcoe_if_to_netdev(const char *buffer) buffer 710 drivers/scsi/fcoe/fcoe_transport.c if (buffer) { buffer 711 drivers/scsi/fcoe/fcoe_transport.c strlcpy(ifname, buffer, IFNAMSIZ); buffer 857 drivers/scsi/fcoe/fcoe_transport.c static int fcoe_transport_create(const char *buffer, buffer 867 drivers/scsi/fcoe/fcoe_transport.c netdev = fcoe_if_to_netdev(buffer); buffer 869 drivers/scsi/fcoe/fcoe_transport.c LIBFCOE_TRANSPORT_DBG("Invalid device %s.\n", buffer); buffer 923 drivers/scsi/fcoe/fcoe_transport.c static int fcoe_transport_destroy(const char *buffer, buffer 932 drivers/scsi/fcoe/fcoe_transport.c netdev = fcoe_if_to_netdev(buffer); buffer 934 drivers/scsi/fcoe/fcoe_transport.c LIBFCOE_TRANSPORT_DBG("invalid device %s.\n", buffer); buffer 968 drivers/scsi/fcoe/fcoe_transport.c static int fcoe_transport_disable(const char *buffer, buffer 977 drivers/scsi/fcoe/fcoe_transport.c netdev = fcoe_if_to_netdev(buffer); buffer 1003 drivers/scsi/fcoe/fcoe_transport.c static int fcoe_transport_enable(const char *buffer, buffer 1012 drivers/scsi/fcoe/fcoe_transport.c netdev = fcoe_if_to_netdev(buffer); buffer 220 drivers/scsi/fnic/fnic_debugfs.c fnic_dbg_prt->buffer = vmalloc(array3_size(3, trace_max_pages, buffer 222 drivers/scsi/fnic/fnic_debugfs.c if (!fnic_dbg_prt->buffer) { buffer 226 drivers/scsi/fnic/fnic_debugfs.c memset((void *)fnic_dbg_prt->buffer, 0, buffer 230 drivers/scsi/fnic/fnic_debugfs.c fnic_dbg_prt->buffer = buffer 233 drivers/scsi/fnic/fnic_debugfs.c if (!fnic_dbg_prt->buffer) { buffer 237 drivers/scsi/fnic/fnic_debugfs.c memset((void *)fnic_dbg_prt->buffer, 0, buffer 297 drivers/scsi/fnic/fnic_debugfs.c fnic_dbg_prt->buffer, buffer 320 drivers/scsi/fnic/fnic_debugfs.c vfree(fnic_dbg_prt->buffer); buffer 141 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 183 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 745 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 765 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 769 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 813 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 826 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 829 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 831 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 837 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer buffer 844 drivers/scsi/fnic/fnic_trace.c len += snprintf(fnic_dbgfs_prt->buffer + len, buffer 56 drivers/scsi/fnic/fnic_trace.h char *buffer; buffer 124 drivers/scsi/gdth.c static void gdth_log_event(gdth_evt_data *dvr, char *buffer); buffer 138 drivers/scsi/gdth.c char *buffer, u16 count); buffer 1830 drivers/scsi/gdth.c char *buffer, u16 count) buffer 1856 drivers/scsi/gdth.c memcpy(address, buffer, cpnow); buffer 1862 drivers/scsi/gdth.c buffer += cpnow; buffer 3067 drivers/scsi/gdth.c static void gdth_log_event(gdth_evt_data *dvr, char *buffer) buffer 3075 drivers/scsi/gdth.c if (buffer == NULL) { buffer 3078 drivers/scsi/gdth.c sprintf(buffer,"Adapter %d: %s\n", buffer 3105 drivers/scsi/gdth.c if (buffer == NULL) { buffer 3109 drivers/scsi/gdth.c sprintf(buffer,&f[(int)f[0]],stack); buffer 3113 drivers/scsi/gdth.c if (buffer == NULL) { buffer 3117 drivers/scsi/gdth.c sprintf(buffer,"GDT HA %u, Unknown async. event service %d event no. %d", buffer 9 drivers/scsi/gdth_proc.c int gdth_set_info(struct Scsi_Host *host, char *buffer, int length) buffer 17 drivers/scsi/gdth_proc.c if (strncmp(buffer,"gdth",4) == 0) { buffer 18 drivers/scsi/gdth_proc.c buffer += 5; buffer 20 drivers/scsi/gdth_proc.c ret_val = gdth_set_asc_info(host, buffer, length, ha); buffer 27 drivers/scsi/gdth_proc.c static int gdth_set_asc_info(struct Scsi_Host *host, char *buffer, buffer 45 drivers/scsi/gdth_proc.c if (length >= 5 && strncmp(buffer,"flush",5)==0) { buffer 46 drivers/scsi/gdth_proc.c buffer += 6; buffer 48 drivers/scsi/gdth_proc.c if (length && *buffer>='0' && *buffer<='9') { buffer 49 drivers/scsi/gdth_proc.c drive = (int)(*buffer-'0'); buffer 50 drivers/scsi/gdth_proc.c ++buffer; --length; buffer 51 drivers/scsi/gdth_proc.c if (length && *buffer>='0' && *buffer<='9') { buffer 52 drivers/scsi/gdth_proc.c drive = drive*10 + (int)(*buffer-'0'); buffer 53 drivers/scsi/gdth_proc.c ++buffer; --length; buffer 84 drivers/scsi/gdth_proc.c if (length >= 7 && strncmp(buffer,"wbp_off",7)==0) { buffer 85 drivers/scsi/gdth_proc.c buffer += 8; buffer 89 drivers/scsi/gdth_proc.c } else if (length >= 6 && strncmp(buffer,"wbp_on",6)==0) { buffer 90 drivers/scsi/gdth_proc.c buffer += 7; buffer 94 drivers/scsi/gdth_proc.c } else if (length >= 6 && strncmp(buffer,"wb_off",6)==0) { buffer 95 drivers/scsi/gdth_proc.c buffer += 7; buffer 105 drivers/scsi/gdth_proc.c } else if (length >= 5 && strncmp(buffer,"wb_on",5)==0) { buffer 106 drivers/scsi/gdth_proc.c buffer += 6; buffer 147 drivers/scsi/gdth_proc.c printk("GDT: Unknown command: %s Length: %d\n",buffer,length); buffer 12 drivers/scsi/gdth_proc.h static int gdth_set_asc_info(struct Scsi_Host *host, char *buffer, buffer 3986 drivers/scsi/ibmvscsi/ibmvfc.c mad->buffer.va = cpu_to_be64(vhost->disc_buf_dma); buffer 3987 drivers/scsi/ibmvscsi/ibmvfc.c mad->buffer.len = cpu_to_be32(vhost->disc_buf_sz); buffer 4101 drivers/scsi/ibmvscsi/ibmvfc.c mad->buffer.va = cpu_to_be64(vhost->login_buf_dma); buffer 4102 drivers/scsi/ibmvscsi/ibmvfc.c mad->buffer.len = cpu_to_be32(sizeof(*vhost->login_buf)); buffer 140 drivers/scsi/ibmvscsi/ibmvfc.h struct srp_direct_buf buffer; buffer 234 drivers/scsi/ibmvscsi/ibmvfc.h struct srp_direct_buf buffer; buffer 1273 drivers/scsi/ibmvscsi/ibmvscsi.c req->buffer = cpu_to_be64(hostdata->caps_addr); buffer 1433 drivers/scsi/ibmvscsi/ibmvscsi.c req->buffer = cpu_to_be64(hostdata->adapter_info_addr); buffer 102 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c u64 buffer[2] = { 0, 0 }; buffer 107 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = (struct viosrp_crq *)&buffer; buffer 113 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cpu_to_be64(buffer[MSG_HI]), buffer 114 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cpu_to_be64(buffer[MSG_LOW])); buffer 333 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c u64 buffer[2] = { 0, 0 }; buffer 336 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = (struct viosrp_crq *)&buffer; buffer 339 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rc = h_send_crq(vscsi->dds.unit_id, cpu_to_be64(buffer[MSG_HI]), buffer 340 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cpu_to_be64(buffer[MSG_LOW])); buffer 1528 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c be64_to_cpu(mad->buffer), buffer 1539 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c be64_to_cpu(mad->buffer), vscsi->flags, flag_bits); buffer 1574 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c be64_to_cpu(mad->buffer)); buffer 1644 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c be64_to_cpu(mad->buffer), buffer 1691 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c be64_to_cpu(mad->buffer)); buffer 1735 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->empty_iu_id = be64_to_cpu(empty->buffer); buffer 2480 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c u64 buffer[2] = { 0, 0 }; buffer 2483 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = (struct viosrp_crq *)&buffer; buffer 2488 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rc = h_send_crq(vscsi->dds.unit_id, cpu_to_be64(buffer[MSG_HI]), buffer 2489 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cpu_to_be64(buffer[MSG_LOW])); buffer 127 drivers/scsi/imm.c static int imm_write_info(struct Scsi_Host *host, char *buffer, int length) buffer 131 drivers/scsi/imm.c if ((length > 5) && (strncmp(buffer, "mode=", 5) == 0)) { buffer 132 drivers/scsi/imm.c dev->mode = simple_strtoul(buffer + 5, NULL, 0); buffer 298 drivers/scsi/imm.c static int imm_byte_out(unsigned short base, const char *buffer, int len) buffer 304 drivers/scsi/imm.c w_dtr(base, *buffer++); buffer 306 drivers/scsi/imm.c w_dtr(base, *buffer++); buffer 313 drivers/scsi/imm.c static int imm_nibble_in(unsigned short base, char *buffer, int len) buffer 326 drivers/scsi/imm.c *buffer++ = (r_str(base) & 0xf0) | l; buffer 332 drivers/scsi/imm.c static int imm_byte_in(unsigned short base, char *buffer, int len) buffer 342 drivers/scsi/imm.c *buffer++ = r_dtr(base); buffer 348 drivers/scsi/imm.c static int imm_out(imm_struct *dev, char *buffer, int len) buffer 370 drivers/scsi/imm.c if (!(((long) buffer | len) & 0x01)) buffer 371 drivers/scsi/imm.c outsw(ppb + 4, buffer, len >> 1); buffer 373 drivers/scsi/imm.c if (!(((long) buffer | len) & 0x03)) buffer 374 drivers/scsi/imm.c outsl(ppb + 4, buffer, len >> 2); buffer 377 drivers/scsi/imm.c outsb(ppb + 4, buffer, len); buffer 387 drivers/scsi/imm.c r = imm_byte_out(ppb, buffer, len); buffer 397 drivers/scsi/imm.c static int imm_in(imm_struct *dev, char *buffer, int len) buffer 414 drivers/scsi/imm.c r = imm_nibble_in(ppb, buffer, len); buffer 420 drivers/scsi/imm.c r = imm_byte_in(ppb, buffer, len); buffer 430 drivers/scsi/imm.c if (!(((long) buffer | len) & 0x01)) buffer 431 drivers/scsi/imm.c insw(ppb + 4, buffer, len >> 1); buffer 433 drivers/scsi/imm.c if (!(((long) buffer | len) & 0x03)) buffer 434 drivers/scsi/imm.c insl(ppb + 4, buffer, len >> 2); buffer 437 drivers/scsi/imm.c insb(ppb + 4, buffer, len); buffer 687 drivers/scsi/imm.c if (cmd->SCp.buffer && !cmd->SCp.this_residual) { buffer 690 drivers/scsi/imm.c cmd->SCp.buffer = sg_next(cmd->SCp.buffer); buffer 692 drivers/scsi/imm.c cmd->SCp.buffer->length; buffer 693 drivers/scsi/imm.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); buffer 826 drivers/scsi/imm.c cmd->SCp.buffer = scsi_sglist(cmd); buffer 827 drivers/scsi/imm.c cmd->SCp.this_residual = cmd->SCp.buffer->length; buffer 828 drivers/scsi/imm.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); buffer 830 drivers/scsi/imm.c cmd->SCp.buffer = NULL; buffer 1296 drivers/scsi/ipr.c static char *__ipr_format_res_path(u8 *res_path, char *buffer, int len) buffer 1299 drivers/scsi/ipr.c char *p = buffer; buffer 1302 drivers/scsi/ipr.c p += snprintf(p, buffer + len - p, "%02X", res_path[0]); buffer 1304 drivers/scsi/ipr.c p += snprintf(p, buffer + len - p, "-%02X", res_path[i]); buffer 1306 drivers/scsi/ipr.c return buffer; buffer 1320 drivers/scsi/ipr.c u8 *res_path, char *buffer, int len) buffer 1322 drivers/scsi/ipr.c char *p = buffer; buffer 1325 drivers/scsi/ipr.c p += snprintf(p, buffer + len - p, "%d/", ioa_cfg->host->host_no); buffer 1326 drivers/scsi/ipr.c __ipr_format_res_path(res_path, p, len - (buffer - p)); buffer 1327 drivers/scsi/ipr.c return buffer; buffer 1341 drivers/scsi/ipr.c char buffer[IPR_MAX_RES_PATH_LENGTH]; buffer 1371 drivers/scsi/ipr.c res->res_path, buffer, sizeof(buffer))); buffer 1551 drivers/scsi/ipr.c char buffer[IPR_VENDOR_ID_LEN + IPR_PROD_ID_LEN + IPR_SERIAL_NUM_LEN + 3]; buffer 1554 drivers/scsi/ipr.c memcpy(buffer, vpd->vpids.vendor_id, IPR_VENDOR_ID_LEN); buffer 1555 drivers/scsi/ipr.c i = strip_and_pad_whitespace(IPR_VENDOR_ID_LEN - 1, buffer); buffer 1557 drivers/scsi/ipr.c memcpy(&buffer[i], vpd->vpids.product_id, IPR_PROD_ID_LEN); buffer 1558 drivers/scsi/ipr.c i = strip_and_pad_whitespace(i + IPR_PROD_ID_LEN - 1, buffer); buffer 1560 drivers/scsi/ipr.c memcpy(&buffer[i], vpd->sn, IPR_SERIAL_NUM_LEN); buffer 1561 drivers/scsi/ipr.c buffer[IPR_SERIAL_NUM_LEN + i] = '\0'; buffer 1563 drivers/scsi/ipr.c ipr_hcam_err(hostrcb, "%s VPID/SN: %s\n", prefix, buffer); buffer 1575 drivers/scsi/ipr.c char buffer[IPR_VENDOR_ID_LEN + IPR_PROD_ID_LEN buffer 1578 drivers/scsi/ipr.c memcpy(buffer, vpd->vpids.vendor_id, IPR_VENDOR_ID_LEN); buffer 1579 drivers/scsi/ipr.c memcpy(buffer + IPR_VENDOR_ID_LEN, vpd->vpids.product_id, buffer 1581 drivers/scsi/ipr.c buffer[IPR_VENDOR_ID_LEN + IPR_PROD_ID_LEN] = '\0'; buffer 1582 drivers/scsi/ipr.c ipr_err("Vendor/Product ID: %s\n", buffer); buffer 1584 drivers/scsi/ipr.c memcpy(buffer, vpd->sn, IPR_SERIAL_NUM_LEN); buffer 1585 drivers/scsi/ipr.c buffer[IPR_SERIAL_NUM_LEN] = '\0'; buffer 1586 drivers/scsi/ipr.c ipr_err(" Serial Number: %s\n", buffer); buffer 1742 drivers/scsi/ipr.c char buffer[IPR_MAX_RES_PATH_LENGTH]; buffer 1757 drivers/scsi/ipr.c buffer, sizeof(buffer))); buffer 2091 drivers/scsi/ipr.c char buffer[IPR_MAX_RES_PATH_LENGTH]; buffer 2105 drivers/scsi/ipr.c buffer, sizeof(buffer))); buffer 2112 drivers/scsi/ipr.c buffer, sizeof(buffer))); buffer 2238 drivers/scsi/ipr.c char buffer[IPR_MAX_RES_PATH_LENGTH]; buffer 2254 drivers/scsi/ipr.c cfg->res_path, buffer, sizeof(buffer)), buffer 2264 drivers/scsi/ipr.c cfg->res_path, buffer, sizeof(buffer)), buffer 2320 drivers/scsi/ipr.c char buffer[IPR_MAX_RES_PATH_LENGTH]; buffer 2330 drivers/scsi/ipr.c buffer, sizeof(buffer))); buffer 2352 drivers/scsi/ipr.c buffer, sizeof(buffer))); buffer 2356 drivers/scsi/ipr.c buffer, sizeof(buffer))); buffer 2449 drivers/scsi/ipr.c char buffer[IPR_MAX_RES_PATH_LENGTH]; buffer 2459 drivers/scsi/ipr.c buffer, sizeof(buffer))); buffer 3901 drivers/scsi/ipr.c u8 *buffer, u32 len) buffer 3913 drivers/scsi/ipr.c buffer += bsize_elem) { buffer 3917 drivers/scsi/ipr.c memcpy(kaddr, buffer, bsize_elem); buffer 3932 drivers/scsi/ipr.c memcpy(kaddr, buffer, len % bsize_elem); buffer 4555 drivers/scsi/ipr.c char buffer[IPR_MAX_RES_PATH_LENGTH]; buffer 4561 drivers/scsi/ipr.c __ipr_format_res_path(res->res_path, buffer, buffer 4562 drivers/scsi/ipr.c sizeof(buffer))); buffer 4935 drivers/scsi/ipr.c char buffer[IPR_MAX_RES_PATH_LENGTH]; buffer 4965 drivers/scsi/ipr.c res->res_path, buffer, sizeof(buffer))); buffer 6712 drivers/scsi/ipr.c static char buffer[512]; buffer 6719 drivers/scsi/ipr.c sprintf(buffer, "IBM %X Storage Adapter", ioa_cfg->type); buffer 6722 drivers/scsi/ipr.c return buffer; buffer 1399 drivers/scsi/ips.c static char buffer[256]; buffer 1410 drivers/scsi/ips.c bp = &buffer[0]; buffer 1411 drivers/scsi/ips.c memset(bp, 0, sizeof (buffer)); buffer 1426 drivers/scsi/ips.c ips_write_info(struct Scsi_Host *host, char *buffer, int length) buffer 1496 drivers/scsi/ips.c char *buffer; buffer 1501 drivers/scsi/ips.c buffer = kmap_atomic(sg_page(sg)) + sg->offset; buffer 1502 drivers/scsi/ips.c if (buffer && buffer[0] == 'C' && buffer[1] == 'O' && buffer 1503 drivers/scsi/ips.c buffer[2] == 'P' && buffer[3] == 'P') { buffer 1504 drivers/scsi/ips.c kunmap_atomic(buffer - sg->offset); buffer 1508 drivers/scsi/ips.c kunmap_atomic(buffer - sg->offset); buffer 2235 drivers/scsi/ips.c uint8_t *buffer; buffer 2325 drivers/scsi/ips.c buffer = ha->ioctl_data; buffer 2327 drivers/scsi/ips.c memset(buffer, 0, 0x1000); buffer 2357 drivers/scsi/ips.c if ((buffer[0xC0] == 0x55) && (buffer[0xC1] == 0xAA)) { buffer 2358 drivers/scsi/ips.c major = buffer[0x1ff + 0xC0]; /* Offset 0x1ff after the header (0xc0) */ buffer 2359 drivers/scsi/ips.c minor = buffer[0x1fe + 0xC0]; /* Offset 0x1fe after the header (0xc0) */ buffer 2360 drivers/scsi/ips.c subminor = buffer[0x1fd + 0xC0]; /* Offset 0x1fd after the header (0xc0) */ buffer 6237 drivers/scsi/ips.c ips_program_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize, buffer 6258 drivers/scsi/ips.c outb(buffer[i], ha->io_addr + IPS_REG_FLDP); buffer 6328 drivers/scsi/ips.c ips_program_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize, buffer 6349 drivers/scsi/ips.c writeb(buffer[i], ha->mem_ptr + IPS_REG_FLDP); buffer 6419 drivers/scsi/ips.c ips_verify_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize, buffer 6468 drivers/scsi/ips.c ips_verify_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize, buffer 114 drivers/scsi/isci/unsolicited_frame_control.c uf->buffer = virt; buffer 149 drivers/scsi/isci/unsolicited_frame_control.c *frame_buffer = uf_control->buffers.array[frame_index].buffer; buffer 157 drivers/scsi/isci/unsolicited_frame_control.h void *buffer; buffer 153 drivers/scsi/lpfc/lpfc_debugfs.c char *buffer; buffer 155 drivers/scsi/lpfc/lpfc_debugfs.c buffer = kmalloc(LPFC_DEBUG_TRC_ENTRY_SIZE, GFP_KERNEL); buffer 156 drivers/scsi/lpfc/lpfc_debugfs.c if (!buffer) buffer 170 drivers/scsi/lpfc/lpfc_debugfs.c snprintf(buffer, buffer 173 drivers/scsi/lpfc/lpfc_debugfs.c len += scnprintf(buf+len, size-len, buffer, buffer 181 drivers/scsi/lpfc/lpfc_debugfs.c snprintf(buffer, buffer 184 drivers/scsi/lpfc/lpfc_debugfs.c len += scnprintf(buf+len, size-len, buffer, buffer 189 drivers/scsi/lpfc/lpfc_debugfs.c kfree(buffer); buffer 219 drivers/scsi/lpfc/lpfc_debugfs.c char *buffer; buffer 221 drivers/scsi/lpfc/lpfc_debugfs.c buffer = kmalloc(LPFC_DEBUG_TRC_ENTRY_SIZE, GFP_KERNEL); buffer 222 drivers/scsi/lpfc/lpfc_debugfs.c if (!buffer) buffer 236 drivers/scsi/lpfc/lpfc_debugfs.c snprintf(buffer, buffer 239 drivers/scsi/lpfc/lpfc_debugfs.c len += scnprintf(buf+len, size-len, buffer, buffer 247 drivers/scsi/lpfc/lpfc_debugfs.c snprintf(buffer, buffer 250 drivers/scsi/lpfc/lpfc_debugfs.c len += scnprintf(buf+len, size-len, buffer, buffer 255 drivers/scsi/lpfc/lpfc_debugfs.c kfree(buffer); buffer 670 drivers/scsi/lpfc/lpfc_debugfs.c char *buffer; buffer 672 drivers/scsi/lpfc/lpfc_debugfs.c buffer = kmalloc(1024, GFP_KERNEL); buffer 673 drivers/scsi/lpfc/lpfc_debugfs.c if (!buffer) buffer 680 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_memcpy_from_slim(buffer, buffer 683 drivers/scsi/lpfc/lpfc_debugfs.c ptr = (uint32_t *)&buffer[0]; buffer 703 drivers/scsi/lpfc/lpfc_debugfs.c kfree(buffer); buffer 1846 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(size, GFP_KERNEL); buffer 1847 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 1852 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_disc_trc_data(vport, debug->buffer, size); buffer 1896 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(size, GFP_KERNEL); buffer 1897 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 1902 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_slow_ring_trc_data(phba, debug->buffer, size); buffer 1937 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_HBQINFO_SIZE, GFP_KERNEL); buffer 1938 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 1943 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_hbqinfo_data(phba, debug->buffer, buffer 1979 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kzalloc(LPFC_DUMP_MULTIXRIPOOL_SIZE, GFP_KERNEL); buffer 1980 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 1986 drivers/scsi/lpfc/lpfc_debugfs.c phba, debug->buffer, LPFC_DUMP_MULTIXRIPOOL_SIZE); buffer 2024 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_HDWQINFO_SIZE, GFP_KERNEL); buffer 2025 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 2030 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_lockstat_data(phba, debug->buffer, buffer 2108 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_DUMPHBASLIM_SIZE, GFP_KERNEL); buffer 2109 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 2114 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_dumpHBASlim_data(phba, debug->buffer, buffer 2150 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_DUMPHOSTSLIM_SIZE, GFP_KERNEL); buffer 2151 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 2156 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_dumpHostSlim_data(phba, debug->buffer, buffer 2289 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_NODELIST_SIZE, GFP_KERNEL); buffer 2290 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 2295 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_nodelist_data(vport, debug->buffer, buffer 2350 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, debug->buffer, buffer 2371 drivers/scsi/lpfc/lpfc_debugfs.c kfree(debug->buffer); buffer 2459 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_NVMESTAT_SIZE, GFP_KERNEL); buffer 2460 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 2465 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_nvmestat_data(vport, debug->buffer, buffer 2547 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kzalloc(LPFC_SCSISTAT_SIZE, GFP_KERNEL); buffer 2548 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 2553 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_scsistat_data(vport, debug->buffer, buffer 2605 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_NVMEKTIME_SIZE, GFP_KERNEL); buffer 2606 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 2611 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_nvmektime_data(vport, debug->buffer, buffer 2732 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_NVMEIO_TRC_SIZE, GFP_KERNEL); buffer 2733 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 2738 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_nvmeio_trc_data(phba, debug->buffer, buffer 2837 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_CPUCHECK_SIZE, GFP_KERNEL); buffer 2838 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) { buffer 2843 drivers/scsi/lpfc/lpfc_debugfs.c debug->len = lpfc_debugfs_cpucheck_data(vport, debug->buffer, buffer 3003 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = NULL; buffer 3028 drivers/scsi/lpfc/lpfc_debugfs.c kfree(debug->buffer); buffer 3068 drivers/scsi/lpfc/lpfc_debugfs.c kfree(debug->buffer); buffer 3113 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 3114 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_PCI_CFG_SIZE, GFP_KERNEL); buffer 3115 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 3117 drivers/scsi/lpfc/lpfc_debugfs.c pbuffer = debug->buffer; buffer 3409 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 3410 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_PCI_BAR_RD_BUF_SIZE, GFP_KERNEL); buffer 3411 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 3413 drivers/scsi/lpfc/lpfc_debugfs.c pbuffer = debug->buffer; buffer 3854 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 3855 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_QUE_INFO_GET_BUF_SIZE, GFP_KERNEL); buffer 3856 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 3858 drivers/scsi/lpfc/lpfc_debugfs.c pbuffer = debug->buffer; buffer 4065 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 4066 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_QUE_ACC_BUF_SIZE, GFP_KERNEL); buffer 4067 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 4069 drivers/scsi/lpfc/lpfc_debugfs.c pbuffer = debug->buffer; buffer 4442 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 4443 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_DRB_ACC_BUF_SIZE, GFP_KERNEL); buffer 4444 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 4446 drivers/scsi/lpfc/lpfc_debugfs.c pbuffer = debug->buffer; buffer 4660 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 4661 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_CTL_ACC_BUF_SIZE, GFP_KERNEL); buffer 4662 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 4664 drivers/scsi/lpfc/lpfc_debugfs.c pbuffer = debug->buffer; buffer 4853 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 4854 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_MBX_ACC_BUF_SIZE, GFP_KERNEL); buffer 4855 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 4857 drivers/scsi/lpfc/lpfc_debugfs.c pbuffer = debug->buffer; buffer 5219 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 5220 drivers/scsi/lpfc/lpfc_debugfs.c debug->buffer = kmalloc(LPFC_EXT_ACC_BUF_SIZE, GFP_KERNEL); buffer 5221 drivers/scsi/lpfc/lpfc_debugfs.c if (!debug->buffer) buffer 5223 drivers/scsi/lpfc/lpfc_debugfs.c pbuffer = debug->buffer; buffer 216 drivers/scsi/lpfc/lpfc_debugfs.h char *buffer; buffer 4367 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_nlp_state_name(char *buffer, size_t size, int state) buffer 4382 drivers/scsi/lpfc/lpfc_hbadisc.c strlcpy(buffer, states[state], size); buffer 4384 drivers/scsi/lpfc/lpfc_hbadisc.c snprintf(buffer, size, "unknown (%d)", state); buffer 4385 drivers/scsi/lpfc/lpfc_hbadisc.c return buffer; buffer 1850 drivers/scsi/megaraid.c static char buffer[512]; buffer 1855 drivers/scsi/megaraid.c sprintf (buffer, buffer 1860 drivers/scsi/megaraid.c return buffer; buffer 479 drivers/scsi/megaraid.h u8 *buffer; buffer 483 drivers/scsi/megaraid.h u8 *buffer; buffer 961 drivers/scsi/megaraid.h u32 *buffer, u32 *length); buffer 415 drivers/scsi/megaraid/megaraid_mm.c kioc->user_data = mimd.ui.fcs.buffer; buffer 72 drivers/scsi/megaraid/megaraid_mm.h uint8_t __user *buffer; buffer 76 drivers/scsi/megaraid/megaraid_mm.h uint8_t __user *buffer; buffer 367 drivers/scsi/megaraid/megaraid_sas_base.c static char buffer[32]; buffer 370 drivers/scsi/megaraid/megaraid_sas_base.c snprintf(buffer, sizeof(buffer), "boot + %us", timestamp & buffer 373 drivers/scsi/megaraid/megaraid_sas_base.c snprintf(buffer, sizeof(buffer), "%us", timestamp); buffer 374 drivers/scsi/megaraid/megaraid_sas_base.c return buffer; buffer 380 drivers/scsi/megaraid/megaraid_sas_base.c static char buffer[6]; buffer 398 drivers/scsi/megaraid/megaraid_sas_base.c snprintf(buffer, sizeof(buffer), "%d", class); buffer 399 drivers/scsi/megaraid/megaraid_sas_base.c return buffer; buffer 697 drivers/scsi/mvsas/mv_init.c struct device_attribute *attr, char *buffer) buffer 699 drivers/scsi/mvsas/mv_init.c return snprintf(buffer, PAGE_SIZE, "%s\n", DRV_VERSION); buffer 710 drivers/scsi/mvsas/mv_init.c const char *buffer, size_t size) buffer 717 drivers/scsi/mvsas/mv_init.c if (buffer == NULL) buffer 720 drivers/scsi/mvsas/mv_init.c if (sscanf(buffer, "%u", &val) != 1) buffer 726 drivers/scsi/mvsas/mv_init.c return strlen(buffer); buffer 745 drivers/scsi/mvsas/mv_init.c return strlen(buffer); buffer 749 drivers/scsi/mvsas/mv_init.c struct device_attribute *attr, char *buffer) buffer 751 drivers/scsi/mvsas/mv_init.c return snprintf(buffer, PAGE_SIZE, "%d\n", interrupt_coalescing); buffer 1599 drivers/scsi/mvsas/mv_sas.c static void mvs_set_sense(u8 *buffer, int len, int d_sense, buffer 1602 drivers/scsi/mvsas/mv_sas.c memset(buffer, 0, len); buffer 1611 drivers/scsi/mvsas/mv_sas.c buffer[0] = 0x72; /* Response Code */ buffer 1613 drivers/scsi/mvsas/mv_sas.c buffer[1] = key; /* Sense Key */ buffer 1615 drivers/scsi/mvsas/mv_sas.c buffer[2] = asc; /* ASC */ buffer 1617 drivers/scsi/mvsas/mv_sas.c buffer[3] = ascq; /* ASCQ */ buffer 1624 drivers/scsi/mvsas/mv_sas.c buffer[0] = 0x70; /* Response Code */ buffer 1626 drivers/scsi/mvsas/mv_sas.c buffer[2] = key; /* Sense Key */ buffer 1628 drivers/scsi/mvsas/mv_sas.c buffer[7] = 0x0a; /* Additional Sense Length */ buffer 1630 drivers/scsi/mvsas/mv_sas.c buffer[12] = asc; /* ASC */ buffer 1632 drivers/scsi/mvsas/mv_sas.c buffer[13] = ascq; /* ASCQ */ buffer 1677 drivers/scsi/mvumi.c static void mvumi_notification(struct mvumi_hba *mhba, u8 msg, void *buffer) buffer 1682 drivers/scsi/mvumi.c struct mvumi_event_req *er = buffer; buffer 1695 drivers/scsi/mvumi.c mvumi_proc_msg(mhba, buffer); buffer 944 drivers/scsi/nsp32.c SCpnt->SCp.buffer = NULL; buffer 240 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.buffer = scsi_sglist(SCpnt); buffer 242 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; buffer 247 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.buffer = NULL; buffer 730 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.this_residual, SCpnt->SCp.buffer, buffer 792 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.buffer = sg_next(SCpnt->SCp.buffer); buffer 794 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; buffer 829 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.buffer, SCpnt->SCp.buffers_residual, buffer 890 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.buffer = sg_next(SCpnt->SCp.buffer); buffer 892 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; buffer 385 drivers/scsi/pcmcia/nsp_cs.h # define BUFFER_ADDR ((char *)((sg_virt(SCpnt->SCp.buffer)))) buffer 676 drivers/scsi/pm8001/pm8001_ctl.c memcpy((u8 *)fwControl->buffer, buffer 682 drivers/scsi/pm8001/pm8001_ctl.c memcpy((u8 *)fwControl->buffer, buffer 4955 drivers/scsi/pm8001/pm8001_hwi.c void *buffer = pm8001_ha->memoryMap.region[FW_FLASH].virt_ptr; buffer 4963 drivers/scsi/pm8001/pm8001_hwi.c memcpy(buffer, fw_control->buffer, fw_control->len); buffer 4971 drivers/scsi/pm8001/pm8001_hwi.c fw_control_context->virtAddr = buffer; buffer 612 drivers/scsi/pm8001/pm8001_sas.h u8 buffer[1];/* Start of buffer */ buffer 616 drivers/scsi/pm8001/pm8001_sas.h void *buffer;/* keep buffer pointer to be buffer 3253 drivers/scsi/pmcraid.c void __user *buffer, buffer 3269 drivers/scsi/pmcraid.c for (i = 0; i < (len / bsize_elem); i++, sg = sg_next(sg), buffer += bsize_elem) { buffer 3274 drivers/scsi/pmcraid.c rc = copy_from_user(kaddr, buffer, bsize_elem); buffer 3276 drivers/scsi/pmcraid.c rc = copy_to_user(buffer, kaddr, bsize_elem); buffer 3294 drivers/scsi/pmcraid.c rc = copy_from_user(kaddr, buffer, len % bsize_elem); buffer 3296 drivers/scsi/pmcraid.c rc = copy_to_user(buffer, kaddr, len % bsize_elem); buffer 3577 drivers/scsi/pmcraid.c struct pmcraid_passthrough_ioctl_buffer *buffer; buffer 3611 drivers/scsi/pmcraid.c buffer = kmalloc(buffer_size, GFP_KERNEL); buffer 3613 drivers/scsi/pmcraid.c if (!buffer) { buffer 3623 drivers/scsi/pmcraid.c rc = copy_from_user(buffer, arg, buffer 3634 drivers/scsi/pmcraid.c request_size = le32_to_cpu(buffer->ioarcb.data_transfer_length); buffer 3636 drivers/scsi/pmcraid.c if (buffer->ioarcb.request_flags0 & TRANSFER_DIR_WRITE) { buffer 3648 drivers/scsi/pmcraid.c if (le16_to_cpu(buffer->ioarcb.add_cmd_param_length) buffer 3666 drivers/scsi/pmcraid.c ioarcb->resource_handle = buffer->ioarcb.resource_handle; buffer 3667 drivers/scsi/pmcraid.c ioarcb->data_transfer_length = buffer->ioarcb.data_transfer_length; buffer 3668 drivers/scsi/pmcraid.c ioarcb->cmd_timeout = buffer->ioarcb.cmd_timeout; buffer 3669 drivers/scsi/pmcraid.c ioarcb->request_type = buffer->ioarcb.request_type; buffer 3670 drivers/scsi/pmcraid.c ioarcb->request_flags0 = buffer->ioarcb.request_flags0; buffer 3671 drivers/scsi/pmcraid.c ioarcb->request_flags1 = buffer->ioarcb.request_flags1; buffer 3672 drivers/scsi/pmcraid.c memcpy(ioarcb->cdb, buffer->ioarcb.cdb, PMCRAID_MAX_CDB_LEN); buffer 3674 drivers/scsi/pmcraid.c if (buffer->ioarcb.add_cmd_param_length) { buffer 3676 drivers/scsi/pmcraid.c buffer->ioarcb.add_cmd_param_length; buffer 3678 drivers/scsi/pmcraid.c buffer->ioarcb.add_cmd_param_offset; buffer 3680 drivers/scsi/pmcraid.c buffer->ioarcb.add_data.u.add_cmd_params, buffer 3681 drivers/scsi/pmcraid.c le16_to_cpu(buffer->ioarcb.add_cmd_param_length)); buffer 3738 drivers/scsi/pmcraid.c buffer->ioarcb.cmd_timeout = 0; buffer 3744 drivers/scsi/pmcraid.c if (buffer->ioarcb.cmd_timeout == 0) { buffer 3748 drivers/scsi/pmcraid.c msecs_to_jiffies(le16_to_cpu(buffer->ioarcb.cmd_timeout) * 1000))) { buffer 3821 drivers/scsi/pmcraid.c kfree(buffer); buffer 122 drivers/scsi/ppa.c static inline int ppa_write_info(struct Scsi_Host *host, char *buffer, int length) buffer 127 drivers/scsi/ppa.c if ((length > 5) && (strncmp(buffer, "mode=", 5) == 0)) { buffer 128 drivers/scsi/ppa.c x = simple_strtoul(buffer + 5, NULL, 0); buffer 132 drivers/scsi/ppa.c if ((length > 10) && (strncmp(buffer, "recon_tmo=", 10) == 0)) { buffer 133 drivers/scsi/ppa.c x = simple_strtoul(buffer + 10, NULL, 0); buffer 240 drivers/scsi/ppa.c static int ppa_byte_out(unsigned short base, const char *buffer, int len) buffer 245 drivers/scsi/ppa.c w_dtr(base, *buffer++); buffer 252 drivers/scsi/ppa.c static int ppa_byte_in(unsigned short base, char *buffer, int len) buffer 257 drivers/scsi/ppa.c *buffer++ = r_dtr(base); buffer 264 drivers/scsi/ppa.c static int ppa_nibble_in(unsigned short base, char *buffer, int len) buffer 272 drivers/scsi/ppa.c *buffer++ = h | ((r_str(base) & 0xf0) >> 4); buffer 277 drivers/scsi/ppa.c static int ppa_out(ppa_struct *dev, char *buffer, int len) buffer 292 drivers/scsi/ppa.c r = ppa_byte_out(ppb, buffer, len); buffer 301 drivers/scsi/ppa.c if (!(((long) buffer | len) & 0x01)) buffer 302 drivers/scsi/ppa.c outsw(ppb + 4, buffer, len >> 1); buffer 304 drivers/scsi/ppa.c if (!(((long) buffer | len) & 0x03)) buffer 305 drivers/scsi/ppa.c outsl(ppb + 4, buffer, len >> 2); buffer 308 drivers/scsi/ppa.c outsb(ppb + 4, buffer, len); buffer 322 drivers/scsi/ppa.c static int ppa_in(ppa_struct *dev, char *buffer, int len) buffer 336 drivers/scsi/ppa.c r = ppa_nibble_in(ppb, buffer, len); buffer 343 drivers/scsi/ppa.c r = ppa_byte_in(ppb, buffer, len); buffer 354 drivers/scsi/ppa.c if (!(((long) buffer | len) & 0x01)) buffer 355 drivers/scsi/ppa.c insw(ppb + 4, buffer, len >> 1); buffer 357 drivers/scsi/ppa.c if (!(((long) buffer | len) & 0x03)) buffer 358 drivers/scsi/ppa.c insl(ppb + 4, buffer, len >> 2); buffer 361 drivers/scsi/ppa.c insb(ppb + 4, buffer, len); buffer 590 drivers/scsi/ppa.c if (cmd->SCp.buffer && !cmd->SCp.this_residual) { buffer 593 drivers/scsi/ppa.c cmd->SCp.buffer = sg_next(cmd->SCp.buffer); buffer 595 drivers/scsi/ppa.c cmd->SCp.buffer->length; buffer 596 drivers/scsi/ppa.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); buffer 742 drivers/scsi/ppa.c cmd->SCp.buffer = scsi_sglist(cmd); buffer 743 drivers/scsi/ppa.c cmd->SCp.this_residual = cmd->SCp.buffer->length; buffer 744 drivers/scsi/ppa.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); buffer 746 drivers/scsi/ppa.c cmd->SCp.buffer = NULL; buffer 47 drivers/scsi/ps3rom.c u64 buffer; /* parameter except command block */ buffer 100 drivers/scsi/ps3rom.c atapi_cmnd.buffer = dev->bounce_lpar; buffer 129 drivers/scsi/ps3rom.c atapi_cmnd.buffer, buffer 100 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_fp_int_cmd_read(struct file *filp, char __user *buffer, size_t count, buffer 113 drivers/scsi/qedf/qedf_debugfs.c cnt = sprintf(buffer, "\nFastpath I/O completions\n\n"); buffer 119 drivers/scsi/qedf/qedf_debugfs.c cnt += sprintf((buffer + cnt), "#%d: %lu\n", id, buffer 129 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_fp_int_cmd_write(struct file *filp, const char __user *buffer, buffer 139 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_debug_cmd_read(struct file *filp, char __user *buffer, size_t count, buffer 147 drivers/scsi/qedf/qedf_debugfs.c cnt = sprintf(buffer, "debug mask = 0x%x\n", qedf_debug); buffer 155 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_debug_cmd_write(struct file *filp, const char __user *buffer, buffer 167 drivers/scsi/qedf/qedf_debugfs.c kern_buf = memdup_user(buffer, count); buffer 186 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_stop_io_on_error_cmd_read(struct file *filp, char __user *buffer, buffer 196 drivers/scsi/qedf/qedf_debugfs.c cnt = sprintf(buffer, "%s\n", buffer 206 drivers/scsi/qedf/qedf_debugfs.c const char __user *buffer, size_t count, buffer 220 drivers/scsi/qedf/qedf_debugfs.c kern_buf = memdup_user(buffer, 6); buffer 381 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_clear_stats_cmd_read(struct file *filp, char __user *buffer, buffer 394 drivers/scsi/qedf/qedf_debugfs.c const char __user *buffer, size_t count, buffer 94 drivers/scsi/qedi/qedi_debugfs.c qedi_dbg_do_not_recover_cmd_write(struct file *filp, const char __user *buffer, buffer 109 drivers/scsi/qedi/qedi_debugfs.c if (!strncmp(lof->oper_str, buffer, strlen(lof->oper_str))) { buffer 120 drivers/scsi/qedi/qedi_debugfs.c qedi_dbg_do_not_recover_cmd_read(struct file *filp, char __user *buffer, buffer 128 drivers/scsi/qedi/qedi_debugfs.c cnt = sprintf(buffer, "do_not_recover=%d\n", qedi_do_not_recover); buffer 1694 drivers/scsi/qla2xxx/qla_bsg.c memcpy(sfp, i2c->buffer, i2c->length); buffer 1749 drivers/scsi/qla2xxx/qla_bsg.c memcpy(i2c->buffer, sfp, i2c->length); buffer 221 drivers/scsi/qla2xxx/qla_bsg.h uint8_t buffer[0x40]; buffer 379 drivers/scsi/qla2xxx/qla_dfs.c qla_dfs_naqp_write(struct file *file, const char __user *buffer, buffer 400 drivers/scsi/qla2xxx/qla_dfs.c buf = memdup_user_nul(buffer, count); buffer 1401 drivers/scsi/qla2xxx/qla_mbx.c qla2x00_issue_iocb_timeout(scsi_qla_host_t *vha, void *buffer, buffer 1427 drivers/scsi/qla2xxx/qla_mbx.c sts_entry_t *sts_entry = (sts_entry_t *) buffer; buffer 1440 drivers/scsi/qla2xxx/qla_mbx.c qla2x00_issue_iocb(scsi_qla_host_t *vha, void *buffer, dma_addr_t phys_addr, buffer 1443 drivers/scsi/qla2xxx/qla_mbx.c return qla2x00_issue_iocb_timeout(vha, buffer, phys_addr, size, buffer 683 drivers/scsi/qla2xxx/qla_tmpl.c ulong offset = offsetof(typeof(*ent), t275.buffer); buffer 686 drivers/scsi/qla2xxx/qla_tmpl.c void *buffer = ent->t275.buffer; buffer 703 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_insertbuf(buffer, length, buf, len); buffer 203 drivers/scsi/qla2xxx/qla_tmpl.h uint8_t buffer[]; buffer 309 drivers/scsi/scsi.c static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer, buffer 329 drivers/scsi/scsi.c result = scsi_execute_req(sdev, cmd, DMA_FROM_DEVICE, buffer, buffer 335 drivers/scsi/scsi.c if (buffer[1] != page) buffer 338 drivers/scsi/scsi.c return get_unaligned_be16(&buffer[2]) + 4; buffer 487 drivers/scsi/scsi.c int scsi_report_opcode(struct scsi_device *sdev, unsigned char *buffer, buffer 503 drivers/scsi/scsi.c memset(buffer, 0, len); buffer 505 drivers/scsi/scsi.c result = scsi_execute_req(sdev, cmd, DMA_FROM_DEVICE, buffer, len, buffer 513 drivers/scsi/scsi.c if ((buffer[1] & 3) == 3) /* Command supported */ buffer 4550 drivers/scsi/scsi_debug.c static int scsi_debug_write_info(struct Scsi_Host *host, char *buffer, buffer 4559 drivers/scsi/scsi_debug.c memcpy(arr, buffer, minLen); buffer 713 drivers/scsi/scsi_devinfo.c char *buffer; buffer 718 drivers/scsi/scsi_devinfo.c if (!(buffer = (char *) __get_free_page(GFP_KERNEL))) buffer 720 drivers/scsi/scsi_devinfo.c if (copy_from_user(buffer, buf, length)) { buffer 726 drivers/scsi/scsi_devinfo.c buffer[length] = '\0'; buffer 727 drivers/scsi/scsi_devinfo.c else if (buffer[PAGE_SIZE-1]) { buffer 732 drivers/scsi/scsi_devinfo.c scsi_dev_info_list_add_str(buffer); buffer 735 drivers/scsi/scsi_devinfo.c free_page((unsigned long)buffer); buffer 42 drivers/scsi/scsi_ioctl.c static int ioctl_probe(struct Scsi_Host *host, void __user *buffer) buffer 47 drivers/scsi/scsi_ioctl.c if (buffer) { buffer 48 drivers/scsi/scsi_ioctl.c if (get_user(len, (unsigned int __user *) buffer)) buffer 59 drivers/scsi/scsi_ioctl.c if (copy_to_user(buffer, string, len)) buffer 249 drivers/scsi/scsi_lib.c int data_direction, void *buffer, unsigned bufflen, buffer 266 drivers/scsi/scsi_lib.c buffer, bufflen, GFP_NOIO)) buffer 288 drivers/scsi/scsi_lib.c memset(buffer + (bufflen - rq->resid_len), 0, rq->resid_len); buffer 2025 drivers/scsi/scsi_lib.c unsigned char *buffer, int len, int timeout, int retries, buffer 2041 drivers/scsi/scsi_lib.c memcpy(real_buffer + 8, buffer, len); buffer 2063 drivers/scsi/scsi_lib.c memcpy(real_buffer + 4, buffer, len); buffer 2101 drivers/scsi/scsi_lib.c unsigned char *buffer, int len, int timeout, int retries, buffer 2138 drivers/scsi/scsi_lib.c memset(buffer, 0, len); buffer 2140 drivers/scsi/scsi_lib.c result = scsi_execute_req(sdev, cmd, DMA_FROM_DEVICE, buffer, len, buffer 2163 drivers/scsi/scsi_lib.c if (unlikely(buffer[0] == 0x86 && buffer[1] == 0x0b && buffer 2173 drivers/scsi/scsi_lib.c data->length = buffer[0]*256 + buffer[1] + 2; buffer 2174 drivers/scsi/scsi_lib.c data->medium_type = buffer[2]; buffer 2175 drivers/scsi/scsi_lib.c data->device_specific = buffer[3]; buffer 2176 drivers/scsi/scsi_lib.c data->longlba = buffer[4] & 0x01; buffer 2177 drivers/scsi/scsi_lib.c data->block_descriptor_length = buffer[6]*256 buffer 2178 drivers/scsi/scsi_lib.c + buffer[7]; buffer 2180 drivers/scsi/scsi_lib.c data->length = buffer[0] + 1; buffer 2181 drivers/scsi/scsi_lib.c data->medium_type = buffer[1]; buffer 2182 drivers/scsi/scsi_lib.c data->device_specific = buffer[2]; buffer 2183 drivers/scsi/scsi_lib.c data->block_descriptor_length = buffer[3]; buffer 105 drivers/scsi/scsi_logging.c static size_t scsi_format_opcode_name(char *buffer, size_t buf_len, buffer 117 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, buffer 128 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "%s", cdb_name); buffer 130 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "opcode=0x%x", cdb0); buffer 134 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buffer 137 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buffer 142 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "%s", sa_name); buffer 144 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "%s, sa=0x%x", buffer 147 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, buffer 244 drivers/scsi/scsi_logging.c scsi_format_extd_sense(char *buffer, size_t buf_len, buffer 253 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "Add. Sense: %s", buffer 256 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buffer 260 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "<<vendor>>"); buffer 261 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buffer 264 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buffer 266 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buffer 273 drivers/scsi/scsi_logging.c scsi_format_sense_hdr(char *buffer, size_t buf_len, buffer 279 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "Sense Key : "); buffer 282 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buffer 285 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buffer 287 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buffer 291 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, "[descriptor] "); buffer 314 drivers/scsi/scsi_proc.c char *buffer, *p; buffer 320 drivers/scsi/scsi_proc.c buffer = (char *)__get_free_page(GFP_KERNEL); buffer 321 drivers/scsi/scsi_proc.c if (!buffer) buffer 325 drivers/scsi/scsi_proc.c if (copy_from_user(buffer, buf, length)) buffer 330 drivers/scsi/scsi_proc.c buffer[length] = '\0'; buffer 331 drivers/scsi/scsi_proc.c else if (buffer[PAGE_SIZE-1]) buffer 338 drivers/scsi/scsi_proc.c if (!strncmp("scsi add-single-device", buffer, 22)) { buffer 339 drivers/scsi/scsi_proc.c p = buffer + 23; buffer 352 drivers/scsi/scsi_proc.c } else if (!strncmp("scsi remove-single-device", buffer, 25)) { buffer 353 drivers/scsi/scsi_proc.c p = buffer + 26; buffer 371 drivers/scsi/scsi_proc.c free_page((unsigned long)buffer); buffer 343 drivers/scsi/scsi_transport_sas.c char *buffer = kzalloc(vpd_len, GFP_KERNEL); buffer 346 drivers/scsi/scsi_transport_sas.c if (!buffer) buffer 349 drivers/scsi/scsi_transport_sas.c if (scsi_get_vpd_page(sdev, 0x90, buffer, vpd_len)) buffer 358 drivers/scsi/scsi_transport_sas.c ret = buffer[12] & 0x01; buffer 361 drivers/scsi/scsi_transport_sas.c kfree(buffer); buffer 1229 drivers/scsi/scsi_transport_sas.c char *buffer = kzalloc(BUF_SIZE, GFP_KERNEL), *msdata; buffer 1234 drivers/scsi/scsi_transport_sas.c if (!buffer) buffer 1237 drivers/scsi/scsi_transport_sas.c res = scsi_mode_sense(sdev, 1, 0x19, buffer, BUF_SIZE, 30*HZ, 3, buffer 1244 drivers/scsi/scsi_transport_sas.c msdata = buffer + mode_data.header_length + buffer 1247 drivers/scsi/scsi_transport_sas.c if (msdata - buffer > BUF_SIZE - 8) buffer 1257 drivers/scsi/scsi_transport_sas.c kfree(buffer); buffer 109 drivers/scsi/scsi_transport_spi.c void *buffer, unsigned bufflen, buffer 120 drivers/scsi/scsi_transport_spi.c result = scsi_execute(sdev, cmd, dir, buffer, bufflen, sense, buffer 623 drivers/scsi/scsi_transport_spi.c spi_dv_device_echo_buffer(struct scsi_device *sdev, u8 *buffer, buffer 626 drivers/scsi/scsi_transport_spi.c int len = ptr - buffer; buffer 644 drivers/scsi/scsi_transport_spi.c buffer[j] = j; buffer 649 drivers/scsi/scsi_transport_spi.c u16 *word = (u16 *)&buffer[j]; buffer 657 drivers/scsi/scsi_transport_spi.c u16 *word = (u16 *)&buffer[j]; buffer 664 drivers/scsi/scsi_transport_spi.c u32 *word = (unsigned int *)&buffer[j]; buffer 675 drivers/scsi/scsi_transport_spi.c buffer, len, &sshdr); buffer 700 drivers/scsi/scsi_transport_spi.c if (memcmp(buffer, ptr, len) != 0) buffer 709 drivers/scsi/scsi_transport_spi.c spi_dv_device_compare_inquiry(struct scsi_device *sdev, u8 *buffer, buffer 731 drivers/scsi/scsi_transport_spi.c if (ptr == buffer) { buffer 737 drivers/scsi/scsi_transport_spi.c if (memcmp(buffer, ptr, len) != 0) buffer 745 drivers/scsi/scsi_transport_spi.c spi_dv_retrain(struct scsi_device *sdev, u8 *buffer, u8 *ptr, buffer 757 drivers/scsi/scsi_transport_spi.c retval = compare_fn(sdev, buffer, ptr, DV_LOOPS); buffer 803 drivers/scsi/scsi_transport_spi.c spi_dv_device_get_echo_buffer(struct scsi_device *sdev, u8 *buffer) buffer 840 drivers/scsi/scsi_transport_spi.c DMA_FROM_DEVICE, buffer, 4, NULL); buffer 846 drivers/scsi/scsi_transport_spi.c return buffer[3] + ((buffer[2] & 0x1f) << 8); buffer 850 drivers/scsi/scsi_transport_spi.c spi_dv_device_internal(struct scsi_device *sdev, u8 *buffer) buffer 862 drivers/scsi/scsi_transport_spi.c if (spi_dv_device_compare_inquiry(sdev, buffer, buffer, DV_LOOPS) buffer 878 drivers/scsi/scsi_transport_spi.c if (spi_dv_device_compare_inquiry(sdev, buffer, buffer 879 drivers/scsi/scsi_transport_spi.c buffer + len, buffer 949 drivers/scsi/scsi_transport_spi.c spi_dv_retrain(sdev, buffer, buffer + sdev->inquiry_len, buffer 961 drivers/scsi/scsi_transport_spi.c len = spi_dv_device_get_echo_buffer(sdev, buffer); buffer 973 drivers/scsi/scsi_transport_spi.c if (spi_dv_retrain(sdev, buffer, buffer + len, buffer 997 drivers/scsi/scsi_transport_spi.c u8 *buffer; buffer 1016 drivers/scsi/scsi_transport_spi.c buffer = kzalloc(len, GFP_KERNEL); buffer 1018 drivers/scsi/scsi_transport_spi.c if (unlikely(!buffer)) buffer 1033 drivers/scsi/scsi_transport_spi.c spi_dv_device_internal(sdev, buffer); buffer 1045 drivers/scsi/scsi_transport_spi.c kfree(buffer); buffer 123 drivers/scsi/sd.c static void sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer); buffer 164 drivers/scsi/sd.c char buffer[64]; buffer 198 drivers/scsi/sd.c if (scsi_mode_sense(sdp, 0x08, 8, buffer, sizeof(buffer), SD_TIMEOUT, buffer 201 drivers/scsi/sd.c len = min_t(size_t, sizeof(buffer), data.length - data.header_length - buffer 203 drivers/scsi/sd.c buffer_data = buffer + data.header_length + buffer 651 drivers/scsi/sd.c static int sd_sec_submit(void *data, u16 spsp, u8 secp, void *buffer, buffer 665 drivers/scsi/sd.c buffer, len, NULL, SD_TIMEOUT, SD_MAX_RETRIES, NULL); buffer 2199 drivers/scsi/sd.c static int sd_read_protection_type(struct scsi_disk *sdkp, unsigned char *buffer) buffer 2205 drivers/scsi/sd.c if (scsi_device_protection(sdp) == 0 || (buffer[12] & 1) == 0) { buffer 2210 drivers/scsi/sd.c type = ((buffer[12] >> 1) & 7) + 1; /* P_TYPE 0 = Type 1 */ buffer 2272 drivers/scsi/sd.c unsigned char *buffer) buffer 2291 drivers/scsi/sd.c memset(buffer, 0, RC16_LEN); buffer 2294 drivers/scsi/sd.c buffer, RC16_LEN, &sshdr, buffer 2328 drivers/scsi/sd.c sector_size = get_unaligned_be32(&buffer[8]); buffer 2329 drivers/scsi/sd.c lba = get_unaligned_be64(&buffer[0]); buffer 2331 drivers/scsi/sd.c if (sd_read_protection_type(sdkp, buffer) < 0) { buffer 2337 drivers/scsi/sd.c sdkp->physical_block_size = (1 << (buffer[13] & 0xf)) * sector_size; buffer 2340 drivers/scsi/sd.c sdkp->rc_basis = (buffer[12] >> 4) & 0x3; buffer 2343 drivers/scsi/sd.c alignment = ((buffer[14] & 0x3f) << 8 | buffer[15]) * sector_size; buffer 2349 drivers/scsi/sd.c if (buffer[14] & 0x80) { /* LBPME */ buffer 2352 drivers/scsi/sd.c if (buffer[14] & 0x40) /* LBPRZ */ buffer 2363 drivers/scsi/sd.c unsigned char *buffer) buffer 2376 drivers/scsi/sd.c memset(buffer, 0, 8); buffer 2379 drivers/scsi/sd.c buffer, 8, &sshdr, buffer 2405 drivers/scsi/sd.c sector_size = get_unaligned_be32(&buffer[4]); buffer 2406 drivers/scsi/sd.c lba = get_unaligned_be32(&buffer[0]); buffer 2439 drivers/scsi/sd.c sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer) buffer 2445 drivers/scsi/sd.c sector_size = read_capacity_16(sdkp, sdp, buffer); buffer 2451 drivers/scsi/sd.c sector_size = read_capacity_10(sdkp, sdp, buffer); buffer 2455 drivers/scsi/sd.c sector_size = read_capacity_10(sdkp, sdp, buffer); buffer 2465 drivers/scsi/sd.c sector_size = read_capacity_16(sdkp, sdp, buffer); buffer 2568 drivers/scsi/sd.c unsigned char *buffer, int len, struct scsi_mode_data *data, buffer 2571 drivers/scsi/sd.c return scsi_mode_sense(sdp, dbd, modepage, buffer, len, buffer 2581 drivers/scsi/sd.c sd_read_write_protect_flag(struct scsi_disk *sdkp, unsigned char *buffer) buffer 2595 drivers/scsi/sd.c res = sd_do_mode_sense(sdp, 0, 0x3F, buffer, 192, &data, NULL); buffer 2602 drivers/scsi/sd.c res = sd_do_mode_sense(sdp, 0, 0x3F, buffer, 4, &data, NULL); buffer 2611 drivers/scsi/sd.c res = sd_do_mode_sense(sdp, 0, 0, buffer, 4, &data, NULL); buffer 2617 drivers/scsi/sd.c res = sd_do_mode_sense(sdp, 0, 0x3F, buffer, 255, buffer 2630 drivers/scsi/sd.c sd_printk(KERN_DEBUG, sdkp, "Mode Sense: %4ph\n", buffer); buffer 2640 drivers/scsi/sd.c sd_read_cache_type(struct scsi_disk *sdkp, unsigned char *buffer) buffer 2679 drivers/scsi/sd.c res = sd_do_mode_sense(sdp, dbd, modepage, buffer, first_len, buffer 2711 drivers/scsi/sd.c res = sd_do_mode_sense(sdp, dbd, modepage, buffer, len, buffer 2718 drivers/scsi/sd.c u8 page_code = buffer[offset] & 0x3F; buffer 2719 drivers/scsi/sd.c u8 spf = buffer[offset] & 0x40; buffer 2736 drivers/scsi/sd.c offset += 4 + (buffer[offset+2] << 8) + buffer 2737 drivers/scsi/sd.c buffer[offset+3]; buffer 2739 drivers/scsi/sd.c offset += 2 + buffer[offset+1]; buffer 2754 drivers/scsi/sd.c sdkp->WCE = ((buffer[offset + 2] & 0x04) != 0); buffer 2755 drivers/scsi/sd.c sdkp->RCD = ((buffer[offset + 2] & 0x01) != 0); buffer 2757 drivers/scsi/sd.c sdkp->WCE = ((buffer[offset + 2] & 0x01) == 0); buffer 2816 drivers/scsi/sd.c static void sd_read_app_tag_own(struct scsi_disk *sdkp, unsigned char *buffer) buffer 2829 drivers/scsi/sd.c res = scsi_mode_sense(sdp, 1, 0x0a, buffer, 36, SD_TIMEOUT, buffer 2845 drivers/scsi/sd.c if ((buffer[offset] & 0x3f) != 0x0a) { buffer 2850 drivers/scsi/sd.c if ((buffer[offset + 5] & 0x80) == 0) buffer 2866 drivers/scsi/sd.c unsigned char *buffer = kmalloc(vpd_len, GFP_KERNEL); buffer 2868 drivers/scsi/sd.c if (!buffer || buffer 2870 drivers/scsi/sd.c scsi_get_vpd_page(sdkp->device, 0xb0, buffer, vpd_len)) buffer 2874 drivers/scsi/sd.c get_unaligned_be16(&buffer[6]) * sector_sz); buffer 2876 drivers/scsi/sd.c sdkp->max_xfer_blocks = get_unaligned_be32(&buffer[8]); buffer 2877 drivers/scsi/sd.c sdkp->opt_xfer_blocks = get_unaligned_be32(&buffer[12]); buffer 2879 drivers/scsi/sd.c if (buffer[3] == 0x3c) { buffer 2882 drivers/scsi/sd.c sdkp->max_ws_blocks = (u32)get_unaligned_be64(&buffer[36]); buffer 2887 drivers/scsi/sd.c lba_count = get_unaligned_be32(&buffer[20]); buffer 2888 drivers/scsi/sd.c desc_count = get_unaligned_be32(&buffer[24]); buffer 2893 drivers/scsi/sd.c sdkp->unmap_granularity = get_unaligned_be32(&buffer[28]); buffer 2895 drivers/scsi/sd.c if (buffer[32] & 0x80) buffer 2897 drivers/scsi/sd.c get_unaligned_be32(&buffer[32]) & ~(1 << 31); buffer 2919 drivers/scsi/sd.c kfree(buffer); buffer 2929 drivers/scsi/sd.c unsigned char *buffer; buffer 2933 drivers/scsi/sd.c buffer = kmalloc(vpd_len, GFP_KERNEL); buffer 2935 drivers/scsi/sd.c if (!buffer || buffer 2937 drivers/scsi/sd.c scsi_get_vpd_page(sdkp->device, 0xb1, buffer, vpd_len)) buffer 2940 drivers/scsi/sd.c rot = get_unaligned_be16(&buffer[4]); buffer 2951 drivers/scsi/sd.c sdkp->zoned = (buffer[8] >> 4) & 3; buffer 2967 drivers/scsi/sd.c kfree(buffer); buffer 2976 drivers/scsi/sd.c unsigned char *buffer; buffer 2982 drivers/scsi/sd.c buffer = kmalloc(vpd_len, GFP_KERNEL); buffer 2984 drivers/scsi/sd.c if (!buffer || scsi_get_vpd_page(sdkp->device, 0xb2, buffer, vpd_len)) buffer 2988 drivers/scsi/sd.c sdkp->lbpu = (buffer[5] >> 7) & 1; /* UNMAP */ buffer 2989 drivers/scsi/sd.c sdkp->lbpws = (buffer[5] >> 6) & 1; /* WRITE SAME(16) with UNMAP */ buffer 2990 drivers/scsi/sd.c sdkp->lbpws10 = (buffer[5] >> 5) & 1; /* WRITE SAME(10) with UNMAP */ buffer 2993 drivers/scsi/sd.c kfree(buffer); buffer 2996 drivers/scsi/sd.c static void sd_read_write_same(struct scsi_disk *sdkp, unsigned char *buffer) buffer 3006 drivers/scsi/sd.c if (scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, INQUIRY) < 0) { buffer 3016 drivers/scsi/sd.c if (!scsi_get_vpd_page(sdev, 0x89, buffer, vpd_buf_len)) buffer 3020 drivers/scsi/sd.c if (scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, WRITE_SAME_16) == 1) buffer 3023 drivers/scsi/sd.c if (scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, WRITE_SAME) == 1) buffer 3027 drivers/scsi/sd.c static void sd_read_security(struct scsi_disk *sdkp, unsigned char *buffer) buffer 3034 drivers/scsi/sd.c if (scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, buffer 3036 drivers/scsi/sd.c scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, buffer 3104 drivers/scsi/sd.c unsigned char *buffer; buffer 3117 drivers/scsi/sd.c buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL); buffer 3118 drivers/scsi/sd.c if (!buffer) { buffer 3131 drivers/scsi/sd.c sd_read_capacity(sdkp, buffer); buffer 3146 drivers/scsi/sd.c sd_zbc_read_zones(sdkp, buffer); buffer 3151 drivers/scsi/sd.c sd_read_write_protect_flag(sdkp, buffer); buffer 3152 drivers/scsi/sd.c sd_read_cache_type(sdkp, buffer); buffer 3153 drivers/scsi/sd.c sd_read_app_tag_own(sdkp, buffer); buffer 3154 drivers/scsi/sd.c sd_read_write_same(sdkp, buffer); buffer 3155 drivers/scsi/sd.c sd_read_security(sdkp, buffer); buffer 3196 drivers/scsi/sd.c kfree(buffer); buffer 210 drivers/scsi/sd.h extern int sd_zbc_read_zones(struct scsi_disk *sdkp, unsigned char *buffer); buffer 2301 drivers/scsi/sg.c static ssize_t sg_proc_write_adio(struct file *filp, const char __user *buffer, buffer 2314 drivers/scsi/sg.c const char __user *buffer, size_t count, loff_t *off); buffer 2385 drivers/scsi/sg.c sg_proc_write_adio(struct file *filp, const char __user *buffer, buffer 2393 drivers/scsi/sg.c err = kstrtoul_from_user(buffer, count, 0, &num); buffer 2406 drivers/scsi/sg.c sg_proc_write_dressz(struct file *filp, const char __user *buffer, buffer 2415 drivers/scsi/sg.c err = kstrtoul_from_user(buffer, count, 0, &k); buffer 1444 drivers/scsi/smartpqi/smartpqi.h struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length, buffer 413 drivers/scsi/smartpqi/smartpqi_init.c struct pqi_sg_descriptor *sg_descriptor, void *buffer, buffer 418 drivers/scsi/smartpqi/smartpqi_init.c if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) buffer 421 drivers/scsi/smartpqi/smartpqi_init.c bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, buffer 451 drivers/scsi/smartpqi/smartpqi_init.c u8 *scsi3addr, void *buffer, size_t buffer_length, buffer 551 drivers/scsi/smartpqi/smartpqi_init.c buffer, buffer_length, *dir); buffer 590 drivers/scsi/smartpqi/smartpqi_init.c u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, buffer 599 drivers/scsi/smartpqi/smartpqi_init.c cmd, scsi3addr, buffer, buffer 614 drivers/scsi/smartpqi/smartpqi_init.c u8 cmd, void *buffer, size_t buffer_length) buffer 617 drivers/scsi/smartpqi/smartpqi_init.c buffer, buffer_length, 0, NULL, NO_TIMEOUT); buffer 621 drivers/scsi/smartpqi/smartpqi_init.c u8 cmd, void *buffer, size_t buffer_length, buffer 625 drivers/scsi/smartpqi/smartpqi_init.c buffer, buffer_length, 0, error_info, NO_TIMEOUT); buffer 630 drivers/scsi/smartpqi/smartpqi_init.c struct bmic_identify_controller *buffer) buffer 633 drivers/scsi/smartpqi/smartpqi_init.c buffer, sizeof(*buffer)); buffer 645 drivers/scsi/smartpqi/smartpqi_init.c u8 *scsi3addr, u16 vpd_page, void *buffer, size_t buffer_length) buffer 648 drivers/scsi/smartpqi/smartpqi_init.c buffer, buffer_length, vpd_page, NULL, NO_TIMEOUT); buffer 653 drivers/scsi/smartpqi/smartpqi_init.c struct bmic_identify_physical_device *buffer, buffer 662 drivers/scsi/smartpqi/smartpqi_init.c BMIC_IDENTIFY_PHYSICAL_DEVICE, RAID_CTLR_LUNID, buffer, buffer 706 drivers/scsi/smartpqi/smartpqi_init.c struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length, buffer 710 drivers/scsi/smartpqi/smartpqi_init.c buffer, buffer_length, error_info); buffer 740 drivers/scsi/smartpqi/smartpqi_init.c void *buffer, size_t buffer_length) buffer 743 drivers/scsi/smartpqi/smartpqi_init.c buffer, buffer_length); buffer 763 drivers/scsi/smartpqi/smartpqi_init.c struct bmic_host_wellness_driver_version *buffer; buffer 766 drivers/scsi/smartpqi/smartpqi_init.c buffer_length = sizeof(*buffer); buffer 768 drivers/scsi/smartpqi/smartpqi_init.c buffer = kmalloc(buffer_length, GFP_KERNEL); buffer 769 drivers/scsi/smartpqi/smartpqi_init.c if (!buffer) buffer 772 drivers/scsi/smartpqi/smartpqi_init.c buffer->start_tag[0] = '<'; buffer 773 drivers/scsi/smartpqi/smartpqi_init.c buffer->start_tag[1] = 'H'; buffer 774 drivers/scsi/smartpqi/smartpqi_init.c buffer->start_tag[2] = 'W'; buffer 775 drivers/scsi/smartpqi/smartpqi_init.c buffer->start_tag[3] = '>'; buffer 776 drivers/scsi/smartpqi/smartpqi_init.c buffer->driver_version_tag[0] = 'D'; buffer 777 drivers/scsi/smartpqi/smartpqi_init.c buffer->driver_version_tag[1] = 'V'; buffer 778 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(sizeof(buffer->driver_version), buffer 779 drivers/scsi/smartpqi/smartpqi_init.c &buffer->driver_version_length); buffer 780 drivers/scsi/smartpqi/smartpqi_init.c strncpy(buffer->driver_version, "Linux " DRIVER_VERSION, buffer 781 drivers/scsi/smartpqi/smartpqi_init.c sizeof(buffer->driver_version) - 1); buffer 782 drivers/scsi/smartpqi/smartpqi_init.c buffer->driver_version[sizeof(buffer->driver_version) - 1] = '\0'; buffer 783 drivers/scsi/smartpqi/smartpqi_init.c buffer->dont_write_tag[0] = 'D'; buffer 784 drivers/scsi/smartpqi/smartpqi_init.c buffer->dont_write_tag[1] = 'W'; buffer 785 drivers/scsi/smartpqi/smartpqi_init.c buffer->end_tag[0] = 'Z'; buffer 786 drivers/scsi/smartpqi/smartpqi_init.c buffer->end_tag[1] = 'Z'; buffer 788 drivers/scsi/smartpqi/smartpqi_init.c rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); buffer 790 drivers/scsi/smartpqi/smartpqi_init.c kfree(buffer); buffer 812 drivers/scsi/smartpqi/smartpqi_init.c struct bmic_host_wellness_time *buffer; buffer 818 drivers/scsi/smartpqi/smartpqi_init.c buffer_length = sizeof(*buffer); buffer 820 drivers/scsi/smartpqi/smartpqi_init.c buffer = kmalloc(buffer_length, GFP_KERNEL); buffer 821 drivers/scsi/smartpqi/smartpqi_init.c if (!buffer) buffer 824 drivers/scsi/smartpqi/smartpqi_init.c buffer->start_tag[0] = '<'; buffer 825 drivers/scsi/smartpqi/smartpqi_init.c buffer->start_tag[1] = 'H'; buffer 826 drivers/scsi/smartpqi/smartpqi_init.c buffer->start_tag[2] = 'W'; buffer 827 drivers/scsi/smartpqi/smartpqi_init.c buffer->start_tag[3] = '>'; buffer 828 drivers/scsi/smartpqi/smartpqi_init.c buffer->time_tag[0] = 'T'; buffer 829 drivers/scsi/smartpqi/smartpqi_init.c buffer->time_tag[1] = 'D'; buffer 830 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(sizeof(buffer->time), buffer 831 drivers/scsi/smartpqi/smartpqi_init.c &buffer->time_length); buffer 837 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[0] = bin2bcd(tm.tm_hour); buffer 838 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[1] = bin2bcd(tm.tm_min); buffer 839 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[2] = bin2bcd(tm.tm_sec); buffer 840 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[3] = 0; buffer 841 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[4] = bin2bcd(tm.tm_mon + 1); buffer 842 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[5] = bin2bcd(tm.tm_mday); buffer 843 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[6] = bin2bcd(year / 100); buffer 844 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[7] = bin2bcd(year % 100); buffer 846 drivers/scsi/smartpqi/smartpqi_init.c buffer->dont_write_tag[0] = 'D'; buffer 847 drivers/scsi/smartpqi/smartpqi_init.c buffer->dont_write_tag[1] = 'W'; buffer 848 drivers/scsi/smartpqi/smartpqi_init.c buffer->end_tag[0] = 'Z'; buffer 849 drivers/scsi/smartpqi/smartpqi_init.c buffer->end_tag[1] = 'Z'; buffer 851 drivers/scsi/smartpqi/smartpqi_init.c rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); buffer 853 drivers/scsi/smartpqi/smartpqi_init.c kfree(buffer); buffer 893 drivers/scsi/smartpqi/smartpqi_init.c void *buffer, size_t buffer_length) buffer 895 drivers/scsi/smartpqi/smartpqi_init.c return pqi_send_ctrl_raid_request(ctrl_info, cmd, buffer, buffer 900 drivers/scsi/smartpqi/smartpqi_init.c void **buffer) buffer 957 drivers/scsi/smartpqi/smartpqi_init.c *buffer = lun_data; buffer 963 drivers/scsi/smartpqi/smartpqi_init.c void **buffer) buffer 966 drivers/scsi/smartpqi/smartpqi_init.c buffer); buffer 970 drivers/scsi/smartpqi/smartpqi_init.c void **buffer) buffer 972 drivers/scsi/smartpqi/smartpqi_init.c return pqi_report_phys_logical_luns(ctrl_info, CISS_REPORT_LOG, buffer); buffer 1089 drivers/scsi/smartpqi/smartpqi_init.c u8 *buffer; buffer 1093 drivers/scsi/smartpqi/smartpqi_init.c buffer = kmalloc(64, GFP_KERNEL); buffer 1094 drivers/scsi/smartpqi/smartpqi_init.c if (buffer) { buffer 1096 drivers/scsi/smartpqi/smartpqi_init.c VPD_PAGE | CISS_VPD_LV_DEVICE_GEOMETRY, buffer, 64); buffer 1098 drivers/scsi/smartpqi/smartpqi_init.c raid_level = buffer[8]; buffer 1102 drivers/scsi/smartpqi/smartpqi_init.c kfree(buffer); buffer 1218 drivers/scsi/smartpqi/smartpqi_init.c u8 *buffer; buffer 1221 drivers/scsi/smartpqi/smartpqi_init.c buffer = kmalloc(64, GFP_KERNEL); buffer 1222 drivers/scsi/smartpqi/smartpqi_init.c if (!buffer) buffer 1226 drivers/scsi/smartpqi/smartpqi_init.c VPD_PAGE | CISS_VPD_LV_BYPASS_STATUS, buffer, 64); buffer 1234 drivers/scsi/smartpqi/smartpqi_init.c bypass_status = buffer[RAID_BYPASS_STATUS]; buffer 1243 drivers/scsi/smartpqi/smartpqi_init.c kfree(buffer); buffer 1294 drivers/scsi/smartpqi/smartpqi_init.c u8 *buffer; buffer 1300 drivers/scsi/smartpqi/smartpqi_init.c buffer = kmalloc(64, GFP_KERNEL); buffer 1301 drivers/scsi/smartpqi/smartpqi_init.c if (!buffer) buffer 1307 drivers/scsi/smartpqi/smartpqi_init.c buffer, 64); buffer 1316 drivers/scsi/smartpqi/smartpqi_init.c scsi_sanitize_inquiry_string(&buffer[8], 8); buffer 1317 drivers/scsi/smartpqi/smartpqi_init.c scsi_sanitize_inquiry_string(&buffer[16], 16); buffer 1319 drivers/scsi/smartpqi/smartpqi_init.c device->devtype = buffer[0] & 0x1f; buffer 1320 drivers/scsi/smartpqi/smartpqi_init.c memcpy(device->vendor, &buffer[8], sizeof(device->vendor)); buffer 1321 drivers/scsi/smartpqi/smartpqi_init.c memcpy(device->model, &buffer[16], sizeof(device->model)); buffer 1336 drivers/scsi/smartpqi/smartpqi_init.c kfree(buffer); buffer 1595 drivers/scsi/smartpqi/smartpqi_init.c char buffer[PQI_DEV_INFO_BUFFER_LENGTH]; buffer 1597 drivers/scsi/smartpqi/smartpqi_init.c count = snprintf(buffer, PQI_DEV_INFO_BUFFER_LENGTH, buffer 1601 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, buffer 1607 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, buffer 1612 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, buffer 1618 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, buffer 1622 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, PQI_DEV_INFO_BUFFER_LENGTH - count, buffer 1630 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, buffer 1637 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, buffer 1642 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, buffer 1647 drivers/scsi/smartpqi/smartpqi_init.c dev_info(&ctrl_info->pci_dev->dev, "%s %s\n", action, buffer); buffer 6104 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6112 drivers/scsi/smartpqi/smartpqi_init.c return snprintf(buffer, PAGE_SIZE, "%s\n", ctrl_info->firmware_version); buffer 6116 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6124 drivers/scsi/smartpqi/smartpqi_init.c return snprintf(buffer, PAGE_SIZE, buffer 6129 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6137 drivers/scsi/smartpqi/smartpqi_init.c return snprintf(buffer, PAGE_SIZE, "%s\n", ctrl_info->serial_number); buffer 6141 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6149 drivers/scsi/smartpqi/smartpqi_init.c return snprintf(buffer, PAGE_SIZE, "%s\n", ctrl_info->model); buffer 6153 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6161 drivers/scsi/smartpqi/smartpqi_init.c return snprintf(buffer, PAGE_SIZE, "%s\n", ctrl_info->vendor); buffer 6165 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, const char *buffer, size_t count) buffer 6175 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6182 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, PAGE_SIZE - count, buffer 6185 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, PAGE_SIZE - count, buffer 6189 drivers/scsi/smartpqi/smartpqi_init.c count += snprintf(buffer + count, PAGE_SIZE - count, "\n"); buffer 6195 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, const char *buffer, size_t count) buffer 6201 drivers/scsi/smartpqi/smartpqi_init.c strlcpy(action_name_buffer, buffer, sizeof(action_name_buffer)); buffer 6235 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6264 drivers/scsi/smartpqi/smartpqi_init.c return snprintf(buffer, PAGE_SIZE, buffer 6273 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6296 drivers/scsi/smartpqi/smartpqi_init.c return snprintf(buffer, PAGE_SIZE, "0x%8phN\n", lunid); buffer 6385 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6408 drivers/scsi/smartpqi/smartpqi_init.c return snprintf(buffer, PAGE_SIZE, "0x%016llx\n", sas_address); buffer 6412 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6425 drivers/scsi/smartpqi/smartpqi_init.c buffer[0] = device->raid_bypass_enabled ? '1' : '0'; buffer 6426 drivers/scsi/smartpqi/smartpqi_init.c buffer[1] = '\n'; buffer 6427 drivers/scsi/smartpqi/smartpqi_init.c buffer[2] = '\0'; buffer 6435 drivers/scsi/smartpqi/smartpqi_init.c struct device_attribute *attr, char *buffer) buffer 6457 drivers/scsi/smartpqi/smartpqi_init.c return snprintf(buffer, PAGE_SIZE, "%s\n", raid_level); buffer 784 drivers/scsi/sr.c unsigned char buffer[8]; buffer 792 drivers/scsi/sr.c memset(buffer, 0, sizeof(buffer)); buffer 796 drivers/scsi/sr.c buffer, sizeof(buffer), NULL, buffer 810 drivers/scsi/sr.c cd->capacity = 1 + ((buffer[0] << 24) | (buffer[1] << 16) | buffer 811 drivers/scsi/sr.c (buffer[2] << 8) | buffer[3]); buffer 822 drivers/scsi/sr.c sector_size = (buffer[4] << 24) | buffer 823 drivers/scsi/sr.c (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; buffer 864 drivers/scsi/sr.c unsigned char *buffer; buffer 884 drivers/scsi/sr.c buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); buffer 885 drivers/scsi/sr.c if (!buffer) { buffer 894 drivers/scsi/sr.c rc = scsi_mode_sense(cd->device, 0, 0x2a, buffer, ms_len, buffer 905 drivers/scsi/sr.c kfree(buffer); buffer 911 drivers/scsi/sr.c cd->cdi.speed = ((buffer[n + 8] << 8) + buffer[n + 9]) / 176; buffer 913 drivers/scsi/sr.c cd->readcd_cdda = buffer[n + 5] & 0x01; buffer 917 drivers/scsi/sr.c ((buffer[n + 14] << 8) + buffer[n + 15]) / 176, buffer 919 drivers/scsi/sr.c buffer[n + 3] & 0x01 ? "writer " : "", /* CD Writer */ buffer 920 drivers/scsi/sr.c buffer[n + 3] & 0x20 ? "dvd-ram " : "", buffer 921 drivers/scsi/sr.c buffer[n + 2] & 0x02 ? "cd/rw " : "", /* can read rewriteable */ buffer 922 drivers/scsi/sr.c buffer[n + 4] & 0x20 ? "xa/form2 " : "", /* can read xa/from2 */ buffer 923 drivers/scsi/sr.c buffer[n + 5] & 0x01 ? "cdda " : "", /* can read audio data */ buffer 924 drivers/scsi/sr.c loadmech[buffer[n + 6] >> 5]); buffer 925 drivers/scsi/sr.c if ((buffer[n + 6] >> 5) == 0) buffer 928 drivers/scsi/sr.c if ((buffer[n + 2] & 0x8) == 0) buffer 931 drivers/scsi/sr.c if ((buffer[n + 3] & 0x20) == 0) buffer 934 drivers/scsi/sr.c if ((buffer[n + 3] & 0x10) == 0) buffer 937 drivers/scsi/sr.c if ((buffer[n + 3] & 0x2) == 0) buffer 940 drivers/scsi/sr.c if ((buffer[n + 3] & 0x1) == 0) buffer 943 drivers/scsi/sr.c if ((buffer[n + 6] & 0x8) == 0) buffer 947 drivers/scsi/sr.c if ((buffer[n + 6] >> 5) == mechtype_individual_changer || buffer 948 drivers/scsi/sr.c (buffer[n + 6] >> 5) == mechtype_cartridge_changer) buffer 965 drivers/scsi/sr.c kfree(buffer); buffer 46 drivers/scsi/sr_ioctl.c unsigned char *buffer; buffer 48 drivers/scsi/sr_ioctl.c buffer = kmalloc(32, GFP_KERNEL | SR_GFP_DMA(cd)); buffer 49 drivers/scsi/sr_ioctl.c if (!buffer) buffer 56 drivers/scsi/sr_ioctl.c cgc.buffer = buffer; buffer 63 drivers/scsi/sr_ioctl.c tochdr->cdth_trk0 = buffer[2]; buffer 64 drivers/scsi/sr_ioctl.c tochdr->cdth_trk1 = buffer[3]; buffer 66 drivers/scsi/sr_ioctl.c kfree(buffer); buffer 76 drivers/scsi/sr_ioctl.c unsigned char *buffer; buffer 78 drivers/scsi/sr_ioctl.c buffer = kmalloc(32, GFP_KERNEL | SR_GFP_DMA(cd)); buffer 79 drivers/scsi/sr_ioctl.c if (!buffer) buffer 88 drivers/scsi/sr_ioctl.c cgc.buffer = buffer; buffer 94 drivers/scsi/sr_ioctl.c tocentry->cdte_ctrl = buffer[5] & 0xf; buffer 95 drivers/scsi/sr_ioctl.c tocentry->cdte_adr = buffer[5] >> 4; buffer 98 drivers/scsi/sr_ioctl.c tocentry->cdte_addr.msf.minute = buffer[9]; buffer 99 drivers/scsi/sr_ioctl.c tocentry->cdte_addr.msf.second = buffer[10]; buffer 100 drivers/scsi/sr_ioctl.c tocentry->cdte_addr.msf.frame = buffer[11]; buffer 102 drivers/scsi/sr_ioctl.c tocentry->cdte_addr.lba = (((((buffer[8] << 8) + buffer[9]) << 8) buffer 103 drivers/scsi/sr_ioctl.c + buffer[10]) << 8) + buffer[11]; buffer 105 drivers/scsi/sr_ioctl.c kfree(buffer); buffer 204 drivers/scsi/sr_ioctl.c cgc->buffer, cgc->buflen, NULL, sshdr, buffer 387 drivers/scsi/sr_ioctl.c char *buffer = kmalloc(32, GFP_KERNEL | SR_GFP_DMA(cd)); buffer 390 drivers/scsi/sr_ioctl.c if (!buffer) buffer 398 drivers/scsi/sr_ioctl.c cgc.buffer = buffer; buffer 404 drivers/scsi/sr_ioctl.c memcpy(mcn->medium_catalog_number, buffer + 9, 13); buffer 407 drivers/scsi/sr_ioctl.c kfree(buffer); buffer 503 drivers/scsi/sr_ioctl.c cgc.buffer = dest; buffer 546 drivers/scsi/sr_ioctl.c cgc.buffer = dest; buffer 112 drivers/scsi/sr_vendor.c unsigned char *buffer; /* the buffer for the ioctl */ buffer 122 drivers/scsi/sr_vendor.c buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); buffer 123 drivers/scsi/sr_vendor.c if (!buffer) buffer 133 drivers/scsi/sr_vendor.c modesel = (struct ccs_modesel_head *) buffer; buffer 139 drivers/scsi/sr_vendor.c cgc.buffer = buffer; buffer 152 drivers/scsi/sr_vendor.c kfree(buffer); buffer 163 drivers/scsi/sr_vendor.c unsigned char *buffer; /* the buffer for the ioctl */ buffer 170 drivers/scsi/sr_vendor.c buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); buffer 171 drivers/scsi/sr_vendor.c if (!buffer) buffer 186 drivers/scsi/sr_vendor.c cgc.buffer = buffer; buffer 194 drivers/scsi/sr_vendor.c if ((buffer[0] << 8) + buffer[1] < 0x0a) { buffer 200 drivers/scsi/sr_vendor.c sector = buffer[11] + (buffer[10] << 8) + buffer 201 drivers/scsi/sr_vendor.c (buffer[9] << 16) + (buffer[8] << 24); buffer 202 drivers/scsi/sr_vendor.c if (buffer[6] <= 1) { buffer 214 drivers/scsi/sr_vendor.c cgc.buffer = buffer; buffer 222 drivers/scsi/sr_vendor.c if (buffer[14] != 0 && buffer[14] != 0xb0) { buffer 229 drivers/scsi/sr_vendor.c min = bcd2bin(buffer[15]); buffer 230 drivers/scsi/sr_vendor.c sec = bcd2bin(buffer[16]); buffer 231 drivers/scsi/sr_vendor.c frame = bcd2bin(buffer[17]); buffer 243 drivers/scsi/sr_vendor.c cgc.buffer = buffer; buffer 257 drivers/scsi/sr_vendor.c min = bcd2bin(buffer[1]); buffer 258 drivers/scsi/sr_vendor.c sec = bcd2bin(buffer[2]); buffer 259 drivers/scsi/sr_vendor.c frame = bcd2bin(buffer[3]); buffer 271 drivers/scsi/sr_vendor.c cgc.buffer = buffer; buffer 280 drivers/scsi/sr_vendor.c if ((rc = buffer[2]) == 0) { buffer 289 drivers/scsi/sr_vendor.c cgc.buffer = buffer; buffer 298 drivers/scsi/sr_vendor.c sector = buffer[11] + (buffer[10] << 8) + buffer 299 drivers/scsi/sr_vendor.c (buffer[9] << 16) + (buffer[8] << 24); buffer 328 drivers/scsi/sr_vendor.c kfree(buffer); buffer 370 drivers/scsi/st.c cmdstatp = &STp->buffer->cmdstat; buffer 374 drivers/scsi/st.c scode = STp->buffer->cmdstat.sense_hdr.sense_key; buffer 462 drivers/scsi/st.c stp->buffer->syscall_result = -EINTR; buffer 464 drivers/scsi/st.c stp->buffer->syscall_result = -EBUSY; buffer 487 drivers/scsi/st.c - STp->buffer->cmdstat.residual, buffer 489 drivers/scsi/st.c if (STp->buffer->cmdstat.residual > 0) buffer 501 drivers/scsi/st.c - STp->buffer->cmdstat.residual, buffer 503 drivers/scsi/st.c if (STp->buffer->cmdstat.residual > 0) buffer 523 drivers/scsi/st.c STp->buffer->cmdstat.midlevel_result = SRpnt->result = rq->result; buffer 524 drivers/scsi/st.c STp->buffer->cmdstat.residual = rq->resid_len; buffer 539 drivers/scsi/st.c int data_direction, void *buffer, unsigned bufflen, buffer 544 drivers/scsi/st.c struct rq_map_data *mdata = &SRpnt->stp->buffer->map_data; buffer 598 drivers/scsi/st.c struct rq_map_data *mdata = &STp->buffer->map_data; buffer 602 drivers/scsi/st.c if (!do_wait && ((STp->buffer)->last_SRpnt)) { buffer 606 drivers/scsi/st.c (STp->buffer)->syscall_result = (-EINTR); buffer 608 drivers/scsi/st.c (STp->buffer)->syscall_result = (-EBUSY); buffer 621 drivers/scsi/st.c (STp->buffer)->last_SRpnt = SRpnt; buffer 627 drivers/scsi/st.c if (STp->buffer->do_dio) { buffer 629 drivers/scsi/st.c mdata->nr_entries = STp->buffer->sg_segs; buffer 630 drivers/scsi/st.c mdata->pages = STp->buffer->mapped_pages; buffer 632 drivers/scsi/st.c mdata->page_order = STp->buffer->reserved_page_order; buffer 635 drivers/scsi/st.c mdata->pages = STp->buffer->reserved_pages; buffer 640 drivers/scsi/st.c STp->buffer->cmdstat.have_sense = 0; buffer 641 drivers/scsi/st.c STp->buffer->syscall_result = 0; buffer 647 drivers/scsi/st.c (STp->buffer)->syscall_result = (-EBUSY); buffer 648 drivers/scsi/st.c (STp->buffer)->last_SRpnt = NULL; buffer 652 drivers/scsi/st.c (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); buffer 671 drivers/scsi/st.c STbuffer = STp->buffer; buffer 687 drivers/scsi/st.c (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); buffer 748 drivers/scsi/st.c return (STp->buffer)->syscall_result; buffer 753 drivers/scsi/st.c if ((STp->buffer)->cmdstat.midlevel_result != 0) buffer 758 drivers/scsi/st.c return (STp->buffer)->syscall_result; buffer 778 drivers/scsi/st.c transfer = STp->buffer->buffer_bytes; buffer 793 drivers/scsi/st.c return (STp->buffer)->syscall_result; buffer 796 drivers/scsi/st.c if ((STp->buffer)->syscall_result != 0) { buffer 797 drivers/scsi/st.c struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; buffer 806 drivers/scsi/st.c (STp->buffer)->buffer_bytes = 0; buffer 819 drivers/scsi/st.c (STp->buffer)->buffer_bytes = 0; buffer 851 drivers/scsi/st.c backspace = ((STp->buffer)->buffer_bytes + buffer 852 drivers/scsi/st.c (STp->buffer)->read_pointer) / STp->block_size - buffer 853 drivers/scsi/st.c ((STp->buffer)->read_pointer + STp->block_size - 1) / buffer 855 drivers/scsi/st.c (STp->buffer)->buffer_bytes = 0; buffer 856 drivers/scsi/st.c (STp->buffer)->read_pointer = 0; buffer 971 drivers/scsi/st.c struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; buffer 982 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; buffer 1022 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; buffer 1115 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; buffer 1119 drivers/scsi/st.c if (!SRpnt->result && !STp->buffer->cmdstat.have_sense) { buffer 1120 drivers/scsi/st.c STp->max_block = ((STp->buffer)->b_data[1] << 16) | buffer 1121 drivers/scsi/st.c ((STp->buffer)->b_data[2] << 8) | (STp->buffer)->b_data[3]; buffer 1122 drivers/scsi/st.c STp->min_block = ((STp->buffer)->b_data[4] << 8) | buffer 1123 drivers/scsi/st.c (STp->buffer)->b_data[5]; buffer 1142 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; buffer 1146 drivers/scsi/st.c if ((STp->buffer)->syscall_result != 0) { buffer 1149 drivers/scsi/st.c (STp->buffer)->syscall_result = 0; /* Prevent error propagation */ buffer 1154 drivers/scsi/st.c (STp->buffer)->b_data[0], buffer 1155 drivers/scsi/st.c (STp->buffer)->b_data[1], buffer 1156 drivers/scsi/st.c (STp->buffer)->b_data[2], buffer 1157 drivers/scsi/st.c (STp->buffer)->b_data[3]); buffer 1159 drivers/scsi/st.c if ((STp->buffer)->b_data[3] >= 8) { buffer 1160 drivers/scsi/st.c STp->drv_buffer = ((STp->buffer)->b_data[2] >> 4) & 7; buffer 1161 drivers/scsi/st.c STp->density = (STp->buffer)->b_data[4]; buffer 1162 drivers/scsi/st.c STp->block_size = (STp->buffer)->b_data[9] * 65536 + buffer 1163 drivers/scsi/st.c (STp->buffer)->b_data[10] * 256 + (STp->buffer)->b_data[11]; buffer 1167 drivers/scsi/st.c (STp->buffer)->b_data[5] * 65536 + buffer 1168 drivers/scsi/st.c (STp->buffer)->b_data[6] * 256 + buffer 1169 drivers/scsi/st.c (STp->buffer)->b_data[7], buffer 1172 drivers/scsi/st.c STp->drv_write_prot = ((STp->buffer)->b_data[2] & 0x80) != 0; buffer 1185 drivers/scsi/st.c (STp->buffer)->buffer_blocks = buffer 1186 drivers/scsi/st.c (STp->buffer)->buffer_size / STp->block_size; buffer 1188 drivers/scsi/st.c (STp->buffer)->buffer_blocks = 1; buffer 1189 drivers/scsi/st.c (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; buffer 1192 drivers/scsi/st.c STp->block_size, (STp->buffer)->buffer_size, buffer 1193 drivers/scsi/st.c (STp->buffer)->buffer_blocks); buffer 1290 drivers/scsi/st.c if (!enlarge_buffer(STp->buffer, PAGE_SIZE, STp->restr_dma)) { buffer 1297 drivers/scsi/st.c (STp->buffer)->cleared = 0; buffer 1298 drivers/scsi/st.c (STp->buffer)->writing = 0; buffer 1299 drivers/scsi/st.c (STp->buffer)->syscall_result = 0; buffer 1327 drivers/scsi/st.c normalize_buffer(STp->buffer); buffer 1373 drivers/scsi/st.c struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; buffer 1389 drivers/scsi/st.c result = (STp->buffer)->syscall_result; buffer 1393 drivers/scsi/st.c if (STp->buffer->syscall_result == 0 || buffer 1464 drivers/scsi/st.c normalize_buffer(STp->buffer); buffer 1547 drivers/scsi/st.c struct st_buffer *STbp = STp->buffer; buffer 1609 drivers/scsi/st.c STbp = STp->buffer; buffer 1681 drivers/scsi/st.c STbp = STp->buffer; buffer 1791 drivers/scsi/st.c struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; buffer 1828 drivers/scsi/st.c move_buffer_data(STp->buffer, transfer - undone); buffer 1838 drivers/scsi/st.c STp->buffer->buffer_bytes); buffer 1917 drivers/scsi/st.c STbp = STp->buffer; buffer 1923 drivers/scsi/st.c blks = (STp->buffer)->buffer_blocks; buffer 1927 drivers/scsi/st.c if (!STbp->do_dio && bytes > (STp->buffer)->buffer_size) buffer 1928 drivers/scsi/st.c bytes = (STp->buffer)->buffer_size; buffer 1957 drivers/scsi/st.c struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; buffer 2080 drivers/scsi/st.c STbp->buffer_bytes -= STp->buffer->cmdstat.residual; buffer 2105 drivers/scsi/st.c struct st_buffer *STbp = STp->buffer; buffer 2491 drivers/scsi/st.c return (STp->buffer)->syscall_result; buffer 2495 drivers/scsi/st.c return STp->buffer->syscall_result; buffer 2511 drivers/scsi/st.c pgo = MODE_HEADER_LENGTH + (STp->buffer)->b_data[MH_OFF_BDESCS_LENGTH]; buffer 2512 drivers/scsi/st.c cmd[4] = pgo + (STp->buffer)->b_data[pgo + MP_OFF_PAGE_LENGTH] + 2; buffer 2515 drivers/scsi/st.c (STp->buffer)->b_data[MH_OFF_DATA_LENGTH] = 0; buffer 2516 drivers/scsi/st.c (STp->buffer)->b_data[MH_OFF_MEDIUM_TYPE] = 0; buffer 2517 drivers/scsi/st.c (STp->buffer)->b_data[MH_OFF_DEV_SPECIFIC] &= ~MH_BIT_WP; buffer 2518 drivers/scsi/st.c (STp->buffer)->b_data[pgo + MP_OFF_PAGE_NBR] &= MP_MSK_PAGE_NBR; buffer 2525 drivers/scsi/st.c return (STp->buffer)->syscall_result; buffer 2529 drivers/scsi/st.c return STp->buffer->syscall_result; buffer 2554 drivers/scsi/st.c unsigned char *b_data = (STp->buffer)->b_data; buffer 2646 drivers/scsi/st.c return (STp->buffer)->syscall_result; buffer 2648 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; buffer 2709 drivers/scsi/st.c WARN_ON(STp->buffer->do_dio != 0); buffer 2899 drivers/scsi/st.c if (STp->dirty || (STp->buffer)->buffer_bytes != 0) buffer 2915 drivers/scsi/st.c memset((STp->buffer)->b_data, 0, 12); buffer 2917 drivers/scsi/st.c (STp->buffer)->b_data[2] = (arg & 7) << 4; buffer 2919 drivers/scsi/st.c (STp->buffer)->b_data[2] = buffer 2921 drivers/scsi/st.c (STp->buffer)->b_data[3] = 8; /* block descriptor length */ buffer 2923 drivers/scsi/st.c (STp->buffer)->b_data[4] = arg; buffer 2926 drivers/scsi/st.c (STp->buffer)->b_data[4] = arg >> 24; buffer 2928 drivers/scsi/st.c (STp->buffer)->b_data[4] = STp->density; buffer 2935 drivers/scsi/st.c (STp->buffer)->b_data[9] = (ltmp >> 16); buffer 2936 drivers/scsi/st.c (STp->buffer)->b_data[10] = (ltmp >> 8); buffer 2937 drivers/scsi/st.c (STp->buffer)->b_data[11] = ltmp; buffer 2943 drivers/scsi/st.c (STp->buffer)->b_data[9] * 65536 + buffer 2944 drivers/scsi/st.c (STp->buffer)->b_data[10] * 256 + buffer 2945 drivers/scsi/st.c (STp->buffer)->b_data[11]); buffer 2949 drivers/scsi/st.c (STp->buffer)->b_data[4]); buffer 2953 drivers/scsi/st.c ((STp->buffer)->b_data[2] >> 4) & 7); buffer 2963 drivers/scsi/st.c return (STp->buffer)->syscall_result; buffer 2965 drivers/scsi/st.c ioctl_result = (STp->buffer)->syscall_result; buffer 2982 drivers/scsi/st.c (STp->buffer)->buffer_blocks = buffer 2983 drivers/scsi/st.c (STp->buffer)->buffer_size / STp->block_size; buffer 2985 drivers/scsi/st.c (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; buffer 3004 drivers/scsi/st.c struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; buffer 3127 drivers/scsi/st.c return (STp->buffer)->syscall_result; buffer 3129 drivers/scsi/st.c if ((STp->buffer)->syscall_result != 0 || buffer 3131 drivers/scsi/st.c ((STp->buffer)->b_data[0] & 4) != 0)) { buffer 3138 drivers/scsi/st.c *block = ((STp->buffer)->b_data[0] << 16) buffer 3139 drivers/scsi/st.c + ((STp->buffer)->b_data[1] << 8) buffer 3140 drivers/scsi/st.c + (STp->buffer)->b_data[2]; buffer 3143 drivers/scsi/st.c *block = ((STp->buffer)->b_data[4] << 24) buffer 3144 drivers/scsi/st.c + ((STp->buffer)->b_data[5] << 16) buffer 3145 drivers/scsi/st.c + ((STp->buffer)->b_data[6] << 8) buffer 3146 drivers/scsi/st.c + (STp->buffer)->b_data[7]; buffer 3147 drivers/scsi/st.c *partition = (STp->buffer)->b_data[1]; buffer 3148 drivers/scsi/st.c if (((STp->buffer)->b_data[0] & 0x80) && buffer 3149 drivers/scsi/st.c (STp->buffer)->b_data[1] == 0) /* BOP of partition 0 */ buffer 3231 drivers/scsi/st.c return (STp->buffer)->syscall_result; buffer 3235 drivers/scsi/st.c if ((STp->buffer)->syscall_result != 0) { buffer 3324 drivers/scsi/st.c result = (STp->buffer)->b_data[MODE_HEADER_LENGTH + buffer 3351 drivers/scsi/st.c result = STp->buffer->syscall_result; buffer 3398 drivers/scsi/st.c bp = (STp->buffer)->b_data; buffer 3762 drivers/scsi/st.c (STp->buffer)->buffer_bytes / STp->block_size; buffer 3765 drivers/scsi/st.c ((STp->buffer)->buffer_bytes + buffer 4262 drivers/scsi/st.c struct st_buffer *buffer; buffer 4280 drivers/scsi/st.c buffer = new_tape_buffer((SDp->host)->unchecked_isa_dma, i); buffer 4281 drivers/scsi/st.c if (buffer == NULL) { buffer 4317 drivers/scsi/st.c tpnt->buffer = buffer; buffer 4318 drivers/scsi/st.c tpnt->buffer->last_SRpnt = NULL; buffer 4422 drivers/scsi/st.c kfree(buffer); buffer 4462 drivers/scsi/st.c if (tpnt->buffer) { buffer 4463 drivers/scsi/st.c normalize_buffer(tpnt->buffer); buffer 4464 drivers/scsi/st.c kfree(tpnt->buffer->reserved_pages); buffer 4465 drivers/scsi/st.c kfree(tpnt->buffer); buffer 125 drivers/scsi/st.h struct st_buffer *buffer; buffer 338 drivers/scsi/storvsc_drv.c u8 buffer[0x34]; buffer 1020 drivers/scsi/sym53c8xx_2/sym_glue.c static int sym_user_command(struct Scsi_Host *shost, char *buffer, int length) buffer 1023 drivers/scsi/sym53c8xx_2/sym_glue.c char *ptr = buffer; buffer 7518 drivers/scsi/ufs/ufshcd.c char *buffer; buffer 7521 drivers/scsi/ufs/ufshcd.c buffer = kzalloc(UFS_SENSE_SIZE, GFP_KERNEL); buffer 7522 drivers/scsi/ufs/ufshcd.c if (!buffer) { buffer 7527 drivers/scsi/ufs/ufshcd.c ret = scsi_execute(sdp, cmd, DMA_FROM_DEVICE, buffer, buffer 7533 drivers/scsi/ufs/ufshcd.c kfree(buffer); buffer 402 drivers/scsi/wd33c93.c cmd->SCp.buffer = scsi_sglist(cmd); buffer 404 drivers/scsi/wd33c93.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); buffer 405 drivers/scsi/wd33c93.c cmd->SCp.this_residual = cmd->SCp.buffer->length; buffer 407 drivers/scsi/wd33c93.c cmd->SCp.buffer = NULL; buffer 738 drivers/scsi/wd33c93.c cmd->SCp.buffer = sg_next(cmd->SCp.buffer); buffer 740 drivers/scsi/wd33c93.c cmd->SCp.this_residual = cmd->SCp.buffer->length; buffer 741 drivers/scsi/wd33c93.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); buffer 80 drivers/soc/aspeed/aspeed-lpc-snoop.c static ssize_t snoop_file_read(struct file *file, char __user *buffer, buffer 95 drivers/soc/aspeed/aspeed-lpc-snoop.c ret = kfifo_to_user(&chan->fifo, buffer, count, &copied); buffer 864 drivers/spi/spi-pl022.c void *buffer, buffer 870 drivers/spi/spi-pl022.c void *bufp = buffer; buffer 874 drivers/spi/spi-pl022.c if (buffer) { buffer 43 drivers/spi/spi-sc18is602.c u8 buffer[SC18IS602_BUFSIZ + 1]; buffer 73 drivers/spi/spi-sc18is602.c hw->buffer[0] = 1 << msg->spi->chip_select; buffer 83 drivers/spi/spi-sc18is602.c memcpy(&hw->buffer[hw->tlen], t->tx_buf, len); buffer 97 drivers/spi/spi-sc18is602.c memset(&hw->buffer[hw->tlen], 0, len); buffer 106 drivers/spi/spi-sc18is602.c ret = i2c_master_send(hw->client, hw->buffer, hw->tlen); buffer 118 drivers/spi/spi-sc18is602.c ret = i2c_master_recv(hw->client, hw->buffer, rlen); buffer 123 drivers/spi/spi-sc18is602.c memcpy(t->rx_buf, &hw->buffer[hw->rindex], len); buffer 1894 drivers/spi/spi.c && obj->buffer.length >= 4) buffer 1895 drivers/spi/spi.c lookup->max_speed_hz = NSEC_PER_SEC / *(u32 *)obj->buffer.pointer; buffer 1898 drivers/spi/spi.c && obj->buffer.length == 8) buffer 1899 drivers/spi/spi.c lookup->bits_per_word = *(u64 *)obj->buffer.pointer; buffer 1902 drivers/spi/spi.c && obj->buffer.length == 8 && !*(u64 *)obj->buffer.pointer) buffer 1906 drivers/spi/spi.c && obj->buffer.length == 8 && *(u64 *)obj->buffer.pointer) buffer 1910 drivers/spi/spi.c && obj->buffer.length == 8 && *(u64 *)obj->buffer.pointer) buffer 41 drivers/ssb/host_soc.c static void ssb_host_soc_block_read(struct ssb_device *dev, void *buffer, buffer 52 drivers/ssb/host_soc.c u8 *buf = buffer; buffer 62 drivers/ssb/host_soc.c __le16 *buf = buffer; buffer 73 drivers/ssb/host_soc.c __le32 *buf = buffer; buffer 114 drivers/ssb/host_soc.c static void ssb_host_soc_block_write(struct ssb_device *dev, const void *buffer, buffer 125 drivers/ssb/host_soc.c const u8 *buf = buffer; buffer 135 drivers/ssb/host_soc.c const __le16 *buf = buffer; buffer 146 drivers/ssb/host_soc.c const __le32 *buf = buffer; buffer 1002 drivers/ssb/pci.c static void ssb_pci_block_read(struct ssb_device *dev, void *buffer, buffer 1016 drivers/ssb/pci.c ioread8_rep(addr, buffer, count); buffer 1020 drivers/ssb/pci.c ioread16_rep(addr, buffer, count >> 1); buffer 1024 drivers/ssb/pci.c ioread32_rep(addr, buffer, count >> 2); buffer 1032 drivers/ssb/pci.c memset(buffer, 0xFF, count); buffer 1076 drivers/ssb/pci.c static void ssb_pci_block_write(struct ssb_device *dev, const void *buffer, buffer 1090 drivers/ssb/pci.c iowrite8_rep(addr, buffer, count); buffer 1094 drivers/ssb/pci.c iowrite16_rep(addr, buffer, count >> 1); buffer 1098 drivers/ssb/pci.c iowrite32_rep(addr, buffer, count >> 2); buffer 274 drivers/ssb/pcmcia.c static void ssb_pcmcia_block_read(struct ssb_device *dev, void *buffer, buffer 285 drivers/ssb/pcmcia.c memset(buffer, 0xFF, count); buffer 290 drivers/ssb/pcmcia.c u8 *buf = buffer; buffer 300 drivers/ssb/pcmcia.c __le16 *buf = buffer; buffer 311 drivers/ssb/pcmcia.c __le16 *buf = buffer; buffer 373 drivers/ssb/pcmcia.c static void ssb_pcmcia_block_write(struct ssb_device *dev, const void *buffer, buffer 387 drivers/ssb/pcmcia.c const u8 *buf = buffer; buffer 397 drivers/ssb/pcmcia.c const __le16 *buf = buffer; buffer 408 drivers/ssb/pcmcia.c const __le16 *buf = buffer; buffer 297 drivers/ssb/sdio.c static void ssb_sdio_block_read(struct ssb_device *dev, void *buffer, buffer 307 drivers/ssb/sdio.c memset(buffer, 0xff, count); buffer 315 drivers/ssb/sdio.c error = sdio_readsb(bus->host_sdio, buffer, offset, count); buffer 320 drivers/ssb/sdio.c error = sdio_readsb(bus->host_sdio, buffer, offset, count); buffer 326 drivers/ssb/sdio.c error = sdio_readsb(bus->host_sdio, buffer, offset, count); buffer 404 drivers/ssb/sdio.c static void ssb_sdio_block_write(struct ssb_device *dev, const void *buffer, buffer 414 drivers/ssb/sdio.c memset((void *)buffer, 0xff, count); buffer 423 drivers/ssb/sdio.c (void *)buffer, count); buffer 428 drivers/ssb/sdio.c (void *)buffer, count); buffer 434 drivers/ssb/sdio.c (void *)buffer, count); buffer 38 drivers/staging/android/ion/ion.c struct ion_buffer *buffer; buffer 41 drivers/staging/android/ion/ion.c buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); buffer 42 drivers/staging/android/ion/ion.c if (!buffer) buffer 45 drivers/staging/android/ion/ion.c buffer->heap = heap; buffer 46 drivers/staging/android/ion/ion.c buffer->flags = flags; buffer 47 drivers/staging/android/ion/ion.c buffer->dev = dev; buffer 48 drivers/staging/android/ion/ion.c buffer->size = len; buffer 50 drivers/staging/android/ion/ion.c ret = heap->ops->allocate(heap, buffer, len, flags); buffer 57 drivers/staging/android/ion/ion.c ret = heap->ops->allocate(heap, buffer, len, flags); buffer 62 drivers/staging/android/ion/ion.c if (!buffer->sg_table) { buffer 75 drivers/staging/android/ion/ion.c INIT_LIST_HEAD(&buffer->attachments); buffer 76 drivers/staging/android/ion/ion.c mutex_init(&buffer->lock); buffer 77 drivers/staging/android/ion/ion.c return buffer; buffer 80 drivers/staging/android/ion/ion.c heap->ops->free(buffer); buffer 82 drivers/staging/android/ion/ion.c kfree(buffer); buffer 86 drivers/staging/android/ion/ion.c void ion_buffer_destroy(struct ion_buffer *buffer) buffer 88 drivers/staging/android/ion/ion.c if (buffer->kmap_cnt > 0) { buffer 91 drivers/staging/android/ion/ion.c buffer->heap->ops->unmap_kernel(buffer->heap, buffer); buffer 93 drivers/staging/android/ion/ion.c buffer->heap->ops->free(buffer); buffer 94 drivers/staging/android/ion/ion.c spin_lock(&buffer->heap->stat_lock); buffer 95 drivers/staging/android/ion/ion.c buffer->heap->num_of_buffers--; buffer 96 drivers/staging/android/ion/ion.c buffer->heap->num_of_alloc_bytes -= buffer->size; buffer 97 drivers/staging/android/ion/ion.c spin_unlock(&buffer->heap->stat_lock); buffer 99 drivers/staging/android/ion/ion.c kfree(buffer); buffer 102 drivers/staging/android/ion/ion.c static void _ion_buffer_destroy(struct ion_buffer *buffer) buffer 104 drivers/staging/android/ion/ion.c struct ion_heap *heap = buffer->heap; buffer 107 drivers/staging/android/ion/ion.c ion_heap_freelist_add(heap, buffer); buffer 109 drivers/staging/android/ion/ion.c ion_buffer_destroy(buffer); buffer 112 drivers/staging/android/ion/ion.c static void *ion_buffer_kmap_get(struct ion_buffer *buffer) buffer 116 drivers/staging/android/ion/ion.c if (buffer->kmap_cnt) { buffer 117 drivers/staging/android/ion/ion.c buffer->kmap_cnt++; buffer 118 drivers/staging/android/ion/ion.c return buffer->vaddr; buffer 120 drivers/staging/android/ion/ion.c vaddr = buffer->heap->ops->map_kernel(buffer->heap, buffer); buffer 126 drivers/staging/android/ion/ion.c buffer->vaddr = vaddr; buffer 127 drivers/staging/android/ion/ion.c buffer->kmap_cnt++; buffer 131 drivers/staging/android/ion/ion.c static void ion_buffer_kmap_put(struct ion_buffer *buffer) buffer 133 drivers/staging/android/ion/ion.c buffer->kmap_cnt--; buffer 134 drivers/staging/android/ion/ion.c if (!buffer->kmap_cnt) { buffer 135 drivers/staging/android/ion/ion.c buffer->heap->ops->unmap_kernel(buffer->heap, buffer); buffer 136 drivers/staging/android/ion/ion.c buffer->vaddr = NULL; buffer 183 drivers/staging/android/ion/ion.c struct ion_buffer *buffer = dmabuf->priv; buffer 189 drivers/staging/android/ion/ion.c table = dup_sg_table(buffer->sg_table); buffer 201 drivers/staging/android/ion/ion.c mutex_lock(&buffer->lock); buffer 202 drivers/staging/android/ion/ion.c list_add(&a->list, &buffer->attachments); buffer 203 drivers/staging/android/ion/ion.c mutex_unlock(&buffer->lock); buffer 212 drivers/staging/android/ion/ion.c struct ion_buffer *buffer = dmabuf->priv; buffer 214 drivers/staging/android/ion/ion.c mutex_lock(&buffer->lock); buffer 216 drivers/staging/android/ion/ion.c mutex_unlock(&buffer->lock); buffer 246 drivers/staging/android/ion/ion.c struct ion_buffer *buffer = dmabuf->priv; buffer 249 drivers/staging/android/ion/ion.c if (!buffer->heap->ops->map_user) { buffer 255 drivers/staging/android/ion/ion.c if (!(buffer->flags & ION_FLAG_CACHED)) buffer 258 drivers/staging/android/ion/ion.c mutex_lock(&buffer->lock); buffer 260 drivers/staging/android/ion/ion.c ret = buffer->heap->ops->map_user(buffer->heap, buffer, vma); buffer 261 drivers/staging/android/ion/ion.c mutex_unlock(&buffer->lock); buffer 272 drivers/staging/android/ion/ion.c struct ion_buffer *buffer = dmabuf->priv; buffer 274 drivers/staging/android/ion/ion.c _ion_buffer_destroy(buffer); buffer 279 drivers/staging/android/ion/ion.c struct ion_buffer *buffer = dmabuf->priv; buffer 281 drivers/staging/android/ion/ion.c return buffer->vaddr + offset * PAGE_SIZE; buffer 292 drivers/staging/android/ion/ion.c struct ion_buffer *buffer = dmabuf->priv; buffer 300 drivers/staging/android/ion/ion.c if (buffer->heap->ops->map_kernel) { buffer 301 drivers/staging/android/ion/ion.c mutex_lock(&buffer->lock); buffer 302 drivers/staging/android/ion/ion.c vaddr = ion_buffer_kmap_get(buffer); buffer 307 drivers/staging/android/ion/ion.c mutex_unlock(&buffer->lock); buffer 310 drivers/staging/android/ion/ion.c mutex_lock(&buffer->lock); buffer 311 drivers/staging/android/ion/ion.c list_for_each_entry(a, &buffer->attachments, list) { buffer 317 drivers/staging/android/ion/ion.c mutex_unlock(&buffer->lock); buffer 324 drivers/staging/android/ion/ion.c struct ion_buffer *buffer = dmabuf->priv; buffer 327 drivers/staging/android/ion/ion.c if (buffer->heap->ops->map_kernel) { buffer 328 drivers/staging/android/ion/ion.c mutex_lock(&buffer->lock); buffer 329 drivers/staging/android/ion/ion.c ion_buffer_kmap_put(buffer); buffer 330 drivers/staging/android/ion/ion.c mutex_unlock(&buffer->lock); buffer 333 drivers/staging/android/ion/ion.c mutex_lock(&buffer->lock); buffer 334 drivers/staging/android/ion/ion.c list_for_each_entry(a, &buffer->attachments, list) { buffer 338 drivers/staging/android/ion/ion.c mutex_unlock(&buffer->lock); buffer 359 drivers/staging/android/ion/ion.c struct ion_buffer *buffer = NULL; buffer 383 drivers/staging/android/ion/ion.c buffer = ion_buffer_create(heap, dev, len, flags); buffer 384 drivers/staging/android/ion/ion.c if (!IS_ERR(buffer)) buffer 389 drivers/staging/android/ion/ion.c if (!buffer) buffer 392 drivers/staging/android/ion/ion.c if (IS_ERR(buffer)) buffer 393 drivers/staging/android/ion/ion.c return PTR_ERR(buffer); buffer 396 drivers/staging/android/ion/ion.c exp_info.size = buffer->size; buffer 398 drivers/staging/android/ion/ion.c exp_info.priv = buffer; buffer 402 drivers/staging/android/ion/ion.c _ion_buffer_destroy(buffer); buffer 416 drivers/staging/android/ion/ion.c struct ion_heap_data __user *buffer = u64_to_user_ptr(query->heaps); buffer 424 drivers/staging/android/ion/ion.c if (!buffer) { buffer 441 drivers/staging/android/ion/ion.c if (copy_to_user(&buffer[cnt], &hdata, sizeof(hdata))) { buffer 55 drivers/staging/android/ion/ion.h void ion_buffer_destroy(struct ion_buffer *buffer); buffer 87 drivers/staging/android/ion/ion.h struct ion_buffer *buffer, unsigned long len, buffer 89 drivers/staging/android/ion/ion.h void (*free)(struct ion_buffer *buffer); buffer 90 drivers/staging/android/ion/ion.h void * (*map_kernel)(struct ion_heap *heap, struct ion_buffer *buffer); buffer 91 drivers/staging/android/ion/ion.h void (*unmap_kernel)(struct ion_heap *heap, struct ion_buffer *buffer); buffer 92 drivers/staging/android/ion/ion.h int (*map_user)(struct ion_heap *mapper, struct ion_buffer *buffer, buffer 175 drivers/staging/android/ion/ion.h void *ion_heap_map_kernel(struct ion_heap *heap, struct ion_buffer *buffer); buffer 176 drivers/staging/android/ion/ion.h void ion_heap_unmap_kernel(struct ion_heap *heap, struct ion_buffer *buffer); buffer 177 drivers/staging/android/ion/ion.h int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, buffer 179 drivers/staging/android/ion/ion.h int ion_heap_buffer_zero(struct ion_buffer *buffer); buffer 209 drivers/staging/android/ion/ion.h void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer); buffer 27 drivers/staging/android/ion/ion_cma_heap.c static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer, buffer 72 drivers/staging/android/ion/ion_cma_heap.c buffer->priv_virt = pages; buffer 73 drivers/staging/android/ion/ion_cma_heap.c buffer->sg_table = table; buffer 83 drivers/staging/android/ion/ion_cma_heap.c static void ion_cma_free(struct ion_buffer *buffer) buffer 85 drivers/staging/android/ion/ion_cma_heap.c struct ion_cma_heap *cma_heap = to_cma_heap(buffer->heap); buffer 86 drivers/staging/android/ion/ion_cma_heap.c struct page *pages = buffer->priv_virt; buffer 87 drivers/staging/android/ion/ion_cma_heap.c unsigned long nr_pages = PAGE_ALIGN(buffer->size) >> PAGE_SHIFT; buffer 92 drivers/staging/android/ion/ion_cma_heap.c sg_free_table(buffer->sg_table); buffer 93 drivers/staging/android/ion/ion_cma_heap.c kfree(buffer->sg_table); buffer 21 drivers/staging/android/ion/ion_heap.c struct ion_buffer *buffer) buffer 27 drivers/staging/android/ion/ion_heap.c struct sg_table *table = buffer->sg_table; buffer 28 drivers/staging/android/ion/ion_heap.c int npages = PAGE_ALIGN(buffer->size) / PAGE_SIZE; buffer 36 drivers/staging/android/ion/ion_heap.c if (buffer->flags & ION_FLAG_CACHED) buffer 59 drivers/staging/android/ion/ion_heap.c struct ion_buffer *buffer) buffer 61 drivers/staging/android/ion/ion_heap.c vunmap(buffer->vaddr); buffer 64 drivers/staging/android/ion/ion_heap.c int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, buffer 67 drivers/staging/android/ion/ion_heap.c struct sg_table *table = buffer->sg_table; buffer 135 drivers/staging/android/ion/ion_heap.c int ion_heap_buffer_zero(struct ion_buffer *buffer) buffer 137 drivers/staging/android/ion/ion_heap.c struct sg_table *table = buffer->sg_table; buffer 140 drivers/staging/android/ion/ion_heap.c if (buffer->flags & ION_FLAG_CACHED) buffer 157 drivers/staging/android/ion/ion_heap.c void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer) buffer 160 drivers/staging/android/ion/ion_heap.c list_add(&buffer->list, &heap->free_list); buffer 161 drivers/staging/android/ion/ion_heap.c heap->free_list_size += buffer->size; buffer 180 drivers/staging/android/ion/ion_heap.c struct ion_buffer *buffer; buffer 193 drivers/staging/android/ion/ion_heap.c buffer = list_first_entry(&heap->free_list, struct ion_buffer, buffer 195 drivers/staging/android/ion/ion_heap.c list_del(&buffer->list); buffer 196 drivers/staging/android/ion/ion_heap.c heap->free_list_size -= buffer->size; buffer 198 drivers/staging/android/ion/ion_heap.c buffer->private_flags |= ION_PRIV_FLAG_SHRINKER_FREE; buffer 199 drivers/staging/android/ion/ion_heap.c total_drained += buffer->size; buffer 201 drivers/staging/android/ion/ion_heap.c ion_buffer_destroy(buffer); buffer 224 drivers/staging/android/ion/ion_heap.c struct ion_buffer *buffer; buffer 234 drivers/staging/android/ion/ion_heap.c buffer = list_first_entry(&heap->free_list, struct ion_buffer, buffer 236 drivers/staging/android/ion/ion_heap.c list_del(&buffer->list); buffer 237 drivers/staging/android/ion/ion_heap.c heap->free_list_size -= buffer->size; buffer 239 drivers/staging/android/ion/ion_heap.c ion_buffer_destroy(buffer); buffer 48 drivers/staging/android/ion/ion_system_heap.c struct ion_buffer *buffer, buffer 57 drivers/staging/android/ion/ion_system_heap.c struct ion_buffer *buffer, struct page *page) buffer 63 drivers/staging/android/ion/ion_system_heap.c if (buffer->private_flags & ION_PRIV_FLAG_SHRINKER_FREE) { buffer 74 drivers/staging/android/ion/ion_system_heap.c struct ion_buffer *buffer, buffer 87 drivers/staging/android/ion/ion_system_heap.c page = alloc_buffer_page(heap, buffer, orders[i]); buffer 98 drivers/staging/android/ion/ion_system_heap.c struct ion_buffer *buffer, buffer 118 drivers/staging/android/ion/ion_system_heap.c page = alloc_largest_available(sys_heap, buffer, size_remaining, buffer 141 drivers/staging/android/ion/ion_system_heap.c buffer->sg_table = table; buffer 148 drivers/staging/android/ion/ion_system_heap.c free_buffer_page(sys_heap, buffer, page); buffer 152 drivers/staging/android/ion/ion_system_heap.c static void ion_system_heap_free(struct ion_buffer *buffer) buffer 154 drivers/staging/android/ion/ion_system_heap.c struct ion_system_heap *sys_heap = container_of(buffer->heap, buffer 157 drivers/staging/android/ion/ion_system_heap.c struct sg_table *table = buffer->sg_table; buffer 162 drivers/staging/android/ion/ion_system_heap.c if (!(buffer->private_flags & ION_PRIV_FLAG_SHRINKER_FREE)) buffer 163 drivers/staging/android/ion/ion_system_heap.c ion_heap_buffer_zero(buffer); buffer 166 drivers/staging/android/ion/ion_system_heap.c free_buffer_page(sys_heap, buffer, sg_page(sg)); buffer 285 drivers/staging/android/ion/ion_system_heap.c struct ion_buffer *buffer, buffer 317 drivers/staging/android/ion/ion_system_heap.c buffer->sg_table = table; buffer 330 drivers/staging/android/ion/ion_system_heap.c static void ion_system_contig_heap_free(struct ion_buffer *buffer) buffer 332 drivers/staging/android/ion/ion_system_heap.c struct sg_table *table = buffer->sg_table; buffer 334 drivers/staging/android/ion/ion_system_heap.c unsigned long pages = PAGE_ALIGN(buffer->size) >> PAGE_SHIFT; buffer 621 drivers/staging/android/vsoc.c static ssize_t vsoc_read(struct file *filp, char __user *buffer, size_t len, buffer 639 drivers/staging/android/vsoc.c if (copy_to_user(buffer, area_p, len)) buffer 695 drivers/staging/android/vsoc.c static ssize_t vsoc_write(struct file *filp, const char __user *buffer, buffer 713 drivers/staging/android/vsoc.c if (copy_from_user(area_p, buffer, len)) buffer 685 drivers/staging/exfat/exfat_super.c static int ffsReadFile(struct inode *inode, struct file_id_t *fid, void *buffer, buffer 703 drivers/staging/exfat/exfat_super.c if (!buffer) buffer 777 drivers/staging/exfat/exfat_super.c memcpy((char *)buffer + read_bytes, buffer 783 drivers/staging/exfat/exfat_super.c memcpy((char *)buffer + read_bytes, buffer 810 drivers/staging/exfat/exfat_super.c void *buffer, u64 count, u64 *wcount) buffer 833 drivers/staging/exfat/exfat_super.c if (!buffer) buffer 963 drivers/staging/exfat/exfat_super.c (char *)buffer + write_bytes, (s32)oneblkwrite); buffer 982 drivers/staging/exfat/exfat_super.c (char *)buffer + write_bytes, (s32)oneblkwrite); buffer 874 drivers/staging/greybus/camera.c struct gb_camera_debugfs_buffer *buffer = buffer 893 drivers/staging/greybus/camera.c buffer->length = 0; buffer 898 drivers/staging/greybus/camera.c buffer->length += sprintf(buffer->data + buffer->length, buffer 910 drivers/staging/greybus/camera.c struct gb_camera_debugfs_buffer *buffer = buffer 981 drivers/staging/greybus/camera.c buffer->length = sprintf(buffer->data, "%u;%u;", nstreams, flags); buffer 986 drivers/staging/greybus/camera.c buffer->length += sprintf(buffer->data + buffer->length, buffer 1045 drivers/staging/greybus/camera.c struct gb_camera_debugfs_buffer *buffer = buffer 1054 drivers/staging/greybus/camera.c buffer->length = sprintf(buffer->data, "%u", req_id); buffer 1062 drivers/staging/greybus/camera.c unsigned int buffer; buffer 1070 drivers/staging/greybus/camera.c .buffer = GB_CAMERA_DEBUGFS_BUFFER_CAPABILITIES, buffer 1075 drivers/staging/greybus/camera.c .buffer = GB_CAMERA_DEBUGFS_BUFFER_STREAMS, buffer 1080 drivers/staging/greybus/camera.c .buffer = GB_CAMERA_DEBUGFS_BUFFER_CAPTURE, buffer 1085 drivers/staging/greybus/camera.c .buffer = GB_CAMERA_DEBUGFS_BUFFER_FLUSH, buffer 1095 drivers/staging/greybus/camera.c struct gb_camera_debugfs_buffer *buffer; buffer 1105 drivers/staging/greybus/camera.c buffer = &gcam->debugfs.buffers[op->buffer]; buffer 1107 drivers/staging/greybus/camera.c return simple_read_from_buffer(buf, len, offset, buffer->data, buffer 1108 drivers/staging/greybus/camera.c buffer->length); buffer 54 drivers/staging/greybus/uart.c void *buffer; buffer 242 drivers/staging/greybus/uart.c request = gb_tty->buffer; buffer 849 drivers/staging/greybus/uart.c gb_tty->buffer = kzalloc(gb_tty->buffer_payload_max, GFP_KERNEL); buffer 850 drivers/staging/greybus/uart.c if (!gb_tty->buffer) { buffer 925 drivers/staging/greybus/uart.c kfree(gb_tty->buffer); buffer 967 drivers/staging/greybus/uart.c kfree(gb_tty->buffer); buffer 607 drivers/staging/iio/impedance-analyzer/ad5933.c struct iio_buffer *buffer; buffer 609 drivers/staging/iio/impedance-analyzer/ad5933.c buffer = iio_kfifo_allocate(); buffer 610 drivers/staging/iio/impedance-analyzer/ad5933.c if (!buffer) buffer 613 drivers/staging/iio/impedance-analyzer/ad5933.c iio_device_attach_buffer(indio_dev, buffer); buffer 760 drivers/staging/iio/impedance-analyzer/ad5933.c iio_kfifo_free(indio_dev->buffer); buffer 775 drivers/staging/iio/impedance-analyzer/ad5933.c iio_kfifo_free(indio_dev->buffer); buffer 825 drivers/staging/isdn/gigaset/gigaset.h unsigned char *buffer, size_t len); buffer 551 drivers/staging/isdn/gigaset/interface.c unsigned char *buffer, size_t len) buffer 553 drivers/staging/isdn/gigaset/interface.c tty_insert_flip_string(&cs->port, buffer, len); buffer 133 drivers/staging/ks7010/ks7010_sdio.c u8 *buffer, unsigned int length) buffer 137 drivers/staging/ks7010/ks7010_sdio.c return sdio_memcpy_fromio(func, buffer, address, length); buffer 154 drivers/staging/ks7010/ks7010_sdio.c u8 *buffer, unsigned int length) buffer 158 drivers/staging/ks7010/ks7010_sdio.c return sdio_memcpy_toio(func, address, buffer, length); buffer 321 drivers/staging/ks7010/ks7010_sdio.c static int write_to_device(struct ks_wlan_private *priv, u8 *buffer, buffer 327 drivers/staging/ks7010/ks7010_sdio.c hdr = (struct hostif_hdr *)buffer; buffer 335 drivers/staging/ks7010/ks7010_sdio.c ret = ks7010_sdio_write(priv, DATA_WINDOW, buffer, size); buffer 1066 drivers/staging/ks7010/ks_hostif.c unsigned char *buffer = NULL; buffer 1112 drivers/staging/ks7010/ks_hostif.c buffer = skb->data; buffer 1127 drivers/staging/ks7010/ks_hostif.c memcpy(p, buffer, size); buffer 1129 drivers/staging/ks7010/ks_hostif.c buffer += size; buffer 1133 drivers/staging/ks7010/ks_hostif.c if (*(buffer + 1) + (*buffer << 8) > 1500) { buffer 1145 drivers/staging/ks7010/ks_hostif.c buffer += 2; buffer 1151 drivers/staging/ks7010/ks_hostif.c memcpy(p, buffer, length); buffer 1151 drivers/staging/ks7010/ks_wlan_net.c char buffer[RSN_IE_BODY_MAX * 2 + 30]; buffer 1155 drivers/staging/ks7010/ks_wlan_net.c pbuf = &buffer[0]; buffer 1158 drivers/staging/ks7010/ks_wlan_net.c memcpy(buffer, rsn_leader, sizeof(rsn_leader) - 1); buffer 1170 drivers/staging/ks7010/ks_wlan_net.c return iwe_stream_add_point(info, current_ev, end_buf, iwe, &buffer[0]); buffer 440 drivers/staging/media/allegro-dvt/allegro-core.c struct mcu_msg_push_buffers_internal_buffer buffer[0]; buffer 729 drivers/staging/media/allegro-dvt/allegro-core.c struct allegro_buffer *buffer, size_t size) buffer 731 drivers/staging/media/allegro-dvt/allegro-core.c buffer->vaddr = dma_alloc_coherent(&dev->plat_dev->dev, size, buffer 732 drivers/staging/media/allegro-dvt/allegro-core.c &buffer->paddr, GFP_KERNEL); buffer 733 drivers/staging/media/allegro-dvt/allegro-core.c if (!buffer->vaddr) buffer 735 drivers/staging/media/allegro-dvt/allegro-core.c buffer->size = size; buffer 741 drivers/staging/media/allegro-dvt/allegro-core.c struct allegro_buffer *buffer) buffer 743 drivers/staging/media/allegro-dvt/allegro-core.c if (buffer->vaddr) { buffer 744 drivers/staging/media/allegro-dvt/allegro-core.c dma_free_coherent(&dev->plat_dev->dev, buffer->size, buffer 745 drivers/staging/media/allegro-dvt/allegro-core.c buffer->vaddr, buffer->paddr); buffer 746 drivers/staging/media/allegro-dvt/allegro-core.c buffer->vaddr = NULL; buffer 747 drivers/staging/media/allegro-dvt/allegro-core.c buffer->size = 0; buffer 1172 drivers/staging/media/allegro-dvt/allegro-core.c struct mcu_msg_push_buffers_internal_buffer *buffer; buffer 1192 drivers/staging/media/allegro-dvt/allegro-core.c size = struct_size(msg, buffer, num_buffers); buffer 1202 drivers/staging/media/allegro-dvt/allegro-core.c buffer = msg->buffer; buffer 1204 drivers/staging/media/allegro-dvt/allegro-core.c buffer->dma_addr = lower_32_bits(al_buffer->paddr); buffer 1205 drivers/staging/media/allegro-dvt/allegro-core.c buffer->mcu_addr = buffer 1207 drivers/staging/media/allegro-dvt/allegro-core.c buffer->size = al_buffer->size; buffer 1208 drivers/staging/media/allegro-dvt/allegro-core.c buffer++; buffer 1242 drivers/staging/media/allegro-dvt/allegro-core.c struct allegro_buffer *buffer, *tmp; buffer 1245 drivers/staging/media/allegro-dvt/allegro-core.c buffer = kmalloc(sizeof(*buffer), GFP_KERNEL); buffer 1246 drivers/staging/media/allegro-dvt/allegro-core.c if (!buffer) { buffer 1250 drivers/staging/media/allegro-dvt/allegro-core.c INIT_LIST_HEAD(&buffer->head); buffer 1252 drivers/staging/media/allegro-dvt/allegro-core.c err = allegro_alloc_buffer(dev, buffer, size); buffer 1255 drivers/staging/media/allegro-dvt/allegro-core.c list_add(&buffer->head, list); buffer 1261 drivers/staging/media/allegro-dvt/allegro-core.c list_for_each_entry_safe(buffer, tmp, list, head) { buffer 1262 drivers/staging/media/allegro-dvt/allegro-core.c list_del(&buffer->head); buffer 1263 drivers/staging/media/allegro-dvt/allegro-core.c allegro_free_buffer(dev, buffer); buffer 1264 drivers/staging/media/allegro-dvt/allegro-core.c kfree(buffer); buffer 1273 drivers/staging/media/allegro-dvt/allegro-core.c struct allegro_buffer *buffer, *tmp; buffer 1275 drivers/staging/media/allegro-dvt/allegro-core.c list_for_each_entry_safe(buffer, tmp, list, head) { buffer 1276 drivers/staging/media/allegro-dvt/allegro-core.c list_del(&buffer->head); buffer 1277 drivers/staging/media/allegro-dvt/allegro-core.c allegro_free_buffer(dev, buffer); buffer 1278 drivers/staging/media/allegro-dvt/allegro-core.c kfree(buffer); buffer 2168 drivers/staging/media/allegro-dvt/allegro-core.c struct vb2_v4l2_buffer *buffer; buffer 2176 drivers/staging/media/allegro-dvt/allegro-core.c while ((buffer = v4l2_m2m_src_buf_remove(channel->fh.m2m_ctx))) buffer 2177 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_m2m_buf_done(buffer, VB2_BUF_STATE_ERROR); buffer 2180 drivers/staging/media/allegro-dvt/allegro-core.c while ((buffer = v4l2_m2m_dst_buf_remove(channel->fh.m2m_ctx))) buffer 2181 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_m2m_buf_done(buffer, VB2_BUF_STATE_ERROR); buffer 98 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c jpeg_ctx.buffer = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); buffer 245 drivers/staging/media/hantro/hantro_jpeg.c static void jpeg_set_quality(unsigned char *buffer, int quality) buffer 258 drivers/staging/media/hantro/hantro_jpeg.c jpeg_scale_quant_table(buffer + LUMA_QUANT_OFF, buffer 260 drivers/staging/media/hantro/hantro_jpeg.c jpeg_scale_quant_table(buffer + CHROMA_QUANT_OFF, buffer 268 drivers/staging/media/hantro/hantro_jpeg.c return ctx->buffer + LUMA_QUANT_OFF; buffer 269 drivers/staging/media/hantro/hantro_jpeg.c return ctx->buffer + CHROMA_QUANT_OFF; buffer 274 drivers/staging/media/hantro/hantro_jpeg.c char *buf = ctx->buffer; buffer 9 drivers/staging/media/hantro/hantro_jpeg.h unsigned char *buffer; buffer 129 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c jpeg_ctx.buffer = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); buffer 647 drivers/staging/media/omap4iss/iss_csi2.c struct iss_buffer *buffer; buffer 651 drivers/staging/media/omap4iss/iss_csi2.c buffer = omap4iss_video_buffer_next(&csi2->video_out); buffer 657 drivers/staging/media/omap4iss/iss_csi2.c if (!buffer) buffer 660 drivers/staging/media/omap4iss/iss_csi2.c csi2_set_outaddr(csi2, buffer->iss_addr); buffer 795 drivers/staging/media/omap4iss/iss_csi2.c static int csi2_queue(struct iss_video *video, struct iss_buffer *buffer) buffer 800 drivers/staging/media/omap4iss/iss_csi2.c csi2_set_outaddr(csi2, buffer->iss_addr); buffer 220 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_buffer *buffer; buffer 231 drivers/staging/media/omap4iss/iss_ipipeif.c buffer = omap4iss_video_buffer_next(&ipipeif->video_out); buffer 232 drivers/staging/media/omap4iss/iss_ipipeif.c if (!buffer) buffer 235 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_set_outaddr(ipipeif, buffer->iss_addr); buffer 261 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_buffer *buffer) buffer 269 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_set_outaddr(ipipeif, buffer->iss_addr); buffer 265 drivers/staging/media/omap4iss/iss_resizer.c struct iss_buffer *buffer; buffer 272 drivers/staging/media/omap4iss/iss_resizer.c buffer = omap4iss_video_buffer_next(&resizer->video_out); buffer 273 drivers/staging/media/omap4iss/iss_resizer.c if (!buffer) buffer 276 drivers/staging/media/omap4iss/iss_resizer.c resizer_set_outaddr(resizer, buffer->iss_addr); buffer 313 drivers/staging/media/omap4iss/iss_resizer.c struct iss_buffer *buffer) buffer 321 drivers/staging/media/omap4iss/iss_resizer.c resizer_set_outaddr(resizer, buffer->iss_addr); buffer 322 drivers/staging/media/omap4iss/iss_video.c struct iss_buffer *buffer = container_of(vbuf, struct iss_buffer, vb); buffer 324 drivers/staging/media/omap4iss/iss_video.c if (buffer->iss_addr) buffer 325 drivers/staging/media/omap4iss/iss_video.c buffer->iss_addr = 0; buffer 332 drivers/staging/media/omap4iss/iss_video.c struct iss_buffer *buffer = container_of(vbuf, struct iss_buffer, vb); buffer 348 drivers/staging/media/omap4iss/iss_video.c buffer->iss_addr = addr; buffer 357 drivers/staging/media/omap4iss/iss_video.c struct iss_buffer *buffer = container_of(vbuf, struct iss_buffer, vb); buffer 377 drivers/staging/media/omap4iss/iss_video.c list_add_tail(&buffer->list, &video->dmaqueue); buffer 392 drivers/staging/media/omap4iss/iss_video.c video->ops->queue(video, buffer); buffer 137 drivers/staging/media/omap4iss/iss_video.h int (*queue)(struct iss_video *video, struct iss_buffer *buffer); buffer 47 drivers/staging/media/sunxi/cedrus/cedrus_h264.c const u32 *buffer = data; buffer 53 drivers/staging/media/sunxi/cedrus/cedrus_h264.c cedrus_write(dev, VE_AVC_SRAM_PORT_DATA, *buffer++); buffer 741 drivers/staging/most/core.c char buffer[STRING_SIZE]; buffer 748 drivers/staging/most/core.c strlcpy(buffer, buf, max_len); buffer 749 drivers/staging/most/core.c ret = split_string(buffer, &mdev, &mdev_ch, &comp_name, NULL); buffer 322 drivers/staging/most/dim2/dim2.c struct dim_channel **buffer) buffer 329 drivers/staging/most/dim2/dim2.c buffer[idx++] = &dev->hch[ch_idx].ch; buffer 331 drivers/staging/most/dim2/dim2.c buffer[idx++] = NULL; buffer 333 drivers/staging/most/dim2/dim2.c return buffer; buffer 389 drivers/staging/most/dim2/dim2.c struct dim_channel *buffer[DMA_CHANNELS + 1]; buffer 393 drivers/staging/most/dim2/dim2.c dim_service_ahb_int_irq(get_active_channels(dev, buffer)); buffer 275 drivers/staging/octeon-usb/octeon-hcd.c u64 buffer; buffer 1565 drivers/staging/octeon-usb/octeon-hcd.c u64 dma_address = transaction->buffer + buffer 1569 drivers/staging/octeon-usb/octeon-hcd.c dma_address = transaction->buffer + buffer 2128 drivers/staging/octeon-usb/octeon-hcd.c u64 buffer, buffer 2146 drivers/staging/octeon-usb/octeon-hcd.c transaction->buffer = buffer; buffer 86 drivers/staging/pi433/pi433_if.c char buffer[MAX_MSG_SIZE]; buffer 610 drivers/staging/pi433/pi433_if.c memset(device->buffer, 0, size); buffer 619 drivers/staging/pi433/pi433_if.c device->buffer[position++] = size - 1; buffer 623 drivers/staging/pi433/pi433_if.c device->buffer[position++] = tx_cfg.address_byte; buffer 626 drivers/staging/pi433/pi433_if.c retval = kfifo_out(&device->tx_fifo, &device->buffer[position], buffer 627 drivers/staging/pi433/pi433_if.c sizeof(device->buffer) - position); buffer 711 drivers/staging/pi433/pi433_if.c &device->buffer[position], buffer 719 drivers/staging/pi433/pi433_if.c &device->buffer[position], buffer 51 drivers/staging/pi433/rf69.c char buffer[2]; buffer 53 drivers/staging/pi433/rf69.c buffer[0] = addr | WRITE_BIT; buffer 54 drivers/staging/pi433/rf69.c buffer[1] = value; buffer 56 drivers/staging/pi433/rf69.c retval = spi_write(spi, &buffer, 2); buffer 838 drivers/staging/pi433/rf69.c int rf69_read_fifo(struct spi_device *spi, u8 *buffer, unsigned int size) buffer 867 drivers/staging/pi433/rf69.c memcpy(buffer, &local_buffer[1], size); buffer 872 drivers/staging/pi433/rf69.c int rf69_write_fifo(struct spi_device *spi, u8 *buffer, unsigned int size) buffer 886 drivers/staging/pi433/rf69.c memcpy(&local_buffer[1], buffer, size); buffer 890 drivers/staging/pi433/rf69.c dev_dbg(&spi->dev, "0x%x\n", buffer[i]); buffer 66 drivers/staging/pi433/rf69.h int rf69_read_fifo(struct spi_device *spi, u8 *buffer, unsigned int size); buffer 67 drivers/staging/pi433/rf69.h int rf69_write_fifo(struct spi_device *spi, u8 *buffer, unsigned int size); buffer 32 drivers/staging/rtl8188eu/core/rtw_debug.c int proc_set_write_reg(struct file *file, const char __user *buffer, buffer 45 drivers/staging/rtl8188eu/core/rtw_debug.c if (buffer && !copy_from_user(tmp, buffer, sizeof(tmp))) { buffer 106 drivers/staging/rtl8188eu/core/rtw_debug.c int proc_set_read_reg(struct file *file, const char __user *buffer, buffer 117 drivers/staging/rtl8188eu/core/rtw_debug.c if (buffer && !copy_from_user(tmp, buffer, sizeof(tmp))) { buffer 43 drivers/staging/rtl8188eu/hal/fw.c const u8 *buffer, u32 size) buffer 47 drivers/staging/rtl8188eu/hal/fw.c const u32 *dword_buffer = (u32 *)buffer; buffer 58 drivers/staging/rtl8188eu/hal/fw.c byte_buffer = buffer + blk_cnt * blk_sz; buffer 64 drivers/staging/rtl8188eu/hal/fw.c u32 page, const u8 *buffer, u32 size) buffer 72 drivers/staging/rtl8188eu/hal/fw.c _rtl88e_fw_block_write(adapt, buffer, size); buffer 75 drivers/staging/rtl8188eu/hal/fw.c static void _rtl88e_write_fw(struct adapter *adapt, u8 *buffer, u32 size) buffer 77 drivers/staging/rtl8188eu/hal/fw.c u8 *buf_ptr = buffer; buffer 115 drivers/staging/rtl8188eu/include/rtw_debug.h int proc_set_write_reg(struct file *file, const char __user *buffer, buffer 121 drivers/staging/rtl8188eu/include/rtw_debug.h int proc_set_read_reg(struct file *file, const char __user *buffer, buffer 1674 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c static void _rtl92e_process_phyinfo(struct r8192_priv *priv, u8 *buffer, buffer 1691 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c hdr = (struct rtllib_hdr_3addr *)buffer; buffer 250 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c static ssize_t write_debug_level(struct file *file, const char __user *buffer, buffer 254 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c int err = kstrtoul_from_user(buffer, count, 0, &val); buffer 459 drivers/staging/rtl8192u/r8192U.h struct buffer *next; buffer 3794 drivers/staging/rtl8192u/r8192U_core.c static void rtl8192_process_phyinfo(struct r8192_priv *priv, u8 *buffer, buffer 3813 drivers/staging/rtl8192u/r8192U_core.c hdr = (struct rtl_80211_hdr_3addr *)buffer; buffer 2209 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c #define GetLineFromBuffer(buffer) strsep(&buffer, "\n") buffer 2372 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c static void phy_DecryptBBPgParaFile(struct adapter *Adapter, char *buffer) buffer 2384 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c ptmp = buffer; buffer 2406 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c static int phy_ParseBBPgParaFile(struct adapter *Adapter, char *buffer) buffer 2420 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_DecryptBBPgParaFile(Adapter, buffer); buffer 2422 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c ptmp = buffer; buffer 2976 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c static int phy_ParsePowerLimitTableFile(struct adapter *Adapter, char *buffer) buffer 2989 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_DecryptBBPgParaFile(Adapter, buffer); buffer 2991 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c ptmp = buffer; buffer 49 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static int _BlockWrite(struct adapter *padapter, void *buffer, u32 buffSize) buffer 58 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 *bufferPtr = buffer; buffer 138 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void *buffer, buffer 148 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c return _BlockWrite(padapter, buffer, size); buffer 151 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static int _WriteFW(struct adapter *padapter, void *buffer, u32 size) buffer 158 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 *bufferPtr = buffer; buffer 4898 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u8 *buffer = NULL; buffer 4985 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c buffer = rtw_zmalloc(4096); buffer 4986 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (NULL == buffer) { buffer 5004 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c buffer[count++] = (u8)temp; buffer 5022 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ((s32 *)buffer)[count++] = (s32)temp; buffer 5041 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(buffer, ptr, wdata.data.length); buffer 5044 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c buffer[0] = '\0'; buffer 5073 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(wdata.name + offset, buffer, IFNAMSIZ - offset); buffer 5083 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (copy_to_user(wdata.data.pointer, buffer, buffer_len)) { buffer 5115 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c kfree(buffer); buffer 5116 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c buffer = NULL; buffer 5118 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c extra = buffer; buffer 5195 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c kfree(buffer); buffer 115 drivers/staging/rts5208/rtsx.c if (pos < buffer + length) \ buffer 32 drivers/staging/rts5208/rtsx_transport.c unsigned int rtsx_stor_access_xfer_buf(unsigned char *buffer, buffer 52 drivers/staging/rts5208/rtsx_transport.c memcpy(sgbuffer, buffer, cnt); buffer 54 drivers/staging/rts5208/rtsx_transport.c memcpy(buffer, sgbuffer, cnt); buffer 98 drivers/staging/rts5208/rtsx_transport.c memcpy(ptr + poff, buffer + cnt, plen); buffer 100 drivers/staging/rts5208/rtsx_transport.c memcpy(buffer + cnt, ptr + poff, plen); buffer 120 drivers/staging/rts5208/rtsx_transport.c void rtsx_stor_set_xfer_buf(unsigned char *buffer, buffer 125 drivers/staging/rts5208/rtsx_transport.c rtsx_stor_access_xfer_buf(buffer, buflen, srb, &index, &offset, buffer 131 drivers/staging/rts5208/rtsx_transport.c void rtsx_stor_get_xfer_buf(unsigned char *buffer, buffer 136 drivers/staging/rts5208/rtsx_transport.c rtsx_stor_access_xfer_buf(buffer, buflen, srb, &index, &offset, buffer 20 drivers/staging/rts5208/rtsx_transport.h unsigned int rtsx_stor_access_xfer_buf(unsigned char *buffer, buffer 26 drivers/staging/rts5208/rtsx_transport.h void rtsx_stor_set_xfer_buf(unsigned char *buffer, unsigned int buflen, buffer 28 drivers/staging/rts5208/rtsx_transport.h void rtsx_stor_get_xfer_buf(unsigned char *buffer, unsigned int buflen, buffer 17 drivers/staging/speakup/devsynth.c static ssize_t speakup_file_write(struct file *fp, const char __user *buffer, buffer 21 drivers/staging/speakup/devsynth.c const char __user *ptr = buffer; buffer 319 drivers/staging/unisys/visornic/visornic_main.c const char __user *buffer, buffer 193 drivers/staging/uwb/drp-avail.c u8 *buffer = _buffer; buffer 201 drivers/staging/uwb/drp-avail.c val = get_val(buffer, itr, len); buffer 256 drivers/staging/uwb/i1480/dfu/mac.c u32 *buffer = (u32 *)i1480->cmd_buf; buffer 263 drivers/staging/uwb/i1480/dfu/mac.c *buffer &= ~i1480_FW_UPLOAD_MODE_MASK; buffer 264 drivers/staging/uwb/i1480/dfu/mac.c result = i1480->write(i1480, reg, buffer, sizeof(u32)); buffer 280 drivers/staging/uwb/i1480/dfu/mac.c u32 *buffer = (u32 *)i1480->cmd_buf; buffer 287 drivers/staging/uwb/i1480/dfu/mac.c *buffer |= i1480_FW_UPLOAD_MODE_MASK; buffer 288 drivers/staging/uwb/i1480/dfu/mac.c result = i1480->write(i1480, reg, buffer, sizeof(u32)); buffer 97 drivers/staging/uwb/i1480/dfu/usb.c const void *buffer, size_t size) buffer 106 drivers/staging/uwb/i1480/dfu/usb.c memcpy(i1480->cmd_buf, buffer + itr, buffer_size); buffer 265 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c buf->buffer = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); buffer 48 drivers/staging/vc04_services/bcm2835-camera/mmal-common.h void *buffer; /* buffer pointer */ buffer 130 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c struct mmal_buffer *buffer; buffer 254 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer, buffer 283 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer->buffer, buffer 308 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (!msg_context->u.bulk.buffer) { buffer 325 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (rd_len > msg_context->u.bulk.buffer->buffer_size) { buffer 326 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rd_len = msg_context->u.bulk.buffer->buffer_size; buffer 349 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memcpy(msg_context->u.bulk.buffer->buffer, buffer 384 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer = buf; buffer 411 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c (u32)(unsigned long)buf->buffer; buffer 1571 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c struct mmal_buffer *buffer) buffer 1576 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = buffer_from_host(instance, port, buffer); buffer 1580 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c list_add_tail(&buffer->list, &port->buffers); buffer 47 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h int status, struct mmal_buffer *buffer, buffer 78 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c const char __user *buffer, buffer 89 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c if (copy_from_user(kbuf, buffer, count)) buffer 147 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c const char __user *buffer, buffer 154 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c if (copy_from_user(&firstchar, buffer, 1)) buffer 33 drivers/staging/vt6656/firmware.c void *buffer = NULL; buffer 47 drivers/staging/vt6656/firmware.c buffer = kmalloc(FIRMWARE_CHUNK_SIZE, GFP_KERNEL); buffer 48 drivers/staging/vt6656/firmware.c if (!buffer) { buffer 55 drivers/staging/vt6656/firmware.c memcpy(buffer, fw->data + ii, length); buffer 58 drivers/staging/vt6656/firmware.c buffer); buffer 66 drivers/staging/vt6656/firmware.c kfree(buffer); buffer 37 drivers/staging/vt6656/usbpipe.c u16 index, u16 length, u8 *buffer) buffer 49 drivers/staging/vt6656/usbpipe.c usb_buffer = kmemdup(buffer, length, GFP_KERNEL); buffer 97 drivers/staging/vt6656/usbpipe.c u16 index, u16 length, u8 *buffer) buffer 121 drivers/staging/vt6656/usbpipe.c memcpy(buffer, usb_buffer, length); buffer 24 drivers/staging/vt6656/usbpipe.h u16 index, u16 length, u8 *buffer); buffer 26 drivers/staging/vt6656/usbpipe.h u16 index, u16 length, u8 *buffer); buffer 239 drivers/staging/wilc1000/wilc_hif.c u8 *buffer; buffer 267 drivers/staging/wilc1000/wilc_hif.c buffer = wid_list[index].val; buffer 269 drivers/staging/wilc1000/wilc_hif.c *buffer++ = request->n_ssids; buffer 272 drivers/staging/wilc1000/wilc_hif.c *buffer++ = request->ssids[i].ssid_len; buffer 273 drivers/staging/wilc1000/wilc_hif.c memcpy(buffer, request->ssids[i].ssid, buffer 275 drivers/staging/wilc1000/wilc_hif.c buffer += request->ssids[i].ssid_len; buffer 632 drivers/staging/wilc1000/wilc_hif.c static s32 wilc_parse_assoc_resp_info(u8 *buffer, u32 buffer_len, buffer 637 drivers/staging/wilc1000/wilc_hif.c struct assoc_resp *res = (struct assoc_resp *)buffer; buffer 641 drivers/staging/wilc1000/wilc_hif.c ies = &buffer[sizeof(*res)]; buffer 1622 drivers/staging/wilc1000/wilc_hif.c void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length) buffer 1630 drivers/staging/wilc1000/wilc_hif.c id = get_unaligned_le32(&buffer[length - 4]); buffer 1645 drivers/staging/wilc1000/wilc_hif.c msg->body.net_info.frame_len = get_unaligned_le16(&buffer[6]) - 1; buffer 1646 drivers/staging/wilc1000/wilc_hif.c msg->body.net_info.rssi = buffer[8]; buffer 1647 drivers/staging/wilc1000/wilc_hif.c msg->body.net_info.mgmt = kmemdup(&buffer[9], buffer 1663 drivers/staging/wilc1000/wilc_hif.c void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length) buffer 1673 drivers/staging/wilc1000/wilc_hif.c id = get_unaligned_le32(&buffer[length - 4]); buffer 1699 drivers/staging/wilc1000/wilc_hif.c msg->body.mac_info.status = buffer[7]; buffer 1709 drivers/staging/wilc1000/wilc_hif.c void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length) buffer 1716 drivers/staging/wilc1000/wilc_hif.c id = get_unaligned_le32(&buffer[length - 4]); buffer 228 drivers/staging/wilc1000/wilc_hif.h void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length); buffer 229 drivers/staging/wilc1000/wilc_hif.h void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length); buffer 230 drivers/staging/wilc1000/wilc_hif.h void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length); buffer 50 drivers/staging/wilc1000/wilc_sdio.c u8 *buffer; buffer 108 drivers/staging/wilc1000/wilc_sdio.c (void *)cmd->buffer, size); buffer 110 drivers/staging/wilc1000/wilc_sdio.c ret = sdio_memcpy_fromio(func, (void *)cmd->buffer, buffer 407 drivers/staging/wilc1000/wilc_sdio.c cmd.buffer = (u8 *)&data; buffer 470 drivers/staging/wilc1000/wilc_sdio.c cmd.buffer = buf; buffer 491 drivers/staging/wilc1000/wilc_sdio.c cmd.buffer = buf; buffer 546 drivers/staging/wilc1000/wilc_sdio.c cmd.buffer = (u8 *)data; buffer 612 drivers/staging/wilc1000/wilc_sdio.c cmd.buffer = buf; buffer 633 drivers/staging/wilc1000/wilc_sdio.c cmd.buffer = buf; buffer 66 drivers/staging/wilc1000/wilc_spi.c static u8 crc7(u8 crc, const u8 *buffer, u32 len) buffer 69 drivers/staging/wilc1000/wilc_spi.c crc = crc7_byte(crc, *buffer++); buffer 135 drivers/staging/wilc1000/wilc_wlan.c void *buffer = tqe->buffer; buffer 136 drivers/staging/wilc1000/wilc_wlan.c const struct ethhdr *eth_hdr_ptr = buffer; buffer 151 drivers/staging/wilc1000/wilc_wlan.c ip_hdr_ptr = buffer + ETH_HLEN; buffer 157 drivers/staging/wilc1000/wilc_wlan.c tcp_hdr_ptr = buffer + ETH_HLEN + ihl; buffer 247 drivers/staging/wilc1000/wilc_wlan.c static int wilc_wlan_txq_add_cfg_pkt(struct wilc_vif *vif, u8 *buffer, buffer 265 drivers/staging/wilc1000/wilc_wlan.c tqe->buffer = buffer; buffer 277 drivers/staging/wilc1000/wilc_wlan.c int wilc_wlan_txq_add_net_pkt(struct net_device *dev, void *priv, u8 *buffer, buffer 295 drivers/staging/wilc1000/wilc_wlan.c tqe->buffer = buffer; buffer 308 drivers/staging/wilc1000/wilc_wlan.c int wilc_wlan_txq_add_mgmt_pkt(struct net_device *dev, void *priv, u8 *buffer, buffer 326 drivers/staging/wilc1000/wilc_wlan.c tqe->buffer = buffer; buffer 651 drivers/staging/wilc1000/wilc_wlan.c tqe->buffer, tqe->buffer_size); buffer 681 drivers/staging/wilc1000/wilc_wlan.c static void wilc_wlan_handle_rx_buff(struct wilc *wilc, u8 *buffer, int size) buffer 690 drivers/staging/wilc1000/wilc_wlan.c buff_ptr = buffer + offset; buffer 735 drivers/staging/wilc1000/wilc_wlan.c u8 *buffer; buffer 747 drivers/staging/wilc1000/wilc_wlan.c buffer = rqe->buffer; buffer 749 drivers/staging/wilc1000/wilc_wlan.c wilc_wlan_handle_rx_buff(wilc, buffer, size); buffer 763 drivers/staging/wilc1000/wilc_wlan.c u8 *buffer = NULL; buffer 783 drivers/staging/wilc1000/wilc_wlan.c buffer = &wilc->rx_buffer[offset]; buffer 786 drivers/staging/wilc1000/wilc_wlan.c ret = wilc->hif_func->hif_block_rx_ext(wilc, 0, buffer, size); buffer 796 drivers/staging/wilc1000/wilc_wlan.c rqe->buffer = buffer; buffer 819 drivers/staging/wilc1000/wilc_wlan.c int wilc_wlan_firmware_download(struct wilc *wilc, const u8 *buffer, buffer 835 drivers/staging/wilc1000/wilc_wlan.c addr = get_unaligned_le32(&buffer[offset]); buffer 836 drivers/staging/wilc1000/wilc_wlan.c size = get_unaligned_le32(&buffer[offset + 4]); buffer 845 drivers/staging/wilc1000/wilc_wlan.c memcpy(dma_buffer, &buffer[offset], size2); buffer 1040 drivers/staging/wilc1000/wilc_wlan.c int wilc_wlan_cfg_set(struct wilc_vif *vif, int start, u16 wid, u8 *buffer, buffer 1054 drivers/staging/wilc1000/wilc_wlan.c wid, buffer, buffer_size); buffer 210 drivers/staging/wilc1000/wilc_wlan.h u8 *buffer; buffer 220 drivers/staging/wilc1000/wilc_wlan.h u8 *buffer; buffer 275 drivers/staging/wilc1000/wilc_wlan.h int wilc_wlan_firmware_download(struct wilc *wilc, const u8 *buffer, buffer 279 drivers/staging/wilc1000/wilc_wlan.h int wilc_wlan_txq_add_net_pkt(struct net_device *dev, void *priv, u8 *buffer, buffer 285 drivers/staging/wilc1000/wilc_wlan.h int wilc_wlan_cfg_set(struct wilc_vif *vif, int start, u16 wid, u8 *buffer, buffer 289 drivers/staging/wilc1000/wilc_wlan.h int wilc_wlan_txq_add_mgmt_pkt(struct net_device *dev, void *priv, u8 *buffer, buffer 285 drivers/staging/wilc1000/wilc_wlan_cfg.c int wilc_wlan_cfg_get_val(struct wilc *wl, u16 wid, u8 *buffer, buffer 298 drivers/staging/wilc1000/wilc_wlan_cfg.c memcpy(buffer, &wl->cfg.b[i].val, 1); buffer 310 drivers/staging/wilc1000/wilc_wlan_cfg.c memcpy(buffer, &wl->cfg.hw[i].val, 2); buffer 322 drivers/staging/wilc1000/wilc_wlan_cfg.c memcpy(buffer, &wl->cfg.w[i].val, 4); buffer 339 drivers/staging/wilc1000/wilc_wlan_cfg.c memcpy(buffer, &wl->cfg.s[i].str[2], buffer 47 drivers/staging/wilc1000/wilc_wlan_cfg.h int wilc_wlan_cfg_get_val(struct wilc *wl, u16 wid, u8 *buffer, buffer 93 drivers/staging/wusbcore/cbaf.c void *buffer; buffer 133 drivers/staging/wusbcore/cbaf.c cbaf->buffer, cbaf->buffer_size, USB_CTRL_GET_TIMEOUT); buffer 140 drivers/staging/wusbcore/cbaf.c assoc_info = cbaf->buffer; buffer 160 drivers/staging/wusbcore/cbaf.c itr = cbaf->buffer + sizeof(*assoc_info); buffer 161 drivers/staging/wusbcore/cbaf.c top = cbaf->buffer + assoc_size; buffer 239 drivers/staging/wusbcore/cbaf.c hi = cbaf->buffer; buffer 272 drivers/staging/wusbcore/cbaf.c di = cbaf->buffer; buffer 503 drivers/staging/wusbcore/cbaf.c ccd = cbaf->buffer; buffer 583 drivers/staging/wusbcore/cbaf.c cbaf->buffer = kmalloc(512, GFP_KERNEL); buffer 584 drivers/staging/wusbcore/cbaf.c if (cbaf->buffer == NULL) buffer 608 drivers/staging/wusbcore/cbaf.c kfree(cbaf->buffer); buffer 623 drivers/staging/wusbcore/cbaf.c kfree(cbaf->buffer); buffer 108 drivers/staging/wusbcore/wa-hc.h u8 buffer[1]; /* For reads/writes on USB */ buffer 3942 drivers/target/iscsi/iscsi_target.c u8 *buffer, opcode; buffer 3946 drivers/target/iscsi/iscsi_target.c buffer = kcalloc(ISCSI_HDR_LEN, sizeof(*buffer), GFP_KERNEL); buffer 3947 drivers/target/iscsi/iscsi_target.c if (!buffer) buffer 3959 drivers/target/iscsi/iscsi_target.c iov.iov_base = buffer; buffer 3978 drivers/target/iscsi/iscsi_target.c iscsit_do_crypto_hash_buf(conn->conn_rx_hash, buffer, buffer 3990 drivers/target/iscsi/iscsi_target.c memset(buffer, 0xff, ISCSI_HDR_LEN); buffer 4001 drivers/target/iscsi/iscsi_target.c opcode = buffer[0] & ISCSI_OPCODE_MASK; buffer 4009 drivers/target/iscsi/iscsi_target.c buffer); buffer 4013 drivers/target/iscsi/iscsi_target.c ret = iscsi_target_rx_opcode(conn, buffer); buffer 4018 drivers/target/iscsi/iscsi_target.c kfree(buffer); buffer 1245 drivers/target/iscsi/iscsi_target_login.c u8 *buffer, zero_tsih = 0; buffer 1316 drivers/target/iscsi/iscsi_target_login.c buffer = &login->req[0]; buffer 1317 drivers/target/iscsi/iscsi_target_login.c pdu = (struct iscsi_login_req *)buffer; buffer 1355 drivers/target/iscsi/iscsi_target_login.c if (iscsi_login_zero_tsih_s1(conn, buffer) < 0) buffer 1365 drivers/target/iscsi/iscsi_target_login.c if (iscsi_login_non_zero_tsih_s1(conn, buffer) < 0) buffer 1398 drivers/target/iscsi/iscsi_target_login.c if (iscsi_login_non_zero_tsih_s2(conn, buffer) < 0) buffer 3215 drivers/target/target_core_transport.c u8 *buffer = cmd->sense_buffer; buffer 3245 drivers/target/target_core_transport.c scsi_build_sense_buffer(desc_format, buffer, key, asc, ascq); buffer 3247 drivers/target/target_core_transport.c WARN_ON_ONCE(scsi_set_sense_information(buffer, buffer 232 drivers/target/target_core_user.c static int tcmu_get_global_max_data_area(char *buffer, buffer 235 drivers/target/target_core_user.c return sprintf(buffer, "%d", TCMU_BLOCKS_TO_MBS(tcmu_global_max_blocks)); buffer 249 drivers/target/target_core_user.c static int tcmu_get_block_netlink(char *buffer, buffer 252 drivers/target/target_core_user.c return sprintf(buffer, "%s\n", tcmu_netlink_blocked ? buffer 76 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 80 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c status = acpi_evaluate_object(handle, "_TRT", NULL, &buffer); buffer 84 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c p = buffer.pointer; buffer 129 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c kfree(buffer.pointer); buffer 153 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 158 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c status = acpi_evaluate_object(handle, "_ART", NULL, &buffer); buffer 162 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c p = buffer.pointer; buffer 209 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c kfree(buffer.pointer); buffer 218 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER}; buffer 220 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c if (ACPI_FAILURE(acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer))) buffer 223 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c memcpy(name, buffer.pointer, ACPI_NAMESEG_SIZE); buffer 224 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c kfree(buffer.pointer); buffer 147 drivers/thermal/intel/int340x_thermal/int3400_thermal.c if (objb->buffer.length != 16) { buffer 156 drivers/thermal/intel/int340x_thermal/int3400_thermal.c if (guid_equal((guid_t *)objb->buffer.pointer, &guid)) { buffer 172 drivers/thunderbolt/ctl.c struct tb_cfg_header *header = pkg->buffer; buffer 221 drivers/thunderbolt/ctl.c struct cfg_error_pkg *pkg = response->buffer; buffer 243 drivers/thunderbolt/ctl.c struct tb_cfg_header *header = pkg->buffer; buffer 303 drivers/thunderbolt/ctl.c pkg->buffer, pkg->frame.buffer_phy); buffer 314 drivers/thunderbolt/ctl.c pkg->buffer = dma_pool_alloc(ctl->frame_pool, GFP_KERNEL, buffer 316 drivers/thunderbolt/ctl.c if (!pkg->buffer) { buffer 361 drivers/thunderbolt/ctl.c cpu_to_be32_array(pkg->buffer, data, len / 4); buffer 362 drivers/thunderbolt/ctl.c *(__be32 *) (pkg->buffer + len) = tb_crc(pkg->buffer, len); buffer 376 drivers/thunderbolt/ctl.c return ctl->callback(ctl->callback_data, type, pkg->buffer, size); buffer 427 drivers/thunderbolt/ctl.c crc32 = tb_crc(pkg->buffer, frame->size); buffer 428 drivers/thunderbolt/ctl.c be32_to_cpu_array(pkg->buffer, pkg->buffer, frame->size / 4); buffer 436 drivers/thunderbolt/ctl.c if (*(__be32 *)(pkg->buffer + frame->size) != crc32) { buffer 451 drivers/thunderbolt/ctl.c if (*(__be32 *)(pkg->buffer + frame->size) != crc32) { buffer 730 drivers/thunderbolt/ctl.c u64 route = tb_cfg_get_route(pkg->buffer) & ~BIT_ULL(63); buffer 745 drivers/thunderbolt/ctl.c const struct cfg_read_pkg *res_hdr = pkg->buffer; buffer 762 drivers/thunderbolt/ctl.c memcpy(req->response, pkg->buffer, req->response_size); buffer 812 drivers/thunderbolt/ctl.c struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer, buffer 866 drivers/thunderbolt/ctl.c memcpy(buffer, &reply.data, 4 * length); buffer 875 drivers/thunderbolt/ctl.c struct tb_cfg_result tb_cfg_write_raw(struct tb_ctl *ctl, const void *buffer, buffer 892 drivers/thunderbolt/ctl.c memcpy(&request.data, buffer, length * 4); buffer 950 drivers/thunderbolt/ctl.c int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port, buffer 953 drivers/thunderbolt/ctl.c struct tb_cfg_result res = tb_cfg_read_raw(ctl, buffer, route, port, buffer 976 drivers/thunderbolt/ctl.c int tb_cfg_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port, buffer 979 drivers/thunderbolt/ctl.c struct tb_cfg_result res = tb_cfg_write_raw(ctl, buffer, route, port, buffer 49 drivers/thunderbolt/ctl.h void *buffer; buffer 130 drivers/thunderbolt/ctl.h struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer, buffer 134 drivers/thunderbolt/ctl.h struct tb_cfg_result tb_cfg_write_raw(struct tb_ctl *ctl, const void *buffer, buffer 138 drivers/thunderbolt/ctl.h int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port, buffer 140 drivers/thunderbolt/ctl.h int tb_cfg_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port, buffer 68 drivers/thunderbolt/dma_port.c u64 route = tb_cfg_get_route(pkg->buffer) & ~BIT_ULL(63); buffer 84 drivers/thunderbolt/dma_port.c memcpy(req->response, pkg->buffer, req->response_size); buffer 88 drivers/thunderbolt/dma_port.c static int dma_port_read(struct tb_ctl *ctl, void *buffer, u64 route, buffer 125 drivers/thunderbolt/dma_port.c memcpy(buffer, &reply.data, 4 * length); buffer 129 drivers/thunderbolt/dma_port.c static int dma_port_write(struct tb_ctl *ctl, const void *buffer, u64 route, buffer 146 drivers/thunderbolt/dma_port.c memcpy(&request.data, buffer, length * 4); buffer 241 drivers/thunderbolt/icm.c const struct icm_pkg_header *res_hdr = pkg->buffer; buffer 254 drivers/thunderbolt/icm.c const struct icm_pkg_header *hdr = pkg->buffer; buffer 259 drivers/thunderbolt/icm.c memcpy(req->response + offset, pkg->buffer, req->response_size); buffer 388 drivers/thunderbolt/tb.h static inline int tb_sw_read(struct tb_switch *sw, void *buffer, buffer 394 drivers/thunderbolt/tb.h buffer, buffer 402 drivers/thunderbolt/tb.h static inline int tb_sw_write(struct tb_switch *sw, void *buffer, buffer 408 drivers/thunderbolt/tb.h buffer, buffer 416 drivers/thunderbolt/tb.h static inline int tb_port_read(struct tb_port *port, void *buffer, buffer 422 drivers/thunderbolt/tb.h buffer, buffer 430 drivers/thunderbolt/tb.h static inline int tb_port_write(struct tb_port *port, const void *buffer, buffer 436 drivers/thunderbolt/tb.h buffer, buffer 56 drivers/thunderbolt/xdomain.c const struct tb_xdp_header *res_hdr = pkg->buffer; buffer 84 drivers/thunderbolt/xdomain.c memcpy(req->response, pkg->buffer, req->response_size); buffer 143 drivers/tty/ehv_bytechan.c char buffer[EV_BYTE_CHANNEL_MAX_BYTES]; buffer 146 drivers/tty/ehv_bytechan.c if (c < sizeof(buffer)) { buffer 147 drivers/tty/ehv_bytechan.c memcpy(buffer, p, c); buffer 148 drivers/tty/ehv_bytechan.c memset(&buffer[c], 0, sizeof(buffer) - c); buffer 149 drivers/tty/ehv_bytechan.c p = buffer; buffer 352 drivers/tty/ehv_bytechan.c char buffer[EV_BYTE_CHANNEL_MAX_BYTES]; buffer 369 drivers/tty/ehv_bytechan.c len = min_t(unsigned int, count, sizeof(buffer)); buffer 374 drivers/tty/ehv_bytechan.c ev_byte_channel_receive(bc->handle, &len, buffer); buffer 381 drivers/tty/ehv_bytechan.c ret = tty_insert_flip_string(&bc->port, buffer, len); buffer 1322 drivers/tty/hvc/hvc_iucv.c static int param_get_vmidfilter(char *buffer, const struct kernel_param *kp) buffer 1337 drivers/tty/hvc/hvc_iucv.c memcpy(buffer + rc, start, len); buffer 1339 drivers/tty/hvc/hvc_iucv.c buffer[rc++] = ','; buffer 1343 drivers/tty/hvc/hvc_iucv.c buffer[--rc] = '\0'; /* replace last comma and update rc */ buffer 274 drivers/tty/hvc/hvcs.c char buffer[HVCS_BUFF_LEN]; buffer 553 drivers/tty/hvc/hvcs.c &hvcsd->buffer[0], buffer 1120 drivers/tty/hvc/hvcs.c memset(&hvcsd->buffer[0], 0x00, HVCS_BUFF_LEN); buffer 1273 drivers/tty/hvc/hvcs.c memset(&hvcsd->buffer[0], 0x00, HVCS_BUFF_LEN); buffer 1356 drivers/tty/hvc/hvcs.c memcpy(&hvcsd->buffer[hvcsd->chars_in_buffer], buffer 1372 drivers/tty/hvc/hvcs.c &hvcsd->buffer[0], buffer 1867 drivers/tty/moxa.c const unsigned char *buffer, int len) buffer 1897 drivers/tty/moxa.c memcpy_toio(ofs, buffer, len); buffer 1898 drivers/tty/moxa.c buffer += len; buffer 1911 drivers/tty/moxa.c memcpy_toio(ofs, buffer, len); buffer 1912 drivers/tty/moxa.c buffer += len; buffer 100 drivers/tty/n_gsm.c unsigned char buffer[0]; buffer 648 drivers/tty/n_gsm.c m->data = m->buffer + HDR_LEN - 1; /* Allow for FCS */ buffer 158 drivers/tty/n_tty.c static void zero_buffer(struct tty_struct *tty, u8 *buffer, int size) buffer 164 drivers/tty/n_tty.c memset(buffer, 0x00, size); buffer 1618 drivers/tty/nozomi.c static int ntty_write(struct tty_struct *tty, const unsigned char *buffer, buffer 1631 drivers/tty/nozomi.c rval = kfifo_in(&port->fifo_ul, (unsigned char *)buffer, count); buffer 373 drivers/tty/serial/ifx6x60.c static int ifx_spi_decode_spi_header(unsigned char *buffer, int *length, buffer 378 drivers/tty/serial/ifx6x60.c u16 *in_buffer = (u16 *)buffer; buffer 394 drivers/tty/serial/ifx6x60.c *more = (buffer[1] >> IFX_SPI_MORE_BIT) & 1; buffer 395 drivers/tty/serial/ifx6x60.c *received_cts = (buffer[3] >> IFX_SPI_CTS_BIT) & 1; buffer 590 drivers/tty/serial/mxs-auart.c void *buffer = s->tx_dma_buf; buffer 600 drivers/tty/serial/mxs-auart.c memcpy(buffer + i, xmit->buf + xmit->tail, size); buffer 170 drivers/tty/synclink.c unsigned char * buffer; buffer 3906 drivers/tty/synclink.c info->tx_holding_buffers[i].buffer = buffer 3908 drivers/tty/synclink.c if (info->tx_holding_buffers[i].buffer == NULL) { buffer 3910 drivers/tty/synclink.c kfree(info->tx_holding_buffers[i].buffer); buffer 3911 drivers/tty/synclink.c info->tx_holding_buffers[i].buffer = NULL; buffer 3936 drivers/tty/synclink.c kfree(info->tx_holding_buffers[i].buffer); buffer 3937 drivers/tty/synclink.c info->tx_holding_buffers[i].buffer = NULL; buffer 3978 drivers/tty/synclink.c mgsl_load_tx_dma_buffer(info,ptx->buffer,ptx->buffer_size); buffer 4017 drivers/tty/synclink.c memcpy( ptx->buffer, Buffer, BufferSize); buffer 993 drivers/tty/sysrq.c static int sysrq_reset_seq_param_set(const char *buffer, buffer 999 drivers/tty/sysrq.c error = kstrtoul(buffer, 0, &val); buffer 46 drivers/tty/vcc.c struct vio_vcc buffer; buffer 409 drivers/tty/vcc.c pkt = &port->buffer; buffer 860 drivers/tty/vcc.c pkt = &port->buffer; buffer 234 drivers/usb/atm/speedtch.c unsigned char *buffer; buffer 243 drivers/usb/atm/speedtch.c buffer = (unsigned char *)__get_free_page(GFP_KERNEL); buffer 244 drivers/usb/atm/speedtch.c if (!buffer) { buffer 259 drivers/usb/atm/speedtch.c buffer, 0x200, &actual_length, 2000); buffer 270 drivers/usb/atm/speedtch.c memcpy(buffer, fw1->data + offset, thislen); buffer 273 drivers/usb/atm/speedtch.c buffer, thislen, &actual_length, DATA_TIMEOUT); buffer 286 drivers/usb/atm/speedtch.c buffer, 0x200, &actual_length, DATA_TIMEOUT); buffer 297 drivers/usb/atm/speedtch.c memcpy(buffer, fw2->data + offset, thislen); buffer 300 drivers/usb/atm/speedtch.c buffer, thislen, &actual_length, DATA_TIMEOUT); buffer 313 drivers/usb/atm/speedtch.c buffer, 0x200, &actual_length, DATA_TIMEOUT); buffer 342 drivers/usb/atm/speedtch.c free_page((unsigned long)buffer); buffer 574 drivers/usb/atm/usbatm.c u8 *buffer = NULL; buffer 584 drivers/usb/atm/usbatm.c buffer = urb->transfer_buffer; buffer 590 drivers/usb/atm/usbatm.c buffer + bytes_written, buffer 1118 drivers/usb/atm/usbatm.c u8 *buffer; buffer 1133 drivers/usb/atm/usbatm.c buffer = kzalloc(channel->buf_size, GFP_KERNEL); buffer 1134 drivers/usb/atm/usbatm.c if (!buffer) { buffer 1140 drivers/usb/atm/usbatm.c buffer, channel->buf_size, usbatm_complete, channel); buffer 1312 drivers/usb/atm/usbatm.c unsigned char buffer[256]; buffer 1316 drivers/usb/atm/usbatm.c buffer[0] = '\0'; buffer 1317 drivers/usb/atm/usbatm.c sprintf(buffer, "%.3d :", i); buffer 1319 drivers/usb/atm/usbatm.c sprintf(buffer, "%s %2.2x", buffer, data[i]); buffer 1320 drivers/usb/atm/usbatm.c dev_dbg(&instance->usb_intf->dev, "%s", buffer); buffer 152 drivers/usb/cdns3/debug.h le32_to_cpu(trb->buffer), buffer 40 drivers/usb/cdns3/ep0.c priv_ep->trb_pool[0].buffer = TRB_BUFFER(dma_addr); buffer 45 drivers/usb/cdns3/ep0.c priv_ep->trb_pool[1].buffer = TRB_BUFFER(dma_addr); buffer 202 drivers/usb/cdns3/gadget.c link_trb->buffer = TRB_BUFFER(priv_ep->trb_pool_dma); buffer 902 drivers/usb/cdns3/gadget.c trb->buffer = TRB_BUFFER(request->num_sgs == 0 buffer 2109 drivers/usb/cdns3/gadget.c link_trb->buffer = TRB_BUFFER(priv_ep->trb_pool_dma + buffer 996 drivers/usb/cdns3/gadget.h __le32 buffer; buffer 328 drivers/usb/cdns3/trace.h __field(u32, buffer) buffer 336 drivers/usb/cdns3/trace.h __entry->buffer = trb->buffer; buffer 342 drivers/usb/cdns3/trace.h __get_str(name), __entry->trb, __entry->buffer, buffer 372 drivers/usb/cdns3/trace.h __dynamic_array(char, buffer, buffer 385 drivers/usb/cdns3/trace.h __get_str(buffer))) buffer 1152 drivers/usb/class/cdc-acm.c unsigned char *buffer = intf->altsetting->extra; buffer 1196 drivers/usb/class/cdc-acm.c if (!buffer) { buffer 1211 drivers/usb/class/cdc-acm.c buffer = intf->cur_altsetting->endpoint->extra; buffer 1219 drivers/usb/class/cdc-acm.c cdc_parse_cdc_header(&h, intf, buffer, buflen); buffer 348 drivers/usb/class/cdc-wdm.c (struct file *file, const char __user *buffer, size_t count, loff_t *ppos) buffer 365 drivers/usb/class/cdc-wdm.c buf = memdup_user(buffer, count); buffer 478 drivers/usb/class/cdc-wdm.c (struct file *file, char __user *buffer, size_t count, loff_t *ppos) buffer 561 drivers/usb/class/cdc-wdm.c rv = copy_to_user(buffer, desc->ubuf, cntr); buffer 915 drivers/usb/class/cdc-wdm.c u8 *buffer = intf->altsetting->extra; buffer 919 drivers/usb/class/cdc-wdm.c if (!buffer) buffer 922 drivers/usb/class/cdc-wdm.c cdc_parse_cdc_header(&hdr, intf, buffer, buflen); buffer 277 drivers/usb/class/usblp.c #define usblp_hp_channel_change_request(usblp, channel, buffer) \ buffer 278 drivers/usb/class/usblp.c usblp_ctrl_msg(usblp, USBLP_REQ_HP_CHANNEL_CHANGE_REQUEST, USB_TYPE_VENDOR, USB_DIR_IN, USB_RECIP_INTERFACE, channel, buffer, 1) buffer 716 drivers/usb/class/usblp.c static ssize_t usblp_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) buffer 745 drivers/usb/class/usblp.c buffer + writecount, transfer_length)) { buffer 815 drivers/usb/class/usblp.c static ssize_t usblp_read(struct file *file, char __user *buffer, size_t len, loff_t *ppos) buffer 839 drivers/usb/class/usblp.c copy_to_user(buffer, usblp->readbuf + usblp->readcount, count)) { buffer 268 drivers/usb/class/usbtmc.c u8 *buffer; buffer 275 drivers/usb/class/usbtmc.c buffer = kmalloc(USBTMC_BUFSIZE, GFP_KERNEL); buffer 276 drivers/usb/class/usbtmc.c if (!buffer) buffer 284 drivers/usb/class/usbtmc.c buffer, 2, USB_CTRL_GET_TIMEOUT); buffer 292 drivers/usb/class/usbtmc.c buffer[0], buffer[1]); buffer 294 drivers/usb/class/usbtmc.c if (buffer[0] == USBTMC_STATUS_FAILED) { buffer 300 drivers/usb/class/usbtmc.c if (buffer[0] == USBTMC_STATUS_TRANSFER_NOT_IN_PROGRESS) { buffer 311 drivers/usb/class/usbtmc.c if (buffer[0] != USBTMC_STATUS_SUCCESS) { buffer 313 drivers/usb/class/usbtmc.c buffer[0]); buffer 328 drivers/usb/class/usbtmc.c buffer, USBTMC_BUFSIZE, buffer 332 drivers/usb/class/usbtmc.c buffer, actual, true); buffer 356 drivers/usb/class/usbtmc.c 0, data->bulk_in, buffer, 0x08, buffer 364 drivers/usb/class/usbtmc.c dev_dbg(dev, "CHECK_ABORT_BULK_IN returned %x\n", buffer[0]); buffer 366 drivers/usb/class/usbtmc.c if (buffer[0] == USBTMC_STATUS_SUCCESS) { buffer 371 drivers/usb/class/usbtmc.c if (buffer[0] != USBTMC_STATUS_PENDING) { buffer 372 drivers/usb/class/usbtmc.c dev_err(dev, "CHECK_ABORT_BULK_IN returned %x\n", buffer[0]); buffer 377 drivers/usb/class/usbtmc.c if ((buffer[1] & 1) > 0) { buffer 385 drivers/usb/class/usbtmc.c kfree(buffer); buffer 398 drivers/usb/class/usbtmc.c u8 *buffer; buffer 404 drivers/usb/class/usbtmc.c buffer = kmalloc(8, GFP_KERNEL); buffer 405 drivers/usb/class/usbtmc.c if (!buffer) buffer 413 drivers/usb/class/usbtmc.c buffer, 2, USB_CTRL_GET_TIMEOUT); buffer 420 drivers/usb/class/usbtmc.c dev_dbg(dev, "INITIATE_ABORT_BULK_OUT returned %x\n", buffer[0]); buffer 422 drivers/usb/class/usbtmc.c if (buffer[0] != USBTMC_STATUS_SUCCESS) { buffer 424 drivers/usb/class/usbtmc.c buffer[0]); buffer 438 drivers/usb/class/usbtmc.c 0, data->bulk_out, buffer, 0x08, buffer 446 drivers/usb/class/usbtmc.c dev_dbg(dev, "CHECK_ABORT_BULK_OUT returned %x\n", buffer[0]); buffer 448 drivers/usb/class/usbtmc.c if (buffer[0] == USBTMC_STATUS_SUCCESS) buffer 451 drivers/usb/class/usbtmc.c if ((buffer[0] == USBTMC_STATUS_PENDING) && buffer 469 drivers/usb/class/usbtmc.c kfree(buffer); buffer 484 drivers/usb/class/usbtmc.c u8 *buffer; buffer 505 drivers/usb/class/usbtmc.c buffer = kmalloc(8, GFP_KERNEL); buffer 506 drivers/usb/class/usbtmc.c if (!buffer) buffer 517 drivers/usb/class/usbtmc.c buffer, 0x03, USB_CTRL_GET_TIMEOUT); buffer 523 drivers/usb/class/usbtmc.c if (buffer[0] != USBTMC_STATUS_SUCCESS) { buffer 524 drivers/usb/class/usbtmc.c dev_err(dev, "control status returned %x\n", buffer[0]); buffer 553 drivers/usb/class/usbtmc.c stb = buffer[2]; buffer 566 drivers/usb/class/usbtmc.c kfree(buffer); buffer 623 drivers/usb/class/usbtmc.c u8 *buffer; buffer 630 drivers/usb/class/usbtmc.c buffer = kmalloc(8, GFP_KERNEL); buffer 631 drivers/usb/class/usbtmc.c if (!buffer) buffer 651 drivers/usb/class/usbtmc.c buffer, 0x01, USB_CTRL_GET_TIMEOUT); buffer 661 drivers/usb/class/usbtmc.c if (buffer[0] != USBTMC_STATUS_SUCCESS) { buffer 662 drivers/usb/class/usbtmc.c dev_err(dev, "simple control status returned %x\n", buffer[0]); buffer 669 drivers/usb/class/usbtmc.c kfree(buffer); buffer 683 drivers/usb/class/usbtmc.c u8 *buffer; buffer 686 drivers/usb/class/usbtmc.c buffer = kzalloc(USBTMC_HEADER_SIZE, GFP_KERNEL); buffer 687 drivers/usb/class/usbtmc.c if (!buffer) buffer 690 drivers/usb/class/usbtmc.c buffer[0] = 128; buffer 691 drivers/usb/class/usbtmc.c buffer[1] = data->bTag; buffer 692 drivers/usb/class/usbtmc.c buffer[2] = ~data->bTag; buffer 697 drivers/usb/class/usbtmc.c buffer, USBTMC_HEADER_SIZE, buffer 708 drivers/usb/class/usbtmc.c kfree(buffer); buffer 1121 drivers/usb/class/usbtmc.c u8 *buffer = NULL; buffer 1152 drivers/usb/class/usbtmc.c buffer = urb->transfer_buffer; buffer 1159 drivers/usb/class/usbtmc.c if (copy_from_user(buffer, user_buffer + done, this_part)) { buffer 1166 drivers/usb/class/usbtmc.c 16, 1, buffer, this_part, true); buffer 1284 drivers/usb/class/usbtmc.c u8 *buffer; buffer 1287 drivers/usb/class/usbtmc.c buffer = kmalloc(USBTMC_HEADER_SIZE, GFP_KERNEL); buffer 1288 drivers/usb/class/usbtmc.c if (!buffer) buffer 1293 drivers/usb/class/usbtmc.c buffer[0] = 2; buffer 1294 drivers/usb/class/usbtmc.c buffer[1] = data->bTag; buffer 1295 drivers/usb/class/usbtmc.c buffer[2] = ~data->bTag; buffer 1296 drivers/usb/class/usbtmc.c buffer[3] = 0; /* Reserved */ buffer 1297 drivers/usb/class/usbtmc.c buffer[4] = transfer_size >> 0; buffer 1298 drivers/usb/class/usbtmc.c buffer[5] = transfer_size >> 8; buffer 1299 drivers/usb/class/usbtmc.c buffer[6] = transfer_size >> 16; buffer 1300 drivers/usb/class/usbtmc.c buffer[7] = transfer_size >> 24; buffer 1301 drivers/usb/class/usbtmc.c buffer[8] = file_data->term_char_enabled * 2; buffer 1303 drivers/usb/class/usbtmc.c buffer[9] = file_data->term_char; buffer 1304 drivers/usb/class/usbtmc.c buffer[10] = 0; /* Reserved */ buffer 1305 drivers/usb/class/usbtmc.c buffer[11] = 0; /* Reserved */ buffer 1311 drivers/usb/class/usbtmc.c buffer, USBTMC_HEADER_SIZE, buffer 1322 drivers/usb/class/usbtmc.c kfree(buffer); buffer 1338 drivers/usb/class/usbtmc.c u8 *buffer; buffer 1349 drivers/usb/class/usbtmc.c buffer = kmalloc(bufsize, GFP_KERNEL); buffer 1350 drivers/usb/class/usbtmc.c if (!buffer) buffer 1380 drivers/usb/class/usbtmc.c buffer, bufsize, &actual, buffer 1404 drivers/usb/class/usbtmc.c if (buffer[0] != 2) { buffer 1406 drivers/usb/class/usbtmc.c buffer[0]); buffer 1412 drivers/usb/class/usbtmc.c if (buffer[1] != data->bTag_last_write) { buffer 1414 drivers/usb/class/usbtmc.c buffer[1], data->bTag_last_write); buffer 1421 drivers/usb/class/usbtmc.c n_characters = buffer[4] + buffer 1422 drivers/usb/class/usbtmc.c (buffer[5] << 8) + buffer 1423 drivers/usb/class/usbtmc.c (buffer[6] << 16) + buffer 1424 drivers/usb/class/usbtmc.c (buffer[7] << 24); buffer 1426 drivers/usb/class/usbtmc.c file_data->bmTransferAttributes = buffer[8]; buffer 1429 drivers/usb/class/usbtmc.c n_characters, buffer[8]); buffer 1440 drivers/usb/class/usbtmc.c 16, 1, buffer, actual, true); buffer 1454 drivers/usb/class/usbtmc.c if (copy_to_user(buf, &buffer[USBTMC_HEADER_SIZE], actual)) { buffer 1476 drivers/usb/class/usbtmc.c kfree(buffer); buffer 1487 drivers/usb/class/usbtmc.c u8 *buffer; buffer 1524 drivers/usb/class/usbtmc.c buffer = urb->transfer_buffer; buffer 1529 drivers/usb/class/usbtmc.c buffer[8] = 0; buffer 1532 drivers/usb/class/usbtmc.c buffer[8] = file_data->eom_val; buffer 1536 drivers/usb/class/usbtmc.c buffer[0] = 1; buffer 1537 drivers/usb/class/usbtmc.c buffer[1] = data->bTag; buffer 1538 drivers/usb/class/usbtmc.c buffer[2] = ~data->bTag; buffer 1539 drivers/usb/class/usbtmc.c buffer[3] = 0; /* Reserved */ buffer 1540 drivers/usb/class/usbtmc.c buffer[4] = transfersize >> 0; buffer 1541 drivers/usb/class/usbtmc.c buffer[5] = transfersize >> 8; buffer 1542 drivers/usb/class/usbtmc.c buffer[6] = transfersize >> 16; buffer 1543 drivers/usb/class/usbtmc.c buffer[7] = transfersize >> 24; buffer 1545 drivers/usb/class/usbtmc.c buffer[9] = 0; /* Reserved */ buffer 1546 drivers/usb/class/usbtmc.c buffer[10] = 0; /* Reserved */ buffer 1547 drivers/usb/class/usbtmc.c buffer[11] = 0; /* Reserved */ buffer 1558 drivers/usb/class/usbtmc.c if (copy_from_user(&buffer[USBTMC_HEADER_SIZE], buf, transfersize)) { buffer 1568 drivers/usb/class/usbtmc.c 16, 1, buffer, aligned, true); buffer 1621 drivers/usb/class/usbtmc.c u8 *buffer; buffer 1630 drivers/usb/class/usbtmc.c buffer = kmalloc(USBTMC_BUFSIZE, GFP_KERNEL); buffer 1631 drivers/usb/class/usbtmc.c if (!buffer) buffer 1638 drivers/usb/class/usbtmc.c 0, 0, buffer, 1, USB_CTRL_GET_TIMEOUT); buffer 1644 drivers/usb/class/usbtmc.c dev_dbg(dev, "INITIATE_CLEAR returned %x\n", buffer[0]); buffer 1646 drivers/usb/class/usbtmc.c if (buffer[0] != USBTMC_STATUS_SUCCESS) { buffer 1647 drivers/usb/class/usbtmc.c dev_err(dev, "INITIATE_CLEAR returned %x\n", buffer[0]); buffer 1662 drivers/usb/class/usbtmc.c 0, 0, buffer, 2, USB_CTRL_GET_TIMEOUT); buffer 1668 drivers/usb/class/usbtmc.c dev_dbg(dev, "CHECK_CLEAR_STATUS returned %x\n", buffer[0]); buffer 1670 drivers/usb/class/usbtmc.c if (buffer[0] == USBTMC_STATUS_SUCCESS) buffer 1673 drivers/usb/class/usbtmc.c if (buffer[0] != USBTMC_STATUS_PENDING) { buffer 1674 drivers/usb/class/usbtmc.c dev_err(dev, "CHECK_CLEAR_STATUS returned %x\n", buffer[0]); buffer 1679 drivers/usb/class/usbtmc.c if ((buffer[1] & 1) != 0) { buffer 1687 drivers/usb/class/usbtmc.c buffer, USBTMC_BUFSIZE, buffer 1691 drivers/usb/class/usbtmc.c 16, 1, buffer, actual, true); buffer 1728 drivers/usb/class/usbtmc.c kfree(buffer); buffer 1784 drivers/usb/class/usbtmc.c char *buffer; buffer 1787 drivers/usb/class/usbtmc.c buffer = kmalloc(0x18, GFP_KERNEL); buffer 1788 drivers/usb/class/usbtmc.c if (!buffer) buffer 1794 drivers/usb/class/usbtmc.c 0, 0, buffer, 0x18, USB_CTRL_GET_TIMEOUT); buffer 1800 drivers/usb/class/usbtmc.c dev_dbg(dev, "GET_CAPABILITIES returned %x\n", buffer[0]); buffer 1801 drivers/usb/class/usbtmc.c if (buffer[0] != USBTMC_STATUS_SUCCESS) { buffer 1802 drivers/usb/class/usbtmc.c dev_err(dev, "GET_CAPABILITIES returned %x\n", buffer[0]); buffer 1806 drivers/usb/class/usbtmc.c dev_dbg(dev, "Interface capabilities are %x\n", buffer[4]); buffer 1807 drivers/usb/class/usbtmc.c dev_dbg(dev, "Device capabilities are %x\n", buffer[5]); buffer 1808 drivers/usb/class/usbtmc.c dev_dbg(dev, "USB488 interface capabilities are %x\n", buffer[14]); buffer 1809 drivers/usb/class/usbtmc.c dev_dbg(dev, "USB488 device capabilities are %x\n", buffer[15]); buffer 1811 drivers/usb/class/usbtmc.c data->capabilities.interface_capabilities = buffer[4]; buffer 1812 drivers/usb/class/usbtmc.c data->capabilities.device_capabilities = buffer[5]; buffer 1813 drivers/usb/class/usbtmc.c data->capabilities.usb488_interface_capabilities = buffer[14]; buffer 1814 drivers/usb/class/usbtmc.c data->capabilities.usb488_device_capabilities = buffer[15]; buffer 1815 drivers/usb/class/usbtmc.c data->usb488_caps = (buffer[14] & 0x07) | ((buffer[15] & 0x0f) << 4); buffer 1819 drivers/usb/class/usbtmc.c kfree(buffer); buffer 1851 drivers/usb/class/usbtmc.c u8 *buffer; buffer 1856 drivers/usb/class/usbtmc.c buffer = kmalloc(2, GFP_KERNEL); buffer 1857 drivers/usb/class/usbtmc.c if (!buffer) buffer 1864 drivers/usb/class/usbtmc.c 0, 0, buffer, 0x01, USB_CTRL_GET_TIMEOUT); buffer 1871 drivers/usb/class/usbtmc.c dev_dbg(dev, "INDICATOR_PULSE returned %x\n", buffer[0]); buffer 1873 drivers/usb/class/usbtmc.c if (buffer[0] != USBTMC_STATUS_SUCCESS) { buffer 1874 drivers/usb/class/usbtmc.c dev_err(dev, "INDICATOR_PULSE returned %x\n", buffer[0]); buffer 1881 drivers/usb/class/usbtmc.c kfree(buffer); buffer 1890 drivers/usb/class/usbtmc.c u8 *buffer = NULL; buffer 1902 drivers/usb/class/usbtmc.c buffer = kmalloc(request.req.wLength, GFP_KERNEL); buffer 1903 drivers/usb/class/usbtmc.c if (!buffer) buffer 1908 drivers/usb/class/usbtmc.c res = copy_from_user(buffer, request.data, buffer 1923 drivers/usb/class/usbtmc.c buffer, request.req.wLength, USB_CTRL_GET_TIMEOUT); buffer 1932 drivers/usb/class/usbtmc.c res = copy_to_user(request.data, buffer, rv); buffer 1938 drivers/usb/class/usbtmc.c kfree(buffer); buffer 27 drivers/usb/core/config.c static int find_next_descriptor(unsigned char *buffer, int size, buffer 32 drivers/usb/core/config.c unsigned char *buffer0 = buffer; buffer 36 drivers/usb/core/config.c h = (struct usb_descriptor_header *) buffer; buffer 39 drivers/usb/core/config.c buffer += h->bLength; buffer 48 drivers/usb/core/config.c return buffer - buffer0; buffer 53 drivers/usb/core/config.c unsigned char *buffer, int size) buffer 61 drivers/usb/core/config.c desc = (struct usb_ssp_isoc_ep_comp_descriptor *) buffer; buffer 74 drivers/usb/core/config.c unsigned char *buffer, int size) buffer 82 drivers/usb/core/config.c desc = (struct usb_ss_ep_comp_descriptor *) buffer; buffer 106 drivers/usb/core/config.c buffer += desc->bLength; buffer 176 drivers/usb/core/config.c ep, buffer, size); buffer 257 drivers/usb/core/config.c unsigned char *buffer, int size) buffer 260 drivers/usb/core/config.c unsigned char *buffer0 = buffer; buffer 267 drivers/usb/core/config.c d = (struct usb_endpoint_descriptor *) buffer; buffer 268 drivers/usb/core/config.c buffer += d->bLength; buffer 468 drivers/usb/core/config.c inum, asnum, endpoint, buffer, size); buffer 472 drivers/usb/core/config.c endpoint->extra = buffer; buffer 473 drivers/usb/core/config.c i = find_next_descriptor(buffer, size, USB_DT_ENDPOINT, buffer 476 drivers/usb/core/config.c retval = buffer - buffer0 + i; buffer 483 drivers/usb/core/config.c i = find_next_descriptor(buffer, size, USB_DT_ENDPOINT, buffer 485 drivers/usb/core/config.c return buffer - buffer0 + i; buffer 503 drivers/usb/core/config.c struct usb_host_config *config, unsigned char *buffer, int size, buffer 506 drivers/usb/core/config.c unsigned char *buffer0 = buffer; buffer 515 drivers/usb/core/config.c d = (struct usb_interface_descriptor *) buffer; buffer 516 drivers/usb/core/config.c buffer += d->bLength; buffer 552 drivers/usb/core/config.c alt->extra = buffer; buffer 553 drivers/usb/core/config.c i = find_next_descriptor(buffer, size, USB_DT_ENDPOINT, buffer 559 drivers/usb/core/config.c buffer += i; buffer 583 drivers/usb/core/config.c if (((struct usb_descriptor_header *) buffer)->bDescriptorType buffer 587 drivers/usb/core/config.c alt, num_ep, buffer, size); buffer 592 drivers/usb/core/config.c buffer += retval; buffer 601 drivers/usb/core/config.c return buffer - buffer0; buffer 604 drivers/usb/core/config.c i = find_next_descriptor(buffer, size, USB_DT_INTERFACE, buffer 606 drivers/usb/core/config.c return buffer - buffer0 + i; buffer 610 drivers/usb/core/config.c struct usb_host_config *config, unsigned char *buffer, int size) buffer 613 drivers/usb/core/config.c unsigned char *buffer0 = buffer; buffer 625 drivers/usb/core/config.c memcpy(&config->desc, buffer, USB_DT_CONFIG_SIZE); buffer 639 drivers/usb/core/config.c buffer += config->desc.bLength; buffer 652 drivers/usb/core/config.c for ((buffer2 = buffer, size2 = size); buffer 743 drivers/usb/core/config.c size = buffer2 - buffer; buffer 787 drivers/usb/core/config.c config->extra = buffer; buffer 788 drivers/usb/core/config.c i = find_next_descriptor(buffer, size, USB_DT_INTERFACE, buffer 794 drivers/usb/core/config.c buffer += i; buffer 800 drivers/usb/core/config.c buffer, size, inums, nalts); buffer 804 drivers/usb/core/config.c buffer += retval; buffer 990 drivers/usb/core/config.c unsigned char *buffer, *buffer0; buffer 1021 drivers/usb/core/config.c buffer = kzalloc(total_len, GFP_KERNEL); buffer 1022 drivers/usb/core/config.c if (!buffer) { buffer 1026 drivers/usb/core/config.c dev->bos->desc = (struct usb_bos_descriptor *)buffer; buffer 1028 drivers/usb/core/config.c ret = usb_get_descriptor(dev, USB_DT_BOS, 0, buffer, total_len); buffer 1036 drivers/usb/core/config.c buffer0 = buffer; buffer 1038 drivers/usb/core/config.c buffer += length; buffer 1041 drivers/usb/core/config.c cap = (struct usb_dev_cap_header *)buffer; buffer 1065 drivers/usb/core/config.c (struct usb_ext_cap_descriptor *)buffer; buffer 1069 drivers/usb/core/config.c (struct usb_ss_cap_descriptor *)buffer; buffer 1072 drivers/usb/core/config.c ssp_cap = (struct usb_ssp_cap_descriptor *)buffer; buffer 1080 drivers/usb/core/config.c (struct usb_ss_container_id_descriptor *)buffer; buffer 1084 drivers/usb/core/config.c (struct usb_ptm_cap_descriptor *)buffer; buffer 1090 drivers/usb/core/config.c buffer += length; buffer 1092 drivers/usb/core/config.c dev->bos->desc->wTotalLength = cpu_to_le16(buffer - buffer0); buffer 469 drivers/usb/core/devices.c static ssize_t usb_device_dump(char __user **buffer, size_t *nbytes, buffer 561 drivers/usb/core/devices.c if (copy_to_user(*buffer, pages_start + *skip_bytes, length)) { buffer 568 drivers/usb/core/devices.c *buffer += length; buffer 578 drivers/usb/core/devices.c ret = usb_device_dump(buffer, nbytes, skip_bytes, buffer 1483 drivers/usb/core/devio.c unsigned long uurb_start = (unsigned long)uurb->buffer; buffer 1533 drivers/usb/core/devio.c if (uurb->buffer_length > 0 && !uurb->buffer) buffer 1560 drivers/usb/core/devio.c if (copy_from_user(dr, uurb->buffer, 8)) { buffer 1573 drivers/usb/core/devio.c uurb->buffer += 8; buffer 1660 drivers/usb/core/devio.c !access_ok(uurb->buffer, uurb->buffer_length)) { buffer 1713 drivers/usb/core/devio.c if (copy_from_user(buf, uurb->buffer, u)) { buffer 1717 drivers/usb/core/devio.c uurb->buffer += u; buffer 1723 drivers/usb/core/devio.c unsigned long uurb_start = (unsigned long)uurb->buffer; buffer 1736 drivers/usb/core/devio.c uurb->buffer, buffer 1808 drivers/usb/core/devio.c unsigned long uurb_start = (unsigned long)uurb->buffer; buffer 1814 drivers/usb/core/devio.c as->userbuffer = uurb->buffer; buffer 2073 drivers/usb/core/devio.c kurb->buffer = compat_ptr(urb32.buffer); buffer 757 drivers/usb/core/hcd.c char buffer[6]; /* Any root hubs with > 31 ports? */ buffer 764 drivers/usb/core/hcd.c length = hcd->driver->hub_status_data(hcd, buffer); buffer 774 drivers/usb/core/hcd.c memcpy(urb->transfer_buffer, buffer, length); buffer 2141 drivers/usb/core/hcd.c char buffer[6]; buffer 2143 drivers/usb/core/hcd.c status = hcd->driver->hub_status_data(hcd, buffer); buffer 735 drivers/usb/core/hub.c bits |= ((unsigned long) ((*hub->buffer)[i])) buffer 1377 drivers/usb/core/hub.c hub->buffer = kmalloc(sizeof(*hub->buffer), GFP_KERNEL); buffer 1378 drivers/usb/core/hub.c if (!hub->buffer) { buffer 1629 drivers/usb/core/hub.c if (maxp > sizeof(*hub->buffer)) buffer 1630 drivers/usb/core/hub.c maxp = sizeof(*hub->buffer); buffer 1638 drivers/usb/core/hub.c usb_fill_int_urb(hub->urb, hdev, pipe, *hub->buffer, maxp, hub_irq, buffer 1737 drivers/usb/core/hub.c kfree(hub->buffer); buffer 26 drivers/usb/core/hub.h u8 (*buffer)[8]; buffer 2146 drivers/usb/core/message.c u8 *buffer, buffer 2164 drivers/usb/core/message.c elength = buffer[0]; buffer 2174 drivers/usb/core/message.c if (buffer[1] != USB_DT_CS_INTERFACE) { buffer 2179 drivers/usb/core/message.c switch (buffer[2]) { buffer 2187 drivers/usb/core/message.c union_header = (struct usb_cdc_union_desc *)buffer; buffer 2193 drivers/usb/core/message.c (struct usb_cdc_country_functional_desc *)buffer; buffer 2200 drivers/usb/core/message.c header = (struct usb_cdc_header_desc *)buffer; buffer 2206 drivers/usb/core/message.c (struct usb_cdc_acm_descriptor *)buffer; buffer 2213 drivers/usb/core/message.c ether = (struct usb_cdc_ether_desc *)buffer; buffer 2219 drivers/usb/core/message.c (struct usb_cdc_call_mgmt_descriptor *)buffer; buffer 2225 drivers/usb/core/message.c (struct usb_cdc_dmm_desc *)buffer; buffer 2232 drivers/usb/core/message.c desc = (struct usb_cdc_mdlm_desc *)buffer; buffer 2239 drivers/usb/core/message.c detail = (struct usb_cdc_mdlm_detail_desc *)buffer; buffer 2244 drivers/usb/core/message.c hdr->usb_cdc_ncm_desc = (struct usb_cdc_ncm_desc *)buffer; buffer 2250 drivers/usb/core/message.c hdr->usb_cdc_mbim_desc = (struct usb_cdc_mbim_desc *)buffer; buffer 2256 drivers/usb/core/message.c (struct usb_cdc_mbim_extended_desc *)buffer; buffer 2267 drivers/usb/core/message.c buffer[2], elength); buffer 2273 drivers/usb/core/message.c buffer += elength; buffer 88 drivers/usb/core/usb-acpi.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 100 drivers/usb/core/usb-acpi.c status = acpi_evaluate_object(handle, "_UPC", NULL, &buffer); buffer 101 drivers/usb/core/usb-acpi.c upc = buffer.pointer; buffer 853 drivers/usb/core/usb.c int __usb_get_extra_descriptor(char *buffer, unsigned size, buffer 859 drivers/usb/core/usb.c header = (struct usb_descriptor_header *)buffer; buffer 875 drivers/usb/core/usb.c buffer += header->bLength; buffer 1228 drivers/usb/dwc2/core.h void *buffer, unsigned int count) buffer 1231 drivers/usb/dwc2/core.h u32 *buf = buffer; buffer 1241 drivers/usb/dwc2/core.h const void *buffer, unsigned int count) buffer 1244 drivers/usb/dwc2/core.h const u32 *buf = buffer; buffer 243 drivers/usb/gadget/function/f_hid.c static ssize_t f_hidg_read(struct file *file, char __user *buffer, buffer 255 drivers/usb/gadget/function/f_hid.c if (!access_ok(buffer, count)) buffer 289 drivers/usb/gadget/function/f_hid.c count -= copy_to_user(buffer, req->buf + list->pos, count); buffer 334 drivers/usb/gadget/function/f_hid.c static ssize_t f_hidg_write(struct file *file, const char __user *buffer, buffer 342 drivers/usb/gadget/function/f_hid.c if (!access_ok(buffer, count)) buffer 367 drivers/usb/gadget/function/f_hid.c status = copy_from_user(req->buf, buffer, count); buffer 1117 drivers/usb/gadget/function/rndis.c static ssize_t rndis_proc_write(struct file *file, const char __user *buffer, buffer 1126 drivers/usb/gadget/function/rndis.c if (get_user(c, buffer)) buffer 1156 drivers/usb/gadget/function/rndis.c buffer++; buffer 70 drivers/usb/gadget/udc/aspeed-vhub/ep0.c u8 *buffer = ep->buf; buffer 78 drivers/usb/gadget/udc/aspeed-vhub/ep0.c buffer[i] = va_arg(args, int); buffer 331 drivers/usb/gadget/udc/fotg210-udc.c u8 *buffer; buffer 336 drivers/usb/gadget/udc/fotg210-udc.c buffer = req->req.buf; buffer 339 drivers/usb/gadget/udc/fotg210-udc.c buffer = req->req.buf + req->req.actual; buffer 345 drivers/usb/gadget/udc/fotg210-udc.c buffer = req->req.buf + req->req.actual; buffer 352 drivers/usb/gadget/udc/fotg210-udc.c d = dma_map_single(dev, buffer, length, buffer 558 drivers/usb/gadget/udc/fotg210-udc.c u8 *buffer) buffer 561 drivers/usb/gadget/udc/fotg210-udc.c u8 *tmp = buffer; buffer 558 drivers/usb/gadget/udc/fusb300_udc.c u8 *buffer, u32 length) buffer 564 drivers/usb/gadget/udc/fusb300_udc.c tmp = buffer; buffer 376 drivers/usb/gadget/udc/udc-xilinx.c u8 *buffer, u32 length) buffer 430 drivers/usb/gadget/udc/udc-xilinx.c u8 *buffer, u32 length) buffer 1807 drivers/usb/gadget/udc/udc-xilinx.c void *buffer; buffer 1828 drivers/usb/gadget/udc/udc-xilinx.c buffer = req->usb_req.buf + req->usb_req.actual; buffer 1830 drivers/usb/gadget/udc/udc-xilinx.c memcpy(buffer, ep0rambase, bytes_to_rx); buffer 1855 drivers/usb/gadget/udc/udc-xilinx.c void *buffer; buffer 1904 drivers/usb/gadget/udc/udc-xilinx.c buffer = req->usb_req.buf + req->usb_req.actual; buffer 1906 drivers/usb/gadget/udc/udc-xilinx.c memcpy(ep0rambase, buffer, length); buffer 261 drivers/usb/host/oxu210hp-hcd.c void *buffer; buffer 383 drivers/usb/host/oxu210hp-hcd.c u8 buffer[BUFFER_SIZE]; buffer 942 drivers/usb/host/oxu210hp-hcd.c qtd->buffer = (void *) &oxu->mem->db_pool[i]; buffer 943 drivers/usb/host/oxu210hp-hcd.c qtd->buffer_dma = virt_to_phys(qtd->buffer); buffer 966 drivers/usb/host/oxu210hp-hcd.c index = (qtd->buffer - (void *) &oxu->mem->db_pool[0]) buffer 971 drivers/usb/host/oxu210hp-hcd.c qtd->buffer = NULL; buffer 990 drivers/usb/host/oxu210hp-hcd.c if (qtd->buffer) buffer 1532 drivers/usb/host/oxu210hp-hcd.c memcpy(qtd->transfer_buffer, qtd->buffer, qtd->length); buffer 1652 drivers/usb/host/oxu210hp-hcd.c memcpy(qtd->buffer, qtd->urb->setup_packet, buffer 1682 drivers/usb/host/oxu210hp-hcd.c memcpy(qtd->buffer, qtd->urb->transfer_buffer, len); buffer 92 drivers/usb/host/uhci-debug.c out += sprintf(out, "(buf=%08x)\n", hc32_to_cpu(uhci, td->buffer)); buffer 263 drivers/usb/host/uhci-hcd.h __hc32 buffer; buffer 135 drivers/usb/host/uhci-q.c u32 status, u32 token, u32 buffer) buffer 139 drivers/usb/host/uhci-q.c td->buffer = cpu_to_hc32(uhci, buffer); buffer 629 drivers/usb/host/xhci-dbgcap.c if (r->trb_dma == event->trans_event.buffer) { buffer 1975 drivers/usb/host/xhci-ring.c ep_ring = xhci_dma_to_transfer_ring(ep, le64_to_cpu(event->buffer)); buffer 2148 drivers/usb/host/xhci-ring.c ep_ring = xhci_dma_to_transfer_ring(ep, le64_to_cpu(event->buffer)); buffer 2228 drivers/usb/host/xhci-ring.c ep_ring = xhci_dma_to_transfer_ring(ep, le64_to_cpu(event->buffer)); buffer 2264 drivers/usb/host/xhci-ring.c ep_ring = xhci_dma_to_transfer_ring(ep, le64_to_cpu(event->buffer)); buffer 2351 drivers/usb/host/xhci-ring.c ep_trb_dma = le64_to_cpu(event->buffer); buffer 2695 drivers/usb/host/xhci-ring.c lower_32_bits(le64_to_cpu(event->buffer)), buffer 2696 drivers/usb/host/xhci-ring.c upper_32_bits(le64_to_cpu(event->buffer)), buffer 1072 drivers/usb/host/xhci.h __le64 buffer; buffer 342 drivers/usb/misc/adutux.c static ssize_t adu_read(struct file *file, __user char *buffer, size_t count, buffer 384 drivers/usb/misc/adutux.c if (copy_to_user(buffer, dev->read_buffer_secondary+dev->secondary_head, amount)) { buffer 505 drivers/usb/misc/adutux.c static ssize_t adu_write(struct file *file, const __user char *buffer, buffer 581 drivers/usb/misc/adutux.c if (copy_from_user(dev->interrupt_out_buffer, buffer, bytes_to_write) != 0) { buffer 606 drivers/usb/misc/adutux.c buffer += bytes_to_write; buffer 408 drivers/usb/misc/chaoskey.c char __user *buffer, buffer 450 drivers/usb/misc/chaoskey.c remain = copy_to_user(buffer, dev->buf + dev->used, this_time); buffer 464 drivers/usb/misc/chaoskey.c buffer += this_time; buffer 81 drivers/usb/misc/cytherm.c unsigned char *buffer; buffer 84 drivers/usb/misc/cytherm.c buffer = kmalloc(8, GFP_KERNEL); buffer 85 drivers/usb/misc/cytherm.c if (!buffer) buffer 97 drivers/usb/misc/cytherm.c cytherm->brightness, buffer, 8); buffer 102 drivers/usb/misc/cytherm.c 0x01, buffer, 8); buffer 106 drivers/usb/misc/cytherm.c kfree(buffer); buffer 123 drivers/usb/misc/cytherm.c unsigned char *buffer; buffer 127 drivers/usb/misc/cytherm.c buffer = kmalloc(8, GFP_KERNEL); buffer 128 drivers/usb/misc/cytherm.c if (!buffer) buffer 132 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_RAM, TEMP, 0, buffer, 8); buffer 135 drivers/usb/misc/cytherm.c temp = buffer[1]; buffer 138 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_RAM, SIGN, 0, buffer, 8); buffer 141 drivers/usb/misc/cytherm.c sign = buffer[1]; buffer 143 drivers/usb/misc/cytherm.c kfree(buffer); buffer 160 drivers/usb/misc/cytherm.c unsigned char *buffer; buffer 162 drivers/usb/misc/cytherm.c buffer = kmalloc(8, GFP_KERNEL); buffer 163 drivers/usb/misc/cytherm.c if (!buffer) buffer 167 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_RAM, BUTTON, 0, buffer, 8); buffer 171 drivers/usb/misc/cytherm.c retval = buffer[1]; buffer 173 drivers/usb/misc/cytherm.c kfree(buffer); buffer 189 drivers/usb/misc/cytherm.c unsigned char *buffer; buffer 191 drivers/usb/misc/cytherm.c buffer = kmalloc(8, GFP_KERNEL); buffer 192 drivers/usb/misc/cytherm.c if (!buffer) buffer 195 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_PORT, 0, 0, buffer, 8); buffer 199 drivers/usb/misc/cytherm.c retval = buffer[1]; buffer 201 drivers/usb/misc/cytherm.c kfree(buffer); buffer 212 drivers/usb/misc/cytherm.c unsigned char *buffer; buffer 216 drivers/usb/misc/cytherm.c buffer = kmalloc(8, GFP_KERNEL); buffer 217 drivers/usb/misc/cytherm.c if (!buffer) buffer 228 drivers/usb/misc/cytherm.c tmp, buffer, 8); buffer 232 drivers/usb/misc/cytherm.c kfree(buffer); buffer 244 drivers/usb/misc/cytherm.c unsigned char *buffer; buffer 246 drivers/usb/misc/cytherm.c buffer = kmalloc(8, GFP_KERNEL); buffer 247 drivers/usb/misc/cytherm.c if (!buffer) buffer 250 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_PORT, 1, 0, buffer, 8); buffer 254 drivers/usb/misc/cytherm.c retval = buffer[1]; buffer 256 drivers/usb/misc/cytherm.c kfree(buffer); buffer 267 drivers/usb/misc/cytherm.c unsigned char *buffer; buffer 271 drivers/usb/misc/cytherm.c buffer = kmalloc(8, GFP_KERNEL); buffer 272 drivers/usb/misc/cytherm.c if (!buffer) buffer 283 drivers/usb/misc/cytherm.c tmp, buffer, 8); buffer 287 drivers/usb/misc/cytherm.c kfree(buffer); buffer 43 drivers/usb/misc/emi26.c unsigned char *buffer = kmemdup(data, length, GFP_KERNEL); buffer 45 drivers/usb/misc/emi26.c if (!buffer) { buffer 51 drivers/usb/misc/emi26.c result = usb_control_msg (dev, usb_sndctrlpipe(dev, 0), request, 0x40, address, 0, buffer, length, 300); buffer 52 drivers/usb/misc/emi26.c kfree (buffer); buffer 52 drivers/usb/misc/emi62.c unsigned char *buffer = kmemdup(data, length, GFP_KERNEL); buffer 54 drivers/usb/misc/emi62.c if (!buffer) { buffer 60 drivers/usb/misc/emi62.c result = usb_control_msg (dev, usb_sndctrlpipe(dev, 0), request, 0x40, address, 0, buffer, length, 300); buffer 61 drivers/usb/misc/emi62.c kfree (buffer); buffer 113 drivers/usb/misc/ftdi-elan.c void *buffer; buffer 292 drivers/usb/misc/ftdi-elan.c struct u132_target *target, u8 *buffer, int length); buffer 377 drivers/usb/misc/ftdi-elan.c command->buffer = &command->value; buffer 399 drivers/usb/misc/ftdi-elan.c command->buffer = &command->value; buffer 435 drivers/usb/misc/ftdi-elan.c command->buffer = &command->value; buffer 656 drivers/usb/misc/ftdi-elan.c static ssize_t ftdi_elan_read(struct file *file, char __user *buffer, buffer 679 drivers/usb/misc/ftdi-elan.c if (copy_to_user(buffer++, p, 1)) { buffer 741 drivers/usb/misc/ftdi-elan.c u8 *f = command->buffer; buffer 827 drivers/usb/misc/ftdi-elan.c struct u132_target *target, u8 *buffer, int length) buffer 842 drivers/usb/misc/ftdi-elan.c (*callback) (target->endp, urb, buffer, length, toggle_bits, buffer 1199 drivers/usb/misc/ftdi-elan.c command->buffer = &command->value; buffer 1231 drivers/usb/misc/ftdi-elan.c command->buffer = &command->value; buffer 1263 drivers/usb/misc/ftdi-elan.c command->buffer = &command->value; buffer 1309 drivers/usb/misc/ftdi-elan.c command->buffer = NULL; buffer 1353 drivers/usb/misc/ftdi-elan.c command->buffer = NULL; buffer 1397 drivers/usb/misc/ftdi-elan.c command->buffer = NULL; buffer 1453 drivers/usb/misc/ftdi-elan.c command->buffer = urb->setup_packet; buffer 1518 drivers/usb/misc/ftdi-elan.c command->buffer = NULL; buffer 1575 drivers/usb/misc/ftdi-elan.c command->buffer = NULL; buffer 1640 drivers/usb/misc/ftdi-elan.c command->buffer = urb->transfer_buffer + buffer 1643 drivers/usb/misc/ftdi-elan.c b = command->buffer; buffer 1719 drivers/usb/misc/ftdi-elan.c command->buffer = NULL; buffer 1779 drivers/usb/misc/ftdi-elan.c command->buffer = &command->value; buffer 83 drivers/usb/misc/idmouse.c static ssize_t idmouse_read(struct file *file, char __user *buffer, buffer 308 drivers/usb/misc/idmouse.c static ssize_t idmouse_read(struct file *file, char __user *buffer, size_t count, buffer 323 drivers/usb/misc/idmouse.c result = simple_read_from_buffer(buffer, count, ppos, buffer 277 drivers/usb/misc/iowarrior.c static ssize_t iowarrior_read(struct file *file, char __user *buffer, buffer 329 drivers/usb/misc/iowarrior.c if (copy_to_user(buffer, dev->read_queue + offset, count)) { buffer 485 drivers/usb/misc/iowarrior.c __u8 *buffer; buffer 494 drivers/usb/misc/iowarrior.c buffer = kzalloc(dev->report_size, GFP_KERNEL); buffer 495 drivers/usb/misc/iowarrior.c if (!buffer) buffer 519 drivers/usb/misc/iowarrior.c io_res = copy_from_user(buffer, user_buffer, buffer 525 drivers/usb/misc/iowarrior.c buffer, buffer 541 drivers/usb/misc/iowarrior.c buffer, dev->report_size); buffer 545 drivers/usb/misc/iowarrior.c io_res = copy_to_user(user_buffer, buffer, dev->report_size); buffer 591 drivers/usb/misc/iowarrior.c kfree(buffer); buffer 437 drivers/usb/misc/ldusb.c static ssize_t ld_usb_read(struct file *file, char __user *buffer, size_t count, buffer 494 drivers/usb/misc/ldusb.c if (copy_to_user(buffer, actual_buffer+1, bytes_to_read)) { buffer 524 drivers/usb/misc/ldusb.c static ssize_t ld_usb_write(struct file *file, const char __user *buffer, buffer 570 drivers/usb/misc/ldusb.c if (copy_from_user(dev->interrupt_out_buffer, buffer, bytes_to_write)) { buffer 655 drivers/usb/misc/ldusb.c char *buffer; buffer 675 drivers/usb/misc/ldusb.c buffer = kmalloc(256, GFP_KERNEL); buffer 676 drivers/usb/misc/ldusb.c if (!buffer) buffer 679 drivers/usb/misc/ldusb.c usb_string(udev, 255, buffer, 256); buffer 680 drivers/usb/misc/ldusb.c kfree(buffer); buffer 222 drivers/usb/misc/legousbtower.c static ssize_t tower_read (struct file *file, char __user *buffer, size_t count, loff_t *ppos); buffer 223 drivers/usb/misc/legousbtower.c static ssize_t tower_write (struct file *file, const char __user *buffer, size_t count, loff_t *ppos); buffer 535 drivers/usb/misc/legousbtower.c static ssize_t tower_read (struct file *file, char __user *buffer, size_t count, loff_t *ppos) buffer 596 drivers/usb/misc/legousbtower.c if (copy_to_user (buffer, dev->read_buffer, bytes_to_read)) { buffer 623 drivers/usb/misc/legousbtower.c static ssize_t tower_write (struct file *file, const char __user *buffer, size_t count, loff_t *ppos) buffer 667 drivers/usb/misc/legousbtower.c if (copy_from_user (dev->interrupt_out_buffer, buffer, bytes_to_write)) { buffer 29 drivers/usb/misc/lvstest.c u8 buffer[8]; buffer 441 drivers/usb/misc/lvstest.c usb_fill_int_urb(lvs->urb, hdev, pipe, &lvs->buffer[0], maxp, buffer 338 drivers/usb/misc/sisusbvga/sisusb.c char *buffer; buffer 371 drivers/usb/misc/sisusbvga/sisusb.c buffer = sisusb->obuf[index]; buffer 375 drivers/usb/misc/sisusbvga/sisusb.c if (copy_from_user(buffer, userbuffer, passsize)) buffer 382 drivers/usb/misc/sisusbvga/sisusb.c memcpy(buffer, kernbuffer, passsize); buffer 394 drivers/usb/misc/sisusbvga/sisusb.c buffer, thispass, &transferred_len, buffer 409 drivers/usb/misc/sisusbvga/sisusb.c buffer += transferred_len; buffer 457 drivers/usb/misc/sisusbvga/sisusb.c char *buffer; buffer 466 drivers/usb/misc/sisusbvga/sisusb.c buffer = sisusb->ibuf; buffer 483 drivers/usb/misc/sisusbvga/sisusb.c result = sisusb_bulkin_msg(sisusb, pipe, buffer, thispass, buffer 507 drivers/usb/misc/sisusbvga/sisusb.c if (copy_to_user(userbuffer, buffer, thispass)) buffer 514 drivers/usb/misc/sisusbvga/sisusb.c memcpy(kernbuffer, buffer, thispass); buffer 2482 drivers/usb/misc/sisusbvga/sisusb.c static ssize_t sisusb_read(struct file *file, char __user *buffer, buffer 2520 drivers/usb/misc/sisusbvga/sisusb.c else if (put_user(buf8, (u8 __user *)buffer)) buffer 2531 drivers/usb/misc/sisusbvga/sisusb.c else if (put_user(buf16, (u16 __user *)buffer)) buffer 2542 drivers/usb/misc/sisusbvga/sisusb.c else if (put_user(buf32, (u32 __user *)buffer)) buffer 2564 drivers/usb/misc/sisusbvga/sisusb.c NULL, count, buffer, &bytes_read); buffer 2580 drivers/usb/misc/sisusbvga/sisusb.c NULL, count, buffer, &bytes_read); buffer 2600 drivers/usb/misc/sisusbvga/sisusb.c else if (put_user(buf32, (u32 __user *)buffer)) buffer 2618 drivers/usb/misc/sisusbvga/sisusb.c static ssize_t sisusb_write(struct file *file, const char __user *buffer, buffer 2653 drivers/usb/misc/sisusbvga/sisusb.c if (get_user(buf8, (u8 __user *)buffer)) buffer 2664 drivers/usb/misc/sisusbvga/sisusb.c if (get_user(buf16, (u16 __user *)buffer)) buffer 2675 drivers/usb/misc/sisusbvga/sisusb.c if (get_user(buf32, (u32 __user *)buffer)) buffer 2703 drivers/usb/misc/sisusbvga/sisusb.c count, buffer, 0, &bytes_written); buffer 2721 drivers/usb/misc/sisusbvga/sisusb.c count, buffer, 0, &bytes_written); buffer 2740 drivers/usb/misc/sisusbvga/sisusb.c if (get_user(buf32, (u32 __user *)buffer)) buffer 124 drivers/usb/misc/usblcd.c static ssize_t lcd_read(struct file *file, char __user * buffer, buffer 150 drivers/usb/misc/usblcd.c if (copy_to_user(buffer, dev->bulk_in_buffer, bytes_read)) buffer 120 drivers/usb/misc/usbsevseg.c unsigned char *buffer; buffer 126 drivers/usb/misc/usbsevseg.c buffer = kzalloc(MAXLEN, mf); buffer 127 drivers/usb/misc/usbsevseg.c if (!buffer) buffer 132 drivers/usb/misc/usbsevseg.c buffer[i] = mydev->text[mydev->textlength-1-i]; buffer 140 drivers/usb/misc/usbsevseg.c buffer, buffer 147 drivers/usb/misc/usbsevseg.c kfree(buffer); buffer 319 drivers/usb/misc/uss720.c static int uss720_irq(int usbstatus, void *buffer, int len, void *dev_id) buffer 324 drivers/usb/misc/uss720.c if (usbstatus != 0 || len < 4 || !buffer) buffer 326 drivers/usb/misc/uss720.c memcpy(priv->reg, buffer, 4); buffer 561 drivers/usb/misc/uss720.c static size_t parport_uss720_ecp_write_data(struct parport *pp, const void *buffer, size_t len, int flags) buffer 572 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); buffer 574 drivers/usb/misc/uss720.c printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %zu rlen %u\n", buffer, len, rlen); buffer 579 drivers/usb/misc/uss720.c static size_t parport_uss720_ecp_read_data(struct parport *pp, void *buffer, size_t len, int flags) buffer 590 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, 2), buffer, len, &rlen, 20000); buffer 592 drivers/usb/misc/uss720.c printk(KERN_ERR "uss720: recvbulk ep 2 buf %p len %zu rlen %u\n", buffer, len, rlen); buffer 597 drivers/usb/misc/uss720.c static size_t parport_uss720_ecp_write_addr(struct parport *pp, const void *buffer, size_t len, int flags) buffer 604 drivers/usb/misc/uss720.c if (set_1284_register(pp, 5, *(char *)buffer, GFP_KERNEL)) buffer 606 drivers/usb/misc/uss720.c buffer++; buffer 612 drivers/usb/misc/uss720.c static size_t parport_uss720_write_compat(struct parport *pp, const void *buffer, size_t len, int flags) buffer 623 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); buffer 625 drivers/usb/misc/uss720.c printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %zu rlen %u\n", buffer, len, rlen); buffer 400 drivers/usb/misc/yurex.c static ssize_t yurex_read(struct file *file, char __user *buffer, size_t count, buffer 424 drivers/usb/misc/yurex.c return simple_read_from_buffer(buffer, count, ppos, in_buffer, len); buffer 432 drivers/usb/misc/yurex.c char buffer[16 + 1]; buffer 433 drivers/usb/misc/yurex.c char *data = buffer; buffer 438 drivers/usb/misc/yurex.c count = min(sizeof(buffer) - 1, count); buffer 452 drivers/usb/misc/yurex.c if (copy_from_user(buffer, user_buffer, count)) { buffer 457 drivers/usb/misc/yurex.c buffer[count] = 0; buffer 460 drivers/usb/misc/yurex.c switch (buffer[0]) { buffer 463 drivers/usb/misc/yurex.c dev->cntl_buffer[0] = buffer[0]; buffer 464 drivers/usb/misc/yurex.c dev->cntl_buffer[1] = buffer[1]; buffer 469 drivers/usb/misc/yurex.c dev->cntl_buffer[0] = buffer[0]; buffer 484 drivers/usb/misc/yurex.c buffer[6] = CMD_EOF; buffer 172 drivers/usb/mtu3/mtu3.h __le32 buffer; buffer 240 drivers/usb/mtu3/mtu3_debugfs.c gpd->buffer, gpd->dw3_info); buffer 254 drivers/usb/mtu3/mtu3_qmu.c gpd->buffer = cpu_to_le32(lower_32_bits(req->dma)); buffer 295 drivers/usb/mtu3/mtu3_qmu.c gpd->buffer = cpu_to_le32(lower_32_bits(req->dma)); buffer 191 drivers/usb/mtu3/mtu3_trace.h __entry->dw2 = le32_to_cpu(gpd->buffer); buffer 437 drivers/usb/musb/musb_host.c void *buffer = urb->transfer_buffer; buffer 456 drivers/usb/musb/musb_host.c buf = buffer + d->offset; buffer 476 drivers/usb/musb/musb_host.c buf = buffer + qh->offset; buffer 197 drivers/usb/serial/ch341.c char *buffer; buffer 201 drivers/usb/serial/ch341.c buffer = kmalloc(size, GFP_KERNEL); buffer 202 drivers/usb/serial/ch341.c if (!buffer) buffer 205 drivers/usb/serial/ch341.c r = ch341_control_in(dev, CH341_REQ_READ_REG, 0x0706, 0, buffer, size); buffer 210 drivers/usb/serial/ch341.c priv->msr = (~(*buffer)) & CH341_BITS_MODEM_STAT; buffer 213 drivers/usb/serial/ch341.c out: kfree(buffer); buffer 222 drivers/usb/serial/ch341.c char *buffer; buffer 225 drivers/usb/serial/ch341.c buffer = kmalloc(size, GFP_KERNEL); buffer 226 drivers/usb/serial/ch341.c if (!buffer) buffer 230 drivers/usb/serial/ch341.c r = ch341_control_in(dev, CH341_REQ_READ_VERSION, 0, 0, buffer, size); buffer 233 drivers/usb/serial/ch341.c dev_dbg(&dev->dev, "Chip version: 0x%02x\n", buffer[0]); buffer 245 drivers/usb/serial/ch341.c out: kfree(buffer); buffer 255 drivers/usb/serial/ch341.c char *buffer; buffer 258 drivers/usb/serial/ch341.c buffer = kmalloc(size, GFP_KERNEL); buffer 259 drivers/usb/serial/ch341.c if (!buffer) buffer 270 drivers/usb/serial/ch341.c CH341_REG_BREAK, 0, buffer, size, DEFAULT_TIMEOUT); buffer 286 drivers/usb/serial/ch341.c kfree(buffer); buffer 2456 drivers/usb/serial/ftdi_sio.c unsigned char *buffer = dest; buffer 2463 drivers/usb/serial/ftdi_sio.c c = kfifo_out(&port->write_fifo, &buffer[i + 1], len); buffer 2467 drivers/usb/serial/ftdi_sio.c buffer[i] = (c << 2) + 1; buffer 981 drivers/usb/serial/garmin_gps.c unsigned char *buffer; buffer 988 drivers/usb/serial/garmin_gps.c buffer = kmalloc(count, GFP_ATOMIC); buffer 989 drivers/usb/serial/garmin_gps.c if (!buffer) buffer 994 drivers/usb/serial/garmin_gps.c kfree(buffer); buffer 998 drivers/usb/serial/garmin_gps.c memcpy(buffer, buf, count); buffer 1000 drivers/usb/serial/garmin_gps.c usb_serial_debug_data(&port->dev, __func__, count, buffer); buffer 1005 drivers/usb/serial/garmin_gps.c buffer, count, buffer 1010 drivers/usb/serial/garmin_gps.c if (getLayerId(buffer) == GARMIN_LAYERID_APPL) { buffer 1031 drivers/usb/serial/garmin_gps.c kfree(buffer); buffer 301 drivers/usb/serial/io_edgeport.c unsigned char *buffer, __u16 bufferLength); buffer 320 drivers/usb/serial/io_edgeport.c unsigned char *buffer, int writeLength); buffer 1291 drivers/usb/serial/io_edgeport.c unsigned char *buffer; buffer 1335 drivers/usb/serial/io_edgeport.c buffer = kmalloc(count+2, GFP_ATOMIC); buffer 1336 drivers/usb/serial/io_edgeport.c if (!buffer) { buffer 1340 drivers/usb/serial/io_edgeport.c buffer[0] = IOSP_BUILD_DATA_HDR1(edge_port->port->port_number, count); buffer 1341 drivers/usb/serial/io_edgeport.c buffer[1] = IOSP_BUILD_DATA_HDR2(edge_port->port->port_number, count); buffer 1346 drivers/usb/serial/io_edgeport.c memcpy(&buffer[2], &fifo->fifo[fifo->tail], firsthalf); buffer 1354 drivers/usb/serial/io_edgeport.c memcpy(&buffer[2+firsthalf], &fifo->fifo[fifo->tail], buffer 1361 drivers/usb/serial/io_edgeport.c usb_serial_debug_data(&edge_port->port->dev, __func__, count, &buffer[2]); buffer 1367 drivers/usb/serial/io_edgeport.c buffer, count+2, buffer 1726 drivers/usb/serial/io_edgeport.c unsigned char *buffer, __u16 bufferLength) buffer 1747 drivers/usb/serial/io_edgeport.c edge_serial->rxHeader1 = *buffer; buffer 1748 drivers/usb/serial/io_edgeport.c ++buffer; buffer 1757 drivers/usb/serial/io_edgeport.c edge_serial->rxHeader2 = *buffer; buffer 1758 drivers/usb/serial/io_edgeport.c ++buffer; buffer 1832 drivers/usb/serial/io_edgeport.c edge_tty_recv(edge_port->port, buffer, buffer 1837 drivers/usb/serial/io_edgeport.c buffer += rxLen; buffer 1841 drivers/usb/serial/io_edgeport.c edge_serial->rxHeader3 = *buffer; buffer 1842 drivers/usb/serial/io_edgeport.c ++buffer; buffer 2214 drivers/usb/serial/io_edgeport.c unsigned char *buffer; buffer 2219 drivers/usb/serial/io_edgeport.c buffer = kmalloc(10, GFP_ATOMIC); buffer 2220 drivers/usb/serial/io_edgeport.c if (!buffer) buffer 2223 drivers/usb/serial/io_edgeport.c currentCommand = buffer; buffer 2228 drivers/usb/serial/io_edgeport.c status = write_cmd_usb(edge_port, buffer, length); buffer 2231 drivers/usb/serial/io_edgeport.c kfree(buffer); buffer 2243 drivers/usb/serial/io_edgeport.c unsigned char *buffer, int length) buffer 2251 drivers/usb/serial/io_edgeport.c usb_serial_debug_data(dev, __func__, length, buffer); buffer 2265 drivers/usb/serial/io_edgeport.c buffer, length, edge_bulk_out_cmd_callback, edge_port); buffer 326 drivers/usb/serial/io_ti.c int length, __u8 address_type, __u8 *buffer) buffer 355 drivers/usb/serial/io_ti.c buffer, read_length); buffer 363 drivers/usb/serial/io_ti.c usb_serial_debug_data(&dev->dev, __func__, read_length, buffer); buffer 367 drivers/usb/serial/io_ti.c buffer += read_length; buffer 375 drivers/usb/serial/io_ti.c int length, __u8 *buffer) buffer 378 drivers/usb/serial/io_ti.c DTK_ADDR_SPACE_XDATA, buffer); buffer 383 drivers/usb/serial/io_ti.c int start_address, int length, __u8 *buffer) buffer 391 drivers/usb/serial/io_ti.c (__u16)(start_address+i), &buffer[i], 0x01); buffer 400 drivers/usb/serial/io_ti.c usb_serial_debug_data(&serial->serial->dev->dev, __func__, length, buffer); buffer 409 drivers/usb/serial/io_ti.c int start_address, int length, __u8 *buffer) buffer 429 drivers/usb/serial/io_ti.c buffer[i], (u16)(i + start_address), NULL, buffer 436 drivers/usb/serial/io_ti.c usb_serial_debug_data(&serial->serial->dev->dev, __func__, length, buffer); buffer 443 drivers/usb/serial/io_ti.c int start_address, int length, __u8 address_type, __u8 *buffer) buffer 461 drivers/usb/serial/io_ti.c usb_serial_debug_data(dev, __func__, write_length, buffer); buffer 472 drivers/usb/serial/io_ti.c buffer, write_length, TI_VSEND_TIMEOUT_DEFAULT); buffer 480 drivers/usb/serial/io_ti.c buffer += write_length; buffer 494 drivers/usb/serial/io_ti.c usb_serial_debug_data(dev, __func__, write_length, buffer); buffer 504 drivers/usb/serial/io_ti.c (u16)address_type, be_start_address, buffer, buffer 513 drivers/usb/serial/io_ti.c buffer += write_length; buffer 600 drivers/usb/serial/io_ti.c int start_address, int length, __u8 *buffer) buffer 609 drivers/usb/serial/io_ti.c buffer); buffer 612 drivers/usb/serial/io_ti.c buffer); buffer 618 drivers/usb/serial/io_ti.c int length, __u8 *buffer) buffer 622 drivers/usb/serial/io_ti.c buffer); buffer 626 drivers/usb/serial/io_ti.c serial->TI_I2C_Type, buffer); buffer 659 drivers/usb/serial/io_ti.c static int valid_csum(struct ti_i2c_desc *rom_desc, __u8 *buffer) buffer 665 drivers/usb/serial/io_ti.c cs = (__u8)(cs + buffer[i]); buffer 681 drivers/usb/serial/io_ti.c __u8 *buffer; buffer 688 drivers/usb/serial/io_ti.c buffer = kmalloc(TI_MAX_I2C_SIZE, GFP_KERNEL); buffer 689 drivers/usb/serial/io_ti.c if (!buffer) { buffer 695 drivers/usb/serial/io_ti.c status = read_rom(serial, 0, 1, buffer); buffer 699 drivers/usb/serial/io_ti.c if (*buffer != UMP5152 && *buffer != UMP3410) { buffer 731 drivers/usb/serial/io_ti.c buffer); buffer 735 drivers/usb/serial/io_ti.c status = valid_csum(rom_desc, buffer); buffer 750 drivers/usb/serial/io_ti.c kfree(buffer); buffer 755 drivers/usb/serial/io_ti.c static int get_manuf_info(struct edgeport_serial *serial, __u8 *buffer) buffer 778 drivers/usb/serial/io_ti.c le16_to_cpu(rom_desc->Size), buffer); buffer 782 drivers/usb/serial/io_ti.c status = valid_csum(rom_desc, buffer); buffer 784 drivers/usb/serial/io_ti.c desc = (struct edge_ti_manuf_descriptor *)buffer; buffer 800 drivers/usb/serial/io_ti.c __u8 *buffer; buffer 826 drivers/usb/serial/io_ti.c buffer = kmalloc(buffer_size, GFP_KERNEL); buffer 827 drivers/usb/serial/io_ti.c if (!buffer) buffer 831 drivers/usb/serial/io_ti.c memset(buffer, 0xff, buffer_size); buffer 834 drivers/usb/serial/io_ti.c firmware_rec = (struct ti_i2c_firmware_rec *)buffer; buffer 842 drivers/usb/serial/io_ti.c memcpy(buffer + sizeof(struct ti_i2c_firmware_rec), buffer 847 drivers/usb/serial/io_ti.c cs = (__u8)(cs + buffer[i]); buffer 850 drivers/usb/serial/io_ti.c kfree(buffer); buffer 910 drivers/usb/serial/io_ti.c static int bulk_xfer(struct usb_serial *serial, void *buffer, buffer 918 drivers/usb/serial/io_ti.c buffer, length, num_sent, 1000); buffer 1416 drivers/usb/serial/io_ti.c __u8 *buffer; buffer 1460 drivers/usb/serial/io_ti.c buffer = kmalloc(buffer_size, GFP_KERNEL); buffer 1461 drivers/usb/serial/io_ti.c if (!buffer) buffer 1465 drivers/usb/serial/io_ti.c memset(buffer, 0xff, buffer_size); buffer 1466 drivers/usb/serial/io_ti.c memcpy(buffer, &fw->data[4], fw->size - 4); buffer 1470 drivers/usb/serial/io_ti.c cs = (__u8)(cs + buffer[i]); buffer 1473 drivers/usb/serial/io_ti.c header = (struct ti_i2c_image_header *)buffer; buffer 1484 drivers/usb/serial/io_ti.c status = download_code(serial, buffer, buffer_size); buffer 1486 drivers/usb/serial/io_ti.c kfree(buffer); buffer 649 drivers/usb/serial/mos7720.c const void *buffer, buffer 661 drivers/usb/serial/mos7720.c (void *)buffer, len, &actual_len, buffer 489 drivers/usb/serial/mos7840.c unsigned char *buffer = mcs->ctrl_buf; buffer 502 drivers/usb/serial/mos7840.c (unsigned char *)dr, buffer, 2, buffer 104 drivers/usb/serial/opticon.c u8 *buffer; buffer 106 drivers/usb/serial/opticon.c buffer = kzalloc(1, GFP_KERNEL); buffer 107 drivers/usb/serial/opticon.c if (!buffer) buffer 110 drivers/usb/serial/opticon.c buffer[0] = val; buffer 116 drivers/usb/serial/opticon.c 0, 0, buffer, 1, USB_CTRL_SET_TIMEOUT); buffer 117 drivers/usb/serial/opticon.c kfree(buffer); buffer 183 drivers/usb/serial/opticon.c unsigned char *buffer; buffer 197 drivers/usb/serial/opticon.c buffer = kmalloc(count, GFP_ATOMIC); buffer 198 drivers/usb/serial/opticon.c if (!buffer) { buffer 209 drivers/usb/serial/opticon.c memcpy(buffer, buf, count); buffer 211 drivers/usb/serial/opticon.c usb_serial_debug_data(&port->dev, __func__, count, buffer); buffer 229 drivers/usb/serial/opticon.c (unsigned char *)dr, buffer, count, buffer 252 drivers/usb/serial/opticon.c kfree(buffer); buffer 441 drivers/usb/serial/sierra.c unsigned char *buffer; buffer 475 drivers/usb/serial/sierra.c buffer = kmalloc(writesize, GFP_ATOMIC); buffer 476 drivers/usb/serial/sierra.c if (!buffer) { buffer 487 drivers/usb/serial/sierra.c memcpy(buffer, buf, writesize); buffer 489 drivers/usb/serial/sierra.c usb_serial_debug_data(&port->dev, __func__, writesize, buffer); buffer 494 drivers/usb/serial/sierra.c buffer, writesize, sierra_outdat_callback, port); buffer 530 drivers/usb/serial/sierra.c kfree(buffer); buffer 1579 drivers/usb/serial/ti_usb_3410_5052.c u8 *buffer, int size) buffer 1589 drivers/usb/serial/ti_usb_3410_5052.c cs = (u8)(cs + buffer[pos]); buffer 1591 drivers/usb/serial/ti_usb_3410_5052.c header = (struct ti_firmware_header *)buffer; buffer 1598 drivers/usb/serial/ti_usb_3410_5052.c status = usb_bulk_msg(dev, pipe, buffer + pos, len, buffer 1610 drivers/usb/serial/ti_usb_3410_5052.c u8 *buffer; buffer 1677 drivers/usb/serial/ti_usb_3410_5052.c buffer = kmalloc(buffer_size, GFP_KERNEL); buffer 1678 drivers/usb/serial/ti_usb_3410_5052.c if (buffer) { buffer 1679 drivers/usb/serial/ti_usb_3410_5052.c memcpy(buffer, fw_p->data, fw_p->size); buffer 1680 drivers/usb/serial/ti_usb_3410_5052.c memset(buffer + fw_p->size, 0xff, buffer_size - fw_p->size); buffer 1681 drivers/usb/serial/ti_usb_3410_5052.c status = ti_do_download(dev, pipe, buffer, fw_p->size); buffer 1682 drivers/usb/serial/ti_usb_3410_5052.c kfree(buffer); buffer 489 drivers/usb/serial/usb_wwan.c u8 *buffer; buffer 502 drivers/usb/serial/usb_wwan.c buffer = (u8 *)__get_free_page(GFP_KERNEL); buffer 503 drivers/usb/serial/usb_wwan.c if (!buffer) buffer 505 drivers/usb/serial/usb_wwan.c portdata->in_buffer[i] = buffer; buffer 509 drivers/usb/serial/usb_wwan.c buffer, IN_BUFLEN, buffer 515 drivers/usb/serial/usb_wwan.c buffer = kmalloc(OUT_BUFLEN, GFP_KERNEL); buffer 516 drivers/usb/serial/usb_wwan.c if (!buffer) buffer 518 drivers/usb/serial/usb_wwan.c portdata->out_buffer[i] = buffer; buffer 522 drivers/usb/serial/usb_wwan.c buffer, OUT_BUFLEN, buffer 909 drivers/usb/storage/alauda.c unsigned char *buffer; buffer 929 drivers/usb/storage/alauda.c buffer = kmalloc(len, GFP_NOIO); buffer 930 drivers/usb/storage/alauda.c if (!buffer) buffer 975 drivers/usb/storage/alauda.c memset(buffer, 0, len); buffer 980 drivers/usb/storage/alauda.c result = alauda_read_block(us, pba, page, pages, buffer); buffer 986 drivers/usb/storage/alauda.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 994 drivers/usb/storage/alauda.c kfree(buffer); buffer 1004 drivers/usb/storage/alauda.c unsigned char *buffer, *blockbuffer; buffer 1021 drivers/usb/storage/alauda.c buffer = kmalloc(len, GFP_NOIO); buffer 1022 drivers/usb/storage/alauda.c if (!buffer) buffer 1031 drivers/usb/storage/alauda.c kfree(buffer); buffer 1058 drivers/usb/storage/alauda.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 1061 drivers/usb/storage/alauda.c result = alauda_write_lba(us, lba, page, pages, buffer, buffer 1071 drivers/usb/storage/alauda.c kfree(buffer); buffer 141 drivers/usb/storage/datafab.c unsigned char *buffer; buffer 169 drivers/usb/storage/datafab.c buffer = kmalloc(alloclen, GFP_NOIO); buffer 170 drivers/usb/storage/datafab.c if (buffer == NULL) buffer 197 drivers/usb/storage/datafab.c result = datafab_bulk_read(us, buffer, len); buffer 202 drivers/usb/storage/datafab.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 209 drivers/usb/storage/datafab.c kfree(buffer); buffer 213 drivers/usb/storage/datafab.c kfree(buffer); buffer 225 drivers/usb/storage/datafab.c unsigned char *buffer; buffer 253 drivers/usb/storage/datafab.c buffer = kmalloc(alloclen, GFP_NOIO); buffer 254 drivers/usb/storage/datafab.c if (buffer == NULL) buffer 265 drivers/usb/storage/datafab.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 285 drivers/usb/storage/datafab.c result = datafab_bulk_write(us, buffer, len); buffer 305 drivers/usb/storage/datafab.c kfree(buffer); buffer 309 drivers/usb/storage/datafab.c kfree(buffer); buffer 443 drivers/usb/storage/freecom.c char *buffer = us->iobuf; buffer 451 drivers/usb/storage/freecom.c 0x4c, 0xc0, 0x4346, 0x0, buffer, 0x20, 3*HZ); buffer 452 drivers/usb/storage/freecom.c buffer[32] = '\0'; buffer 453 drivers/usb/storage/freecom.c usb_stor_dbg(us, "String returned from FC init is: %s\n", buffer); buffer 494 drivers/usb/storage/freecom.c unsigned char *buffer = (unsigned char *) ibuffer; buffer 504 drivers/usb/storage/freecom.c if (buffer[j] >= 32 && buffer[j] <= 126) buffer 505 drivers/usb/storage/freecom.c line[offset++] = buffer[j]; buffer 517 drivers/usb/storage/freecom.c offset += sprintf (line+offset, " %02x", buffer[i] & 0xff); buffer 531 drivers/usb/storage/freecom.c if (buffer[base+i] >= 32 && buffer[base+i] <= 126) buffer 532 drivers/usb/storage/freecom.c line[offset++] = buffer[base+i]; buffer 159 drivers/usb/storage/jumpshot.c unsigned char *buffer; buffer 181 drivers/usb/storage/jumpshot.c buffer = kmalloc(alloclen, GFP_NOIO); buffer 182 drivers/usb/storage/jumpshot.c if (buffer == NULL) buffer 207 drivers/usb/storage/jumpshot.c result = jumpshot_bulk_read(us, buffer, len); buffer 214 drivers/usb/storage/jumpshot.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 221 drivers/usb/storage/jumpshot.c kfree(buffer); buffer 225 drivers/usb/storage/jumpshot.c kfree(buffer); buffer 236 drivers/usb/storage/jumpshot.c unsigned char *buffer; buffer 258 drivers/usb/storage/jumpshot.c buffer = kmalloc(alloclen, GFP_NOIO); buffer 259 drivers/usb/storage/jumpshot.c if (buffer == NULL) buffer 270 drivers/usb/storage/jumpshot.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 289 drivers/usb/storage/jumpshot.c result = jumpshot_bulk_write(us, buffer, len); buffer 313 drivers/usb/storage/jumpshot.c kfree(buffer); buffer 317 drivers/usb/storage/jumpshot.c kfree(buffer); buffer 37 drivers/usb/storage/option_ms.c char *buffer; buffer 42 drivers/usb/storage/option_ms.c buffer = kzalloc(RESPONSE_LEN, GFP_KERNEL); buffer 43 drivers/usb/storage/option_ms.c if (buffer == NULL) buffer 46 drivers/usb/storage/option_ms.c memcpy(buffer, rezero_msg, sizeof(rezero_msg)); buffer 49 drivers/usb/storage/option_ms.c buffer, sizeof(rezero_msg), NULL); buffer 61 drivers/usb/storage/option_ms.c buffer, RESPONSE_LEN, NULL); buffer 66 drivers/usb/storage/option_ms.c buffer, 13, NULL); buffer 71 drivers/usb/storage/option_ms.c kfree(buffer); buffer 83 drivers/usb/storage/option_ms.c char *buffer; buffer 88 drivers/usb/storage/option_ms.c buffer = kzalloc(0x24, GFP_KERNEL); buffer 89 drivers/usb/storage/option_ms.c if (buffer == NULL) buffer 92 drivers/usb/storage/option_ms.c memcpy(buffer, inquiry_msg, sizeof(inquiry_msg)); buffer 95 drivers/usb/storage/option_ms.c buffer, sizeof(inquiry_msg), NULL); buffer 103 drivers/usb/storage/option_ms.c buffer, 0x24, NULL); buffer 109 drivers/usb/storage/option_ms.c result = memcmp(buffer+8, "Option", 6); buffer 112 drivers/usb/storage/option_ms.c result = memcmp(buffer+8, "ZCOPTION", 8); buffer 117 drivers/usb/storage/option_ms.c buffer, 13, NULL); buffer 120 drivers/usb/storage/option_ms.c kfree(buffer); buffer 121 drivers/usb/storage/protocol.c unsigned int usb_stor_access_xfer_buf(unsigned char *buffer, buffer 146 drivers/usb/storage/protocol.c memcpy(buffer + cnt, miter.addr, len); buffer 148 drivers/usb/storage/protocol.c memcpy(miter.addr, buffer + cnt, len); buffer 169 drivers/usb/storage/protocol.c void usb_stor_set_xfer_buf(unsigned char *buffer, buffer 176 drivers/usb/storage/protocol.c buflen = usb_stor_access_xfer_buf(buffer, buflen, srb, &sg, &offset, buffer 36 drivers/usb/storage/protocol.h extern unsigned int usb_stor_access_xfer_buf(unsigned char *buffer, buffer 40 drivers/usb/storage/protocol.h extern void usb_stor_set_xfer_buf(unsigned char *buffer, buffer 514 drivers/usb/storage/scsiglue.c static int write_info(struct Scsi_Host *host, char *buffer, int length) buffer 737 drivers/usb/storage/sddr09.c unsigned char *buffer; buffer 756 drivers/usb/storage/sddr09.c buffer = kmalloc(len, GFP_NOIO); buffer 757 drivers/usb/storage/sddr09.c if (!buffer) buffer 796 drivers/usb/storage/sddr09.c memset(buffer, 0, len); buffer 806 drivers/usb/storage/sddr09.c pages, info->pageshift, buffer, 0); buffer 812 drivers/usb/storage/sddr09.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 820 drivers/usb/storage/sddr09.c kfree(buffer); buffer 966 drivers/usb/storage/sddr09.c unsigned char *buffer; buffer 1001 drivers/usb/storage/sddr09.c buffer = kmalloc(len, GFP_NOIO); buffer 1002 drivers/usb/storage/sddr09.c if (!buffer) { buffer 1027 drivers/usb/storage/sddr09.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 1031 drivers/usb/storage/sddr09.c buffer, blockbuffer); buffer 1040 drivers/usb/storage/sddr09.c kfree(buffer); buffer 1202 drivers/usb/storage/sddr09.c unsigned char *buffer, *buffer_end, *ptr; buffer 1224 drivers/usb/storage/sddr09.c buffer = kmalloc(alloc_len, GFP_NOIO); buffer 1225 drivers/usb/storage/sddr09.c if (!buffer) { buffer 1229 drivers/usb/storage/sddr09.c buffer_end = buffer + alloc_len; buffer 1261 drivers/usb/storage/sddr09.c buffer, 0); buffer 1266 drivers/usb/storage/sddr09.c ptr = buffer; buffer 1395 drivers/usb/storage/sddr09.c kfree(buffer); buffer 196 drivers/usb/storage/sddr55.c unsigned char *buffer; buffer 211 drivers/usb/storage/sddr55.c buffer = kmalloc(len, GFP_NOIO); buffer 212 drivers/usb/storage/sddr55.c if (buffer == NULL) buffer 236 drivers/usb/storage/sddr55.c memset (buffer, 0, len); buffer 265 drivers/usb/storage/sddr55.c DMA_FROM_DEVICE, buffer, len); buffer 290 drivers/usb/storage/sddr55.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 301 drivers/usb/storage/sddr55.c kfree(buffer); buffer 315 drivers/usb/storage/sddr55.c unsigned char *buffer; buffer 338 drivers/usb/storage/sddr55.c buffer = kmalloc(len, GFP_NOIO); buffer 339 drivers/usb/storage/sddr55.c if (buffer == NULL) buffer 359 drivers/usb/storage/sddr55.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 444 drivers/usb/storage/sddr55.c DMA_TO_DEVICE, buffer, len); buffer 508 drivers/usb/storage/sddr55.c kfree(buffer); buffer 643 drivers/usb/storage/sddr55.c unsigned char *buffer; buffer 655 drivers/usb/storage/sddr55.c buffer = kmalloc_array(numblocks, 2, GFP_NOIO ); buffer 657 drivers/usb/storage/sddr55.c if (!buffer) buffer 668 drivers/usb/storage/sddr55.c kfree (buffer); buffer 672 drivers/usb/storage/sddr55.c result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, buffer, numblocks * 2); buffer 675 drivers/usb/storage/sddr55.c kfree (buffer); buffer 682 drivers/usb/storage/sddr55.c kfree (buffer); buffer 696 drivers/usb/storage/sddr55.c kfree(buffer); buffer 716 drivers/usb/storage/sddr55.c lba = short_pack(buffer[i * 2], buffer[i * 2 + 1]); buffer 756 drivers/usb/storage/sddr55.c kfree(buffer); buffer 737 drivers/usb/storage/shuttle_usbat.c void* buffer, buffer 759 drivers/usb/storage/shuttle_usbat.c result = usbat_bulk_read(us, buffer, len, use_sg); buffer 779 drivers/usb/storage/shuttle_usbat.c void* buffer, buffer 801 drivers/usb/storage/shuttle_usbat.c result = usbat_bulk_write(us, buffer, len, use_sg); buffer 1122 drivers/usb/storage/shuttle_usbat.c unsigned char *buffer; buffer 1152 drivers/usb/storage/shuttle_usbat.c buffer = kmalloc(alloclen, GFP_NOIO); buffer 1153 drivers/usb/storage/shuttle_usbat.c if (buffer == NULL) buffer 1173 drivers/usb/storage/shuttle_usbat.c result = usbat_read_blocks(us, buffer, len, 0); buffer 1180 drivers/usb/storage/shuttle_usbat.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 1187 drivers/usb/storage/shuttle_usbat.c kfree(buffer); buffer 1191 drivers/usb/storage/shuttle_usbat.c kfree(buffer); buffer 1213 drivers/usb/storage/shuttle_usbat.c unsigned char *buffer; buffer 1243 drivers/usb/storage/shuttle_usbat.c buffer = kmalloc(alloclen, GFP_NOIO); buffer 1244 drivers/usb/storage/shuttle_usbat.c if (buffer == NULL) buffer 1256 drivers/usb/storage/shuttle_usbat.c usb_stor_access_xfer_buf(buffer, len, us->srb, buffer 1268 drivers/usb/storage/shuttle_usbat.c result = usbat_write_blocks(us, buffer, len, 0); buffer 1276 drivers/usb/storage/shuttle_usbat.c kfree(buffer); buffer 1280 drivers/usb/storage/shuttle_usbat.c kfree(buffer); buffer 1294 drivers/usb/storage/shuttle_usbat.c unsigned char *buffer; buffer 1346 drivers/usb/storage/shuttle_usbat.c buffer = kmalloc(len, GFP_NOIO); buffer 1347 drivers/usb/storage/shuttle_usbat.c if (buffer == NULL) /* bloody hell! */ buffer 1378 drivers/usb/storage/shuttle_usbat.c buffer, buffer 1385 drivers/usb/storage/shuttle_usbat.c usb_stor_access_xfer_buf(buffer, len, srb, buffer 1395 drivers/usb/storage/shuttle_usbat.c kfree(buffer); buffer 224 drivers/usb/usb-skeleton.c static ssize_t skel_read(struct file *file, char *buffer, size_t count, buffer 304 drivers/usb/usb-skeleton.c if (copy_to_user(buffer, buffer 460 drivers/usb/usbip/stub_rx.c void *buffer = NULL; buffer 518 drivers/usb/usbip/stub_rx.c buffer = kzalloc(buf_len, GFP_KERNEL); buffer 519 drivers/usb/usbip/stub_rx.c if (!buffer) buffer 545 drivers/usb/usbip/stub_rx.c priv->urbs[0]->transfer_buffer = buffer; buffer 620 drivers/usb/usbip/stub_rx.c kfree(buffer); buffer 75 drivers/vfio/platform/vfio_platform_common.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 80 drivers/vfio/platform/vfio_platform_common.c acpi_ret = acpi_evaluate_object(handle, "_RST", NULL, &buffer); buffer 22 drivers/video/backlight/ltv350qv.c u8 *buffer; buffer 51 drivers/video/backlight/ltv350qv.c lcd->buffer[0] = LTV_OPC_INDEX; buffer 52 drivers/video/backlight/ltv350qv.c lcd->buffer[1] = 0x00; buffer 53 drivers/video/backlight/ltv350qv.c lcd->buffer[2] = reg & 0x7f; buffer 54 drivers/video/backlight/ltv350qv.c index_xfer.tx_buf = lcd->buffer; buffer 58 drivers/video/backlight/ltv350qv.c lcd->buffer[4] = LTV_OPC_DATA; buffer 59 drivers/video/backlight/ltv350qv.c lcd->buffer[5] = val >> 8; buffer 60 drivers/video/backlight/ltv350qv.c lcd->buffer[6] = val; buffer 61 drivers/video/backlight/ltv350qv.c value_xfer.tx_buf = lcd->buffer + 4; buffer 238 drivers/video/backlight/ltv350qv.c lcd->buffer = devm_kzalloc(&spi->dev, 8, GFP_KERNEL); buffer 239 drivers/video/backlight/ltv350qv.c if (!lcd->buffer) buffer 762 drivers/video/fbdev/core/fbmem.c u8 *buffer, *dst; buffer 790 drivers/video/fbdev/core/fbmem.c buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count, buffer 792 drivers/video/fbdev/core/fbmem.c if (!buffer) buffer 802 drivers/video/fbdev/core/fbmem.c dst = buffer; buffer 807 drivers/video/fbdev/core/fbmem.c if (copy_to_user(buf, buffer, c)) { buffer 817 drivers/video/fbdev/core/fbmem.c kfree(buffer); buffer 827 drivers/video/fbdev/core/fbmem.c u8 *buffer, *src; buffer 861 drivers/video/fbdev/core/fbmem.c buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count, buffer 863 drivers/video/fbdev/core/fbmem.c if (!buffer) buffer 873 drivers/video/fbdev/core/fbmem.c src = buffer; buffer 889 drivers/video/fbdev/core/fbmem.c kfree(buffer); buffer 22 drivers/video/fbdev/cyber2000fb.h char buffer[128]; buffer 26 drivers/video/fbdev/cyber2000fb.h vsprintf(buffer, fmt, ap); buffer 29 drivers/video/fbdev/cyber2000fb.h printascii(buffer); buffer 67 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c u8 buffer[16]; buffer 72 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c buffer[0] = 0x70; buffer 73 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c buffer[1] = 0x00; buffer 74 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c buffer[2] = reg & 0x7f; buffer 75 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c index_xfer.tx_buf = buffer; buffer 79 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c buffer[4] = 0x72; buffer 80 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c buffer[5] = val >> 8; buffer 81 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c buffer[6] = val; buffer 82 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c value_xfer.tx_buf = buffer + 4; buffer 485 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (!access_ok(mr->buffer, mr->buffer_size)) buffer 504 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (copy_to_user(mr->buffer, buf, r)) buffer 215 drivers/video/fbdev/pxa3xx-gcu.c shared->buffer[num++] = 0x05000000; buffer 218 drivers/video/fbdev/pxa3xx-gcu.c shared->buffer[num++] = 0x00000001; buffer 219 drivers/video/fbdev/pxa3xx-gcu.c shared->buffer[num++] = ready->phys; buffer 223 drivers/video/fbdev/pxa3xx-gcu.c shared->buffer[num++] = 0x05000000; buffer 382 drivers/video/fbdev/pxa3xx-gcu.c struct pxa3xx_gcu_batch *buffer; buffer 407 drivers/video/fbdev/pxa3xx-gcu.c buffer = priv->free; buffer 408 drivers/video/fbdev/pxa3xx-gcu.c priv->free = buffer->next; buffer 413 drivers/video/fbdev/pxa3xx-gcu.c ret = copy_from_user(buffer->ptr, buff, words * 4); buffer 416 drivers/video/fbdev/pxa3xx-gcu.c buffer->next = priv->free; buffer 417 drivers/video/fbdev/pxa3xx-gcu.c priv->free = buffer; buffer 422 drivers/video/fbdev/pxa3xx-gcu.c buffer->length = words; buffer 425 drivers/video/fbdev/pxa3xx-gcu.c buffer->ptr[words] = 0x01000000; buffer 432 drivers/video/fbdev/pxa3xx-gcu.c buffer->next = NULL; buffer 437 drivers/video/fbdev/pxa3xx-gcu.c priv->ready_last->next = buffer; buffer 439 drivers/video/fbdev/pxa3xx-gcu.c priv->ready = buffer; buffer 441 drivers/video/fbdev/pxa3xx-gcu.c priv->ready_last = buffer; buffer 532 drivers/video/fbdev/pxa3xx-gcu.c struct pxa3xx_gcu_batch *buffer; buffer 534 drivers/video/fbdev/pxa3xx-gcu.c buffer = kzalloc(sizeof(struct pxa3xx_gcu_batch), GFP_KERNEL); buffer 535 drivers/video/fbdev/pxa3xx-gcu.c if (!buffer) buffer 538 drivers/video/fbdev/pxa3xx-gcu.c buffer->ptr = dma_alloc_coherent(dev, PXA3XX_GCU_BATCH_WORDS * 4, buffer 539 drivers/video/fbdev/pxa3xx-gcu.c &buffer->phys, GFP_KERNEL); buffer 540 drivers/video/fbdev/pxa3xx-gcu.c if (!buffer->ptr) { buffer 541 drivers/video/fbdev/pxa3xx-gcu.c kfree(buffer); buffer 545 drivers/video/fbdev/pxa3xx-gcu.c buffer->next = priv->free; buffer 546 drivers/video/fbdev/pxa3xx-gcu.c priv->free = buffer; buffer 555 drivers/video/fbdev/pxa3xx-gcu.c struct pxa3xx_gcu_batch *next, *buffer = priv->free; buffer 557 drivers/video/fbdev/pxa3xx-gcu.c while (buffer) { buffer 558 drivers/video/fbdev/pxa3xx-gcu.c next = buffer->next; buffer 561 drivers/video/fbdev/pxa3xx-gcu.c buffer->ptr, buffer->phys); buffer 563 drivers/video/fbdev/pxa3xx-gcu.c kfree(buffer); buffer 564 drivers/video/fbdev/pxa3xx-gcu.c buffer = next; buffer 16 drivers/video/fbdev/pxa3xx-gcu.h u32 buffer[PXA3XX_GCU_BUFFER_WORDS]; buffer 382 drivers/video/fbdev/sis/init301.c unsigned char *buffer); buffer 9491 drivers/video/fbdev/sis/init301.c SiS_ReadDDC(struct SiS_Private *SiS_Pr, unsigned short DDCdatatype, unsigned char *buffer) buffer 9506 drivers/video/fbdev/sis/init301.c buffer[i] = (unsigned char)SiS_ReadDDC2Data(SiS_Pr); buffer 9507 drivers/video/fbdev/sis/init301.c chksum += buffer[i]; buffer 9508 drivers/video/fbdev/sis/init301.c gotcha |= buffer[i]; buffer 9511 drivers/video/fbdev/sis/init301.c buffer[i] = (unsigned char)SiS_ReadDDC2Data(SiS_Pr); buffer 9512 drivers/video/fbdev/sis/init301.c chksum += buffer[i]; buffer 9546 drivers/video/fbdev/sis/init301.c unsigned short adaptnum, unsigned short DDCdatatype, unsigned char *buffer, buffer 9584 drivers/video/fbdev/sis/init301.c result = SiS_ReadDDC(SiS_Pr, DDCdatatype, buffer); buffer 9586 drivers/video/fbdev/sis/init301.c if((buffer[0] == 0x00) && (buffer[1] == 0xff) && buffer 9587 drivers/video/fbdev/sis/init301.c (buffer[2] == 0xff) && (buffer[3] == 0xff) && buffer 9588 drivers/video/fbdev/sis/init301.c (buffer[4] == 0xff) && (buffer[5] == 0xff) && buffer 9589 drivers/video/fbdev/sis/init301.c (buffer[6] == 0xff) && (buffer[7] == 0x00) && buffer 9590 drivers/video/fbdev/sis/init301.c (buffer[0x12] == 1)) { buffer 9593 drivers/video/fbdev/sis/init301.c if(!(buffer[0x14] & 0x80)) result = 0xFFFE; buffer 9595 drivers/video/fbdev/sis/init301.c if(buffer[0x14] & 0x80) result = 0xFFFE; buffer 109 drivers/video/fbdev/sis/init301.h unsigned char *buffer, unsigned int VBFlags2); buffer 436 drivers/video/fbdev/sis/sis_main.c static bool sisfb_interpret_edid(struct sisfb_monitor *monitor, u8 *buffer) buffer 441 drivers/video/fbdev/sis/sis_main.c if(buffer[0] != 0x00 || buffer[1] != 0xff || buffer 442 drivers/video/fbdev/sis/sis_main.c buffer[2] != 0xff || buffer[3] != 0xff || buffer 443 drivers/video/fbdev/sis/sis_main.c buffer[4] != 0xff || buffer[5] != 0xff || buffer 444 drivers/video/fbdev/sis/sis_main.c buffer[6] != 0xff || buffer[7] != 0x00) { buffer 449 drivers/video/fbdev/sis/sis_main.c if(buffer[0x12] != 0x01) { buffer 451 drivers/video/fbdev/sis/sis_main.c buffer[0x12]); buffer 455 drivers/video/fbdev/sis/sis_main.c monitor->feature = buffer[0x18]; buffer 457 drivers/video/fbdev/sis/sis_main.c if(!(buffer[0x14] & 0x80)) { buffer 458 drivers/video/fbdev/sis/sis_main.c if(!(buffer[0x14] & 0x08)) { buffer 464 drivers/video/fbdev/sis/sis_main.c if(buffer[0x13] >= 0x01) { buffer 470 drivers/video/fbdev/sis/sis_main.c if(buffer[j] == 0x00 && buffer[j + 1] == 0x00 && buffer 471 drivers/video/fbdev/sis/sis_main.c buffer[j + 2] == 0x00 && buffer[j + 3] == 0xfd && buffer 472 drivers/video/fbdev/sis/sis_main.c buffer[j + 4] == 0x00) { buffer 473 drivers/video/fbdev/sis/sis_main.c monitor->hmin = buffer[j + 7]; buffer 474 drivers/video/fbdev/sis/sis_main.c monitor->hmax = buffer[j + 8]; buffer 475 drivers/video/fbdev/sis/sis_main.c monitor->vmin = buffer[j + 5]; buffer 476 drivers/video/fbdev/sis/sis_main.c monitor->vmax = buffer[j + 6]; buffer 477 drivers/video/fbdev/sis/sis_main.c monitor->dclockmax = buffer[j + 9] * 10 * 1000; buffer 494 drivers/video/fbdev/sis/sis_main.c emodes = buffer[0x23] | (buffer[0x24] << 8) | (buffer[0x25] << 16); buffer 506 drivers/video/fbdev/sis/sis_main.c xres = (buffer[index] + 31) * 8; buffer 507 drivers/video/fbdev/sis/sis_main.c switch(buffer[index + 1] & 0xc0) { buffer 513 drivers/video/fbdev/sis/sis_main.c refresh = (buffer[index + 1] & 0x3f) + 60; buffer 541 drivers/video/fbdev/sis/sis_main.c unsigned char buffer[256]; buffer 555 drivers/video/fbdev/sis/sis_main.c realcrtno, 0, &buffer[0], ivideo->vbflags2); buffer 571 drivers/video/fbdev/sis/sis_main.c realcrtno, 1, &buffer[0], ivideo->vbflags2); buffer 574 drivers/video/fbdev/sis/sis_main.c if(sisfb_interpret_edid(monitor, &buffer[0])) { buffer 2288 drivers/video/fbdev/sis/sis_main.c unsigned char buffer[256]; buffer 2312 drivers/video/fbdev/sis/sis_main.c realcrtno, 0, &buffer[0], ivideo->vbflags2); buffer 2322 drivers/video/fbdev/sis/sis_main.c &buffer[0], ivideo->vbflags2); buffer 2329 drivers/video/fbdev/sis/sis_main.c if(!(buffer[0x14] & 0x80)) buffer 2333 drivers/video/fbdev/sis/sis_main.c if(!(buffer[0x18] & 0x02)) buffer 2336 drivers/video/fbdev/sis/sis_main.c xres = buffer[0x38] | ((buffer[0x3a] & 0xf0) << 4); buffer 2337 drivers/video/fbdev/sis/sis_main.c yres = buffer[0x3b] | ((buffer[0x3d] & 0xf0) << 4); buffer 2357 drivers/video/fbdev/sis/sis_main.c if(buffer[0x23]) buffer 2360 drivers/video/fbdev/sis/sis_main.c if((buffer[0x47] & 0x18) == 0x18) buffer 2361 drivers/video/fbdev/sis/sis_main.c cr37 |= ((((buffer[0x47] & 0x06) ^ 0x06) << 5) | 0x20); buffer 1025 drivers/video/fbdev/sm712fb.c u32 *buffer, *dst; buffer 1050 drivers/video/fbdev/sm712fb.c buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count, GFP_KERNEL); buffer 1051 drivers/video/fbdev/sm712fb.c if (!buffer) buffer 1061 drivers/video/fbdev/sm712fb.c dst = buffer; buffer 1082 drivers/video/fbdev/sm712fb.c if (copy_to_user(buf, buffer, c)) { buffer 1092 drivers/video/fbdev/sm712fb.c kfree(buffer); buffer 1102 drivers/video/fbdev/sm712fb.c u32 *buffer, *src; buffer 1133 drivers/video/fbdev/sm712fb.c buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count, GFP_KERNEL); buffer 1134 drivers/video/fbdev/sm712fb.c if (!buffer) buffer 1144 drivers/video/fbdev/sm712fb.c src = buffer; buffer 1176 drivers/video/fbdev/sm712fb.c kfree(buffer); buffer 1130 drivers/video/fbdev/via/viafbdev.c const char __user *buffer, size_t count, loff_t *pos) buffer 1138 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&buf[0], buffer, length)) buffer 1201 drivers/video/fbdev/via/viafbdev.c const char __user *buffer, size_t count, loff_t *pos) buffer 1209 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&buf[0], buffer, length)) buffer 1264 drivers/video/fbdev/via/viafbdev.c const char __user *buffer, size_t count, loff_t *pos) buffer 1268 drivers/video/fbdev/via/viafbdev.c err = kstrtou8_from_user(buffer, count, 0, ®_val); buffer 1299 drivers/video/fbdev/via/viafbdev.c const char __user *buffer, size_t count, loff_t *pos) buffer 1303 drivers/video/fbdev/via/viafbdev.c err = kstrtou8_from_user(buffer, count, 0, ®_val); buffer 1358 drivers/video/fbdev/via/viafbdev.c const char __user *buffer, size_t count, loff_t *pos) buffer 1366 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&buf[0], buffer, length)) buffer 1465 drivers/video/fbdev/via/viafbdev.c static ssize_t odev_update(const char __user *buffer, size_t count, u32 *odev) buffer 1473 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&buf[0], buffer, count)) buffer 1506 drivers/video/fbdev/via/viafbdev.c const char __user *buffer, size_t count, loff_t *pos) buffer 1512 drivers/video/fbdev/via/viafbdev.c res = odev_update(buffer, count, &dev_new); buffer 1546 drivers/video/fbdev/via/viafbdev.c const char __user *buffer, size_t count, loff_t *pos) buffer 1552 drivers/video/fbdev/via/viafbdev.c res = odev_update(buffer, count, &dev_new); buffer 46 drivers/video/hdmi.c static void hdmi_infoframe_set_checksum(void *buffer, size_t size) buffer 48 drivers/video/hdmi.c u8 *ptr = buffer; buffer 50 drivers/video/hdmi.c ptr[3] = hdmi_infoframe_checksum(buffer, size); buffer 114 drivers/video/hdmi.c void *buffer, size_t size) buffer 116 drivers/video/hdmi.c u8 *ptr = buffer; buffer 129 drivers/video/hdmi.c memset(buffer, 0, size); buffer 181 drivers/video/hdmi.c hdmi_infoframe_set_checksum(buffer, length); buffer 205 drivers/video/hdmi.c void *buffer, size_t size) buffer 213 drivers/video/hdmi.c return hdmi_avi_infoframe_pack_only(frame, buffer, size); buffer 281 drivers/video/hdmi.c void *buffer, size_t size) buffer 283 drivers/video/hdmi.c u8 *ptr = buffer; buffer 296 drivers/video/hdmi.c memset(buffer, 0, size); buffer 311 drivers/video/hdmi.c hdmi_infoframe_set_checksum(buffer, length); buffer 335 drivers/video/hdmi.c void *buffer, size_t size) buffer 343 drivers/video/hdmi.c return hdmi_spd_infoframe_pack_only(frame, buffer, size); buffer 405 drivers/video/hdmi.c void *buffer, size_t size) buffer 408 drivers/video/hdmi.c u8 *ptr = buffer; buffer 421 drivers/video/hdmi.c memset(buffer, 0, size); buffer 446 drivers/video/hdmi.c hdmi_infoframe_set_checksum(buffer, length); buffer 470 drivers/video/hdmi.c void *buffer, size_t size) buffer 478 drivers/video/hdmi.c return hdmi_audio_infoframe_pack_only(frame, buffer, size); buffer 568 drivers/video/hdmi.c void *buffer, size_t size) buffer 570 drivers/video/hdmi.c u8 *ptr = buffer; buffer 583 drivers/video/hdmi.c memset(buffer, 0, size); buffer 607 drivers/video/hdmi.c hdmi_infoframe_set_checksum(buffer, length); buffer 631 drivers/video/hdmi.c void *buffer, size_t size) buffer 639 drivers/video/hdmi.c return hdmi_vendor_infoframe_pack_only(frame, buffer, size); buffer 712 drivers/video/hdmi.c void *buffer, size_t size) buffer 714 drivers/video/hdmi.c u8 *ptr = buffer; buffer 723 drivers/video/hdmi.c memset(buffer, 0, size); buffer 761 drivers/video/hdmi.c hdmi_infoframe_set_checksum(buffer, length); buffer 785 drivers/video/hdmi.c void *buffer, size_t size) buffer 793 drivers/video/hdmi.c return hdmi_drm_infoframe_pack_only(frame, buffer, size); buffer 821 drivers/video/hdmi.c void *buffer, size_t size) buffer 833 drivers/video/hdmi.c return hdmi_vendor_infoframe_pack_only(&frame->hdmi, buffer, size); buffer 842 drivers/video/hdmi.c void *buffer, size_t size) buffer 850 drivers/video/hdmi.c return hdmi_vendor_any_infoframe_pack_only(frame, buffer, size); buffer 896 drivers/video/hdmi.c hdmi_infoframe_pack_only(const union hdmi_infoframe *frame, void *buffer, size_t size) buffer 903 drivers/video/hdmi.c buffer, size); buffer 907 drivers/video/hdmi.c buffer, size); buffer 911 drivers/video/hdmi.c buffer, size); buffer 915 drivers/video/hdmi.c buffer, size); buffer 919 drivers/video/hdmi.c buffer, size); buffer 949 drivers/video/hdmi.c void *buffer, size_t size) buffer 955 drivers/video/hdmi.c length = hdmi_avi_infoframe_pack(&frame->avi, buffer, size); buffer 958 drivers/video/hdmi.c length = hdmi_drm_infoframe_pack(&frame->drm, buffer, size); buffer 961 drivers/video/hdmi.c length = hdmi_spd_infoframe_pack(&frame->spd, buffer, size); buffer 964 drivers/video/hdmi.c length = hdmi_audio_infoframe_pack(&frame->audio, buffer, size); buffer 968 drivers/video/hdmi.c buffer, size); buffer 1553 drivers/video/hdmi.c const void *buffer, size_t size) buffer 1555 drivers/video/hdmi.c const u8 *ptr = buffer; buffer 1566 drivers/video/hdmi.c if (hdmi_infoframe_checksum(buffer, HDMI_INFOFRAME_SIZE(AVI)) != 0) buffer 1620 drivers/video/hdmi.c const void *buffer, size_t size) buffer 1622 drivers/video/hdmi.c const u8 *ptr = buffer; buffer 1634 drivers/video/hdmi.c if (hdmi_infoframe_checksum(buffer, HDMI_INFOFRAME_SIZE(SPD)) != 0) buffer 1662 drivers/video/hdmi.c const void *buffer, size_t size) buffer 1664 drivers/video/hdmi.c const u8 *ptr = buffer; buffer 1676 drivers/video/hdmi.c if (hdmi_infoframe_checksum(buffer, HDMI_INFOFRAME_SIZE(AUDIO)) != 0) buffer 1712 drivers/video/hdmi.c const void *buffer, size_t size) buffer 1714 drivers/video/hdmi.c const u8 *ptr = buffer; buffer 1733 drivers/video/hdmi.c if (hdmi_infoframe_checksum(buffer, buffer 1791 drivers/video/hdmi.c const void *buffer, size_t size) buffer 1793 drivers/video/hdmi.c const u8 *ptr = buffer; buffer 1808 drivers/video/hdmi.c if (hdmi_infoframe_checksum(buffer, HDMI_INFOFRAME_SIZE(DRM)) != 0) buffer 1855 drivers/video/hdmi.c const void *buffer, size_t size) buffer 1858 drivers/video/hdmi.c const u8 *ptr = buffer; buffer 1865 drivers/video/hdmi.c ret = hdmi_avi_infoframe_unpack(&frame->avi, buffer, size); buffer 1868 drivers/video/hdmi.c ret = hdmi_drm_infoframe_unpack(&frame->drm, buffer, size); buffer 1871 drivers/video/hdmi.c ret = hdmi_spd_infoframe_unpack(&frame->spd, buffer, size); buffer 1874 drivers/video/hdmi.c ret = hdmi_audio_infoframe_unpack(&frame->audio, buffer, size); buffer 1877 drivers/video/hdmi.c ret = hdmi_vendor_any_infoframe_unpack(&frame->vendor, buffer, size); buffer 693 drivers/virtio/virtio_mmio.c char *buffer = data; buffer 694 drivers/virtio/virtio_mmio.c unsigned int len = strlen(buffer); buffer 697 drivers/virtio/virtio_mmio.c snprintf(buffer + len, PAGE_SIZE - len, "0x%llx@0x%llx:%llu:%d\n", buffer 705 drivers/virtio/virtio_mmio.c static int vm_cmdline_get(char *buffer, const struct kernel_param *kp) buffer 707 drivers/virtio/virtio_mmio.c buffer[0] = '\0'; buffer 708 drivers/virtio/virtio_mmio.c device_for_each_child(&vm_cmdline_parent, buffer, buffer 710 drivers/virtio/virtio_mmio.c return strlen(buffer) + 1; buffer 151 drivers/w1/slaves/w1_ds28e17.c const u8 *buffer, size_t count) buffer 165 drivers/w1/slaves/w1_ds28e17.c crc = crc16(crc, buffer, count); buffer 166 drivers/w1/slaves/w1_ds28e17.c w1_write_block(sl->master, buffer, count); buffer 191 drivers/w1/slaves/w1_ds28e17.c const u8 *buffer, size_t count, bool stop) buffer 213 drivers/w1/slaves/w1_ds28e17.c result = __w1_f19_i2c_write(sl, command, 2, buffer, count); buffer 218 drivers/w1/slaves/w1_ds28e17.c p = buffer; buffer 263 drivers/w1/slaves/w1_ds28e17.c u8 *buffer, size_t count) buffer 296 drivers/w1/slaves/w1_ds28e17.c return w1_read_block(sl->master, buffer, count); buffer 497 drivers/watchdog/cpwd.c static ssize_t cpwd_read(struct file *file, char __user *buffer, buffer 38 drivers/xen/sys-hypervisor.c static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 40 drivers/xen/sys-hypervisor.c return sprintf(buffer, "xen\n"); buffer 50 drivers/xen/sys-hypervisor.c static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 69 drivers/xen/sys-hypervisor.c return sprintf(buffer, "%s\n", type); buffer 80 drivers/xen/sys-hypervisor.c static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 84 drivers/xen/sys-hypervisor.c return sprintf(buffer, "%d\n", version >> 16); buffer 90 drivers/xen/sys-hypervisor.c static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 94 drivers/xen/sys-hypervisor.c return sprintf(buffer, "%d\n", version & 0xff); buffer 100 drivers/xen/sys-hypervisor.c static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 109 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%s\n", extra); buffer 137 drivers/xen/sys-hypervisor.c static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) buffer 153 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%s\n", val); buffer 158 drivers/xen/sys-hypervisor.c static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 164 drivers/xen/sys-hypervisor.c return uuid_show_fallback(attr, buffer); buffer 165 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%pU\n", uuid); buffer 178 drivers/xen/sys-hypervisor.c static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 187 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%s\n", info->compiler); buffer 196 drivers/xen/sys-hypervisor.c static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 205 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%s\n", info->compile_by); buffer 214 drivers/xen/sys-hypervisor.c static ssize_t compile_date_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 223 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%s\n", info->compile_date); buffer 251 drivers/xen/sys-hypervisor.c static ssize_t capabilities_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 260 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%s\n", caps); buffer 269 drivers/xen/sys-hypervisor.c static ssize_t changeset_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 278 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%s\n", cset); buffer 287 drivers/xen/sys-hypervisor.c static ssize_t virtual_start_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 297 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%"PRI_xen_ulong"\n", buffer 307 drivers/xen/sys-hypervisor.c static ssize_t pagesize_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 313 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%x\n", ret); buffer 320 drivers/xen/sys-hypervisor.c static ssize_t xen_feature_show(int index, char *buffer) buffer 328 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%08x", info.submap); buffer 333 drivers/xen/sys-hypervisor.c static ssize_t features_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 340 drivers/xen/sys-hypervisor.c int ret = xen_feature_show(i, buffer + len); buffer 349 drivers/xen/sys-hypervisor.c buffer[len++] = '\n'; buffer 356 drivers/xen/sys-hypervisor.c static ssize_t buildid_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 364 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "<denied>"); buffer 375 drivers/xen/sys-hypervisor.c ret = sprintf(buffer, "%s", buildid->buf); buffer 417 drivers/xen/sys-hypervisor.c const char *buffer, size_t len) buffer 424 drivers/xen/sys-hypervisor.c if (strncmp(buffer, pmu_modes[i].name, len - 1) == 0) { buffer 442 drivers/xen/sys-hypervisor.c static ssize_t pmu_mode_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 458 drivers/xen/sys-hypervisor.c return sprintf(buffer, "%s\n", pmu_modes[i].name); buffer 466 drivers/xen/sys-hypervisor.c const char *buffer, size_t len) buffer 472 drivers/xen/sys-hypervisor.c ret = kstrtou32(buffer, 0, &features); buffer 486 drivers/xen/sys-hypervisor.c static ssize_t pmu_features_show(struct hyp_sysfs_attr *attr, char *buffer) buffer 497 drivers/xen/sys-hypervisor.c return sprintf(buffer, "0x%x\n", (uint32_t)xp.val); buffer 572 drivers/xen/sys-hypervisor.c char *buffer) buffer 577 drivers/xen/sys-hypervisor.c return hyp_attr->show(hyp_attr, buffer); buffer 583 drivers/xen/sys-hypervisor.c const char *buffer, buffer 589 drivers/xen/sys-hypervisor.c return hyp_attr->store(hyp_attr, buffer, len); buffer 38 drivers/xen/xen-acpi-cpuhotplug.c struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; buffer 43 drivers/xen/xen-acpi-cpuhotplug.c status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer); buffer 141 drivers/xen/xen-acpi-cpuhotplug.c struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; buffer 146 drivers/xen/xen-acpi-cpuhotplug.c if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) buffer 149 drivers/xen/xen-acpi-cpuhotplug.c if (!buffer.length || !buffer.pointer) buffer 152 drivers/xen/xen-acpi-cpuhotplug.c obj = buffer.pointer; buffer 154 drivers/xen/xen-acpi-cpuhotplug.c obj->buffer.length < sizeof(*lapic)) { buffer 155 drivers/xen/xen-acpi-cpuhotplug.c kfree(buffer.pointer); buffer 159 drivers/xen/xen-acpi-cpuhotplug.c lapic = (struct acpi_madt_local_apic *)obj->buffer.pointer; buffer 163 drivers/xen/xen-acpi-cpuhotplug.c kfree(buffer.pointer); buffer 168 drivers/xen/xen-acpi-cpuhotplug.c kfree(buffer.pointer); buffer 169 drivers/xen/xen-acpi-cpuhotplug.c buffer.length = ACPI_ALLOCATE_BUFFER; buffer 170 drivers/xen/xen-acpi-cpuhotplug.c buffer.pointer = NULL; buffer 52 drivers/xen/xen-acpi-pad.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 56 drivers/xen/xen-acpi-pad.c if (ACPI_FAILURE(acpi_evaluate_object(handle, "_PUR", NULL, &buffer))) buffer 59 drivers/xen/xen-acpi-pad.c if (!buffer.length || !buffer.pointer) buffer 62 drivers/xen/xen-acpi-pad.c package = buffer.pointer; buffer 69 drivers/xen/xen-acpi-pad.c kfree(buffer.pointer); buffer 332 drivers/xen/xen-acpi-processor.c struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; buffer 341 drivers/xen/xen-acpi-processor.c status = acpi_evaluate_object(handle, NULL, NULL, &buffer); buffer 381 drivers/xen/xen-acpi-processor.c status = acpi_evaluate_object(handle, "_CST", NULL, &buffer); buffer 111 drivers/xen/xenbus/xenbus_dev_frontend.c char buffer[XENSTORE_PAYLOAD_MAX]; buffer 454 drivers/xen/xenbus/xenbus_dev_frontend.c } *msg = (void *)u->u.buffer; buffer 502 drivers/xen/xenbus/xenbus_dev_frontend.c path = u->u.buffer + sizeof(u->u.msg); buffer 581 drivers/xen/xenbus/xenbus_dev_frontend.c if (len > sizeof(u->u.buffer) - u->len) { buffer 588 drivers/xen/xenbus/xenbus_dev_frontend.c ret = copy_from_user(u->u.buffer + u->len, ubuf, len); buffer 607 drivers/xen/xenbus/xenbus_dev_frontend.c if ((sizeof(u->u.msg) + u->u.msg.len) > sizeof(u->u.buffer)) { buffer 390 drivers/xen/xenbus/xenbus_xs.c char *buffer; buffer 393 drivers/xen/xenbus/xenbus_xs.c buffer = kasprintf(GFP_NOIO | __GFP_HIGH, "%s", dir); buffer 395 drivers/xen/xenbus/xenbus_xs.c buffer = kasprintf(GFP_NOIO | __GFP_HIGH, "%s/%s", dir, name); buffer 396 drivers/xen/xenbus/xenbus_xs.c return (!buffer) ? ERR_PTR(-ENOMEM) : buffer; buffer 122 fs/9p/acl.c void *buffer; buffer 128 fs/9p/acl.c buffer = kmalloc(size, GFP_KERNEL); buffer 129 fs/9p/acl.c if (!buffer) buffer 131 fs/9p/acl.c retval = posix_acl_to_xattr(&init_user_ns, acl, buffer, size); buffer 144 fs/9p/acl.c retval = v9fs_fid_xattr_set(fid, name, buffer, size, 0); buffer 146 fs/9p/acl.c kfree(buffer); buffer 217 fs/9p/acl.c const char *name, void *buffer, size_t size) buffer 228 fs/9p/acl.c return v9fs_xattr_get(dentry, handler->name, buffer, size); buffer 235 fs/9p/acl.c error = posix_acl_to_xattr(&init_user_ns, acl, buffer, size); buffer 80 fs/9p/cache.c const void *buffer, buffer 89 fs/9p/cache.c if (memcmp(buffer, &v9inode->qid.version, buffer 26 fs/9p/xattr.c void *buffer, size_t buffer_size) buffer 31 fs/9p/xattr.c struct kvec kvec = {.iov_base = buffer, .iov_len = buffer_size}; buffer 71 fs/9p/xattr.c void *buffer, size_t buffer_size) buffer 81 fs/9p/xattr.c return v9fs_fid_xattr_get(fid, name, buffer, buffer_size); buffer 135 fs/9p/xattr.c ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) buffer 137 fs/9p/xattr.c return v9fs_xattr_get(dentry, NULL, buffer, buffer_size); buffer 142 fs/9p/xattr.c const char *name, void *buffer, size_t size) buffer 146 fs/9p/xattr.c return v9fs_xattr_get(dentry, full_name, buffer, size); buffer 237 fs/adfs/dir_f.c int thissize, buffer, offset; buffer 239 fs/adfs/dir_f.c buffer = pos >> sb->s_blocksize_bits; buffer 241 fs/adfs/dir_f.c if (buffer > dir->nr_buffers) buffer 249 fs/adfs/dir_f.c memcpy(&de, dir->bh[buffer]->b_data + offset, thissize); buffer 251 fs/adfs/dir_f.c memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data, buffer 267 fs/adfs/dir_f.c int thissize, buffer, offset; buffer 269 fs/adfs/dir_f.c buffer = pos >> sb->s_blocksize_bits; buffer 271 fs/adfs/dir_f.c if (buffer > dir->nr_buffers) buffer 282 fs/adfs/dir_f.c memcpy(&de, dir->bh[buffer]->b_data + offset, thissize); buffer 284 fs/adfs/dir_f.c memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data, buffer 295 fs/adfs/dir_f.c memcpy(dir->bh[buffer]->b_data + offset, &de, thissize); buffer 297 fs/adfs/dir_f.c memcpy(dir->bh[buffer + 1]->b_data, ((char *)&de) + thissize, buffer 135 fs/adfs/dir_fplus.c unsigned int buffer, partial, remainder; buffer 137 fs/adfs/dir_fplus.c buffer = offset >> sb->s_blocksize_bits; buffer 143 fs/adfs/dir_fplus.c memcpy(to, dir->bh_fplus[buffer]->b_data + offset, len); buffer 150 fs/adfs/dir_fplus.c dir->bh_fplus[buffer]->b_data + offset, buffer 154 fs/adfs/dir_fplus.c dir->bh_fplus[buffer + 1]->b_data, buffer 12 fs/afs/cache.c const void *buffer, buffer 41 fs/afs/cache.c const void *buffer, buffer 50 fs/afs/cache.c buffer, buflen); buffer 52 fs/afs/cache.c memcpy(&aux, buffer, sizeof(aux)); buffer 242 fs/afs/cmservice.c kfree(call->buffer); buffer 243 fs/afs/cmservice.c call->buffer = NULL; buffer 311 fs/afs/cmservice.c call->buffer = kmalloc(array3_size(call->count, 3, 4), buffer 313 fs/afs/cmservice.c if (!call->buffer) buffer 333 fs/afs/cmservice.c bp = call->buffer; buffer 433 fs/afs/cmservice.c call->buffer = kmalloc_array(11, sizeof(__be32), GFP_KERNEL); buffer 434 fs/afs/cmservice.c if (!call->buffer) buffer 454 fs/afs/cmservice.c b = call->buffer; buffer 544 fs/afs/cmservice.c call->buffer = kmalloc_array(11, sizeof(__be32), GFP_KERNEL); buffer 545 fs/afs/cmservice.c if (!call->buffer) buffer 565 fs/afs/cmservice.c b = call->buffer; buffer 679 fs/afs/cmservice.c call->buffer = kmalloc(size, GFP_KERNEL); buffer 680 fs/afs/cmservice.c if (!call->buffer) buffer 700 fs/afs/cmservice.c bp = call->buffer; buffer 256 fs/afs/fsclient.c bp = call->buffer; buffer 421 fs/afs/fsclient.c bp = call->buffer; buffer 580 fs/afs/fsclient.c bp = call->buffer; buffer 695 fs/afs/fsclient.c bp = call->buffer; buffer 788 fs/afs/fsclient.c bp = call->buffer; buffer 881 fs/afs/fsclient.c bp = call->buffer; buffer 994 fs/afs/fsclient.c bp = call->buffer; buffer 1107 fs/afs/fsclient.c bp = call->buffer; buffer 1287 fs/afs/fsclient.c bp = call->buffer; buffer 1489 fs/afs/fsclient.c bp = call->buffer; buffer 1518 fs/afs/fsclient.c p = call->buffer; buffer 1548 fs/afs/fsclient.c p = call->buffer; buffer 1579 fs/afs/fsclient.c p = call->buffer; buffer 1654 fs/afs/fsclient.c bp = call->buffer; buffer 1958 fs/afs/fsclient.c bp = call->buffer; buffer 2065 fs/afs/fsclient.c bp = call->buffer; buffer 2105 fs/afs/fsclient.c bp = call->buffer; buffer 2121 fs/afs/fsclient.c bp = call->buffer; buffer 2247 fs/afs/fsclient.c bp = call->buffer; buffer 2330 fs/afs/fsclient.c bp = call->buffer; buffer 124 fs/afs/internal.h void *buffer; /* reply receive buffer */ buffer 1159 fs/afs/internal.h afs_extract_begin(call, call->buffer, size); buffer 248 fs/afs/rxrpc.c call->buffer = kmalloc(reply_max, GFP_NOFS); buffer 249 fs/afs/rxrpc.c if (!call->buffer) buffer 273 fs/afs/rxrpc.c kfree(call->buffer); buffer 274 fs/afs/rxrpc.c call->buffer = NULL; buffer 157 fs/afs/vl_list.c const void *buffer, buffer 160 fs/afs/vl_list.c const struct dns_server_list_v1_header *hdr = buffer; buffer 165 fs/afs/vl_list.c const u8 *b = buffer, *end = buffer + buffer_size; buffer 330 fs/afs/vl_list.c printk(KERN_DEBUG "DNS: at %zu\n", (const void *)b - buffer); buffer 331 fs/afs/vl_list.c print_hex_dump_bytes("DNS: ", DUMP_PREFIX_NONE, buffer, buffer_size); buffer 32 fs/afs/vlclient.c uvldb = call->buffer; buffer 204 fs/afs/vlclient.c bp = call->buffer + sizeof(struct afs_uuid__xdr); buffer 230 fs/afs/vlclient.c bp = call->buffer; buffer 444 fs/afs/vlclient.c bp = call->buffer + sizeof(uuid_t); buffer 486 fs/afs/vlclient.c bp = call->buffer; buffer 538 fs/afs/vlclient.c bp = call->buffer; buffer 565 fs/afs/vlclient.c bp = call->buffer; buffer 27 fs/afs/xattr.c ssize_t afs_listxattr(struct dentry *dentry, char *buffer, size_t size) buffer 33 fs/afs/xattr.c memcpy(buffer, afs_xattr_list, sizeof(afs_xattr_list)); buffer 43 fs/afs/xattr.c void *buffer, size_t size) buffer 81 fs/afs/xattr.c memcpy(buffer, acl->data, acl->size); buffer 101 fs/afs/xattr.c const void *buffer, size_t size, int flags) buffer 128 fs/afs/xattr.c memcpy(acl->data, buffer, size); buffer 166 fs/afs/xattr.c void *buffer, size_t size) buffer 252 fs/afs/xattr.c memcpy(buffer, data, dsize); buffer 271 fs/afs/xattr.c const void *buffer, size_t size, int flags) buffer 293 fs/afs/xattr.c memcpy(acl->data, buffer, size); buffer 337 fs/afs/xattr.c void *buffer, size_t size) buffer 348 fs/afs/xattr.c memcpy(buffer, cell->name, namelen); buffer 364 fs/afs/xattr.c void *buffer, size_t size) buffer 385 fs/afs/xattr.c memcpy(buffer, text, len); buffer 400 fs/afs/xattr.c void *buffer, size_t size) buffer 411 fs/afs/xattr.c memcpy(buffer, volname, namelen); buffer 350 fs/afs/yfsclient.c bp = call->buffer; buffer 374 fs/afs/yfsclient.c bp = call->buffer; buffer 536 fs/afs/yfsclient.c bp = call->buffer; buffer 646 fs/afs/yfsclient.c bp = call->buffer; buffer 805 fs/afs/yfsclient.c bp = call->buffer; buffer 892 fs/afs/yfsclient.c bp = call->buffer; buffer 977 fs/afs/yfsclient.c bp = call->buffer; buffer 1063 fs/afs/yfsclient.c bp = call->buffer; buffer 1157 fs/afs/yfsclient.c bp = call->buffer; buffer 1446 fs/afs/yfsclient.c bp = call->buffer; buffer 1475 fs/afs/yfsclient.c p = call->buffer; buffer 1505 fs/afs/yfsclient.c p = call->buffer; buffer 1536 fs/afs/yfsclient.c p = call->buffer; buffer 1847 fs/afs/yfsclient.c bp = call->buffer; buffer 1887 fs/afs/yfsclient.c bp = call->buffer; buffer 1903 fs/afs/yfsclient.c bp = call->buffer; buffer 2068 fs/afs/yfsclient.c bp = call->buffer; buffer 33 fs/anon_inodes.c static char *anon_inodefs_dname(struct dentry *dentry, char *buffer, int buflen) buffer 35 fs/anon_inodes.c return dynamic_dname(dentry, buffer, buflen, "anon_inode:%s", buffer 82 fs/bad_inode.c static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, buffer 104 fs/bad_inode.c static ssize_t bad_inode_listxattr(struct dentry *dentry, char *buffer, buffer 314 fs/bfs/dir.c const char *buffer) buffer 316 fs/bfs/dir.c if ((len < BFS_NAMELEN) && buffer[len]) buffer 318 fs/bfs/dir.c return !memcmp(name, buffer, len); buffer 321 fs/binfmt_misc.c static Node *create_entry(const char __user *buffer, size_t count) buffer 344 fs/binfmt_misc.c if (copy_from_user(buf, buffer, count)) buffer 526 fs/binfmt_misc.c static int parse_command(const char __user *buffer, size_t count) buffer 532 fs/binfmt_misc.c if (copy_from_user(s, buffer, count)) buffer 650 fs/binfmt_misc.c static ssize_t bm_entry_write(struct file *file, const char __user *buffer, buffer 655 fs/binfmt_misc.c int res = parse_command(buffer, count); buffer 691 fs/binfmt_misc.c static ssize_t bm_register_write(struct file *file, const char __user *buffer, buffer 700 fs/binfmt_misc.c e = create_entry(buffer, count); buffer 780 fs/binfmt_misc.c static ssize_t bm_status_write(struct file *file, const char __user *buffer, buffer 783 fs/binfmt_misc.c int res = parse_command(buffer, count); buffer 1796 fs/btrfs/scrub.c void *buffer; buffer 1809 fs/btrfs/scrub.c buffer = kmap_atomic(page); buffer 1816 fs/btrfs/scrub.c crypto_shash_update(shash, buffer, l); buffer 1817 fs/btrfs/scrub.c kunmap_atomic(buffer); buffer 1825 fs/btrfs/scrub.c buffer = kmap_atomic(page); buffer 24 fs/btrfs/xattr.c void *buffer, size_t size) buffer 70 fs/btrfs/xattr.c read_extent_buffer(leaf, buffer, data_ptr, buffer 249 fs/btrfs/xattr.c ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size) buffer 329 fs/btrfs/xattr.c if (!buffer || (name_len + 1) > size_left) { buffer 334 fs/btrfs/xattr.c read_extent_buffer(leaf, buffer, name_ptr, name_len); buffer 335 fs/btrfs/xattr.c buffer[name_len] = '\0'; buffer 338 fs/btrfs/xattr.c buffer += name_len + 1; buffer 356 fs/btrfs/xattr.c const char *name, void *buffer, size_t size) buffer 359 fs/btrfs/xattr.c return btrfs_getxattr(inode, name, buffer, size); buffer 364 fs/btrfs/xattr.c const char *name, const void *buffer, buffer 368 fs/btrfs/xattr.c return btrfs_setxattr_trans(inode, name, buffer, size, flags); buffer 14 fs/btrfs/xattr.h void *buffer, size_t size); buffer 19 fs/btrfs/xattr.h ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size); buffer 163 fs/cachefiles/daemon.c char buffer[256]; buffer 179 fs/cachefiles/daemon.c n = snprintf(buffer, sizeof(buffer), buffer 202 fs/cachefiles/daemon.c if (copy_to_user(_buffer, buffer, n) != 0) buffer 31 fs/cachefiles/interface.c void *buffer, *p; buffer 60 fs/cachefiles/interface.c buffer = kmalloc((2 + 512) + 3, cachefiles_gfp); buffer 61 fs/cachefiles/interface.c if (!buffer) buffer 69 fs/cachefiles/interface.c memcpy(buffer + 2, p, keylen); buffer 71 fs/cachefiles/interface.c *(uint16_t *)buffer = keylen; buffer 72 fs/cachefiles/interface.c ((char *)buffer)[keylen + 2] = 0; buffer 73 fs/cachefiles/interface.c ((char *)buffer)[keylen + 3] = 0; buffer 74 fs/cachefiles/interface.c ((char *)buffer)[keylen + 4] = 0; buffer 77 fs/cachefiles/interface.c key = cachefiles_cook_key(buffer, keylen + 2, object->type); buffer 82 fs/cachefiles/interface.c auxdata = buffer; buffer 103 fs/cachefiles/interface.c kfree(buffer); buffer 432 fs/cifs/cifs_debug.c const char __user *buffer, size_t count, loff_t *ppos) buffer 441 fs/cifs/cifs_debug.c rc = kstrtobool_from_user(buffer, count, &bv); buffer 592 fs/cifs/cifs_debug.c static ssize_t name##_write(struct file *file, const char __user *buffer, \ buffer 596 fs/cifs/cifs_debug.c rc = kstrtoint_from_user(buffer, count, 10, & name); \ buffer 725 fs/cifs/cifs_debug.c static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, buffer 732 fs/cifs/cifs_debug.c rc = get_user(c[0], buffer); buffer 765 fs/cifs/cifs_debug.c const char __user *buffer, size_t count, loff_t *ppos) buffer 769 fs/cifs/cifs_debug.c rc = kstrtobool_from_user(buffer, count, &linuxExtEnabled); buffer 796 fs/cifs/cifs_debug.c const char __user *buffer, size_t count, loff_t *ppos) buffer 800 fs/cifs/cifs_debug.c rc = kstrtobool_from_user(buffer, count, &lookupCacheEnabled); buffer 826 fs/cifs/cifs_debug.c static ssize_t traceSMB_proc_write(struct file *file, const char __user *buffer, buffer 831 fs/cifs/cifs_debug.c rc = kstrtobool_from_user(buffer, count, &traceSMB); buffer 886 fs/cifs/cifs_debug.c const char __user *buffer, size_t count, loff_t *ppos) buffer 898 fs/cifs/cifs_debug.c if (copy_from_user(flags_string, buffer, count)) buffer 381 fs/cifs/cifssmb.c struct smb_hdr *buffer; buffer 387 fs/cifs/cifssmb.c buffer = (struct smb_hdr *)*request_buf; buffer 388 fs/cifs/cifssmb.c buffer->Mid = get_next_mid(ses->server); buffer 390 fs/cifs/cifssmb.c buffer->Flags2 |= SMBFLG2_UNICODE; buffer 392 fs/cifs/cifssmb.c buffer->Flags2 |= SMBFLG2_ERR_STATUS; buffer 935 fs/cifs/connect.c smb2_get_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) buffer 937 fs/cifs/connect.c struct smb2_sync_hdr *shdr = (struct smb2_sync_hdr *)buffer; buffer 1135 fs/cifs/connect.c smb2_add_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) buffer 1137 fs/cifs/connect.c struct smb2_sync_hdr *shdr = (struct smb2_sync_hdr *)buffer; buffer 194 fs/cifs/dfs_cache.c static ssize_t dfscache_proc_write(struct file *file, const char __user *buffer, buffer 200 fs/cifs/dfs_cache.c rc = get_user(c, buffer); buffer 243 fs/cifs/misc.c header_assemble(struct smb_hdr *buffer, char smb_command /* command */ , buffer 247 fs/cifs/misc.c char *temp = (char *) buffer; buffer 251 fs/cifs/misc.c buffer->smb_buf_length = cpu_to_be32( buffer 256 fs/cifs/misc.c buffer->Protocol[0] = 0xFF; buffer 257 fs/cifs/misc.c buffer->Protocol[1] = 'S'; buffer 258 fs/cifs/misc.c buffer->Protocol[2] = 'M'; buffer 259 fs/cifs/misc.c buffer->Protocol[3] = 'B'; buffer 260 fs/cifs/misc.c buffer->Command = smb_command; buffer 261 fs/cifs/misc.c buffer->Flags = 0x00; /* case sensitive */ buffer 262 fs/cifs/misc.c buffer->Flags2 = SMBFLG2_KNOWS_LONG_NAMES; buffer 263 fs/cifs/misc.c buffer->Pid = cpu_to_le16((__u16)current->tgid); buffer 264 fs/cifs/misc.c buffer->PidHigh = cpu_to_le16((__u16)(current->tgid >> 16)); buffer 266 fs/cifs/misc.c buffer->Tid = treeCon->tid; buffer 269 fs/cifs/misc.c buffer->Flags2 |= SMBFLG2_UNICODE; buffer 271 fs/cifs/misc.c buffer->Flags2 |= SMBFLG2_ERR_STATUS; buffer 274 fs/cifs/misc.c buffer->Uid = treeCon->ses->Suid; buffer 275 fs/cifs/misc.c buffer->Mid = get_next_mid(treeCon->ses->server); buffer 278 fs/cifs/misc.c buffer->Flags2 |= SMBFLG2_DFS; buffer 280 fs/cifs/misc.c buffer->Flags |= SMBFLG_CASELESS; buffer 283 fs/cifs/misc.c buffer->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; buffer 287 fs/cifs/misc.c buffer->WordCount = (char) word_count; buffer 399 fs/cifs/misc.c is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) buffer 401 fs/cifs/misc.c struct smb_hdr *buf = (struct smb_hdr *)buffer; buffer 88 fs/cifs/smb1ops.c cifs_find_mid(struct TCP_Server_Info *server, char *buffer) buffer 90 fs/cifs/smb1ops.c struct smb_hdr *buf = (struct smb_hdr *)buffer; buffer 588 fs/cifs/smb2misc.c smb2_is_valid_lease_break(char *buffer) buffer 590 fs/cifs/smb2misc.c struct smb2_lease_break *rsp = (struct smb2_lease_break *)buffer; buffer 648 fs/cifs/smb2misc.c smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) buffer 650 fs/cifs/smb2misc.c struct smb2_oplock_break *rsp = (struct smb2_oplock_break *)buffer; buffer 665 fs/cifs/smb2misc.c return smb2_is_valid_lease_break(buffer); buffer 785 fs/cifs/smb2misc.c smb2_handle_cancelled_mid(char *buffer, struct TCP_Server_Info *server) buffer 787 fs/cifs/smb2misc.c struct smb2_sync_hdr *sync_hdr = (struct smb2_sync_hdr *)buffer; buffer 788 fs/cifs/smb2misc.c struct smb2_create_rsp *rsp = (struct smb2_create_rsp *)buffer; buffer 1407 fs/cifs/smb2ops.c void *buffer = NULL; buffer 1438 fs/cifs/smb2ops.c buffer = kmalloc(qi.output_buffer_length, GFP_KERNEL); buffer 1439 fs/cifs/smb2ops.c if (buffer == NULL) buffer 1442 fs/cifs/smb2ops.c if (copy_from_user(buffer, arg + sizeof(struct smb_query_info), buffer 1501 fs/cifs/smb2ops.c qi.info_type, true, buffer, buffer 1517 fs/cifs/smb2ops.c data[0] = buffer; buffer 1534 fs/cifs/smb2ops.c qi.output_buffer_length, buffer); buffer 1599 fs/cifs/smb2ops.c kfree(buffer); buffer 62 fs/cifs/smb2proto.h extern bool smb2_is_valid_oplock_break(char *buffer, buffer 218 fs/cifs/smb2proto.h extern int smb2_handle_cancelled_mid(char *buffer, buffer 221 fs/cifs/smbdirect.h __u8 buffer[]; buffer 70 fs/coda/coda_psdev.h char *buffer, int *length); buffer 43 fs/coda/upcall.c union inputArgs *buffer); buffer 348 fs/coda/upcall.c char *buffer, int *length) buffer 369 fs/coda/upcall.c memcpy(buffer, result, retlen); buffer 370 fs/coda/upcall.c *(buffer + retlen) = '\0'; buffer 711 fs/coda/upcall.c union inputArgs *buffer) buffer 733 fs/coda/upcall.c buffer->ih.unique = ++vcp->vc_seq; buffer 735 fs/coda/upcall.c req->uc_data = (void *)buffer; buffer 739 fs/coda/upcall.c req->uc_opcode = buffer->ih.opcode; buffer 740 fs/coda/upcall.c req->uc_unique = buffer->ih.unique; buffer 58 fs/configfs/file.c static int fill_read_buffer(struct file *file, struct configfs_buffer *buffer) buffer 63 fs/configfs/file.c if (!buffer->page) buffer 64 fs/configfs/file.c buffer->page = (char *) get_zeroed_page(GFP_KERNEL); buffer 65 fs/configfs/file.c if (!buffer->page) buffer 70 fs/configfs/file.c count = buffer->attr->show(buffer->item, buffer->page); buffer 77 fs/configfs/file.c buffer->needs_read_fill = 0; buffer 78 fs/configfs/file.c buffer->count = count; buffer 104 fs/configfs/file.c struct configfs_buffer *buffer = file->private_data; buffer 107 fs/configfs/file.c mutex_lock(&buffer->mutex); buffer 108 fs/configfs/file.c if (buffer->needs_read_fill) { buffer 109 fs/configfs/file.c retval = fill_read_buffer(file, buffer); buffer 114 fs/configfs/file.c __func__, count, *ppos, buffer->page); buffer 115 fs/configfs/file.c retval = simple_read_from_buffer(buf, count, ppos, buffer->page, buffer 116 fs/configfs/file.c buffer->count); buffer 118 fs/configfs/file.c mutex_unlock(&buffer->mutex); buffer 147 fs/configfs/file.c struct configfs_buffer *buffer = file->private_data; buffer 151 fs/configfs/file.c mutex_lock(&buffer->mutex); buffer 154 fs/configfs/file.c if (buffer->write_in_progress) { buffer 158 fs/configfs/file.c buffer->read_in_progress = true; buffer 160 fs/configfs/file.c if (buffer->needs_read_fill) { buffer 164 fs/configfs/file.c len = buffer->bin_attr->read(buffer->item, NULL, 0); buffer 174 fs/configfs/file.c if (buffer->cb_max_size && len > buffer->cb_max_size) { buffer 179 fs/configfs/file.c buffer->bin_buffer = vmalloc(len); buffer 180 fs/configfs/file.c if (buffer->bin_buffer == NULL) { buffer 184 fs/configfs/file.c buffer->bin_buffer_size = len; buffer 189 fs/configfs/file.c len = buffer->bin_attr->read(buffer->item, buffer 190 fs/configfs/file.c buffer->bin_buffer, len); buffer 196 fs/configfs/file.c vfree(buffer->bin_buffer); buffer 197 fs/configfs/file.c buffer->bin_buffer_size = 0; buffer 198 fs/configfs/file.c buffer->bin_buffer = NULL; buffer 202 fs/configfs/file.c buffer->needs_read_fill = 0; buffer 205 fs/configfs/file.c retval = simple_read_from_buffer(buf, count, ppos, buffer->bin_buffer, buffer 206 fs/configfs/file.c buffer->bin_buffer_size); buffer 208 fs/configfs/file.c mutex_unlock(&buffer->mutex); buffer 224 fs/configfs/file.c fill_write_buffer(struct configfs_buffer * buffer, const char __user * buf, size_t count) buffer 228 fs/configfs/file.c if (!buffer->page) buffer 229 fs/configfs/file.c buffer->page = (char *)__get_free_pages(GFP_KERNEL, 0); buffer 230 fs/configfs/file.c if (!buffer->page) buffer 235 fs/configfs/file.c error = copy_from_user(buffer->page,buf,count); buffer 236 fs/configfs/file.c buffer->needs_read_fill = 1; buffer 239 fs/configfs/file.c buffer->page[count] = 0; buffer 244 fs/configfs/file.c flush_write_buffer(struct file *file, struct configfs_buffer *buffer, size_t count) buffer 251 fs/configfs/file.c res = buffer->attr->store(buffer->item, buffer->page, count); buffer 277 fs/configfs/file.c struct configfs_buffer *buffer = file->private_data; buffer 280 fs/configfs/file.c mutex_lock(&buffer->mutex); buffer 281 fs/configfs/file.c len = fill_write_buffer(buffer, buf, count); buffer 283 fs/configfs/file.c len = flush_write_buffer(file, buffer, len); buffer 286 fs/configfs/file.c mutex_unlock(&buffer->mutex); buffer 307 fs/configfs/file.c struct configfs_buffer *buffer = file->private_data; buffer 311 fs/configfs/file.c mutex_lock(&buffer->mutex); buffer 314 fs/configfs/file.c if (buffer->read_in_progress) { buffer 318 fs/configfs/file.c buffer->write_in_progress = true; buffer 321 fs/configfs/file.c if (*ppos + count > buffer->bin_buffer_size) { buffer 323 fs/configfs/file.c if (buffer->cb_max_size && buffer 324 fs/configfs/file.c *ppos + count > buffer->cb_max_size) { buffer 336 fs/configfs/file.c if (buffer->bin_buffer) { buffer 337 fs/configfs/file.c memcpy(tbuf, buffer->bin_buffer, buffer 338 fs/configfs/file.c buffer->bin_buffer_size); buffer 339 fs/configfs/file.c vfree(buffer->bin_buffer); buffer 343 fs/configfs/file.c memset(tbuf + buffer->bin_buffer_size, 0, buffer 344 fs/configfs/file.c *ppos + count - buffer->bin_buffer_size); buffer 345 fs/configfs/file.c buffer->bin_buffer = tbuf; buffer 346 fs/configfs/file.c buffer->bin_buffer_size = *ppos + count; buffer 349 fs/configfs/file.c len = simple_write_to_buffer(buffer->bin_buffer, buffer 350 fs/configfs/file.c buffer->bin_buffer_size, ppos, buf, count); buffer 352 fs/configfs/file.c mutex_unlock(&buffer->mutex); buffer 361 fs/configfs/file.c struct configfs_buffer *buffer; buffer 365 fs/configfs/file.c buffer = kzalloc(sizeof(struct configfs_buffer), GFP_KERNEL); buffer 366 fs/configfs/file.c if (!buffer) buffer 375 fs/configfs/file.c buffer->item = to_item(dentry->d_parent); buffer 376 fs/configfs/file.c if (!buffer->item) buffer 384 fs/configfs/file.c buffer->bin_attr = to_bin_attr(dentry); buffer 385 fs/configfs/file.c buffer->cb_max_size = buffer->bin_attr->cb_max_size; buffer 387 fs/configfs/file.c buffer->attr = attr; buffer 390 fs/configfs/file.c buffer->owner = attr->ca_owner; buffer 393 fs/configfs/file.c if (!try_module_get(buffer->owner)) buffer 397 fs/configfs/file.c if (!buffer->item->ci_type) buffer 400 fs/configfs/file.c buffer->ops = buffer->item->ci_type->ct_item_ops; buffer 411 fs/configfs/file.c if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->write) buffer 424 fs/configfs/file.c if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->read) buffer 428 fs/configfs/file.c mutex_init(&buffer->mutex); buffer 429 fs/configfs/file.c buffer->needs_read_fill = 1; buffer 430 fs/configfs/file.c buffer->read_in_progress = false; buffer 431 fs/configfs/file.c buffer->write_in_progress = false; buffer 432 fs/configfs/file.c file->private_data = buffer; buffer 437 fs/configfs/file.c module_put(buffer->owner); buffer 439 fs/configfs/file.c config_item_put(buffer->item); buffer 442 fs/configfs/file.c kfree(buffer); buffer 449 fs/configfs/file.c struct configfs_buffer *buffer = filp->private_data; buffer 451 fs/configfs/file.c module_put(buffer->owner); buffer 452 fs/configfs/file.c if (buffer->page) buffer 453 fs/configfs/file.c free_page((unsigned long)buffer->page); buffer 454 fs/configfs/file.c mutex_destroy(&buffer->mutex); buffer 455 fs/configfs/file.c kfree(buffer); buffer 471 fs/configfs/file.c struct configfs_buffer *buffer = file->private_data; buffer 473 fs/configfs/file.c buffer->read_in_progress = false; buffer 475 fs/configfs/file.c if (buffer->write_in_progress) { buffer 477 fs/configfs/file.c buffer->write_in_progress = false; buffer 482 fs/configfs/file.c buffer->bin_attr->write(buffer->item, buffer 483 fs/configfs/file.c buffer->bin_buffer, buffer 484 fs/configfs/file.c buffer->bin_buffer_size); buffer 488 fs/configfs/file.c vfree(buffer->bin_buffer); buffer 489 fs/configfs/file.c buffer->bin_buffer = NULL; buffer 490 fs/configfs/file.c buffer->bin_buffer_size = 0; buffer 491 fs/configfs/file.c buffer->needs_read_fill = 1; buffer 43 fs/configfs/symlink.c static void fill_item_path(struct config_item * item, char * buffer, int length) buffer 53 fs/configfs/symlink.c memcpy(buffer + length, config_item_name(p), cur); buffer 54 fs/configfs/symlink.c *(buffer + --length) = '/'; buffer 187 fs/cramfs/inode.c unsigned i, blocknr, buffer; buffer 240 fs/cramfs/inode.c buffer = next_buffer; buffer 241 fs/cramfs/inode.c next_buffer = NEXT_BUFFER(buffer); buffer 242 fs/cramfs/inode.c buffer_blocknr[buffer] = blocknr; buffer 243 fs/cramfs/inode.c buffer_dev[buffer] = sb; buffer 245 fs/cramfs/inode.c data = read_buffers[buffer]; buffer 257 fs/cramfs/inode.c return read_buffers[buffer] + offset; buffer 11 fs/d_path.c static int prepend(char **buffer, int *buflen, const char *str, int namelen) buffer 16 fs/d_path.c *buffer -= namelen; buffer 17 fs/d_path.c memcpy(*buffer, str, namelen); buffer 38 fs/d_path.c static int prepend_name(char **buffer, int *buflen, const struct qstr *name) buffer 47 fs/d_path.c p = *buffer -= dlen + 1; buffer 77 fs/d_path.c char **buffer, int *buflen) buffer 93 fs/d_path.c bptr = *buffer; buffer 107 fs/d_path.c bptr = *buffer; buffer 149 fs/d_path.c if (error >= 0 && bptr == *buffer) { buffer 155 fs/d_path.c *buffer = bptr; buffer 227 fs/d_path.c static int prepend_unreachable(char **buffer, int *buflen) buffer 229 fs/d_path.c return prepend(buffer, buflen, "(unreachable)", 13); buffer 293 fs/d_path.c char *dynamic_dname(struct dentry *dentry, char *buffer, int buflen, buffer 307 fs/d_path.c buffer += buflen - sz; buffer 308 fs/d_path.c return memcpy(buffer, temp, sz); buffer 311 fs/d_path.c char *simple_dname(struct dentry *dentry, char *buffer, int buflen) buffer 313 fs/d_path.c char *end = buffer + buflen; buffer 168 fs/dcache.c int proc_nr_dentry(struct ctl_table *table, int write, void __user *buffer, buffer 174 fs/dcache.c return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 50 fs/drop_caches.c void __user *buffer, size_t *length, loff_t *ppos) buffer 54 fs/drop_caches.c ret = proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 1128 fs/ecryptfs/inode.c const char *name, void *buffer, size_t size) buffer 1130 fs/ecryptfs/inode.c return ecryptfs_getxattr(dentry, inode, name, buffer, size); buffer 319 fs/erofs/xattr.c char *buffer; buffer 348 fs/erofs/xattr.c return !it->buffer ? 1 : err; buffer 357 fs/erofs/xattr.c memcpy(it->buffer + processed, buf, len); buffer 435 fs/erofs/xattr.c void *buffer, size_t buffer_size) buffer 454 fs/erofs/xattr.c it.buffer = buffer; buffer 466 fs/erofs/xattr.c const char *name, void *buffer, size_t size) buffer 485 fs/erofs/xattr.c return erofs_getxattr(inode, handler->flags, name, buffer, size); buffer 527 fs/erofs/xattr.c char *buffer; buffer 548 fs/erofs/xattr.c if (!it->buffer) { buffer 557 fs/erofs/xattr.c memcpy(it->buffer + it->buffer_ofs, prefix, prefix_len); buffer 568 fs/erofs/xattr.c memcpy(it->buffer + it->buffer_ofs, buf, len); buffer 579 fs/erofs/xattr.c it->buffer[it->buffer_ofs++] = '\0'; buffer 646 fs/erofs/xattr.c char *buffer, size_t buffer_size) buffer 658 fs/erofs/xattr.c it.buffer = buffer; buffer 72 fs/erofs/xattr.h const char *name, void *buffer, buffer 79 fs/erofs/xattr.h char *buffer, size_t buffer_size) buffer 288 fs/exportfs/expfs.c struct getdents_callback buffer = { buffer 309 fs/exportfs/expfs.c buffer.ino = stat.ino; buffer 322 fs/exportfs/expfs.c buffer.sequence = 0; buffer 324 fs/exportfs/expfs.c int old_seq = buffer.sequence; buffer 326 fs/exportfs/expfs.c error = iterate_dir(file, &buffer.ctx); buffer 327 fs/exportfs/expfs.c if (buffer.found) { buffer 336 fs/exportfs/expfs.c if (old_seq == buffer.sequence) buffer 197 fs/ext2/xattr.c void *buffer, size_t buffer_size) buffer 207 fs/ext2/xattr.c name_index, name, buffer, (long)buffer_size); buffer 260 fs/ext2/xattr.c if (buffer) { buffer 265 fs/ext2/xattr.c memcpy(buffer, bh->b_data + le16_to_cpu(entry->e_value_offs), buffer 288 fs/ext2/xattr.c ext2_xattr_list(struct dentry *dentry, char *buffer, size_t buffer_size) buffer 299 fs/ext2/xattr.c buffer, (long)buffer_size); buffer 344 fs/ext2/xattr.c if (buffer) { buffer 349 fs/ext2/xattr.c memcpy(buffer, prefix, prefix_len); buffer 350 fs/ext2/xattr.c buffer += prefix_len; buffer 351 fs/ext2/xattr.c memcpy(buffer, entry->e_name, entry->e_name_len); buffer 352 fs/ext2/xattr.c buffer += entry->e_name_len; buffer 353 fs/ext2/xattr.c *buffer++ = 0; buffer 373 fs/ext2/xattr.c ext2_listxattr(struct dentry *dentry, char *buffer, size_t size) buffer 375 fs/ext2/xattr.c return ext2_xattr_list(dentry, buffer, size); buffer 81 fs/ext2/xattr.h const char *name, void *buffer, size_t size) buffer 14 fs/ext2/xattr_security.c const char *name, void *buffer, size_t size) buffer 17 fs/ext2/xattr_security.c buffer, size); buffer 21 fs/ext2/xattr_trusted.c const char *name, void *buffer, size_t size) buffer 24 fs/ext2/xattr_trusted.c buffer, size); buffer 23 fs/ext2/xattr_user.c const char *name, void *buffer, size_t size) buffer 28 fs/ext2/xattr_user.c name, buffer, size); buffer 164 fs/ext4/inline.c static int ext4_read_inline_data(struct inode *inode, void *buffer, buffer 182 fs/ext4/inline.c memcpy(buffer, (void *)(raw_inode->i_block), cp_len); buffer 185 fs/ext4/inline.c buffer += cp_len; buffer 196 fs/ext4/inline.c memcpy(buffer, buffer 211 fs/ext4/inline.c void *buffer, loff_t pos, unsigned int len) buffer 225 fs/ext4/inline.c buffer += pos; buffer 230 fs/ext4/inline.c memcpy((void *)raw_inode->i_block + pos, buffer, cp_len); buffer 233 fs/ext4/inline.c buffer += cp_len; buffer 246 fs/ext4/inline.c buffer, len); buffer 310 fs/ext4/xattr.c ext4_xattr_inode_hash(struct ext4_sb_info *sbi, const void *buffer, size_t size) buffer 312 fs/ext4/xattr.c return ext4_chksum(sbi, sbi->s_csum_seed, buffer, size); buffer 439 fs/ext4/xattr.c struct ext4_xattr_entry *entry, void *buffer, buffer 445 fs/ext4/xattr.c hash = ext4_xattr_inode_hash(EXT4_SB(ea_inode->i_sb), buffer, size); buffer 467 fs/ext4/xattr.c void *buffer, size_t size) buffer 488 fs/ext4/xattr.c err = ext4_xattr_inode_read(ea_inode, buffer, size); buffer 493 fs/ext4/xattr.c err = ext4_xattr_inode_verify_hashes(ea_inode, entry, buffer, buffer 513 fs/ext4/xattr.c void *buffer, size_t buffer_size) buffer 523 fs/ext4/xattr.c name_index, name, buffer, (long)buffer_size); buffer 547 fs/ext4/xattr.c if (buffer) { buffer 551 fs/ext4/xattr.c error = ext4_xattr_inode_get(inode, entry, buffer, buffer 561 fs/ext4/xattr.c memcpy(buffer, p, size); buffer 573 fs/ext4/xattr.c void *buffer, size_t buffer_size) buffer 602 fs/ext4/xattr.c if (buffer) { buffer 606 fs/ext4/xattr.c error = ext4_xattr_inode_get(inode, entry, buffer, buffer 616 fs/ext4/xattr.c memcpy(buffer, p, size); buffer 638 fs/ext4/xattr.c void *buffer, size_t buffer_size) buffer 649 fs/ext4/xattr.c error = ext4_xattr_ibody_get(inode, name_index, name, buffer, buffer 652 fs/ext4/xattr.c error = ext4_xattr_block_get(inode, name_index, name, buffer, buffer 660 fs/ext4/xattr.c char *buffer, size_t buffer_size) buffer 673 fs/ext4/xattr.c if (buffer) { buffer 676 fs/ext4/xattr.c memcpy(buffer, prefix, prefix_len); buffer 677 fs/ext4/xattr.c buffer += prefix_len; buffer 678 fs/ext4/xattr.c memcpy(buffer, entry->e_name, entry->e_name_len); buffer 679 fs/ext4/xattr.c buffer += entry->e_name_len; buffer 680 fs/ext4/xattr.c *buffer++ = 0; buffer 689 fs/ext4/xattr.c ext4_xattr_block_list(struct dentry *dentry, char *buffer, size_t buffer_size) buffer 696 fs/ext4/xattr.c buffer, (long)buffer_size); buffer 711 fs/ext4/xattr.c error = ext4_xattr_list_entries(dentry, BFIRST(bh), buffer, buffer 719 fs/ext4/xattr.c ext4_xattr_ibody_list(struct dentry *dentry, char *buffer, size_t buffer_size) buffer 740 fs/ext4/xattr.c buffer, buffer_size); buffer 760 fs/ext4/xattr.c ext4_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) buffer 765 fs/ext4/xattr.c ret = ret2 = ext4_xattr_ibody_list(dentry, buffer, buffer_size); buffer 768 fs/ext4/xattr.c if (buffer) { buffer 769 fs/ext4/xattr.c buffer += ret; buffer 772 fs/ext4/xattr.c ret = ext4_xattr_block_list(dentry, buffer, buffer_size); buffer 2552 fs/ext4/xattr.c char *buffer = NULL, *b_entry_name = NULL; buffer 2565 fs/ext4/xattr.c buffer = kmalloc(value_size, GFP_NOFS); buffer 2567 fs/ext4/xattr.c if (!is || !bs || !buffer || !b_entry_name) { buffer 2579 fs/ext4/xattr.c error = ext4_xattr_inode_get(inode, entry, buffer, value_size); buffer 2584 fs/ext4/xattr.c memcpy(buffer, (void *)IFIRST(header) + value_offs, value_size); buffer 2604 fs/ext4/xattr.c i.value = buffer; buffer 2617 fs/ext4/xattr.c kfree(buffer); buffer 187 fs/ext4/xattr.h void *buffer, size_t buffer_size); buffer 18 fs/ext4/xattr_security.c const char *name, void *buffer, size_t size) buffer 21 fs/ext4/xattr_security.c name, buffer, size); buffer 25 fs/ext4/xattr_trusted.c const char *name, void *buffer, size_t size) buffer 28 fs/ext4/xattr_trusted.c name, buffer, size); buffer 24 fs/ext4/xattr_user.c const char *name, void *buffer, size_t size) buffer 29 fs/ext4/xattr_user.c name, buffer, size); buffer 28 fs/f2fs/xattr.c const char *name, void *buffer, size_t size) buffer 44 fs/f2fs/xattr.c buffer, size, NULL); buffer 83 fs/f2fs/xattr.c const char *name, void *buffer, size_t size) buffer 85 fs/f2fs/xattr.c if (buffer) buffer 86 fs/f2fs/xattr.c *((char *)buffer) = F2FS_I(inode)->i_advise; buffer 495 fs/f2fs/xattr.c void *buffer, size_t buffer_size, struct page *ipage) buffer 519 fs/f2fs/xattr.c if (buffer && size > buffer_size) { buffer 524 fs/f2fs/xattr.c if (buffer) { buffer 531 fs/f2fs/xattr.c memcpy(buffer, pval, size); buffer 539 fs/f2fs/xattr.c ssize_t f2fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) buffer 578 fs/f2fs/xattr.c if (buffer) { buffer 583 fs/f2fs/xattr.c memcpy(buffer, prefix, prefix_len); buffer 584 fs/f2fs/xattr.c buffer += prefix_len; buffer 585 fs/f2fs/xattr.c memcpy(buffer, entry->e_name, entry->e_name_len); buffer 586 fs/f2fs/xattr.c buffer += entry->e_name_len; buffer 587 fs/f2fs/xattr.c *buffer++ = 0; buffer 143 fs/f2fs/xattr.h const char *name, void *buffer, buffer 148 fs/f2fs/xattr.h static inline ssize_t f2fs_listxattr(struct dentry *dentry, char *buffer, buffer 83 fs/file_table.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 86 fs/file_table.c return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 90 fs/file_table.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2185 fs/fs-writeback.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2189 fs/fs-writeback.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 444 fs/fs_context.c unsigned int logsize = ARRAY_SIZE(log->buffer); buffer 453 fs/fs_context.c kfree(log->buffer[index]); buffer 457 fs/fs_context.c log->buffer[index] = q; buffer 479 fs/fs_context.c kfree(log->buffer[i]); buffer 54 fs/fscache/main.c void __user *buffer, buffer 61 fs/fscache/main.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 29 fs/fsopen.c unsigned int logsize = ARRAY_SIZE(log->buffer); buffer 45 fs/fsopen.c p = log->buffer[index]; buffer 47 fs/fsopen.c log->buffer[index] = NULL; buffer 138 fs/gfs2/rgrp.c const u8 *buffer; buffer 143 fs/gfs2/rgrp.c buffer = bi->bi_clone; buffer 145 fs/gfs2/rgrp.c buffer = bi->bi_bh->b_data; buffer 146 fs/gfs2/rgrp.c buffer += bi->bi_offset; buffer 147 fs/gfs2/rgrp.c byte = buffer + (rbm->offset / GFS2_NBBY); buffer 419 fs/gfs2/rgrp.c static u32 gfs2_bitcount(struct gfs2_rgrpd *rgd, const u8 *buffer, buffer 422 fs/gfs2/rgrp.c const u8 *byte = buffer; buffer 423 fs/gfs2/rgrp.c const u8 *end = buffer + buflen; buffer 1151 fs/gfs2/rgrp.c const u8 *buffer = NULL; buffer 1156 fs/gfs2/rgrp.c buffer = bi->bi_bh->b_data + bi->bi_offset; buffer 1159 fs/gfs2/rgrp.c goal = gfs2_bitfit(buffer, bi->bi_bytes, goal, buffer 1735 fs/gfs2/rgrp.c u8 *buffer; buffer 1756 fs/gfs2/rgrp.c buffer = bh->b_data + bi->bi_offset; buffer 1759 fs/gfs2/rgrp.c buffer = bi->bi_clone + bi->bi_offset; buffer 1760 fs/gfs2/rgrp.c offset = gfs2_bitfit(buffer, bi->bi_bytes, rbm->offset, state); buffer 398 fs/gfs2/xattr.c ssize_t gfs2_listxattr(struct dentry *dentry, char *buffer, size_t size) buffer 407 fs/gfs2/xattr.c er.er_data = buffer; buffer 564 fs/gfs2/xattr.c void *buffer, size_t size, int type) buffer 581 fs/gfs2/xattr.c error = gfs2_ea_get_copy(ip, &el, buffer, size); buffer 591 fs/gfs2/xattr.c const char *name, void *buffer, size_t size) buffer 606 fs/gfs2/xattr.c ret = __gfs2_xattr_get(inode, name, buffer, size, handler->flags); buffer 56 fs/gfs2/xattr.h extern ssize_t gfs2_listxattr(struct dentry *dentry, char *buffer, size_t size); buffer 404 fs/hfsplus/xattr.c static int copy_name(char *buffer, const char *xattr_name, int name_len) buffer 410 fs/hfsplus/xattr.c memcpy(buffer, XATTR_MAC_OSX_PREFIX, XATTR_MAC_OSX_PREFIX_LEN); buffer 415 fs/hfsplus/xattr.c strncpy(buffer + offset, xattr_name, name_len); buffer 416 fs/hfsplus/xattr.c memset(buffer + offset + name_len, 0, 1); buffer 608 fs/hfsplus/xattr.c char *buffer, size_t size) buffer 655 fs/hfsplus/xattr.c if (!buffer || !size) { buffer 662 fs/hfsplus/xattr.c res = copy_name(buffer, buffer 675 fs/hfsplus/xattr.c ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size) buffer 691 fs/hfsplus/xattr.c res = hfsplus_listxattr_finder_info(dentry, buffer, size); buffer 745 fs/hfsplus/xattr.c if (!buffer || !size) { buffer 753 fs/hfsplus/xattr.c res += copy_name(buffer + res, buffer 842 fs/hfsplus/xattr.c const char *name, void *buffer, size_t size) buffer 857 fs/hfsplus/xattr.c return __hfsplus_getxattr(inode, name, buffer, size); buffer 862 fs/hfsplus/xattr.c const char *name, const void *buffer, buffer 878 fs/hfsplus/xattr.c return __hfsplus_setxattr(inode, name, buffer, size, flags); buffer 36 fs/hfsplus/xattr.h ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size); buffer 18 fs/hfsplus/xattr_security.c const char *name, void *buffer, size_t size) buffer 20 fs/hfsplus/xattr_security.c return hfsplus_getxattr(inode, name, buffer, size, buffer 27 fs/hfsplus/xattr_security.c const char *name, const void *buffer, buffer 30 fs/hfsplus/xattr_security.c return hfsplus_setxattr(inode, name, buffer, size, flags, buffer 17 fs/hfsplus/xattr_trusted.c const char *name, void *buffer, size_t size) buffer 19 fs/hfsplus/xattr_trusted.c return hfsplus_getxattr(inode, name, buffer, size, buffer 26 fs/hfsplus/xattr_trusted.c const char *name, const void *buffer, buffer 29 fs/hfsplus/xattr_trusted.c return hfsplus_setxattr(inode, name, buffer, size, flags, buffer 17 fs/hfsplus/xattr_user.c const char *name, void *buffer, size_t size) buffer 20 fs/hfsplus/xattr_user.c return hfsplus_getxattr(inode, name, buffer, size, buffer 26 fs/hfsplus/xattr_user.c const char *name, const void *buffer, buffer 29 fs/hfsplus/xattr_user.c return hfsplus_setxattr(inode, name, buffer, size, flags, buffer 405 fs/hostfs/hostfs_kern.c char *buffer; buffer 414 fs/hostfs/hostfs_kern.c buffer = kmap(page); buffer 416 fs/hostfs/hostfs_kern.c err = write_file(HOSTFS_I(inode)->fd, &base, buffer, count); buffer 438 fs/hostfs/hostfs_kern.c char *buffer; buffer 442 fs/hostfs/hostfs_kern.c buffer = kmap(page); buffer 443 fs/hostfs/hostfs_kern.c bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer, buffer 452 fs/hostfs/hostfs_kern.c memset(buffer + bytes_read, 0, PAGE_SIZE - bytes_read); buffer 481 fs/hostfs/hostfs_kern.c void *buffer; buffer 485 fs/hostfs/hostfs_kern.c buffer = kmap(page); buffer 486 fs/hostfs/hostfs_kern.c err = write_file(FILE_HOSTFS_I(file)->fd, &pos, buffer + from, copied); buffer 110 fs/inode.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 114 fs/inode.c return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 28 fs/isofs/rock.c void *buffer; buffer 91 fs/isofs/rock.c kfree(rs->buffer); buffer 92 fs/isofs/rock.c rs->buffer = NULL; buffer 107 fs/isofs/rock.c rs->buffer = kmalloc(rs->cont_size, GFP_KERNEL); buffer 108 fs/isofs/rock.c if (!rs->buffer) { buffer 117 fs/isofs/rock.c memcpy(rs->buffer, bh->b_data + rs->cont_offset, buffer 120 fs/isofs/rock.c rs->chr = rs->buffer; buffer 130 fs/isofs/rock.c kfree(rs->buffer); buffer 131 fs/isofs/rock.c rs->buffer = NULL; buffer 286 fs/isofs/rock.c kfree(rs.buffer); buffer 298 fs/isofs/rock.c kfree(rs.buffer); buffer 596 fs/isofs/rock.c kfree(rs.buffer); buffer 790 fs/isofs/rock.c kfree(rs.buffer); buffer 36 fs/jffs2/readinode.c unsigned char *buffer; buffer 67 fs/jffs2/readinode.c err = mtd_point(c->mtd, ofs, len, &retlen, (void **)&buffer, NULL); buffer 79 fs/jffs2/readinode.c buffer = kmalloc(len, GFP_KERNEL); buffer 80 fs/jffs2/readinode.c if (unlikely(!buffer)) buffer 85 fs/jffs2/readinode.c err = jffs2_flash_read(c, ofs, len, &retlen, buffer); buffer 99 fs/jffs2/readinode.c crc = crc32(tn->partial_crc, buffer, len); buffer 101 fs/jffs2/readinode.c kfree(buffer); buffer 137 fs/jffs2/readinode.c kfree(buffer); buffer 53 fs/jffs2/security.c const char *name, void *buffer, size_t size) buffer 56 fs/jffs2/security.c name, buffer, size); buffer 61 fs/jffs2/security.c const char *name, const void *buffer, buffer 65 fs/jffs2/security.c name, buffer, size, flags); buffer 961 fs/jffs2/xattr.c ssize_t jffs2_listxattr(struct dentry *dentry, char *buffer, size_t size) buffer 1008 fs/jffs2/xattr.c if (buffer) { buffer 1013 fs/jffs2/xattr.c memcpy(buffer, prefix, prefix_len); buffer 1014 fs/jffs2/xattr.c buffer += prefix_len; buffer 1015 fs/jffs2/xattr.c memcpy(buffer, xd->xname, xd->name_len); buffer 1016 fs/jffs2/xattr.c buffer += xd->name_len; buffer 1017 fs/jffs2/xattr.c *buffer++ = 0; buffer 1032 fs/jffs2/xattr.c char *buffer, size_t size) buffer 1073 fs/jffs2/xattr.c if (buffer) { buffer 1077 fs/jffs2/xattr.c memcpy(buffer, xd->xvalue, rc); buffer 1094 fs/jffs2/xattr.c const char *buffer, size_t size, int flags) buffer 1137 fs/jffs2/xattr.c if (!buffer) { buffer 1164 fs/jffs2/xattr.c if (!buffer) { buffer 1169 fs/jffs2/xattr.c xd = create_xattr_datum(c, xprefix, xname, buffer, size); buffer 93 fs/jffs2/xattr.h char *buffer, size_t size); buffer 95 fs/jffs2/xattr.h const char *buffer, size_t size, int flags); buffer 21 fs/jffs2/xattr_trusted.c const char *name, void *buffer, size_t size) buffer 24 fs/jffs2/xattr_trusted.c name, buffer, size); buffer 29 fs/jffs2/xattr_trusted.c const char *name, const void *buffer, buffer 33 fs/jffs2/xattr_trusted.c name, buffer, size, flags); buffer 21 fs/jffs2/xattr_user.c const char *name, void *buffer, size_t size) buffer 24 fs/jffs2/xattr_user.c name, buffer, size); buffer 29 fs/jffs2/xattr_user.c const char *name, const void *buffer, buffer 33 fs/jffs2/xattr_user.c name, buffer, size, flags); buffer 32 fs/jfs/jfs_debug.c const char __user *buffer, size_t count, loff_t *ppos) buffer 36 fs/jfs/jfs_debug.c if (get_user(c, buffer)) buffer 1821 fs/jfs/jfs_logmgr.c char *buffer; buffer 1827 fs/jfs/jfs_logmgr.c buffer = page_address(page); buffer 1838 fs/jfs/jfs_logmgr.c lbuf->l_ldata = buffer + offset; buffer 103 fs/jfs/xattr.c static inline int copy_name(char *buffer, struct jfs_ea *ea) buffer 108 fs/jfs/xattr.c memcpy(buffer, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN); buffer 109 fs/jfs/xattr.c buffer += XATTR_OS2_PREFIX_LEN; buffer 112 fs/jfs/xattr.c memcpy(buffer, ea->name, ea->namelen); buffer 113 fs/jfs/xattr.c buffer[ea->namelen] = 0; buffer 858 fs/jfs/xattr.c char *buffer; buffer 893 fs/jfs/xattr.c buffer = data; buffer 896 fs/jfs/xattr.c int namelen = copy_name(buffer, ea); buffer 897 fs/jfs/xattr.c buffer += namelen + 1; buffer 136 fs/minix/dir.c const char * name, const char * buffer) buffer 138 fs/minix/dir.c if (len < maxlen && buffer[len]) buffer 140 fs/minix/dir.c return !memcmp(name, buffer, len); buffer 4685 fs/namei.c int readlink_copy(char __user *buffer, int buflen, const char *link) buffer 4694 fs/namei.c if (copy_to_user(buffer, link, len)) buffer 4710 fs/namei.c int vfs_readlink(struct dentry *dentry, char __user *buffer, int buflen) buffer 4719 fs/namei.c return inode->i_op->readlink(dentry, buffer, buflen); buffer 4735 fs/namei.c res = readlink_copy(buffer, buflen, link); buffer 4802 fs/namei.c int page_readlink(struct dentry *dentry, char __user *buffer, int buflen) buffer 4805 fs/namei.c int res = readlink_copy(buffer, buflen, buffer 431 fs/nfs/internal.h char *buffer, ssize_t buflen, unsigned flags); buffer 594 fs/nfs/internal.h char *buffer, ssize_t buflen) buffer 597 fs/nfs/internal.h return nfs_path(&dummy, dentry, buffer, buflen, NFS_PATH_CANONICAL); buffer 51 fs/nfs/namespace.c char *nfs_path(char **p, struct dentry *dentry, char *buffer, ssize_t buflen, buffer 60 fs/nfs/namespace.c end = buffer+buflen; buffer 34 fs/nfs/nfs4namespace.c char *buffer, ssize_t buflen) buffer 36 fs/nfs/nfs4namespace.c char *end = buffer + buflen; buffer 84 fs/nfs/nfs4namespace.c static char *nfs4_path(struct dentry *dentry, char *buffer, ssize_t buflen) buffer 87 fs/nfs/nfs4namespace.c char *path = nfs_path(&limit, dentry, buffer, buflen, buffer 143 fs/nfsd/nfs3proc.c nfserr = nfsd_readlink(rqstp, &resp->fh, argp->buffer, &resp->len); buffer 457 fs/nfsd/nfs3proc.c resp->buffer = argp->buffer; buffer 466 fs/nfsd/nfs3proc.c if (((caddr_t)resp->buffer >= page_addr) && buffer 467 fs/nfsd/nfs3proc.c ((caddr_t)resp->buffer < page_addr + PAGE_SIZE)) { buffer 468 fs/nfsd/nfs3proc.c count += (caddr_t)resp->buffer - page_addr; buffer 518 fs/nfsd/nfs3proc.c resp->buffer = argp->buffer; buffer 538 fs/nfsd/nfs3proc.c if (((caddr_t)resp->buffer >= page_addr) && buffer 539 fs/nfsd/nfs3proc.c ((caddr_t)resp->buffer < page_addr + PAGE_SIZE)) { buffer 540 fs/nfsd/nfs3proc.c count += (caddr_t)resp->buffer - page_addr; buffer 556 fs/nfsd/nfs3xdr.c args->buffer = page_address(*(rqstp->rq_next_page++)); buffer 592 fs/nfsd/nfs3xdr.c if (!args->buffer) buffer 593 fs/nfsd/nfs3xdr.c args->buffer = page_address(p); buffer 618 fs/nfsd/nfs3xdr.c if (!args->buffer) buffer 619 fs/nfsd/nfs3xdr.c args->buffer = page_address(p); buffer 919 fs/nfsd/nfs3xdr.c __be32 *p = cd->buffer; buffer 962 fs/nfsd/nfs3xdr.c if (((caddr_t)cd->buffer >= curr_page_addr) && buffer 963 fs/nfsd/nfs3xdr.c ((caddr_t)cd->buffer < curr_page_addr + PAGE_SIZE)) buffer 967 fs/nfsd/nfs3xdr.c if ((caddr_t)(cd->buffer + elen) < (curr_page_addr + PAGE_SIZE)) { buffer 974 fs/nfsd/nfs3xdr.c num_entry_words = p - cd->buffer; buffer 991 fs/nfsd/nfs3xdr.c len1 = curr_page_addr + PAGE_SIZE - (caddr_t)cd->buffer; buffer 1000 fs/nfsd/nfs3xdr.c cd->offset = cd->buffer + (cd->offset - tmp); buffer 1037 fs/nfsd/nfs3xdr.c cd->buffer = p; buffer 159 fs/nfsd/nfsproc.c nfserr = nfsd_readlink(rqstp, &argp->fh, argp->buffer, &resp->len); buffer 544 fs/nfsd/nfsproc.c resp->buffer = argp->buffer; buffer 553 fs/nfsd/nfsproc.c resp->count = resp->buffer - argp->buffer; buffer 350 fs/nfsd/nfsxdr.c args->buffer = page_address(*(rqstp->rq_next_page++)); buffer 418 fs/nfsd/nfsxdr.c args->buffer = page_address(*(rqstp->rq_next_page++)); buffer 494 fs/nfsd/nfsxdr.c p = resp->buffer; buffer 522 fs/nfsd/nfsxdr.c __be32 *p = cd->buffer; buffer 556 fs/nfsd/nfsxdr.c cd->buffer = p; buffer 58 fs/nfsd/xdr.h char * buffer; buffer 82 fs/nfsd/xdr.h __be32 * buffer; buffer 109 fs/nfsd/xdr.h __be32 * buffer; buffer 76 fs/nfsd/xdr3.h char * buffer; buffer 102 fs/nfsd/xdr3.h __be32 * buffer; buffer 186 fs/nfsd/xdr3.h __be32 * buffer; buffer 23 fs/nsfs.c static char *ns_dname(struct dentry *dentry, char *buffer, int buflen) buffer 28 fs/nsfs.c return dynamic_dname(dentry, buffer, buflen, "%s:[%lu]", buffer 82 fs/ocfs2/dlmfs/dlmfs.c static int param_get_dlmfs_capabilities(char *buffer, buffer 85 fs/ocfs2/dlmfs/dlmfs.c return strlcpy(buffer, DLMFS_CAPABILITIES, buffer 245 fs/ocfs2/filecheck.c char buffer[OCFS2_FILECHECK_ARGS_LEN]; buffer 247 fs/ocfs2/filecheck.c memcpy(buffer, buf, count); buffer 248 fs/ocfs2/filecheck.c buffer[count] = '\0'; buffer 250 fs/ocfs2/filecheck.c if (kstrtoul(buffer, 0, val)) buffer 261 fs/ocfs2/xattr.c char *buffer, buffer 882 fs/ocfs2/xattr.c char *buffer, size_t size, buffer 886 fs/ocfs2/xattr.c char *p = buffer + *result; buffer 932 fs/ocfs2/xattr.c char *buffer, size_t buffer_size) buffer 945 fs/ocfs2/xattr.c buffer, buffer_size, buffer 974 fs/ocfs2/xattr.c char *buffer, buffer 988 fs/ocfs2/xattr.c ret = ocfs2_xattr_list_entries(inode, header, buffer, buffer_size); buffer 995 fs/ocfs2/xattr.c char *buffer, buffer 1016 fs/ocfs2/xattr.c buffer, buffer_size); buffer 1019 fs/ocfs2/xattr.c buffer, buffer_size); buffer 1027 fs/ocfs2/xattr.c char *buffer, buffer 1050 fs/ocfs2/xattr.c i_ret = ocfs2_xattr_ibody_list(d_inode(dentry), di, buffer, size); buffer 1054 fs/ocfs2/xattr.c if (buffer) { buffer 1055 fs/ocfs2/xattr.c buffer += i_ret; buffer 1059 fs/ocfs2/xattr.c buffer, size); buffer 1103 fs/ocfs2/xattr.c void *buffer, buffer 1138 fs/ocfs2/xattr.c memcpy(buffer, bh->b_data, cplen); buffer 1140 fs/ocfs2/xattr.c buffer += cplen; buffer 1156 fs/ocfs2/xattr.c void *buffer, buffer 1179 fs/ocfs2/xattr.c if (buffer) { buffer 1183 fs/ocfs2/xattr.c memcpy(buffer, (void *)xs->base + buffer 1192 fs/ocfs2/xattr.c buffer, size); buffer 1206 fs/ocfs2/xattr.c void *buffer, buffer 1236 fs/ocfs2/xattr.c if (buffer) { buffer 1258 fs/ocfs2/xattr.c memcpy(buffer, (void *)xs->base + buffer 1264 fs/ocfs2/xattr.c buffer, size); buffer 1284 fs/ocfs2/xattr.c void *buffer, buffer 1306 fs/ocfs2/xattr.c ret = ocfs2_xattr_ibody_get(inode, name_index, name, buffer, buffer 1309 fs/ocfs2/xattr.c ret = ocfs2_xattr_block_get(inode, name_index, name, buffer, buffer 1323 fs/ocfs2/xattr.c void *buffer, buffer 1337 fs/ocfs2/xattr.c name, buffer, buffer_size); buffer 4021 fs/ocfs2/xattr.c char *buffer; buffer 4069 fs/ocfs2/xattr.c xl->buffer, buffer 4132 fs/ocfs2/xattr.c char *buffer, buffer 4137 fs/ocfs2/xattr.c .buffer = buffer, buffer 7245 fs/ocfs2/xattr.c const char *name, void *buffer, size_t size) buffer 7248 fs/ocfs2/xattr.c name, buffer, size); buffer 7317 fs/ocfs2/xattr.c const char *name, void *buffer, size_t size) buffer 7320 fs/ocfs2/xattr.c name, buffer, size); buffer 7343 fs/ocfs2/xattr.c const char *name, void *buffer, size_t size) buffer 7350 fs/ocfs2/xattr.c buffer, size); buffer 85 fs/orangefs/downcall.h char buffer[PERF_COUNT_BUF_SIZE]; buffer 378 fs/orangefs/orangefs-kernel.h ssize_t orangefs_listxattr(struct dentry *dentry, char *buffer, size_t size); buffer 412 fs/orangefs/orangefs-kernel.h void *buffer, buffer 514 fs/orangefs/orangefs-sysfs.c new_op->downcall.resp.perf_count.buffer); buffer 94 fs/orangefs/xattr.c void *buffer, size_t size) buffer 141 fs/orangefs/xattr.c memcpy(buffer, cx->val, cx->length); buffer 142 fs/orangefs/xattr.c memset(buffer + cx->length, 0, size - cx->length); buffer 206 fs/orangefs/xattr.c memcpy(buffer, new_op->downcall.resp.getxattr.val, length); buffer 207 fs/orangefs/xattr.c memset(buffer + length, 0, size - length); buffer 222 fs/orangefs/xattr.c memcpy(cx->val, buffer, length); buffer 229 fs/orangefs/xattr.c memcpy(cx->val, buffer, length); buffer 406 fs/orangefs/xattr.c ssize_t orangefs_listxattr(struct dentry *dentry, char *buffer, size_t size) buffer 419 fs/orangefs/xattr.c if (size > 0 && !buffer) { buffer 429 fs/orangefs/xattr.c if (buffer && size > 0) buffer 430 fs/orangefs/xattr.c memset(buffer, 0, size); buffer 492 fs/orangefs/xattr.c memcpy(buffer + total, buffer 532 fs/orangefs/xattr.c const void *buffer, buffer 536 fs/orangefs/xattr.c return orangefs_inode_setxattr(inode, name, buffer, size, flags); buffer 543 fs/orangefs/xattr.c void *buffer, buffer 546 fs/orangefs/xattr.c return orangefs_inode_getxattr(inode, name, buffer, size); buffer 407 fs/overlayfs/dir.c void *buffer; buffer 415 fs/overlayfs/dir.c buffer = kmalloc(size, GFP_KERNEL); buffer 416 fs/overlayfs/dir.c if (!buffer) buffer 419 fs/overlayfs/dir.c err = posix_acl_to_xattr(&init_user_ns, acl, buffer, size); buffer 423 fs/overlayfs/dir.c err = vfs_setxattr(upperdentry, name, buffer, size, XATTR_CREATE); buffer 425 fs/overlayfs/dir.c kfree(buffer); buffer 858 fs/overlayfs/super.c const char *name, void *buffer, size_t size) buffer 860 fs/overlayfs/super.c return ovl_xattr_get(dentry, inode, handler->name, buffer, size); buffer 923 fs/overlayfs/super.c const char *name, void *buffer, size_t size) buffer 938 fs/overlayfs/super.c const char *name, void *buffer, size_t size) buffer 940 fs/overlayfs/super.c return ovl_xattr_get(dentry, inode, name, buffer, size); buffer 718 fs/pipe.c static char *pipefs_dname(struct dentry *dentry, char *buffer, int buflen) buffer 720 fs/pipe.c return dynamic_dname(dentry, buffer, buflen, "pipe:[%lu]", buffer 795 fs/posix_acl.c void *buffer, size_t size) buffer 797 fs/posix_acl.c struct posix_acl_xattr_header *ext_acl = buffer; buffer 802 fs/posix_acl.c if (!buffer) buffer 1021 fs/proc/base.c char buffer[PROC_NUMBUF]; buffer 1033 fs/proc/base.c len = snprintf(buffer, sizeof(buffer), "%d\n", oom_adj); buffer 1034 fs/proc/base.c return simple_read_from_buffer(buf, count, ppos, buffer, len); buffer 1134 fs/proc/base.c char buffer[PROC_NUMBUF]; buffer 1138 fs/proc/base.c memset(buffer, 0, sizeof(buffer)); buffer 1139 fs/proc/base.c if (count > sizeof(buffer) - 1) buffer 1140 fs/proc/base.c count = sizeof(buffer) - 1; buffer 1141 fs/proc/base.c if (copy_from_user(buffer, buf, count)) { buffer 1146 fs/proc/base.c err = kstrtoint(strstrip(buffer), 0, &oom_adj); buffer 1179 fs/proc/base.c char buffer[PROC_NUMBUF]; buffer 1187 fs/proc/base.c len = snprintf(buffer, sizeof(buffer), "%hd\n", oom_score_adj); buffer 1188 fs/proc/base.c return simple_read_from_buffer(buf, count, ppos, buffer, len); buffer 1194 fs/proc/base.c char buffer[PROC_NUMBUF]; buffer 1198 fs/proc/base.c memset(buffer, 0, sizeof(buffer)); buffer 1199 fs/proc/base.c if (count > sizeof(buffer) - 1) buffer 1200 fs/proc/base.c count = sizeof(buffer) - 1; buffer 1201 fs/proc/base.c if (copy_from_user(buffer, buf, count)) { buffer 1206 fs/proc/base.c err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); buffer 1317 fs/proc/base.c char buffer[PROC_NUMBUF]; buffer 1326 fs/proc/base.c len = snprintf(buffer, sizeof(buffer), "%i\n", make_it_fail); buffer 1328 fs/proc/base.c return simple_read_from_buffer(buf, count, ppos, buffer, len); buffer 1335 fs/proc/base.c char buffer[PROC_NUMBUF]; buffer 1341 fs/proc/base.c memset(buffer, 0, sizeof(buffer)); buffer 1342 fs/proc/base.c if (count > sizeof(buffer) - 1) buffer 1343 fs/proc/base.c count = sizeof(buffer) - 1; buffer 1344 fs/proc/base.c if (copy_from_user(buffer, buf, count)) buffer 1346 fs/proc/base.c rv = kstrtoint(strstrip(buffer), 0, &make_it_fail); buffer 1486 fs/proc/base.c char buffer[PROC_NUMBUF]; buffer 1490 fs/proc/base.c memset(buffer, 0, sizeof(buffer)); buffer 1491 fs/proc/base.c if (count > sizeof(buffer) - 1) buffer 1492 fs/proc/base.c count = sizeof(buffer) - 1; buffer 1493 fs/proc/base.c if (copy_from_user(buffer, buf, count)) buffer 1496 fs/proc/base.c err = kstrtoint(strstrip(buffer), 0, &nice); buffer 1541 fs/proc/base.c char buffer[TASK_COMM_LEN]; buffer 1542 fs/proc/base.c const size_t maxlen = sizeof(buffer) - 1; buffer 1544 fs/proc/base.c memset(buffer, 0, sizeof(buffer)); buffer 1545 fs/proc/base.c if (copy_from_user(buffer, buf, count > maxlen ? maxlen : count)) buffer 1553 fs/proc/base.c set_task_comm(p, buffer); buffer 1635 fs/proc/base.c static int do_proc_readlink(struct path *path, char __user *buffer, int buflen) buffer 1652 fs/proc/base.c if (copy_to_user(buffer, pathname, len)) buffer 1659 fs/proc/base.c static int proc_pid_readlink(struct dentry * dentry, char __user * buffer, int buflen) buffer 1673 fs/proc/base.c error = do_proc_readlink(&path, buffer, buflen); buffer 2695 fs/proc/base.c char buffer[PROC_NUMBUF]; buffer 2705 fs/proc/base.c len = snprintf(buffer, sizeof(buffer), "%08lx\n", buffer 2709 fs/proc/base.c ret = simple_read_from_buffer(buf, count, ppos, buffer, len); buffer 314 fs/proc/kcore.c read_kcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos) buffer 356 fs/proc/kcore.c if (copy_to_user(buffer, (char *)&ehdr + *fpos, tsz)) { buffer 361 fs/proc/kcore.c buffer += tsz; buffer 401 fs/proc/kcore.c if (copy_to_user(buffer, (char *)phdrs + *fpos - phdrs_offset, buffer 409 fs/proc/kcore.c buffer += tsz; buffer 451 fs/proc/kcore.c if (copy_to_user(buffer, notes + *fpos - notes_offset, tsz)) { buffer 458 fs/proc/kcore.c buffer += tsz; buffer 486 fs/proc/kcore.c if (clear_user(buffer, tsz)) { buffer 492 fs/proc/kcore.c if (clear_user(buffer, tsz)) { buffer 499 fs/proc/kcore.c if (copy_to_user(buffer, buf, tsz)) { buffer 505 fs/proc/kcore.c if (copy_to_user(buffer, (char *)start, tsz)) { buffer 516 fs/proc/kcore.c if (clear_user(buffer, tsz)) { buffer 521 fs/proc/kcore.c if (copy_to_user(buffer, buf, tsz)) { buffer 527 fs/proc/kcore.c if (clear_user(buffer, tsz)) { buffer 535 fs/proc/kcore.c buffer += tsz; buffer 63 fs/proc/namespaces.c static int proc_ns_readlink(struct dentry *dentry, char __user *buffer, int buflen) buffer 78 fs/proc/namespaces.c res = readlink_copy(buffer, buflen, name); buffer 1138 fs/proc/task_mmu.c char buffer[PROC_NUMBUF]; buffer 1146 fs/proc/task_mmu.c memset(buffer, 0, sizeof(buffer)); buffer 1147 fs/proc/task_mmu.c if (count > sizeof(buffer) - 1) buffer 1148 fs/proc/task_mmu.c count = sizeof(buffer) - 1; buffer 1149 fs/proc/task_mmu.c if (copy_from_user(buffer, buf, count)) buffer 1151 fs/proc/task_mmu.c rv = kstrtoint(strstrip(buffer), 10, &itype); buffer 1252 fs/proc/task_mmu.c pagemap_entry_t *buffer; buffer 1278 fs/proc/task_mmu.c pm->buffer[pm->pos++] = *pme; buffer 1563 fs/proc/task_mmu.c pm.buffer = kmalloc_array(pm.len, PM_ENTRY_BYTES, GFP_KERNEL); buffer 1565 fs/proc/task_mmu.c if (!pm.buffer) buffer 1601 fs/proc/task_mmu.c if (copy_to_user(buf, pm.buffer, len)) { buffer 1614 fs/proc/task_mmu.c kfree(pm.buffer); buffer 1825 fs/proc/task_mmu.c char buffer[64]; buffer 1836 fs/proc/task_mmu.c mpol_to_str(buffer, sizeof(buffer), pol); buffer 1839 fs/proc/task_mmu.c mpol_to_str(buffer, sizeof(buffer), proc_priv->task_mempolicy); buffer 1842 fs/proc/task_mmu.c seq_printf(m, "%08lx %s", vma->vm_start, buffer); buffer 296 fs/proc/vmcore.c static ssize_t __read_vmcore(char *buffer, size_t buflen, loff_t *fpos, buffer 314 fs/proc/vmcore.c if (copy_to(buffer, elfcorebuf + *fpos, tsz, userbuf)) buffer 318 fs/proc/vmcore.c buffer += tsz; buffer 345 fs/proc/vmcore.c if (vmcoredd_copy_dumps(buffer, start, tsz, userbuf)) buffer 350 fs/proc/vmcore.c buffer += tsz; buffer 362 fs/proc/vmcore.c if (copy_to(buffer, kaddr, tsz, userbuf)) buffer 367 fs/proc/vmcore.c buffer += tsz; buffer 381 fs/proc/vmcore.c tmp = read_from_oldmem(buffer, tsz, &start, buffer 387 fs/proc/vmcore.c buffer += tsz; buffer 399 fs/proc/vmcore.c static ssize_t read_vmcore(struct file *file, char __user *buffer, buffer 402 fs/proc/vmcore.c return __read_vmcore((__force char *) buffer, buflen, fpos, 1); buffer 138 fs/pstore/ram.c static int ramoops_read_kmsg_hdr(char *buffer, struct timespec64 *time, buffer 144 fs/pstore/ram.c if (sscanf(buffer, RAMOOPS_KERNMSG_HDR "%lld.%lu-%c\n%n", buffer 152 fs/pstore/ram.c } else if (sscanf(buffer, RAMOOPS_KERNMSG_HDR "%lld.%lu\n%n", buffer 44 fs/pstore/ram_core.c return atomic_read(&prz->buffer->size); buffer 49 fs/pstore/ram_core.c return atomic_read(&prz->buffer->start); buffer 62 fs/pstore/ram_core.c old = atomic_read(&prz->buffer->start); buffer 66 fs/pstore/ram_core.c atomic_set(&prz->buffer->start, new); buffer 84 fs/pstore/ram_core.c old = atomic_read(&prz->buffer->size); buffer 91 fs/pstore/ram_core.c atomic_set(&prz->buffer->size, new); buffer 125 fs/pstore/ram_core.c struct persistent_ram_buffer *buffer = prz->buffer; buffer 126 fs/pstore/ram_core.c uint8_t *buffer_end = buffer->data + prz->buffer_size; buffer 136 fs/pstore/ram_core.c block = buffer->data + (start & ~(ecc_block_size - 1)); buffer 145 fs/pstore/ram_core.c } while (block < buffer->data + start + count); buffer 150 fs/pstore/ram_core.c struct persistent_ram_buffer *buffer = prz->buffer; buffer 155 fs/pstore/ram_core.c persistent_ram_encode_rs8(prz, (uint8_t *)buffer, sizeof(*buffer), buffer 161 fs/pstore/ram_core.c struct persistent_ram_buffer *buffer = prz->buffer; buffer 168 fs/pstore/ram_core.c block = buffer->data; buffer 170 fs/pstore/ram_core.c while (block < buffer->data + buffer_size(prz)) { buffer 173 fs/pstore/ram_core.c if (block + size > buffer->data + prz->buffer_size) buffer 174 fs/pstore/ram_core.c size = buffer->data + prz->buffer_size - block; buffer 192 fs/pstore/ram_core.c struct persistent_ram_buffer *buffer = prz->buffer; buffer 216 fs/pstore/ram_core.c prz->par_buffer = buffer->data + prz->buffer_size; buffer 243 fs/pstore/ram_core.c numerr = persistent_ram_decode_rs8(prz, buffer, sizeof(*buffer), buffer 277 fs/pstore/ram_core.c struct persistent_ram_buffer *buffer = prz->buffer; buffer 278 fs/pstore/ram_core.c memcpy_toio(buffer->data + start, s, count); buffer 285 fs/pstore/ram_core.c struct persistent_ram_buffer *buffer = prz->buffer; buffer 286 fs/pstore/ram_core.c int ret = unlikely(__copy_from_user(buffer->data + start, s, count)) ? buffer 294 fs/pstore/ram_core.c struct persistent_ram_buffer *buffer = prz->buffer; buffer 311 fs/pstore/ram_core.c memcpy_fromio(prz->old_log, &buffer->data[start], size - start); buffer 312 fs/pstore/ram_core.c memcpy_fromio(prz->old_log + size - start, &buffer->data[0], start); buffer 396 fs/pstore/ram_core.c atomic_set(&prz->buffer->start, 0); buffer 397 fs/pstore/ram_core.c atomic_set(&prz->buffer->size, 0); buffer 484 fs/pstore/ram_core.c prz->buffer = prz->vaddr; buffer 504 fs/pstore/ram_core.c if (prz->buffer->sig == sig) { buffer 522 fs/pstore/ram_core.c prz->buffer->sig); buffer 523 fs/pstore/ram_core.c prz->buffer->sig = sig; buffer 589 fs/pstore/ram_core.c sizeof(*prz->buffer), prz->buffer_size, buffer 590 fs/pstore/ram_core.c prz->size - sizeof(*prz->buffer) - prz->buffer_size, buffer 2863 fs/quota/dquot.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2875 fs/quota/dquot.c return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 449 fs/reiserfs/namei.c char *buffer; buffer 470 fs/reiserfs/namei.c buffer = kmalloc(buflen, GFP_NOFS); buffer 471 fs/reiserfs/namei.c if (!buffer) buffer 474 fs/reiserfs/namei.c buffer = small_buf; buffer 484 fs/reiserfs/namei.c deh = (struct reiserfs_de_head *)buffer; buffer 512 fs/reiserfs/namei.c if (buffer != small_buf) buffer 513 fs/reiserfs/namei.c kfree(buffer); buffer 537 fs/reiserfs/namei.c if (buffer != small_buf) buffer 538 fs/reiserfs/namei.c kfree(buffer); buffer 557 fs/reiserfs/namei.c if (buffer != small_buf) buffer 558 fs/reiserfs/namei.c kfree(buffer); buffer 566 fs/reiserfs/namei.c reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer, buffer 568 fs/reiserfs/namei.c if (buffer != small_buf) buffer 569 fs/reiserfs/namei.c kfree(buffer); buffer 521 fs/reiserfs/xattr.c const void *buffer, size_t buffer_size, int flags) buffer 535 fs/reiserfs/xattr.c if (!buffer) { buffer 546 fs/reiserfs/xattr.c xahash = xattr_hash(buffer, buffer_size); buffer 580 fs/reiserfs/xattr.c if (buffer) buffer 581 fs/reiserfs/xattr.c memcpy(data + skip, buffer + buffer_pos, chunk); buffer 592 fs/reiserfs/xattr.c if (err || buffer_size == 0 || !buffer) buffer 619 fs/reiserfs/xattr.c const void *buffer, size_t buffer_size, int flags) buffer 641 fs/reiserfs/xattr.c buffer, buffer_size, flags); buffer 656 fs/reiserfs/xattr.c reiserfs_xattr_get(struct inode *inode, const char *name, void *buffer, buffer 688 fs/reiserfs/xattr.c if (buffer == NULL) { buffer 734 fs/reiserfs/xattr.c memcpy(buffer + buffer_pos, data + skip, chunk); buffer 743 fs/reiserfs/xattr.c if (xattr_hash(buffer, isize - sizeof(struct reiserfs_xattr_header)) != buffer 838 fs/reiserfs/xattr.c ssize_t reiserfs_listxattr(struct dentry * dentry, char *buffer, size_t size) buffer 845 fs/reiserfs/xattr.c .buf = buffer, buffer 846 fs/reiserfs/xattr.c .size = buffer ? size : 0, buffer 23 fs/reiserfs/xattr.h ssize_t reiserfs_listxattr(struct dentry *dentry, char *buffer, size_t size); buffer 14 fs/reiserfs/xattr_security.c struct inode *inode, const char *name, void *buffer, size_t size) buffer 20 fs/reiserfs/xattr_security.c buffer, size); buffer 25 fs/reiserfs/xattr_security.c struct inode *inode, const char *name, const void *buffer, buffer 33 fs/reiserfs/xattr_security.c buffer, size, flags); buffer 13 fs/reiserfs/xattr_trusted.c struct inode *inode, const char *name, void *buffer, size_t size) buffer 19 fs/reiserfs/xattr_trusted.c buffer, size); buffer 24 fs/reiserfs/xattr_trusted.c struct inode *inode, const char *name, const void *buffer, buffer 32 fs/reiserfs/xattr_trusted.c buffer, size, flags); buffer 12 fs/reiserfs/xattr_user.c struct inode *inode, const char *name, void *buffer, size_t size) buffer 17 fs/reiserfs/xattr_user.c buffer, size); buffer 22 fs/reiserfs/xattr_user.c struct inode *inode, const char *name, const void *buffer, buffer 29 fs/reiserfs/xattr_user.c buffer, size, flags); buffer 863 fs/seq_file.c char *buffer; buffer 886 fs/seq_file.c size = seq_get_buf(m, &buffer); buffer 888 fs/seq_file.c buffer, size, ascii); buffer 293 fs/squashfs/cache.c int squashfs_copy_data(void *buffer, struct squashfs_cache_entry *entry, buffer 300 fs/squashfs/cache.c else if (buffer == NULL) buffer 310 fs/squashfs/cache.c memcpy(buffer, buff, remaining); buffer 315 fs/squashfs/cache.c memcpy(buffer, buff, bytes); buffer 316 fs/squashfs/cache.c buffer += bytes; buffer 331 fs/squashfs/cache.c int squashfs_read_metadata(struct super_block *sb, void *buffer, buffer 353 fs/squashfs/cache.c bytes = squashfs_copy_data(buffer, entry, *offset, length); buffer 354 fs/squashfs/cache.c if (buffer) buffer 355 fs/squashfs/cache.c buffer += bytes; buffer 410 fs/squashfs/cache.c void *table, *buffer, **data; buffer 413 fs/squashfs/cache.c table = buffer = kmalloc(length, GFP_KERNEL); buffer 429 fs/squashfs/cache.c for (i = 0; i < pages; i++, buffer += PAGE_SIZE) buffer 430 fs/squashfs/cache.c data[i] = buffer; buffer 91 fs/squashfs/decompressor.c void *buffer = NULL, *comp_opts; buffer 99 fs/squashfs/decompressor.c buffer = kmalloc(PAGE_SIZE, GFP_KERNEL); buffer 100 fs/squashfs/decompressor.c if (buffer == NULL) { buffer 105 fs/squashfs/decompressor.c actor = squashfs_page_actor_init(&buffer, 1, 0); buffer 120 fs/squashfs/decompressor.c comp_opts = squashfs_comp_opts(msblk, buffer, length); buffer 124 fs/squashfs/decompressor.c kfree(buffer); buffer 364 fs/squashfs/file.c void squashfs_fill_page(struct page *page, struct squashfs_cache_entry *buffer, int offset, int avail) buffer 370 fs/squashfs/file.c copied = squashfs_copy_data(pageaddr, buffer, offset, avail); buffer 382 fs/squashfs/file.c void squashfs_copy_cache(struct page *page, struct squashfs_cache_entry *buffer, buffer 399 fs/squashfs/file.c int avail = buffer ? min_t(int, bytes, PAGE_SIZE) : 0; buffer 412 fs/squashfs/file.c squashfs_fill_page(push_page, buffer, offset, avail); buffer 424 fs/squashfs/file.c struct squashfs_cache_entry *buffer = squashfs_get_fragment(inode->i_sb, buffer 427 fs/squashfs/file.c int res = buffer->error; buffer 434 fs/squashfs/file.c squashfs_copy_cache(page, buffer, expected, buffer 437 fs/squashfs/file.c squashfs_cache_put(buffer); buffer 24 fs/squashfs/file_cache.c struct squashfs_cache_entry *buffer = squashfs_get_datablock(i->i_sb, buffer 26 fs/squashfs/file_cache.c int res = buffer->error; buffer 32 fs/squashfs/file_cache.c squashfs_copy_cache(page, buffer, expected, 0); buffer 34 fs/squashfs/file_cache.c squashfs_cache_put(buffer); buffer 148 fs/squashfs/file_direct.c struct squashfs_cache_entry *buffer = squashfs_get_datablock(i->i_sb, buffer 150 fs/squashfs/file_direct.c int res = buffer->error, n, offset = 0; buffer 165 fs/squashfs/file_direct.c squashfs_fill_page(page[n], buffer, offset, avail); buffer 172 fs/squashfs/file_direct.c squashfs_cache_put(buffer); buffer 25 fs/squashfs/page_actor.c return actor->buffer[0]; buffer 33 fs/squashfs/page_actor.c return actor->buffer[actor->next_page++]; buffer 41 fs/squashfs/page_actor.c struct squashfs_page_actor *squashfs_page_actor_init(void **buffer, buffer 50 fs/squashfs/page_actor.c actor->buffer = buffer; buffer 51 fs/squashfs/page_actor.h void **buffer; buffer 26 fs/squashfs/xattr.c ssize_t squashfs_listxattr(struct dentry *d, char *buffer, buffer 61 fs/squashfs/xattr.c if (buffer) { buffer 66 fs/squashfs/xattr.c memcpy(buffer, prefix, prefix_size); buffer 67 fs/squashfs/xattr.c buffer += prefix_size; buffer 69 fs/squashfs/xattr.c err = squashfs_read_metadata(sb, buffer, &start, buffer 73 fs/squashfs/xattr.c if (buffer) { buffer 74 fs/squashfs/xattr.c buffer[name_size] = '\0'; buffer 75 fs/squashfs/xattr.c buffer += name_size + 1; buffer 106 fs/squashfs/xattr.c const char *name, void *buffer, size_t buffer_size) buffer 172 fs/squashfs/xattr.c if (buffer) { buffer 177 fs/squashfs/xattr.c err = squashfs_read_metadata(sb, buffer, &start, buffer 207 fs/squashfs/xattr.c void *buffer, size_t size) buffer 210 fs/squashfs/xattr.c buffer, size); buffer 527 fs/stat.c cp_statx(const struct kstat *stat, struct statx __user *buffer) buffer 557 fs/stat.c return copy_to_user(buffer, &tmp, sizeof(tmp)) ? -EFAULT : 0; buffer 574 fs/stat.c struct statx __user *, buffer) buffer 588 fs/stat.c return cp_statx(&stat, buffer); buffer 112 fs/sysv/dir.c const char * name, const char * buffer) buffer 114 fs/sysv/dir.c if (len < maxlen && buffer[len]) buffer 116 fs/sysv/dir.c return !memcmp(name, buffer, len); buffer 91 fs/ubifs/debug.c const union ubifs_key *key, char *buffer, int len) buffer 93 fs/ubifs/debug.c char *p = buffer; buffer 243 fs/ubifs/debug.h const union ubifs_key *key, char *buffer, int len); buffer 2003 fs/ubifs/ubifs.h ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size); buffer 396 fs/ubifs/xattr.c ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size) buffer 410 fs/ubifs/xattr.c if (!buffer) buffer 432 fs/ubifs/xattr.c memcpy(buffer + written, fname_name(&nm), fname_len(&nm) + 1); buffer 672 fs/ubifs/xattr.c const char *name, void *buffer, size_t size) buffer 678 fs/ubifs/xattr.c return ubifs_xattr_get(inode, name, buffer, size); buffer 158 fs/udf/directory.c struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize, int *offset) buffer 165 fs/udf/directory.c if ((!buffer) || (!offset)) { buffer 167 fs/udf/directory.c buffer, offset); buffer 171 fs/udf/directory.c ptr = buffer; buffer 248 fs/udf/udfdecl.h extern struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize, buffer 236 fs/xattr.c void *buffer = NULL; buffer 240 fs/xattr.c len = security_inode_getsecurity(inode, name, &buffer, false); buffer 244 fs/xattr.c len = security_inode_getsecurity(inode, name, &buffer, true); buffer 251 fs/xattr.c memcpy(value, buffer, len); buffer 253 fs/xattr.c kfree(buffer); buffer 750 fs/xattr.c generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) buffer 755 fs/xattr.c if (!buffer) { buffer 763 fs/xattr.c char *buf = buffer; buffer 777 fs/xattr.c size = buf - buffer; buffer 833 fs/xattr.c void *buffer, size_t size) buffer 844 fs/xattr.c if (buffer) { buffer 848 fs/xattr.c memcpy(buffer, xattr->value, xattr->size); buffer 926 fs/xattr.c static int xattr_list_one(char **buffer, ssize_t *remaining_size, buffer 930 fs/xattr.c if (*buffer) { buffer 933 fs/xattr.c memcpy(*buffer, name, len); buffer 934 fs/xattr.c *buffer += len; buffer 944 fs/xattr.c char *buffer, size_t size) buffer 954 fs/xattr.c err = xattr_list_one(&buffer, &remaining_size, buffer 960 fs/xattr.c err = xattr_list_one(&buffer, &remaining_size, buffer 974 fs/xattr.c err = xattr_list_one(&buffer, &remaining_size, xattr->name); buffer 89 fs/xfs/libxfs/xfs_attr.h #define ATTR_ENTRY(buffer, index) \ buffer 91 fs/xfs/libxfs/xfs_attr.h &((char *)buffer)[ ((attrlist_t *)(buffer))->al_offset[index] ]) buffer 157 fs/xfs/libxfs/xfs_attr.h int xfs_attr_list(struct xfs_inode *dp, char *buffer, int bufsize, buffer 14 fs/xfs/libxfs/xfs_cksum.h xfs_start_cksum_safe(char *buffer, size_t length, unsigned long cksum_offset) buffer 20 fs/xfs/libxfs/xfs_cksum.h crc = crc32c(XFS_CRC_SEED, buffer, cksum_offset); buffer 26 fs/xfs/libxfs/xfs_cksum.h return crc32c(crc, &buffer[cksum_offset + sizeof(__be32)], buffer 35 fs/xfs/libxfs/xfs_cksum.h xfs_start_cksum_update(char *buffer, size_t length, unsigned long cksum_offset) buffer 38 fs/xfs/libxfs/xfs_cksum.h *(__le32 *)(buffer + cksum_offset) = 0; buffer 41 fs/xfs/libxfs/xfs_cksum.h return crc32c(XFS_CRC_SEED, buffer, length); buffer 64 fs/xfs/libxfs/xfs_cksum.h xfs_update_cksum(char *buffer, size_t length, unsigned long cksum_offset) buffer 66 fs/xfs/libxfs/xfs_cksum.h uint32_t crc = xfs_start_cksum_update(buffer, length, cksum_offset); buffer 68 fs/xfs/libxfs/xfs_cksum.h *(__le32 *)(buffer + cksum_offset) = xfs_end_cksum(crc); buffer 75 fs/xfs/libxfs/xfs_cksum.h xfs_verify_cksum(char *buffer, size_t length, unsigned long cksum_offset) buffer 77 fs/xfs/libxfs/xfs_cksum.h uint32_t crc = xfs_start_cksum_safe(buffer, length, cksum_offset); buffer 79 fs/xfs/libxfs/xfs_cksum.h return *(__le32 *)(buffer + cksum_offset) == xfs_end_cksum(crc); buffer 580 fs/xfs/libxfs/xfs_fs.h void __user *buffer; /* returned names */ buffer 600 fs/xfs/xfs_attr_list.c char *buffer, buffer 625 fs/xfs/xfs_attr_list.c if (((long)buffer) & (sizeof(int)-1)) buffer 638 fs/xfs/xfs_attr_list.c context.alist = buffer; buffer 414 fs/xfs/xfs_ioctl.c if (copy_to_user(al_hreq.buffer, kbuf, al_hreq.buflen)) buffer 178 fs/xfs/xfs_ioctl32.c struct xfs_bstat *buffer = &bs1; buffer 182 fs/xfs/xfs_ioctl32.c if (put_user(buffer->bs_ino, &p32->bs_ino) || buffer 183 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_mode, &p32->bs_mode) || buffer 184 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_nlink, &p32->bs_nlink) || buffer 185 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_uid, &p32->bs_uid) || buffer 186 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_gid, &p32->bs_gid) || buffer 187 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_rdev, &p32->bs_rdev) || buffer 188 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_blksize, &p32->bs_blksize) || buffer 189 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_size, &p32->bs_size) || buffer 190 fs/xfs/xfs_ioctl32.c xfs_bstime_store_compat(&p32->bs_atime, &buffer->bs_atime) || buffer 191 fs/xfs/xfs_ioctl32.c xfs_bstime_store_compat(&p32->bs_mtime, &buffer->bs_mtime) || buffer 192 fs/xfs/xfs_ioctl32.c xfs_bstime_store_compat(&p32->bs_ctime, &buffer->bs_ctime) || buffer 193 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_blocks, &p32->bs_blocks) || buffer 194 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_xflags, &p32->bs_xflags) || buffer 195 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_extsize, &p32->bs_extsize) || buffer 196 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_extents, &p32->bs_extents) || buffer 197 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_gen, &p32->bs_gen) || buffer 198 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_projid, &p32->bs_projid) || buffer 199 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_projid_hi, &p32->bs_projid_hi) || buffer 200 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_forkoff, &p32->bs_forkoff) || buffer 201 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_dmevmask, &p32->bs_dmevmask) || buffer 202 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_dmstate, &p32->bs_dmstate) || buffer 203 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_aextents, &p32->bs_aextents)) buffer 399 fs/xfs/xfs_ioctl32.c if (copy_to_user(compat_ptr(al_hreq.buffer), kbuf, al_hreq.buflen)) buffer 119 fs/xfs/xfs_ioctl32.h compat_uptr_t buffer; /* returned names */ buffer 328 fs/xfs/xfs_log_recover.c char *buffer, buffer 342 fs/xfs/xfs_log_recover.c error = xlog_bread(log, mid_blk, 1, buffer, &offset); buffer 378 fs/xfs/xfs_log_recover.c char *buffer; buffer 392 fs/xfs/xfs_log_recover.c while (!(buffer = xlog_alloc_buffer(log, bufblks))) { buffer 403 fs/xfs/xfs_log_recover.c error = xlog_bread(log, i, bcount, buffer, &buf); buffer 421 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 445 fs/xfs/xfs_log_recover.c char *buffer; buffer 455 fs/xfs/xfs_log_recover.c buffer = xlog_alloc_buffer(log, num_blks); buffer 456 fs/xfs/xfs_log_recover.c if (!buffer) { buffer 457 fs/xfs/xfs_log_recover.c buffer = xlog_alloc_buffer(log, 1); buffer 458 fs/xfs/xfs_log_recover.c if (!buffer) buffer 462 fs/xfs/xfs_log_recover.c error = xlog_bread(log, start_blk, num_blks, buffer, &offset); buffer 479 fs/xfs/xfs_log_recover.c error = xlog_bread(log, i, 1, buffer, &offset); buffer 532 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 554 fs/xfs/xfs_log_recover.c char *buffer; buffer 584 fs/xfs/xfs_log_recover.c buffer = xlog_alloc_buffer(log, 1); buffer 585 fs/xfs/xfs_log_recover.c if (!buffer) buffer 588 fs/xfs/xfs_log_recover.c error = xlog_bread(log, 0, 1, buffer, &offset); buffer 595 fs/xfs/xfs_log_recover.c error = xlog_bread(log, last_blk, 1, buffer, &offset); buffer 665 fs/xfs/xfs_log_recover.c error = xlog_find_cycle_start(log, buffer, first_blk, &head_blk, buffer 786 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 800 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 820 fs/xfs/xfs_log_recover.c char *buffer, buffer 839 fs/xfs/xfs_log_recover.c error = xlog_bread(log, i, 1, buffer, &offset); buffer 858 fs/xfs/xfs_log_recover.c error = xlog_bread(log, i, 1, buffer, &offset); buffer 894 fs/xfs/xfs_log_recover.c char *buffer, buffer 913 fs/xfs/xfs_log_recover.c error = xlog_bread(log, i, 1, buffer, &offset); buffer 931 fs/xfs/xfs_log_recover.c error = xlog_bread(log, i, 1, buffer, &offset); buffer 994 fs/xfs/xfs_log_recover.c char *buffer; buffer 1001 fs/xfs/xfs_log_recover.c buffer = xlog_alloc_buffer(log, 1); buffer 1002 fs/xfs/xfs_log_recover.c if (!buffer) buffer 1009 fs/xfs/xfs_log_recover.c error = xlog_seek_logrec_hdr(log, head_blk, *tail_blk, 1, buffer, buffer 1039 fs/xfs/xfs_log_recover.c buffer, &tmp_tail, &thead, &wrapped); buffer 1054 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 1076 fs/xfs/xfs_log_recover.c char *buffer, buffer 1131 fs/xfs/xfs_log_recover.c buffer, rhead_blk, rhead, wrapped); buffer 1191 fs/xfs/xfs_log_recover.c char *buffer, buffer 1234 fs/xfs/xfs_log_recover.c error = xlog_bread(log, umount_data_blk, 1, buffer, &offset); buffer 1313 fs/xfs/xfs_log_recover.c char *buffer; buffer 1327 fs/xfs/xfs_log_recover.c buffer = xlog_alloc_buffer(log, 1); buffer 1328 fs/xfs/xfs_log_recover.c if (!buffer) buffer 1331 fs/xfs/xfs_log_recover.c error = xlog_bread(log, 0, 1, buffer, &offset); buffer 1347 fs/xfs/xfs_log_recover.c error = xlog_rseek_logrec_hdr(log, *head_blk, *head_blk, 1, buffer, buffer 1368 fs/xfs/xfs_log_recover.c rhead_blk, buffer, &clean); buffer 1385 fs/xfs/xfs_log_recover.c error = xlog_verify_head(log, head_blk, tail_blk, buffer, buffer 1396 fs/xfs/xfs_log_recover.c rhead, rhead_blk, buffer, buffer 1434 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 1462 fs/xfs/xfs_log_recover.c char *buffer; buffer 1472 fs/xfs/xfs_log_recover.c buffer = xlog_alloc_buffer(log, 1); buffer 1473 fs/xfs/xfs_log_recover.c if (!buffer) buffer 1475 fs/xfs/xfs_log_recover.c error = xlog_bread(log, 0, 1, buffer, &offset); buffer 1482 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 1487 fs/xfs/xfs_log_recover.c error = xlog_bread(log, log_bbnum-1, 1, buffer, &offset); buffer 1493 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 1499 fs/xfs/xfs_log_recover.c error = xlog_find_cycle_start(log, buffer, 0, &last_blk, 0); buffer 1540 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 1583 fs/xfs/xfs_log_recover.c char *buffer; buffer 1600 fs/xfs/xfs_log_recover.c while (!(buffer = xlog_alloc_buffer(log, bufblks))) { buffer 1612 fs/xfs/xfs_log_recover.c error = xlog_bread_noalign(log, start_block, 1, buffer); buffer 1632 fs/xfs/xfs_log_recover.c buffer + BBTOB(ealign - start_block)); buffer 1638 fs/xfs/xfs_log_recover.c offset = buffer + xlog_align(log, start_block); buffer 1644 fs/xfs/xfs_log_recover.c error = xlog_bwrite(log, start_block, endcount, buffer); buffer 1652 fs/xfs/xfs_log_recover.c kmem_free(buffer); buffer 16 fs/xfs/xfs_sysctl.c void __user *buffer, buffer 22 fs/xfs/xfs_sysctl.c ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); buffer 36 fs/xfs/xfs_sysctl.c void __user *buffer, buffer 42 fs/xfs/xfs_sysctl.c ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); buffer 25 include/acpi/acpi_bus.h struct acpi_buffer *format, struct acpi_buffer *buffer); buffer 349 include/acpi/acpiosxf.h acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read); buffer 563 include/acpi/acpixf.h ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_install_method(u8 *buffer)) buffer 796 include/acpi/acpixf.h *buffer, buffer 915 include/acpi/actypes.h } buffer; buffer 317 include/asm-generic/io.h static inline void readsb(const volatile void __iomem *addr, void *buffer, buffer 321 include/asm-generic/io.h u8 *buf = buffer; buffer 333 include/asm-generic/io.h static inline void readsw(const volatile void __iomem *addr, void *buffer, buffer 337 include/asm-generic/io.h u16 *buf = buffer; buffer 349 include/asm-generic/io.h static inline void readsl(const volatile void __iomem *addr, void *buffer, buffer 353 include/asm-generic/io.h u32 *buf = buffer; buffer 366 include/asm-generic/io.h static inline void readsq(const volatile void __iomem *addr, void *buffer, buffer 370 include/asm-generic/io.h u64 *buf = buffer; buffer 383 include/asm-generic/io.h static inline void writesb(volatile void __iomem *addr, const void *buffer, buffer 387 include/asm-generic/io.h const u8 *buf = buffer; buffer 398 include/asm-generic/io.h static inline void writesw(volatile void __iomem *addr, const void *buffer, buffer 402 include/asm-generic/io.h const u16 *buf = buffer; buffer 413 include/asm-generic/io.h static inline void writesl(volatile void __iomem *addr, const void *buffer, buffer 417 include/asm-generic/io.h const u32 *buf = buffer; buffer 429 include/asm-generic/io.h static inline void writesq(volatile void __iomem *addr, const void *buffer, buffer 433 include/asm-generic/io.h const u64 *buf = buffer; buffer 583 include/asm-generic/io.h static inline void insb(unsigned long addr, void *buffer, unsigned int count) buffer 585 include/asm-generic/io.h readsb(PCI_IOBASE + addr, buffer, count); buffer 591 include/asm-generic/io.h static inline void insw(unsigned long addr, void *buffer, unsigned int count) buffer 593 include/asm-generic/io.h readsw(PCI_IOBASE + addr, buffer, count); buffer 599 include/asm-generic/io.h static inline void insl(unsigned long addr, void *buffer, unsigned int count) buffer 601 include/asm-generic/io.h readsl(PCI_IOBASE + addr, buffer, count); buffer 607 include/asm-generic/io.h static inline void outsb(unsigned long addr, const void *buffer, buffer 610 include/asm-generic/io.h writesb(PCI_IOBASE + addr, buffer, count); buffer 616 include/asm-generic/io.h static inline void outsw(unsigned long addr, const void *buffer, buffer 619 include/asm-generic/io.h writesw(PCI_IOBASE + addr, buffer, count); buffer 625 include/asm-generic/io.h static inline void outsl(unsigned long addr, const void *buffer, buffer 628 include/asm-generic/io.h writesl(PCI_IOBASE + addr, buffer, count); buffer 634 include/asm-generic/io.h static inline void insb_p(unsigned long addr, void *buffer, unsigned int count) buffer 636 include/asm-generic/io.h insb(addr, buffer, count); buffer 642 include/asm-generic/io.h static inline void insw_p(unsigned long addr, void *buffer, unsigned int count) buffer 644 include/asm-generic/io.h insw(addr, buffer, count); buffer 650 include/asm-generic/io.h static inline void insl_p(unsigned long addr, void *buffer, unsigned int count) buffer 652 include/asm-generic/io.h insl(addr, buffer, count); buffer 658 include/asm-generic/io.h static inline void outsb_p(unsigned long addr, const void *buffer, buffer 661 include/asm-generic/io.h outsb(addr, buffer, count); buffer 667 include/asm-generic/io.h static inline void outsw_p(unsigned long addr, const void *buffer, buffer 670 include/asm-generic/io.h outsw(addr, buffer, count); buffer 676 include/asm-generic/io.h static inline void outsl_p(unsigned long addr, const void *buffer, buffer 679 include/asm-generic/io.h outsl(addr, buffer, count); buffer 806 include/asm-generic/io.h static inline void ioread8_rep(const volatile void __iomem *addr, void *buffer, buffer 809 include/asm-generic/io.h readsb(addr, buffer, count); buffer 816 include/asm-generic/io.h void *buffer, unsigned int count) buffer 818 include/asm-generic/io.h readsw(addr, buffer, count); buffer 825 include/asm-generic/io.h void *buffer, unsigned int count) buffer 827 include/asm-generic/io.h readsl(addr, buffer, count); buffer 835 include/asm-generic/io.h void *buffer, unsigned int count) buffer 837 include/asm-generic/io.h readsq(addr, buffer, count); buffer 845 include/asm-generic/io.h const void *buffer, buffer 848 include/asm-generic/io.h writesb(addr, buffer, count); buffer 855 include/asm-generic/io.h const void *buffer, buffer 858 include/asm-generic/io.h writesw(addr, buffer, count); buffer 865 include/asm-generic/io.h const void *buffer, buffer 868 include/asm-generic/io.h writesl(addr, buffer, count); buffer 876 include/asm-generic/io.h const void *buffer, buffer 879 include/asm-generic/io.h writesq(addr, buffer, count); buffer 1097 include/asm-generic/io.h static inline void memcpy_fromio(void *buffer, buffer 1101 include/asm-generic/io.h memcpy(buffer, __io_virt(addr), size); buffer 1115 include/asm-generic/io.h static inline void memcpy_toio(volatile void __iomem *addr, const void *buffer, buffer 1118 include/asm-generic/io.h memcpy(__io_virt(addr), buffer, size); buffer 108 include/crypto/algapi.h u8 *buffer; buffer 20 include/crypto/ghash.h u8 buffer[GHASH_BLOCK_SIZE]; buffer 56 include/crypto/internal/skcipher.h u8 *buffer; buffer 72 include/crypto/kpp.h int (*set_secret)(struct crypto_kpp *tfm, const void *buffer, buffer 282 include/crypto/kpp.h const void *buffer, unsigned int len) buffer 289 include/crypto/kpp.h ret = alg->set_secret(tfm, buffer, len); buffer 46 include/crypto/nhpoly1305.h u8 buffer[NH_MESSAGE_UNIT]; buffer 81 include/crypto/sha.h u8 buffer[SHA1_BLOCK_SIZE]; buffer 50 include/crypto/sha1_base.h memcpy(sctx->buffer + partial, data, p); buffer 54 include/crypto/sha1_base.h block_fn(sctx, sctx->buffer, 1); buffer 67 include/crypto/sha1_base.h memcpy(sctx->buffer + partial, data, len); buffer 77 include/crypto/sha1_base.h __be64 *bits = (__be64 *)(sctx->buffer + bit_offset); buffer 80 include/crypto/sha1_base.h sctx->buffer[partial++] = 0x80; buffer 82 include/crypto/sha1_base.h memset(sctx->buffer + partial, 0x0, SHA1_BLOCK_SIZE - partial); buffer 85 include/crypto/sha1_base.h block_fn(sctx, sctx->buffer, 1); buffer 88 include/crypto/sha1_base.h memset(sctx->buffer + partial, 0x0, bit_offset - partial); buffer 90 include/crypto/sha1_base.h block_fn(sctx, sctx->buffer, 1); buffer 30 include/crypto/sm3.h u8 buffer[SM3_BLOCK_SIZE]; buffer 53 include/crypto/sm3_base.h memcpy(sctx->buffer + partial, data, p); buffer 57 include/crypto/sm3_base.h block_fn(sctx, sctx->buffer, 1); buffer 70 include/crypto/sm3_base.h memcpy(sctx->buffer + partial, data, len); buffer 80 include/crypto/sm3_base.h __be64 *bits = (__be64 *)(sctx->buffer + bit_offset); buffer 83 include/crypto/sm3_base.h sctx->buffer[partial++] = 0x80; buffer 85 include/crypto/sm3_base.h memset(sctx->buffer + partial, 0x0, SM3_BLOCK_SIZE - partial); buffer 88 include/crypto/sm3_base.h block_fn(sctx, sctx->buffer, 1); buffer 91 include/crypto/sm3_base.h memset(sctx->buffer + partial, 0x0, bit_offset - partial); buffer 93 include/crypto/sm3_base.h block_fn(sctx, sctx->buffer, 1); buffer 27 include/crypto/streebog.h u8 buffer[STREEBOG_BLOCK_SIZE]; buffer 151 include/drm/drm_client.h void drm_client_framebuffer_delete(struct drm_client_buffer *buffer); buffer 152 include/drm/drm_client.h void *drm_client_buffer_vmap(struct drm_client_buffer *buffer); buffer 153 include/drm/drm_client.h void drm_client_buffer_vunmap(struct drm_client_buffer *buffer); buffer 68 include/drm/drm_dp_dual_mode_helper.h u8 offset, void *buffer, size_t size); buffer 70 include/drm/drm_dp_dual_mode_helper.h u8 offset, const void *buffer, size_t size); buffer 1227 include/drm/drm_dp_helper.h void *buffer; buffer 1319 include/drm/drm_dp_helper.h void *buffer, size_t size); buffer 1321 include/drm/drm_dp_helper.h void *buffer, size_t size); buffer 648 include/drm/drm_dp_mst_helper.h unsigned int offset, void *buffer, size_t size); buffer 650 include/drm/drm_dp_mst_helper.h unsigned int offset, void *buffer, size_t size); buffer 127 include/drm/drm_fb_helper.h struct drm_client_buffer *buffer; buffer 373 include/drm/drm_file.h ssize_t drm_read(struct file *filp, char __user *buffer, buffer 91 include/drm/drm_scdc_helper.h ssize_t drm_scdc_read(struct i2c_adapter *adapter, u8 offset, void *buffer, buffer 94 include/drm/drm_scdc_helper.h const void *buffer, size_t size); buffer 20 include/keys/big_key-type.h extern long big_key_read(const struct key *key, char *buffer, size_t buflen); buffer 16 include/keys/trusted.h #define LOAD32(buffer, offset) (ntohl(*(uint32_t *)&buffer[offset])) buffer 17 include/keys/trusted.h #define LOAD32N(buffer, offset) (*(uint32_t *)&buffer[offset]) buffer 18 include/keys/trusted.h #define LOAD16(buffer, offset) (ntohs(*(uint16_t *)&buffer[offset])) buffer 42 include/keys/trusted.h int TSS_checkhmac1(unsigned char *buffer, buffer 44 include/keys/user-type.h extern long user_read(const struct key *key, char *buffer, size_t buflen); buffer 147 include/linux/acpi.h ssize_t (*read_cmd)(char *buffer, size_t length); buffer 148 include/linux/acpi.h int (*wait_command_ready)(bool single_step, char *buffer, size_t length); buffer 165 include/linux/acpi.h ssize_t acpi_debugger_read_cmd(char *buffer, size_t buffer_length); buffer 195 include/linux/acpi.h static inline int acpi_debugger_read_cmd(char *buffer, u32 buffer_length) buffer 28 include/linux/atmdev.h compat_uptr_t buffer; buffer 551 include/linux/avf/virtchnl.h u8 buffer[128]; /* reserved for future use */ buffer 51 include/linux/bcma/bcma.h void (*block_read)(struct bcma_device *core, void *buffer, buffer 53 include/linux/bcma/bcma.h void (*block_write)(struct bcma_device *core, const void *buffer, buffer 395 include/linux/bcma/bcma.h static inline void bcma_block_read(struct bcma_device *core, void *buffer, buffer 398 include/linux/bcma/bcma.h core->bus->ops->block_read(core, buffer, count, offset, reg_width); buffer 401 include/linux/bcma/bcma.h const void *buffer, size_t count, buffer 404 include/linux/bcma/bcma.h core->bus->ops->block_write(core, buffer, count, offset, reg_width); buffer 483 include/linux/bio.h extern const char *bio_devname(struct bio *bio, char *buffer); buffer 548 include/linux/bio.h static inline void bvec_kunmap_irq(char *buffer, unsigned long *flags) buffer 550 include/linux/bio.h unsigned long ptr = (unsigned long) buffer & PAGE_MASK; buffer 562 include/linux/bio.h static inline void bvec_kunmap_irq(char *buffer, unsigned long *flags) buffer 22 include/linux/cdrom.h unsigned char *buffer; buffer 126 include/linux/cdrom.h void *buffer, int len, int type); buffer 89 include/linux/compaction.h void __user *buffer, size_t *length, loff_t *ppos); buffer 10 include/linux/crc-ccitt.h extern u16 crc_ccitt(u16 crc, const u8 *buffer, size_t len); buffer 11 include/linux/crc-ccitt.h extern u16 crc_ccitt_false(u16 crc, const u8 *buffer, size_t len); buffer 18 include/linux/crc-itu-t.h extern u16 crc_itu_t(u16 crc, const u8 *buffer, size_t len); buffer 11 include/linux/crc-t10dif.h extern __u16 crc_t10dif_generic(__u16 crc, const unsigned char *buffer, buffer 20 include/linux/crc16.h extern u16 crc16(u16 crc, const u8 *buffer, size_t len); buffer 13 include/linux/crc7.h extern u8 crc7_be(u8 crc, const u8 *buffer, size_t len); buffer 60 include/linux/devcoredump.h ssize_t (*read)(char *buffer, loff_t offset, size_t count, buffer 76 include/linux/devcoredump.h ssize_t (*read)(char *buffer, loff_t offset, size_t count, buffer 1167 include/linux/filter.h unsigned int size, void *buffer) buffer 1170 include/linux/filter.h return skb_header_pointer(skb, k, size, buffer); buffer 428 include/linux/firewire.h int fw_iso_buffer_init(struct fw_iso_buffer *buffer, struct fw_card *card, buffer 430 include/linux/firewire.h void fw_iso_buffer_destroy(struct fw_iso_buffer *buffer, struct fw_card *card); buffer 431 include/linux/firewire.h size_t fw_iso_buffer_lookup(struct fw_iso_buffer *buffer, dma_addr_t completed); buffer 459 include/linux/firewire.h struct fw_iso_buffer *buffer, buffer 21 include/linux/firmware/meson/meson_sm.h int meson_sm_call_write(void *buffer, unsigned int b_size, unsigned int cmd_index, buffer 23 include/linux/firmware/meson/meson_sm.h int meson_sm_call_read(void *buffer, unsigned int bsize, unsigned int cmd_index, buffer 2698 include/linux/fs.h extern const char *__bdevname(dev_t, char *buffer); buffer 2699 include/linux/fs.h extern const char *bdevname(struct block_device *bdev, char *buffer); buffer 3508 include/linux/fs.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 3510 include/linux/fs.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 3512 include/linux/fs.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 182 include/linux/fs_context.h char *buffer[8]; buffer 84 include/linux/ftrace.h void __user *buffer, size_t *lenp, buffer 247 include/linux/ftrace.h void __user *buffer, size_t *lenp, buffer 897 include/linux/ftrace.h void __user *buffer, size_t *lenp, buffer 59 include/linux/greybus/operation.h void *buffer; buffer 37 include/linux/hdlcdrv.h unsigned char buffer[HDLCDRV_BITBUFFER]; buffer 49 include/linux/hdlcdrv.h buf->buffer[buf->wr] = buf->shreg; buffer 50 include/linux/hdlcdrv.h buf->wr = (buf->wr+1) % sizeof(buf->buffer); buffer 58 include/linux/hdlcdrv.h buf->buffer[buf->wr] = bits & 0xff; buffer 59 include/linux/hdlcdrv.h buf->wr = (buf->wr+1) % sizeof(buf->buffer); buffer 60 include/linux/hdlcdrv.h buf->buffer[buf->wr] = (bits >> 8) & 0xff; buffer 61 include/linux/hdlcdrv.h buf->wr = (buf->wr+1) % sizeof(buf->buffer); buffer 118 include/linux/hdlcdrv.h unsigned char buffer[HDLCDRV_MAXFLEN+2]; buffer 141 include/linux/hdlcdrv.h unsigned char buffer[HDLCDRV_MAXFLEN+2]; buffer 211 include/linux/hdmi.h ssize_t hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, void *buffer, buffer 214 include/linux/hdmi.h void *buffer, size_t size); buffer 217 include/linux/hdmi.h ssize_t hdmi_drm_infoframe_pack(struct hdmi_drm_infoframe *frame, void *buffer, buffer 220 include/linux/hdmi.h void *buffer, size_t size); buffer 251 include/linux/hdmi.h ssize_t hdmi_spd_infoframe_pack(struct hdmi_spd_infoframe *frame, void *buffer, buffer 254 include/linux/hdmi.h void *buffer, size_t size); buffer 333 include/linux/hdmi.h void *buffer, size_t size); buffer 335 include/linux/hdmi.h void *buffer, size_t size); buffer 390 include/linux/hdmi.h void *buffer, size_t size); buffer 392 include/linux/hdmi.h void *buffer, size_t size); buffer 427 include/linux/hdmi.h ssize_t hdmi_infoframe_pack(union hdmi_infoframe *frame, void *buffer, buffer 430 include/linux/hdmi.h void *buffer, size_t size); buffer 433 include/linux/hdmi.h const void *buffer, size_t size); buffer 197 include/linux/hid-sensor-hub.h u32 field_index, int buffer_size, void *buffer); buffer 212 include/linux/hid-sensor-hub.h u32 field_index, int buffer_size, void *buffer); buffer 28 include/linux/hidraw.h struct hidraw_report buffer[HIDRAW_BUFFER_SIZE]; buffer 64 include/linux/hw_random.h extern void add_hwgenerator_randomness(const char *buffer, size_t count, size_t entropy); buffer 120 include/linux/hyperv.h u8 buffer[0]; buffer 1084 include/linux/hyperv.h void *buffer, buffer 1093 include/linux/hyperv.h void *buffer, buffer 1100 include/linux/hyperv.h void *buffer, buffer 1115 include/linux/hyperv.h void *buffer, buffer 1121 include/linux/hyperv.h void *buffer, buffer 1515 include/linux/hyperv.h return ring_info->ring_buffer->buffer; buffer 85 include/linux/if_frad.h int buffer; /* current buffer for S508 firmware */ buffer 106 include/linux/iio/buffer-dma.h struct iio_buffer buffer; buffer 135 include/linux/iio/buffer-dma.h int iio_dma_buffer_enable(struct iio_buffer *buffer, buffer 137 include/linux/iio/buffer-dma.h int iio_dma_buffer_disable(struct iio_buffer *buffer, buffer 139 include/linux/iio/buffer-dma.h int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, buffer 141 include/linux/iio/buffer-dma.h size_t iio_dma_buffer_data_available(struct iio_buffer *buffer); buffer 142 include/linux/iio/buffer-dma.h int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd); buffer 143 include/linux/iio/buffer-dma.h int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length); buffer 144 include/linux/iio/buffer-dma.h int iio_dma_buffer_request_update(struct iio_buffer *buffer); buffer 15 include/linux/iio/buffer-dmaengine.h void iio_dmaengine_buffer_free(struct iio_buffer *buffer); buffer 14 include/linux/iio/buffer.h void iio_buffer_set_attrs(struct iio_buffer *buffer, buffer 48 include/linux/iio/buffer.h struct iio_buffer *buffer); buffer 47 include/linux/iio/buffer_impl.h int (*store_to)(struct iio_buffer *buffer, const void *data); buffer 48 include/linux/iio/buffer_impl.h int (*read_first_n)(struct iio_buffer *buffer, buffer 51 include/linux/iio/buffer_impl.h size_t (*data_available)(struct iio_buffer *buffer); buffer 53 include/linux/iio/buffer_impl.h int (*request_update)(struct iio_buffer *buffer); buffer 55 include/linux/iio/buffer_impl.h int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd); buffer 56 include/linux/iio/buffer_impl.h int (*set_length)(struct iio_buffer *buffer, unsigned int length); buffer 58 include/linux/iio/buffer_impl.h int (*enable)(struct iio_buffer *buffer, struct iio_dev *indio_dev); buffer 59 include/linux/iio/buffer_impl.h int (*disable)(struct iio_buffer *buffer, struct iio_dev *indio_dev); buffer 61 include/linux/iio/buffer_impl.h void (*release)(struct iio_buffer *buffer); buffer 152 include/linux/iio/buffer_impl.h void iio_buffer_init(struct iio_buffer *buffer); buffer 154 include/linux/iio/buffer_impl.h struct iio_buffer *iio_buffer_get(struct iio_buffer *buffer); buffer 155 include/linux/iio/buffer_impl.h void iio_buffer_put(struct iio_buffer *buffer); buffer 159 include/linux/iio/buffer_impl.h static inline void iio_buffer_get(struct iio_buffer *buffer) {} buffer 160 include/linux/iio/buffer_impl.h static inline void iio_buffer_put(struct iio_buffer *buffer) {} buffer 57 include/linux/iio/common/ssp_sensors.h u8 *buffer; buffer 535 include/linux/iio/iio.h struct iio_buffer *buffer; buffer 68 include/linux/iio/imu/adis.h void *buffer; buffer 65 include/linux/intel-ish-client-if.h struct ishtp_msg_data buffer; buffer 93 include/linux/kallsyms.h extern int sprint_symbol(char *buffer, unsigned long address); buffer 94 include/linux/kallsyms.h extern int sprint_symbol_no_offset(char *buffer, unsigned long address); buffer 95 include/linux/kallsyms.h extern int sprint_backtrace(char *buffer, unsigned long address); buffer 133 include/linux/kallsyms.h static inline int sprint_symbol(char *buffer, unsigned long addr) buffer 135 include/linux/kallsyms.h *buffer = '\0'; buffer 139 include/linux/kallsyms.h static inline int sprint_symbol_no_offset(char *buffer, unsigned long addr) buffer 141 include/linux/kallsyms.h *buffer = '\0'; buffer 145 include/linux/kallsyms.h static inline int sprint_backtrace(char *buffer, unsigned long addr) buffer 147 include/linux/kallsyms.h *buffer = '\0'; buffer 14 include/linux/kdev_t.h #define print_dev_t(buffer, dev) \ buffer 15 include/linux/kdev_t.h sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev)) buffer 17 include/linux/kdev_t.h #define format_dev_t(buffer, dev) \ buffer 19 include/linux/kdev_t.h sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \ buffer 20 include/linux/kdev_t.h buffer; \ buffer 170 include/linux/kexec.h void *buffer; buffer 227 include/linux/kexec.h const char *buffer; buffer 130 include/linux/key-type.h long (*read)(const struct key *key, char *buffer, size_t buflen); buffer 353 include/linux/kfifo.h #define kfifo_init(fifo, buffer, size) \ buffer 358 include/linux/kfifo.h __kfifo_init(__kfifo, buffer, size, sizeof(*__tmp->type)) : \ buffer 763 include/linux/kfifo.h extern int __kfifo_init(struct __kfifo *fifo, void *buffer, buffer 315 include/linux/kprobes.h int write, void __user *buffer, buffer 42 include/linux/latencytop.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 34 include/linux/logic_pio.h u32 (*ins)(void *hostdata, unsigned long addr, void *buffer, buffer 36 include/linux/logic_pio.h void (*outs)(void *hostdata, unsigned long addr, const void *buffer, buffer 50 include/linux/logic_pio.h void logic_insb(unsigned long addr, void *buffer, unsigned int count); buffer 51 include/linux/logic_pio.h void logic_insl(unsigned long addr, void *buffer, unsigned int count); buffer 52 include/linux/logic_pio.h void logic_insw(unsigned long addr, void *buffer, unsigned int count); buffer 53 include/linux/logic_pio.h void logic_outsb(unsigned long addr, const void *buffer, unsigned int count); buffer 54 include/linux/logic_pio.h void logic_outsw(unsigned long addr, const void *buffer, unsigned int count); buffer 55 include/linux/logic_pio.h void logic_outsl(unsigned long addr, const void *buffer, unsigned int count); buffer 1587 include/linux/lsm_hooks.h void **buffer, bool alloc); buffer 1591 include/linux/lsm_hooks.h int (*inode_listsecurity)(struct inode *inode, char *buffer, buffer 173 include/linux/mempolicy.h extern void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol); buffer 9662 include/linux/mlx5/mlx5_ifc.h struct mlx5_ifc_bufferx_reg_bits buffer[10]; buffer 1622 include/linux/mm.h int get_cmdline(struct task_struct *task, char *buffer, int buflen); buffer 53 include/linux/moduleparam.h int (*get)(char *buffer, const struct kernel_param *kp); buffer 341 include/linux/moduleparam.h extern int param_get_byte(char *buffer, const struct kernel_param *kp); buffer 346 include/linux/moduleparam.h extern int param_get_short(char *buffer, const struct kernel_param *kp); buffer 351 include/linux/moduleparam.h extern int param_get_ushort(char *buffer, const struct kernel_param *kp); buffer 356 include/linux/moduleparam.h extern int param_get_int(char *buffer, const struct kernel_param *kp); buffer 361 include/linux/moduleparam.h extern int param_get_uint(char *buffer, const struct kernel_param *kp); buffer 366 include/linux/moduleparam.h extern int param_get_long(char *buffer, const struct kernel_param *kp); buffer 371 include/linux/moduleparam.h extern int param_get_ulong(char *buffer, const struct kernel_param *kp); buffer 376 include/linux/moduleparam.h extern int param_get_ullong(char *buffer, const struct kernel_param *kp); buffer 381 include/linux/moduleparam.h extern int param_get_charp(char *buffer, const struct kernel_param *kp); buffer 388 include/linux/moduleparam.h extern int param_get_bool(char *buffer, const struct kernel_param *kp); buffer 399 include/linux/moduleparam.h extern int param_get_invbool(char *buffer, const struct kernel_param *kp); buffer 512 include/linux/moduleparam.h extern int param_get_string(char *buffer, const struct kernel_param *kp); buffer 51 include/linux/mpi.h MPI mpi_read_from_buffer(const void *buffer, unsigned *ret_nread); buffer 49 include/linux/mtd/blktrans.h unsigned long block, char *buffer); buffer 51 include/linux/mtd/blktrans.h unsigned long block, char *buffer); buffer 109 include/linux/mtd/onenand.h unsigned char *buffer, int offset, size_t count); buffer 111 include/linux/mtd/onenand.h const unsigned char *buffer, int offset, size_t count); buffer 235 include/linux/mtd/onenand.h unsigned char *buffer, int offset, size_t count); buffer 4341 include/linux/netdevice.h void netdev_rss_key_fill(void *buffer, size_t len); buffer 467 include/linux/parport.h extern ssize_t parport_device_id (int devnum, char *buffer, size_t len); buffer 1235 include/linux/perf_event.h void __user *buffer, size_t *lenp, buffer 1238 include/linux/perf_event.h void __user *buffer, size_t *lenp, buffer 1242 include/linux/perf_event.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 30 include/linux/platform_data/cros_ec_chardev.h uint8_t buffer[EC_MEMMAP_SIZE]; buffer 303 include/linux/platform_device.h char *buffer; buffer 331 include/linux/platform_device.h .buffer = buf, \ buffer 336 include/linux/platform_device.h static int __init early_platform_driver_setup_func(char *buffer) \ buffer 338 include/linux/platform_device.h return early_platform_driver_register(&early_driver, buffer); \ buffer 50 include/linux/posix_acl_xattr.h const struct posix_acl *acl, void *buffer, size_t size); buffer 16 include/linux/printk.h static inline int printk_get_level(const char *buffer) buffer 18 include/linux/printk.h if (buffer[0] == KERN_SOH_ASCII && buffer[1]) { buffer 19 include/linux/printk.h switch (buffer[1]) { buffer 22 include/linux/printk.h return buffer[1]; buffer 28 include/linux/printk.h static inline const char *printk_skip_level(const char *buffer) buffer 30 include/linux/printk.h if (printk_get_level(buffer)) buffer 31 include/linux/printk.h return buffer + 2; buffer 33 include/linux/printk.h return buffer; buffer 36 include/linux/printk.h static inline const char *printk_skip_headers(const char *buffer) buffer 38 include/linux/printk.h while (printk_get_level(buffer)) buffer 39 include/linux/printk.h buffer = printk_skip_level(buffer); buffer 41 include/linux/printk.h return buffer; buffer 88 include/linux/pstore_ram.h struct persistent_ram_buffer *buffer; buffer 922 include/linux/qed/qed_if.h void *buffer, u32 *num_dumped_bytes); buffer 926 include/linux/qed/qed_if.h int (*dbg_all_data) (struct qed_dev *cdev, void *buffer); buffer 80 include/linux/ring_buffer.h void ring_buffer_discard_commit(struct ring_buffer *buffer, buffer 100 include/linux/ring_buffer.h int ring_buffer_wait(struct ring_buffer *buffer, int cpu, int full); buffer 101 include/linux/ring_buffer.h __poll_t ring_buffer_poll_wait(struct ring_buffer *buffer, int cpu, buffer 107 include/linux/ring_buffer.h void ring_buffer_free(struct ring_buffer *buffer); buffer 109 include/linux/ring_buffer.h int ring_buffer_resize(struct ring_buffer *buffer, unsigned long size, int cpu); buffer 111 include/linux/ring_buffer.h void ring_buffer_change_overwrite(struct ring_buffer *buffer, int val); buffer 113 include/linux/ring_buffer.h struct ring_buffer_event *ring_buffer_lock_reserve(struct ring_buffer *buffer, buffer 115 include/linux/ring_buffer.h int ring_buffer_unlock_commit(struct ring_buffer *buffer, buffer 117 include/linux/ring_buffer.h int ring_buffer_write(struct ring_buffer *buffer, buffer 120 include/linux/ring_buffer.h void ring_buffer_nest_start(struct ring_buffer *buffer); buffer 121 include/linux/ring_buffer.h void ring_buffer_nest_end(struct ring_buffer *buffer); buffer 124 include/linux/ring_buffer.h ring_buffer_peek(struct ring_buffer *buffer, int cpu, u64 *ts, buffer 127 include/linux/ring_buffer.h ring_buffer_consume(struct ring_buffer *buffer, int cpu, u64 *ts, buffer 131 include/linux/ring_buffer.h ring_buffer_read_prepare(struct ring_buffer *buffer, int cpu, gfp_t flags); buffer 143 include/linux/ring_buffer.h unsigned long ring_buffer_size(struct ring_buffer *buffer, int cpu); buffer 145 include/linux/ring_buffer.h void ring_buffer_reset_cpu(struct ring_buffer *buffer, int cpu); buffer 146 include/linux/ring_buffer.h void ring_buffer_reset(struct ring_buffer *buffer); buffer 160 include/linux/ring_buffer.h bool ring_buffer_empty(struct ring_buffer *buffer); buffer 161 include/linux/ring_buffer.h bool ring_buffer_empty_cpu(struct ring_buffer *buffer, int cpu); buffer 163 include/linux/ring_buffer.h void ring_buffer_record_disable(struct ring_buffer *buffer); buffer 164 include/linux/ring_buffer.h void ring_buffer_record_enable(struct ring_buffer *buffer); buffer 165 include/linux/ring_buffer.h void ring_buffer_record_off(struct ring_buffer *buffer); buffer 166 include/linux/ring_buffer.h void ring_buffer_record_on(struct ring_buffer *buffer); buffer 167 include/linux/ring_buffer.h bool ring_buffer_record_is_on(struct ring_buffer *buffer); buffer 168 include/linux/ring_buffer.h bool ring_buffer_record_is_set_on(struct ring_buffer *buffer); buffer 169 include/linux/ring_buffer.h void ring_buffer_record_disable_cpu(struct ring_buffer *buffer, int cpu); buffer 170 include/linux/ring_buffer.h void ring_buffer_record_enable_cpu(struct ring_buffer *buffer, int cpu); buffer 172 include/linux/ring_buffer.h u64 ring_buffer_oldest_event_ts(struct ring_buffer *buffer, int cpu); buffer 173 include/linux/ring_buffer.h unsigned long ring_buffer_bytes_cpu(struct ring_buffer *buffer, int cpu); buffer 174 include/linux/ring_buffer.h unsigned long ring_buffer_entries(struct ring_buffer *buffer); buffer 175 include/linux/ring_buffer.h unsigned long ring_buffer_overruns(struct ring_buffer *buffer); buffer 176 include/linux/ring_buffer.h unsigned long ring_buffer_entries_cpu(struct ring_buffer *buffer, int cpu); buffer 177 include/linux/ring_buffer.h unsigned long ring_buffer_overrun_cpu(struct ring_buffer *buffer, int cpu); buffer 178 include/linux/ring_buffer.h unsigned long ring_buffer_commit_overrun_cpu(struct ring_buffer *buffer, int cpu); buffer 179 include/linux/ring_buffer.h unsigned long ring_buffer_dropped_events_cpu(struct ring_buffer *buffer, int cpu); buffer 180 include/linux/ring_buffer.h unsigned long ring_buffer_read_events_cpu(struct ring_buffer *buffer, int cpu); buffer 182 include/linux/ring_buffer.h u64 ring_buffer_time_stamp(struct ring_buffer *buffer, int cpu); buffer 183 include/linux/ring_buffer.h void ring_buffer_normalize_time_stamp(struct ring_buffer *buffer, buffer 185 include/linux/ring_buffer.h void ring_buffer_set_clock(struct ring_buffer *buffer, buffer 187 include/linux/ring_buffer.h void ring_buffer_set_time_stamp_abs(struct ring_buffer *buffer, bool abs); buffer 188 include/linux/ring_buffer.h bool ring_buffer_time_stamp_abs(struct ring_buffer *buffer); buffer 190 include/linux/ring_buffer.h size_t ring_buffer_nr_pages(struct ring_buffer *buffer, int cpu); buffer 191 include/linux/ring_buffer.h size_t ring_buffer_nr_dirty_pages(struct ring_buffer *buffer, int cpu); buffer 193 include/linux/ring_buffer.h void *ring_buffer_alloc_read_page(struct ring_buffer *buffer, int cpu); buffer 194 include/linux/ring_buffer.h void ring_buffer_free_read_page(struct ring_buffer *buffer, int cpu, void *data); buffer 195 include/linux/ring_buffer.h int ring_buffer_read_page(struct ring_buffer *buffer, void **data_page, buffer 417 include/linux/rio.h int mbox, void *buffer, size_t len); buffer 313 include/linux/rio_drv.h void *buffer, size_t len) buffer 316 include/linux/rio_drv.h buffer, len); buffer 333 include/linux/rio_drv.h void *buffer) buffer 335 include/linux/rio_drv.h return mport->ops->add_inb_buffer(mport, mbox, buffer); buffer 16 include/linux/sched/sysctl.h void __user *buffer, buffer 46 include/linux/sched/sysctl.h void __user *buffer, size_t *length, buffer 76 include/linux/sched/sysctl.h void __user *buffer, size_t *lenp, buffer 80 include/linux/sched/sysctl.h void __user *buffer, size_t *lenp, buffer 85 include/linux/sched/sysctl.h void __user *buffer, size_t *lenp, buffer 90 include/linux/sched/sysctl.h void __user *buffer, size_t *lenp, buffer 94 include/linux/sched/sysctl.h void __user *buffer, size_t *lenp, buffer 100 include/linux/sched/sysctl.h void __user *buffer, size_t *lenp, buffer 149 include/linux/security.h void **buffer, bool alloc); buffer 213 include/linux/security.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 351 include/linux/security.h int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc); buffer 353 include/linux/security.h int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size); buffer 853 include/linux/security.h static inline int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc) buffer 863 include/linux/security.h static inline int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) buffer 18 include/linux/sed-opal.h typedef int (sec_send_recv)(void *data, u16 spsp, u8 secp, void *buffer, buffer 20 include/linux/seq_buf.h char *buffer; buffer 35 include/linux/seq_buf.h s->buffer = buf; buffer 87 include/linux/seq_buf.h *bufp = s->buffer + s->len; buffer 3566 include/linux/skbuff.h int len, void *data, int hlen, void *buffer) buffer 3572 include/linux/skbuff.h skb_copy_bits(skb, offset, buffer, len) < 0) buffer 3575 include/linux/skbuff.h return buffer; buffer 3579 include/linux/skbuff.h skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *buffer) buffer 3582 include/linux/skbuff.h skb_headlen(skb), buffer); buffer 215 include/linux/ssb/ssb.h void (*block_read)(struct ssb_device *dev, void *buffer, buffer 217 include/linux/ssb/ssb.h void (*block_write)(struct ssb_device *dev, const void *buffer, buffer 600 include/linux/ssb/ssb.h static inline void ssb_block_read(struct ssb_device *dev, void *buffer, buffer 603 include/linux/ssb/ssb.h dev->ops->block_read(dev, buffer, count, offset, reg_width); buffer 606 include/linux/ssb/ssb.h static inline void ssb_block_write(struct ssb_device *dev, const void *buffer, buffer 609 include/linux/ssb/ssb.h dev->ops->block_write(dev, buffer, count, offset, reg_width); buffer 28 include/linux/stackleak.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 988 include/linux/syscalls.h unsigned mask, struct statx __user *buffer); buffer 48 include/linux/sysctl.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 59 include/linux/sysctl.h void __user *buffer, size_t *lenp, buffer 74 include/linux/sysctl.h void __user *buffer, size_t *lenp, buffer 244 include/linux/sysctl.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 204 include/linux/timer.h void __user *buffer, size_t *lenp, buffer 15 include/linux/trace_seq.h unsigned char buffer[PAGE_SIZE]; buffer 23 include/linux/trace_seq.h seq_buf_init(&s->seq, s->buffer, PAGE_SIZE); buffer 57 include/linux/trace_seq.h return s->buffer + seq_buf_used(&s->seq); buffer 407 include/linux/usb.h int __usb_get_extra_descriptor(char *buffer, unsigned size, buffer 49 include/linux/usb/cdc.h u8 *buffer, buffer 64 include/linux/usbdevice_fs.h compat_caddr_t buffer; buffer 20 include/linux/vmstat.h int write, void __user *buffer, size_t *length, loff_t *ppos); buffer 272 include/linux/vmstat.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 366 include/linux/writeback.h void __user *buffer, size_t *lenp, buffer 369 include/linux/writeback.h void __user *buffer, size_t *lenp, buffer 372 include/linux/writeback.h void __user *buffer, size_t *lenp, buffer 375 include/linux/writeback.h void __user *buffer, size_t *lenp, buffer 378 include/linux/writeback.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 34 include/linux/xattr.h struct inode *inode, const char *name, void *buffer, buffer 37 include/linux/xattr.h struct inode *inode, const char *name, const void *buffer, buffer 58 include/linux/xattr.h ssize_t generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size); buffer 103 include/linux/xattr.h void *buffer, size_t size); buffer 106 include/linux/xattr.h ssize_t simple_xattr_list(struct inode *inode, struct simple_xattrs *xattrs, char *buffer, buffer 886 include/linux/zstd.h unsigned int ZSTD_isFrame(const void *buffer, size_t size); buffer 144 include/media/dmxdev.h struct dvb_ringbuffer buffer; buffer 20 include/media/i2c/saa6588.h unsigned char __user *buffer; buffer 60 include/net/ip_vs.h int len, void *buffer) buffer 62 include/net/ip_vs.h return skb_header_pointer(skb, offset, len, buffer); buffer 347 include/net/iucv/iucv.h u8 flags, void *buffer, size_t size, size_t *residual); buffer 367 include/net/iucv/iucv.h u8 flags, void *buffer, size_t size, buffer 419 include/net/iucv/iucv.h u8 flags, u32 srccls, void *buffer, size_t size); buffer 439 include/net/iucv/iucv.h u8 flags, u32 srccls, void *buffer, size_t size); buffer 461 include/net/iucv/iucv.h u8 flags, u32 srccls, void *buffer, size_t size, buffer 466 include/net/iucv/iucv.h u8 flags, void *buffer, size_t size, size_t *residual); buffer 468 include/net/iucv/iucv.h struct iucv_message *msg, u8 flags, void *buffer, size_t size, buffer 474 include/net/iucv/iucv.h u8 flags, u32 srccls, void *buffer, size_t size); buffer 476 include/net/iucv/iucv.h u8 flags, u32 srccls, void *buffer, size_t size); buffer 478 include/net/iucv/iucv.h struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, buffer 436 include/net/iw_handler.h int dev_get_wireless_info(char *buffer, char **start, off_t offset, int length); buffer 496 include/net/ndisc.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 395 include/net/neighbour.h void __user *buffer, size_t *lenp, loff_t *ppos); buffer 397 include/net/neighbour.h void __user *buffer, buffer 400 include/net/neighbour.h void __user *buffer, buffer 1101 include/net/tcp.h char *tcp_ca_get_name_by_key(u32 key, char *buffer); buffer 1103 include/net/tcp.h static inline char *tcp_ca_get_name_by_key(u32 key, char *buffer) buffer 408 include/rdma/opa_port_info.h u8 buffer; buffer 44 include/scsi/scsi_cmnd.h struct scatterlist *buffer; /* which buffer */ buffer 395 include/scsi/scsi_device.h unsigned char *buffer, int len, int timeout, buffer 399 include/scsi/scsi_device.h int modepage, unsigned char *buffer, int len, buffer 407 include/scsi/scsi_device.h extern int scsi_report_opcode(struct scsi_device *sdev, unsigned char *buffer, buffer 432 include/scsi/scsi_device.h int data_direction, void *buffer, unsigned bufflen, buffer 437 include/scsi/scsi_device.h #define scsi_execute(sdev, cmd, data_direction, buffer, bufflen, sense, \ buffer 442 include/scsi/scsi_device.h __scsi_execute(sdev, cmd, data_direction, buffer, bufflen, \ buffer 447 include/scsi/scsi_device.h const unsigned char *cmd, int data_direction, void *buffer, buffer 451 include/scsi/scsi_device.h return scsi_execute(sdev, cmd, data_direction, buffer, buffer 140 include/scsi/viosrp.h __be64 buffer; buffer 146 include/scsi/viosrp.h __be64 buffer; buffer 151 include/scsi/viosrp.h __be64 buffer; buffer 160 include/scsi/viosrp.h __be64 buffer; buffer 42 include/sound/compress_driver.h void *buffer; buffer 196 include/sound/gus.h void *buffer; /* buffer in computer's RAM */ buffer 269 include/sound/hda_codec.h void (*proc_widget_hook)(struct snd_info_buffer *buffer, buffer 20 include/sound/hda_component.h bool *audio_enabled, char *buffer, int max_bytes); buffer 44 include/sound/hda_component.h char *buffer, int max_bytes) buffer 16 include/sound/info.h char *buffer; /* pointer to begin of buffer */ buffer 31 include/sound/info.h struct snd_info_buffer *buffer); buffer 33 include/sound/info.h struct snd_info_buffer *buffer); buffer 91 include/sound/info.h void snd_card_info_read_oss(struct snd_info_buffer *buffer); buffer 94 include/sound/info.h static inline void snd_card_info_read_oss(struct snd_info_buffer *buffer) {} buffer 107 include/sound/info.h seq_printf((struct seq_file *)(buf)->buffer, fmt, ##args) buffer 112 include/sound/info.h int snd_info_get_line(struct snd_info_buffer *buffer, char *line, int len); buffer 152 include/sound/info.h struct snd_info_buffer *buffer)); buffer 161 include/sound/info.h static inline int snd_iprintf(struct snd_info_buffer *buffer, char *fmt, ...) { return 0; } buffer 165 include/sound/info.h static inline int snd_info_get_line(struct snd_info_buffer *buffer, char *line, int len) { return 0; } buffer 188 include/sound/info.h struct snd_info_buffer *buffer)) buffer 42 include/sound/pcm_oss.h char *buffer; /* vmallocated period */ buffer 57 include/sound/rawmidi.h unsigned char *buffer; /* buffer for MIDI data */ buffer 149 include/sound/rawmidi.h const unsigned char *buffer, int count); buffer 152 include/sound/rawmidi.h unsigned char *buffer, int count); buffer 155 include/sound/rawmidi.h unsigned char *buffer, int count); buffer 157 include/sound/rawmidi.h unsigned char *buffer, int count); buffer 108 include/sound/sof/control.h struct sof_ipc_host_buffer buffer; buffer 89 include/sound/sof/info.h struct sof_ipc_host_buffer buffer; buffer 98 include/sound/sof/info.h struct sof_ipc_dma_buffer_elem buffer[]; buffer 32 include/sound/sof/pm.h struct sof_ipc_host_buffer buffer; buffer 76 include/sound/sof/stream.h struct sof_ipc_host_buffer buffer; buffer 25 include/sound/sof/trace.h struct sof_ipc_host_buffer buffer; buffer 32 include/sound/sof/trace.h struct sof_ipc_host_buffer buffer; buffer 300 include/uapi/drm/r128_drm.h unsigned int __user *buffer; buffer 575 include/uapi/drm/vmwgfx_drm.h __u64 buffer; buffer 132 include/uapi/linux/android/binder.h binder_uintptr_t buffer; buffer 280 include/uapi/linux/android/binder.h binder_uintptr_t buffer; buffer 162 include/uapi/linux/atmdev.h void __user *buffer; buffer 285 include/uapi/linux/cdrom.h unsigned char __user *buffer; buffer 858 include/uapi/linux/dvb/frontend.h } buffer; buffer 186 include/uapi/linux/omapfb.h void __user *buffer; buffer 187 include/uapi/linux/pkt_sched.h __u32 buffer; buffer 393 include/uapi/linux/pkt_sched.h __u32 buffer; buffer 52 include/uapi/linux/rio_mport_cdev.h __u64 buffer; /* pointer to data buffer */ buffer 616 include/uapi/linux/soundcard.h unsigned *buffer; buffer 122 include/uapi/linux/usbdevice_fs.h void __user *buffer; buffer 52 include/uapi/sound/compress_offload.h struct snd_compressed_buffer buffer; buffer 906 include/xen/interface/io/sndif.h } buffer; buffer 235 include/xen/interface/memory.h GUEST_HANDLE(void) buffer; buffer 27 ipc/ipc_sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 34 ipc/ipc_sysctl.c return proc_dointvec(&ipc_table, write, buffer, lenp, ppos); buffer 38 ipc/ipc_sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 45 ipc/ipc_sysctl.c return proc_dointvec_minmax(&ipc_table, write, buffer, lenp, ppos); buffer 49 ipc/ipc_sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 52 ipc/ipc_sysctl.c int err = proc_ipc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 62 ipc/ipc_sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 68 ipc/ipc_sysctl.c return proc_doulongvec_minmax(&ipc_table, write, buffer, buffer 73 ipc/ipc_sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 84 ipc/ipc_sysctl.c return proc_dointvec_minmax(&ipc_table, write, buffer, lenp, ppos); buffer 88 ipc/ipc_sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 94 ipc/ipc_sysctl.c ret = proc_ipc_dointvec(table, write, buffer, lenp, ppos); buffer 22 ipc/mq_sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 28 ipc/mq_sysctl.c return proc_dointvec(&mq_table, write, buffer, lenp, ppos); buffer 32 ipc/mq_sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 38 ipc/mq_sysctl.c return proc_dointvec_minmax(&mq_table, write, buffer, buffer 566 ipc/mqueue.c char buffer[FILENT_SIZE]; buffer 570 ipc/mqueue.c snprintf(buffer, sizeof(buffer), buffer 579 ipc/mqueue.c buffer[sizeof(buffer)-1] = '\0'; buffer 581 ipc/mqueue.c ret = simple_read_from_buffer(u_data, count, off, buffer, buffer 582 ipc/mqueue.c strlen(buffer)); buffer 91 kernel/debug/gdbstub.c static void get_packet(char *buffer) buffer 120 kernel/debug/gdbstub.c buffer[count] = ch; buffer 137 kernel/debug/gdbstub.c buffer[count] = 0; buffer 145 kernel/debug/gdbstub.c static void put_packet(char *buffer) buffer 159 kernel/debug/gdbstub.c while ((ch = buffer[count])) { buffer 1117 kernel/debug/gdbstub.c unsigned char checksum, ch, buffer[3]; buffer 1127 kernel/debug/gdbstub.c buffer[0] = 'W'; buffer 1128 kernel/debug/gdbstub.c buffer[1] = hex_asc_hi(status); buffer 1129 kernel/debug/gdbstub.c buffer[2] = hex_asc_lo(status); buffer 1135 kernel/debug/gdbstub.c ch = buffer[loop]; buffer 84 kernel/debug/kdb/kdb_bt.c char buffer[2]; buffer 85 kernel/debug/kdb/kdb_bt.c if (kdb_getarea(buffer[0], (unsigned long)p) || buffer 86 kernel/debug/kdb/kdb_bt.c kdb_getarea(buffer[0], (unsigned long)(p+1)-1)) buffer 94 kernel/debug/kdb/kdb_bt.c kdb_getstr(buffer, sizeof(buffer), buffer 96 kernel/debug/kdb/kdb_bt.c if (buffer[0] == 'q') { buffer 35 kernel/debug/kdb/kdb_io.c static int kgdb_transition_check(char *buffer) buffer 37 kernel/debug/kdb/kdb_io.c if (buffer[0] != '+' && buffer[0] != '$') { buffer 39 kernel/debug/kdb/kdb_io.c kdb_printf("%s", buffer); buffer 41 kernel/debug/kdb/kdb_io.c int slen = strlen(buffer); buffer 42 kernel/debug/kdb/kdb_io.c if (slen > 3 && buffer[slen - 3] == '#') { buffer 43 kernel/debug/kdb/kdb_io.c kdb_gdb_state_pass(buffer); buffer 44 kernel/debug/kdb/kdb_io.c strcpy(buffer, "kgdb"); buffer 52 kernel/debug/kdb/kdb_io.c static int kdb_read_get_key(char *buffer, size_t bufsize) buffer 90 kernel/debug/kdb/kdb_io.c *buffer++ = key; buffer 91 kernel/debug/kdb/kdb_io.c *buffer = '\0'; buffer 204 kernel/debug/kdb/kdb_io.c static char *kdb_read(char *buffer, size_t bufsize) buffer 206 kernel/debug/kdb/kdb_io.c char *cp = buffer; buffer 207 kernel/debug/kdb/kdb_io.c char *bufend = buffer+bufsize-2; /* Reserve space for newline buffer 213 kernel/debug/kdb/kdb_io.c int len = strlen(buffer); buffer 228 kernel/debug/kdb/kdb_io.c if (*(buffer+len-1) == '\n') buffer 234 kernel/debug/kdb/kdb_io.c kdb_printf("%s", buffer); buffer 236 kernel/debug/kdb/kdb_io.c key = kdb_read_get_key(buffer, bufsize); buffer 238 kernel/debug/kdb/kdb_io.c return buffer; buffer 243 kernel/debug/kdb/kdb_io.c if (cp > buffer) { buffer 254 kernel/debug/kdb/kdb_io.c kdb_printf("%s", buffer); buffer 263 kernel/debug/kdb/kdb_io.c kdb_printf("%s", buffer); buffer 266 kernel/debug/kdb/kdb_io.c return buffer; buffer 276 kernel/debug/kdb/kdb_io.c kdb_printf("%s", buffer); buffer 281 kernel/debug/kdb/kdb_io.c if (cp > buffer) { buffer 284 kernel/debug/kdb/kdb_io.c cp = buffer; buffer 294 kernel/debug/kdb/kdb_io.c if (cp > buffer) { buffer 301 kernel/debug/kdb/kdb_io.c strlen(kdb_prompt_str) + (lastchar-buffer)); buffer 303 kernel/debug/kdb/kdb_io.c (lastchar-buffer)) = '\0'; buffer 316 kernel/debug/kdb/kdb_io.c strlen(kdb_prompt_str) + (lastchar-buffer)); buffer 318 kernel/debug/kdb/kdb_io.c (lastchar-buffer)) = '\0'; buffer 326 kernel/debug/kdb/kdb_io.c p_tmp = buffer; buffer 365 kernel/debug/kdb/kdb_io.c kdb_printf("%s", buffer); buffer 390 kernel/debug/kdb/kdb_io.c kdb_printf("%s", buffer); buffer 400 kernel/debug/kdb/kdb_io.c if (kgdb_transition_check(buffer)) buffer 401 kernel/debug/kdb/kdb_io.c return buffer; buffer 407 kernel/debug/kdb/kdb_io.c if (lastchar - buffer >= 5 && buffer 410 kernel/debug/kdb/kdb_io.c strcpy(buffer, "kgdb"); buffer 412 kernel/debug/kdb/kdb_io.c return buffer; buffer 414 kernel/debug/kdb/kdb_io.c if (lastchar - buffer >= 11 && buffer 417 kernel/debug/kdb/kdb_io.c strcpy(buffer, "kgdb"); buffer 419 kernel/debug/kdb/kdb_io.c return buffer; buffer 446 kernel/debug/kdb/kdb_io.c char *kdb_getstr(char *buffer, size_t bufsize, const char *prompt) buffer 452 kernel/debug/kdb/kdb_io.c return kdb_read(buffer, bufsize); buffer 417 kernel/dma/swiotlb.c char *buffer; buffer 425 kernel/dma/swiotlb.c buffer = kmap_atomic(pfn_to_page(pfn)); buffer 427 kernel/dma/swiotlb.c memcpy(vaddr, buffer + offset, sz); buffer 429 kernel/dma/swiotlb.c memcpy(buffer + offset, vaddr, sz); buffer 430 kernel/dma/swiotlb.c kunmap_atomic(buffer); buffer 239 kernel/events/callchain.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 246 kernel/events/callchain.c ret = proc_dointvec_minmax(&new_table, write, buffer, lenp, ppos); buffer 442 kernel/events/core.c void __user *buffer, size_t *lenp, buffer 453 kernel/events/core.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 467 kernel/events/core.c void __user *buffer, size_t *lenp, buffer 470 kernel/events/core.c int ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 239 kernel/fail_function.c static ssize_t fei_write(struct file *file, const char __user *buffer, buffer 254 kernel/fail_function.c if (copy_from_user(buf, buffer, count)) { buffer 2955 kernel/fork.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2968 kernel/fork.c ret = proc_dointvec_minmax(&t, write, buffer, lenp, ppos); buffer 390 kernel/gcov/clang.c void *buffer; buffer 406 kernel/gcov/clang.c static size_t store_gcov_u32(void *buffer, size_t off, u32 v) buffer 410 kernel/gcov/clang.c if (buffer) { buffer 411 kernel/gcov/clang.c data = buffer + off; buffer 430 kernel/gcov/clang.c static size_t store_gcov_u64(void *buffer, size_t off, u64 v) buffer 434 kernel/gcov/clang.c if (buffer) { buffer 435 kernel/gcov/clang.c data = buffer + off; buffer 451 kernel/gcov/clang.c static size_t convert_to_gcda(char *buffer, struct gcov_info *info) buffer 457 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, GCOV_DATA_MAGIC); buffer 458 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, info->version); buffer 459 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, info->checksum); buffer 468 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, GCOV_TAG_FUNCTION); buffer 469 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, len); buffer 470 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, fi_ptr->ident); buffer 471 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, fi_ptr->checksum); buffer 473 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, fi_ptr->cfg_checksum); buffer 475 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, GCOV_TAG_COUNTER_BASE); buffer 476 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, fi_ptr->num_counters * 2); buffer 478 kernel/gcov/clang.c pos += store_gcov_u64(buffer, pos, fi_ptr->counters[i]); buffer 501 kernel/gcov/clang.c iter->buffer = vmalloc(iter->size); buffer 502 kernel/gcov/clang.c if (!iter->buffer) buffer 505 kernel/gcov/clang.c convert_to_gcda(iter->buffer, info); buffer 521 kernel/gcov/clang.c vfree(iter->buffer); buffer 578 kernel/gcov/clang.c seq_write(seq, iter->buffer + iter->pos, len); buffer 377 kernel/gcov/gcc_4_7.c void *buffer; buffer 393 kernel/gcov/gcc_4_7.c static size_t store_gcov_u32(void *buffer, size_t off, u32 v) buffer 397 kernel/gcov/gcc_4_7.c if (buffer) { buffer 398 kernel/gcov/gcc_4_7.c data = buffer + off; buffer 417 kernel/gcov/gcc_4_7.c static size_t store_gcov_u64(void *buffer, size_t off, u64 v) buffer 421 kernel/gcov/gcc_4_7.c if (buffer) { buffer 422 kernel/gcov/gcc_4_7.c data = buffer + off; buffer 438 kernel/gcov/gcc_4_7.c static size_t convert_to_gcda(char *buffer, struct gcov_info *info) buffer 448 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, GCOV_DATA_MAGIC); buffer 449 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, info->version); buffer 450 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, info->stamp); buffer 456 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, GCOV_TAG_FUNCTION); buffer 457 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, GCOV_TAG_FUNCTION_LENGTH); buffer 458 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, fi_ptr->ident); buffer 459 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, fi_ptr->lineno_checksum); buffer 460 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, fi_ptr->cfg_checksum); buffer 469 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, buffer 471 kernel/gcov/gcc_4_7.c pos += store_gcov_u32(buffer, pos, ci_ptr->num * 2); buffer 474 kernel/gcov/gcc_4_7.c pos += store_gcov_u64(buffer, pos, buffer 502 kernel/gcov/gcc_4_7.c iter->buffer = vmalloc(iter->size); buffer 503 kernel/gcov/gcc_4_7.c if (!iter->buffer) buffer 506 kernel/gcov/gcc_4_7.c convert_to_gcda(iter->buffer, info); buffer 522 kernel/gcov/gcc_4_7.c vfree(iter->buffer); buffer 579 kernel/gcov/gcc_4_7.c seq_write(seq, iter->buffer + iter->pos, len); buffer 222 kernel/hung_task.c void __user *buffer, buffer 227 kernel/hung_task.c ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 138 kernel/irq/proc.c const char __user *buffer, size_t count, loff_t *pos) buffer 151 kernel/irq/proc.c err = cpumask_parselist_user(buffer, count, new_value); buffer 153 kernel/irq/proc.c err = cpumask_parse_user(buffer, count, new_value); buffer 180 kernel/irq/proc.c const char __user *buffer, size_t count, loff_t *pos) buffer 182 kernel/irq/proc.c return write_irq_affinity(0, file, buffer, count, pos); buffer 186 kernel/irq/proc.c const char __user *buffer, size_t count, loff_t *pos) buffer 188 kernel/irq/proc.c return write_irq_affinity(1, file, buffer, count, pos); buffer 236 kernel/irq/proc.c const char __user *buffer, size_t count, loff_t *ppos) buffer 244 kernel/irq/proc.c err = cpumask_parse_user(buffer, count, new_value); buffer 317 kernel/irq/timings.c static int irq_timings_next_event_index(int *buffer, size_t len, int period_max) buffer 325 kernel/irq/timings.c buffer = &buffer[len - (period_max * 3)]; buffer 354 kernel/irq/timings.c while (!memcmp(buffer, &buffer[idx], size * sizeof(int))) { buffer 367 kernel/irq/timings.c return buffer[len % period]; buffer 710 kernel/irq/timings.c int buffer[IRQ_TIMINGS_SIZE]; buffer 737 kernel/irq/timings.c buffer[i] = _buffer[index]; buffer 740 kernel/irq/timings.c index = irq_timings_next_event_index(buffer, count, period_max); buffer 355 kernel/kallsyms.c static int __sprint_symbol(char *buffer, unsigned long address, buffer 364 kernel/kallsyms.c name = kallsyms_lookup(address, &size, &offset, &modname, buffer); buffer 366 kernel/kallsyms.c return sprintf(buffer, "0x%lx", address - symbol_offset); buffer 368 kernel/kallsyms.c if (name != buffer) buffer 369 kernel/kallsyms.c strcpy(buffer, name); buffer 370 kernel/kallsyms.c len = strlen(buffer); buffer 374 kernel/kallsyms.c len += sprintf(buffer + len, "+%#lx/%#lx", offset, size); buffer 377 kernel/kallsyms.c len += sprintf(buffer + len, " [%s]", modname); buffer 393 kernel/kallsyms.c int sprint_symbol(char *buffer, unsigned long address) buffer 395 kernel/kallsyms.c return __sprint_symbol(buffer, address, 0, 1); buffer 410 kernel/kallsyms.c int sprint_symbol_no_offset(char *buffer, unsigned long address) buffer 412 kernel/kallsyms.c return __sprint_symbol(buffer, address, 0, 0); buffer 430 kernel/kallsyms.c int sprint_backtrace(char *buffer, unsigned long address) buffer 432 kernel/kallsyms.c return __sprint_symbol(buffer, address, -1, 1); buffer 306 kernel/kexec_elf.c elf_info->buffer = buf; buffer 411 kernel/kexec_elf.c kbuf->buffer = (void *) elf_info->buffer + phdr->p_offset; buffer 697 kernel/kexec_file.c ksegment->kbuf = kbuf->buffer; buffer 866 kernel/kexec_file.c kbuf->buffer = vzalloc(kbuf->bufsz); buffer 867 kernel/kexec_file.c if (!kbuf->buffer) buffer 869 kernel/kexec_file.c pi->purgatory_buf = kbuf->buffer; buffer 895 kernel/kprobes.c void __user *buffer, size_t *length, buffer 902 kernel/kprobes.c ret = proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 273 kernel/latencytop.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 277 kernel/latencytop.c err = proc_dointvec(table, write, buffer, lenp, ppos); buffer 779 kernel/module.c struct module_kobject *mk, char *buffer) \ buffer 781 kernel/module.c return scnprintf(buffer, PAGE_SIZE, "%s\n", mk->mod->field); \ buffer 1106 kernel/module.c struct module_kobject *mk, char *buffer) buffer 1108 kernel/module.c return sprintf(buffer, "%i\n", module_refcount(mk->mod)); buffer 1195 kernel/module.c struct module_kobject *mk, char *buffer) buffer 1212 kernel/module.c return sprintf(buffer, "%s\n", state); buffer 1220 kernel/module.c const char *buffer, size_t count) buffer 1224 kernel/module.c rc = kobject_synth_uevent(&mk->kobj, buffer, count); buffer 1232 kernel/module.c struct module_kobject *mk, char *buffer) buffer 1234 kernel/module.c return sprintf(buffer, "%u\n", mk->mod->core_layout.size); buffer 1241 kernel/module.c struct module_kobject *mk, char *buffer) buffer 1243 kernel/module.c return sprintf(buffer, "%u\n", mk->mod->init_layout.size); buffer 1250 kernel/module.c struct module_kobject *mk, char *buffer) buffer 1254 kernel/module.c l = module_flags_taint(mk->mod, buffer); buffer 1255 kernel/module.c buffer[l++] = '\n'; buffer 222 kernel/params.c int param_get_##name(char *buffer, const struct kernel_param *kp) \ buffer 224 kernel/params.c return scnprintf(buffer, PAGE_SIZE, format "\n", \ buffer 268 kernel/params.c int param_get_charp(char *buffer, const struct kernel_param *kp) buffer 270 kernel/params.c return scnprintf(buffer, PAGE_SIZE, "%s\n", *((char **)kp->arg)); buffer 298 kernel/params.c int param_get_bool(char *buffer, const struct kernel_param *kp) buffer 301 kernel/params.c return sprintf(buffer, "%c\n", *(bool *)kp->arg ? 'Y' : 'N'); buffer 358 kernel/params.c int param_get_invbool(char *buffer, const struct kernel_param *kp) buffer 360 kernel/params.c return sprintf(buffer, "%c\n", (*(bool *)kp->arg) ? 'N' : 'Y'); buffer 453 kernel/params.c static int param_array_get(char *buffer, const struct kernel_param *kp) buffer 462 kernel/params.c buffer[off - 1] = ','; buffer 465 kernel/params.c ret = arr->ops->get(buffer + off, &p); buffer 470 kernel/params.c buffer[off] = '\0'; buffer 505 kernel/params.c int param_get_string(char *buffer, const struct kernel_param *kp) buffer 508 kernel/params.c return scnprintf(buffer, PAGE_SIZE, "%s\n", kps->string); buffer 268 kernel/pid_namespace.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 286 kernel/pid_namespace.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 135 kernel/power/power.h void *buffer; /* address of the block to read from buffer 148 kernel/power/power.h #define data_of(handle) ((handle).buffer) buffer 134 kernel/power/snapshot.c static void *buffer; buffer 1391 kernel/power/snapshot.c safe_copy_page(buffer, s_page); buffer 1393 kernel/power/snapshot.c copy_page(dst, buffer); buffer 1504 kernel/power/snapshot.c buffer = NULL; buffer 1900 kernel/power/snapshot.c buffer = get_image_page(GFP_ATOMIC, safe_needed); buffer 1901 kernel/power/snapshot.c return buffer ? 0 : -ENOMEM; buffer 2100 kernel/power/snapshot.c if (!buffer) { buffer 2102 kernel/power/snapshot.c buffer = get_image_page(GFP_ATOMIC, PG_ANY); buffer 2103 kernel/power/snapshot.c if (!buffer) buffer 2109 kernel/power/snapshot.c error = init_header((struct swsusp_info *)buffer); buffer 2112 kernel/power/snapshot.c handle->buffer = buffer; buffer 2116 kernel/power/snapshot.c clear_page(buffer); buffer 2117 kernel/power/snapshot.c pack_pfns(buffer, &orig_bm); buffer 2131 kernel/power/snapshot.c copy_page(buffer, kaddr); buffer 2133 kernel/power/snapshot.c handle->buffer = buffer; buffer 2135 kernel/power/snapshot.c handle->buffer = page_address(page); buffer 2364 kernel/power/snapshot.c return buffer; buffer 2380 kernel/power/snapshot.c kaddr = buffer; buffer 2409 kernel/power/snapshot.c copy_page(dst, buffer); buffer 2425 kernel/power/snapshot.c if (buffer) buffer 2426 kernel/power/snapshot.c free_image_page(buffer, PG_UNSAFE_CLEAR); buffer 2469 kernel/power/snapshot.c free_image_page(buffer, PG_UNSAFE_CLEAR); buffer 2470 kernel/power/snapshot.c buffer = NULL; buffer 2603 kernel/power/snapshot.c if (!buffer) buffer 2605 kernel/power/snapshot.c buffer = get_image_page(GFP_ATOMIC, PG_ANY); buffer 2607 kernel/power/snapshot.c if (!buffer) buffer 2610 kernel/power/snapshot.c handle->buffer = buffer; buffer 2612 kernel/power/snapshot.c error = load_header(buffer); buffer 2629 kernel/power/snapshot.c error = unpack_orig_pfns(buffer, ©_bm); buffer 2641 kernel/power/snapshot.c handle->buffer = get_buffer(&orig_bm, &ca); buffer 2643 kernel/power/snapshot.c if (IS_ERR(handle->buffer)) buffer 2644 kernel/power/snapshot.c return PTR_ERR(handle->buffer); buffer 2649 kernel/power/snapshot.c page_key_write(handle->buffer); buffer 2650 kernel/power/snapshot.c hibernate_restore_protect_page(handle->buffer); buffer 2651 kernel/power/snapshot.c handle->buffer = get_buffer(&orig_bm, &ca); buffer 2652 kernel/power/snapshot.c if (IS_ERR(handle->buffer)) buffer 2653 kernel/power/snapshot.c return PTR_ERR(handle->buffer); buffer 2654 kernel/power/snapshot.c if (handle->buffer != buffer) buffer 2673 kernel/power/snapshot.c page_key_write(handle->buffer); buffer 2675 kernel/power/snapshot.c hibernate_restore_protect_page(handle->buffer); buffer 176 kernel/printk/printk.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 190 kernel/printk/printk.c err = proc_dostring(table, write, buffer, lenp, ppos); buffer 40 kernel/printk/printk_safe.c unsigned char buffer[SAFE_LOG_BUF_LEN]; buffer 78 kernel/printk/printk_safe.c if (len >= sizeof(s->buffer) - 1) { buffer 92 kernel/printk/printk_safe.c add = vscnprintf(s->buffer + len, sizeof(s->buffer) - len, fmt, ap); buffer 208 kernel/printk/printk_safe.c if ((i && i >= len) || len > sizeof(s->buffer)) { buffer 220 kernel/printk/printk_safe.c i += printk_safe_flush_buffer(s->buffer + i, len - i); buffer 428 kernel/profile.c const char __user *buffer, size_t count, loff_t *pos) buffer 436 kernel/profile.c err = cpumask_parse_user(buffer, count, new_value); buffer 314 kernel/reboot.c char buffer[256]; buffer 369 kernel/reboot.c ret = strncpy_from_user(&buffer[0], arg, sizeof(buffer) - 1); buffer 374 kernel/reboot.c buffer[sizeof(buffer) - 1] = '\0'; buffer 376 kernel/reboot.c kernel_restart(buffer); buffer 1123 kernel/relay.c char __user *buffer, buffer 1150 kernel/relay.c if (copy_to_user(buffer, from, avail)) buffer 1153 kernel/relay.c buffer += ret; buffer 1114 kernel/sched/core.c void __user *buffer, size_t *lenp, buffer 1125 kernel/sched/core.c result = proc_dointvec(table, write, buffer, lenp, ppos); buffer 2734 kernel/sched/core.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2745 kernel/sched/core.c err = proc_dointvec_minmax(&t, write, buffer, lenp, ppos); buffer 2809 kernel/sched/core.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2820 kernel/sched/core.c err = proc_dointvec_minmax(&t, write, buffer, lenp, ppos); buffer 636 kernel/sched/fair.c void __user *buffer, size_t *lenp, buffer 639 kernel/sched/fair.c int ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 2650 kernel/sched/rt.c void __user *buffer, size_t *lenp, buffer 2661 kernel/sched/rt.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 2690 kernel/sched/rt.c void __user *buffer, size_t *lenp, buffer 2697 kernel/sched/rt.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 212 kernel/sched/topology.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 219 kernel/sched/topology.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 1679 kernel/seccomp.c static int read_actions_logged(struct ctl_table *ro_table, void __user *buffer, buffer 1694 kernel/seccomp.c return proc_dostring(&table, 0, buffer, lenp, ppos); buffer 1697 kernel/seccomp.c static int write_actions_logged(struct ctl_table *ro_table, void __user *buffer, buffer 1712 kernel/seccomp.c ret = proc_dostring(&table, 1, buffer, lenp, ppos); buffer 1759 kernel/seccomp.c void __user *buffer, size_t *lenp, buffer 1768 kernel/seccomp.c ret = write_actions_logged(ro_table, buffer, lenp, ppos, buffer 1772 kernel/seccomp.c ret = read_actions_logged(ro_table, buffer, lenp, ppos); buffer 23 kernel/stackleak.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 31 kernel/stackleak.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 212 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos); buffer 214 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos); buffer 219 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos); buffer 223 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos); buffer 226 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos); buffer 229 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos); buffer 236 kernel/sysctl.c void __user *buffer, size_t *lenp, buffer 241 kernel/sysctl.c error = proc_dointvec(table, write, buffer, lenp, ppos); buffer 2001 kernel/sysctl.c char __user *buffer, buffer 2029 kernel/sysctl.c p = buffer; buffer 2030 kernel/sysctl.c while ((p - buffer) < *lenp && len < maxlen - 1) { buffer 2054 kernel/sysctl.c if (copy_to_user(buffer, data, len)) buffer 2057 kernel/sysctl.c if (put_user('\n', buffer + len)) buffer 2119 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2125 kernel/sysctl.c (char __user *)buffer, lenp, ppos); buffer 2280 kernel/sysctl.c char __user **buffer = (char __user **)buf; buffer 2281 kernel/sysctl.c if (put_user(c, *buffer)) buffer 2283 kernel/sysctl.c (*size)--, (*buffer)++; buffer 2284 kernel/sysctl.c *buf = *buffer; buffer 2334 kernel/sysctl.c int write, void __user *buffer, buffer 2362 kernel/sysctl.c p = kbuf = memdup_user_nul(buffer, left); buffer 2391 kernel/sysctl.c err = proc_put_char(&buffer, &left, '\t'); buffer 2394 kernel/sysctl.c err = proc_put_long(&buffer, &left, lval, neg); buffer 2401 kernel/sysctl.c err = proc_put_char(&buffer, &left, '\n'); buffer 2416 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos, buffer 2422 kernel/sysctl.c buffer, lenp, ppos, conv, data); buffer 2427 kernel/sysctl.c void __user *buffer, buffer 2448 kernel/sysctl.c p = kbuf = memdup_user_nul(buffer, left); buffer 2487 kernel/sysctl.c static int do_proc_douintvec_r(unsigned int *tbl_data, void __user *buffer, buffer 2505 kernel/sysctl.c err = proc_put_long(&buffer, &left, lval, false); buffer 2509 kernel/sysctl.c err = proc_put_char(&buffer, &left, '\n'); buffer 2519 kernel/sysctl.c int write, void __user *buffer, buffer 2549 kernel/sysctl.c return do_proc_douintvec_w(i, table, buffer, lenp, ppos, buffer 2551 kernel/sysctl.c return do_proc_douintvec_r(i, buffer, lenp, ppos, conv, data); buffer 2555 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos, buffer 2562 kernel/sysctl.c buffer, lenp, ppos, conv, data); buffer 2579 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2581 kernel/sysctl.c return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL); buffer 2598 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2600 kernel/sysctl.c return do_proc_douintvec(table, write, buffer, lenp, ppos, buffer 2609 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2620 kernel/sysctl.c err = proc_doulongvec_minmax(&t, write, buffer, lenp, ppos); buffer 2641 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2646 kernel/sysctl.c return proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 2707 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2713 kernel/sysctl.c return do_proc_dointvec(table, write, buffer, lenp, ppos, buffer 2776 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2782 kernel/sysctl.c return do_proc_douintvec(table, write, buffer, lenp, ppos, buffer 2807 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2809 kernel/sysctl.c return do_proc_douintvec(table, write, buffer, lenp, ppos, buffer 2828 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2830 kernel/sysctl.c int error = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 2838 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2840 kernel/sysctl.c int error = proc_dostring(table, write, buffer, lenp, ppos); buffer 2848 kernel/sysctl.c void __user *buffer, buffer 2875 kernel/sysctl.c p = kbuf = memdup_user_nul(buffer, left); buffer 2906 kernel/sysctl.c err = proc_put_char(&buffer, &left, '\t'); buffer 2910 kernel/sysctl.c err = proc_put_long(&buffer, &left, val, false); buffer 2917 kernel/sysctl.c err = proc_put_char(&buffer, &left, '\n'); buffer 2932 kernel/sysctl.c void __user *buffer, buffer 2938 kernel/sysctl.c buffer, lenp, ppos, convmul, convdiv); buffer 2958 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2960 kernel/sysctl.c return do_proc_doulongvec_minmax(table, write, buffer, lenp, ppos, 1l, 1l); buffer 2981 kernel/sysctl.c void __user *buffer, buffer 2984 kernel/sysctl.c return do_proc_doulongvec_minmax(table, write, buffer, buffer 3076 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3078 kernel/sysctl.c return do_proc_dointvec(table,write,buffer,lenp,ppos, buffer 3098 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3100 kernel/sysctl.c return do_proc_dointvec(table,write,buffer,lenp,ppos, buffer 3121 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3123 kernel/sysctl.c return do_proc_dointvec(table, write, buffer, lenp, ppos, buffer 3128 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3136 kernel/sysctl.c r = __do_proc_dointvec(&tmp, table, write, buffer, buffer 3167 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3192 kernel/sysctl.c p = kbuf = memdup_user_nul(buffer, left); buffer 3277 kernel/sysctl.c err = proc_put_char(&buffer, &left, ','); buffer 3281 kernel/sysctl.c err = proc_put_long(&buffer, &left, bit_a, false); buffer 3285 kernel/sysctl.c err = proc_put_char(&buffer, &left, '-'); buffer 3288 kernel/sysctl.c err = proc_put_long(&buffer, &left, bit_b, false); buffer 3296 kernel/sysctl.c err = proc_put_char(&buffer, &left, '\n'); buffer 3317 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3323 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3329 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3335 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3341 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3347 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3353 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3359 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3365 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3371 kernel/sysctl.c void __user *buffer, buffer 3378 kernel/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3387 kernel/sysctl.c void __user *buffer, size_t *lenp, buffer 3406 kernel/sysctl.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 960 kernel/sysctl_binary.c char *buffer; buffer 964 kernel/sysctl_binary.c buffer = kmalloc(BUFSZ, GFP_KERNEL); buffer 965 kernel/sysctl_binary.c if (!buffer) buffer 975 kernel/sysctl_binary.c result = kernel_read(file, buffer, BUFSZ - 1, &pos); buffer 979 kernel/sysctl_binary.c str = buffer; buffer 1006 kernel/sysctl_binary.c str = buffer; buffer 1018 kernel/sysctl_binary.c result = kernel_write(file, buffer, str - buffer, &pos); buffer 1024 kernel/sysctl_binary.c kfree(buffer); buffer 1033 kernel/sysctl_binary.c char *buffer; buffer 1037 kernel/sysctl_binary.c buffer = kmalloc(BUFSZ, GFP_KERNEL); buffer 1038 kernel/sysctl_binary.c if (!buffer) buffer 1048 kernel/sysctl_binary.c result = kernel_read(file, buffer, BUFSZ - 1, &pos); buffer 1052 kernel/sysctl_binary.c str = buffer; buffer 1079 kernel/sysctl_binary.c str = buffer; buffer 1091 kernel/sysctl_binary.c result = kernel_write(file, buffer, str - buffer, &pos); buffer 1097 kernel/sysctl_binary.c kfree(buffer); buffer 252 kernel/time/timer.c void __user *buffer, size_t *lenp, buffer 258 kernel/time/timer.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 72 kernel/trace/blktrace.c struct ring_buffer *buffer = NULL; buffer 79 kernel/trace/blktrace.c buffer = blk_tr->trace_buffer.buffer; buffer 81 kernel/trace/blktrace.c event = trace_buffer_lock_reserve(buffer, TRACE_BLK, buffer 108 kernel/trace/blktrace.c trace_buffer_unlock_commit(blk_tr, buffer, event, 0, pc); buffer 219 kernel/trace/blktrace.c struct ring_buffer *buffer = NULL; buffer 252 kernel/trace/blktrace.c buffer = blk_tr->trace_buffer.buffer; buffer 254 kernel/trace/blktrace.c event = trace_buffer_lock_reserve(buffer, TRACE_BLK, buffer 302 kernel/trace/blktrace.c trace_buffer_unlock_commit(blk_tr, buffer, event, 0, pc); buffer 370 kernel/trace/blktrace.c static ssize_t blk_dropped_read(struct file *filp, char __user *buffer, buffer 378 kernel/trace/blktrace.c return simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); buffer 388 kernel/trace/blktrace.c static ssize_t blk_msg_write(struct file *filp, const char __user *buffer, buffer 397 kernel/trace/blktrace.c msg = memdup_user_nul(buffer, count); buffer 4702 kernel/trace/ftrace.c ret = ftrace_process_regex(iter, parser->buffer, buffer 4941 kernel/trace/ftrace.c static int ftrace_graph_set_hash(struct ftrace_hash *hash, char *buffer); buffer 5036 kernel/trace/ftrace.c ftrace_match_records(iter->hash, parser->buffer, parser->idx); buffer 5356 kernel/trace/ftrace.c parser->buffer); buffer 5402 kernel/trace/ftrace.c ftrace_graph_set_hash(struct ftrace_hash *hash, char *buffer) buffer 5412 kernel/trace/ftrace.c func_g.type = filter_parse_regex(buffer, strlen(buffer), buffer 5481 kernel/trace/ftrace.c parser->buffer); buffer 6767 kernel/trace/ftrace.c void __user *buffer, size_t *lenp, buffer 6777 kernel/trace/ftrace.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 270 kernel/trace/ring_buffer.c #define for_each_buffer_cpu(buffer, cpu) \ buffer 271 kernel/trace/ring_buffer.c for_each_cpu(cpu, buffer->cpumask) buffer 446 kernel/trace/ring_buffer.c struct ring_buffer *buffer; buffer 521 kernel/trace/ring_buffer.c size_t ring_buffer_nr_pages(struct ring_buffer *buffer, int cpu) buffer 523 kernel/trace/ring_buffer.c return buffer->buffers[cpu]->nr_pages; buffer 533 kernel/trace/ring_buffer.c size_t ring_buffer_nr_dirty_pages(struct ring_buffer *buffer, int cpu) buffer 538 kernel/trace/ring_buffer.c read = local_read(&buffer->buffers[cpu]->pages_read); buffer 539 kernel/trace/ring_buffer.c cnt = local_read(&buffer->buffers[cpu]->pages_touched); buffer 576 kernel/trace/ring_buffer.c int ring_buffer_wait(struct ring_buffer *buffer, int cpu, int full) buffer 589 kernel/trace/ring_buffer.c work = &buffer->irq_work; buffer 593 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 595 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 636 kernel/trace/ring_buffer.c if (cpu == RING_BUFFER_ALL_CPUS && !ring_buffer_empty(buffer)) buffer 640 kernel/trace/ring_buffer.c !ring_buffer_empty_cpu(buffer, cpu)) { buffer 652 kernel/trace/ring_buffer.c dirty = ring_buffer_nr_dirty_pages(buffer, cpu); buffer 687 kernel/trace/ring_buffer.c __poll_t ring_buffer_poll_wait(struct ring_buffer *buffer, int cpu, buffer 694 kernel/trace/ring_buffer.c work = &buffer->irq_work; buffer 696 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 699 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 720 kernel/trace/ring_buffer.c if ((cpu == RING_BUFFER_ALL_CPUS && !ring_buffer_empty(buffer)) || buffer 721 kernel/trace/ring_buffer.c (cpu != RING_BUFFER_ALL_CPUS && !ring_buffer_empty_cpu(buffer, cpu))) buffer 734 kernel/trace/ring_buffer.c atomic_inc(&__b->buffer->record_disabled); \ buffer 745 kernel/trace/ring_buffer.c static inline u64 rb_time_stamp(struct ring_buffer *buffer) buffer 748 kernel/trace/ring_buffer.c return buffer->clock() << DEBUG_SHIFT; buffer 751 kernel/trace/ring_buffer.c u64 ring_buffer_time_stamp(struct ring_buffer *buffer, int cpu) buffer 756 kernel/trace/ring_buffer.c time = rb_time_stamp(buffer); buffer 763 kernel/trace/ring_buffer.c void ring_buffer_normalize_time_stamp(struct ring_buffer *buffer, buffer 1286 kernel/trace/ring_buffer.c rb_allocate_cpu_buffer(struct ring_buffer *buffer, long nr_pages, int cpu) buffer 1299 kernel/trace/ring_buffer.c cpu_buffer->buffer = buffer; buffer 1301 kernel/trace/ring_buffer.c lockdep_set_class(&cpu_buffer->reader_lock, buffer->reader_lock_key); buffer 1380 kernel/trace/ring_buffer.c struct ring_buffer *buffer; buffer 1387 kernel/trace/ring_buffer.c buffer = kzalloc(ALIGN(sizeof(*buffer), cache_line_size()), buffer 1389 kernel/trace/ring_buffer.c if (!buffer) buffer 1392 kernel/trace/ring_buffer.c if (!zalloc_cpumask_var(&buffer->cpumask, GFP_KERNEL)) buffer 1396 kernel/trace/ring_buffer.c buffer->flags = flags; buffer 1397 kernel/trace/ring_buffer.c buffer->clock = trace_clock_local; buffer 1398 kernel/trace/ring_buffer.c buffer->reader_lock_key = key; buffer 1400 kernel/trace/ring_buffer.c init_irq_work(&buffer->irq_work.work, rb_wake_up_waiters); buffer 1401 kernel/trace/ring_buffer.c init_waitqueue_head(&buffer->irq_work.waiters); buffer 1407 kernel/trace/ring_buffer.c buffer->cpus = nr_cpu_ids; buffer 1410 kernel/trace/ring_buffer.c buffer->buffers = kzalloc(ALIGN(bsize, cache_line_size()), buffer 1412 kernel/trace/ring_buffer.c if (!buffer->buffers) buffer 1416 kernel/trace/ring_buffer.c cpumask_set_cpu(cpu, buffer->cpumask); buffer 1417 kernel/trace/ring_buffer.c buffer->buffers[cpu] = rb_allocate_cpu_buffer(buffer, nr_pages, cpu); buffer 1418 kernel/trace/ring_buffer.c if (!buffer->buffers[cpu]) buffer 1421 kernel/trace/ring_buffer.c ret = cpuhp_state_add_instance(CPUHP_TRACE_RB_PREPARE, &buffer->node); buffer 1425 kernel/trace/ring_buffer.c mutex_init(&buffer->mutex); buffer 1427 kernel/trace/ring_buffer.c return buffer; buffer 1430 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) { buffer 1431 kernel/trace/ring_buffer.c if (buffer->buffers[cpu]) buffer 1432 kernel/trace/ring_buffer.c rb_free_cpu_buffer(buffer->buffers[cpu]); buffer 1434 kernel/trace/ring_buffer.c kfree(buffer->buffers); buffer 1437 kernel/trace/ring_buffer.c free_cpumask_var(buffer->cpumask); buffer 1440 kernel/trace/ring_buffer.c kfree(buffer); buffer 1450 kernel/trace/ring_buffer.c ring_buffer_free(struct ring_buffer *buffer) buffer 1454 kernel/trace/ring_buffer.c cpuhp_state_remove_instance(CPUHP_TRACE_RB_PREPARE, &buffer->node); buffer 1456 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) buffer 1457 kernel/trace/ring_buffer.c rb_free_cpu_buffer(buffer->buffers[cpu]); buffer 1459 kernel/trace/ring_buffer.c kfree(buffer->buffers); buffer 1460 kernel/trace/ring_buffer.c free_cpumask_var(buffer->cpumask); buffer 1462 kernel/trace/ring_buffer.c kfree(buffer); buffer 1466 kernel/trace/ring_buffer.c void ring_buffer_set_clock(struct ring_buffer *buffer, buffer 1469 kernel/trace/ring_buffer.c buffer->clock = clock; buffer 1472 kernel/trace/ring_buffer.c void ring_buffer_set_time_stamp_abs(struct ring_buffer *buffer, bool abs) buffer 1474 kernel/trace/ring_buffer.c buffer->time_stamp_abs = abs; buffer 1477 kernel/trace/ring_buffer.c bool ring_buffer_time_stamp_abs(struct ring_buffer *buffer) buffer 1479 kernel/trace/ring_buffer.c return buffer->time_stamp_abs; buffer 1715 kernel/trace/ring_buffer.c int ring_buffer_resize(struct ring_buffer *buffer, unsigned long size, buffer 1725 kernel/trace/ring_buffer.c if (!buffer) buffer 1730 kernel/trace/ring_buffer.c !cpumask_test_cpu(cpu_id, buffer->cpumask)) buffer 1746 kernel/trace/ring_buffer.c if (atomic_read(&buffer->resize_disabled)) buffer 1750 kernel/trace/ring_buffer.c mutex_lock(&buffer->mutex); buffer 1754 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) { buffer 1755 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 1783 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) { buffer 1784 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 1799 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) { buffer 1800 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 1812 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu_id, buffer->cpumask)) buffer 1815 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu_id]; buffer 1854 kernel/trace/ring_buffer.c if (atomic_read(&buffer->record_disabled)) { buffer 1855 kernel/trace/ring_buffer.c atomic_inc(&buffer->record_disabled); buffer 1863 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) { buffer 1864 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 1867 kernel/trace/ring_buffer.c atomic_dec(&buffer->record_disabled); buffer 1870 kernel/trace/ring_buffer.c mutex_unlock(&buffer->mutex); buffer 1874 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) { buffer 1877 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 1889 kernel/trace/ring_buffer.c mutex_unlock(&buffer->mutex); buffer 1894 kernel/trace/ring_buffer.c void ring_buffer_change_overwrite(struct ring_buffer *buffer, int val) buffer 1896 kernel/trace/ring_buffer.c mutex_lock(&buffer->mutex); buffer 1898 kernel/trace/ring_buffer.c buffer->flags |= RB_FL_OVERWRITE; buffer 1900 kernel/trace/ring_buffer.c buffer->flags &= ~RB_FL_OVERWRITE; buffer 1901 kernel/trace/ring_buffer.c mutex_unlock(&buffer->mutex); buffer 2209 kernel/trace/ring_buffer.c struct ring_buffer *buffer = cpu_buffer->buffer; buffer 2252 kernel/trace/ring_buffer.c if (!(buffer->flags & RB_FL_OVERWRITE)) { buffer 2359 kernel/trace/ring_buffer.c bool abs = ring_buffer_time_stamp_abs(cpu_buffer->buffer); buffer 2612 kernel/trace/ring_buffer.c rb_wakeups(struct ring_buffer *buffer, struct ring_buffer_per_cpu *cpu_buffer) buffer 2618 kernel/trace/ring_buffer.c if (buffer->irq_work.waiters_pending) { buffer 2619 kernel/trace/ring_buffer.c buffer->irq_work.waiters_pending = false; buffer 2621 kernel/trace/ring_buffer.c irq_work_queue(&buffer->irq_work.work); buffer 2643 kernel/trace/ring_buffer.c dirty = ring_buffer_nr_dirty_pages(buffer, cpu_buffer->cpu); buffer 2736 kernel/trace/ring_buffer.c void ring_buffer_nest_start(struct ring_buffer *buffer) buffer 2744 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 2756 kernel/trace/ring_buffer.c void ring_buffer_nest_end(struct ring_buffer *buffer) buffer 2763 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 2778 kernel/trace/ring_buffer.c int ring_buffer_unlock_commit(struct ring_buffer *buffer, buffer 2784 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 2788 kernel/trace/ring_buffer.c rb_wakeups(buffer, cpu_buffer); buffer 2843 kernel/trace/ring_buffer.c if (!tail && !ring_buffer_time_stamp_abs(cpu_buffer->buffer)) buffer 2871 kernel/trace/ring_buffer.c rb_reserve_next_event(struct ring_buffer *buffer, buffer 2890 kernel/trace/ring_buffer.c if (unlikely(READ_ONCE(cpu_buffer->buffer) != buffer)) { buffer 2914 kernel/trace/ring_buffer.c info.ts = rb_time_stamp(cpu_buffer->buffer); buffer 2920 kernel/trace/ring_buffer.c if (ring_buffer_time_stamp_abs(buffer)) { buffer 2964 kernel/trace/ring_buffer.c ring_buffer_lock_reserve(struct ring_buffer *buffer, unsigned long length) buffer 2973 kernel/trace/ring_buffer.c if (unlikely(atomic_read(&buffer->record_disabled))) buffer 2978 kernel/trace/ring_buffer.c if (unlikely(!cpumask_test_cpu(cpu, buffer->cpumask))) buffer 2981 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 2992 kernel/trace/ring_buffer.c event = rb_reserve_next_event(buffer, cpu_buffer, length); buffer 3065 kernel/trace/ring_buffer.c void ring_buffer_discard_commit(struct ring_buffer *buffer, buffer 3075 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3082 kernel/trace/ring_buffer.c RB_WARN_ON(buffer, !local_read(&cpu_buffer->committing)); buffer 3116 kernel/trace/ring_buffer.c int ring_buffer_write(struct ring_buffer *buffer, buffer 3128 kernel/trace/ring_buffer.c if (atomic_read(&buffer->record_disabled)) buffer 3133 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3136 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3147 kernel/trace/ring_buffer.c event = rb_reserve_next_event(buffer, cpu_buffer, length); buffer 3157 kernel/trace/ring_buffer.c rb_wakeups(buffer, cpu_buffer); buffer 3196 kernel/trace/ring_buffer.c void ring_buffer_record_disable(struct ring_buffer *buffer) buffer 3198 kernel/trace/ring_buffer.c atomic_inc(&buffer->record_disabled); buffer 3209 kernel/trace/ring_buffer.c void ring_buffer_record_enable(struct ring_buffer *buffer) buffer 3211 kernel/trace/ring_buffer.c atomic_dec(&buffer->record_disabled); buffer 3226 kernel/trace/ring_buffer.c void ring_buffer_record_off(struct ring_buffer *buffer) buffer 3232 kernel/trace/ring_buffer.c rd = atomic_read(&buffer->record_disabled); buffer 3234 kernel/trace/ring_buffer.c } while (atomic_cmpxchg(&buffer->record_disabled, rd, new_rd) != rd); buffer 3249 kernel/trace/ring_buffer.c void ring_buffer_record_on(struct ring_buffer *buffer) buffer 3255 kernel/trace/ring_buffer.c rd = atomic_read(&buffer->record_disabled); buffer 3257 kernel/trace/ring_buffer.c } while (atomic_cmpxchg(&buffer->record_disabled, rd, new_rd) != rd); buffer 3267 kernel/trace/ring_buffer.c bool ring_buffer_record_is_on(struct ring_buffer *buffer) buffer 3269 kernel/trace/ring_buffer.c return !atomic_read(&buffer->record_disabled); buffer 3283 kernel/trace/ring_buffer.c bool ring_buffer_record_is_set_on(struct ring_buffer *buffer) buffer 3285 kernel/trace/ring_buffer.c return !(atomic_read(&buffer->record_disabled) & RB_BUFFER_OFF); buffer 3298 kernel/trace/ring_buffer.c void ring_buffer_record_disable_cpu(struct ring_buffer *buffer, int cpu) buffer 3302 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3305 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3318 kernel/trace/ring_buffer.c void ring_buffer_record_enable_cpu(struct ring_buffer *buffer, int cpu) buffer 3322 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3325 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3348 kernel/trace/ring_buffer.c u64 ring_buffer_oldest_event_ts(struct ring_buffer *buffer, int cpu) buffer 3355 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3358 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3381 kernel/trace/ring_buffer.c unsigned long ring_buffer_bytes_cpu(struct ring_buffer *buffer, int cpu) buffer 3386 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3389 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3401 kernel/trace/ring_buffer.c unsigned long ring_buffer_entries_cpu(struct ring_buffer *buffer, int cpu) buffer 3405 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3408 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3420 kernel/trace/ring_buffer.c unsigned long ring_buffer_overrun_cpu(struct ring_buffer *buffer, int cpu) buffer 3425 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3428 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3443 kernel/trace/ring_buffer.c ring_buffer_commit_overrun_cpu(struct ring_buffer *buffer, int cpu) buffer 3448 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3451 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3465 kernel/trace/ring_buffer.c ring_buffer_dropped_events_cpu(struct ring_buffer *buffer, int cpu) buffer 3470 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3473 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3486 kernel/trace/ring_buffer.c ring_buffer_read_events_cpu(struct ring_buffer *buffer, int cpu) buffer 3490 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 3493 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3505 kernel/trace/ring_buffer.c unsigned long ring_buffer_entries(struct ring_buffer *buffer) buffer 3512 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) { buffer 3513 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3528 kernel/trace/ring_buffer.c unsigned long ring_buffer_overruns(struct ring_buffer *buffer) buffer 3535 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) { buffer 3536 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 3924 kernel/trace/ring_buffer.c ring_buffer_normalize_time_stamp(cpu_buffer->buffer, buffer 3934 kernel/trace/ring_buffer.c ring_buffer_normalize_time_stamp(cpu_buffer->buffer, buffer 3952 kernel/trace/ring_buffer.c struct ring_buffer *buffer; buffer 3961 kernel/trace/ring_buffer.c buffer = cpu_buffer->buffer; buffer 4014 kernel/trace/ring_buffer.c ring_buffer_normalize_time_stamp(cpu_buffer->buffer, buffer 4024 kernel/trace/ring_buffer.c ring_buffer_normalize_time_stamp(buffer, buffer 4080 kernel/trace/ring_buffer.c ring_buffer_peek(struct ring_buffer *buffer, int cpu, u64 *ts, buffer 4083 kernel/trace/ring_buffer.c struct ring_buffer_per_cpu *cpu_buffer = buffer->buffers[cpu]; buffer 4088 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 4144 kernel/trace/ring_buffer.c ring_buffer_consume(struct ring_buffer *buffer, int cpu, u64 *ts, buffer 4156 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 4159 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 4204 kernel/trace/ring_buffer.c ring_buffer_read_prepare(struct ring_buffer *buffer, int cpu, gfp_t flags) buffer 4209 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 4216 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 4220 kernel/trace/ring_buffer.c atomic_inc(&buffer->resize_disabled); buffer 4295 kernel/trace/ring_buffer.c atomic_dec(&cpu_buffer->buffer->resize_disabled); buffer 4335 kernel/trace/ring_buffer.c unsigned long ring_buffer_size(struct ring_buffer *buffer, int cpu) buffer 4343 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 4346 kernel/trace/ring_buffer.c return BUF_PAGE_SIZE * buffer->buffers[cpu]->nr_pages; buffer 4401 kernel/trace/ring_buffer.c void ring_buffer_reset_cpu(struct ring_buffer *buffer, int cpu) buffer 4403 kernel/trace/ring_buffer.c struct ring_buffer_per_cpu *cpu_buffer = buffer->buffers[cpu]; buffer 4406 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 4409 kernel/trace/ring_buffer.c atomic_inc(&buffer->resize_disabled); buffer 4430 kernel/trace/ring_buffer.c atomic_dec(&buffer->resize_disabled); buffer 4438 kernel/trace/ring_buffer.c void ring_buffer_reset(struct ring_buffer *buffer) buffer 4442 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) buffer 4443 kernel/trace/ring_buffer.c ring_buffer_reset_cpu(buffer, cpu); buffer 4451 kernel/trace/ring_buffer.c bool ring_buffer_empty(struct ring_buffer *buffer) buffer 4460 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu) { buffer 4461 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 4481 kernel/trace/ring_buffer.c bool ring_buffer_empty_cpu(struct ring_buffer *buffer, int cpu) buffer 4488 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 4491 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 4563 kernel/trace/ring_buffer.c cpu_buffer_b->buffer = buffer_a; buffer 4564 kernel/trace/ring_buffer.c cpu_buffer_a->buffer = buffer_b; buffer 4593 kernel/trace/ring_buffer.c void *ring_buffer_alloc_read_page(struct ring_buffer *buffer, int cpu) buffer 4600 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 4603 kernel/trace/ring_buffer.c cpu_buffer = buffer->buffers[cpu]; buffer 4640 kernel/trace/ring_buffer.c void ring_buffer_free_read_page(struct ring_buffer *buffer, int cpu, void *data) buffer 4642 kernel/trace/ring_buffer.c struct ring_buffer_per_cpu *cpu_buffer = buffer->buffers[cpu]; buffer 4700 kernel/trace/ring_buffer.c int ring_buffer_read_page(struct ring_buffer *buffer, buffer 4703 kernel/trace/ring_buffer.c struct ring_buffer_per_cpu *cpu_buffer = buffer->buffers[cpu]; buffer 4714 kernel/trace/ring_buffer.c if (!cpumask_test_cpu(cpu, buffer->cpumask)) buffer 4871 kernel/trace/ring_buffer.c struct ring_buffer *buffer; buffer 4876 kernel/trace/ring_buffer.c buffer = container_of(node, struct ring_buffer, node); buffer 4877 kernel/trace/ring_buffer.c if (cpumask_test_cpu(cpu, buffer->cpumask)) buffer 4883 kernel/trace/ring_buffer.c for_each_buffer_cpu(buffer, cpu_i) { buffer 4886 kernel/trace/ring_buffer.c nr_pages = buffer->buffers[cpu_i]->nr_pages; buffer 4887 kernel/trace/ring_buffer.c if (nr_pages != buffer->buffers[cpu_i]->nr_pages) { buffer 4895 kernel/trace/ring_buffer.c buffer->buffers[cpu] = buffer 4896 kernel/trace/ring_buffer.c rb_allocate_cpu_buffer(buffer, nr_pages, cpu); buffer 4897 kernel/trace/ring_buffer.c if (!buffer->buffers[cpu]) { buffer 4903 kernel/trace/ring_buffer.c cpumask_set_cpu(cpu, buffer->cpumask); buffer 4926 kernel/trace/ring_buffer.c struct ring_buffer *buffer; buffer 4982 kernel/trace/ring_buffer.c event = ring_buffer_lock_reserve(data->buffer, len); buffer 4996 kernel/trace/ring_buffer.c if (RB_WARN_ON(data->buffer, event_len < len)) buffer 5022 kernel/trace/ring_buffer.c ring_buffer_unlock_commit(data->buffer, event); buffer 5068 kernel/trace/ring_buffer.c struct ring_buffer *buffer; buffer 5079 kernel/trace/ring_buffer.c buffer = ring_buffer_alloc(RB_TEST_BUFFER_SIZE, RB_FL_OVERWRITE); buffer 5080 kernel/trace/ring_buffer.c if (WARN_ON(!buffer)) buffer 5084 kernel/trace/ring_buffer.c ring_buffer_record_off(buffer); buffer 5087 kernel/trace/ring_buffer.c rb_data[cpu].buffer = buffer; buffer 5110 kernel/trace/ring_buffer.c ring_buffer_record_on(buffer); buffer 5136 kernel/trace/ring_buffer.c ring_buffer_free(buffer); buffer 5176 kernel/trace/ring_buffer.c if (RB_WARN_ON(buffer, total_dropped)) buffer 5181 kernel/trace/ring_buffer.c while ((event = ring_buffer_consume(buffer, cpu, NULL, &lost))) { buffer 5190 kernel/trace/ring_buffer.c RB_WARN_ON(buffer, 1); buffer 5210 kernel/trace/ring_buffer.c if (RB_WARN_ON(buffer, total_len != total_alloc || buffer 5214 kernel/trace/ring_buffer.c if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) buffer 5222 kernel/trace/ring_buffer.c ring_buffer_free(buffer); buffer 32 kernel/trace/ring_buffer_benchmark.c static struct ring_buffer *buffer; buffer 91 kernel/trace/ring_buffer_benchmark.c event = ring_buffer_consume(buffer, cpu, &ts, NULL); buffer 116 kernel/trace/ring_buffer_benchmark.c bpage = ring_buffer_alloc_read_page(buffer, cpu); buffer 120 kernel/trace/ring_buffer_benchmark.c ret = ring_buffer_read_page(buffer, &bpage, PAGE_SIZE, cpu, 1); buffer 175 kernel/trace/ring_buffer_benchmark.c ring_buffer_free_read_page(buffer, cpu, bpage); buffer 254 kernel/trace/ring_buffer_benchmark.c event = ring_buffer_lock_reserve(buffer, 10); buffer 261 kernel/trace/ring_buffer_benchmark.c ring_buffer_unlock_commit(buffer, event); buffer 299 kernel/trace/ring_buffer_benchmark.c entries = ring_buffer_entries(buffer); buffer 300 kernel/trace/ring_buffer_benchmark.c overruns = ring_buffer_overruns(buffer); buffer 404 kernel/trace/ring_buffer_benchmark.c ring_buffer_reset(buffer); buffer 435 kernel/trace/ring_buffer_benchmark.c buffer = ring_buffer_alloc(1000000, RB_FL_OVERWRITE); buffer 436 kernel/trace/ring_buffer_benchmark.c if (!buffer) buffer 482 kernel/trace/ring_buffer_benchmark.c ring_buffer_free(buffer); buffer 491 kernel/trace/ring_buffer_benchmark.c ring_buffer_free(buffer); buffer 163 kernel/trace/trace.c static void ftrace_trace_userstack(struct ring_buffer *buffer, buffer 326 kernel/trace/trace.c struct ring_buffer *buffer, buffer 331 kernel/trace/trace.c __trace_event_discard_commit(buffer, event); buffer 559 kernel/trace/trace.c if (kstrtoul(parser.buffer, 0, &val)) buffer 596 kernel/trace/trace.c if (!buf->buffer) buffer 599 kernel/trace/trace.c ts = ring_buffer_time_stamp(buf->buffer, cpu); buffer 600 kernel/trace/trace.c ring_buffer_normalize_time_stamp(buf->buffer, cpu, &ts); buffer 735 kernel/trace/trace.c static void __ftrace_trace_stack(struct ring_buffer *buffer, buffer 739 kernel/trace/trace.c struct ring_buffer *buffer, buffer 744 kernel/trace/trace.c static inline void __ftrace_trace_stack(struct ring_buffer *buffer, buffer 750 kernel/trace/trace.c struct ring_buffer *buffer, buffer 768 kernel/trace/trace.c __trace_buffer_lock_reserve(struct ring_buffer *buffer, buffer 775 kernel/trace/trace.c event = ring_buffer_lock_reserve(buffer, len); buffer 784 kernel/trace/trace.c if (tr->trace_buffer.buffer) buffer 785 kernel/trace/trace.c ring_buffer_record_on(tr->trace_buffer.buffer); buffer 813 kernel/trace/trace.c __buffer_unlock_commit(struct ring_buffer *buffer, struct ring_buffer_event *event) buffer 820 kernel/trace/trace.c ring_buffer_write(buffer, event->array[0], &event->array[1]); buffer 824 kernel/trace/trace.c ring_buffer_unlock_commit(buffer, event); buffer 836 kernel/trace/trace.c struct ring_buffer *buffer; buffer 853 kernel/trace/trace.c buffer = global_trace.trace_buffer.buffer; buffer 854 kernel/trace/trace.c event = __trace_buffer_lock_reserve(buffer, TRACE_PRINT, alloc, buffer 871 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 872 kernel/trace/trace.c ftrace_trace_stack(&global_trace, buffer, irq_flags, 4, pc, NULL); buffer 886 kernel/trace/trace.c struct ring_buffer *buffer; buffer 901 kernel/trace/trace.c buffer = global_trace.trace_buffer.buffer; buffer 902 kernel/trace/trace.c event = __trace_buffer_lock_reserve(buffer, TRACE_BPUTS, size, buffer 911 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 912 kernel/trace/trace.c ftrace_trace_stack(&global_trace, buffer, irq_flags, 4, pc, NULL); buffer 1053 kernel/trace/trace.c ring_buffer_resize(tr->max_buffer.buffer, 1, RING_BUFFER_ALL_CPUS); buffer 1239 kernel/trace/trace.c if (tr->trace_buffer.buffer) buffer 1240 kernel/trace/trace.c ring_buffer_record_off(tr->trace_buffer.buffer); buffer 1282 kernel/trace/trace.c if (tr->trace_buffer.buffer) buffer 1283 kernel/trace/trace.c return ring_buffer_record_is_on(tr->trace_buffer.buffer); buffer 1377 kernel/trace/trace.c parser->buffer = kmalloc(size, GFP_KERNEL); buffer 1378 kernel/trace/trace.c if (!parser->buffer) buffer 1390 kernel/trace/trace.c kfree(parser->buffer); buffer 1391 kernel/trace/trace.c parser->buffer = NULL; buffer 1449 kernel/trace/trace.c parser->buffer[parser->idx++] = ch; buffer 1463 kernel/trace/trace.c parser->buffer[parser->idx] = 0; buffer 1467 kernel/trace/trace.c parser->buffer[parser->idx++] = ch; buffer 1469 kernel/trace/trace.c parser->buffer[parser->idx] = 0; buffer 1493 kernel/trace/trace.c memcpy(buf, s->buffer + s->seq.readpos, cnt); buffer 1569 kernel/trace/trace.c if (ring_buffer_record_is_set_on(tr->trace_buffer.buffer)) buffer 1570 kernel/trace/trace.c ring_buffer_record_on(tr->max_buffer.buffer); buffer 1572 kernel/trace/trace.c ring_buffer_record_off(tr->max_buffer.buffer); buffer 1578 kernel/trace/trace.c swap(tr->trace_buffer.buffer, tr->max_buffer.buffer); buffer 1611 kernel/trace/trace.c ret = ring_buffer_swap_cpu(tr->max_buffer.buffer, tr->trace_buffer.buffer, cpu); buffer 1620 kernel/trace/trace.c trace_array_printk_buf(tr->max_buffer.buffer, _THIS_IP_, buffer 1637 kernel/trace/trace.c return ring_buffer_wait(iter->trace_buffer->buffer, iter->cpu_file, buffer 1696 kernel/trace/trace.c ring_buffer_resize(tr->max_buffer.buffer, trace_buf_size, buffer 1722 kernel/trace/trace.c ring_buffer_resize(tr->max_buffer.buffer, 1, buffer 1885 kernel/trace/trace.c struct ring_buffer *buffer = buf->buffer; buffer 1887 kernel/trace/trace.c if (!buffer) buffer 1890 kernel/trace/trace.c ring_buffer_record_disable(buffer); buffer 1894 kernel/trace/trace.c ring_buffer_reset_cpu(buffer, cpu); buffer 1896 kernel/trace/trace.c ring_buffer_record_enable(buffer); buffer 1901 kernel/trace/trace.c struct ring_buffer *buffer = buf->buffer; buffer 1904 kernel/trace/trace.c if (!buffer) buffer 1907 kernel/trace/trace.c ring_buffer_record_disable(buffer); buffer 1915 kernel/trace/trace.c ring_buffer_reset_cpu(buffer, cpu); buffer 1917 kernel/trace/trace.c ring_buffer_record_enable(buffer); buffer 2019 kernel/trace/trace.c struct ring_buffer *buffer; buffer 2038 kernel/trace/trace.c buffer = global_trace.trace_buffer.buffer; buffer 2039 kernel/trace/trace.c if (buffer) buffer 2040 kernel/trace/trace.c ring_buffer_record_enable(buffer); buffer 2043 kernel/trace/trace.c buffer = global_trace.max_buffer.buffer; buffer 2044 kernel/trace/trace.c if (buffer) buffer 2045 kernel/trace/trace.c ring_buffer_record_enable(buffer); buffer 2056 kernel/trace/trace.c struct ring_buffer *buffer; buffer 2077 kernel/trace/trace.c buffer = tr->trace_buffer.buffer; buffer 2078 kernel/trace/trace.c if (buffer) buffer 2079 kernel/trace/trace.c ring_buffer_record_enable(buffer); buffer 2093 kernel/trace/trace.c struct ring_buffer *buffer; buffer 2103 kernel/trace/trace.c buffer = global_trace.trace_buffer.buffer; buffer 2104 kernel/trace/trace.c if (buffer) buffer 2105 kernel/trace/trace.c ring_buffer_record_disable(buffer); buffer 2108 kernel/trace/trace.c buffer = global_trace.max_buffer.buffer; buffer 2109 kernel/trace/trace.c if (buffer) buffer 2110 kernel/trace/trace.c ring_buffer_record_disable(buffer); buffer 2121 kernel/trace/trace.c struct ring_buffer *buffer; buffer 2132 kernel/trace/trace.c buffer = tr->trace_buffer.buffer; buffer 2133 kernel/trace/trace.c if (buffer) buffer 2134 kernel/trace/trace.c ring_buffer_record_disable(buffer); buffer 2363 kernel/trace/trace.c trace_buffer_lock_reserve(struct ring_buffer *buffer, buffer 2368 kernel/trace/trace.c return __trace_buffer_lock_reserve(buffer, type, len, flags, pc); buffer 2493 kernel/trace/trace.c *current_rb = trace_file->tr->trace_buffer.buffer; buffer 2551 kernel/trace/trace.c printk("%s", iter->seq.buffer); buffer 2557 kernel/trace/trace.c void __user *buffer, size_t *lenp, buffer 2566 kernel/trace/trace.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 2594 kernel/trace/trace.c event_trigger_unlock_commit(fbuffer->trace_file, fbuffer->buffer, buffer 2610 kernel/trace/trace.c struct ring_buffer *buffer, buffer 2615 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 2623 kernel/trace/trace.c ftrace_trace_stack(tr, buffer, flags, regs ? 0 : STACK_SKIP, pc, regs); buffer 2624 kernel/trace/trace.c ftrace_trace_userstack(buffer, flags, pc); buffer 2631 kernel/trace/trace.c trace_buffer_unlock_commit_nostack(struct ring_buffer *buffer, buffer 2634 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 2766 kernel/trace/trace.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 2770 kernel/trace/trace.c event = __trace_buffer_lock_reserve(buffer, TRACE_FN, sizeof(*entry), buffer 2778 kernel/trace/trace.c if (!call_filter_check_discard(call, entry, buffer, event)) { buffer 2781 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 2804 kernel/trace/trace.c static void __ftrace_trace_stack(struct ring_buffer *buffer, buffer 2858 kernel/trace/trace.c event = __trace_buffer_lock_reserve(buffer, TRACE_STACK, buffer 2867 kernel/trace/trace.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 2868 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 2879 kernel/trace/trace.c struct ring_buffer *buffer, buffer 2886 kernel/trace/trace.c __ftrace_trace_stack(buffer, flags, skip, pc, regs); buffer 2892 kernel/trace/trace.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 2895 kernel/trace/trace.c __ftrace_trace_stack(buffer, flags, skip, pc, NULL); buffer 2909 kernel/trace/trace.c __ftrace_trace_stack(buffer, flags, skip, pc, NULL); buffer 2930 kernel/trace/trace.c __ftrace_trace_stack(global_trace.trace_buffer.buffer, buffer 2939 kernel/trace/trace.c ftrace_trace_userstack(struct ring_buffer *buffer, unsigned long flags, int pc) buffer 2965 kernel/trace/trace.c event = __trace_buffer_lock_reserve(buffer, TRACE_USER_STACK, buffer 2975 kernel/trace/trace.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 2976 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 2984 kernel/trace/trace.c static void ftrace_trace_userstack(struct ring_buffer *buffer, buffer 2995 kernel/trace/trace.c char buffer[4][TRACE_BUF_SIZE]; buffer 3006 kernel/trace/trace.c struct trace_buffer_struct *buffer = this_cpu_ptr(trace_percpu_buffer); buffer 3008 kernel/trace/trace.c if (!buffer || buffer->nesting >= 4) buffer 3011 kernel/trace/trace.c buffer->nesting++; buffer 3015 kernel/trace/trace.c return &buffer->buffer[buffer->nesting][0]; buffer 3075 kernel/trace/trace.c if (global_trace.trace_buffer.buffer) buffer 3109 kernel/trace/trace.c struct ring_buffer *buffer; buffer 3138 kernel/trace/trace.c buffer = tr->trace_buffer.buffer; buffer 3139 kernel/trace/trace.c event = __trace_buffer_lock_reserve(buffer, TRACE_BPRINT, size, buffer 3148 kernel/trace/trace.c if (!call_filter_check_discard(call, entry, buffer, event)) { buffer 3149 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 3150 kernel/trace/trace.c ftrace_trace_stack(tr, buffer, flags, 6, pc, NULL); buffer 3166 kernel/trace/trace.c __trace_array_vprintk(struct ring_buffer *buffer, buffer 3196 kernel/trace/trace.c event = __trace_buffer_lock_reserve(buffer, TRACE_PRINT, size, buffer 3204 kernel/trace/trace.c if (!call_filter_check_discard(call, entry, buffer, event)) { buffer 3205 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 3206 kernel/trace/trace.c ftrace_trace_stack(&global_trace, buffer, flags, 6, pc, NULL); buffer 3223 kernel/trace/trace.c return __trace_array_vprintk(tr->trace_buffer.buffer, ip, fmt, args); buffer 3244 kernel/trace/trace.c int trace_array_printk_buf(struct ring_buffer *buffer, buffer 3254 kernel/trace/trace.c ret = __trace_array_vprintk(buffer, ip, fmt, ap); buffer 3285 kernel/trace/trace.c event = ring_buffer_peek(iter->trace_buffer->buffer, cpu, ts, buffer 3300 kernel/trace/trace.c struct ring_buffer *buffer = iter->trace_buffer->buffer; buffer 3314 kernel/trace/trace.c if (ring_buffer_empty_cpu(buffer, cpu_file)) buffer 3325 kernel/trace/trace.c if (ring_buffer_empty_cpu(buffer, cpu)) buffer 3377 kernel/trace/trace.c ring_buffer_consume(iter->trace_buffer->buffer, iter->cpu, &iter->ts, buffer 3525 kernel/trace/trace.c count = ring_buffer_entries_cpu(buf->buffer, cpu); buffer 3537 kernel/trace/trace.c ring_buffer_overrun_cpu(buf->buffer, cpu); buffer 3845 kernel/trace/trace.c if (!ring_buffer_empty_cpu(iter->trace_buffer->buffer, cpu)) buffer 3857 kernel/trace/trace.c if (!ring_buffer_empty_cpu(iter->trace_buffer->buffer, cpu)) buffer 4122 kernel/trace/trace.c if (ring_buffer_overruns(iter->trace_buffer->buffer)) buffer 4136 kernel/trace/trace.c ring_buffer_read_prepare(iter->trace_buffer->buffer, buffer 4147 kernel/trace/trace.c ring_buffer_read_prepare(iter->trace_buffer->buffer, buffer 4495 kernel/trace/trace.c ring_buffer_record_disable_cpu(tr->trace_buffer.buffer, cpu); buffer 4500 kernel/trace/trace.c ring_buffer_record_enable_cpu(tr->trace_buffer.buffer, cpu); buffer 4642 kernel/trace/trace.c ring_buffer_change_overwrite(tr->trace_buffer.buffer, enabled); buffer 4644 kernel/trace/trace.c ring_buffer_change_overwrite(tr->max_buffer.buffer, enabled); buffer 5471 kernel/trace/trace.c ret = ring_buffer_resize(trace_buf->buffer, buffer 5479 kernel/trace/trace.c ret = ring_buffer_resize(trace_buf->buffer, buffer 5503 kernel/trace/trace.c if (!tr->trace_buffer.buffer) buffer 5506 kernel/trace/trace.c ret = ring_buffer_resize(tr->trace_buffer.buffer, size, cpu); buffer 5515 kernel/trace/trace.c ret = ring_buffer_resize(tr->max_buffer.buffer, size, cpu); buffer 5955 kernel/trace/trace.c return ring_buffer_poll_wait(iter->trace_buffer->buffer, iter->cpu_file, buffer 6386 kernel/trace/trace.c struct ring_buffer *buffer; buffer 6415 kernel/trace/trace.c buffer = tr->trace_buffer.buffer; buffer 6416 kernel/trace/trace.c event = __trace_buffer_lock_reserve(buffer, TRACE_PRINT, size, buffer 6446 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 6466 kernel/trace/trace.c struct ring_buffer *buffer; buffer 6495 kernel/trace/trace.c buffer = tr->trace_buffer.buffer; buffer 6496 kernel/trace/trace.c event = __trace_buffer_lock_reserve(buffer, TRACE_RAW_DATA, size, buffer 6512 kernel/trace/trace.c __buffer_unlock_commit(buffer, event); buffer 6550 kernel/trace/trace.c ring_buffer_set_clock(tr->trace_buffer.buffer, trace_clocks[i].func); buffer 6559 kernel/trace/trace.c if (tr->max_buffer.buffer) buffer 6560 kernel/trace/trace.c ring_buffer_set_clock(tr->max_buffer.buffer, trace_clocks[i].func); buffer 6619 kernel/trace/trace.c if (ring_buffer_time_stamp_abs(tr->trace_buffer.buffer)) buffer 6664 kernel/trace/trace.c ring_buffer_set_time_stamp_abs(tr->trace_buffer.buffer, abs); buffer 6667 kernel/trace/trace.c if (tr->max_buffer.buffer) buffer 6668 kernel/trace/trace.c ring_buffer_set_time_stamp_abs(tr->max_buffer.buffer, abs); buffer 7179 kernel/trace/trace.c const char __user *buffer, buffer 7271 kernel/trace/trace.c info->spare = ring_buffer_alloc_read_page(iter->trace_buffer->buffer, buffer 7289 kernel/trace/trace.c ret = ring_buffer_read_page(iter->trace_buffer->buffer, buffer 7339 kernel/trace/trace.c ring_buffer_free_read_page(iter->trace_buffer->buffer, buffer 7349 kernel/trace/trace.c struct ring_buffer *buffer; buffer 7359 kernel/trace/trace.c ring_buffer_free_read_page(ref->buffer, ref->cpu, ref->page); buffer 7444 kernel/trace/trace.c entries = ring_buffer_entries_cpu(iter->trace_buffer->buffer, iter->cpu_file); buffer 7457 kernel/trace/trace.c ref->buffer = iter->trace_buffer->buffer; buffer 7458 kernel/trace/trace.c ref->page = ring_buffer_alloc_read_page(ref->buffer, iter->cpu_file); buffer 7467 kernel/trace/trace.c r = ring_buffer_read_page(ref->buffer, &ref->page, buffer 7470 kernel/trace/trace.c ring_buffer_free_read_page(ref->buffer, ref->cpu, buffer 7485 kernel/trace/trace.c entries = ring_buffer_entries_cpu(iter->trace_buffer->buffer, iter->cpu_file); buffer 7542 kernel/trace/trace.c cnt = ring_buffer_entries_cpu(trace_buf->buffer, cpu); buffer 7545 kernel/trace/trace.c cnt = ring_buffer_overrun_cpu(trace_buf->buffer, cpu); buffer 7548 kernel/trace/trace.c cnt = ring_buffer_commit_overrun_cpu(trace_buf->buffer, cpu); buffer 7551 kernel/trace/trace.c cnt = ring_buffer_bytes_cpu(trace_buf->buffer, cpu); buffer 7556 kernel/trace/trace.c t = ns2usecs(ring_buffer_oldest_event_ts(trace_buf->buffer, cpu)); buffer 7561 kernel/trace/trace.c t = ns2usecs(ring_buffer_time_stamp(trace_buf->buffer, cpu)); buffer 7567 kernel/trace/trace.c ring_buffer_oldest_event_ts(trace_buf->buffer, cpu)); buffer 7570 kernel/trace/trace.c ring_buffer_time_stamp(trace_buf->buffer, cpu)); buffer 7573 kernel/trace/trace.c cnt = ring_buffer_dropped_events_cpu(trace_buf->buffer, cpu); buffer 7576 kernel/trace/trace.c cnt = ring_buffer_read_events_cpu(trace_buf->buffer, cpu); buffer 7580 kernel/trace/trace.c s->buffer, trace_seq_used(s)); buffer 8179 kernel/trace/trace.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 8187 kernel/trace/trace.c if (buffer) { buffer 8277 kernel/trace/trace.c buf->buffer = ring_buffer_alloc(size, rb_flags); buffer 8278 kernel/trace/trace.c if (!buf->buffer) buffer 8283 kernel/trace/trace.c ring_buffer_free(buf->buffer); buffer 8284 kernel/trace/trace.c buf->buffer = NULL; buffer 8290 kernel/trace/trace.c ring_buffer_size(tr->trace_buffer.buffer, 0)); buffer 8307 kernel/trace/trace.c ring_buffer_free(tr->trace_buffer.buffer); buffer 8308 kernel/trace/trace.c tr->trace_buffer.buffer = NULL; buffer 8339 kernel/trace/trace.c if (buf->buffer) { buffer 8340 kernel/trace/trace.c ring_buffer_free(buf->buffer); buffer 8341 kernel/trace/trace.c buf->buffer = NULL; buffer 8892 kernel/trace/trace.c s->buffer[s->seq.len] = 0; buffer 8894 kernel/trace/trace.c printk(KERN_TRACE "%s", s->buffer); buffer 8910 kernel/trace/trace.c if (ring_buffer_overruns(iter->trace_buffer->buffer)) buffer 9048 kernel/trace/trace.c ssize_t trace_parse_run_command(struct file *file, const char __user *buffer, buffer 9067 kernel/trace/trace.c if (copy_from_user(kbuf, buffer + done, size)) { buffer 178 kernel/trace/trace.h struct ring_buffer *buffer; buffer 701 kernel/trace/trace.h trace_buffer_lock_reserve(struct ring_buffer *buffer, buffer 713 kernel/trace/trace.h void trace_buffer_unlock_commit_nostack(struct ring_buffer *buffer, buffer 858 kernel/trace/trace.h int trace_array_printk_buf(struct ring_buffer *buffer, buffer 1183 kernel/trace/trace.h char *buffer; buffer 1371 kernel/trace/trace.h struct ring_buffer *buffer, buffer 1375 kernel/trace/trace.h struct ring_buffer *buffer, buffer 1381 kernel/trace/trace.h struct ring_buffer *buffer, buffer 1385 kernel/trace/trace.h trace_buffer_unlock_commit_regs(tr, buffer, event, flags, pc, NULL); buffer 1394 kernel/trace/trace.h __trace_event_discard_commit(struct ring_buffer *buffer, buffer 1402 kernel/trace/trace.h ring_buffer_discard_commit(buffer, event); buffer 1420 kernel/trace/trace.h struct ring_buffer *buffer, buffer 1433 kernel/trace/trace.h __trace_event_discard_commit(buffer, event); buffer 1455 kernel/trace/trace.h struct ring_buffer *buffer, buffer 1461 kernel/trace/trace.h if (!__event_trigger_test_discard(file, buffer, event, entry, &tt)) buffer 1462 kernel/trace/trace.h trace_buffer_unlock_commit(file->tr, buffer, event, irq_flags, pc); buffer 1486 kernel/trace/trace.h struct ring_buffer *buffer, buffer 1493 kernel/trace/trace.h if (!__event_trigger_test_discard(file, buffer, event, entry, &tt)) buffer 1494 kernel/trace/trace.h trace_buffer_unlock_commit_regs(file->tr, buffer, event, buffer 1901 kernel/trace/trace.h const char __user *buffer, size_t count, loff_t *ppos, buffer 38 kernel/trace/trace_branch.c struct ring_buffer *buffer; buffer 63 kernel/trace/trace_branch.c buffer = tr->trace_buffer.buffer; buffer 64 kernel/trace/trace_branch.c event = trace_buffer_lock_reserve(buffer, TRACE_BRANCH, buffer 85 kernel/trace/trace_branch.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 86 kernel/trace/trace_branch.c trace_buffer_unlock_commit_nostack(buffer, event); buffer 190 kernel/trace/trace_dynevent.c static ssize_t dyn_event_write(struct file *file, const char __user *buffer, buffer 193 kernel/trace/trace_dynevent.c return trace_parse_run_command(file, buffer, count, ppos, buffer 269 kernel/trace/trace_events.c trace_event_buffer_lock_reserve(&fbuffer->buffer, trace_file, buffer 880 kernel/trace/trace_events.c if (*parser.buffer == '!') buffer 883 kernel/trace/trace_events.c ret = ftrace_set_clr_event(tr, parser.buffer + !set, set); buffer 1351 kernel/trace/trace_events.c s->buffer, trace_seq_used(s)); buffer 1501 kernel/trace/trace_events.c s->buffer, trace_seq_used(s)); buffer 1551 kernel/trace/trace_events.c s->buffer, trace_seq_used(s)); buffer 3362 kernel/trace/trace_events.c struct ring_buffer *buffer; buffer 3379 kernel/trace/trace_events.c event = trace_event_buffer_lock_reserve(&buffer, &event_trace_file, buffer 3388 kernel/trace/trace_events.c event_trigger_unlock_commit(&event_trace_file, buffer, event, buffer 968 kernel/trace/trace_events_filter.c buf = kmemdup_nul(s->buffer, s->seq.len, GFP_KERNEL); buffer 910 kernel/trace/trace_events_hist.c struct ring_buffer *buffer; buffer 926 kernel/trace/trace_events_hist.c buffer = trace_file->tr->trace_buffer.buffer; buffer 927 kernel/trace/trace_events_hist.c ring_buffer_nest_start(buffer); buffer 969 kernel/trace/trace_events_hist.c ring_buffer_nest_end(buffer); buffer 1516 kernel/trace/trace_events_hist.c const char __user *buffer, buffer 1519 kernel/trace/trace_events_hist.c return trace_parse_run_command(file, buffer, count, ppos, buffer 104 kernel/trace/trace_functions_graph.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 107 kernel/trace/trace_functions_graph.c event = trace_buffer_lock_reserve(buffer, TRACE_GRAPH_ENT, buffer 113 kernel/trace/trace_functions_graph.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 114 kernel/trace/trace_functions_graph.c trace_buffer_unlock_commit_nostack(buffer, event); buffer 224 kernel/trace/trace_functions_graph.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 227 kernel/trace/trace_functions_graph.c event = trace_buffer_lock_reserve(buffer, TRACE_GRAPH_RET, buffer 233 kernel/trace/trace_functions_graph.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 234 kernel/trace/trace_functions_graph.c trace_buffer_unlock_commit_nostack(buffer, event); buffer 447 kernel/trace/trace_functions_graph.c ring_buffer_consume(iter->trace_buffer->buffer, iter->cpu, buffer 449 kernel/trace/trace_functions_graph.c event = ring_buffer_peek(iter->trace_buffer->buffer, iter->cpu, buffer 1027 kernel/trace/trace_functions_graph.c if (s->buffer[s->seq.len - 1] == '\n') { buffer 1028 kernel/trace/trace_functions_graph.c s->buffer[s->seq.len - 1] = '\0'; buffer 107 kernel/trace/trace_hwlat.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 116 kernel/trace/trace_hwlat.c event = trace_buffer_lock_reserve(buffer, TRACE_HWLAT, sizeof(*entry), buffer 128 kernel/trace/trace_hwlat.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 129 kernel/trace/trace_hwlat.c trace_buffer_unlock_commit_nostack(buffer, event); buffer 46 kernel/trace/trace_kdb.c ring_buffer_read_prepare(iter.trace_buffer->buffer, buffer 54 kernel/trace/trace_kdb.c ring_buffer_read_prepare(iter.trace_buffer->buffer, buffer 975 kernel/trace/trace_kprobe.c static ssize_t probes_write(struct file *file, const char __user *buffer, buffer 978 kernel/trace/trace_kprobe.c return trace_parse_run_command(file, buffer, count, ppos, buffer 1181 kernel/trace/trace_kprobe.c struct ring_buffer *buffer; buffer 1197 kernel/trace/trace_kprobe.c event = trace_event_buffer_lock_reserve(&buffer, trace_file, buffer 1207 kernel/trace/trace_kprobe.c event_trigger_unlock_commit_regs(trace_file, buffer, event, buffer 1229 kernel/trace/trace_kprobe.c struct ring_buffer *buffer; buffer 1245 kernel/trace/trace_kprobe.c event = trace_event_buffer_lock_reserve(&buffer, trace_file, buffer 1256 kernel/trace/trace_kprobe.c event_trigger_unlock_commit_regs(trace_file, buffer, event, buffer 125 kernel/trace/trace_mmiotrace.c unsigned long over = ring_buffer_overruns(iter->trace_buffer->buffer); buffer 300 kernel/trace/trace_mmiotrace.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 305 kernel/trace/trace_mmiotrace.c event = trace_buffer_lock_reserve(buffer, TRACE_MMIO_RW, buffer 314 kernel/trace/trace_mmiotrace.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 315 kernel/trace/trace_mmiotrace.c trace_buffer_unlock_commit(tr, buffer, event, 0, pc); buffer 330 kernel/trace/trace_mmiotrace.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 335 kernel/trace/trace_mmiotrace.c event = trace_buffer_lock_reserve(buffer, TRACE_MMIO_MAP, buffer 344 kernel/trace/trace_mmiotrace.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 345 kernel/trace/trace_mmiotrace.c trace_buffer_unlock_commit(tr, buffer, event, 0, pc); buffer 381 kernel/trace/trace_sched_wakeup.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 385 kernel/trace/trace_sched_wakeup.c event = trace_buffer_lock_reserve(buffer, TRACE_CTX, buffer 398 kernel/trace/trace_sched_wakeup.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 399 kernel/trace/trace_sched_wakeup.c trace_buffer_unlock_commit(tr, buffer, event, flags, pc); buffer 411 kernel/trace/trace_sched_wakeup.c struct ring_buffer *buffer = tr->trace_buffer.buffer; buffer 413 kernel/trace/trace_sched_wakeup.c event = trace_buffer_lock_reserve(buffer, TRACE_WAKE, buffer 426 kernel/trace/trace_sched_wakeup.c if (!call_filter_check_discard(call, entry, buffer, event)) buffer 427 kernel/trace/trace_sched_wakeup.c trace_buffer_unlock_commit(tr, buffer, event, flags, pc); buffer 32 kernel/trace/trace_selftest.c while ((event = ring_buffer_consume(buf->buffer, cpu, NULL, NULL))) { buffer 72 kernel/trace/trace_selftest.c cnt = ring_buffer_entries(buf->buffer); buffer 519 kernel/trace/trace_stack.c void __user *buffer, size_t *lenp, buffer 528 kernel/trace/trace_stack.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 315 kernel/trace/trace_syscalls.c struct ring_buffer *buffer; buffer 343 kernel/trace/trace_syscalls.c buffer = tr->trace_buffer.buffer; buffer 344 kernel/trace/trace_syscalls.c event = trace_buffer_lock_reserve(buffer, buffer 354 kernel/trace/trace_syscalls.c event_trigger_unlock_commit(trace_file, buffer, event, entry, buffer 365 kernel/trace/trace_syscalls.c struct ring_buffer *buffer; buffer 389 kernel/trace/trace_syscalls.c buffer = tr->trace_buffer.buffer; buffer 390 kernel/trace/trace_syscalls.c event = trace_buffer_lock_reserve(buffer, buffer 400 kernel/trace/trace_syscalls.c event_trigger_unlock_commit(trace_file, buffer, event, entry, buffer 779 kernel/trace/trace_uprobe.c static ssize_t probes_write(struct file *file, const char __user *buffer, buffer 782 kernel/trace/trace_uprobe.c return trace_parse_run_command(file, buffer, count, ppos, buffer 935 kernel/trace/trace_uprobe.c struct ring_buffer *buffer; buffer 950 kernel/trace/trace_uprobe.c event = trace_event_buffer_lock_reserve(&buffer, trace_file, buffer 967 kernel/trace/trace_uprobe.c event_trigger_unlock_commit(trace_file, buffer, event, entry, 0, 0); buffer 644 kernel/umh.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 677 kernel/umh.c err = proc_doulongvec_minmax(&t, write, buffer, lenp, ppos); buffer 33 kernel/utsname_sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 51 kernel/utsname_sysctl.c r = proc_dostring(&uts_table, write, buffer, lenp, ppos); buffer 683 kernel/watchdog.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 695 kernel/watchdog.c err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 698 kernel/watchdog.c err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 710 kernel/watchdog.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 713 kernel/watchdog.c table, write, buffer, lenp, ppos); buffer 720 kernel/watchdog.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 725 kernel/watchdog.c table, write, buffer, lenp, ppos); buffer 732 kernel/watchdog.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 735 kernel/watchdog.c table, write, buffer, lenp, ppos); buffer 742 kernel/watchdog.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 749 kernel/watchdog.c err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 765 kernel/watchdog.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 771 kernel/watchdog.c err = proc_do_large_bitmap(table, write, buffer, lenp, ppos); buffer 99 lib/crc-ccitt.c u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) buffer 102 lib/crc-ccitt.c crc = crc_ccitt_byte(crc, *buffer++); buffer 114 lib/crc-ccitt.c u16 crc_ccitt_false(u16 crc, u8 const *buffer, size_t len) buffer 117 lib/crc-ccitt.c crc = crc_ccitt_false_byte(crc, *buffer++); buffer 57 lib/crc-itu-t.c u16 crc_itu_t(u16 crc, const u8 *buffer, size_t len) buffer 60 lib/crc-itu-t.c crc = crc_itu_t_byte(crc, *buffer++); buffer 57 lib/crc-t10dif.c __u16 crc_t10dif_update(__u16 crc, const unsigned char *buffer, size_t len) buffer 66 lib/crc-t10dif.c return crc_t10dif_generic(crc, buffer, len); buffer 72 lib/crc-t10dif.c err = crypto_shash_update(&desc.shash, buffer, len); buffer 81 lib/crc-t10dif.c __u16 crc_t10dif(const unsigned char *buffer, size_t len) buffer 83 lib/crc-t10dif.c return crc_t10dif_update(0, buffer, len); buffer 107 lib/crc-t10dif.c static int crc_t10dif_transform_show(char *buffer, const struct kernel_param *kp) buffer 110 lib/crc-t10dif.c return sprintf(buffer, "fallback\n"); buffer 112 lib/crc-t10dif.c return sprintf(buffer, "%s\n", buffer 55 lib/crc16.c u16 crc16(u16 crc, u8 const *buffer, size_t len) buffer 58 lib/crc16.c crc = crc16_byte(crc, *buffer++); buffer 65 lib/crc7.c u8 crc7_be(u8 crc, const u8 *buffer, size_t len) buffer 68 lib/crc7.c crc = crc7_be_byte(crc, *buffer++); buffer 32 lib/decompress_inflate.c static long INIT nofill(void *buffer, unsigned long len) buffer 70 lib/decompress_unlzma.c uint8_t *buffer; buffer 85 lib/decompress_unlzma.c static long INIT nofill(void *buffer, unsigned long len) buffer 93 lib/decompress_unlzma.c rc->buffer_size = rc->fill((char *)rc->buffer, LZMA_IOBUF_SIZE); buffer 96 lib/decompress_unlzma.c rc->ptr = rc->buffer; buffer 97 lib/decompress_unlzma.c rc->buffer_end = rc->buffer + rc->buffer_size; buffer 103 lib/decompress_unlzma.c char *buffer, long buffer_size) buffer 109 lib/decompress_unlzma.c rc->buffer = (uint8_t *)buffer; buffer 111 lib/decompress_unlzma.c rc->buffer_end = rc->buffer + rc->buffer_size; buffer 112 lib/decompress_unlzma.c rc->ptr = rc->buffer; buffer 278 lib/decompress_unlzma.c uint8_t *buffer; buffer 306 lib/decompress_unlzma.c return wr->buffer[pos]; buffer 311 lib/decompress_unlzma.c return wr->buffer[pos]; buffer 318 lib/decompress_unlzma.c wr->buffer[wr->buffer_pos++] = wr->previous_byte = byte; buffer 322 lib/decompress_unlzma.c if (wr->flush((char *)wr->buffer, wr->header->dict_size) buffer 613 lib/decompress_unlzma.c wr.buffer = output; buffer 616 lib/decompress_unlzma.c wr.buffer = large_malloc(wr.bufsize); buffer 618 lib/decompress_unlzma.c if (wr.buffer == NULL) buffer 654 lib/decompress_unlzma.c *posp = rc.ptr-rc.buffer; buffer 655 lib/decompress_unlzma.c if (!wr.flush || wr.flush(wr.buffer, wr.buffer_pos) == wr.buffer_pos) buffer 661 lib/decompress_unlzma.c large_free(wr.buffer); buffer 66 lib/kfifo.c int __kfifo_init(struct __kfifo *fifo, void *buffer, buffer 77 lib/kfifo.c fifo->data = buffer; buffer 264 lib/logic_pio.c void logic_ins##bw(unsigned long addr, void *buffer, \ buffer 268 lib/logic_pio.c reads##bw(PCI_IOBASE + addr, buffer, count); \ buffer 274 lib/logic_pio.c addr, buffer, sizeof(type), count); \ buffer 281 lib/logic_pio.c void logic_outs##bw(unsigned long addr, const void *buffer, \ buffer 285 lib/logic_pio.c writes##bw(PCI_IOBASE + addr, buffer, count); \ buffer 291 lib/logic_pio.c addr, buffer, sizeof(type), count); \ buffer 37 lib/mpi/mpicoder.c const uint8_t *buffer = xbuffer; buffer 43 lib/mpi/mpicoder.c while (nbytes > 0 && buffer[0] == 0) { buffer 44 lib/mpi/mpicoder.c buffer++; buffer 54 lib/mpi/mpicoder.c nbits -= count_leading_zeros(buffer[0]) - (BITS_PER_LONG - 8); buffer 71 lib/mpi/mpicoder.c a |= *buffer++; buffer 83 lib/mpi/mpicoder.c const uint8_t *buffer = xbuffer; buffer 89 lib/mpi/mpicoder.c nbits = buffer[0] << 8 | buffer[1]; buffer 103 lib/mpi/mpicoder.c val = mpi_read_raw_data(buffer + 2, nbytes); buffer 106 lib/oid_registry.c int sprint_oid(const void *data, size_t datasize, char *buffer, size_t bufsize) buffer 118 lib/oid_registry.c ret = count = snprintf(buffer, bufsize, "%u.%u", n / 40, n % 40); buffer 121 lib/oid_registry.c buffer += count; buffer 139 lib/oid_registry.c ret += count = snprintf(buffer, bufsize, ".%lu", num); buffer 142 lib/oid_registry.c buffer += count; buffer 149 lib/oid_registry.c snprintf(buffer, bufsize, "(bad)"); buffer 163 lib/oid_registry.c int sprint_OID(enum OID oid, char *buffer, size_t bufsize) buffer 171 lib/oid_registry.c buffer, bufsize); buffer 44 lib/seq_buf.c return seq_write(m, s->buffer, len); buffer 64 lib/seq_buf.c len = vsnprintf(s->buffer + s->len, s->size - s->len, fmt, args); buffer 121 lib/seq_buf.c ret = bstr_printf(s->buffer + s->len, len, fmt, binary); buffer 151 lib/seq_buf.c memcpy(s->buffer + s->len, str, len); buffer 174 lib/seq_buf.c s->buffer[s->len++] = c; buffer 198 lib/seq_buf.c memcpy(s->buffer + s->len, mem, len); buffer 322 lib/seq_buf.c ret = copy_to_user(ubuf, s->buffer + s->readpos, cnt); buffer 599 lib/string_helpers.c char *buffer, *quoted; buffer 602 lib/string_helpers.c buffer = kmalloc(PAGE_SIZE, GFP_KERNEL); buffer 603 lib/string_helpers.c if (!buffer) buffer 606 lib/string_helpers.c res = get_cmdline(task, buffer, PAGE_SIZE - 1); buffer 607 lib/string_helpers.c buffer[res] = '\0'; buffer 610 lib/string_helpers.c while (--res >= 0 && buffer[res] == '\0') buffer 615 lib/string_helpers.c if (buffer[i] == '\0') buffer 616 lib/string_helpers.c buffer[i] = ' '; buffer 619 lib/string_helpers.c quoted = kstrdup_quotable(buffer, gfp); buffer 620 lib/string_helpers.c kfree(buffer); buffer 172 lib/zstd/decompress.c unsigned ZSTD_isFrame(const void *buffer, size_t size) buffer 177 lib/zstd/decompress.c U32 const magic = ZSTD_readLE32(buffer); buffer 118 lib/zstd/fse.h FSE_PUBLIC_API size_t FSE_writeNCount(void *buffer, size_t bufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog); buffer 301 lib/zstd/fse_compress.c size_t FSE_writeNCount(void *buffer, size_t bufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) buffer 309 lib/zstd/fse_compress.c return FSE_writeNCount_generic(buffer, bufferSize, normalizedCounter, maxSymbolValue, tableLog, 0); buffer 311 lib/zstd/fse_compress.c return FSE_writeNCount_generic(buffer, bufferSize, normalizedCounter, maxSymbolValue, tableLog, 1); buffer 2458 mm/compaction.c void __user *buffer, size_t *length, loff_t *ppos) buffer 3087 mm/hugetlb.c void __user *buffer, size_t *length, loff_t *ppos) buffer 3098 mm/hugetlb.c ret = proc_doulongvec_minmax(table, write, buffer, length, ppos); buffer 3110 mm/hugetlb.c void __user *buffer, size_t *length, loff_t *ppos) buffer 3114 mm/hugetlb.c buffer, length, ppos); buffer 3119 mm/hugetlb.c void __user *buffer, size_t *length, loff_t *ppos) buffer 3122 mm/hugetlb.c buffer, length, ppos); buffer 3127 mm/hugetlb.c void __user *buffer, buffer 3144 mm/hugetlb.c ret = proc_doulongvec_minmax(table, write, buffer, length, ppos); buffer 425 mm/kasan/report.c char buffer[4 + (BITS_PER_LONG/8)*2]; buffer 428 mm/kasan/report.c snprintf(buffer, sizeof(buffer), buffer 436 mm/kasan/report.c print_hex_dump(KERN_ERR, buffer, buffer 1399 mm/memcontrol.c if (!s.buffer) buffer 1499 mm/memcontrol.c return s.buffer; buffer 2928 mm/mempolicy.c void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol) buffer 2930 mm/mempolicy.c char *p = buffer; buffer 2962 mm/mempolicy.c p += snprintf(p, buffer + maxlen - p, "="); buffer 2968 mm/mempolicy.c p += snprintf(p, buffer + maxlen - p, "static"); buffer 2970 mm/mempolicy.c p += snprintf(p, buffer + maxlen - p, "relative"); buffer 2974 mm/mempolicy.c p += scnprintf(p, buffer + maxlen - p, ":%*pbl", buffer 515 mm/page-writeback.c void __user *buffer, size_t *lenp, buffer 520 mm/page-writeback.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 527 mm/page-writeback.c void __user *buffer, size_t *lenp, buffer 532 mm/page-writeback.c ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 539 mm/page-writeback.c void __user *buffer, size_t *lenp, buffer 545 mm/page-writeback.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 554 mm/page-writeback.c void __user *buffer, size_t *lenp, buffer 560 mm/page-writeback.c ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 1975 mm/page-writeback.c void __user *buffer, size_t *length, loff_t *ppos) buffer 1980 mm/page-writeback.c ret = proc_dointvec(table, write, buffer, length, ppos); buffer 5499 mm/page_alloc.c void __user *buffer, size_t *length, buffer 5506 mm/page_alloc.c return proc_dostring(table, write, buffer, length, ppos); buffer 5507 mm/page_alloc.c str = memdup_user_nul(buffer, 16); buffer 7883 mm/page_alloc.c void __user *buffer, size_t *length, loff_t *ppos) buffer 7887 mm/page_alloc.c rc = proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 7899 mm/page_alloc.c void __user *buffer, size_t *length, loff_t *ppos) buffer 7903 mm/page_alloc.c rc = proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 7911 mm/page_alloc.c void __user *buffer, size_t *length, loff_t *ppos) buffer 7915 mm/page_alloc.c rc = proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 7941 mm/page_alloc.c void __user *buffer, size_t *length, loff_t *ppos) buffer 7945 mm/page_alloc.c rc = proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 7968 mm/page_alloc.c void __user *buffer, size_t *length, loff_t *ppos) buffer 7972 mm/page_alloc.c rc = proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 7992 mm/page_alloc.c void __user *buffer, size_t *length, loff_t *ppos) buffer 7994 mm/page_alloc.c proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 8005 mm/page_alloc.c void __user *buffer, size_t *length, loff_t *ppos) buffer 8014 mm/page_alloc.c ret = proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 53 mm/percpu-stats.c int *buffer) buffer 62 mm/percpu-stats.c alloc_sizes = buffer; buffer 139 mm/percpu-stats.c int *buffer; buffer 147 mm/percpu-stats.c buffer = vmalloc(array_size(sizeof(int), (2 * max_nr_alloc + 1))); buffer 148 mm/percpu-stats.c if (!buffer) buffer 156 mm/percpu-stats.c vfree(buffer); buffer 202 mm/percpu-stats.c chunk_map_stats(m, pcpu_reserved_chunk, buffer); buffer 209 mm/percpu-stats.c chunk_map_stats(m, chunk, buffer); buffer 214 mm/percpu-stats.c chunk_map_stats(m, chunk, buffer); buffer 222 mm/percpu-stats.c vfree(buffer); buffer 1400 mm/shmem.c char buffer[64]; buffer 1405 mm/shmem.c mpol_to_str(buffer, sizeof(buffer), mpol); buffer 1407 mm/shmem.c seq_printf(seq, ",mpol=%s", buffer); buffer 3232 mm/shmem.c const char *name, void *buffer, size_t size) buffer 3237 mm/shmem.c return simple_xattr_get(&info->xattrs, name, buffer, size); buffer 3273 mm/shmem.c static ssize_t shmem_listxattr(struct dentry *dentry, char *buffer, size_t size) buffer 3276 mm/shmem.c return simple_xattr_list(d_inode(dentry), &info->xattrs, buffer, size); buffer 36 mm/shuffle.c static int shuffle_show(char *buffer, const struct kernel_param *kp) buffer 38 mm/shuffle.c return sprintf(buffer, "%c\n", test_bit(SHUFFLE_ENABLE, &shuffle_state) buffer 4115 mm/slab.c ssize_t slabinfo_write(struct file *file, const char __user *buffer, buffer 4124 mm/slab.c if (copy_from_user(&kbuf, buffer, count)) buffer 260 mm/slab.h ssize_t slabinfo_write(struct file *file, const char __user *buffer, buffer 5589 mm/slub.c char *buffer = NULL; buffer 5622 mm/slub.c if (buffer) buffer 5623 mm/slub.c buf = buffer; buffer 5627 mm/slub.c buffer = (char *) get_zeroed_page(GFP_KERNEL); buffer 5628 mm/slub.c if (WARN_ON(!buffer)) buffer 5630 mm/slub.c buf = buffer; buffer 5638 mm/slub.c if (buffer) buffer 5639 mm/slub.c free_page((unsigned long)buffer); buffer 5944 mm/slub.c ssize_t slabinfo_write(struct file *file, const char __user *buffer, buffer 729 mm/util.c void __user *buffer, size_t *lenp, buffer 734 mm/util.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 741 mm/util.c void __user *buffer, size_t *lenp, buffer 746 mm/util.c ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 861 mm/util.c int get_cmdline(struct task_struct *task, char *buffer, int buflen) buffer 884 mm/util.c res = access_process_vm(task, arg_start, buffer, len, FOLL_FORCE); buffer 890 mm/util.c if (res > 0 && buffer[res-1] != '\0' && len < buflen) { buffer 891 mm/util.c len = strnlen(buffer, res); buffer 899 mm/util.c buffer+res, len, buffer 901 mm/util.c res = strnlen(buffer, res); buffer 79 mm/vmstat.c void __user *buffer, size_t *length, loff_t *ppos) buffer 86 mm/vmstat.c ret = proc_dointvec_minmax(table, write, buffer, length, ppos); buffer 1759 mm/vmstat.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 243 net/atm/ioctl.c get_user(data, &iobuf32->buffer)) buffer 247 net/atm/ioctl.c put_user(datap, &iobuf->buffer)) buffer 213 net/atm/resources.c if (get_user(cbuf, &ciobuf->buffer)) buffer 220 net/atm/resources.c if (get_user(buf, &iobuf->buffer)) buffer 1030 net/bridge/br_netfilter_hooks.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 1034 net/bridge/br_netfilter_hooks.c ret = proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 50 net/ceph/ceph_common.c static int param_get_supported_features(char *buffer, buffer 53 net/ceph/ceph_common.c return sprintf(buffer, "0x%llx", CEPH_FEATURES_SUPPORTED_DEFAULT); buffer 994 net/core/ethtool.c void netdev_rss_key_fill(void *buffer, size_t len) buffer 998 net/core/ethtool.c memcpy(buffer, netdev_rss_key, len); buffer 3379 net/core/neighbour.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3389 net/core/neighbour.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 3443 net/core/neighbour.c void __user *buffer, buffer 3452 net/core/neighbour.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 3458 net/core/neighbour.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 3460 net/core/neighbour.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 3468 net/core/neighbour.c void __user *buffer, buffer 3471 net/core/neighbour.c int ret = proc_dointvec_jiffies(ctl, write, buffer, lenp, ppos); buffer 3479 net/core/neighbour.c void __user *buffer, buffer 3482 net/core/neighbour.c int ret = proc_dointvec_userhz_jiffies(ctl, write, buffer, lenp, ppos); buffer 3489 net/core/neighbour.c void __user *buffer, buffer 3492 net/core/neighbour.c int ret = proc_dointvec_ms_jiffies(ctl, write, buffer, lenp, ppos); buffer 3500 net/core/neighbour.c void __user *buffer, buffer 3503 net/core/neighbour.c int ret = proc_unres_qlen(ctl, write, buffer, lenp, ppos); buffer 3510 net/core/neighbour.c void __user *buffer, buffer 3517 net/core/neighbour.c ret = neigh_proc_dointvec_jiffies(ctl, write, buffer, lenp, ppos); buffer 3519 net/core/neighbour.c ret = neigh_proc_dointvec_ms_jiffies(ctl, write, buffer, lenp, ppos); buffer 798 net/core/pktgen.c static ssize_t get_labels(const char __user *buffer, struct pktgen_dev *pkt_dev) buffer 808 net/core/pktgen.c len = hex32_arg(&buffer[i], 8, &tmp); buffer 815 net/core/pktgen.c if (get_user(c, &buffer[i])) buffer 48 net/core/sysctl_net_core.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 66 net/core/sysctl_net_core.c ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); buffer 118 net/core/sysctl_net_core.c void __user *buffer, size_t *lenp, buffer 130 net/core/sysctl_net_core.c ret = cpumask_parse_user(buffer, *lenp, mask); buffer 183 net/core/sysctl_net_core.c if (copy_to_user(buffer, kbuf, len)) { buffer 197 net/core/sysctl_net_core.c void __user *buffer, size_t *lenp, buffer 207 net/core/sysctl_net_core.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 220 net/core/sysctl_net_core.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 231 net/core/sysctl_net_core.c ret = proc_dostring(&tbl, write, buffer, lenp, ppos); buffer 239 net/core/sysctl_net_core.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 243 net/core/sysctl_net_core.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 254 net/core/sysctl_net_core.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 262 net/core/sysctl_net_core.c return proc_dostring(&fake_table, write, buffer, lenp, ppos); buffer 267 net/core/sysctl_net_core.c void __user *buffer, size_t *lenp, buffer 277 net/core/sysctl_net_core.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 294 net/core/sysctl_net_core.c void __user *buffer, size_t *lenp, buffer 300 net/core/sysctl_net_core.c return proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 306 net/core/sysctl_net_core.c void __user *buffer, size_t *lenp, buffer 312 net/core/sysctl_net_core.c return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 1103 net/dcb/dcbnl.c struct dcbnl_buffer buffer; buffer 1105 net/dcb/dcbnl.c memset(&buffer, 0, sizeof(buffer)); buffer 1106 net/dcb/dcbnl.c err = ops->dcbnl_getbuffer(netdev, &buffer); buffer 1108 net/dcb/dcbnl.c nla_put(skb, DCB_ATTR_DCB_BUFFER, sizeof(buffer), &buffer)) buffer 1475 net/dcb/dcbnl.c struct dcbnl_buffer *buffer = buffer 1478 net/dcb/dcbnl.c err = ops->dcbnl_setbuffer(netdev, buffer); buffer 248 net/decnet/dn_dev.c void __user *buffer, buffer 263 net/decnet/dn_dev.c err = proc_dointvec(table, write, buffer, lenp, ppos); buffer 415 net/decnet/dn_dev.c char buffer[DN_IFREQ_SIZE]; buffer 416 net/decnet/dn_dev.c struct ifreq *ifr = (struct ifreq *)buffer; buffer 137 net/decnet/sysctl_net_decnet.c void __user *buffer, buffer 152 net/decnet/sysctl_net_decnet.c if (copy_from_user(addr, buffer, len)) buffer 178 net/decnet/sysctl_net_decnet.c if (copy_to_user(buffer, addr, len)) buffer 188 net/decnet/sysctl_net_decnet.c void __user *buffer, buffer 204 net/decnet/sysctl_net_decnet.c if (copy_from_user(devname, buffer, *lenp)) buffer 241 net/decnet/sysctl_net_decnet.c if (copy_to_user(buffer, devname, len)) buffer 305 net/dns_resolver/dns_key.c char *buffer, size_t buflen) buffer 312 net/dns_resolver/dns_key.c return user_read(key, buffer, buflen); buffer 1184 net/ipv4/cipso_ipv4.c unsigned char *buffer, buffer 1203 net/ipv4/cipso_ipv4.c &buffer[4], buffer 1218 net/ipv4/cipso_ipv4.c buffer[0] = CIPSO_V4_TAG_RBITMAP; buffer 1219 net/ipv4/cipso_ipv4.c buffer[1] = tag_len; buffer 1220 net/ipv4/cipso_ipv4.c buffer[3] = level; buffer 1282 net/ipv4/cipso_ipv4.c unsigned char *buffer, buffer 1301 net/ipv4/cipso_ipv4.c &buffer[4], buffer 1310 net/ipv4/cipso_ipv4.c buffer[0] = CIPSO_V4_TAG_ENUM; buffer 1311 net/ipv4/cipso_ipv4.c buffer[1] = tag_len; buffer 1312 net/ipv4/cipso_ipv4.c buffer[3] = level; buffer 1373 net/ipv4/cipso_ipv4.c unsigned char *buffer, buffer 1392 net/ipv4/cipso_ipv4.c &buffer[4], buffer 1401 net/ipv4/cipso_ipv4.c buffer[0] = CIPSO_V4_TAG_RANGE; buffer 1402 net/ipv4/cipso_ipv4.c buffer[1] = tag_len; buffer 1403 net/ipv4/cipso_ipv4.c buffer[3] = level; buffer 1464 net/ipv4/cipso_ipv4.c unsigned char *buffer, buffer 1470 net/ipv4/cipso_ipv4.c buffer[0] = CIPSO_V4_TAG_LOCAL; buffer 1471 net/ipv4/cipso_ipv4.c buffer[1] = CIPSO_V4_TAG_LOC_BLEN; buffer 1472 net/ipv4/cipso_ipv4.c *(u32 *)&buffer[2] = secattr->attr.secid; buffer 2370 net/ipv4/devinet.c void __user *buffer, buffer 2374 net/ipv4/devinet.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 2423 net/ipv4/devinet.c void __user *buffer, buffer 2429 net/ipv4/devinet.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 2467 net/ipv4/devinet.c void __user *buffer, buffer 2472 net/ipv4/devinet.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 276 net/ipv4/netfilter/ipt_CLUSTERIP.c char buffer[16]; buffer 279 net/ipv4/netfilter/ipt_CLUSTERIP.c sprintf(buffer, "%pI4", &ip); buffer 281 net/ipv4/netfilter/ipt_CLUSTERIP.c c->pde = proc_create_data(buffer, 0600, buffer 779 net/ipv4/netfilter/ipt_CLUSTERIP.c char buffer[PROC_WRITELEN+1]; buffer 785 net/ipv4/netfilter/ipt_CLUSTERIP.c if (copy_from_user(buffer, input, size)) buffer 787 net/ipv4/netfilter/ipt_CLUSTERIP.c buffer[size] = 0; buffer 789 net/ipv4/netfilter/ipt_CLUSTERIP.c if (*buffer == '+') { buffer 790 net/ipv4/netfilter/ipt_CLUSTERIP.c rc = kstrtoul(buffer+1, 10, &nodenum); buffer 795 net/ipv4/netfilter/ipt_CLUSTERIP.c } else if (*buffer == '-') { buffer 796 net/ipv4/netfilter/ipt_CLUSTERIP.c rc = kstrtoul(buffer+1, 10, &nodenum); buffer 3227 net/ipv4/route.c void __user *buffer, buffer 74 net/ipv4/sysctl_net_ipv4.c void __user *buffer, buffer 91 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 110 net/ipv4/sysctl_net_ipv4.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 127 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 171 net/ipv4/sysctl_net_ipv4.c void __user *buffer, buffer 189 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 207 net/ipv4/sysctl_net_ipv4.c void __user *buffer, buffer 215 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 224 net/ipv4/sysctl_net_ipv4.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 237 net/ipv4/sysctl_net_ipv4.c ret = proc_dostring(&tbl, write, buffer, lenp, ppos); buffer 245 net/ipv4/sysctl_net_ipv4.c void __user *buffer, size_t *lenp, buffer 255 net/ipv4/sysctl_net_ipv4.c ret = proc_dostring(&tbl, write, buffer, lenp, ppos); buffer 262 net/ipv4/sysctl_net_ipv4.c void __user *buffer, size_t *lenp, buffer 273 net/ipv4/sysctl_net_ipv4.c ret = proc_dostring(&tbl, write, buffer, lenp, ppos); buffer 299 net/ipv4/sysctl_net_ipv4.c void __user *buffer, size_t *lenp, buffer 347 net/ipv4/sysctl_net_ipv4.c ret = proc_dostring(&tbl, write, buffer, lenp, ppos); buffer 398 net/ipv4/sysctl_net_ipv4.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 402 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 414 net/ipv4/sysctl_net_ipv4.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 418 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 431 net/ipv4/sysctl_net_ipv4.c void __user *buffer, buffer 438 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 447 net/ipv4/sysctl_net_ipv4.c void __user *buffer, size_t *lenp, buffer 457 net/ipv4/sysctl_net_ipv4.c ret = proc_dostring(&tbl, write, buffer, lenp, ppos); buffer 465 net/ipv4/sysctl_net_ipv4.c void __user *buffer, size_t *lenp, buffer 472 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 140 net/ipv4/tcp_cong.c char *tcp_ca_get_name_by_key(u32 key, char *buffer) buffer 148 net/ipv4/tcp_cong.c ret = strncpy(buffer, ca->name, buffer 6059 net/ipv6/addrconf.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 6074 net/ipv6/addrconf.c ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); buffer 6085 net/ipv6/addrconf.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 6095 net/ipv6/addrconf.c return proc_dointvec_minmax(&lctl, write, buffer, lenp, ppos); buffer 6157 net/ipv6/addrconf.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 6172 net/ipv6/addrconf.c ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); buffer 6183 net/ipv6/addrconf.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 6190 net/ipv6/addrconf.c ret = proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 6224 net/ipv6/addrconf.c void __user *buffer, size_t *lenp, buffer 6242 net/ipv6/addrconf.c ret = proc_douintvec(&tmp, write, buffer, lenp, ppos); buffer 6286 net/ipv6/addrconf.c void __user *buffer, size_t *lenp, buffer 6316 net/ipv6/addrconf.c err = proc_dostring(&lctl, write, buffer, lenp, ppos); buffer 6354 net/ipv6/addrconf.c void __user *buffer, buffer 6370 net/ipv6/addrconf.c ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); buffer 6456 net/ipv6/addrconf.c void __user *buffer, size_t *lenp, buffer 6467 net/ipv6/addrconf.c ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); buffer 1837 net/ipv6/ndisc.c int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) buffer 1848 net/ipv6/ndisc.c ret = neigh_proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 1852 net/ipv6/ndisc.c buffer, lenp, ppos); buffer 1857 net/ipv6/ndisc.c buffer, lenp, ppos); buffer 6062 net/ipv6/route.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 6072 net/ipv6/route.c ret = proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 29 net/ipv6/sysctl_net_ipv6.c void __user *buffer, size_t *lenp, buffer 37 net/ipv6/sysctl_net_ipv6.c ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); buffer 1110 net/iucv/iucv.c u8 flags, void *buffer, buffer 1127 net/iucv/iucv.c for (array = buffer; size > 0; array++) { buffer 1136 net/iucv/iucv.c memcpy(buffer, rmmsg, min_t(size_t, size, 8)); buffer 1159 net/iucv/iucv.c u8 flags, void *buffer, size_t size, size_t *residual) buffer 1166 net/iucv/iucv.c buffer, size, residual); buffer 1173 net/iucv/iucv.c parm->db.ipbfadr1 = (u32)(addr_t) buffer; buffer 1209 net/iucv/iucv.c u8 flags, void *buffer, size_t size, size_t *residual) buffer 1215 net/iucv/iucv.c buffer, size, residual); buffer 1217 net/iucv/iucv.c rc = __iucv_message_receive(path, msg, flags, buffer, size, residual); buffer 1324 net/iucv/iucv.c u8 flags, u32 srccls, void *buffer, size_t size) buffer 1342 net/iucv/iucv.c memcpy(parm->dpl.iprmmsg, buffer, 8); buffer 1344 net/iucv/iucv.c parm->db.ipbfadr1 = (u32)(addr_t) buffer; buffer 1378 net/iucv/iucv.c u8 flags, u32 srccls, void *buffer, size_t size) buffer 1383 net/iucv/iucv.c rc = __iucv_message_send(path, msg, flags, srccls, buffer, size); buffer 1409 net/iucv/iucv.c u8 flags, u32 srccls, void *buffer, size_t size, buffer 1430 net/iucv/iucv.c memcpy(parm->dpl.iprmmsg, buffer, 8); buffer 1437 net/iucv/iucv.c parm->db.ipbfadr1 = (u32)(addr_t) buffer; buffer 2112 net/mac80211/ieee80211_i.h int ieee80211_build_preq_ies(struct ieee80211_local *local, u8 *buffer, buffer 1634 net/mac80211/util.c u8 *buffer, size_t buffer_len, buffer 1643 net/mac80211/util.c u8 *pos = buffer, *end = buffer + buffer_len; buffer 1825 net/mac80211/util.c return pos - buffer; buffer 1829 net/mac80211/util.c return pos - buffer; buffer 1832 net/mac80211/util.c int ieee80211_build_preq_ies(struct ieee80211_local *local, u8 *buffer, buffer 1848 net/mac80211/util.c buffer + pos, buffer 1855 net/mac80211/util.c ie_desc->ies[i] = buffer + old_pos; buffer 1866 net/mac80211/util.c memcpy(buffer + pos, ie + custom_ie_offset, buffer 1868 net/mac80211/util.c ie_desc->common_ies = buffer + pos; buffer 1365 net/mpls/af_mpls.c void __user *buffer, buffer 1369 net/mpls/af_mpls.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); buffer 2597 net/mpls/af_mpls.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 2611 net/mpls/af_mpls.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 1733 net/netfilter/ipvs/ip_vs_ctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 1746 net/netfilter/ipvs/ip_vs_ctl.c rc = proc_dointvec(&tmp, write, buffer, lenp, ppos); buffer 1760 net/netfilter/ipvs/ip_vs_ctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 1772 net/netfilter/ipvs/ip_vs_ctl.c rc = proc_dointvec(&tmp, write, buffer, lenp, ppos); buffer 1785 net/netfilter/ipvs/ip_vs_ctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 1797 net/netfilter/ipvs/ip_vs_ctl.c rc = proc_dointvec(&tmp, write, buffer, lenp, ppos); buffer 962 net/netfilter/ipvs/ip_vs_sync.c static void ip_vs_process_message_v0(struct netns_ipvs *ipvs, const char *buffer, buffer 965 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_sync_mesg_v0 *m = (struct ip_vs_sync_mesg_v0 *)buffer; buffer 973 net/netfilter/ipvs/ip_vs_sync.c p = (char *)buffer + sizeof(struct ip_vs_sync_mesg_v0); buffer 977 net/netfilter/ipvs/ip_vs_sync.c if (p + SIMPLE_CONN_SIZE > buffer+buflen) { buffer 987 net/netfilter/ipvs/ip_vs_sync.c if (p > buffer+buflen) { buffer 1207 net/netfilter/ipvs/ip_vs_sync.c static void ip_vs_process_message(struct netns_ipvs *ipvs, __u8 *buffer, buffer 1210 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_sync_mesg *m2 = (struct ip_vs_sync_mesg *)buffer; buffer 1232 net/netfilter/ipvs/ip_vs_sync.c msg_end = buffer + sizeof(struct ip_vs_sync_mesg); buffer 1241 net/netfilter/ipvs/ip_vs_sync.c if (p + sizeof(s->v4) > buffer+buflen) { buffer 1249 net/netfilter/ipvs/ip_vs_sync.c if (msg_end > buffer+buflen) { buffer 1270 net/netfilter/ipvs/ip_vs_sync.c ip_vs_process_message_v0(ipvs, buffer, buflen); buffer 1582 net/netfilter/ipvs/ip_vs_sync.c ip_vs_send_async(struct socket *sock, const char *buffer, const size_t length) buffer 1589 net/netfilter/ipvs/ip_vs_sync.c iov.iov_base = (void *)buffer; buffer 1614 net/netfilter/ipvs/ip_vs_sync.c ip_vs_receive(struct socket *sock, char *buffer, const size_t buflen) buffer 1617 net/netfilter/ipvs/ip_vs_sync.c struct kvec iov = {buffer, buflen}; buffer 520 net/netfilter/nf_conntrack_standalone.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 524 net/netfilter/nf_conntrack_standalone.c ret = proc_dointvec(table, write, buffer, lenp, ppos); buffer 417 net/netfilter/nf_log.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 433 net/netfilter/nf_log.c r = proc_dostring(&tmp, write, buffer, lenp, ppos); buffer 460 net/netfilter/nf_log.c r = proc_dostring(&tmp, write, buffer, lenp, ppos); buffer 35 net/netfilter/nf_nat_amanda.c char buffer[sizeof("65535")]; buffer 65 net/netfilter/nf_nat_amanda.c sprintf(buffer, "%u", port); buffer 68 net/netfilter/nf_nat_amanda.c buffer, strlen(buffer))) { buffer 34 net/netfilter/nf_nat_ftp.c char *buffer, size_t buflen, buffer 40 net/netfilter/nf_nat_ftp.c return snprintf(buffer, buflen, "%u,%u,%u,%u,%u,%u", buffer 49 net/netfilter/nf_nat_ftp.c return snprintf(buffer, buflen, "|1|%pI4|%u|", buffer 52 net/netfilter/nf_nat_ftp.c return snprintf(buffer, buflen, "|2|%pI6|%u|", buffer 55 net/netfilter/nf_nat_ftp.c return snprintf(buffer, buflen, "|||%u|", port); buffer 75 net/netfilter/nf_nat_ftp.c char buffer[sizeof("|1||65535|") + INET6_ADDRSTRLEN]; buffer 108 net/netfilter/nf_nat_ftp.c buflen = nf_nat_ftp_fmt_cmd(ct, type, buffer, sizeof(buffer), buffer 116 net/netfilter/nf_nat_ftp.c matchlen, buffer, buflen)) buffer 39 net/netfilter/nf_nat_irc.c char buffer[sizeof("4294967296 65635")]; buffer 84 net/netfilter/nf_nat_irc.c snprintf(buffer, sizeof(buffer), "%u %u", ntohl(newaddr.ip), port); buffer 86 net/netfilter/nf_nat_irc.c buffer, &newaddr.ip, port); buffer 89 net/netfilter/nf_nat_irc.c matchlen, buffer, strlen(buffer))) { buffer 38 net/netfilter/nf_nat_sip.c const char *buffer, unsigned int buflen) buffer 52 net/netfilter/nf_nat_sip.c buffer, buflen, false)) buffer 60 net/netfilter/nf_nat_sip.c buffer, buflen)) buffer 70 net/netfilter/nf_nat_sip.c static int sip_sprintf_addr(const struct nf_conn *ct, char *buffer, buffer 74 net/netfilter/nf_nat_sip.c return sprintf(buffer, "%pI4", &addr->ip); buffer 77 net/netfilter/nf_nat_sip.c return sprintf(buffer, "[%pI6c]", &addr->ip6); buffer 79 net/netfilter/nf_nat_sip.c return sprintf(buffer, "%pI6c", &addr->ip6); buffer 83 net/netfilter/nf_nat_sip.c static int sip_sprintf_addr_port(const struct nf_conn *ct, char *buffer, buffer 87 net/netfilter/nf_nat_sip.c return sprintf(buffer, "%pI4:%u", &addr->ip, port); buffer 89 net/netfilter/nf_nat_sip.c return sprintf(buffer, "[%pI6c]:%u", &addr->ip6, port); buffer 102 net/netfilter/nf_nat_sip.c char buffer[INET6_ADDRSTRLEN + sizeof("[]:nnnnn")]; buffer 122 net/netfilter/nf_nat_sip.c buflen = sip_sprintf_addr_port(ct, buffer, &newaddr, ntohs(newport)); buffer 124 net/netfilter/nf_nat_sip.c matchoff, matchlen, buffer, buflen); buffer 183 net/netfilter/nf_nat_sip.c char buffer[INET6_ADDRSTRLEN + sizeof("[]:nnnnn")]; buffer 215 net/netfilter/nf_nat_sip.c buflen = sip_sprintf_addr(ct, buffer, buffer 219 net/netfilter/nf_nat_sip.c poff, plen, buffer, buflen)) { buffer 232 net/netfilter/nf_nat_sip.c buflen = sip_sprintf_addr(ct, buffer, buffer 236 net/netfilter/nf_nat_sip.c poff, plen, buffer, buflen)) { buffer 250 net/netfilter/nf_nat_sip.c buflen = sprintf(buffer, "%u", ntohs(p)); buffer 252 net/netfilter/nf_nat_sip.c poff, plen, buffer, buflen)) { buffer 387 net/netfilter/nf_nat_sip.c char buffer[INET6_ADDRSTRLEN + sizeof("[]:nnnnn")]; buffer 433 net/netfilter/nf_nat_sip.c buflen = sip_sprintf_addr_port(ct, buffer, &newaddr, port); buffer 435 net/netfilter/nf_nat_sip.c matchoff, matchlen, buffer, buflen)) { buffer 454 net/netfilter/nf_nat_sip.c char buffer[sizeof("65536")]; buffer 469 net/netfilter/nf_nat_sip.c buflen = sprintf(buffer, "%u", c_len); buffer 471 net/netfilter/nf_nat_sip.c matchoff, matchlen, buffer, buflen); buffer 480 net/netfilter/nf_nat_sip.c char *buffer, int buflen) buffer 490 net/netfilter/nf_nat_sip.c matchoff, matchlen, buffer, buflen) ? 0 : -EINVAL; buffer 503 net/netfilter/nf_nat_sip.c char buffer[INET6_ADDRSTRLEN]; buffer 506 net/netfilter/nf_nat_sip.c buflen = sip_sprintf_addr(ct, buffer, addr, false); buffer 508 net/netfilter/nf_nat_sip.c sdpoff, type, term, buffer, buflen)) buffer 521 net/netfilter/nf_nat_sip.c char buffer[sizeof("nnnnn")]; buffer 524 net/netfilter/nf_nat_sip.c buflen = sprintf(buffer, "%u", port); buffer 526 net/netfilter/nf_nat_sip.c matchoff, matchlen, buffer, buflen)) buffer 540 net/netfilter/nf_nat_sip.c char buffer[INET6_ADDRSTRLEN]; buffer 544 net/netfilter/nf_nat_sip.c buflen = sip_sprintf_addr(ct, buffer, addr, false); buffer 546 net/netfilter/nf_nat_sip.c SDP_HDR_OWNER, SDP_HDR_MEDIA, buffer, buflen)) buffer 551 net/netfilter/nf_nat_sip.c buffer, buflen)) { buffer 161 net/netfilter/nft_exthdr.c unsigned int len, void *buffer, unsigned int *tcphdr_len) buffer 168 net/netfilter/nft_exthdr.c tcph = skb_header_pointer(pkt->skb, pkt->xt.thoff, sizeof(*tcph), buffer); buffer 176 net/netfilter/nft_exthdr.c return skb_header_pointer(pkt->skb, pkt->xt.thoff, *tcphdr_len, buffer); buffer 1309 net/openvswitch/actions.c u8 buffer[NSH_HDR_MAX_LEN]; buffer 1310 net/openvswitch/actions.c struct nshhdr *nh = (struct nshhdr *)buffer; buffer 228 net/packet/af_packet.c ((struct tpacket_block_desc *)((x)->pkbdq[(bid)].buffer)) buffer 230 net/packet/af_packet.c ((struct tpacket_block_desc *)((x)->pkbdq[(x)->kactive_blk_num].buffer)) buffer 474 net/packet/af_packet.c h.raw = rb->pg_vec[pg_vec_pos].buffer + buffer 580 net/packet/af_packet.c pbd = (struct tpacket_block_desc *)pg_vec[0].buffer; buffer 581 net/packet/af_packet.c p1->pkblk_start = pg_vec[0].buffer; buffer 4223 net/packet/af_packet.c if (likely(pg_vec[i].buffer)) { buffer 4224 net/packet/af_packet.c if (is_vmalloc_addr(pg_vec[i].buffer)) buffer 4225 net/packet/af_packet.c vfree(pg_vec[i].buffer); buffer 4227 net/packet/af_packet.c free_pages((unsigned long)pg_vec[i].buffer, buffer 4229 net/packet/af_packet.c pg_vec[i].buffer = NULL; buffer 4237 net/packet/af_packet.c char *buffer; buffer 4241 net/packet/af_packet.c buffer = (char *) __get_free_pages(gfp_flags, order); buffer 4242 net/packet/af_packet.c if (buffer) buffer 4243 net/packet/af_packet.c return buffer; buffer 4246 net/packet/af_packet.c buffer = vzalloc(array_size((1 << order), PAGE_SIZE)); buffer 4247 net/packet/af_packet.c if (buffer) buffer 4248 net/packet/af_packet.c return buffer; buffer 4252 net/packet/af_packet.c buffer = (char *) __get_free_pages(gfp_flags, order); buffer 4253 net/packet/af_packet.c if (buffer) buffer 4254 net/packet/af_packet.c return buffer; buffer 4271 net/packet/af_packet.c pg_vec[i].buffer = alloc_one_pg_vec_page(order); buffer 4272 net/packet/af_packet.c if (unlikely(!pg_vec[i].buffer)) buffer 4490 net/packet/af_packet.c void *kaddr = rb->pg_vec[i].buffer; buffer 56 net/packet/internal.h char *buffer; buffer 52 net/phonet/sysctl.c void __user *buffer, buffer 65 net/phonet/sysctl.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); buffer 644 net/rds/connection.c u64 *buffer, buffer 661 net/rds/connection.c if (!visitor(conn, buffer)) buffer 668 net/rds/connection.c rds_info_copy(iter, buffer, item_len); buffer 682 net/rds/connection.c u64 *buffer, buffer 710 net/rds/connection.c if (!visitor(cp, buffer)) buffer 718 net/rds/connection.c rds_info_copy(iter, buffer, item_len); buffer 727 net/rds/connection.c static int rds_conn_info_visitor(struct rds_conn_path *cp, void *buffer) buffer 729 net/rds/connection.c struct rds_info_connection *cinfo = buffer; buffer 757 net/rds/connection.c static int rds6_conn_info_visitor(struct rds_conn_path *cp, void *buffer) buffer 759 net/rds/connection.c struct rds6_info_connection *cinfo6 = buffer; buffer 790 net/rds/connection.c u64 buffer[(sizeof(struct rds_info_connection) + 7) / 8]; buffer 794 net/rds/connection.c buffer, buffer 803 net/rds/connection.c u64 buffer[(sizeof(struct rds6_info_connection) + 7) / 8]; buffer 807 net/rds/connection.c buffer, buffer 291 net/rds/ib.c void *buffer) buffer 293 net/rds/ib.c struct rds_info_rdma_connection *iinfo = buffer; buffer 330 net/rds/ib.c void *buffer) buffer 332 net/rds/ib.c struct rds6_info_rdma_connection *iinfo6 = buffer; buffer 369 net/rds/ib.c u64 buffer[(sizeof(struct rds_info_rdma_connection) + 7) / 8]; buffer 373 net/rds/ib.c buffer, buffer 383 net/rds/ib.c u64 buffer[(sizeof(struct rds6_info_rdma_connection) + 7) / 8]; buffer 387 net/rds/ib.c buffer, buffer 790 net/rds/rds.h u64 *buffer, buffer 173 net/rds/recv.c } buffer; buffer 176 net/rds/recv.c len = sizeof(buffer); buffer 177 net/rds/recv.c type = rds_message_next_extension(hdr, &pos, &buffer, &len); buffer 183 net/rds/recv.c rds_rdma_unuse(rs, be32_to_cpu(buffer.rdma.h_rdma_rkey), 0); buffer 190 net/rds/recv.c be32_to_cpu(buffer.rdma_dest.h_rdma_rkey), buffer 191 net/rds/recv.c be32_to_cpu(buffer.rdma_dest.h_rdma_offset)); buffer 206 net/rds/recv.c } buffer; buffer 210 net/rds/recv.c len = sizeof(buffer); buffer 211 net/rds/recv.c type = rds_message_next_extension(hdr, &pos, &buffer, &len); buffer 218 net/rds/recv.c be16_to_cpu(buffer.rds_npaths)); buffer 221 net/rds/recv.c new_peer_gen_num = be32_to_cpu(buffer.rds_gen_num); buffer 65 net/rds/tcp.c void __user *buffer, size_t *lenp, buffer 679 net/rds/tcp.c void __user *buffer, size_t *lenp, buffer 685 net/rds/tcp.c err = proc_dointvec_minmax(ctl, write, buffer, lenp, fpos); buffer 27 net/rose/rose_subr.c static int rose_create_facilities(unsigned char *buffer, struct rose_sock *rose); buffer 435 net/rose/rose_subr.c static int rose_create_facilities(unsigned char *buffer, struct rose_sock *rose) buffer 437 net/rose/rose_subr.c unsigned char *p = buffer + 1; buffer 524 net/rose/rose_subr.c len = p - buffer; buffer 525 net/rose/rose_subr.c buffer[0] = len - 1; buffer 1045 net/rxrpc/key.c char *buffer, size_t buflen) buffer 1124 net/rxrpc/key.c if (!buffer || buflen < size) buffer 1127 net/rxrpc/key.c xdr = (__be32 *)buffer; buffer 1233 net/rxrpc/key.c ASSERTCMP((char __user *) xdr - buffer, ==, size); buffer 98 net/sched/sch_htb.c s64 buffer, cbuffer;/* token bucket depth/rate */ buffer 482 net/sched/sch_htb.c return cl->cmode == HTB_CAN_SEND ? -cl->buffer : 0; buffer 622 net/sched/sch_htb.c if (toks > cl->buffer) buffer 623 net/sched/sch_htb.c toks = cl->buffer; buffer 1096 net/sched/sch_htb.c opt.buffer = PSCHED_NS2TICKS(cl->buffer); buffer 1201 net/sched/sch_htb.c parent->tokens = parent->buffer; buffer 1425 net/sched/sch_htb.c cl->tokens = PSCHED_TICKS2NS(hopt->buffer); buffer 1480 net/sched/sch_htb.c cl->buffer = PSCHED_TICKS2NS(hopt->buffer); buffer 100 net/sched/sch_tbf.c s64 buffer; /* Token bucket depth/rate: MUST BE >= MTU/B */ buffer 223 net/sched/sch_tbf.c toks = min_t(s64, now - q->t_c, q->buffer); buffer 232 net/sched/sch_tbf.c if (toks > q->buffer) buffer 233 net/sched/sch_tbf.c toks = q->buffer; buffer 277 net/sched/sch_tbf.c q->tokens = q->buffer; buffer 303 net/sched/sch_tbf.c s64 buffer, mtu; buffer 326 net/sched/sch_tbf.c buffer = min_t(u64, PSCHED_TICKS2NS(qopt->buffer), ~0U); buffer 335 net/sched/sch_tbf.c buffer = psched_l2t_ns(&rate, max_size); buffer 337 net/sched/sch_tbf.c max_size = min_t(u64, psched_ns_t2l(&rate, buffer), ~0U); buffer 401 net/sched/sch_tbf.c q->buffer = buffer; buffer 403 net/sched/sch_tbf.c q->buffer = PSCHED_TICKS2NS(qopt->buffer); buffer 404 net/sched/sch_tbf.c q->tokens = q->buffer; buffer 458 net/sched/sch_tbf.c opt.buffer = PSCHED_NS2TICKS(q->buffer); buffer 1271 net/sctp/sm_statefuns.c char buffer[sizeof(*errhdr) + sizeof(*addrparm)]; buffer 1279 net/sctp/sm_statefuns.c errhdr = (struct sctp_errhdr *)buffer; buffer 44 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 47 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 50 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 53 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 56 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 326 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 346 net/sctp/sysctl.c ret = proc_dostring(&tbl, write, buffer, lenp, ppos); buffer 372 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 389 net/sctp/sysctl.c ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); buffer 401 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 418 net/sctp/sysctl.c ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); buffer 430 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 437 net/sctp/sysctl.c return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); buffer 441 net/sctp/sysctl.c void __user *buffer, size_t *lenp, buffer 456 net/sctp/sysctl.c ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); buffer 291 net/socket.c static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen) buffer 293 net/socket.c return dynamic_dname(dentry, buffer, buflen, "socket:[%lu]", buffer 496 net/socket.c static ssize_t sockfs_listxattr(struct dentry *dentry, char *buffer, buffer 502 net/socket.c len = security_inode_listsecurity(d_inode(dentry), buffer, size); buffer 506 net/socket.c if (buffer) { buffer 509 net/socket.c buffer += len; buffer 514 net/socket.c if (buffer) { buffer 517 net/socket.c memcpy(buffer, XATTR_NAME_SOCKPROTONAME, len); buffer 518 net/socket.c buffer += len; buffer 79 net/sunrpc/auth.c static int param_get_hashtbl_sz(char *buffer, const struct kernel_param *kp) buffer 84 net/sunrpc/auth.c return sprintf(buffer, "%u", 1U << nbits); buffer 269 net/sunrpc/debugfs.c char *buffer = (char *)filp->private_data; buffer 272 net/sunrpc/debugfs.c size = sprintf(buffer, "%u\n", rpc_inject_disconnect); buffer 273 net/sunrpc/debugfs.c return simple_read_from_buffer(user_buf, len, offset, buffer, size); buffer 280 net/sunrpc/debugfs.c char buffer[16]; buffer 282 net/sunrpc/debugfs.c if (len >= sizeof(buffer)) buffer 283 net/sunrpc/debugfs.c len = sizeof(buffer) - 1; buffer 284 net/sunrpc/debugfs.c if (copy_from_user(buffer, user_buf, len)) buffer 286 net/sunrpc/debugfs.c buffer[len] = '\0'; buffer 287 net/sunrpc/debugfs.c if (kstrtouint(buffer, 10, &rpc_inject_disconnect)) buffer 1044 net/sunrpc/sched.c void *buffer = task->tk_rqstp->rq_buffer; buffer 1048 net/sunrpc/sched.c buf = container_of(buffer, struct rpc_buffer, data); buffer 247 net/sunrpc/svcsock.c } buffer; buffer 248 net/sunrpc/svcsock.c struct cmsghdr *cmh = &buffer.hdr; buffer 259 net/sunrpc/svcsock.c .msg_controllen = sizeof(buffer), buffer 504 net/sunrpc/svcsock.c } buffer; buffer 505 net/sunrpc/svcsock.c struct cmsghdr *cmh = &buffer.hdr; buffer 509 net/sunrpc/svcsock.c .msg_controllen = sizeof(buffer), buffer 63 net/sunrpc/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 73 net/sunrpc/sysctl.c return simple_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); buffer 78 net/sunrpc/sysctl.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 93 net/sunrpc/sysctl.c if (!access_ok(buffer, left)) buffer 95 net/sunrpc/sysctl.c p = buffer; buffer 124 net/sunrpc/sysctl.c if (copy_to_user(buffer, tmpbuf, len)) buffer 127 net/sunrpc/sysctl.c if (put_user('\n', (char __user *)buffer + len)) buffer 83 net/sunrpc/xprtrdma/svc_rdma.c void __user *buffer, size_t *lenp, buffer 106 net/sunrpc/xprtrdma/svc_rdma.c if (len && copy_to_user(buffer, str_buf, len)) buffer 125 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c void *buffer; buffer 130 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c buffer = kmalloc(rdma->sc_max_req_size, GFP_KERNEL); buffer 131 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c if (!buffer) buffer 133 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c addr = ib_dma_map_single(rdma->sc_pd->device, buffer, buffer 146 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c ctxt->rc_recv_buf = buffer; buffer 151 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c kfree(buffer); buffer 131 net/sunrpc/xprtrdma/svc_rdma_sendto.c void *buffer; buffer 140 net/sunrpc/xprtrdma/svc_rdma_sendto.c buffer = kmalloc(rdma->sc_max_req_size, GFP_KERNEL); buffer 141 net/sunrpc/xprtrdma/svc_rdma_sendto.c if (!buffer) buffer 143 net/sunrpc/xprtrdma/svc_rdma_sendto.c addr = ib_dma_map_single(rdma->sc_pd->device, buffer, buffer 153 net/sunrpc/xprtrdma/svc_rdma_sendto.c ctxt->sc_xprt_buf = buffer; buffer 161 net/sunrpc/xprtrdma/svc_rdma_sendto.c kfree(buffer); buffer 1001 net/sunrpc/xprtrdma/verbs.c struct rpcrdma_buffer *buffer = &r_xprt->rx_buf; buffer 1031 net/sunrpc/xprtrdma/verbs.c spin_lock(&buffer->rb_lock); buffer 1032 net/sunrpc/xprtrdma/verbs.c list_add(&req->rl_all, &buffer->rb_allreqs); buffer 1033 net/sunrpc/xprtrdma/verbs.c spin_unlock(&buffer->rb_lock); buffer 2632 net/sunrpc/xprtsock.c void *buffer = task->tk_rqstp->rq_buffer; buffer 2635 net/sunrpc/xprtsock.c buf = container_of(buffer, struct rpc_buffer, data); buffer 188 net/x25/x25_facilities.c int x25_create_facilities(unsigned char *buffer, buffer 192 net/x25/x25_facilities.c unsigned char *p = buffer + 1; buffer 200 net/x25/x25_facilities.c buffer[0] = 0; buffer 254 net/x25/x25_facilities.c len = p - buffer; buffer 255 net/x25/x25_facilities.c buffer[0] = len - 1; buffer 227 net/xdp/xsk.c void *buffer; buffer 245 net/xdp/xsk.c buffer = xdp_umem_get_data(xs->umem, addr); buffer 246 net/xdp/xsk.c memcpy(buffer, xdp->data_meta, len + metalen); buffer 354 net/xdp/xsk.c char *buffer; buffer 372 net/xdp/xsk.c buffer = xdp_umem_get_data(xs->umem, addr); buffer 373 net/xdp/xsk.c err = skb_store_bits(skb, 0, buffer, len); buffer 84 samples/bpf/xdpsock_user.c void *buffer; buffer 278 samples/bpf/xdpsock_user.c memcpy(xsk_umem__get_data(umem->buffer, addr), pkt_data, buffer 283 samples/bpf/xdpsock_user.c static struct xsk_umem_info *xsk_configure_umem(void *buffer, u64 size) buffer 300 samples/bpf/xdpsock_user.c ret = xsk_umem__create(&umem->umem, buffer, size, &umem->fq, &umem->cq, buffer 306 samples/bpf/xdpsock_user.c umem->buffer = buffer; buffer 576 samples/bpf/xdpsock_user.c char *pkt = xsk_umem__get_data(xsk->umem->buffer, addr); buffer 691 samples/bpf/xdpsock_user.c char *pkt = xsk_umem__get_data(xsk->umem->buffer, addr); buffer 154 samples/mei/mei-amt-version.c static ssize_t mei_recv_msg(struct mei *me, unsigned char *buffer, buffer 161 samples/mei/mei-amt-version.c rc = read(me->fd, buffer, len); buffer 172 samples/mei/mei-amt-version.c static ssize_t mei_send_msg(struct mei *me, const unsigned char *buffer, buffer 185 samples/mei/mei-amt-version.c written = write(me->fd, buffer, len); buffer 1525 samples/mic/mpssd/mpssd.c char buffer[PATH_MAX]; buffer 1528 samples/mic/mpssd/mpssd.c len = snprintf(buffer, PATH_MAX, buffer 1530 samples/mic/mpssd/mpssd.c len += snprintf(buffer + len, PATH_MAX - len, buffer 1532 samples/mic/mpssd/mpssd.c len += snprintf(buffer + len, PATH_MAX - len, buffer 1536 samples/mic/mpssd/mpssd.c setsysfs(mic->name, "cmdline", buffer); buffer 1537 samples/mic/mpssd/mpssd.c mpsslog("%s: Command line: \"%s\"\n", mic->name, buffer); buffer 1538 samples/mic/mpssd/mpssd.c snprintf(buffer, PATH_MAX, "172.31.%d.1", mic->id + 1); buffer 1539 samples/mic/mpssd/mpssd.c mpsslog("%s: IPADDR: \"%s\"\n", mic->name, buffer); buffer 1622 samples/mic/mpssd/mpssd.c char buffer[PATH_MAX]; buffer 1646 samples/mic/mpssd/mpssd.c snprintf(buffer, PATH_MAX, "boot"); buffer 1647 samples/mic/mpssd/mpssd.c setsysfs(mic->name, "state", buffer); buffer 1761 samples/mic/mpssd/mpssd.c char buffer[4096]; buffer 1769 samples/mic/mpssd/mpssd.c vsprintf(buffer, format, args); buffer 1775 samples/mic/mpssd/mpssd.c fprintf(logfp, "%s: %s", ts1, buffer); buffer 41 samples/vfs/test-statx.c unsigned int mask, struct statx *buffer) buffer 43 samples/vfs/test-statx.c return syscall(__NR_statx, dfd, filename, flags, mask, buffer); buffer 50 samples/vfs/test-statx.c char buffer[100]; buffer 58 samples/vfs/test-statx.c len = strftime(buffer, 100, "%F %T", &tm); buffer 64 samples/vfs/test-statx.c fwrite(buffer, 1, len, stdout); buffer 66 samples/vfs/test-statx.c len = strftime(buffer, 100, "%z", &tm); buffer 71 samples/vfs/test-statx.c fwrite(buffer, 1, len, stdout); buffer 77 samples/vfs/test-statx.c char buffer[256], ft = '?'; buffer 104 samples/vfs/test-statx.c sprintf(buffer, "%02x:%02x", stx->stx_dev_major, stx->stx_dev_minor); buffer 105 samples/vfs/test-statx.c printf("Device: %-15s", buffer); buffer 346 scripts/asn1_compiler.c static void tokenise(char *buffer, char *end) buffer 355 scripts/asn1_compiler.c token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); buffer 363 scripts/asn1_compiler.c while (buffer < end) { buffer 366 scripts/asn1_compiler.c line = buffer; buffer 367 scripts/asn1_compiler.c nl = memchr(line, '\n', end - buffer); buffer 369 scripts/asn1_compiler.c buffer = nl = end; buffer 371 scripts/asn1_compiler.c buffer = nl + 1; buffer 565 scripts/asn1_compiler.c char *buffer, *p; buffer 605 scripts/asn1_compiler.c if (!(buffer = malloc(st.st_size + 1))) { buffer 610 scripts/asn1_compiler.c if ((readlen = read(fd, buffer, st.st_size)) < 0) { buffer 636 scripts/asn1_compiler.c buffer[readlen] = 0; buffer 637 scripts/asn1_compiler.c tokenise(buffer, buffer + readlen); buffer 80 scripts/conmakehash.c char buffer[65536]; buffer 114 scripts/conmakehash.c while ( fgets(buffer, sizeof(buffer), ctbl) != NULL ) buffer 116 scripts/conmakehash.c if ( (p = strchr(buffer, '\n')) != NULL ) buffer 121 scripts/conmakehash.c p = buffer; buffer 142 scripts/conmakehash.c fprintf(stderr, "Bad input line: %s\n", buffer); buffer 155 scripts/conmakehash.c fprintf(stderr, "Bad input line: %s\n", buffer); buffer 410 scripts/genksyms/genksyms.c char buffer[256]; buffer 412 scripts/genksyms/genksyms.c .string = buffer, buffer 418 scripts/genksyms/genksyms.c if (node.string == buffer) buffer 424 scripts/genksyms/genksyms.c if (node.string == buffer) buffer 429 scripts/genksyms/genksyms.c if (node.string >= buffer + sizeof(buffer) - 1) { buffer 435 scripts/genksyms/genksyms.c if (node.string == buffer) buffer 438 scripts/genksyms/genksyms.c node.string = buffer; buffer 367 scripts/kconfig/gconf.c GtkTextBuffer *buffer; buffer 374 scripts/kconfig/gconf.c buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); buffer 375 scripts/kconfig/gconf.c gtk_text_buffer_get_bounds(buffer, &start, &end); buffer 376 scripts/kconfig/gconf.c gtk_text_buffer_delete(buffer, &start, &end); buffer 379 scripts/kconfig/gconf.c gtk_text_buffer_get_end_iter(buffer, &end); buffer 380 scripts/kconfig/gconf.c gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, buffer 382 scripts/kconfig/gconf.c gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); buffer 383 scripts/kconfig/gconf.c gtk_text_buffer_get_end_iter(buffer, &end); buffer 384 scripts/kconfig/gconf.c gtk_text_buffer_insert_with_tags(buffer, &end, str_get(&help), -1, tag2, buffer 392 scripts/kconfig/gconf.c GtkTextBuffer *buffer; buffer 396 scripts/kconfig/gconf.c buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); buffer 397 scripts/kconfig/gconf.c gtk_text_buffer_get_bounds(buffer, &start, &end); buffer 398 scripts/kconfig/gconf.c gtk_text_buffer_delete(buffer, &start, &end); buffer 401 scripts/kconfig/gconf.c gtk_text_buffer_get_end_iter(buffer, &end); buffer 402 scripts/kconfig/gconf.c gtk_text_buffer_insert_with_tags(buffer, &end, title, -1, tag1, buffer 404 scripts/kconfig/gconf.c gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); buffer 405 scripts/kconfig/gconf.c gtk_text_buffer_get_end_iter(buffer, &end); buffer 406 scripts/kconfig/gconf.c gtk_text_buffer_insert_with_tags(buffer, &end, msg, -1, tag2, buffer 1481 scripts/mod/file2alias.c void add_moddevtable(struct buffer *buf, struct module *mod) buffer 2129 scripts/mod/modpost.c void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf, buffer 2142 scripts/mod/modpost.c void buf_write(struct buffer *buf, const char *s, int len) buffer 2259 scripts/mod/modpost.c static void add_header(struct buffer *b, struct module *mod) buffer 2284 scripts/mod/modpost.c static void add_intree_flag(struct buffer *b, int is_intree) buffer 2291 scripts/mod/modpost.c static void add_retpoline(struct buffer *b) buffer 2298 scripts/mod/modpost.c static void add_staging_flag(struct buffer *b, const char *name) buffer 2307 scripts/mod/modpost.c static int add_versions(struct buffer *b, struct module *mod) buffer 2351 scripts/mod/modpost.c static void add_depends(struct buffer *b, struct module *mod) buffer 2383 scripts/mod/modpost.c static void add_srcversion(struct buffer *b, struct module *mod) buffer 2392 scripts/mod/modpost.c static void write_if_changed(struct buffer *b, const char *fname) buffer 2507 scripts/mod/modpost.c struct buffer buf = { }; buffer 2534 scripts/mod/modpost.c struct buffer ns_deps_buf = {}; buffer 2563 scripts/mod/modpost.c struct buffer buf = { }; buffer 107 scripts/mod/modpost.h buf_printf(struct buffer *buf, const char *fmt, ...); buffer 110 scripts/mod/modpost.h buf_write(struct buffer *buf, const char *s, int len); buffer 126 scripts/mod/modpost.h struct buffer dev_table_buf; buffer 188 scripts/mod/modpost.h void add_moddevtable(struct buffer *buf, struct module *mod); buffer 537 security/apparmor/apparmorfs.c char buffer[32]; buffer 554 security/apparmor/apparmorfs.c avail = sprintf(buffer, "%ld\n", rev->ns->revision); buffer 561 security/apparmor/apparmorfs.c return simple_read_from_buffer(buf, size, ppos, buffer, avail); buffer 1489 security/apparmor/apparmorfs.c char *buffer, *s; buffer 1493 security/apparmor/apparmorfs.c s = buffer = kmalloc(size, GFP_KERNEL); buffer 1494 security/apparmor/apparmorfs.c if (!buffer) buffer 1505 security/apparmor/apparmorfs.c kfree(buffer); buffer 1509 security/apparmor/apparmorfs.c return buffer; buffer 2471 security/apparmor/apparmorfs.c static int policy_readlink(struct dentry *dentry, char __user *buffer, buffer 2480 security/apparmor/apparmorfs.c res = readlink_copy(buffer, buflen, name); buffer 619 security/apparmor/domain.c char *buffer, struct path_cond *cond, buffer 633 security/apparmor/domain.c AA_BUG(!buffer); buffer 635 security/apparmor/domain.c error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, buffer 696 security/apparmor/domain.c long pos = name - buffer; buffer 698 security/apparmor/domain.c put_buffers(buffer); buffer 701 security/apparmor/domain.c get_buffers(buffer); buffer 702 security/apparmor/domain.c name = buffer + pos; buffer 745 security/apparmor/domain.c char *buffer, struct path_cond *cond, buffer 756 security/apparmor/domain.c AA_BUG(!buffer); buffer 768 security/apparmor/domain.c error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, buffer 818 security/apparmor/domain.c char *buffer, struct path_cond *cond, buffer 828 security/apparmor/domain.c AA_BUG(!buffer); buffer 833 security/apparmor/domain.c bprm, buffer, cond, unsafe)); buffer 838 security/apparmor/domain.c profile_transition(profile, bprm, buffer, buffer 845 security/apparmor/domain.c buffer, cond, unsafe)); buffer 851 security/apparmor/domain.c profile_transition(profile, bprm, buffer, buffer 880 security/apparmor/domain.c char *buffer = NULL; buffer 910 security/apparmor/domain.c get_buffers(buffer); buffer 914 security/apparmor/domain.c bprm, buffer, &cond, &unsafe); buffer 917 security/apparmor/domain.c profile_transition(profile, bprm, buffer, buffer 982 security/apparmor/domain.c put_buffers(buffer); buffer 167 security/apparmor/file.c const struct path *path, int flags, char *buffer, buffer 174 security/apparmor/file.c error = aa_path_name(path, flags, buffer, name, &info, buffer 294 security/apparmor/file.c const struct path *path, char *buffer, u32 request, buffer 305 security/apparmor/file.c flags | profile->path_flags, buffer, &name, cond, buffer 330 security/apparmor/file.c char *buffer = NULL; buffer 335 security/apparmor/file.c get_buffers(buffer); buffer 337 security/apparmor/file.c profile_path_perm(op, profile, path, buffer, request, buffer 340 security/apparmor/file.c put_buffers(buffer); buffer 366 security/apparmor/file.c const struct path *link, char *buffer, buffer 378 security/apparmor/file.c buffer, &lname, cond, AA_MAY_LINK); buffer 473 security/apparmor/file.c char *buffer = NULL, *buffer2 = NULL; buffer 478 security/apparmor/file.c get_buffers(buffer, buffer2); buffer 480 security/apparmor/file.c profile_path_link(profile, &link, buffer, &target, buffer 482 security/apparmor/file.c put_buffers(buffer, buffer2); buffer 518 security/apparmor/file.c char *buffer; buffer 527 security/apparmor/file.c get_buffers(buffer); buffer 531 security/apparmor/file.c profile_path_perm(op, profile, &file->f_path, buffer, buffer 545 security/apparmor/file.c buffer, request, &cond, flags, buffer 550 security/apparmor/file.c buffer, request, &cond, flags, buffer 556 security/apparmor/file.c put_buffers(buffer); buffer 25 security/apparmor/include/path.h int aa_path_name(const struct path *path, int flags, char *buffer, buffer 1249 security/apparmor/lsm.c static int param_get_aabool(char *buffer, const struct kernel_param *kp); buffer 1258 security/apparmor/lsm.c static int param_get_aauint(char *buffer, const struct kernel_param *kp); buffer 1266 security/apparmor/lsm.c static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp); buffer 1275 security/apparmor/lsm.c static int param_get_audit(char *buffer, const struct kernel_param *kp); buffer 1278 security/apparmor/lsm.c static int param_get_mode(char *buffer, const struct kernel_param *kp); buffer 1335 security/apparmor/lsm.c static int param_get_aaintbool(char *buffer, const struct kernel_param *kp); buffer 1367 security/apparmor/lsm.c static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp) buffer 1373 security/apparmor/lsm.c return param_get_bool(buffer, kp); buffer 1385 security/apparmor/lsm.c static int param_get_aabool(char *buffer, const struct kernel_param *kp) buffer 1391 security/apparmor/lsm.c return param_get_bool(buffer, kp); buffer 1410 security/apparmor/lsm.c static int param_get_aauint(char *buffer, const struct kernel_param *kp) buffer 1416 security/apparmor/lsm.c return param_get_uint(buffer, kp); buffer 1446 security/apparmor/lsm.c static int param_get_aaintbool(char *buffer, const struct kernel_param *kp) buffer 1456 security/apparmor/lsm.c return param_get_bool(buffer, &kp_local); buffer 1459 security/apparmor/lsm.c static int param_get_audit(char *buffer, const struct kernel_param *kp) buffer 1465 security/apparmor/lsm.c return sprintf(buffer, "%s", audit_mode_names[aa_g_audit]); buffer 1487 security/apparmor/lsm.c static int param_get_mode(char *buffer, const struct kernel_param *kp) buffer 1494 security/apparmor/lsm.c return sprintf(buffer, "%s", aa_profile_mode_names[aa_g_profile_mode]); buffer 1553 security/apparmor/lsm.c char *buffer; buffer 1557 security/apparmor/lsm.c buffer = kmalloc(aa_g_path_max, GFP_KERNEL); buffer 1559 security/apparmor/lsm.c buffer = kmalloc_node(aa_g_path_max, GFP_KERNEL, buffer 1561 security/apparmor/lsm.c if (!buffer) { buffer 1565 security/apparmor/lsm.c per_cpu(aa_buffers, i).buf[j] = buffer; buffer 1574 security/apparmor/lsm.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 1581 security/apparmor/lsm.c return proc_dointvec(table, write, buffer, lenp, ppos); buffer 316 security/apparmor/mount.c const struct path *mntpath, char *buffer, buffer 327 security/apparmor/mount.c AA_BUG(!buffer); buffer 332 security/apparmor/mount.c error = aa_path_name(mntpath, path_flags(profile, mntpath), buffer, buffer 373 security/apparmor/mount.c char *buffer, struct path *devpath, char *devbuffer, buffer 394 security/apparmor/mount.c return match_mnt_path_str(profile, path, buffer, devname, type, flags, buffer 402 security/apparmor/mount.c char *buffer = NULL; buffer 411 security/apparmor/mount.c get_buffers(buffer); buffer 413 security/apparmor/mount.c match_mnt(profile, path, buffer, NULL, NULL, NULL, buffer 415 security/apparmor/mount.c put_buffers(buffer); buffer 424 security/apparmor/mount.c char *buffer = NULL, *old_buffer = NULL; buffer 440 security/apparmor/mount.c get_buffers(buffer, old_buffer); buffer 442 security/apparmor/mount.c match_mnt(profile, path, buffer, &old_path, old_buffer, buffer 444 security/apparmor/mount.c put_buffers(buffer, old_buffer); buffer 454 security/apparmor/mount.c char *buffer = NULL; buffer 464 security/apparmor/mount.c get_buffers(buffer); buffer 466 security/apparmor/mount.c match_mnt(profile, path, buffer, NULL, NULL, NULL, buffer 468 security/apparmor/mount.c put_buffers(buffer); buffer 477 security/apparmor/mount.c char *buffer = NULL, *old_buffer = NULL; buffer 491 security/apparmor/mount.c get_buffers(buffer, old_buffer); buffer 493 security/apparmor/mount.c match_mnt(profile, path, buffer, &old_path, old_buffer, buffer 495 security/apparmor/mount.c put_buffers(buffer, old_buffer); buffer 506 security/apparmor/mount.c char *buffer = NULL, *dev_buffer = NULL; buffer 536 security/apparmor/mount.c get_buffers(buffer, dev_buffer); buffer 539 security/apparmor/mount.c match_mnt(profile, path, buffer, dev_path, dev_buffer, buffer 543 security/apparmor/mount.c match_mnt_path_str(profile, path, buffer, dev_name, buffer 546 security/apparmor/mount.c put_buffers(buffer, dev_buffer); buffer 554 security/apparmor/mount.c char *buffer) buffer 567 security/apparmor/mount.c error = aa_path_name(path, path_flags(profile, path), buffer, &name, buffer 587 security/apparmor/mount.c char *buffer = NULL; buffer 594 security/apparmor/mount.c get_buffers(buffer); buffer 596 security/apparmor/mount.c profile_umount(profile, &path, buffer)); buffer 597 security/apparmor/mount.c put_buffers(buffer); buffer 111 security/apparmor/net.c __be16 buffer[2]; buffer 122 security/apparmor/net.c buffer[0] = cpu_to_be16(family); buffer 123 security/apparmor/net.c buffer[1] = cpu_to_be16((u16) type); buffer 124 security/apparmor/net.c state = aa_dfa_match_len(profile->policy.dfa, state, (char *) &buffer, buffer 25 security/apparmor/path.c static int prepend(char **buffer, int buflen, const char *str, int namelen) buffer 30 security/apparmor/path.c *buffer -= namelen; buffer 31 security/apparmor/path.c memcpy(*buffer, str, namelen); buffer 197 security/apparmor/path.c int aa_path_name(const struct path *path, int flags, char *buffer, buffer 201 security/apparmor/path.c int error = d_namespace_path(path, buffer, &str, flags, disconnected); buffer 369 security/commoncap.c int cap_inode_getsecurity(struct inode *inode, const char *name, void **buffer, buffer 402 security/commoncap.c *buffer = tmpbuf; buffer 420 security/commoncap.c *buffer = tmpbuf; buffer 435 security/commoncap.c *buffer = kmalloc(size, GFP_ATOMIC); buffer 436 security/commoncap.c if (*buffer) { buffer 437 security/commoncap.c struct vfs_cap_data *cap = *buffer; buffer 596 security/device_cgroup.c int filetype, char *buffer) buffer 608 security/device_cgroup.c b = buffer; buffer 484 security/integrity/ima/ima_crypto.c u8 buffer[IMA_EVENT_NAME_LEN_MAX + 1] = { 0 }; buffer 497 security/integrity/ima/ima_crypto.c memcpy(buffer, data_to_hash, datalen); buffer 498 security/integrity/ima/ima_crypto.c data_to_hash = buffer; buffer 17 security/integrity/ima/ima_kexec.c static int ima_dump_measurement_list(unsigned long *buffer_size, void **buffer, buffer 68 security/integrity/ima/ima_kexec.c *buffer = file.buf; buffer 117 security/integrity/ima/ima_kexec.c kbuf.buffer = kexec_buffer; buffer 239 security/integrity/ima/ima_template_lib.c u8 buffer[CRYPTO_MAX_ALG_NAME + 2 + IMA_MAX_DIGEST_SIZE] = { 0 }; buffer 245 security/integrity/ima/ima_template_lib.c offset += snprintf(buffer, CRYPTO_MAX_ALG_NAME + 1, "%s", buffer 247 security/integrity/ima/ima_template_lib.c buffer[offset] = ':'; buffer 252 security/integrity/ima/ima_template_lib.c memcpy(buffer + offset, digest, digestsize); buffer 261 security/integrity/ima/ima_template_lib.c return ima_write_template_field_data(buffer, offset + digestsize, buffer 355 security/keys/big_key.c long big_key_read(const struct key *key, char *buffer, size_t buflen) buffer 360 security/keys/big_key.c if (!buffer || buflen < datalen) buffer 395 security/keys/big_key.c memcpy(buffer, buf->virt, datalen); buffer 403 security/keys/big_key.c memcpy(buffer, key->payload.data[big_key_data], datalen); buffer 17 security/keys/compat_dh.c char __user *buffer, size_t buflen, buffer 24 security/keys/compat_dh.c return __keyctl_dh_compute(params, buffer, buflen, NULL); buffer 35 security/keys/compat_dh.c return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy); buffer 200 security/keys/dh.c char __user *buffer, size_t buflen, buffer 219 security/keys/dh.c if (copy_to_user(buffer, outbuf, buflen) != 0) buffer 228 security/keys/dh.c char __user *buffer, size_t buflen, buffer 245 security/keys/dh.c if (!params || (!buffer && buflen)) { buffer 386 security/keys/dh.c ret = keyctl_dh_compute_kdf(sdesc, buffer, buflen, outbuf, buffer 389 security/keys/dh.c } else if (copy_to_user(buffer, outbuf, req->dst_len) == 0) { buffer 411 security/keys/dh.c char __user *buffer, size_t buflen, buffer 417 security/keys/dh.c return __keyctl_dh_compute(params, buffer, buflen, NULL); buffer 422 security/keys/dh.c return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy); buffer 912 security/keys/encrypted-keys/encrypted.c static long encrypted_read(const struct key *key, char *buffer, buffer 931 security/keys/encrypted-keys/encrypted.c if (!buffer || buflen < asciiblob_len) buffer 960 security/keys/encrypted-keys/encrypted.c memcpy(buffer, ascii_buf, asciiblob_len); buffer 238 security/keys/internal.h extern long keyctl_get_security(key_serial_t keyid, char __user *buffer, buffer 271 security/keys/internal.h char __user *buffer, size_t buflen, buffer 278 security/keys/internal.h char __user *buffer, size_t buflen, buffer 287 security/keys/internal.h char __user *buffer, size_t buflen, buffer 642 security/keys/keyctl.c char __user *buffer, buffer 689 security/keys/keyctl.c if (buffer && buflen >= ret) { buffer 690 security/keys/keyctl.c if (copy_to_user(buffer, infobuf, infolen) != 0 || buffer 691 security/keys/keyctl.c copy_to_user(buffer + infolen, key->description, buffer 800 security/keys/keyctl.c static long __keyctl_read_key(struct key *key, char *buffer, size_t buflen) buffer 807 security/keys/keyctl.c ret = key->type->read(key, buffer, buflen); buffer 822 security/keys/keyctl.c long keyctl_read_key(key_serial_t keyid, char __user *buffer, size_t buflen) buffer 866 security/keys/keyctl.c if (!buffer || !buflen) { buffer 919 security/keys/keyctl.c if (copy_to_user(buffer, key_data, ret)) buffer 1550 security/keys/keyctl.c char __user *buffer, buffer 1581 security/keys/keyctl.c if (buffer && buflen > 0 && buffer 1582 security/keys/keyctl.c copy_to_user(buffer, "", 1) != 0) buffer 1586 security/keys/keyctl.c if (buffer && buflen > 0) { buffer 1590 security/keys/keyctl.c if (copy_to_user(buffer, context, buflen) != 0) buffer 82 security/keys/keyring.c char __user *buffer, size_t buflen); buffer 455 security/keys/keyring.c key_serial_t __user *buffer; buffer 469 security/keys/keyring.c *ctx->buffer++ = key->serial; buffer 482 security/keys/keyring.c char __user *buffer, size_t buflen) buffer 493 security/keys/keyring.c if (buffer && buflen) { buffer 494 security/keys/keyring.c ctx.buffer = (key_serial_t __user *)buffer; buffer 83 security/keys/request_key_auth.c char *buffer, size_t buflen) buffer 96 security/keys/request_key_auth.c if (buffer && buflen > 0) { buffer 100 security/keys/request_key_auth.c memcpy(buffer, rka->callout_info, buflen); buffer 177 security/keys/trusted.c int TSS_checkhmac1(unsigned char *buffer, buffer 201 security/keys/trusted.c bufsize = LOAD32(buffer, TPM_SIZE_OFFSET); buffer 202 security/keys/trusted.c tag = LOAD16(buffer, 0); buffer 204 security/keys/trusted.c result = LOAD32N(buffer, TPM_RETURN_OFFSET); buffer 209 security/keys/trusted.c authdata = buffer + bufsize - SHA1_DIGEST_SIZE; buffer 235 security/keys/trusted.c ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); buffer 262 security/keys/trusted.c static int TSS_checkhmac2(unsigned char *buffer, buffer 289 security/keys/trusted.c bufsize = LOAD32(buffer, TPM_SIZE_OFFSET); buffer 290 security/keys/trusted.c tag = LOAD16(buffer, 0); buffer 292 security/keys/trusted.c result = LOAD32N(buffer, TPM_RETURN_OFFSET); buffer 298 security/keys/trusted.c authdata1 = buffer + bufsize - (SHA1_DIGEST_SIZE + 1 buffer 300 security/keys/trusted.c authdata2 = buffer + bufsize - (SHA1_DIGEST_SIZE); buffer 329 security/keys/trusted.c ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); buffer 1147 security/keys/trusted.c static long trusted_read(const struct key *key, char *buffer, buffer 1158 security/keys/trusted.c if (buffer && buflen >= 2 * p->blob_len) { buffer 1159 security/keys/trusted.c bufp = buffer; buffer 171 security/keys/user_defined.c long user_read(const struct key *key, char *buffer, size_t buflen) buffer 180 security/keys/user_defined.c if (buffer && buflen > 0) { buffer 184 security/keys/user_defined.c memcpy(buffer, upayload->data, buflen); buffer 33 security/min_addr.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 40 security/min_addr.c ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); buffer 1303 security/security.c int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc) buffer 1314 security/security.c rc = hp->hook.inode_getsecurity(inode, name, buffer, alloc); buffer 1340 security/security.c int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) buffer 1344 security/security.c return call_int_hook(inode_listsecurity, 0, inode, buffer, buffer_size); buffer 1338 security/selinux/hooks.c char *buffer, *path; buffer 1340 security/selinux/hooks.c buffer = (char *)__get_free_page(GFP_KERNEL); buffer 1341 security/selinux/hooks.c if (!buffer) buffer 1344 security/selinux/hooks.c path = dentry_path_raw(dentry, buffer, PAGE_SIZE); buffer 1365 security/selinux/hooks.c free_page((unsigned long)buffer); buffer 3341 security/selinux/hooks.c static int selinux_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc) buffer 3372 security/selinux/hooks.c *buffer = context; buffer 3410 security/selinux/hooks.c static int selinux_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) buffer 3413 security/selinux/hooks.c if (buffer && len <= buffer_size) buffer 3414 security/selinux/hooks.c memcpy(buffer, XATTR_NAME_SELINUX, len); buffer 283 security/smack/smack_lsm.c char *buffer; buffer 289 security/smack/smack_lsm.c buffer = kzalloc(SMK_LONGLABEL, GFP_NOFS); buffer 290 security/smack/smack_lsm.c if (buffer == NULL) buffer 293 security/smack/smack_lsm.c rc = __vfs_getxattr(dp, ip, name, buffer, SMK_LONGLABEL); buffer 299 security/smack/smack_lsm.c skp = smk_import_entry(buffer, rc); buffer 301 security/smack/smack_lsm.c kfree(buffer); buffer 1434 security/smack/smack_lsm.c const char *name, void **buffer, buffer 1468 security/smack/smack_lsm.c *buffer = kstrdup(isp->smk_known, GFP_KERNEL); buffer 1469 security/smack/smack_lsm.c if (*buffer == NULL) buffer 1483 security/smack/smack_lsm.c static int smack_inode_listsecurity(struct inode *inode, char *buffer, buffer 1488 security/smack/smack_lsm.c if (buffer != NULL && len <= buffer_size) buffer 1489 security/smack/smack_lsm.c memcpy(buffer, XATTR_NAME_SMACK, len); buffer 26 security/tomoyo/audit.c char *buffer = kzalloc(tomoyo_buffer_len, GFP_NOFS); buffer 36 security/tomoyo/audit.c if (!buffer) buffer 38 security/tomoyo/audit.c len = snprintf(buffer, tomoyo_buffer_len - 1, "argv[]={ "); buffer 39 security/tomoyo/audit.c cp = buffer + len; buffer 56 security/tomoyo/audit.c if (cp >= buffer + tomoyo_buffer_len - 32) { buffer 104 security/tomoyo/audit.c return buffer; buffer 106 security/tomoyo/audit.c snprintf(buffer, tomoyo_buffer_len - 1, buffer 108 security/tomoyo/audit.c return buffer; buffer 156 security/tomoyo/audit.c char *buffer = kmalloc(tomoyo_buffer_len, GFP_NOFS); buffer 160 security/tomoyo/audit.c if (!buffer) buffer 165 security/tomoyo/audit.c pos = snprintf(buffer, tomoyo_buffer_len - 1, buffer 196 security/tomoyo/audit.c pos += snprintf(buffer + pos, buffer 206 security/tomoyo/audit.c pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, buffer 216 security/tomoyo/audit.c pos += snprintf(buffer + pos, buffer 221 security/tomoyo/audit.c pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, buffer 226 security/tomoyo/audit.c return buffer; buffer 227 security/tomoyo/audit.c kfree(buffer); buffer 196 security/tomoyo/common.c static void tomoyo_addprintf(char *buffer, int len, const char *fmt, ...) buffer 199 security/tomoyo/common.c const int pos = strlen(buffer); buffer 202 security/tomoyo/common.c vsnprintf(buffer + pos, len - pos - 1, fmt, args); buffer 439 security/tomoyo/common.c char buffer[128]; buffer 441 security/tomoyo/common.c buffer[0] = '\0'; buffer 445 security/tomoyo/common.c tomoyo_addprintf(buffer, sizeof(buffer), buffer 449 security/tomoyo/common.c tomoyo_addprintf(buffer, sizeof(buffer), buffer 453 security/tomoyo/common.c tomoyo_addprintf(buffer, sizeof(buffer), "%lu", buffer 459 security/tomoyo/common.c tomoyo_addprintf(buffer, sizeof(buffer), "-"); buffer 463 security/tomoyo/common.c tomoyo_io_printf(head, "%s", buffer); buffer 1829 security/tomoyo/common.c char buffer[128]; buffer 1834 security/tomoyo/common.c tomoyo_print_ip(buffer, sizeof(buffer), buffer 1836 security/tomoyo/common.c tomoyo_io_printf(head, " %s", buffer); buffer 2001 security/tomoyo/common.c char *buffer; buffer 2031 security/tomoyo/common.c buffer = kmalloc(len, GFP_NOFS); buffer 2032 security/tomoyo/common.c if (!buffer) buffer 2034 security/tomoyo/common.c snprintf(buffer, len - 1, "%s", cp); buffer 2036 security/tomoyo/common.c tomoyo_addprintf(buffer, len, " exec.%s", realpath); buffer 2038 security/tomoyo/common.c tomoyo_addprintf(buffer, len, " exec.argv[0]=%s", argv0); buffer 2040 security/tomoyo/common.c tomoyo_addprintf(buffer, len, "%s", symlink); buffer 2041 security/tomoyo/common.c tomoyo_normalize_line(buffer); buffer 2042 security/tomoyo/common.c if (!tomoyo_write_domain2(domain->ns, &domain->acl_info_list, buffer, buffer 2045 security/tomoyo/common.c kfree(buffer); buffer 2582 security/tomoyo/common.c ssize_t tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer, buffer 2592 security/tomoyo/common.c head->read_user_buf = buffer; buffer 2603 security/tomoyo/common.c len = head->read_user_buf - buffer; buffer 2656 security/tomoyo/common.c const char __user *buffer, const int buffer_len) buffer 2665 security/tomoyo/common.c if (!access_ok(buffer, buffer_len)) buffer 2689 security/tomoyo/common.c if (get_user(c, buffer)) { buffer 2693 security/tomoyo/common.c buffer++; buffer 936 security/tomoyo/common.h bool tomoyo_domain_def(const unsigned char *buffer); buffer 1026 security/tomoyo/common.h ssize_t tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer, buffer 1029 security/tomoyo/common.h const char __user *buffer, const int buffer_len); buffer 1057 security/tomoyo/common.h void tomoyo_normalize_line(unsigned char *buffer); buffer 1061 security/tomoyo/common.h void tomoyo_print_ulong(char *buffer, const int buffer_len, buffer 216 security/tomoyo/file.c char buffer[64]; buffer 233 security/tomoyo/file.c tomoyo_print_ulong(buffer, sizeof(buffer), r->param.path_number.number, buffer 237 security/tomoyo/file.c r->param.path_number.filename->name, buffer); buffer 90 security/tomoyo/network.c static void tomoyo_print_ipv4(char *buffer, const unsigned int buffer_len, buffer 93 security/tomoyo/network.c snprintf(buffer, buffer_len, "%pI4%c%pI4", min_ip, buffer 107 security/tomoyo/network.c static void tomoyo_print_ipv6(char *buffer, const unsigned int buffer_len, buffer 111 security/tomoyo/network.c snprintf(buffer, buffer_len, "%pI6c%c%pI6c", min_ip, buffer 93 security/tomoyo/realpath.c static char *tomoyo_get_absolute_path(const struct path *path, char * const buffer, buffer 100 security/tomoyo/realpath.c pos = d_absolute_path(path, buffer, buflen - 1); buffer 105 security/tomoyo/realpath.c buffer[buflen - 2] = '/'; buffer 106 security/tomoyo/realpath.c buffer[buflen - 1] = '\0'; buffer 124 security/tomoyo/realpath.c static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, buffer 130 security/tomoyo/realpath.c pos = dentry_path_raw(dentry, buffer, buflen - 1); buffer 135 security/tomoyo/realpath.c buffer[buflen - 2] = '/'; buffer 136 security/tomoyo/realpath.c buffer[buflen - 1] = '\0'; buffer 152 security/tomoyo/realpath.c static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer, buffer 156 security/tomoyo/realpath.c char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen); buffer 168 security/tomoyo/realpath.c if (pos < buffer) buffer 198 security/tomoyo/realpath.c if (pos < buffer) buffer 210 security/tomoyo/realpath.c if (pos < buffer) buffer 224 security/tomoyo/util.c void tomoyo_print_ulong(char *buffer, const int buffer_len, buffer 228 security/tomoyo/util.c snprintf(buffer, buffer_len, "%lu", value); buffer 230 security/tomoyo/util.c snprintf(buffer, buffer_len, "0%lo", value); buffer 232 security/tomoyo/util.c snprintf(buffer, buffer_len, "0x%lX", value); buffer 234 security/tomoyo/util.c snprintf(buffer, buffer_len, "type(%u)", type); buffer 404 security/tomoyo/util.c void tomoyo_normalize_line(unsigned char *buffer) buffer 406 security/tomoyo/util.c unsigned char *sp = buffer; buffer 407 security/tomoyo/util.c unsigned char *dp = buffer; buffer 563 security/tomoyo/util.c bool tomoyo_domain_def(const unsigned char *buffer) buffer 568 security/tomoyo/util.c if (*buffer != '<') buffer 570 security/tomoyo/util.c cp = strchr(buffer, ' '); buffer 572 security/tomoyo/util.c len = strlen(buffer); buffer 574 security/tomoyo/util.c len = cp - buffer; buffer 575 security/tomoyo/util.c if (buffer[len - 1] != '>' || buffer 576 security/tomoyo/util.c !tomoyo_correct_word2(buffer + 1, len - 2)) buffer 433 security/yama/yama_lsm.c void __user *buffer, size_t *lenp, loff_t *ppos) buffer 445 security/yama/yama_lsm.c return proc_dointvec_minmax(&table_copy, write, buffer, lenp, ppos); buffer 162 sound/core/compress_offload.c kfree(data->stream.runtime->buffer); buffer 262 sound/core/compress_offload.c dstn = runtime->buffer + app_pointer; buffer 272 sound/core/compress_offload.c if (copy_from_user(runtime->buffer, buf + copy, count - copy)) buffer 496 sound/core/compress_offload.c void *buffer = NULL; buffer 498 sound/core/compress_offload.c buffer_size = params->buffer.fragment_size * params->buffer.fragments; buffer 500 sound/core/compress_offload.c buffer = NULL; buffer 511 sound/core/compress_offload.c buffer = stream->runtime->dma_buffer_p->area; buffer 514 sound/core/compress_offload.c buffer = kmalloc(buffer_size, GFP_KERNEL); buffer 517 sound/core/compress_offload.c if (!buffer) buffer 520 sound/core/compress_offload.c stream->runtime->fragment_size = params->buffer.fragment_size; buffer 521 sound/core/compress_offload.c stream->runtime->fragments = params->buffer.fragments; buffer 522 sound/core/compress_offload.c stream->runtime->buffer = buffer; buffer 530 sound/core/compress_offload.c if (params->buffer.fragment_size == 0 || buffer 531 sound/core/compress_offload.c params->buffer.fragments > U32_MAX / params->buffer.fragment_size || buffer 532 sound/core/compress_offload.c params->buffer.fragments == 0) buffer 1020 sound/core/compress_offload.c struct snd_info_buffer *buffer) buffer 1024 sound/core/compress_offload.c snd_iprintf(buffer, "card: %d\n", compr->card->number); buffer 1025 sound/core/compress_offload.c snd_iprintf(buffer, "device: %d\n", compr->device); buffer 1026 sound/core/compress_offload.c snd_iprintf(buffer, "stream: %s\n", buffer 1029 sound/core/compress_offload.c snd_iprintf(buffer, "id: %s\n", compr->id); buffer 1585 sound/core/control.c static ssize_t snd_ctl_read(struct file *file, char __user *buffer, buffer 1628 sound/core/control.c if (copy_to_user(buffer, &ev, sizeof(struct snd_ctl_event))) { buffer 1633 sound/core/control.c buffer += sizeof(struct snd_ctl_event); buffer 479 sound/core/hwdep.c struct snd_info_buffer *buffer) buffer 485 sound/core/hwdep.c snd_iprintf(buffer, "%02i-%02i: %s\n", buffer 147 sound/core/info.c static ssize_t snd_info_entry_read(struct file *file, char __user *buffer, buffer 163 sound/core/info.c file, buffer, size, pos); buffer 169 sound/core/info.c static ssize_t snd_info_entry_write(struct file *file, const char __user *buffer, buffer 184 sound/core/info.c file, buffer, count, pos); buffer 302 sound/core/info.c const char __user *buffer, buffer 337 sound/core/info.c kvfree(buf->buffer); buffer 338 sound/core/info.c buf->buffer = nbuf; buffer 341 sound/core/info.c if (copy_from_user(buf->buffer + pos, buffer, count)) { buffer 362 sound/core/info.c data->rbuffer->buffer = (char *)seq; /* XXX hack! */ buffer 415 sound/core/info.c kvfree(data->wbuffer->buffer); buffer 493 sound/core/info.c struct snd_info_buffer *buffer) buffer 497 sound/core/info.c snd_iprintf(buffer, "%s\n", card->id); buffer 607 sound/core/info.c int snd_info_get_line(struct snd_info_buffer *buffer, char *line, int len) buffer 611 sound/core/info.c if (snd_BUG_ON(!buffer || !buffer->buffer)) buffer 613 sound/core/info.c if (len <= 0 || buffer->stop || buffer->error) buffer 615 sound/core/info.c while (!buffer->stop) { buffer 616 sound/core/info.c c = buffer->buffer[buffer->curr++]; buffer 617 sound/core/info.c if (buffer->curr >= buffer->size) buffer 618 sound/core/info.c buffer->stop = 1; buffer 878 sound/core/info.c struct snd_info_buffer *buffer)) buffer 898 sound/core/info.c static void snd_info_version_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 900 sound/core/info.c snd_iprintf(buffer, buffer 75 sound/core/info_oss.c struct snd_info_buffer *buffer) buffer 77 sound/core/info_oss.c snd_iprintf(buffer, "Sound Driver:3.8.1a-980706 (ALSA emulation code)\n"); buffer 78 sound/core/info_oss.c snd_iprintf(buffer, "Kernel: %s %s %s %s %s\n", buffer 84 sound/core/info_oss.c snd_iprintf(buffer, "Config options: 0\n"); buffer 85 sound/core/info_oss.c snd_iprintf(buffer, "\nInstalled drivers: \n"); buffer 86 sound/core/info_oss.c snd_iprintf(buffer, "Type 10: ALSA emulation\n"); buffer 87 sound/core/info_oss.c snd_iprintf(buffer, "\nCard config: \n"); buffer 88 sound/core/info_oss.c snd_card_info_read_oss(buffer); buffer 89 sound/core/info_oss.c snd_sndstat_show_strings(buffer, "Audio devices", SNDRV_OSS_INFO_DEV_AUDIO); buffer 90 sound/core/info_oss.c snd_sndstat_show_strings(buffer, "Synth devices", SNDRV_OSS_INFO_DEV_SYNTH); buffer 91 sound/core/info_oss.c snd_sndstat_show_strings(buffer, "Midi devices", SNDRV_OSS_INFO_DEV_MIDI); buffer 92 sound/core/info_oss.c snd_sndstat_show_strings(buffer, "Timers", SNDRV_OSS_INFO_DEV_TIMERS); buffer 93 sound/core/info_oss.c snd_sndstat_show_strings(buffer, "Mixers", SNDRV_OSS_INFO_DEV_MIXERS); buffer 790 sound/core/init.c struct snd_info_buffer *buffer) buffer 799 sound/core/init.c snd_iprintf(buffer, "%2i [%-15s]: %s - %s\n", buffer 804 sound/core/init.c snd_iprintf(buffer, " %s\n", buffer 810 sound/core/init.c snd_iprintf(buffer, "--- no soundcards ---\n"); buffer 814 sound/core/init.c void snd_card_info_read_oss(struct snd_info_buffer *buffer) buffer 823 sound/core/init.c snd_iprintf(buffer, "%s\n", card->longname); buffer 828 sound/core/init.c snd_iprintf(buffer, "--- no soundcards ---\n"); buffer 836 sound/core/init.c struct snd_info_buffer *buffer) buffer 844 sound/core/init.c snd_iprintf(buffer, "%2i %s\n", buffer 1143 sound/core/oss/mixer_oss.c struct snd_info_buffer *buffer) buffer 1155 sound/core/oss/mixer_oss.c snd_iprintf(buffer, "%s ", oss_mixer_names[i]); buffer 1157 sound/core/oss/mixer_oss.c snd_iprintf(buffer, "\"%s\" %d\n", buffer 1161 sound/core/oss/mixer_oss.c snd_iprintf(buffer, "\"\" 0\n"); buffer 1167 sound/core/oss/mixer_oss.c struct snd_info_buffer *buffer) buffer 1177 sound/core/oss/mixer_oss.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 1051 sound/core/oss/pcm_oss.c kvfree(runtime->oss.buffer); buffer 1052 sound/core/oss/pcm_oss.c runtime->oss.buffer = kvzalloc(runtime->oss.period_bytes, GFP_KERNEL); buffer 1053 sound/core/oss/pcm_oss.c if (!runtime->oss.buffer) { buffer 1344 sound/core/oss/pcm_oss.c if (copy_from_user(runtime->oss.buffer, (const char __force __user *)buf, bytes)) buffer 1346 sound/core/oss/pcm_oss.c buf = runtime->oss.buffer; buffer 1391 sound/core/oss/pcm_oss.c if (copy_from_user(runtime->oss.buffer + runtime->oss.buffer_used, buf, tmp)) { buffer 1402 sound/core/oss/pcm_oss.c tmp = snd_pcm_oss_write2(substream, runtime->oss.buffer + runtime->oss.period_ptr, buffer 1455 sound/core/oss/pcm_oss.c buf = runtime->oss.buffer; buffer 1498 sound/core/oss/pcm_oss.c tmp = snd_pcm_oss_read2(substream, runtime->oss.buffer, runtime->oss.period_bytes, 1); buffer 1508 sound/core/oss/pcm_oss.c if (copy_to_user(buf, runtime->oss.buffer + (runtime->oss.period_ptr - runtime->oss.buffer_used), tmp)) { buffer 1593 sound/core/oss/pcm_oss.c result = snd_pcm_oss_write2(substream, runtime->oss.buffer, size, 1); buffer 1656 sound/core/oss/pcm_oss.c runtime->oss.buffer + runtime->oss.buffer_used, buffer 1667 sound/core/oss/pcm_oss.c runtime->oss.buffer, buffer 2317 sound/core/oss/pcm_oss.c kvfree(runtime->oss.buffer); buffer 2318 sound/core/oss/pcm_oss.c runtime->oss.buffer = NULL; buffer 2911 sound/core/oss/pcm_oss.c struct snd_info_buffer *buffer) buffer 2917 sound/core/oss/pcm_oss.c snd_iprintf(buffer, "%s %u %u%s%s%s%s%s%s\n", buffer 2946 sound/core/oss/pcm_oss.c struct snd_info_buffer *buffer) buffer 2954 sound/core/oss/pcm_oss.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 2999 sound/core/oss/pcm_oss.c buffer->error = -ENOMEM; buffer 3013 sound/core/oss/pcm_oss.c buffer->error = -ENOMEM; buffer 331 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 345 sound/core/pcm.c snd_iprintf(buffer, "error %d\n", err); buffer 349 sound/core/pcm.c snd_iprintf(buffer, "card: %d\n", info->card); buffer 350 sound/core/pcm.c snd_iprintf(buffer, "device: %d\n", info->device); buffer 351 sound/core/pcm.c snd_iprintf(buffer, "subdevice: %d\n", info->subdevice); buffer 352 sound/core/pcm.c snd_iprintf(buffer, "stream: %s\n", snd_pcm_stream_name(info->stream)); buffer 353 sound/core/pcm.c snd_iprintf(buffer, "id: %s\n", info->id); buffer 354 sound/core/pcm.c snd_iprintf(buffer, "name: %s\n", info->name); buffer 355 sound/core/pcm.c snd_iprintf(buffer, "subname: %s\n", info->subname); buffer 356 sound/core/pcm.c snd_iprintf(buffer, "class: %d\n", info->dev_class); buffer 357 sound/core/pcm.c snd_iprintf(buffer, "subclass: %d\n", info->dev_subclass); buffer 358 sound/core/pcm.c snd_iprintf(buffer, "subdevices_count: %d\n", info->subdevices_count); buffer 359 sound/core/pcm.c snd_iprintf(buffer, "subdevices_avail: %d\n", info->subdevices_avail); buffer 364 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 367 sound/core/pcm.c buffer); buffer 371 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 373 sound/core/pcm.c snd_pcm_proc_info_read(entry->private_data, buffer); buffer 377 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 385 sound/core/pcm.c snd_iprintf(buffer, "closed\n"); buffer 389 sound/core/pcm.c snd_iprintf(buffer, "no setup\n"); buffer 392 sound/core/pcm.c snd_iprintf(buffer, "access: %s\n", snd_pcm_access_name(runtime->access)); buffer 393 sound/core/pcm.c snd_iprintf(buffer, "format: %s\n", snd_pcm_format_name(runtime->format)); buffer 394 sound/core/pcm.c snd_iprintf(buffer, "subformat: %s\n", snd_pcm_subformat_name(runtime->subformat)); buffer 395 sound/core/pcm.c snd_iprintf(buffer, "channels: %u\n", runtime->channels); buffer 396 sound/core/pcm.c snd_iprintf(buffer, "rate: %u (%u/%u)\n", runtime->rate, runtime->rate_num, runtime->rate_den); buffer 397 sound/core/pcm.c snd_iprintf(buffer, "period_size: %lu\n", runtime->period_size); buffer 398 sound/core/pcm.c snd_iprintf(buffer, "buffer_size: %lu\n", runtime->buffer_size); buffer 401 sound/core/pcm.c snd_iprintf(buffer, "OSS format: %s\n", snd_pcm_oss_format_name(runtime->oss.format)); buffer 402 sound/core/pcm.c snd_iprintf(buffer, "OSS channels: %u\n", runtime->oss.channels); buffer 403 sound/core/pcm.c snd_iprintf(buffer, "OSS rate: %u\n", runtime->oss.rate); buffer 404 sound/core/pcm.c snd_iprintf(buffer, "OSS period bytes: %lu\n", (unsigned long)runtime->oss.period_bytes); buffer 405 sound/core/pcm.c snd_iprintf(buffer, "OSS periods: %u\n", runtime->oss.periods); buffer 406 sound/core/pcm.c snd_iprintf(buffer, "OSS period frames: %lu\n", (unsigned long)runtime->oss.period_frames); buffer 414 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 422 sound/core/pcm.c snd_iprintf(buffer, "closed\n"); buffer 426 sound/core/pcm.c snd_iprintf(buffer, "no setup\n"); buffer 429 sound/core/pcm.c snd_iprintf(buffer, "tstamp_mode: %s\n", snd_pcm_tstamp_mode_name(runtime->tstamp_mode)); buffer 430 sound/core/pcm.c snd_iprintf(buffer, "period_step: %u\n", runtime->period_step); buffer 431 sound/core/pcm.c snd_iprintf(buffer, "avail_min: %lu\n", runtime->control->avail_min); buffer 432 sound/core/pcm.c snd_iprintf(buffer, "start_threshold: %lu\n", runtime->start_threshold); buffer 433 sound/core/pcm.c snd_iprintf(buffer, "stop_threshold: %lu\n", runtime->stop_threshold); buffer 434 sound/core/pcm.c snd_iprintf(buffer, "silence_threshold: %lu\n", runtime->silence_threshold); buffer 435 sound/core/pcm.c snd_iprintf(buffer, "silence_size: %lu\n", runtime->silence_size); buffer 436 sound/core/pcm.c snd_iprintf(buffer, "boundary: %lu\n", runtime->boundary); buffer 442 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 452 sound/core/pcm.c snd_iprintf(buffer, "closed\n"); buffer 458 sound/core/pcm.c snd_iprintf(buffer, "error %d\n", err); buffer 461 sound/core/pcm.c snd_iprintf(buffer, "state: %s\n", snd_pcm_state_name(status.state)); buffer 462 sound/core/pcm.c snd_iprintf(buffer, "owner_pid : %d\n", pid_vnr(substream->pid)); buffer 463 sound/core/pcm.c snd_iprintf(buffer, "trigger_time: %ld.%09ld\n", buffer 465 sound/core/pcm.c snd_iprintf(buffer, "tstamp : %ld.%09ld\n", buffer 467 sound/core/pcm.c snd_iprintf(buffer, "delay : %ld\n", status.delay); buffer 468 sound/core/pcm.c snd_iprintf(buffer, "avail : %ld\n", status.avail); buffer 469 sound/core/pcm.c snd_iprintf(buffer, "avail_max : %ld\n", status.avail_max); buffer 470 sound/core/pcm.c snd_iprintf(buffer, "-----\n"); buffer 471 sound/core/pcm.c snd_iprintf(buffer, "hw_ptr : %ld\n", runtime->status->hw_ptr); buffer 472 sound/core/pcm.c snd_iprintf(buffer, "appl_ptr : %ld\n", runtime->control->appl_ptr); buffer 479 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 487 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 490 sound/core/pcm.c snd_iprintf(buffer, "%d\n", pstr->xrun_debug); buffer 494 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 498 sound/core/pcm.c if (!snd_info_get_line(buffer, line, sizeof(line))) buffer 1163 sound/core/pcm.c struct snd_info_buffer *buffer) buffer 1169 sound/core/pcm.c snd_iprintf(buffer, "%02i-%02i: %s : %s", buffer 1172 sound/core/pcm.c snd_iprintf(buffer, " : playback %i", buffer 1175 sound/core/pcm.c snd_iprintf(buffer, " : capture %i", buffer 1177 sound/core/pcm.c snd_iprintf(buffer, "\n"); buffer 105 sound/core/pcm_memory.c struct snd_info_buffer *buffer) buffer 108 sound/core/pcm_memory.c snd_iprintf(buffer, "%lu\n", (unsigned long) substream->dma_buffer.bytes / 1024); buffer 117 sound/core/pcm_memory.c struct snd_info_buffer *buffer) buffer 120 sound/core/pcm_memory.c snd_iprintf(buffer, "%lu\n", (unsigned long) substream->dma_max / 1024); buffer 129 sound/core/pcm_memory.c struct snd_info_buffer *buffer) buffer 137 sound/core/pcm_memory.c buffer->error = -EBUSY; buffer 140 sound/core/pcm_memory.c if (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 144 sound/core/pcm_memory.c buffer->error = -EINVAL; buffer 155 sound/core/pcm_memory.c buffer->error = -ENOMEM; buffer 166 sound/core/pcm_memory.c buffer->error = -EINVAL; buffer 129 sound/core/rawmidi.c runtime->buffer = kvzalloc(runtime->buffer_size, GFP_KERNEL); buffer 130 sound/core/rawmidi.c if (!runtime->buffer) { buffer 143 sound/core/rawmidi.c kvfree(runtime->buffer); buffer 665 sound/core/rawmidi.c oldbuf = runtime->buffer; buffer 666 sound/core/rawmidi.c runtime->buffer = newbuf; buffer 893 sound/core/rawmidi.c const unsigned char *buffer, int count) buffer 901 sound/core/rawmidi.c if (runtime->buffer == NULL) { buffer 910 sound/core/rawmidi.c runtime->buffer[runtime->hw_ptr++] = buffer[0]; buffer 924 sound/core/rawmidi.c memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); buffer 931 sound/core/rawmidi.c buffer += count1; buffer 938 sound/core/rawmidi.c memcpy(runtime->buffer, buffer, count1); buffer 982 sound/core/rawmidi.c memcpy(kernelbuf + result, runtime->buffer + appl_ptr, count1); buffer 986 sound/core/rawmidi.c runtime->buffer + appl_ptr, count1)) buffer 1074 sound/core/rawmidi.c if (runtime->buffer == NULL) { buffer 1095 sound/core/rawmidi.c unsigned char *buffer, int count) buffer 1100 sound/core/rawmidi.c if (runtime->buffer == NULL) { buffer 1111 sound/core/rawmidi.c *buffer = runtime->buffer[runtime->hw_ptr]; buffer 1119 sound/core/rawmidi.c memcpy(buffer, runtime->buffer + runtime->hw_ptr, count1); buffer 1125 sound/core/rawmidi.c memcpy(buffer + count1, runtime->buffer, count); buffer 1149 sound/core/rawmidi.c unsigned char *buffer, int count) buffer 1156 sound/core/rawmidi.c result = __snd_rawmidi_transmit_peek(substream, buffer, count); buffer 1173 sound/core/rawmidi.c if (runtime->buffer == NULL) { buffer 1226 sound/core/rawmidi.c unsigned char *buffer, int count) buffer 1236 sound/core/rawmidi.c count = __snd_rawmidi_transmit_peek(substream, buffer, count); buffer 1281 sound/core/rawmidi.c if (snd_BUG_ON(!runtime->buffer)) buffer 1307 sound/core/rawmidi.c memcpy(runtime->buffer + appl_ptr, buffer 1311 sound/core/rawmidi.c if (copy_from_user(runtime->buffer + appl_ptr, buffer 1450 sound/core/rawmidi.c struct snd_info_buffer *buffer) buffer 1457 sound/core/rawmidi.c snd_iprintf(buffer, "%s\n\n", rmidi->name); buffer 1463 sound/core/rawmidi.c snd_iprintf(buffer, buffer 1469 sound/core/rawmidi.c snd_iprintf(buffer, buffer 1473 sound/core/rawmidi.c snd_iprintf(buffer, buffer 1487 sound/core/rawmidi.c snd_iprintf(buffer, buffer 1493 sound/core/rawmidi.c snd_iprintf(buffer, buffer 1497 sound/core/rawmidi.c snd_iprintf(buffer, buffer 2385 sound/core/seq/seq_clientmgr.c static void snd_seq_info_dump_subscribers(struct snd_info_buffer *buffer, buffer 2398 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, msg); buffer 2405 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, ", "); buffer 2406 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, "%d:%d", buffer 2410 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, "[%c:%d]", ((s->info.flags & SNDRV_SEQ_PORT_SUBS_TIME_REAL) ? 'r' : 't'), s->info.queue); buffer 2412 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, "[ex]"); buffer 2415 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, "\n"); buffer 2424 sound/core/seq/seq_clientmgr.c static void snd_seq_info_dump_ports(struct snd_info_buffer *buffer, buffer 2431 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, " Port %3d : \"%s\" (%c%c%c%c)\n", buffer 2437 sound/core/seq/seq_clientmgr.c snd_seq_info_dump_subscribers(buffer, &p->c_src, 1, " Connecting To: "); buffer 2438 sound/core/seq/seq_clientmgr.c snd_seq_info_dump_subscribers(buffer, &p->c_dest, 0, " Connected From: "); buffer 2446 sound/core/seq/seq_clientmgr.c struct snd_info_buffer *buffer) buffer 2451 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, "Client info\n"); buffer 2452 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, " cur clients : %d\n", client_usage.cur); buffer 2453 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, " peak clients : %d\n", client_usage.peak); buffer 2454 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, " max clients : %d\n", SNDRV_SEQ_MAX_CLIENTS); buffer 2455 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, "\n"); buffer 2467 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, "Client %3d : \"%s\" [%s]\n", buffer 2470 sound/core/seq/seq_clientmgr.c snd_seq_info_dump_ports(buffer, client); buffer 2472 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, " Output pool :\n"); buffer 2473 sound/core/seq/seq_clientmgr.c snd_seq_info_pool(buffer, client->pool, " "); buffer 2477 sound/core/seq/seq_clientmgr.c snd_iprintf(buffer, " Input pool :\n"); buffer 2478 sound/core/seq/seq_clientmgr.c snd_seq_info_pool(buffer, client->data.user.fifo->pool, " "); buffer 12 sound/core/seq/seq_info.h void snd_seq_info_clients_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer); buffer 13 sound/core/seq/seq_info.h void snd_seq_info_timer_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer); buffer 14 sound/core/seq/seq_info.h void snd_seq_info_queues_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer); buffer 492 sound/core/seq/seq_memory.c void snd_seq_info_pool(struct snd_info_buffer *buffer, buffer 497 sound/core/seq/seq_memory.c snd_iprintf(buffer, "%sPool size : %d\n", space, pool->total_elements); buffer 498 sound/core/seq/seq_memory.c snd_iprintf(buffer, "%sCells in use : %d\n", space, atomic_read(&pool->counter)); buffer 499 sound/core/seq/seq_memory.c snd_iprintf(buffer, "%sPeak cells in use : %d\n", space, pool->max_used); buffer 500 sound/core/seq/seq_memory.c snd_iprintf(buffer, "%sAlloc success : %d\n", space, pool->event_alloc_success); buffer 501 sound/core/seq/seq_memory.c snd_iprintf(buffer, "%sAlloc failures : %d\n", space, pool->event_alloc_failures); buffer 85 sound/core/seq/seq_memory.h void snd_seq_info_pool(struct snd_info_buffer *buffer, buffer 745 sound/core/seq/seq_queue.c struct snd_info_buffer *buffer) buffer 768 sound/core/seq/seq_queue.c snd_iprintf(buffer, "queue %d: [%s]\n", q->queue, q->name); buffer 769 sound/core/seq/seq_queue.c snd_iprintf(buffer, "owned by client : %d\n", owner); buffer 770 sound/core/seq/seq_queue.c snd_iprintf(buffer, "lock status : %s\n", locked ? "Locked" : "Free"); buffer 771 sound/core/seq/seq_queue.c snd_iprintf(buffer, "queued time events : %d\n", snd_seq_prioq_avail(q->timeq)); buffer 772 sound/core/seq/seq_queue.c snd_iprintf(buffer, "queued tick events : %d\n", snd_seq_prioq_avail(q->tickq)); buffer 773 sound/core/seq/seq_queue.c snd_iprintf(buffer, "timer state : %s\n", tmr->running ? "Running" : "Stopped"); buffer 774 sound/core/seq/seq_queue.c snd_iprintf(buffer, "timer PPQ : %d\n", tmr->ppq); buffer 775 sound/core/seq/seq_queue.c snd_iprintf(buffer, "current tempo : %d\n", tmr->tempo); buffer 776 sound/core/seq/seq_queue.c snd_iprintf(buffer, "current BPM : %d\n", bpm); buffer 777 sound/core/seq/seq_queue.c snd_iprintf(buffer, "current time : %d.%09d s\n", tmr->cur_time.tv_sec, tmr->cur_time.tv_nsec); buffer 778 sound/core/seq/seq_queue.c snd_iprintf(buffer, "current tick : %d\n", tmr->tick.cur_tick); buffer 779 sound/core/seq/seq_queue.c snd_iprintf(buffer, "\n"); buffer 463 sound/core/seq/seq_timer.c struct snd_info_buffer *buffer) buffer 482 sound/core/seq/seq_timer.c snd_iprintf(buffer, "Timer for queue %i : %s\n", q->queue, ti->timer->name); buffer 484 sound/core/seq/seq_timer.c snd_iprintf(buffer, " Period time : %lu.%09lu\n", resolution / 1000000000, resolution % 1000000000); buffer 485 sound/core/seq/seq_timer.c snd_iprintf(buffer, " Skew : %u / %u\n", tmr->skew, tmr->skew_base); buffer 66 sound/core/seq_device.c struct snd_info_buffer *buffer = data; buffer 68 sound/core/seq_device.c snd_iprintf(buffer, "snd-%s,%s,%d\n", sdev->id, buffer 75 sound/core/seq_device.c struct snd_info_buffer *buffer) buffer 77 sound/core/seq_device.c bus_for_each_dev(&snd_seq_bus_type, NULL, buffer, print_dev_info); buffer 345 sound/core/sound.c static void snd_minor_info_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 356 sound/core/sound.c snd_iprintf(buffer, "%3i: [%2i-%2i]: %s\n", buffer 360 sound/core/sound.c snd_iprintf(buffer, "%3i: [%2i] : %s\n", buffer 364 sound/core/sound.c snd_iprintf(buffer, "%3i: : %s\n", minor, buffer 213 sound/core/sound_oss.c struct snd_info_buffer *buffer) buffer 223 sound/core/sound_oss.c snd_iprintf(buffer, "%3i: [%i-%2i]: %s\n", minor, buffer 227 sound/core/sound_oss.c snd_iprintf(buffer, "%3i: : %s\n", minor, buffer 1217 sound/core/timer.c struct snd_info_buffer *buffer) buffer 1228 sound/core/timer.c snd_iprintf(buffer, "G%i: ", timer->tmr_device); buffer 1231 sound/core/timer.c snd_iprintf(buffer, "C%i-%i: ", buffer 1235 sound/core/timer.c snd_iprintf(buffer, "P%i-%i-%i: ", timer->card->number, buffer 1239 sound/core/timer.c snd_iprintf(buffer, "?%i-%i-%i-%i: ", timer->tmr_class, buffer 1243 sound/core/timer.c snd_iprintf(buffer, "%s :", timer->name); buffer 1245 sound/core/timer.c snd_iprintf(buffer, " %lu.%03luus (%lu ticks)", buffer 1250 sound/core/timer.c snd_iprintf(buffer, " SLAVE"); buffer 1251 sound/core/timer.c snd_iprintf(buffer, "\n"); buffer 1253 sound/core/timer.c snd_iprintf(buffer, " Client %s : %s\n", buffer 2056 sound/core/timer.c static ssize_t snd_timer_user_read(struct file *file, char __user *buffer, buffer 2105 sound/core/timer.c if (copy_to_user(buffer, &tu->tqueue[qhead], buffer 2109 sound/core/timer.c if (copy_to_user(buffer, &tu->queue[qhead], buffer 2118 sound/core/timer.c buffer += unit; buffer 1063 sound/drivers/aloop.c static void print_dpcm_info(struct snd_info_buffer *buffer, buffer 1067 sound/drivers/aloop.c snd_iprintf(buffer, " %s\n", id); buffer 1069 sound/drivers/aloop.c snd_iprintf(buffer, " inactive\n"); buffer 1072 sound/drivers/aloop.c snd_iprintf(buffer, " buffer_size:\t%u\n", dpcm->pcm_buffer_size); buffer 1073 sound/drivers/aloop.c snd_iprintf(buffer, " buffer_pos:\t\t%u\n", dpcm->buf_pos); buffer 1074 sound/drivers/aloop.c snd_iprintf(buffer, " silent_size:\t%u\n", dpcm->silent_size); buffer 1075 sound/drivers/aloop.c snd_iprintf(buffer, " period_size:\t%u\n", dpcm->pcm_period_size); buffer 1076 sound/drivers/aloop.c snd_iprintf(buffer, " bytes_per_sec:\t%u\n", dpcm->pcm_bps); buffer 1077 sound/drivers/aloop.c snd_iprintf(buffer, " sample_align:\t%u\n", dpcm->pcm_salign); buffer 1078 sound/drivers/aloop.c snd_iprintf(buffer, " rate_shift:\t\t%u\n", dpcm->pcm_rate_shift); buffer 1079 sound/drivers/aloop.c snd_iprintf(buffer, " update_pending:\t%u\n", buffer 1081 sound/drivers/aloop.c snd_iprintf(buffer, " irq_pos:\t\t%u\n", dpcm->irq_pos); buffer 1082 sound/drivers/aloop.c snd_iprintf(buffer, " period_frac:\t%u\n", dpcm->period_size_frac); buffer 1083 sound/drivers/aloop.c snd_iprintf(buffer, " last_jiffies:\t%lu (%lu)\n", buffer 1085 sound/drivers/aloop.c snd_iprintf(buffer, " timer_expires:\t%lu\n", dpcm->timer.expires); buffer 1088 sound/drivers/aloop.c static void print_substream_info(struct snd_info_buffer *buffer, buffer 1095 sound/drivers/aloop.c snd_iprintf(buffer, "Cable %i substream %i:\n", num, sub); buffer 1097 sound/drivers/aloop.c snd_iprintf(buffer, " inactive\n"); buffer 1100 sound/drivers/aloop.c snd_iprintf(buffer, " valid: %u\n", cable->valid); buffer 1101 sound/drivers/aloop.c snd_iprintf(buffer, " running: %u\n", cable->running); buffer 1102 sound/drivers/aloop.c snd_iprintf(buffer, " pause: %u\n", cable->pause); buffer 1103 sound/drivers/aloop.c print_dpcm_info(buffer, cable->streams[0], "Playback"); buffer 1104 sound/drivers/aloop.c print_dpcm_info(buffer, cable->streams[1], "Capture"); buffer 1108 sound/drivers/aloop.c struct snd_info_buffer *buffer) buffer 1117 sound/drivers/aloop.c print_substream_info(buffer, loopback, sub, num); buffer 914 sound/drivers/dummy.c struct snd_info_buffer *buffer) buffer 920 sound/drivers/dummy.c snd_iprintf(buffer, " %s", snd_pcm_format_name(i)); buffer 925 sound/drivers/dummy.c struct snd_info_buffer *buffer) buffer 934 sound/drivers/dummy.c snd_iprintf(buffer, " continuous"); buffer 936 sound/drivers/dummy.c snd_iprintf(buffer, " knot"); buffer 939 sound/drivers/dummy.c snd_iprintf(buffer, " %d", rates[i]); buffer 974 sound/drivers/dummy.c struct snd_info_buffer *buffer) buffer 980 sound/drivers/dummy.c snd_iprintf(buffer, "%s ", fields[i].name); buffer 982 sound/drivers/dummy.c snd_iprintf(buffer, fields[i].format, buffer 985 sound/drivers/dummy.c snd_iprintf(buffer, fields[i].format, buffer 988 sound/drivers/dummy.c print_formats(dummy, buffer); buffer 990 sound/drivers/dummy.c print_rates(dummy, buffer); buffer 991 sound/drivers/dummy.c snd_iprintf(buffer, "\n"); buffer 996 sound/drivers/dummy.c struct snd_info_buffer *buffer) buffer 1001 sound/drivers/dummy.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 588 sound/drivers/vx/vx_core.c static void vx_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 597 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "%s\n", chip->card->longname); buffer 598 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "Xilinx Firmware: %s\n", buffer 600 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "Device Initialized: %s\n", buffer 602 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "DSP audio info:"); buffer 604 sound/drivers/vx/vx_core.c snd_iprintf(buffer, " realtime"); buffer 606 sound/drivers/vx/vx_core.c snd_iprintf(buffer, " offline"); buffer 608 sound/drivers/vx/vx_core.c snd_iprintf(buffer, " mpeg1"); buffer 610 sound/drivers/vx/vx_core.c snd_iprintf(buffer, " mpeg2"); buffer 612 sound/drivers/vx/vx_core.c snd_iprintf(buffer, " linear8"); buffer 614 sound/drivers/vx/vx_core.c snd_iprintf(buffer, " linear16"); buffer 616 sound/drivers/vx/vx_core.c snd_iprintf(buffer, " linear24"); buffer 617 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "\n"); buffer 618 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "Input Source: %s\n", vx_is_pcmcia(chip) ? buffer 621 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "Clock Mode: %s\n", clock_mode[chip->clock_mode]); buffer 622 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "Clock Source: %s\n", clock_src[chip->clock_source]); buffer 623 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "Frequency: %d\n", chip->freq); buffer 624 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "Detected Frequency: %d\n", chip->freq_detected); buffer 625 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "Detected UER type: %s\n", uer_type[chip->uer_detected]); buffer 626 sound/drivers/vx/vx_core.c snd_iprintf(buffer, "Min/Max/Cur IBL: %d/%d/%d (granularity=%d)\n", buffer 150 sound/firewire/amdtp-am824.c __be32 *buffer, unsigned int frames, buffer 170 sound/firewire/amdtp-am824.c buffer[p->pcm_positions[c]] = buffer 174 sound/firewire/amdtp-am824.c buffer += s->data_block_quadlets; buffer 181 sound/firewire/amdtp-am824.c __be32 *buffer, unsigned int frames, buffer 201 sound/firewire/amdtp-am824.c *dst = be32_to_cpu(buffer[p->pcm_positions[c]]) << 8; buffer 204 sound/firewire/amdtp-am824.c buffer += s->data_block_quadlets; buffer 211 sound/firewire/amdtp-am824.c __be32 *buffer, unsigned int frames) buffer 218 sound/firewire/amdtp-am824.c buffer[p->pcm_positions[c]] = cpu_to_be32(0x40000000); buffer 219 sound/firewire/amdtp-am824.c buffer += s->data_block_quadlets; buffer 296 sound/firewire/amdtp-am824.c static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, buffer 304 sound/firewire/amdtp-am824.c b = (u8 *)&buffer[p->midi_position]; buffer 320 sound/firewire/amdtp-am824.c buffer += s->data_block_quadlets; buffer 324 sound/firewire/amdtp-am824.c static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, buffer 338 sound/firewire/amdtp-am824.c b = (u8 *)&buffer[p->midi_position]; buffer 344 sound/firewire/amdtp-am824.c buffer += s->data_block_quadlets; buffer 447 sound/firewire/amdtp-stream.c err = fw_iso_context_queue(s->context, params, &s->buffer.iso_buffer, buffer 448 sound/firewire/amdtp-stream.c s->buffer.packets[s->packet_index].offset); buffer 709 sound/firewire/amdtp-stream.c desc->ctx_payload = s->buffer.packets[index].buffer; buffer 747 sound/firewire/amdtp-stream.c desc->ctx_payload = s->buffer.packets[index].buffer; buffer 956 sound/firewire/amdtp-stream.c err = iso_packets_buffer_init(&s->buffer, s->unit, QUEUE_LENGTH, buffer 1024 sound/firewire/amdtp-stream.c iso_packets_buffer_destroy(&s->buffer, s->unit); buffer 1113 sound/firewire/amdtp-stream.c iso_packets_buffer_destroy(&s->buffer, s->unit); buffer 119 sound/firewire/amdtp-stream.h struct iso_packets_buffer buffer; buffer 36 sound/firewire/bebob/bebob_proc.c struct snd_info_buffer *buffer) buffer 49 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Manufacturer:\t%.8s\n", buffer 51 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Protocol Ver:\t%d\n", info->protocol_ver); buffer 52 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Build Ver:\t%d\n", info->bld_ver); buffer 53 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "GUID:\t\t0x%.8X%.8X\n", buffer 55 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Model ID:\t0x%02X\n", info->model_id); buffer 56 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Model Rev:\t%d\n", info->model_rev); buffer 57 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Firmware Date:\t%.8s\n", (char *)&info->fw_date); buffer 58 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Firmware Time:\t%.8s\n", (char *)&info->fw_time); buffer 59 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Firmware ID:\t0x%X\n", info->fw_id); buffer 60 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Firmware Ver:\t%d\n", info->fw_ver); buffer 61 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Base Addr:\t0x%X\n", info->base_addr); buffer 62 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Max Size:\t%d\n", info->max_size); buffer 63 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Loader Date:\t%.8s\n", (char *)&info->bld_date); buffer 64 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Loader Time:\t%.8s\n", (char *)&info->bld_time); buffer 72 sound/firewire/bebob/bebob_proc.c struct snd_info_buffer *buffer) buffer 92 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "%s %d:\t%d\n", buffer 105 sound/firewire/bebob/bebob_proc.c struct snd_info_buffer *buffer) buffer 111 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Output Stream from device:\n"); buffer 112 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "\tRate\tPCM\tMIDI\n"); buffer 115 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, buffer 120 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Input Stream to device:\n"); buffer 121 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "\tRate\tPCM\tMIDI\n"); buffer 124 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, buffer 132 sound/firewire/bebob/bebob_proc.c struct snd_info_buffer *buffer) buffer 146 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Sampling rate: %d\n", rate); buffer 150 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Clock Source: %s\n", buffer 153 sound/firewire/bebob/bebob_proc.c snd_iprintf(buffer, "Clock Source: %s (MSU-dest: %d)\n", buffer 78 sound/firewire/cmp.c __be32 old_arg, buffer[2]; buffer 81 sound/firewire/cmp.c buffer[0] = c->last_pcr_value; buffer 83 sound/firewire/cmp.c old_arg = buffer[0]; buffer 84 sound/firewire/cmp.c buffer[1] = modify(c, buffer[0]); buffer 88 sound/firewire/cmp.c pcr_address(c), buffer, 8, buffer 98 sound/firewire/cmp.c if (buffer[0] == old_arg) /* success? */ buffer 102 sound/firewire/cmp.c err = check(c, buffer[0]); buffer 107 sound/firewire/cmp.c c->last_pcr_value = buffer[1]; buffer 11 sound/firewire/dice/dice-proc.c static int dice_proc_read_mem(struct snd_dice *dice, void *buffer, buffer 19 sound/firewire/dice/dice-proc.c buffer, 4 * quadlets, 0); buffer 24 sound/firewire/dice/dice-proc.c be32_to_cpus(&((u32 *)buffer)[i]); buffer 57 sound/firewire/dice/dice-proc.c struct snd_info_buffer *buffer) buffer 119 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "sections:\n"); buffer 121 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " %s: offset %u, size %u\n", buffer 128 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "global:\n"); buffer 129 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " owner: %04x:%04x%08x\n", buffer 132 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " notification: %08x\n", buf.global.notification); buffer 134 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " nick name: %s\n", buf.global.nick_name); buffer 135 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " clock select: %s %s\n", buffer 141 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " enable: %u\n", buf.global.enable); buffer 142 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " status: %slocked %s\n", buffer 148 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " ext status: %08x\n", buf.global.extended_status); buffer 149 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " sample rate: %u\n", buf.global.sample_rate); buffer 151 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " version: %u.%u.%u.%u\n", buffer 156 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " clock caps:"); buffer 159 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " %s", rates[i]); buffer 162 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " %s", clock_sources[i]); buffer 163 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "\n"); buffer 166 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " clock source names: %s\n", buffer 178 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "tx %u:\n", stream); buffer 179 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " iso channel: %d\n", (int)buf.tx.iso); buffer 180 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " audio channels: %u\n", buffer 182 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " midi ports: %u\n", buf.tx.number_midi); buffer 183 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " speed: S%u\n", 100u << buf.tx.speed); buffer 186 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " names: %s\n", buf.tx.names); buffer 189 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " ac3 caps: %08x\n", buffer 191 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " ac3 enable: %08x\n", buffer 204 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "rx %u:\n", stream); buffer 205 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " iso channel: %d\n", (int)buf.rx.iso); buffer 206 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " sequence start: %u\n", buf.rx.seq_start); buffer 207 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " audio channels: %u\n", buffer 209 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " midi ports: %u\n", buf.rx.number_midi); buffer 212 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " names: %s\n", buf.rx.names); buffer 215 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " ac3 caps: %08x\n", buffer 217 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " ac3 enable: %08x\n", buffer 227 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "ext status:\n"); buffer 228 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " clock source: %s\n", buffer 232 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " locked: %u\n", buf.ext_sync.locked); buffer 233 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " rate: %s\n", buffer 236 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " adat user data: "); buffer 238 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "-\n"); buffer 240 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "%x\n", buffer 246 sound/firewire/dice/dice-proc.c struct snd_info_buffer *buffer) buffer 256 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "Output stream from unit:\n"); buffer 258 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "\t%s", rate_labels[i]); buffer 259 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "\tMIDI\n"); buffer 261 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "Tx %u:", i); buffer 263 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "\t%u", dice->tx_pcm_chs[i][j]); buffer 264 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "\t%u\n", dice->tx_midi_ports[i]); buffer 267 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "Input stream to unit:\n"); buffer 269 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "\t%s", rate_labels[i]); buffer 270 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "\n"); buffer 272 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "Rx %u:", i); buffer 274 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "\t%u", dice->rx_pcm_chs[i][j]); buffer 275 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, "\t%u\n", dice->rx_midi_ports[i]); buffer 282 sound/firewire/dice/dice-proc.c struct snd_info_buffer *buffer)) buffer 166 sound/firewire/dice/dice-transaction.c __be64 *buffer; buffer 172 sound/firewire/dice/dice-transaction.c buffer = kmalloc(2 * 8, GFP_KERNEL); buffer 173 sound/firewire/dice/dice-transaction.c if (!buffer) buffer 177 sound/firewire/dice/dice-transaction.c buffer[0] = cpu_to_be64(OWNER_NO_OWNER); buffer 178 sound/firewire/dice/dice-transaction.c buffer[1] = cpu_to_be64( buffer 188 sound/firewire/dice/dice-transaction.c buffer, 2 * 8, buffer 193 sound/firewire/dice/dice-transaction.c if (buffer[0] == cpu_to_be64(OWNER_NO_OWNER)) buffer 196 sound/firewire/dice/dice-transaction.c if (buffer[0] == buffer[1]) buffer 209 sound/firewire/dice/dice-transaction.c kfree(buffer); buffer 220 sound/firewire/dice/dice-transaction.c __be64 *buffer; buffer 222 sound/firewire/dice/dice-transaction.c buffer = kmalloc(2 * 8, GFP_KERNEL); buffer 223 sound/firewire/dice/dice-transaction.c if (buffer == NULL) buffer 226 sound/firewire/dice/dice-transaction.c buffer[0] = cpu_to_be64( buffer 229 sound/firewire/dice/dice-transaction.c buffer[1] = cpu_to_be64(OWNER_NO_OWNER); buffer 233 sound/firewire/dice/dice-transaction.c buffer, 2 * 8, FW_QUIET | buffer 236 sound/firewire/dice/dice-transaction.c kfree(buffer); buffer 101 sound/firewire/digi00x/amdtp-dot.c static void dot_encode_step(struct dot_state *state, __be32 *const buffer) buffer 103 sound/firewire/digi00x/amdtp-dot.c u8 * const data = (u8 *) buffer; buffer 146 sound/firewire/digi00x/amdtp-dot.c __be32 *buffer, unsigned int frames, buffer 164 sound/firewire/digi00x/amdtp-dot.c buffer++; buffer 167 sound/firewire/digi00x/amdtp-dot.c buffer[c] = cpu_to_be32((*src >> 8) | 0x40000000); buffer 168 sound/firewire/digi00x/amdtp-dot.c dot_encode_step(&p->state, &buffer[c]); buffer 171 sound/firewire/digi00x/amdtp-dot.c buffer += s->data_block_quadlets; buffer 178 sound/firewire/digi00x/amdtp-dot.c __be32 *buffer, unsigned int frames, buffer 196 sound/firewire/digi00x/amdtp-dot.c buffer++; buffer 199 sound/firewire/digi00x/amdtp-dot.c *dst = be32_to_cpu(buffer[c]) << 8; buffer 202 sound/firewire/digi00x/amdtp-dot.c buffer += s->data_block_quadlets; buffer 208 sound/firewire/digi00x/amdtp-dot.c static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, buffer 216 sound/firewire/digi00x/amdtp-dot.c buffer++; buffer 219 sound/firewire/digi00x/amdtp-dot.c buffer[c] = cpu_to_be32(0x40000000); buffer 220 sound/firewire/digi00x/amdtp-dot.c buffer += s->data_block_quadlets; buffer 248 sound/firewire/digi00x/amdtp-dot.c static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, buffer 258 sound/firewire/digi00x/amdtp-dot.c b = (u8 *)&buffer[0]; buffer 288 sound/firewire/digi00x/amdtp-dot.c buffer += s->data_block_quadlets; buffer 292 sound/firewire/digi00x/amdtp-dot.c static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, buffer 300 sound/firewire/digi00x/amdtp-dot.c b = (u8 *)&buffer[0]; buffer 318 sound/firewire/digi00x/amdtp-dot.c buffer += s->data_block_quadlets; buffer 31 sound/firewire/fireface/amdtp-ff.c __le32 *buffer, unsigned int frames, buffer 51 sound/firewire/fireface/amdtp-ff.c buffer[c] = cpu_to_le32(*src); buffer 54 sound/firewire/fireface/amdtp-ff.c buffer += s->data_block_quadlets; buffer 61 sound/firewire/fireface/amdtp-ff.c __le32 *buffer, unsigned int frames, buffer 81 sound/firewire/fireface/amdtp-ff.c *dst = le32_to_cpu(buffer[c]) & 0xffffff00; buffer 84 sound/firewire/fireface/amdtp-ff.c buffer += s->data_block_quadlets; buffer 91 sound/firewire/fireface/amdtp-ff.c __le32 *buffer, unsigned int frames) buffer 98 sound/firewire/fireface/amdtp-ff.c buffer[c] = cpu_to_le32(0x00000000); buffer 99 sound/firewire/fireface/amdtp-ff.c buffer += s->data_block_quadlets; buffer 28 sound/firewire/fireface/ff-proc.c struct snd_info_buffer *buffer) buffer 32 sound/firewire/fireface/ff-proc.c ff->spec->protocol->dump_status(ff, buffer); buffer 123 sound/firewire/fireface/ff-protocol-former.c static void dump_clock_config(struct snd_ff *ff, struct snd_info_buffer *buffer) buffer 138 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "Output S/PDIF format: %s (Emphasis: %s)\n", buffer 142 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "Optical output interface format: %s\n", buffer 145 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "Word output single speed: %s\n", buffer 148 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "S/PDIF input interface: %s\n", buffer 158 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "Clock configuration: %d %s\n", rate, label); buffer 161 sound/firewire/fireface/ff-protocol-former.c static void dump_sync_status(struct snd_ff *ff, struct snd_info_buffer *buffer) buffer 209 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "External source detection:\n"); buffer 224 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "%s: %s\n", clk_entry->label, state); buffer 227 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "Referred clock:\n"); buffer 230 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "Internal\n"); buffer 255 sound/firewire/fireface/ff-protocol-former.c snd_iprintf(buffer, "%s %d\n", label, rate); buffer 260 sound/firewire/fireface/ff-protocol-former.c struct snd_info_buffer *buffer) buffer 262 sound/firewire/fireface/ff-protocol-former.c dump_clock_config(ff, buffer); buffer 263 sound/firewire/fireface/ff-protocol-former.c dump_sync_status(ff, buffer); buffer 226 sound/firewire/fireface/ff-protocol-latter.c static void latter_dump_status(struct snd_ff *ff, struct snd_info_buffer *buffer) buffer 251 sound/firewire/fireface/ff-protocol-latter.c snd_iprintf(buffer, "External source detection:\n"); buffer 255 sound/firewire/fireface/ff-protocol-latter.c snd_iprintf(buffer, "%s: ", clk_entry->label); buffer 258 sound/firewire/fireface/ff-protocol-latter.c snd_iprintf(buffer, "sync\n"); buffer 260 sound/firewire/fireface/ff-protocol-latter.c snd_iprintf(buffer, "lock\n"); buffer 262 sound/firewire/fireface/ff-protocol-latter.c snd_iprintf(buffer, "none\n"); buffer 273 sound/firewire/fireface/ff-protocol-latter.c snd_iprintf(buffer, "Referred clock: %s %d\n", label, rate); buffer 120 sound/firewire/fireface/ff.h void (*dump_status)(struct snd_ff *ff, struct snd_info_buffer *buffer); buffer 28 sound/firewire/fireworks/fireworks_proc.c proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 41 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "guid_hi: 0x%X\n", hwinfo->guid_hi); buffer 42 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "guid_lo: 0x%X\n", hwinfo->guid_lo); buffer 43 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "type: 0x%X\n", hwinfo->type); buffer 44 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "version: 0x%X\n", hwinfo->version); buffer 45 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "vendor_name: %s\n", hwinfo->vendor_name); buffer 46 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "model_name: %s\n", hwinfo->model_name); buffer 48 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "dsp_version: 0x%X\n", hwinfo->dsp_version); buffer 49 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "arm_version: 0x%X\n", hwinfo->arm_version); buffer 50 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "fpga_version: 0x%X\n", hwinfo->fpga_version); buffer 52 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "flags: 0x%X\n", hwinfo->flags); buffer 54 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "max_sample_rate: 0x%X\n", hwinfo->max_sample_rate); buffer 55 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "min_sample_rate: 0x%X\n", hwinfo->min_sample_rate); buffer 56 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "supported_clock: 0x%X\n", buffer 59 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "phys out: 0x%X\n", hwinfo->phys_out); buffer 60 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "phys in: 0x%X\n", hwinfo->phys_in); buffer 62 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "phys in grps: 0x%X\n", buffer 65 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, buffer 71 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "phys out grps: 0x%X\n", buffer 74 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, buffer 80 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "amdtp rx pcm channels 1x: 0x%X\n", buffer 82 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "amdtp tx pcm channels 1x: 0x%X\n", buffer 84 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "amdtp rx pcm channels 2x: 0x%X\n", buffer 86 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "amdtp tx pcm channels 2x: 0x%X\n", buffer 88 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "amdtp rx pcm channels 4x: 0x%X\n", buffer 90 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "amdtp tx pcm channels 4x: 0x%X\n", buffer 93 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "midi out ports: 0x%X\n", hwinfo->midi_out_ports); buffer 94 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "midi in ports: 0x%X\n", hwinfo->midi_in_ports); buffer 96 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "mixer playback channels: 0x%X\n", buffer 98 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "mixer capture channels: 0x%X\n", buffer 105 sound/firewire/fireworks/fireworks_proc.c proc_read_clock(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 117 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "Clock Source: %d\n", clock_source); buffer 118 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "Sampling Rate: %d\n", sampling_rate); buffer 128 sound/firewire/fireworks/fireworks_proc.c struct snd_info_buffer *buffer) buffer 147 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "Physical Meters:\n"); buffer 152 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, " %d Outputs:\n", max); buffer 157 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "\t%s [%d]: %d\n", buffer 165 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, " %d Inputs:\n", max); buffer 170 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "\t%s [%d]: %d\n", buffer 179 sound/firewire/fireworks/fireworks_proc.c struct snd_info_buffer *buffer) buffer 190 sound/firewire/fireworks/fireworks_proc.c snd_iprintf(buffer, "%d/%d\n", buffer 56 sound/firewire/isight.c struct iso_packets_buffer buffer; buffer 176 sound/firewire/isight.c payload = isight->buffer.packets[index].buffer; buffer 197 sound/firewire/isight.c &isight->buffer.iso_buffer, buffer 198 sound/firewire/isight.c isight->buffer.packets[index].offset); buffer 270 sound/firewire/isight.c return iso_packets_buffer_init(&isight->buffer, isight->unit, buffer 280 sound/firewire/isight.c iso_packets_buffer_destroy(&isight->buffer, isight->unit); buffer 380 sound/firewire/isight.c &isight->buffer.iso_buffer, buffer 381 sound/firewire/isight.c isight->buffer.packets[i].offset); buffer 34 sound/firewire/lib.c u64 offset, void *buffer, size_t length, buffer 49 sound/firewire/lib.c buffer, length); buffer 17 sound/firewire/lib.h u64 offset, void *buffer, size_t length, buffer 16 sound/firewire/motu/amdtp-motu-trace.h static void copy_sph(u32 *frame, __be32 *buffer, unsigned int data_blocks, buffer 18 sound/firewire/motu/amdtp-motu-trace.h static void copy_message(u64 *frames, __be32 *buffer, unsigned int data_blocks, buffer 22 sound/firewire/motu/amdtp-motu-trace.h TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer), buffer 23 sound/firewire/motu/amdtp-motu-trace.h TP_ARGS(s, data_blocks, buffer), buffer 39 sound/firewire/motu/amdtp-motu-trace.h copy_sph(__get_dynamic_array(tstamps), buffer, data_blocks, s->data_block_quadlets); buffer 51 sound/firewire/motu/amdtp-motu-trace.h TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer), buffer 52 sound/firewire/motu/amdtp-motu-trace.h TP_ARGS(s, data_blocks, buffer), buffer 68 sound/firewire/motu/amdtp-motu-trace.h copy_message(__get_dynamic_array(messages), buffer, data_blocks, s->data_block_quadlets); buffer 121 sound/firewire/motu/amdtp-motu.c __be32 *buffer, unsigned int data_blocks, buffer 141 sound/firewire/motu/amdtp-motu.c byte = (u8 *)buffer + p->pcm_byte_offset; buffer 150 sound/firewire/motu/amdtp-motu.c buffer += s->data_block_quadlets; buffer 157 sound/firewire/motu/amdtp-motu.c __be32 *buffer, unsigned int data_blocks, buffer 177 sound/firewire/motu/amdtp-motu.c byte = (u8 *)buffer + p->pcm_byte_offset; buffer 187 sound/firewire/motu/amdtp-motu.c buffer += s->data_block_quadlets; buffer 193 sound/firewire/motu/amdtp-motu.c static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, buffer 203 sound/firewire/motu/amdtp-motu.c byte = (u8 *)buffer + p->pcm_byte_offset; buffer 212 sound/firewire/motu/amdtp-motu.c buffer += s->data_block_quadlets; buffer 238 sound/firewire/motu/amdtp-motu.c static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, buffer 247 sound/firewire/motu/amdtp-motu.c b = (u8 *)buffer; buffer 257 sound/firewire/motu/amdtp-motu.c buffer += s->data_block_quadlets; buffer 264 sound/firewire/motu/amdtp-motu.c static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, buffer 273 sound/firewire/motu/amdtp-motu.c b = (u8 *)buffer; buffer 279 sound/firewire/motu/amdtp-motu.c buffer += s->data_block_quadlets; buffer 284 sound/firewire/motu/amdtp-motu.c static void __maybe_unused copy_sph(u32 *frames, __be32 *buffer, buffer 291 sound/firewire/motu/amdtp-motu.c *frames = be32_to_cpu(*buffer); buffer 292 sound/firewire/motu/amdtp-motu.c buffer += data_block_quadlets; buffer 298 sound/firewire/motu/amdtp-motu.c static void __maybe_unused copy_message(u64 *frames, __be32 *buffer, buffer 306 sound/firewire/motu/amdtp-motu.c *frames = (be32_to_cpu(buffer[1]) << 16) | buffer 307 sound/firewire/motu/amdtp-motu.c (be32_to_cpu(buffer[2]) >> 16); buffer 308 sound/firewire/motu/amdtp-motu.c buffer += data_block_quadlets; buffer 384 sound/firewire/motu/amdtp-motu.c static void write_sph(struct amdtp_stream *s, __be32 *buffer, buffer 395 sound/firewire/motu/amdtp-motu.c *buffer = cpu_to_be32(sph); buffer 399 sound/firewire/motu/amdtp-motu.c buffer += s->data_block_quadlets; buffer 25 sound/firewire/motu/motu-proc.c struct snd_info_buffer *buffer) buffer 38 sound/firewire/motu/motu-proc.c snd_iprintf(buffer, "Rate:\t%d\n", rate); buffer 39 sound/firewire/motu/motu-proc.c snd_iprintf(buffer, "Source:\t%s\n", clock_names[source]); buffer 43 sound/firewire/motu/motu-proc.c struct snd_info_buffer *buffer) buffer 54 sound/firewire/motu/motu-proc.c snd_iprintf(buffer, "tx:\tmsg\tfixed\tdiffered\n"); buffer 59 sound/firewire/motu/motu-proc.c snd_iprintf(buffer, buffer 67 sound/firewire/motu/motu-proc.c snd_iprintf(buffer, "rx:\tmsg\tfixed\tdiffered\n"); buffer 72 sound/firewire/motu/motu-proc.c snd_iprintf(buffer, buffer 11 sound/firewire/oxfw/oxfw-proc.c struct snd_info_buffer *buffer) buffer 26 sound/firewire/oxfw/oxfw-proc.c snd_iprintf(buffer, "Input Stream to device:\n"); buffer 27 sound/firewire/oxfw/oxfw-proc.c snd_iprintf(buffer, "\tRate\tPCM\tMIDI\n"); buffer 42 sound/firewire/oxfw/oxfw-proc.c snd_iprintf(buffer, "%c\t%d\t%d\t%d\n", flag, buffer 56 sound/firewire/oxfw/oxfw-proc.c snd_iprintf(buffer, "Output Stream from device:\n"); buffer 57 sound/firewire/oxfw/oxfw-proc.c snd_iprintf(buffer, "\tRate\tPCM\tMIDI\n"); buffer 72 sound/firewire/oxfw/oxfw-proc.c snd_iprintf(buffer, "%c\t%d\t%d\t%d\n", flag, buffer 30 sound/firewire/oxfw/oxfw-scs1x.c u8 buffer[HSS1394_MAX_PACKET_SIZE]; buffer 210 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i] = byte << 4; buffer 214 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] |= byte & 0x0f; buffer 222 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[0] = HSS1394_TAG_USER_DATA; buffer 223 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] = scs->output_status; buffer 225 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] = byte; buffer 230 sound/firewire/oxfw/oxfw-scs1x.c !memcmp(scs->buffer + 1, sysex_escape_prefix, buffer 241 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[0] != buffer 246 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] = 0xf7; buffer 254 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[0] = HSS1394_TAG_USER_DATA; buffer 255 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] = byte; buffer 273 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer, scs->transaction_bytes, buffer 53 sound/firewire/packets-buffer.c b->packets[i].buffer = p + offset_in_page; buffer 16 sound/firewire/packets-buffer.h void *buffer; buffer 36 sound/firewire/tascam/amdtp-tascam.c __be32 *buffer, unsigned int frames, buffer 56 sound/firewire/tascam/amdtp-tascam.c buffer[c] = cpu_to_be32(*src); buffer 59 sound/firewire/tascam/amdtp-tascam.c buffer += s->data_block_quadlets; buffer 66 sound/firewire/tascam/amdtp-tascam.c __be32 *buffer, unsigned int frames, buffer 85 sound/firewire/tascam/amdtp-tascam.c buffer += 1; buffer 89 sound/firewire/tascam/amdtp-tascam.c *dst = be32_to_cpu(buffer[c]); buffer 92 sound/firewire/tascam/amdtp-tascam.c buffer += s->data_block_quadlets; buffer 98 sound/firewire/tascam/amdtp-tascam.c static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, buffer 108 sound/firewire/tascam/amdtp-tascam.c buffer[c] = 0x00000000; buffer 109 sound/firewire/tascam/amdtp-tascam.c buffer += s->data_block_quadlets; buffer 130 sound/firewire/tascam/amdtp-tascam.c __be32 *buffer, unsigned int data_blocks) buffer 141 sound/firewire/tascam/amdtp-tascam.c index = be32_to_cpu(buffer[0]) % SNDRV_FIREWIRE_TASCAM_STATE_COUNT; buffer 143 sound/firewire/tascam/amdtp-tascam.c after = buffer[s->data_block_quadlets - 1]; buffer 175 sound/firewire/tascam/amdtp-tascam.c buffer += s->data_block_quadlets; buffer 11 sound/firewire/tascam/tascam-proc.c struct snd_info_buffer *buffer) buffer 46 sound/firewire/tascam/tascam-proc.c snd_iprintf(buffer, "Register: %d (0x%08x)\n", reg & 0xffff, reg); buffer 47 sound/firewire/tascam/tascam-proc.c snd_iprintf(buffer, "FPGA: %d (0x%08x)\n", fpga & 0xffff, fpga); buffer 48 sound/firewire/tascam/tascam-proc.c snd_iprintf(buffer, "ARM: %d (0x%08x)\n", arm & 0xffff, arm); buffer 49 sound/firewire/tascam/tascam-proc.c snd_iprintf(buffer, "Hardware: %d (0x%08x)\n", hw >> 16, hw); buffer 163 sound/hda/hdac_component.c bool *audio_enabled, char *buffer, int max_bytes) buffer 180 sound/hda/hdac_component.c buffer, max_bytes); buffer 38 sound/hda/intel-nhlt.c nhlt_ptr = (struct nhlt_resource_desc *)obj->buffer.pointer; buffer 467 sound/i2c/other/ak4113.c struct snd_info_buffer *buffer) buffer 474 sound/i2c/other/ak4113.c snd_iprintf(buffer, "0x%02x = 0x%02x\n", reg, val); buffer 440 sound/i2c/other/ak4114.c struct snd_info_buffer *buffer) buffer 447 sound/i2c/other/ak4114.c snd_iprintf(buffer, "0x%02x = 0x%02x\n", reg, val); buffer 850 sound/i2c/other/ak4xxx-adda.c struct snd_info_buffer *buffer) buffer 857 sound/i2c/other/ak4xxx-adda.c snd_iprintf(buffer, "chip %d: 0x%02x = 0x%02x\n", chip, buffer 196 sound/isa/gus/gus_dma.c block->addr, (long) block->buffer, block->count, buffer 18 sound/isa/gus/gus_dram.c char buffer[256], *pbuffer; buffer 21 sound/isa/gus/gus_dram.c size1 = size > sizeof(buffer) ? sizeof(buffer) : size; buffer 22 sound/isa/gus/gus_dram.c if (copy_from_user(buffer, _buffer, size1)) buffer 28 sound/isa/gus/gus_dram.c outsb(GUSP(gus, DRAM), buffer, size1); buffer 32 sound/isa/gus/gus_dram.c pbuffer = buffer; buffer 44 sound/isa/gus/gus_dram.c int snd_gus_dram_write(struct snd_gus_card *gus, char __user *buffer, buffer 47 sound/isa/gus/gus_dram.c return snd_gus_dram_poke(gus, buffer, address, size); buffer 56 sound/isa/gus/gus_dram.c char buffer[256], *pbuffer; buffer 59 sound/isa/gus/gus_dram.c size1 = size > sizeof(buffer) ? sizeof(buffer) : size; buffer 64 sound/isa/gus/gus_dram.c insb(GUSP(gus, DRAM), buffer, size1); buffer 69 sound/isa/gus/gus_dram.c pbuffer = buffer; buffer 74 sound/isa/gus/gus_dram.c if (copy_to_user(_buffer, buffer, size1)) buffer 82 sound/isa/gus/gus_dram.c int snd_gus_dram_read(struct snd_gus_card *gus, char __user *buffer, buffer 86 sound/isa/gus/gus_dram.c return snd_gus_dram_peek(gus, buffer, address, size, rom); buffer 103 sound/isa/gus/gus_irq.c struct snd_info_buffer *buffer) buffer 110 sound/isa/gus/gus_irq.c snd_iprintf(buffer, "midi out = %u\n", gus->gf1.interrupt_stat_midi_out); buffer 111 sound/isa/gus/gus_irq.c snd_iprintf(buffer, "midi in = %u\n", gus->gf1.interrupt_stat_midi_in); buffer 112 sound/isa/gus/gus_irq.c snd_iprintf(buffer, "timer1 = %u\n", gus->gf1.interrupt_stat_timer1); buffer 113 sound/isa/gus/gus_irq.c snd_iprintf(buffer, "timer2 = %u\n", gus->gf1.interrupt_stat_timer2); buffer 114 sound/isa/gus/gus_irq.c snd_iprintf(buffer, "dma write = %u\n", gus->gf1.interrupt_stat_dma_write); buffer 115 sound/isa/gus/gus_irq.c snd_iprintf(buffer, "dma read = %u\n", gus->gf1.interrupt_stat_dma_read); buffer 116 sound/isa/gus/gus_irq.c snd_iprintf(buffer, "voice lost = %u\n", gus->gf1.interrupt_stat_voice_lost); buffer 119 sound/isa/gus/gus_irq.c snd_iprintf(buffer, "voice %i: wave = %u, volume = %u\n", buffer 15 sound/isa/gus/gus_mem.c struct snd_info_buffer *buffer); buffer 270 sound/isa/gus/gus_mem.c struct snd_info_buffer *buffer) buffer 281 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "8-bit banks : \n "); buffer 283 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "0x%06x (%04ik)%s", alloc->banks_8[i].address, alloc->banks_8[i].size >> 10, i + 1 < 4 ? "," : ""); buffer 284 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "\n" buffer 287 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "0x%06x (%04ik)%s", alloc->banks_16[i].address, alloc->banks_16[i].size >> 10, i + 1 < 4 ? "," : ""); buffer 290 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "\n"); buffer 294 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "Block %i onboard 0x%x size %i (0x%x):\n", i, block->ptr, block->size, block->size); buffer 298 sound/isa/gus/gus_mem.c snd_iprintf(buffer, " Share : %i [id0 0x%x] [id1 0x%x] [id2 0x%x] [id3 0x%x]\n", buffer 302 sound/isa/gus/gus_mem.c snd_iprintf(buffer, " Flags :%s\n", buffer 304 sound/isa/gus/gus_mem.c snd_iprintf(buffer, " Owner : "); buffer 307 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "driver - %s\n", block->name); buffer 310 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "SIMPLE wave\n"); buffer 313 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "GF1 wave\n"); buffer 316 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "IWFFFF wave\n"); buffer 319 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "unknown\n"); buffer 322 sound/isa/gus/gus_mem.c snd_iprintf(buffer, " Total: memory = %i, used = %i, free = %i\n", buffer 326 sound/isa/gus/gus_mem.c ultra_iprintf(buffer, " Verify: free = %i, max 8-bit block = %i, max 16-bit block = %i\n", buffer 81 sound/isa/gus/gus_pcm.c block.buffer = runtime->dma_area + offset; buffer 699 sound/isa/gus/gus_pcm.c (long) pcm->playback.buffer, (long) gus->gf1.pcm_buffer); buffer 883 sound/isa/opti9xx/miro.c struct snd_info_buffer *buffer) buffer 937 sound/isa/opti9xx/miro.c snd_iprintf(buffer, "\nGeneral information:\n"); buffer 938 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " model : %s\n", model); buffer 939 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " opti : %s\n", miro->name); buffer 940 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " codec : %s\n", miro->pcm->name); buffer 941 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " port : 0x%lx\n", miro->wss_base); buffer 942 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " irq : %d\n", miro->irq); buffer 943 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " dma : %d,%d\n\n", miro->dma1, miro->dma2); buffer 945 sound/isa/opti9xx/miro.c snd_iprintf(buffer, "MPU-401:\n"); buffer 946 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " port : 0x%lx\n", miro->mpu_port); buffer 947 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " irq : %d\n\n", miro->mpu_irq); buffer 949 sound/isa/opti9xx/miro.c snd_iprintf(buffer, "ACI information:\n"); buffer 950 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " vendor : "); buffer 953 sound/isa/opti9xx/miro.c snd_iprintf(buffer, "Miro\n"); buffer 956 sound/isa/opti9xx/miro.c snd_iprintf(buffer, "unknown (0x%x)\n", aci->aci_vendor); buffer 960 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " product : "); buffer 963 sound/isa/opti9xx/miro.c snd_iprintf(buffer, "miroSOUND PCM1 pro / (early) PCM12\n"); buffer 966 sound/isa/opti9xx/miro.c snd_iprintf(buffer, "miroSOUND PCM12\n"); buffer 969 sound/isa/opti9xx/miro.c snd_iprintf(buffer, "miroSOUND PCM20 radio\n"); buffer 972 sound/isa/opti9xx/miro.c snd_iprintf(buffer, "unknown (0x%x)\n", aci->aci_product); buffer 976 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " firmware: %d (0x%x)\n", buffer 978 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " port : 0x%lx-0x%lx\n", buffer 980 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " wss : 0x%x\n", wss); buffer 981 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " ide : 0x%x\n", ide); buffer 982 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " solomode: 0x%x\n", aci->aci_solomode); buffer 983 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " amp : 0x%x\n", aci->aci_amp); buffer 984 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " preamp : 0x%x\n", aci->aci_preamp); buffer 97 sound/isa/sb/sb16_csp.c static void info_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer); buffer 1121 sound/isa/sb/sb16_csp.c static void info_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 1125 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "Creative Signal Processor [v%d.%d]\n", (p->version >> 4), (p->version & 0x0f)); buffer 1126 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "State: %cx%c%c%c\n", ((p->running & SNDRV_SB_CSP_ST_QSOUND) ? 'Q' : '-'), buffer 1131 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "Codec: %s [func #%d]\n", p->codec_name, p->func_nr); buffer 1132 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "Sample rates: "); buffer 1134 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "All\n"); buffer 1136 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "%s%s%s%s\n", buffer 1143 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "QSound decoder %sabled\n", buffer 1146 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "PCM format ID: 0x%x (%s/%s) [%s/%s] [%s/%s]\n", buffer 1157 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "Autoloaded Mu-Law, A-Law or Ima-ADPCM hardware codec\n"); buffer 1160 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "Processing %dbit %s PCM samples\n", buffer 1165 sound/isa/sb/sb16_csp.c snd_iprintf(buffer, "Qsound position: left = 0x%x, right = 0x%x\n", buffer 59 sound/mips/hal2.c unsigned char *buffer; buffer 452 sound/mips/hal2.c codec->buffer = dma_alloc_attrs(dev, H2_BUF_SIZE, &buffer_dma, buffer 454 sound/mips/hal2.c if (!codec->buffer) buffer 459 sound/mips/hal2.c dma_free_attrs(dev, H2_BUF_SIZE, codec->buffer, buffer_dma, buffer 485 sound/mips/hal2.c dma_free_attrs(dev, H2_BUF_SIZE, codec->buffer, codec->buffer_dma, buffer 596 sound/mips/hal2.c unsigned char *buf = hal2->dac.buffer + rec->hw_data; buffer 685 sound/mips/hal2.c unsigned char *buf = hal2->adc.buffer + rec->hw_data; buffer 148 sound/oss/dmasound/dmasound_atari.c static int TTStateInfo(char *buffer, size_t space); buffer 149 sound/oss/dmasound/dmasound_atari.c static int FalconStateInfo(char *buffer, size_t space); buffer 1473 sound/oss/dmasound/dmasound_atari.c static int TTStateInfo(char *buffer, size_t space) buffer 1476 sound/oss/dmasound/dmasound_atari.c len += sprintf(buffer+len, "\tvol left %ddB [-40... 0]\n", buffer 1478 sound/oss/dmasound/dmasound_atari.c len += sprintf(buffer+len, "\tvol right %ddB [-40... 0]\n", buffer 1480 sound/oss/dmasound/dmasound_atari.c len += sprintf(buffer+len, "\tbass %ddB [-12...+12]\n", buffer 1482 sound/oss/dmasound/dmasound_atari.c len += sprintf(buffer+len, "\ttreble %ddB [-12...+12]\n", buffer 1491 sound/oss/dmasound/dmasound_atari.c static int FalconStateInfo(char *buffer, size_t space) buffer 1494 sound/oss/dmasound/dmasound_atari.c len += sprintf(buffer+len, "\tvol left %ddB [-22.5 ... 0]\n", buffer 1496 sound/oss/dmasound/dmasound_atari.c len += sprintf(buffer+len, "\tvol right %ddB [-22.5 ... 0]\n", buffer 1268 sound/oss/dmasound/dmasound_core.c char *buffer = state.buf; buffer 1284 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len, "%sDMA sound driver rev %03d :\n", buffer 1287 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len, buffer 1297 sound/oss/dmasound/dmasound_core.c len += dmasound.mach.state_info(buffer+len, buffer 1307 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len,"\t\t === Formats & settings ===\n") ; buffer 1308 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len,"Parameter %20s%20s\n","soft","hard") ; buffer 1309 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len,"Format :%20s%20s\n", buffer 1313 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len,"Samp Rate:%14d s/sec%14d s/sec\n", buffer 1316 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len,"Channels :%20s%20s\n", buffer 1322 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len,"\t\t === Sound Queue status ===\n"); buffer 1323 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len,"Allocated:%8s%6s\n","Buffers","Size") ; buffer 1324 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len,"%9s:%8d%6d\n", buffer 1326 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len, buffer 1329 sound/oss/dmasound/dmasound_core.c len += sprintf(buffer+len,"%9s:%7d%8d%7d%5d%5d%4d%7d%2d%2d%2d%2d%7d\n", buffer 123 sound/oss/dmasound/dmasound_paula.c static int AmiStateInfo(char *buffer, size_t space); buffer 654 sound/oss/dmasound/dmasound_paula.c static int AmiStateInfo(char *buffer, size_t space) buffer 657 sound/oss/dmasound/dmasound_paula.c len += sprintf(buffer+len, "\tsound.volume_left = %d [0...64]\n", buffer 659 sound/oss/dmasound/dmasound_paula.c len += sprintf(buffer+len, "\tsound.volume_right = %d [0...64]\n", buffer 22 sound/pci/ac97/ac97_proc.c static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) buffer 42 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "\n Gain Inverted Buffer delay Location\n"); buffer 46 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "%-17s: %3d.%d dBV %c %2d/fs %s\n", buffer 92 sound/pci/ac97/ac97_proc.c static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) buffer 102 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name); buffer 107 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCI Subsys Vendor: 0x%04x\n", buffer 109 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCI Subsys Device: 0x%04x\n\n", buffer 112 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Flags: %x\n", ac97->flags); buffer 119 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Revision : 0x%02x\n", tmp & 0xff); buffer 120 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Compat. Class : 0x%02x\n", (tmp >> 8) & 0x1f); buffer 121 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Subsys. Vendor ID: 0x%04x\n", buffer 123 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Subsys. ID : 0x%04x\n\n", buffer 131 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Capabilities :%s%s%s%s%s%s\n", buffer 139 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "DAC resolution : %s%s%s%s\n", buffer 145 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "ADC resolution : %s%s%s%s\n", buffer 150 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "3D enhancement : %s\n", buffer 152 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "\nCurrent setup\n"); buffer 154 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Mic gain : %s [%s]\n", val & 0x0040 ? "+20dB" : "+0dB", ac97->regs[AC97_MIC] & 0x0040 ? "+20dB" : "+0dB"); buffer 156 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "POP path : %s 3D\n" buffer 171 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Double rate slots: %s\n", buffer 178 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Extended ID : codec=%i rev=%i%s%s%s%s DSA=%i%s%s%s%s\n", buffer 191 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Extended status :%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n", buffer 208 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM front DAC : %iHz\n", val); buffer 211 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM Surr DAC : %iHz\n", val); buffer 215 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM LFE DAC : %iHz\n", val); buffer 218 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM ADC : %iHz\n", val); buffer 222 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM MIC ADC : %iHz\n", val); buffer 234 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "SPDIF Control :%s%s%s%s Category=0x%x Generation=%i%s%s%s\n", buffer 256 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "SPDIF In Status :%s%s%s%s Category=0x%x Generation=%i", buffer 264 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "%s Accuracy=%i%s%s\n", buffer 270 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "SPDIF In Status : Not Locked\n"); buffer 278 sound/pci/ac97/ac97_proc.c snd_ac97_proc_read_functions(ac97, buffer); buffer 289 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Extended modem ID: codec=%i%s%s%s%s%s\n", buffer 297 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Modem status :%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n", buffer 316 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Line1 rate : %iHz\n", val); buffer 320 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Line2 rate : %iHz\n", val); buffer 324 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Headset rate : %iHz\n", val); buffer 328 sound/pci/ac97/ac97_proc.c static void snd_ac97_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 340 sound/pci/ac97/ac97_proc.c snd_ac97_proc_read_main(ac97, buffer, idx); buffer 341 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "\n\n"); buffer 346 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "\nAD18XX configuration\n"); buffer 347 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Unchained : 0x%04x,0x%04x,0x%04x\n", buffer 351 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Chained : 0x%04x,0x%04x,0x%04x\n", buffer 356 sound/pci/ac97/ac97_proc.c snd_ac97_proc_read_main(ac97, buffer, 0); buffer 363 sound/pci/ac97/ac97_proc.c static void snd_ac97_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 369 sound/pci/ac97/ac97_proc.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 380 sound/pci/ac97/ac97_proc.c static void snd_ac97_proc_regs_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) buffer 386 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "%i:%02x = %04x\n", subidx, reg, val); buffer 391 sound/pci/ac97/ac97_proc.c struct snd_info_buffer *buffer) buffer 404 sound/pci/ac97/ac97_proc.c snd_ac97_proc_regs_read_main(ac97, buffer, idx); buffer 409 sound/pci/ac97/ac97_proc.c snd_ac97_proc_regs_read_main(ac97, buffer, 0); buffer 644 sound/pci/ad1889.c snd_ad1889_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 651 sound/pci/ad1889.c snd_iprintf(buffer, "Wave output: %s\n", buffer 653 sound/pci/ad1889.c snd_iprintf(buffer, "Wave Channels: %s\n", buffer 655 sound/pci/ad1889.c snd_iprintf(buffer, "Wave Quality: %d-bit linear\n", buffer 663 sound/pci/ad1889.c snd_iprintf(buffer, "Wave FIFO: %d %s words\n\n", tmp, buffer 667 sound/pci/ad1889.c snd_iprintf(buffer, "Synthesis output: %s\n", buffer 675 sound/pci/ad1889.c snd_iprintf(buffer, "Synthesis FIFO: %d %s words\n\n", tmp, buffer 679 sound/pci/ad1889.c snd_iprintf(buffer, "ADC input: %s\n", buffer 681 sound/pci/ad1889.c snd_iprintf(buffer, "ADC Channels: %s\n", buffer 683 sound/pci/ad1889.c snd_iprintf(buffer, "ADC Quality: %d-bit linear\n", buffer 691 sound/pci/ad1889.c snd_iprintf(buffer, "ADC FIFO: %d %s words\n\n", tmp, buffer 694 sound/pci/ad1889.c snd_iprintf(buffer, "Resampler input: %s\n", buffer 702 sound/pci/ad1889.c snd_iprintf(buffer, "Resampler FIFO: %d %s words\n\n", tmp, buffer 710 sound/pci/ad1889.c snd_iprintf(buffer, "Left: %s, -%d dB\n", buffer 714 sound/pci/ad1889.c snd_iprintf(buffer, "Right: %s, -%d dB\n", buffer 719 sound/pci/ad1889.c snd_iprintf(buffer, "Wave samplerate: %u Hz\n", reg); buffer 721 sound/pci/ad1889.c snd_iprintf(buffer, "Resampler samplerate: %u Hz\n", reg); buffer 455 sound/pci/ak4531_codec.c struct snd_info_buffer *buffer) buffer 459 sound/pci/ak4531_codec.c snd_iprintf(buffer, "Asahi Kasei AK4531\n\n"); buffer 460 sound/pci/ak4531_codec.c snd_iprintf(buffer, "Recording source : %s\n" buffer 178 sound/pci/asihpi/asihpi.c hm.u.d.u.buffer.buffer_size = size_in_bytes; buffer 179 sound/pci/asihpi/asihpi.c hm.u.d.u.buffer.pci_address = pci_address; buffer 180 sound/pci/asihpi/asihpi.c hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER; buffer 201 sound/pci/asihpi/asihpi.c hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_REVOKEADAPTER; buffer 2721 sound/pci/asihpi/asihpi.c struct snd_info_buffer *buffer) buffer 2736 sound/pci/asihpi/asihpi.c snd_iprintf(buffer, "ASIHPI driver proc file\n"); buffer 2742 sound/pci/asihpi/asihpi.c snd_iprintf(buffer, buffer 2748 sound/pci/asihpi/asihpi.c snd_iprintf(buffer, buffer 2762 sound/pci/asihpi/asihpi.c snd_iprintf(buffer, "Sample Clock %dHz, source %s\n", buffer 733 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; buffer 744 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size = buffer 745 sound/pci/asihpi/hpi6205.c roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); buffer 751 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; buffer 754 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size) { buffer 765 sound/pci/asihpi/hpi6205.c [phm->obj_index], phm->u.d.u.buffer.buffer_size, buffer 776 sound/pci/asihpi/hpi6205.c &phm->u.d.u.buffer.pci_address); buffer 782 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.pci_address; buffer 800 sound/pci/asihpi/hpi6205.c if (phm->u.d.u.buffer.buffer_size & (phm->u.d.u.buffer. buffer 804 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size); buffer 809 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; buffer 816 sound/pci/asihpi/hpi6205.c status->size_in_bytes = phm->u.d.u.buffer.buffer_size; buffer 864 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; buffer 1019 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; buffer 1028 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size = buffer 1029 sound/pci/asihpi/hpi6205.c roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); buffer 1033 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; buffer 1036 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size) { buffer 1047 sound/pci/asihpi/hpi6205.c obj_index], phm->u.d.u.buffer.buffer_size, buffer 1058 sound/pci/asihpi/hpi6205.c &phm->u.d.u.buffer.pci_address); buffer 1062 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.pci_address; buffer 1076 sound/pci/asihpi/hpi6205.c if (phm->u.d.u.buffer.buffer_size & (phm->u.d.u.buffer. buffer 1080 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size); buffer 1086 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; buffer 1093 sound/pci/asihpi/hpi6205.c status->size_in_bytes = phm->u.d.u.buffer.buffer_size; buffer 1141 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; buffer 723 sound/pci/asihpi/hpi_internal.h struct hpi_buffer buffer; buffer 1521 sound/pci/atiixp.c struct snd_info_buffer *buffer) buffer 1527 sound/pci/atiixp.c snd_iprintf(buffer, "%02x: %08x\n", i, readl(chip->remap_addr + i)); buffer 1148 sound/pci/atiixp_modem.c struct snd_info_buffer *buffer) buffer 1154 sound/pci/atiixp_modem.c snd_iprintf(buffer, "%02x: %08x\n", i, readl(chip->remap_addr + i)); buffer 378 sound/pci/azt3328.c unsigned reg, const void *buffer, int count buffer 383 sound/pci/azt3328.c const u32 *buf = buffer; buffer 691 sound/pci/ca0106/ca0106.h struct snd_dma_buffer buffer; buffer 745 sound/pci/ca0106/ca0106_main.c u32 *table_base = (u32 *)(emu->buffer.area+(8*16*channel)); buffer 773 sound/pci/ca0106/ca0106_main.c emu->buffer.addr, emu->buffer.area, emu->buffer.bytes); buffer 829 sound/pci/ca0106/ca0106_main.c snd_ca0106_ptr_write(emu, PLAYBACK_LIST_ADDR, channel, emu->buffer.addr+(8*16*channel)); buffer 880 sound/pci/ca0106/ca0106_main.c emu->buffer.addr, emu->buffer.area, emu->buffer.bytes); buffer 1243 sound/pci/ca0106/ca0106_main.c if (chip->buffer.area) buffer 1244 sound/pci/ca0106/ca0106_main.c snd_dma_free_pages(&chip->buffer); buffer 1696 sound/pci/ca0106/ca0106_main.c 1024, &chip->buffer) < 0) { buffer 84 sound/pci/ca0106/ca0106_proc.c static void snd_ca0106_proc_dump_iec958( struct snd_info_buffer *buffer, u32 value) buffer 95 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Mode: consumer\n"); buffer 96 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Data: "); buffer 98 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "audio\n"); buffer 100 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "non-audio\n"); buffer 102 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Rate: "); buffer 105 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "44100 Hz\n"); buffer 108 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "48000 Hz\n"); buffer 111 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "32000 Hz\n"); buffer 114 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "unknown\n"); buffer 117 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Copyright: "); buffer 119 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "permitted\n"); buffer 121 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "protected\n"); buffer 123 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Emphasis: "); buffer 125 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "none\n"); buffer 127 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "50/15us\n"); buffer 129 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Category: "); buffer 132 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "%s\n", snd_ca0106_con_category[i].name); buffer 137 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "unknown 0x%x\n", status[1] & IEC958_AES1_CON_CATEGORY); buffer 139 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Original: "); buffer 141 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "original\n"); buffer 143 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "1st generation\n"); buffer 145 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Clock: "); buffer 148 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "1000 ppm\n"); buffer 151 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "50 ppm\n"); buffer 154 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "variable pitch\n"); buffer 157 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "unknown\n"); buffer 161 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Mode: professional\n"); buffer 162 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Data: "); buffer 164 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "audio\n"); buffer 166 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "non-audio\n"); buffer 168 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Rate: "); buffer 171 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "44100 Hz\n"); buffer 174 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "48000 Hz\n"); buffer 177 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "32000 Hz\n"); buffer 180 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "unknown\n"); buffer 183 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Rate Locked: "); buffer 185 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "no\n"); buffer 187 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "yes\n"); buffer 188 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Emphasis: "); buffer 191 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "CCITT J.17\n"); buffer 194 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "none\n"); buffer 197 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "50/15us\n"); buffer 201 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "unknown\n"); buffer 204 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Stereophonic: "); buffer 206 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "stereo\n"); buffer 208 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "not indicated\n"); buffer 210 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Userbits: "); buffer 213 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "192bit\n"); buffer 216 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "user-defined\n"); buffer 219 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "unknown\n"); buffer 222 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Sample Bits: "); buffer 225 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "20 bit\n"); buffer 228 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "24 bit\n"); buffer 231 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "user defined\n"); buffer 234 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "unknown\n"); buffer 237 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Word Length: "); buffer 240 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "22 bit or 18 bit\n"); buffer 243 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "23 bit or 19 bit\n"); buffer 246 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "24 bit or 20 bit\n"); buffer 249 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "20 bit or 16 bit\n"); buffer 252 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "unknown\n"); buffer 259 sound/pci/ca0106/ca0106_proc.c struct snd_info_buffer *buffer) buffer 265 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Status: %s, %s, %s\n", buffer 269 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Estimated sample rate: %u\n", buffer 272 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "IEC958/SPDIF input status:\n"); buffer 274 sound/pci/ca0106/ca0106_proc.c snd_ca0106_proc_dump_iec958(buffer, value); buffer 277 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "\n"); buffer 281 sound/pci/ca0106/ca0106_proc.c struct snd_info_buffer *buffer) buffer 287 sound/pci/ca0106/ca0106_proc.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 299 sound/pci/ca0106/ca0106_proc.c struct snd_info_buffer *buffer) buffer 305 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Registers:\n\n"); buffer 310 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Register %02X: %08lX\n", i, value); buffer 315 sound/pci/ca0106/ca0106_proc.c struct snd_info_buffer *buffer) buffer 321 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Registers:\n\n"); buffer 326 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Register %02X: %04X\n", i, value); buffer 331 sound/pci/ca0106/ca0106_proc.c struct snd_info_buffer *buffer) buffer 337 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Registers:\n\n"); buffer 342 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Register %02X: %02X\n", i, value); buffer 347 sound/pci/ca0106/ca0106_proc.c struct snd_info_buffer *buffer) buffer 353 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Registers\n"); buffer 355 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "%02X: ",i); buffer 358 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "%08lX ", value); buffer 360 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "\n"); buffer 365 sound/pci/ca0106/ca0106_proc.c struct snd_info_buffer *buffer) buffer 371 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "Registers\n"); buffer 373 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "%02X: ",i); buffer 376 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "%08lX ", value); buffer 378 sound/pci/ca0106/ca0106_proc.c snd_iprintf(buffer, "\n"); buffer 383 sound/pci/ca0106/ca0106_proc.c struct snd_info_buffer *buffer) buffer 388 sound/pci/ca0106/ca0106_proc.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 397 sound/pci/ca0106/ca0106_proc.c struct snd_info_buffer *buffer) buffer 402 sound/pci/ca0106/ca0106_proc.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 2763 sound/pci/cmipci.c struct snd_info_buffer *buffer) buffer 2768 sound/pci/cmipci.c snd_iprintf(buffer, "%s\n", cm->card->longname); buffer 2774 sound/pci/cmipci.c snd_iprintf(buffer, "\n%02x:", i); buffer 2775 sound/pci/cmipci.c snd_iprintf(buffer, " %02x", v); buffer 2777 sound/pci/cmipci.c snd_iprintf(buffer, "\n"); buffer 1116 sound/pci/cs4281.c struct snd_info_buffer *buffer) buffer 1120 sound/pci/cs4281.c snd_iprintf(buffer, "Cirrus Logic CS4281\n\n"); buffer 1121 sound/pci/cs4281.c snd_iprintf(buffer, "Spurious half IRQs : %u\n", chip->spurious_dhtc_irq); buffer 1122 sound/pci/cs4281.c snd_iprintf(buffer, "Spurious end IRQs : %u\n", chip->spurious_dtc_irq); buffer 494 sound/pci/cs46xx/dsp_spos.c struct snd_info_buffer *buffer) buffer 500 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "SYMBOLS:\n"); buffer 512 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X <%02X> %s [%s]\n", buffer 522 sound/pci/cs46xx/dsp_spos.c struct snd_info_buffer *buffer) buffer 529 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "MODULES:\n"); buffer 531 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "\n%s:\n", ins->modules[i].module_name); buffer 532 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, " %d symbols\n", ins->modules[i].symbol_table.nsymbols); buffer 533 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, " %d fixups\n", ins->modules[i].nfixups); buffer 537 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, " segment %02x offset %08x size %08x\n", buffer 545 sound/pci/cs46xx/dsp_spos.c struct snd_info_buffer *buffer) buffer 553 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "TASK TREES:\n"); buffer 555 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n%04x %s:\n",ins->tasks[i].address,ins->tasks[i].task_name); buffer 560 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 564 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08x ",val); buffer 568 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 573 sound/pci/cs46xx/dsp_spos.c struct snd_info_buffer *buffer) buffer 580 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "SCB's:\n"); buffer 584 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n%04x %s:\n\n",ins->scbs[i].address,ins->scbs[i].scb_name); buffer 587 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"parent [%s:%04x] ", buffer 590 sound/pci/cs46xx/dsp_spos.c } else snd_iprintf(buffer,"parent [none] "); buffer 592 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"sub_list_ptr [%s:%04x]\nnext_scb_ptr [%s:%04x] task_entry [%s:%04x]\n", buffer 601 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 606 sound/pci/cs46xx/dsp_spos.c struct snd_info_buffer *buffer) buffer 616 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 622 sound/pci/cs46xx/dsp_spos.c snd_iprintf (buffer,"\n%s:\n",symbol->symbol_name); buffer 626 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ", i / (unsigned int)sizeof(u32)); buffer 629 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 634 sound/pci/cs46xx/dsp_spos.c struct snd_info_buffer *buffer) buffer 640 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"PCMREADER:\n"); buffer 643 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 648 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ",i); buffer 651 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 654 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\nMIX_SAMPLE_BUF1:\n"); buffer 659 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 664 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ",i); buffer 667 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 670 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\nSRC_TASK_SCB1:\n"); buffer 674 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 679 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ",i); buffer 682 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 686 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\nSPDIFO_BUFFER:\n"); buffer 690 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 695 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ",i); buffer 698 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 701 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n...\n"); buffer 706 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 711 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ",i); buffer 714 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 718 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\nOUTPUT_SNOOP:\n"); buffer 722 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 727 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ",i); buffer 730 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 733 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\nCODEC_INPUT_BUF1: \n"); buffer 737 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 742 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ",i); buffer 745 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 748 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\nWRITE_BACK_BUF1: \n"); buffer 752 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 757 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ",i); buffer 760 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 764 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\nSPDIFI_IP_OUTPUT_BUFFER1: \n"); buffer 768 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 773 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer, "%04X ",i); buffer 776 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08X ",readl(dst + i)); buffer 778 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"\n"); buffer 58 sound/pci/cs46xx/dsp_spos_scb_lib.c struct snd_info_buffer *buffer) buffer 67 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_iprintf(buffer,"%04x %s:\n",scb->address,scb->scb_name); buffer 71 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_iprintf(buffer,"\n"); buffer 74 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_iprintf(buffer,"%08x ",readl(dst + (scb->address + j) * sizeof(u32))); buffer 77 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_iprintf(buffer,"\n"); buffer 80 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_iprintf(buffer,"parent [%s:%04x] ", buffer 83 sound/pci/cs46xx/dsp_spos_scb_lib.c } else snd_iprintf(buffer,"parent [none] "); buffer 85 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_iprintf(buffer,"sub_list_ptr [%s:%04x]\nnext_scb_ptr [%s:%04x] task_entry [%s:%04x]\n", buffer 93 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_iprintf(buffer,"index [%d] ref_count [%d]\n",scb->index,scb->ref_count); buffer 1009 sound/pci/emu10k1/emu10k1x.c struct snd_info_buffer *buffer) buffer 1016 sound/pci/emu10k1/emu10k1x.c snd_iprintf(buffer, "Registers:\n\n"); buffer 1021 sound/pci/emu10k1/emu10k1x.c snd_iprintf(buffer, "Register %02X: %08lX\n", i, value); buffer 1023 sound/pci/emu10k1/emu10k1x.c snd_iprintf(buffer, "\nRegisters\n\n"); buffer 1029 sound/pci/emu10k1/emu10k1x.c snd_iprintf(buffer, "%02X: %08lX %08lX %08lX\n", i, value, value1, value2); buffer 1031 sound/pci/emu10k1/emu10k1x.c snd_iprintf(buffer, "%02X: %08lX\n", i, value); buffer 1037 sound/pci/emu10k1/emu10k1x.c struct snd_info_buffer *buffer) buffer 1043 sound/pci/emu10k1/emu10k1x.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 24 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer, buffer 37 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "\n%s\n", title); buffer 40 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Professional Mode : %s\n", (status & SPCS_PROFESSIONAL) ? "yes" : "no"); buffer 41 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Not Audio Data : %s\n", (status & SPCS_NOTAUDIODATA) ? "yes" : "no"); buffer 42 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Copyright : %s\n", (status & SPCS_COPYRIGHT) ? "yes" : "no"); buffer 43 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Emphasis : %s\n", emphasis[(status & SPCS_EMPHASISMASK) >> 3]); buffer 44 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Mode : %i\n", (status & SPCS_MODEMASK) >> 6); buffer 45 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Category Code : 0x%x\n", (status & SPCS_CATEGORYCODEMASK) >> 8); buffer 46 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Generation Status : %s\n", status & SPCS_GENERATIONSTATUS ? "original" : "copy"); buffer 47 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Source Mask : %i\n", (status & SPCS_SOURCENUMMASK) >> 16); buffer 48 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Channel Number : %s\n", channel[(status & SPCS_CHANNELNUMMASK) >> 20]); buffer 49 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Sample Rate : %iHz\n", samplerate[(status & SPCS_SAMPLERATEMASK) >> 24]); buffer 50 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Clock Accuracy : %s\n", clkaccy[(status & SPCS_CLKACCYMASK) >> 28]); buffer 54 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "S/PDIF Valid : %s\n", rate & SRCS_SPDIFVALID ? "on" : "off"); buffer 55 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "S/PDIF Locked : %s\n", rate & SRCS_SPDIFLOCKED ? "on" : "off"); buffer 56 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Rate Locked : %s\n", rate & SRCS_RATELOCKED ? "on" : "off"); buffer 58 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Estimated Sample Rate : %d\n", ((rate & 0xFFFFF ) * 375) >> 11); buffer 61 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "No signal detected.\n"); buffer 67 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 178 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "EMU10K1\n\n"); buffer 179 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Card : %s\n", buffer 181 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Internal TRAM (words) : 0x%x\n", emu->fx8010.itram_size); buffer 182 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "External TRAM (words) : 0x%x\n", (int)emu->fx8010.etram_pages.bytes / 2); buffer 183 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "\n"); buffer 184 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Effect Send Routing :\n"); buffer 193 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Ch%i: A=%i, B=%i, C=%i, D=%i, ", buffer 199 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "E=%i, F=%i, G=%i, H=%i\n", buffer 205 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Ch%i: A=%i, B=%i, C=%i, D=%i\n", buffer 213 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "\nCaptured FX Outputs :\n"); buffer 216 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, " Output %02i [%s]\n", idx, outputs[idx]); buffer 218 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "\nAll FX Outputs :\n"); buffer 220 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, " Output %02i [%s]\n", idx, outputs[idx]); buffer 224 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 237 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "ADAT Locked : %u\n", rate); buffer 239 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "ADAT Unlocked\n"); buffer 246 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "SPDIF Locked : %d\n", rate); buffer 248 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "SPDIF Unlocked\n"); buffer 251 sound/pci/emu10k1/emuproc.c snd_emu10k1_proc_spdif_status(emu, buffer, "CD-ROM S/PDIF In", CDCS, CDSRCS); buffer 252 sound/pci/emu10k1/emuproc.c snd_emu10k1_proc_spdif_status(emu, buffer, "Optical or Coax S/PDIF In", GPSCS, GPSRCS); buffer 256 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "\nZoomed Video\n"); buffer 257 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Rate Locked : %s\n", val & SRCS_RATELOCKED ? "on" : "off"); buffer 258 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Estimated Sample Rate : 0x%x\n", val & SRCS_ESTSAMPLERATE); buffer 263 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 271 sound/pci/emu10k1/emuproc.c if (tmp & 0x8) snd_iprintf(buffer, "Channel %d: Rate=%d\n", n, samplerate[tmp & 0x7]); buffer 272 sound/pci/emu10k1/emuproc.c else snd_iprintf(buffer, "Channel %d: No input\n", n); buffer 277 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 282 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "FX8010 Instruction List '%s'\n", emu->fx8010.name); buffer 283 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, " Code dump :\n"); buffer 290 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, " OP(0x%02x, 0x%03x, 0x%03x, 0x%03x, 0x%03x) /* 0x%04x: 0x%08x%08x */\n", buffer 299 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, " OP(0x%02x, 0x%03x, 0x%03x, 0x%03x, 0x%03x) /* 0x%04x: 0x%08x%08x */\n", buffer 363 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 369 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "ch\tuse\tpcm\tefx\tsynth\tmidi\n"); buffer 372 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "%i\t%i\t%i\t%i\t%i\t%i\n", buffer 384 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 389 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "EMU1010 Registers:\n\n"); buffer 393 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "%02X: %08X, %02X\n", i, value, (value >> 8) & 0x7f); buffer 398 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 404 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "IO Registers:\n\n"); buffer 409 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "%02X: %08lX\n", i, value); buffer 414 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 420 sound/pci/emu10k1/emuproc.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 467 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer, int iobase, int offset, int length, int voices) buffer 473 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Input values out of range\n"); buffer 476 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Registers 0x%x\n", iobase); buffer 478 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "%02X: ",i); buffer 484 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "%08lX ", value); buffer 486 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "\n"); buffer 491 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer, int iobase) buffer 496 sound/pci/emu10k1/emuproc.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 505 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 507 sound/pci/emu10k1/emuproc.c snd_emu_proc_ptr_reg_write(entry, buffer, 0); buffer 511 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 513 sound/pci/emu10k1/emuproc.c snd_emu_proc_ptr_reg_write(entry, buffer, 0x20); buffer 518 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 520 sound/pci/emu10k1/emuproc.c snd_emu_proc_ptr_reg_read(entry, buffer, 0, 0, 0x40, 64); buffer 524 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 526 sound/pci/emu10k1/emuproc.c snd_emu_proc_ptr_reg_read(entry, buffer, 0, 0x40, 0x40, 64); buffer 530 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 532 sound/pci/emu10k1/emuproc.c snd_emu_proc_ptr_reg_read(entry, buffer, 0x20, 0, 0x40, 4); buffer 536 sound/pci/emu10k1/emuproc.c struct snd_info_buffer *buffer) buffer 538 sound/pci/emu10k1/emuproc.c snd_emu_proc_ptr_reg_read(entry, buffer, 0x20, 0x40, 0x40, 4); buffer 542 sound/pci/emu10k1/emuproc.c struct snd_info_buffer * buffer) buffer 544 sound/pci/emu10k1/emuproc.c snd_emu_proc_ptr_reg_read(entry, buffer, 0x20, 0x80, 0x20, 4); buffer 1871 sound/pci/ens1370.c struct snd_info_buffer *buffer) buffer 1875 sound/pci/ens1370.c snd_iprintf(buffer, "Ensoniq AudioPCI " CHIP_NAME "\n\n"); buffer 1876 sound/pci/ens1370.c snd_iprintf(buffer, "Joystick enable : %s\n", buffer 1879 sound/pci/ens1370.c snd_iprintf(buffer, "MIC +5V bias : %s\n", buffer 1881 sound/pci/ens1370.c snd_iprintf(buffer, "Line In to AOUT : %s\n", buffer 1884 sound/pci/ens1370.c snd_iprintf(buffer, "Joystick port : 0x%x\n", buffer 417 sound/pci/hda/hda_eld.c struct snd_info_buffer *buffer) buffer 421 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad%d_coding_type\t[0x%x] %s\n", buffer 423 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad%d_channels\t\t%d\n", i, a->channels); buffer 426 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad%d_rates\t\t[0x%x]%s\n", i, a->rates, buf); buffer 430 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad%d_bits\t\t[0x%x]%s\n", buffer 435 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad%d_max_bitrate\t%d\n", buffer 439 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad%d_profile\t\t%d\n", i, a->profile); buffer 443 sound/pci/hda/hda_eld.c struct snd_info_buffer *buffer) buffer 463 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "monitor_present\t\t%d\n", eld->monitor_present); buffer 464 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "eld_valid\t\t%d\n", eld->eld_valid); buffer 467 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "monitor_name\t\t%s\n", e->monitor_name); buffer 468 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "connection_type\t\t%s\n", buffer 470 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "eld_version\t\t[0x%x] %s\n", e->eld_ver, buffer 472 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "edid_version\t\t[0x%x] %s\n", e->cea_edid_ver, buffer 474 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "manufacture_id\t\t0x%x\n", e->manufacture_id); buffer 475 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "product_id\t\t0x%x\n", e->product_id); buffer 476 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "port_id\t\t\t0x%llx\n", (long long)e->port_id); buffer 477 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "support_hdcp\t\t%d\n", e->support_hdcp); buffer 478 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "support_ai\t\t%d\n", e->support_ai); buffer 479 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "audio_sync_delay\t%d\n", e->aud_synch_delay); buffer 482 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "speakers\t\t[0x%x]%s\n", e->spk_alloc, buf); buffer 484 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad_count\t\t%d\n", e->sad_count); buffer 487 sound/pci/hda/hda_eld.c hdmi_print_sad_info(i, e->sad + i, buffer); buffer 491 sound/pci/hda/hda_eld.c struct snd_info_buffer *buffer) buffer 500 sound/pci/hda/hda_eld.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 712 sound/pci/hda/hda_local.h struct snd_info_buffer *buffer); buffer 714 sound/pci/hda/hda_local.h struct snd_info_buffer *buffer); buffer 47 sound/pci/hda/hda_proc.c static void print_nid_array(struct snd_info_buffer *buffer, buffer 58 sound/pci/hda/hda_proc.c snd_iprintf(buffer, buffer 63 sound/pci/hda/hda_proc.c snd_iprintf(buffer, buffer 74 sound/pci/hda/hda_proc.c static void print_nid_pcms(struct snd_info_buffer *buffer, buffer 84 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Device: name=\"%s\", " buffer 93 sound/pci/hda/hda_proc.c static void print_amp_caps(struct snd_info_buffer *buffer, buffer 100 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "N/A\n"); buffer 103 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "ofs=0x%02x, nsteps=0x%02x, stepsize=0x%02x, " buffer 133 sound/pci/hda/hda_proc.c static void print_amp_vals(struct snd_info_buffer *buffer, buffer 145 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " ["); buffer 149 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "0x%02x", val); buffer 154 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " 0x%02x", val); buffer 156 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "]"); buffer 158 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 161 sound/pci/hda/hda_proc.c static void print_pcm_rates(struct snd_info_buffer *buffer, unsigned int pcm) buffer 170 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " rates [0x%x]:", pcm); buffer 173 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " %d", rates[i]); buffer 174 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 177 sound/pci/hda/hda_proc.c static void print_pcm_bits(struct snd_info_buffer *buffer, unsigned int pcm) buffer 181 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " bits [0x%x]:", (pcm >> 16) & 0xff); buffer 183 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "%s\n", buf); buffer 186 sound/pci/hda/hda_proc.c static void print_pcm_formats(struct snd_info_buffer *buffer, buffer 189 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " formats [0x%x]:", streams & 0xf); buffer 191 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " PCM"); buffer 193 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " FLOAT"); buffer 195 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " AC3"); buffer 196 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 199 sound/pci/hda/hda_proc.c static void print_pcm_caps(struct snd_info_buffer *buffer, buffer 205 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "N/A\n"); buffer 208 sound/pci/hda/hda_proc.c print_pcm_rates(buffer, pcm); buffer 209 sound/pci/hda/hda_proc.c print_pcm_bits(buffer, pcm); buffer 210 sound/pci/hda/hda_proc.c print_pcm_formats(buffer, stream); buffer 304 sound/pci/hda/hda_proc.c static void print_pin_caps(struct snd_info_buffer *buffer, buffer 314 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Pincap 0x%08x:", caps); buffer 316 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " IN"); buffer 318 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " OUT"); buffer 320 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " HP"); buffer 322 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " EAPD"); buffer 324 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Detect"); buffer 326 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Balanced"); buffer 330 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " R/L"); buffer 333 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " HBR"); buffer 334 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " HDMI"); buffer 338 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " DP"); buffer 340 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Trigger"); buffer 342 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " ImpSense"); buffer 343 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 347 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Vref caps:"); buffer 349 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " HIZ"); buffer 351 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " 50"); buffer 353 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " GRD"); buffer 355 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " 80"); buffer 357 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " 100"); buffer 358 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 365 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " EAPD 0x%x:", val); buffer 367 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " BALANCED"); buffer 369 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " EAPD"); buffer 371 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " R/L"); buffer 372 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 375 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Pin Default 0x%08x: [%s] %s at %s %s\n", caps, buffer 380 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Conn = %s, Color = %s\n", buffer 387 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " DefAssociation = 0x%x, Sequence = 0x%x\n", buffer 396 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Misc = NO_PRESENCE\n"); buffer 400 sound/pci/hda/hda_proc.c static void print_pin_ctls(struct snd_info_buffer *buffer, buffer 408 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Pin-ctls: 0x%02x:", pinctls); buffer 410 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " IN"); buffer 412 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " OUT"); buffer 414 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " HP"); buffer 419 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " VREF_HIZ"); buffer 422 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " VREF_50"); buffer 425 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " VREF_GRD"); buffer 428 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " VREF_80"); buffer 431 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " VREF_100"); buffer 435 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 438 sound/pci/hda/hda_proc.c static void print_vol_knob(struct snd_info_buffer *buffer, buffer 442 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Volume-Knob: delta=%d, steps=%d, ", buffer 446 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "direct=%d, val=%d\n", buffer 450 sound/pci/hda/hda_proc.c static void print_audio_io(struct snd_info_buffer *buffer, buffer 455 sound/pci/hda/hda_proc.c snd_iprintf(buffer, buffer 463 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " SDI-Select: %d\n", buffer 468 sound/pci/hda/hda_proc.c static void print_digital_conv(struct snd_info_buffer *buffer, buffer 476 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Digital:"); buffer 478 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Enabled"); buffer 480 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Validity"); buffer 482 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " ValidityCfg"); buffer 484 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Preemphasis"); buffer 486 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Non-Copyright"); buffer 488 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Non-Audio"); buffer 490 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Pro"); buffer 492 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " GenLevel"); buffer 494 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " KAE"); buffer 495 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 496 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Digital category: 0x%x\n", buffer 498 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " IEC Coding Type: 0x%x\n", buffer 512 sound/pci/hda/hda_proc.c static void print_power_state(struct snd_info_buffer *buffer, buffer 532 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Power states: "); buffer 535 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " %s", names[i]); buffer 537 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 540 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Power: setting=%s, actual=%s", buffer 545 sound/pci/hda/hda_proc.c snd_iprintf(buffer, ", Error"); buffer 547 sound/pci/hda/hda_proc.c snd_iprintf(buffer, ", Clock-stop-OK"); buffer 549 sound/pci/hda/hda_proc.c snd_iprintf(buffer, ", Setting-reset"); buffer 550 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 553 sound/pci/hda/hda_proc.c static void print_unsol_cap(struct snd_info_buffer *buffer, buffer 558 sound/pci/hda/hda_proc.c snd_iprintf(buffer, buffer 573 sound/pci/hda/hda_proc.c static void print_proc_caps(struct snd_info_buffer *buffer, buffer 579 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Processing caps: benign=%d, ncoeff=%d\n", buffer 593 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Coeff 0x%02x: 0x%04x\n", i, val); buffer 598 sound/pci/hda/hda_proc.c static void print_conn_list(struct snd_info_buffer *buffer, buffer 613 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Connection: %d\n", conn_len); buffer 615 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " "); buffer 617 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " 0x%02x", conn[c]); buffer 619 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "*"); buffer 621 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 628 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " In-driver Connection: %d\n", cache_len); buffer 630 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " "); buffer 632 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " 0x%02x", list[c]); buffer 633 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 638 sound/pci/hda/hda_proc.c static void print_gpio(struct snd_info_buffer *buffer, buffer 645 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "GPIO: io=%d, o=%d, i=%d, " buffer 668 sound/pci/hda/hda_proc.c snd_iprintf(buffer, buffer 678 sound/pci/hda/hda_proc.c print_nid_array(buffer, codec, nid, &codec->mixers); buffer 679 sound/pci/hda/hda_proc.c print_nid_array(buffer, codec, nid, &codec->nids); buffer 682 sound/pci/hda/hda_proc.c static void print_device_list(struct snd_info_buffer *buffer, buffer 691 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Devices: %d\n", devlist_len); buffer 700 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " *"); buffer 702 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " "); buffer 704 sound/pci/hda/hda_proc.c snd_iprintf(buffer, buffer 713 sound/pci/hda/hda_proc.c struct snd_info_buffer *buffer) buffer 715 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Codec: "); buffer 717 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "%s %s\n", buffer 720 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Not Set\n"); buffer 721 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Address: %d\n", codec->addr); buffer 723 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "AFG Function Id: 0x%x (unsol %u)\n", buffer 726 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "MFG Function Id: 0x%x (unsol %u)\n", buffer 728 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Vendor Id: 0x%08x\n", codec->vendor_id); buffer 729 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Subsystem Id: 0x%08x\n", codec->subsystem_id); buffer 730 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Revision Id: 0x%x\n", codec->revision_id); buffer 733 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Modem Function Group: 0x%x\n", codec->mfg); buffer 735 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "No Modem Function Group found\n"); buffer 739 sound/pci/hda/hda_proc.c struct snd_info_buffer *buffer) buffer 745 sound/pci/hda/hda_proc.c print_codec_core_info(&codec->core, buffer); buffer 750 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Default PCM:\n"); buffer 751 sound/pci/hda/hda_proc.c print_pcm_caps(buffer, codec, fg); buffer 752 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Default Amp-In caps: "); buffer 753 sound/pci/hda/hda_proc.c print_amp_caps(buffer, codec, fg, HDA_INPUT); buffer 754 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Default Amp-Out caps: "); buffer 755 sound/pci/hda/hda_proc.c print_amp_caps(buffer, codec, fg, HDA_OUTPUT); buffer 756 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "State of AFG node 0x%02x:\n", fg); buffer 757 sound/pci/hda/hda_proc.c print_power_state(buffer, codec, fg); buffer 761 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Invalid AFG subtree\n"); buffer 766 sound/pci/hda/hda_proc.c print_gpio(buffer, codec, fg); buffer 768 sound/pci/hda/hda_proc.c codec->proc_widget_hook(buffer, codec, fg); buffer 777 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Node 0x%02x [%s] wcaps 0x%x:", nid, buffer 782 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Stereo"); buffer 784 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " %d-Channels", chans); buffer 786 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Mono"); buffer 788 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Digital"); buffer 790 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Amp-In"); buffer 792 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Amp-Out"); buffer 794 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Stripe"); buffer 796 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " R/L"); buffer 798 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " CP"); buffer 799 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "\n"); buffer 801 sound/pci/hda/hda_proc.c print_nid_array(buffer, codec, nid, &codec->mixers); buffer 802 sound/pci/hda/hda_proc.c print_nid_array(buffer, codec, nid, &codec->nids); buffer 803 sound/pci/hda/hda_proc.c print_nid_pcms(buffer, codec, nid); buffer 826 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Amp-In caps: "); buffer 827 sound/pci/hda/hda_proc.c print_amp_caps(buffer, codec, nid, HDA_INPUT); buffer 828 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Amp-In vals: "); buffer 832 sound/pci/hda/hda_proc.c print_amp_vals(buffer, codec, nid, HDA_INPUT, buffer 835 sound/pci/hda/hda_proc.c print_amp_vals(buffer, codec, nid, HDA_INPUT, buffer 839 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Amp-Out caps: "); buffer 840 sound/pci/hda/hda_proc.c print_amp_caps(buffer, codec, nid, HDA_OUTPUT); buffer 841 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Amp-Out vals: "); buffer 844 sound/pci/hda/hda_proc.c print_amp_vals(buffer, codec, nid, HDA_OUTPUT, buffer 847 sound/pci/hda/hda_proc.c print_amp_vals(buffer, codec, nid, HDA_OUTPUT, buffer 854 sound/pci/hda/hda_proc.c print_pin_caps(buffer, codec, nid, &supports_vref); buffer 855 sound/pci/hda/hda_proc.c print_pin_ctls(buffer, codec, nid, supports_vref); buffer 859 sound/pci/hda/hda_proc.c print_vol_knob(buffer, codec, nid); buffer 863 sound/pci/hda/hda_proc.c print_audio_io(buffer, codec, nid, wid_type); buffer 865 sound/pci/hda/hda_proc.c print_digital_conv(buffer, codec, nid); buffer 867 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " PCM:\n"); buffer 868 sound/pci/hda/hda_proc.c print_pcm_caps(buffer, codec, nid); buffer 874 sound/pci/hda/hda_proc.c print_unsol_cap(buffer, codec, nid); buffer 877 sound/pci/hda/hda_proc.c print_power_state(buffer, codec, nid); buffer 880 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " Delay: %d samples\n", buffer 885 sound/pci/hda/hda_proc.c print_device_list(buffer, codec, nid); buffer 888 sound/pci/hda/hda_proc.c print_conn_list(buffer, codec, nid, wid_type, buffer 892 sound/pci/hda/hda_proc.c print_proc_caps(buffer, codec, nid); buffer 895 sound/pci/hda/hda_proc.c codec->proc_widget_hook(buffer, codec, nid); buffer 1680 sound/pci/hda/patch_ca0132.c unsigned int *buffer, unsigned int size) buffer 1685 sound/pci/hda/patch_ca0132.c if (buffer == NULL) buffer 1690 sound/pci/hda/patch_ca0132.c status = dspio_write(codec, *buffer++); buffer 1718 sound/pci/hda/patch_ca0132.c static int dspio_read_multiple(struct hda_codec *codec, unsigned int *buffer, buffer 1727 sound/pci/hda/patch_ca0132.c if (buffer == NULL) buffer 1732 sound/pci/hda/patch_ca0132.c status = dspio_read(codec, buffer++); buffer 484 sound/pci/hda/patch_hdmi.c struct snd_info_buffer *buffer) buffer 489 sound/pci/hda/patch_hdmi.c snd_hdmi_print_eld_info(&per_pin->sink_eld, buffer); buffer 494 sound/pci/hda/patch_hdmi.c struct snd_info_buffer *buffer) buffer 499 sound/pci/hda/patch_hdmi.c snd_hdmi_write_eld_info(&per_pin->sink_eld, buffer); buffer 4392 sound/pci/hda/patch_sigmatel.c static void stac92hd_proc_hook(struct snd_info_buffer *buffer, buffer 4396 sound/pci/hda/patch_sigmatel.c snd_iprintf(buffer, "Power-Map: 0x%02x\n", buffer 4401 sound/pci/hda/patch_sigmatel.c static void analog_loop_proc_hook(struct snd_info_buffer *buffer, buffer 4405 sound/pci/hda/patch_sigmatel.c snd_iprintf(buffer, "Analog Loopback: 0x%02x\n", buffer 4410 sound/pci/hda/patch_sigmatel.c static void stac92hd7x_proc_hook(struct snd_info_buffer *buffer, buffer 4413 sound/pci/hda/patch_sigmatel.c stac92hd_proc_hook(buffer, codec, nid); buffer 4415 sound/pci/hda/patch_sigmatel.c analog_loop_proc_hook(buffer, codec, 0xfa0); buffer 4418 sound/pci/hda/patch_sigmatel.c static void stac9205_proc_hook(struct snd_info_buffer *buffer, buffer 4422 sound/pci/hda/patch_sigmatel.c analog_loop_proc_hook(buffer, codec, 0xfe0); buffer 4425 sound/pci/hda/patch_sigmatel.c static void stac927x_proc_hook(struct snd_info_buffer *buffer, buffer 4429 sound/pci/hda/patch_sigmatel.c analog_loop_proc_hook(buffer, codec, 0xfeb); buffer 527 sound/pci/ice1712/aureon.c unsigned int data, int bits, unsigned char *buffer, int size) buffer 571 sound/pci/ice1712/aureon.c buffer[j] = outdata; buffer 587 sound/pci/ice1712/aureon.c unsigned char *buffer, int size) buffer 590 sound/pci/ice1712/aureon.c aureon_spi_read(ice, AUREON_CS8415_CS, 0x21, 8, buffer, size); buffer 1551 sound/pci/ice1712/ice1712.c struct snd_info_buffer *buffer) buffer 1556 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, "%s\n\n", ice->card->longname); buffer 1557 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, "EEPROM:\n"); buffer 1559 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " Subvendor : 0x%x\n", ice->eeprom.subvendor); buffer 1560 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " Size : %i bytes\n", ice->eeprom.size); buffer 1561 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " Version : %i\n", ice->eeprom.version); buffer 1562 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " Codec : 0x%x\n", ice->eeprom.data[ICE_EEP1_CODEC]); buffer 1563 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " ACLink : 0x%x\n", ice->eeprom.data[ICE_EEP1_ACLINK]); buffer 1564 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " I2S ID : 0x%x\n", ice->eeprom.data[ICE_EEP1_I2SID]); buffer 1565 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " S/PDIF : 0x%x\n", ice->eeprom.data[ICE_EEP1_SPDIF]); buffer 1566 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " GPIO mask : 0x%x\n", ice->eeprom.gpiomask); buffer 1567 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " GPIO state : 0x%x\n", ice->eeprom.gpiostate); buffer 1568 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " GPIO direction : 0x%x\n", ice->eeprom.gpiodir); buffer 1569 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " AC'97 main : 0x%x\n", eeprom_double(ice, ICE_EEP1_AC97_MAIN_LO)); buffer 1570 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " AC'97 pcm : 0x%x\n", eeprom_double(ice, ICE_EEP1_AC97_PCM_LO)); buffer 1571 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " AC'97 record : 0x%x\n", eeprom_double(ice, ICE_EEP1_AC97_REC_LO)); buffer 1572 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " AC'97 record src : 0x%x\n", ice->eeprom.data[ICE_EEP1_AC97_RECSRC]); buffer 1574 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " DAC ID #%i : 0x%x\n", idx, ice->eeprom.data[ICE_EEP1_DAC_ID + idx]); buffer 1576 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " ADC ID #%i : 0x%x\n", idx, ice->eeprom.data[ICE_EEP1_ADC_ID + idx]); buffer 1578 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " Extra #%02i : 0x%x\n", idx, ice->eeprom.data[idx]); buffer 1580 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, "\nRegisters:\n"); buffer 1581 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " PSDOUT03 : 0x%04x\n", (unsigned)inw(ICEMT(ice, ROUTE_PSDOUT03))); buffer 1582 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " CAPTURE : 0x%08x\n", inl(ICEMT(ice, ROUTE_CAPTURE))); buffer 1583 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " SPDOUT : 0x%04x\n", (unsigned)inw(ICEMT(ice, ROUTE_SPDOUT))); buffer 1584 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " RATE : 0x%02x\n", (unsigned)inb(ICEMT(ice, RATE))); buffer 1585 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " GPIO_DATA : 0x%02x\n", (unsigned)snd_ice1712_get_gpio_data(ice)); buffer 1586 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " GPIO_WRITE_MASK : 0x%02x\n", (unsigned)snd_ice1712_read(ice, ICE1712_IREG_GPIO_WRITE_MASK)); buffer 1587 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " GPIO_DIRECTION : 0x%02x\n", (unsigned)snd_ice1712_read(ice, ICE1712_IREG_GPIO_DIRECTION)); buffer 262 sound/pci/ice1712/ice1724.c u8 buffer[32]; buffer 267 sound/pci/ice1712/ice1724.c count = snd_rawmidi_transmit(s, buffer, count); buffer 269 sound/pci/ice1712/ice1724.c outb(buffer[i], ICEREG1724(ice, MPU_DATA)); buffer 282 sound/pci/ice1712/ice1724.c u8 buffer[32]; buffer 289 sound/pci/ice1712/ice1724.c buffer[i] = inb(ICEREG1724(ice, MPU_DATA)); buffer 290 sound/pci/ice1712/ice1724.c snd_rawmidi_receive(s, buffer, count); buffer 1520 sound/pci/ice1712/ice1724.c struct snd_info_buffer *buffer) buffer 1525 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, "%s\n\n", ice->card->longname); buffer 1526 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, "EEPROM:\n"); buffer 1528 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " Subvendor : 0x%x\n", ice->eeprom.subvendor); buffer 1529 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " Size : %i bytes\n", ice->eeprom.size); buffer 1530 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " Version : %i\n", ice->eeprom.version); buffer 1531 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " System Config : 0x%x\n", buffer 1533 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " ACLink : 0x%x\n", buffer 1535 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " I2S : 0x%x\n", buffer 1537 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " S/PDIF : 0x%x\n", buffer 1539 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " GPIO direction : 0x%x\n", buffer 1541 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " GPIO mask : 0x%x\n", buffer 1543 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " GPIO state : 0x%x\n", buffer 1546 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " Extra #%02i : 0x%x\n", buffer 1549 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, "\nRegisters:\n"); buffer 1551 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " PSDOUT03 : 0x%08x\n", buffer 1554 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " CCS%02x : 0x%02x\n", buffer 1557 sound/pci/ice1712/ice1724.c snd_iprintf(buffer, " MT%02x : 0x%02x\n", buffer 618 sound/pci/ice1712/pontis.c static void wm_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 624 sound/pci/ice1712/pontis.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 633 sound/pci/ice1712/pontis.c static void wm_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 641 sound/pci/ice1712/pontis.c snd_iprintf(buffer, "%02x = %04x\n", reg, val); buffer 652 sound/pci/ice1712/pontis.c static void cs_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 660 sound/pci/ice1712/pontis.c snd_iprintf(buffer, "%02x = %02x\n", reg, val); buffer 663 sound/pci/ice1712/pontis.c snd_iprintf(buffer, "%02x = %02x\n", 0x7f, val); buffer 626 sound/pci/ice1712/prodigy192.c struct snd_info_buffer *buffer) buffer 633 sound/pci/ice1712/prodigy192.c snd_iprintf(buffer, "0x%02x = 0x%02x\n", reg, val); buffer 862 sound/pci/ice1712/prodigy_hifi.c struct snd_info_buffer *buffer) buffer 868 sound/pci/ice1712/prodigy_hifi.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 878 sound/pci/ice1712/prodigy_hifi.c struct snd_info_buffer *buffer) buffer 886 sound/pci/ice1712/prodigy_hifi.c snd_iprintf(buffer, "%02x = %04x\n", reg, val); buffer 196 sound/pci/ice1712/quartet.c static char *get_binary(char *buffer, int value) buffer 203 sound/pci/ice1712/quartet.c buffer[pos] = '1'; buffer 205 sound/pci/ice1712/quartet.c buffer[pos] = '0'; buffer 209 sound/pci/ice1712/quartet.c buffer[pos] = ' '; buffer 213 sound/pci/ice1712/quartet.c buffer[pos] = '\0'; buffer 214 sound/pci/ice1712/quartet.c return buffer; buffer 475 sound/pci/ice1712/quartet.c struct snd_info_buffer *buffer) buffer 480 sound/pci/ice1712/quartet.c snd_iprintf(buffer, "SCR: %s\n", get_binary(bin_buffer, buffer 482 sound/pci/ice1712/quartet.c snd_iprintf(buffer, "MCR: %s\n", get_binary(bin_buffer, buffer 484 sound/pci/ice1712/quartet.c snd_iprintf(buffer, "CPLD: %s\n", get_binary(bin_buffer, buffer 2816 sound/pci/intel8x0.c struct snd_info_buffer *buffer) buffer 2821 sound/pci/intel8x0.c snd_iprintf(buffer, "Intel8x0\n\n"); buffer 2825 sound/pci/intel8x0.c snd_iprintf(buffer, "Global control : 0x%08x\n", igetdword(chip, ICHREG(GLOB_CNT))); buffer 2826 sound/pci/intel8x0.c snd_iprintf(buffer, "Global status : 0x%08x\n", tmp); buffer 2828 sound/pci/intel8x0.c snd_iprintf(buffer, "SDM : 0x%08x\n", igetdword(chip, ICHREG(SDM))); buffer 2829 sound/pci/intel8x0.c snd_iprintf(buffer, "AC'97 codecs ready :"); buffer 2837 sound/pci/intel8x0.c snd_iprintf(buffer, " %s", codecs[i]); buffer 2839 sound/pci/intel8x0.c snd_iprintf(buffer, " none"); buffer 2840 sound/pci/intel8x0.c snd_iprintf(buffer, "\n"); buffer 2843 sound/pci/intel8x0.c snd_iprintf(buffer, "AC'97 codecs SDIN : %i %i %i\n", buffer 1051 sound/pci/intel8x0m.c struct snd_info_buffer *buffer) buffer 1056 sound/pci/intel8x0m.c snd_iprintf(buffer, "Intel8x0m\n\n"); buffer 1060 sound/pci/intel8x0m.c snd_iprintf(buffer, "Global control : 0x%08x\n", buffer 1062 sound/pci/intel8x0m.c snd_iprintf(buffer, "Global status : 0x%08x\n", tmp); buffer 1063 sound/pci/intel8x0m.c snd_iprintf(buffer, "AC'97 codecs ready :%s%s%s%s\n", buffer 2050 sound/pci/korg1212/korg1212.c struct snd_info_buffer *buffer) buffer 2055 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, korg1212->card->longname); buffer 2056 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " (index #%d)\n", korg1212->card->number + 1); buffer 2057 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, "\nGeneral settings\n"); buffer 2058 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " period size: %zd bytes\n", K1212_PERIOD_BYTES); buffer 2059 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " clock mode: %s\n", clockSourceName[korg1212->clkSrcRate] ); buffer 2060 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " left ADC Sens: %d\n", korg1212->leftADCInSens ); buffer 2061 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " right ADC Sens: %d\n", korg1212->rightADCInSens ); buffer 2062 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " Volume Info:\n"); buffer 2064 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " Channel %d: %s -> %s [%d]\n", n, buffer 2068 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, "\nGeneral status\n"); buffer 2069 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " ADAT Time Code: %d\n", korg1212->sharedBufferPtr->AdatTimeCode); buffer 2070 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " Card State: %s\n", stateName[korg1212->cardState]); buffer 2071 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, "Idle mon. State: %d\n", korg1212->idleMonitorOn); buffer 2072 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, "Cmd retry count: %d\n", korg1212->cmdRetryCount); buffer 2073 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " Irq count: %ld\n", korg1212->irqcount); buffer 2074 sound/pci/korg1212/korg1212.c snd_iprintf(buffer, " Error count: %ld\n", korg1212->totalerrorcnt); buffer 16 sound/pci/lola/lola_proc.c static void print_audio_widget(struct snd_info_buffer *buffer, buffer 22 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "Node 0x%02x %s wcaps 0x%x\n", nid, name, val); buffer 24 sound/pci/lola/lola_proc.c snd_iprintf(buffer, " Formats: 0x%x\n", val); buffer 27 sound/pci/lola/lola_proc.c static void print_pin_widget(struct snd_info_buffer *buffer, buffer 34 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "Node 0x%02x %s wcaps 0x%x\n", nid, name, val); buffer 38 sound/pci/lola/lola_proc.c snd_iprintf(buffer, " Amp-Caps: 0x%x\n", val); buffer 39 sound/pci/lola/lola_proc.c snd_iprintf(buffer, " mute=%d, step-size=%d, steps=%d, ofs=%d\n", buffer 45 sound/pci/lola/lola_proc.c snd_iprintf(buffer, " Max-level: 0x%x\n", val); buffer 48 sound/pci/lola/lola_proc.c static void print_clock_widget(struct snd_info_buffer *buffer, buffer 55 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "Node 0x%02x [Clock] wcaps 0x%x\n", nid, val); buffer 82 sound/pci/lola/lola_proc.c snd_iprintf(buffer, " Clock %d: Type %d:%s, freq=%d\n", buffer 88 sound/pci/lola/lola_proc.c static void print_mixer_widget(struct snd_info_buffer *buffer, buffer 94 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "Node 0x%02x [Mixer] wcaps 0x%x\n", nid, val); buffer 98 sound/pci/lola/lola_proc.c struct snd_info_buffer *buffer) buffer 105 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "Vendor: 0x%08x\n", val); buffer 107 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "Function Type: %d\n", val); buffer 109 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "Specific-Caps: 0x%08x\n", val); buffer 110 sound/pci/lola/lola_proc.c snd_iprintf(buffer, " Pins-In %d, Pins-Out %d\n", buffer 114 sound/pci/lola/lola_proc.c print_audio_widget(buffer, chip, nid, "[Audio-In]"); buffer 116 sound/pci/lola/lola_proc.c print_audio_widget(buffer, chip, nid, "[Audio-Out]"); buffer 118 sound/pci/lola/lola_proc.c print_pin_widget(buffer, chip, nid, LOLA_PAR_AMP_IN_CAP, buffer 121 sound/pci/lola/lola_proc.c print_pin_widget(buffer, chip, nid, LOLA_PAR_AMP_OUT_CAP, buffer 124 sound/pci/lola/lola_proc.c print_clock_widget(buffer, chip, nid); buffer 128 sound/pci/lola/lola_proc.c print_mixer_widget(buffer, chip, nid); buffer 135 sound/pci/lola/lola_proc.c struct snd_info_buffer *buffer) buffer 140 sound/pci/lola/lola_proc.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 150 sound/pci/lola/lola_proc.c struct snd_info_buffer *buffer) buffer 153 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "0x%x 0x%x\n", chip->debug_res, chip->debug_res_ex); buffer 160 sound/pci/lola/lola_proc.c struct snd_info_buffer *buffer) buffer 166 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "BAR0 %02x: %08x\n", i, buffer 169 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "\n"); buffer 171 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "BAR1 %02x: %08x\n", i, buffer 174 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "\n"); buffer 176 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "BAR1 %02x: %08x\n", i, buffer 179 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "\n"); buffer 181 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "DSD %02x STS %08x\n", i, buffer 183 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "DSD %02x LPIB %08x\n", i, buffer 185 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "DSD %02x CTL %08x\n", i, buffer 187 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "DSD %02x LVIL %08x\n", i, buffer 189 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "DSD %02x BDPL %08x\n", i, buffer 191 sound/pci/lola/lola_proc.c snd_iprintf(buffer, "DSD %02x BDPU %08x\n", i, buffer 905 sound/pci/lx6464es/lx6464es.c struct snd_info_buffer *buffer) buffer 912 sound/pci/lx6464es/lx6464es.c snd_iprintf(buffer, "capture levels:\n"); buffer 919 sound/pci/lx6464es/lx6464es.c snd_iprintf(buffer, "%08x ", levels[i*8+j]); buffer 920 sound/pci/lx6464es/lx6464es.c snd_iprintf(buffer, "\n"); buffer 923 sound/pci/lx6464es/lx6464es.c snd_iprintf(buffer, "\nplayback levels:\n"); buffer 931 sound/pci/lx6464es/lx6464es.c snd_iprintf(buffer, "%08x ", levels[i*8+j]); buffer 932 sound/pci/lx6464es/lx6464es.c snd_iprintf(buffer, "\n"); buffer 935 sound/pci/lx6464es/lx6464es.c snd_iprintf(buffer, "\n"); buffer 1170 sound/pci/mixart/mixart.c struct snd_info_buffer *buffer) buffer 1175 sound/pci/mixart/mixart.c snd_iprintf(buffer, "Digigram miXart (alsa card %d)\n\n", chip->chip_idx); buffer 1179 sound/pci/mixart/mixart.c snd_iprintf(buffer, "- hardware -\n"); buffer 1181 sound/pci/mixart/mixart.c case MIXART_DAUGHTER_TYPE_NONE : snd_iprintf(buffer, "\tmiXart8 (no daughter board)\n\n"); break; buffer 1182 sound/pci/mixart/mixart.c case MIXART_DAUGHTER_TYPE_AES : snd_iprintf(buffer, "\tmiXart8 AES/EBU\n\n"); break; buffer 1183 sound/pci/mixart/mixart.c case MIXART_DAUGHTER_TYPE_COBRANET : snd_iprintf(buffer, "\tmiXart8 Cobranet\n\n"); break; buffer 1184 sound/pci/mixart/mixart.c default: snd_iprintf(buffer, "\tUNKNOWN!\n\n"); break; buffer 1187 sound/pci/mixart/mixart.c snd_iprintf(buffer, "- system load -\n"); buffer 1198 sound/pci/mixart/mixart.c snd_iprintf(buffer, "\tstreaming : %d\n", streaming); buffer 1199 sound/pci/mixart/mixart.c snd_iprintf(buffer, "\tmailbox : %d\n", mailbox); buffer 1200 sound/pci/mixart/mixart.c snd_iprintf(buffer, "\tinterrupts handling : %d\n\n", interr); buffer 201 sound/pci/nm256/nm256.c void __iomem *buffer; /* buffer */ buffer 313 sound/pci/nm256/nm256.c memcpy_toio(chip->buffer + offset, src, size); buffer 945 sound/pci/nm256/nm256.c s->bufptr = chip->buffer + (s->buf - chip->buffer_start); buffer 1452 sound/pci/nm256/nm256.c iounmap(chip->buffer); buffer 1592 sound/pci/nm256/nm256.c chip->buffer = ioremap_nocache(chip->buffer_addr, chip->buffer_size); buffer 1593 sound/pci/nm256/nm256.c if (chip->buffer == NULL) { buffer 679 sound/pci/oxygen/oxygen.c struct snd_info_buffer *buffer) buffer 685 sound/pci/oxygen/oxygen.c snd_iprintf(buffer, "\nAK4396 %u:", dac + 1); buffer 687 sound/pci/oxygen/oxygen.c snd_iprintf(buffer, " %02x", data->ak4396_regs[dac][i]); buffer 689 sound/pci/oxygen/oxygen.c snd_iprintf(buffer, "\n"); buffer 693 sound/pci/oxygen/oxygen.c struct snd_info_buffer *buffer) buffer 698 sound/pci/oxygen/oxygen.c snd_iprintf(buffer, "\nWM8785:"); buffer 700 sound/pci/oxygen/oxygen.c snd_iprintf(buffer, " %03x", data->wm8785_regs[i]); buffer 701 sound/pci/oxygen/oxygen.c snd_iprintf(buffer, "\n"); buffer 705 sound/pci/oxygen/oxygen.c struct snd_info_buffer *buffer) buffer 707 sound/pci/oxygen/oxygen.c dump_ak4396_registers(chip, buffer); buffer 708 sound/pci/oxygen/oxygen.c dump_wm8785_registers(chip, buffer); buffer 103 sound/pci/oxygen/oxygen.h struct snd_info_buffer *buffer); buffer 188 sound/pci/oxygen/oxygen_lib.c struct snd_info_buffer *buffer) buffer 199 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, "CMI878%c:\n", i); buffer 201 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, "%02x:", i); buffer 203 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, " %02x", oxygen_read8(chip, i + j)); buffer 204 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, "\n"); buffer 209 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, "\nAC97:\n"); buffer 211 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, "%02x:", i); buffer 213 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, " %04x", buffer 215 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, "\n"); buffer 219 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, "\nAC97 2:\n"); buffer 221 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, "%02x:", i); buffer 223 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, " %04x", buffer 225 sound/pci/oxygen/oxygen_lib.c snd_iprintf(buffer, "\n"); buffer 230 sound/pci/oxygen/oxygen_lib.c chip->model.dump_registers(chip, buffer); buffer 367 sound/pci/oxygen/xonar_cs43xx.c struct snd_info_buffer *buffer) buffer 371 sound/pci/oxygen/xonar_cs43xx.c snd_iprintf(buffer, "\nCS4362A:"); buffer 373 sound/pci/oxygen/xonar_cs43xx.c snd_iprintf(buffer, " %02x", data->cs4362a_regs[i]); buffer 374 sound/pci/oxygen/xonar_cs43xx.c snd_iprintf(buffer, "\n"); buffer 378 sound/pci/oxygen/xonar_cs43xx.c struct snd_info_buffer *buffer) buffer 383 sound/pci/oxygen/xonar_cs43xx.c snd_iprintf(buffer, "\nCS4398: 7?"); buffer 385 sound/pci/oxygen/xonar_cs43xx.c snd_iprintf(buffer, " %02x", data->cs4398_regs[i]); buffer 386 sound/pci/oxygen/xonar_cs43xx.c snd_iprintf(buffer, "\n"); buffer 387 sound/pci/oxygen/xonar_cs43xx.c dump_cs4362a_registers(data, buffer); buffer 275 sound/pci/oxygen/xonar_dg.c struct snd_info_buffer *buffer) buffer 280 sound/pci/oxygen/xonar_dg.c snd_iprintf(buffer, "\nCS4245:"); buffer 283 sound/pci/oxygen/xonar_dg.c snd_iprintf(buffer, " %02x", data->cs4245_shadow[addr]); buffer 284 sound/pci/oxygen/xonar_dg.c snd_iprintf(buffer, "\n"); buffer 50 sound/pci/oxygen/xonar_dg.h struct snd_info_buffer *buffer); buffer 1135 sound/pci/oxygen/xonar_pcm179x.c struct snd_info_buffer *buffer) buffer 1141 sound/pci/oxygen/xonar_pcm179x.c snd_iprintf(buffer, "\nPCM1796 %u:", dac + 1); buffer 1143 sound/pci/oxygen/xonar_pcm179x.c snd_iprintf(buffer, " %02x", buffer 1146 sound/pci/oxygen/xonar_pcm179x.c snd_iprintf(buffer, "\n"); buffer 1150 sound/pci/oxygen/xonar_pcm179x.c struct snd_info_buffer *buffer) buffer 1156 sound/pci/oxygen/xonar_pcm179x.c snd_iprintf(buffer, "\nCS2000:\n00: "); buffer 1158 sound/pci/oxygen/xonar_pcm179x.c snd_iprintf(buffer, " %02x", data->cs2000_regs[i]); buffer 1159 sound/pci/oxygen/xonar_pcm179x.c snd_iprintf(buffer, "\n10:"); buffer 1161 sound/pci/oxygen/xonar_pcm179x.c snd_iprintf(buffer, " %02x", data->cs2000_regs[i]); buffer 1162 sound/pci/oxygen/xonar_pcm179x.c snd_iprintf(buffer, "\n"); buffer 1167 sound/pci/oxygen/xonar_pcm179x.c struct snd_info_buffer *buffer) buffer 1169 sound/pci/oxygen/xonar_pcm179x.c dump_pcm1796_registers(chip, buffer); buffer 1170 sound/pci/oxygen/xonar_pcm179x.c dump_cs2000_registers(chip, buffer); buffer 1219 sound/pci/oxygen/xonar_wm87x6.c struct snd_info_buffer *buffer) buffer 1224 sound/pci/oxygen/xonar_wm87x6.c snd_iprintf(buffer, "\nWM8776:\n00:"); buffer 1226 sound/pci/oxygen/xonar_wm87x6.c snd_iprintf(buffer, " %03x", data->wm8776_regs[i]); buffer 1227 sound/pci/oxygen/xonar_wm87x6.c snd_iprintf(buffer, "\n10:"); buffer 1229 sound/pci/oxygen/xonar_wm87x6.c snd_iprintf(buffer, " %03x", data->wm8776_regs[i]); buffer 1230 sound/pci/oxygen/xonar_wm87x6.c snd_iprintf(buffer, "\n"); buffer 1234 sound/pci/oxygen/xonar_wm87x6.c struct snd_info_buffer *buffer) buffer 1239 sound/pci/oxygen/xonar_wm87x6.c dump_wm8776_registers(chip, buffer); buffer 1240 sound/pci/oxygen/xonar_wm87x6.c snd_iprintf(buffer, "\nWM8766:\n00:"); buffer 1242 sound/pci/oxygen/xonar_wm87x6.c snd_iprintf(buffer, " %03x", data->wm8766_regs[i]); buffer 1243 sound/pci/oxygen/xonar_wm87x6.c snd_iprintf(buffer, "\n"); buffer 1235 sound/pci/pcxhr/pcxhr.c struct snd_info_buffer *buffer) buffer 1240 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "\n%s\n", mgr->name); buffer 1248 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "module version %s\n", buffer 1250 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "dsp version %d.%d.%d\n", buffer 1253 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "analog io available\n"); buffer 1255 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "digital only board\n"); buffer 1272 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "cpu load %d%%\n", cur); buffer 1273 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "buffer pool %d/%d\n", buffer 1277 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "dma granularity : %d\n", buffer 1279 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "dsp time errors : %d\n", buffer 1281 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "dsp async pipe xrun errors : %d\n", buffer 1283 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "dsp async stream xrun errors : %d\n", buffer 1285 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "dsp async last other error : %x\n", buffer 1298 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "debug[%02d] = %06x\n", buffer 1302 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "no firmware loaded\n"); buffer 1303 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "\n"); buffer 1306 sound/pci/pcxhr/pcxhr.c struct snd_info_buffer *buffer) buffer 1327 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "\n%s\n", mgr->name); buffer 1328 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "Current Sample Clock\t: %s\n", buffer 1330 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "Current Sample Rate\t= %d\n", buffer 1339 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "%s Clock\t\t= %d\n", buffer 1343 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "no firmware loaded\n"); buffer 1344 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "\n"); buffer 1348 sound/pci/pcxhr/pcxhr.c struct snd_info_buffer *buffer) buffer 1357 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "GPI: 0x%x\n", value); buffer 1359 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "GPO: 0x%x\n", value); buffer 1361 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "no firmware loaded\n"); buffer 1362 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "\n"); buffer 1365 sound/pci/pcxhr/pcxhr.c struct snd_info_buffer *buffer) buffer 1374 sound/pci/pcxhr/pcxhr.c while (!snd_info_get_line(buffer, line, sizeof(line))) { buffer 1393 sound/pci/pcxhr/pcxhr.c struct snd_info_buffer *buffer) buffer 1402 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "no firmware loaded\n"); buffer 1410 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "ltc not activated (%d)\n", err); buffer 1423 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "ltc read error (err=%d)\n", err); buffer 1431 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "timecode: %02u:%02u:%02u-%02u\n", buffer 1433 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "raw: 0x%04x%06x%06x\n", rmh.stat[0] & 0x00ffff, buffer 1438 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "warning: linear timecode not valid\n"); buffer 1891 sound/pci/riptide/riptide.c struct snd_info_buffer *buffer) buffer 1904 sound/pci/riptide/riptide.c snd_iprintf(buffer, "%s\n\n", chip->card->longname); buffer 1905 sound/pci/riptide/riptide.c snd_iprintf(buffer, "Device ID: 0x%x\nReceived IRQs: (%ld)%ld\nPorts:", buffer 1908 sound/pci/riptide/riptide.c snd_iprintf(buffer, "%c%02x: %08x", buffer 1911 sound/pci/riptide/riptide.c snd_iprintf(buffer, buffer 1917 sound/pci/riptide/riptide.c snd_iprintf(buffer, "\nDigital mixer:"); buffer 1920 sound/pci/riptide/riptide.c snd_iprintf(buffer, "\n %d: %d %d", i, rval, lval); buffer 1922 sound/pci/riptide/riptide.c snd_iprintf(buffer, buffer 1927 sound/pci/riptide/riptide.c snd_iprintf(buffer, "\nOpen streams %d:\n", chip->openstreams); buffer 1933 sound/pci/riptide/riptide.c snd_iprintf(buffer, buffer 1938 sound/pci/riptide/riptide.c snd_iprintf(buffer, "rate: %d\n", rate); buffer 1944 sound/pci/riptide/riptide.c snd_iprintf(buffer, buffer 1949 sound/pci/riptide/riptide.c snd_iprintf(buffer, "rate: %d\n", rate); buffer 1951 sound/pci/riptide/riptide.c snd_iprintf(buffer, "Paths:\n"); buffer 1955 sound/pci/riptide/riptide.c snd_iprintf(buffer, "%x->%x ", p[i], p[i + 1]); buffer 1957 sound/pci/riptide/riptide.c snd_iprintf(buffer, "\n"); buffer 1461 sound/pci/rme32.c snd_rme32_proc_read(struct snd_info_entry * entry, struct snd_info_buffer *buffer) buffer 1468 sound/pci/rme32.c snd_iprintf(buffer, rme32->card->longname); buffer 1469 sound/pci/rme32.c snd_iprintf(buffer, " (index #%d)\n", rme32->card->number + 1); buffer 1471 sound/pci/rme32.c snd_iprintf(buffer, "\nGeneral settings\n"); buffer 1473 sound/pci/rme32.c snd_iprintf(buffer, " Full-duplex mode\n"); buffer 1475 sound/pci/rme32.c snd_iprintf(buffer, " Half-duplex mode\n"); buffer 1477 sound/pci/rme32.c snd_iprintf(buffer, " receiver: CS8414\n"); buffer 1479 sound/pci/rme32.c snd_iprintf(buffer, " receiver: CS8412\n"); buffer 1482 sound/pci/rme32.c snd_iprintf(buffer, " format: 24 bit"); buffer 1484 sound/pci/rme32.c snd_iprintf(buffer, " format: 16 bit"); buffer 1487 sound/pci/rme32.c snd_iprintf(buffer, ", Mono\n"); buffer 1489 sound/pci/rme32.c snd_iprintf(buffer, ", Stereo\n"); buffer 1492 sound/pci/rme32.c snd_iprintf(buffer, "\nInput settings\n"); buffer 1495 sound/pci/rme32.c snd_iprintf(buffer, " input: optical"); buffer 1498 sound/pci/rme32.c snd_iprintf(buffer, " input: coaxial"); buffer 1501 sound/pci/rme32.c snd_iprintf(buffer, " input: internal"); buffer 1504 sound/pci/rme32.c snd_iprintf(buffer, " input: XLR"); buffer 1508 sound/pci/rme32.c snd_iprintf(buffer, "\n sample rate: no valid signal\n"); buffer 1511 sound/pci/rme32.c snd_iprintf(buffer, " (8 channels)\n"); buffer 1513 sound/pci/rme32.c snd_iprintf(buffer, " (2 channels)\n"); buffer 1515 sound/pci/rme32.c snd_iprintf(buffer, " sample rate: %d Hz\n", buffer 1519 sound/pci/rme32.c snd_iprintf(buffer, "\nOutput settings\n"); buffer 1521 sound/pci/rme32.c snd_iprintf(buffer, " output signal: normal playback"); buffer 1523 sound/pci/rme32.c snd_iprintf(buffer, " output signal: same as input"); buffer 1526 sound/pci/rme32.c snd_iprintf(buffer, " (muted)\n"); buffer 1528 sound/pci/rme32.c snd_iprintf(buffer, "\n"); buffer 1535 sound/pci/rme32.c snd_iprintf(buffer, " sample rate: %d Hz\n", buffer 1539 sound/pci/rme32.c snd_iprintf(buffer, " sample clock source: AutoSync\n"); buffer 1541 sound/pci/rme32.c snd_iprintf(buffer, " sample clock source: Internal\n"); buffer 1544 sound/pci/rme32.c snd_iprintf(buffer, " format: AES/EBU (professional)\n"); buffer 1546 sound/pci/rme32.c snd_iprintf(buffer, " format: IEC958 (consumer)\n"); buffer 1549 sound/pci/rme32.c snd_iprintf(buffer, " emphasis: on\n"); buffer 1551 sound/pci/rme32.c snd_iprintf(buffer, " emphasis: off\n"); buffer 1727 sound/pci/rme96.c snd_rme96_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 1734 sound/pci/rme96.c snd_iprintf(buffer, rme96->card->longname); buffer 1735 sound/pci/rme96.c snd_iprintf(buffer, " (index #%d)\n", rme96->card->number + 1); buffer 1737 sound/pci/rme96.c snd_iprintf(buffer, "\nGeneral settings\n"); buffer 1739 sound/pci/rme96.c snd_iprintf(buffer, " period size: N/A (interrupts " buffer 1742 sound/pci/rme96.c snd_iprintf(buffer, " period size: 2048 bytes\n"); buffer 1744 sound/pci/rme96.c snd_iprintf(buffer, " period size: 8192 bytes\n"); buffer 1746 sound/pci/rme96.c snd_iprintf(buffer, "\nInput settings\n"); buffer 1749 sound/pci/rme96.c snd_iprintf(buffer, " input: optical"); buffer 1752 sound/pci/rme96.c snd_iprintf(buffer, " input: coaxial"); buffer 1755 sound/pci/rme96.c snd_iprintf(buffer, " input: internal"); buffer 1758 sound/pci/rme96.c snd_iprintf(buffer, " input: XLR"); buffer 1761 sound/pci/rme96.c snd_iprintf(buffer, " input: analog"); buffer 1765 sound/pci/rme96.c snd_iprintf(buffer, "\n sample rate: no valid signal\n"); buffer 1768 sound/pci/rme96.c snd_iprintf(buffer, " (8 channels)\n"); buffer 1770 sound/pci/rme96.c snd_iprintf(buffer, " (2 channels)\n"); buffer 1772 sound/pci/rme96.c snd_iprintf(buffer, " sample rate: %d Hz\n", buffer 1776 sound/pci/rme96.c snd_iprintf(buffer, " sample format: 24 bit\n"); buffer 1778 sound/pci/rme96.c snd_iprintf(buffer, " sample format: 16 bit\n"); buffer 1781 sound/pci/rme96.c snd_iprintf(buffer, "\nOutput settings\n"); buffer 1783 sound/pci/rme96.c snd_iprintf(buffer, " output signal: normal playback\n"); buffer 1785 sound/pci/rme96.c snd_iprintf(buffer, " output signal: same as input\n"); buffer 1787 sound/pci/rme96.c snd_iprintf(buffer, " sample rate: %d Hz\n", buffer 1790 sound/pci/rme96.c snd_iprintf(buffer, " sample format: 24 bit\n"); buffer 1792 sound/pci/rme96.c snd_iprintf(buffer, " sample format: 16 bit\n"); buffer 1795 sound/pci/rme96.c snd_iprintf(buffer, " sample clock source: word clock\n"); buffer 1797 sound/pci/rme96.c snd_iprintf(buffer, " sample clock source: internal\n"); buffer 1799 sound/pci/rme96.c snd_iprintf(buffer, " sample clock source: autosync (internal anyway due to analog input setting)\n"); buffer 1801 sound/pci/rme96.c snd_iprintf(buffer, " sample clock source: autosync (internal anyway due to no valid signal)\n"); buffer 1803 sound/pci/rme96.c snd_iprintf(buffer, " sample clock source: autosync\n"); buffer 1806 sound/pci/rme96.c snd_iprintf(buffer, " format: AES/EBU (professional)\n"); buffer 1808 sound/pci/rme96.c snd_iprintf(buffer, " format: IEC958 (consumer)\n"); buffer 1811 sound/pci/rme96.c snd_iprintf(buffer, " emphasis: on\n"); buffer 1813 sound/pci/rme96.c snd_iprintf(buffer, " emphasis: off\n"); buffer 1816 sound/pci/rme96.c snd_iprintf(buffer, " non-audio (dolby): on\n"); buffer 1818 sound/pci/rme96.c snd_iprintf(buffer, " non-audio (dolby): off\n"); buffer 1821 sound/pci/rme96.c snd_iprintf(buffer, "\nAnalog output settings\n"); buffer 1824 sound/pci/rme96.c snd_iprintf(buffer, " monitored ADAT tracks: 1+2\n"); buffer 1827 sound/pci/rme96.c snd_iprintf(buffer, " monitored ADAT tracks: 3+4\n"); buffer 1830 sound/pci/rme96.c snd_iprintf(buffer, " monitored ADAT tracks: 5+6\n"); buffer 1833 sound/pci/rme96.c snd_iprintf(buffer, " monitored ADAT tracks: 7+8\n"); buffer 1838 sound/pci/rme96.c snd_iprintf(buffer, " attenuation: 0 dB\n"); buffer 1841 sound/pci/rme96.c snd_iprintf(buffer, " attenuation: -6 dB\n"); buffer 1844 sound/pci/rme96.c snd_iprintf(buffer, " attenuation: -12 dB\n"); buffer 1847 sound/pci/rme96.c snd_iprintf(buffer, " attenuation: -18 dB\n"); buffer 1850 sound/pci/rme96.c snd_iprintf(buffer, " volume left: %u\n", rme96->vol[0]); buffer 1851 sound/pci/rme96.c snd_iprintf(buffer, " volume right: %u\n", rme96->vol[1]); buffer 3320 sound/pci/rme9652/hdsp.c snd_hdsp_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 3334 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "%s (Card #%d)\n", hdsp->card_name, buffer 3336 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Buffers: capture %p playback %p\n", buffer 3338 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n", buffer 3340 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Control register: 0x%x\n", hdsp->control_register); buffer 3341 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Control2 register: 0x%x\n", buffer 3343 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Status register: 0x%x\n", status); buffer 3344 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Status2 register: 0x%x\n", status2); buffer 3347 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "No I/O box connected.\n" buffer 3355 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Firmware loading from " buffer 3364 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, buffer 3372 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "FIFO status: %d\n", hdsp_read(hdsp, HDSP_fifoStatus) & 0xff); buffer 3373 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "MIDI1 Output status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusOut0)); buffer 3374 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "MIDI1 Input status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusIn0)); buffer 3375 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "MIDI2 Output status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusOut1)); buffer 3376 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "MIDI2 Input status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusIn1)); buffer 3377 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Use Midi Tasklet: %s\n", hdsp->use_midi_tasklet ? "on" : "off"); buffer 3379 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "\n"); buffer 3383 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Buffer Size (Latency): %d samples (2 periods of %lu bytes)\n", x, (unsigned long) hdsp->period_bytes); buffer 3384 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Hardware pointer (frames): %ld\n", hdsp_hw_pointer(hdsp)); buffer 3385 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Precise pointer: %s\n", hdsp->precise_ptr ? "on" : "off"); buffer 3386 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Line out: %s\n", (hdsp->control_register & HDSP_LineOut) ? "on" : "off"); buffer 3388 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Firmware version: %d\n", (status2&HDSP_version0)|(status2&HDSP_version1)<<1|(status2&HDSP_version2)<<2); buffer 3390 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "\n"); buffer 3426 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "Sample Clock Source: %s\n", clock_source); buffer 3456 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "Preferred Sync Reference: %s\n", pref_sync_ref); buffer 3484 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "AutoSync Reference: %s\n", autosync_ref); buffer 3486 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "AutoSync Frequency: %d\n", hdsp_external_sample_rate(hdsp)); buffer 3488 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "System Clock Mode: %s\n", system_clock_mode); buffer 3490 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "System Clock Frequency: %d\n", hdsp->system_sample_rate); buffer 3491 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "System Clock Locked: %s\n", hdsp->clock_source_locked ? "Yes" : "No"); buffer 3493 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "\n"); buffer 3498 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 input: Optical\n"); buffer 3501 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 input: Coaxial\n"); buffer 3504 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 input: Internal\n"); buffer 3507 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 input: AES\n"); buffer 3510 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 input: ???\n"); buffer 3517 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "RPM Bypass: disabled\n"); buffer 3519 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "RPM Bypass: enabled\n"); buffer 3521 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "RPM disconnected\n"); buffer 3523 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "RPM connected\n"); buffer 3527 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 1/2: Phono, 6dB\n"); buffer 3530 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 1/2: Phono, 0dB\n"); buffer 3533 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 1/2: Phono, -6dB\n"); buffer 3536 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 1/2: Line, 0dB\n"); buffer 3539 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 1/2: Line, -6dB\n"); buffer 3542 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 1/2: ???\n"); buffer 3547 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 3/4: Phono, 6dB\n"); buffer 3550 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 3/4: Phono, 0dB\n"); buffer 3553 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 3/4: Phono, -6dB\n"); buffer 3556 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 3/4: Line, 0dB\n"); buffer 3559 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 3/4: Line, -6dB\n"); buffer 3562 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Input 3/4: ???\n"); buffer 3567 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 output: Coaxial & ADAT1\n"); buffer 3569 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 output: Coaxial only\n"); buffer 3572 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 quality: Professional\n"); buffer 3574 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 quality: Consumer\n"); buffer 3577 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 emphasis: on\n"); buffer 3579 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 emphasis: off\n"); buffer 3582 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 NonAudio: on\n"); buffer 3584 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 NonAudio: off\n"); buffer 3587 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 sample rate: %d\n", x); buffer 3589 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "IEC958 sample rate: Error flag set\n"); buffer 3591 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "\n"); buffer 3596 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "ADAT1: %s\n", x ? "Sync" : "Lock"); buffer 3598 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "ADAT1: No Lock\n"); buffer 3605 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "ADAT2: %s\n", x ? "Sync" : "Lock"); buffer 3607 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "ADAT2: No Lock\n"); buffer 3610 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "ADAT3: %s\n", x ? "Sync" : "Lock"); buffer 3612 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "ADAT3: No Lock\n"); buffer 3621 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "SPDIF: No Lock\n"); buffer 3623 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "SPDIF: %s\n", x ? "Sync" : "Lock"); buffer 3627 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "Word Clock: %s\n", x ? "Sync" : "Lock"); buffer 3629 sound/pci/rme9652/hdsp.c snd_iprintf (buffer, "Word Clock: No Lock\n"); buffer 3633 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "ADAT Sync: %s\n", x ? "Sync" : "Lock"); buffer 3635 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "ADAT Sync: No Lock\n"); buffer 3637 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "\n"); buffer 3654 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "AD Gain : %s\n", tmp); buffer 3667 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "DA Gain : %s\n", tmp); buffer 3680 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Phones Gain : %s\n", tmp); buffer 3682 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "XLR Breakout Cable : %s\n", buffer 3687 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "AEB : on (ADAT1 internal)\n"); buffer 3689 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "AEB : off (ADAT1 external)\n"); buffer 3690 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "\n"); buffer 4749 sound/pci/rme9652/hdspm.c struct snd_info_buffer *buffer) buffer 4758 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "--- TCO ---\n"); buffer 4765 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "TCO module detected.\n"); buffer 4768 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, " LTC valid, "); buffer 4772 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "24 fps, "); buffer 4775 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "25 fps, "); buffer 4778 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "29.97 fps, "); buffer 4781 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "30 fps, "); buffer 4785 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "drop frame\n"); buffer 4787 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "full frame\n"); buffer 4790 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, " no LTC\n"); buffer 4793 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, " Video: NTSC\n"); buffer 4795 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, " Video: PAL\n"); buffer 4797 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, " No video\n"); buffer 4800 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, " Sync: lock\n"); buffer 4802 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, " Sync: no lock\n"); buffer 4819 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, " period: %u\n", period); buffer 4831 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, " Frequency: %u Hz\n", buffer 4850 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 4855 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "No TCO module detected.\n"); buffer 4861 sound/pci/rme9652/hdspm.c struct snd_info_buffer *buffer) buffer 4874 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "%s (Card #%d) Rev.%x Status2first3bits: %x\n", buffer 4881 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "HW Serial: 0x%06x%06x\n", buffer 4885 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n", buffer 4888 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "--- System ---\n"); buffer 4890 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 4896 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 4907 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 4913 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 4917 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 4924 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "--- Settings ---\n"); buffer 4928 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 4932 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Line out: %s\n", buffer 4935 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 4947 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "AutoSync Reference: %s\n", system_clock_mode); buffer 4966 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Preferred Sync Reference: %s\n", buffer 4969 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "System Clock Frequency: %d\n", buffer 4973 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "--- Status:\n"); buffer 4978 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Inputs MADI=%s, WordClock=%s\n", buffer 5004 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 5010 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Input: %s, Mode=%s\n", buffer 5016 sound/pci/rme9652/hdspm.c snd_hdspm_proc_read_tco(entry, buffer); buffer 5018 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "\n"); buffer 5023 sound/pci/rme9652/hdspm.c struct snd_info_buffer *buffer) buffer 5038 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "%s (Card #%d) Rev.%x\n", buffer 5042 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n", buffer 5045 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "--- System ---\n"); buffer 5047 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 5053 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 5064 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 5070 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 5074 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 5080 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "--- Settings ---\n"); buffer 5084 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 5088 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Line out: %s\n", buffer 5092 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, buffer 5104 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Preferred Sync Reference: Word Clock\n"); buffer 5106 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Preferred Sync Reference: AES%d\n", buffer 5109 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "System Clock Frequency: %d\n", buffer 5112 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Double speed: %s\n", buffer 5115 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Quad speed: %s\n", buffer 5121 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "--- Status:\n"); buffer 5126 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Word: %s Frequency: %d\n", buffer 5131 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "AES%d: %s Frequency: %d\n", buffer 5166 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "AutoSync ref = %s\n", autosync_ref); buffer 5169 sound/pci/rme9652/hdspm.c snd_hdspm_proc_read_tco(entry, buffer); buffer 5171 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "\n"); buffer 5176 sound/pci/rme9652/hdspm.c struct snd_info_buffer *buffer) buffer 5186 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "STATUS1: 0x%08x\n", status1); buffer 5187 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "STATUS2: 0x%08x\n", status2); buffer 5188 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "STATUS3: 0x%08x\n", status3); buffer 5191 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "\n*** CLOCK MODE\n\n"); buffer 5193 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "Clock mode : %s\n", buffer 5195 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "System frequency: %d Hz\n", buffer 5198 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "\n*** INPUT STATUS\n\n"); buffer 5204 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "s1_input %d: Lock %d, Sync %d, Freq %s\n", buffer 5214 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "WC input: Lock %d, Sync %d, Freq %s\n", buffer 5219 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "TCO input: Lock %d, Sync %d, Freq %s\n", buffer 5224 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "SYNC IN: Lock %d, Sync %d, Freq %s\n", buffer 5234 sound/pci/rme9652/hdspm.c struct snd_info_buffer *buffer) buffer 5241 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "0x%08X: ", i); buffer 5243 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "%08X ", hdspm_read(hdspm, i + j)); buffer 5244 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "\n"); buffer 5251 sound/pci/rme9652/hdspm.c struct snd_info_buffer *buffer) buffer 5256 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "# generated by hdspm\n"); buffer 5259 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "%d=%s\n", i+1, hdspm->port_names_in[i]); buffer 5264 sound/pci/rme9652/hdspm.c struct snd_info_buffer *buffer) buffer 5269 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "# generated by hdspm\n"); buffer 5272 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "%d=%s\n", i+1, hdspm->port_names_out[i]); buffer 1552 sound/pci/rme9652/rme9652.c snd_rme9652_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 1563 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "%s (Card #%d)\n", rme9652->card_name, rme9652->card->number + 1); buffer 1564 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Buffers: capture %p playback %p\n", buffer 1566 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n", buffer 1568 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Control register: %x\n", rme9652->control_register); buffer 1570 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "\n"); buffer 1575 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Latency: %d samples (2 periods of %lu bytes)\n", buffer 1577 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Hardware pointer (frames): %ld\n", buffer 1579 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Passthru: %s\n", buffer 1583 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Clock mode: autosync\n"); buffer 1587 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Clock mode: word clock\n"); buffer 1589 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Clock mode: word clock (no signal)\n"); buffer 1592 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Clock mode: master\n"); buffer 1598 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Pref. sync source: ADAT1\n"); buffer 1601 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Pref. sync source: ADAT2\n"); buffer 1604 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Pref. sync source: ADAT3\n"); buffer 1607 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Pref. sync source: IEC958\n"); buffer 1610 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Pref. sync source: ???\n"); buffer 1615 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "\nADAT1 Input source: %s\n", buffer 1619 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "\n"); buffer 1624 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 input: ADAT1\n"); buffer 1627 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 input: Coaxial\n"); buffer 1630 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 input: Internal\n"); buffer 1633 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 input: ???\n"); buffer 1638 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 output: Coaxial & ADAT1\n"); buffer 1640 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 output: Coaxial only\n"); buffer 1644 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 quality: Professional\n"); buffer 1646 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 quality: Consumer\n"); buffer 1650 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 emphasis: on\n"); buffer 1652 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 emphasis: off\n"); buffer 1656 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 Dolby: on\n"); buffer 1658 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 Dolby: off\n"); buffer 1664 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, buffer 1667 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 sample rate: undetermined\n"); buffer 1669 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "IEC958 sample rate: %d\n", i); buffer 1672 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "\n"); buffer 1674 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "ADAT Sample rate: %dHz\n", buffer 1681 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "ADAT1: %s\n", x ? "Sync" : "Lock"); buffer 1683 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "ADAT1: No Lock\n"); buffer 1688 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "ADAT2: %s\n", x ? "Sync" : "Lock"); buffer 1690 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "ADAT2: No Lock\n"); buffer 1695 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "ADAT3: %s\n", x ? "Sync" : "Lock"); buffer 1697 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "ADAT3: No Lock\n"); buffer 1700 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "\n"); buffer 1702 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Timecode signal: %s\n", buffer 1707 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "Punch Status:\n\n"); buffer 1711 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "%2d: on ", i + 1); buffer 1713 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "%2d: off ", i + 1); buffer 1717 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "\n"); buffer 1721 sound/pci/rme9652/rme9652.c snd_iprintf(buffer, "\n"); buffer 1129 sound/pci/sonicvibes.c struct snd_info_buffer *buffer) buffer 1135 sound/pci/sonicvibes.c snd_iprintf(buffer, "SRS 3D : %s\n", buffer 1137 sound/pci/sonicvibes.c snd_iprintf(buffer, "SRS Space : %s\n", buffer 1143 sound/pci/sonicvibes.c snd_iprintf(buffer, "SRS Center : %s\n", buffer 1149 sound/pci/sonicvibes.c snd_iprintf(buffer, "WaveTable Source : %s\n", buffer 1153 sound/pci/sonicvibes.c snd_iprintf(buffer, "Onboard synth : %s\n", tmp & 0x01 ? "on" : "off"); buffer 1154 sound/pci/sonicvibes.c snd_iprintf(buffer, "Ext. Rx to synth : %s\n", tmp & 0x02 ? "on" : "off"); buffer 1155 sound/pci/sonicvibes.c snd_iprintf(buffer, "MIDI to ext. Tx : %s\n", tmp & 0x04 ? "on" : "off"); buffer 255 sound/pci/trident/trident.h struct snd_dma_buffer buffer; buffer 3273 sound/pci/trident/trident_main.c struct snd_info_buffer *buffer) buffer 3291 sound/pci/trident/trident_main.c snd_iprintf(buffer, "%s\n\n", s); buffer 3292 sound/pci/trident/trident_main.c snd_iprintf(buffer, "Spurious IRQs : %d\n", trident->spurious_irq_count); buffer 3293 sound/pci/trident/trident_main.c snd_iprintf(buffer, "Spurious IRQ dlta: %d\n", trident->spurious_irq_max_delta); buffer 3295 sound/pci/trident/trident_main.c snd_iprintf(buffer, "IEC958 Mixer Out : %s\n", trident->spdif_ctrl == 0x28 ? "on" : "off"); buffer 3297 sound/pci/trident/trident_main.c snd_iprintf(buffer, "Rear Speakers : %s\n", trident->ac97_ctrl & 0x00000010 ? "on" : "off"); buffer 3299 sound/pci/trident/trident_main.c snd_iprintf(buffer,"\nVirtual Memory\n"); buffer 3300 sound/pci/trident/trident_main.c snd_iprintf(buffer, "Memory Maximum : %d\n", trident->tlb.memhdr->size); buffer 3301 sound/pci/trident/trident_main.c snd_iprintf(buffer, "Memory Used : %d\n", trident->tlb.memhdr->used); buffer 3302 sound/pci/trident/trident_main.c snd_iprintf(buffer, "Memory Free : %d\n", snd_util_mem_avail(trident->tlb.memhdr)); buffer 3342 sound/pci/trident/trident_main.c 2 * SNDRV_TRIDENT_MAX_PAGES * 4, &trident->tlb.buffer) < 0) { buffer 3346 sound/pci/trident/trident_main.c trident->tlb.entries = (__le32 *)ALIGN((unsigned long)trident->tlb.buffer.area, SNDRV_TRIDENT_MAX_PAGES * 4); buffer 3347 sound/pci/trident/trident_main.c trident->tlb.entries_dmaaddr = ALIGN(trident->tlb.buffer.addr, SNDRV_TRIDENT_MAX_PAGES * 4); buffer 3587 sound/pci/trident/trident_main.c trident->tlb.buffer.area = NULL; buffer 3671 sound/pci/trident/trident_main.c if (trident->tlb.buffer.area) { buffer 3677 sound/pci/trident/trident_main.c snd_dma_free_pages(&trident->tlb.buffer); buffer 2120 sound/pci/via82xx.c struct snd_info_buffer *buffer) buffer 2125 sound/pci/via82xx.c snd_iprintf(buffer, "%s\n\n", chip->card->longname); buffer 2127 sound/pci/via82xx.c snd_iprintf(buffer, "%02x: %08x\n", i, inl(chip->port + i)); buffer 911 sound/pci/via82xx_modem.c static void snd_via82xx_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 916 sound/pci/via82xx_modem.c snd_iprintf(buffer, "%s\n\n", chip->card->longname); buffer 918 sound/pci/via82xx_modem.c snd_iprintf(buffer, "%02x: %08x\n", i, inl(chip->port + i)); buffer 1962 sound/pci/ymfpci/ymfpci_main.c struct snd_info_buffer *buffer) buffer 1967 sound/pci/ymfpci/ymfpci_main.c snd_iprintf(buffer, "YMFPCI\n\n"); buffer 1969 sound/pci/ymfpci/ymfpci_main.c snd_iprintf(buffer, "%04x: %04x\n", i, snd_ymfpci_readl(chip, i)); buffer 125 sound/pcmcia/pdaudiocf/pdaudiocf_core.c struct snd_info_buffer *buffer) buffer 130 sound/pcmcia/pdaudiocf/pdaudiocf_core.c snd_iprintf(buffer, "PDAudioCF\n\n"); buffer 132 sound/pcmcia/pdaudiocf/pdaudiocf_core.c snd_iprintf(buffer, "FPGA revision : 0x%x\n", PDAUDIOCF_FPGAREV(tmp)); buffer 36 sound/soc/au1x/dma.c struct pcm_period *buffer; buffer 52 sound/soc/au1x/dma.c pointer = stream->buffer; buffer 59 sound/soc/au1x/dma.c } while (pointer != stream->buffer); buffer 60 sound/soc/au1x/dma.c stream->buffer = NULL; buffer 84 sound/soc/au1x/dma.c stream->buffer = kmalloc(sizeof(struct pcm_period), GFP_KERNEL); buffer 85 sound/soc/au1x/dma.c if (!stream->buffer) buffer 87 sound/soc/au1x/dma.c pointer = stream->buffer; buffer 101 sound/soc/au1x/dma.c pointer->next = stream->buffer; buffer 107 sound/soc/au1x/dma.c if (stream->buffer) buffer 113 sound/soc/au1x/dma.c if (!stream->buffer) buffer 119 sound/soc/au1x/dma.c set_dma_addr0(stream->dma, stream->buffer->start); buffer 121 sound/soc/au1x/dma.c set_dma_addr1(stream->dma, stream->buffer->next->start); buffer 125 sound/soc/au1x/dma.c set_dma_addr1(stream->dma, stream->buffer->start); buffer 127 sound/soc/au1x/dma.c set_dma_addr0(stream->dma, stream->buffer->next->start); buffer 141 sound/soc/au1x/dma.c stream->buffer = stream->buffer->next; buffer 143 sound/soc/au1x/dma.c set_dma_addr0(stream->dma, stream->buffer->next->start); buffer 148 sound/soc/au1x/dma.c stream->buffer = stream->buffer->next; buffer 150 sound/soc/au1x/dma.c set_dma_addr1(stream->dma, stream->buffer->next->start); buffer 210 sound/soc/au1x/dma.c ctx->stream[s].buffer = NULL; buffer 278 sound/soc/au1x/dma.c location = stream->buffer->relative_end - location; buffer 46 sound/soc/codecs/cros_ec_codec.c u8 buffer[sizeof(struct cros_ec_command) + buffer 49 sound/soc/codecs/cros_ec_codec.c struct cros_ec_command *msg = (struct cros_ec_command *)&buffer; buffer 75 sound/soc/codecs/cros_ec_codec.c u8 buffer[sizeof(struct cros_ec_command) + buffer 77 sound/soc/codecs/cros_ec_codec.c struct cros_ec_command *msg = (struct cros_ec_command *)&buffer; buffer 365 sound/soc/codecs/hdac_hdmi.c uint8_t buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AUDIO_INFOFRAME_SIZE]; buffer 397 sound/soc/codecs/hdac_hdmi.c ret = hdmi_audio_infoframe_pack(&frame, buffer, sizeof(buffer)); buffer 428 sound/soc/codecs/hdac_hdmi.c for (i = 0; i < sizeof(buffer); i++) buffer 430 sound/soc/codecs/hdac_hdmi.c AC_VERB_SET_HDMI_DIP_DATA, buffer[i]); buffer 3457 sound/soc/codecs/wm_adsp.c if (params->buffer.fragment_size < WM_ADSP_MIN_FRAGMENT_SIZE || buffer 3458 sound/soc/codecs/wm_adsp.c params->buffer.fragment_size > WM_ADSP_MAX_FRAGMENT_SIZE || buffer 3459 sound/soc/codecs/wm_adsp.c params->buffer.fragments < WM_ADSP_MIN_FRAGMENTS || buffer 3460 sound/soc/codecs/wm_adsp.c params->buffer.fragments > WM_ADSP_MAX_FRAGMENTS || buffer 3461 sound/soc/codecs/wm_adsp.c params->buffer.fragment_size % WM_ADSP_DATA_WORD_SIZE) { buffer 3463 sound/soc/codecs/wm_adsp.c params->buffer.fragment_size, buffer 3464 sound/soc/codecs/wm_adsp.c params->buffer.fragments); buffer 3514 sound/soc/codecs/wm_adsp.c compr->size = params->buffer; buffer 419 sound/soc/fsl/mpc5200_dma.c fifo = res.start + offsetof(struct mpc52xx_psc, buffer.buffer_32); buffer 148 sound/soc/intel/atom/sst-mfld-platform-compress.c virt_to_phys(cstream->runtime->buffer); buffer 169 sound/soc/intel/common/sst-dsp-priv.h u32 *buffer; buffer 936 sound/soc/intel/common/sst-firmware.c context->buffer = dma_alloc_coherent(dsp->dma_dev, buffer 939 sound/soc/intel/common/sst-firmware.c if (!context->buffer) { buffer 961 sound/soc/intel/common/sst-firmware.c sst_memcpy32(context->buffer, dsp->addr.lpe + buffer 984 sound/soc/intel/common/sst-firmware.c if (!context->buffer) { buffer 1005 sound/soc/intel/common/sst-firmware.c context->buffer, module->persistent_size); buffer 1008 sound/soc/intel/common/sst-firmware.c context->buffer, context->dma_buffer); buffer 1009 sound/soc/intel/common/sst-firmware.c context->buffer = NULL; buffer 794 sound/soc/intel/skylake/skl-sst-ipc.c u32 *buffer = (u32 *)param_data; buffer 799 sound/soc/intel/skylake/skl-sst-ipc.c 16, 4, buffer, param_block_size, false); buffer 46 sound/soc/soc-acpi.c struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; buffer 50 sound/soc/soc-acpi.c NULL, &buffer, buffer 55 sound/soc/soc-acpi.c myobj = buffer.pointer; buffer 57 sound/soc/soc-acpi.c kfree(buffer.pointer); buffer 64 sound/soc/soc-acpi.c kfree(buffer.pointer); buffer 68 sound/soc/soc-acpi.c kfree(buffer.pointer); buffer 122 sound/soc/sof/debug.c static ssize_t sof_dfsentry_write(struct file *file, const char __user *buffer, buffer 142 sound/soc/sof/debug.c size = simple_write_to_buffer(string, count, ppos, buffer, count); buffer 221 sound/soc/sof/debug.c static ssize_t sof_dfsentry_read(struct file *file, char __user *buffer, buffer 243 sound/soc/sof/debug.c size_ret = copy_to_user(buffer, dfse->cache_buf, count); buffer 312 sound/soc/sof/debug.c size_ret = copy_to_user(buffer, buf + skip, count); buffer 145 sound/soc/sof/pcm.c pcm.params.buffer.pages = PFN_UP(runtime->dma_bytes); buffer 152 sound/soc/sof/pcm.c pcm.params.buffer.phy_addr = buffer 154 sound/soc/sof/pcm.c pcm.params.buffer.size = runtime->dma_bytes; buffer 1241 sound/soc/sof/topology.c struct sof_ipc_buffer *buffer; buffer 1244 sound/soc/sof/topology.c buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); buffer 1245 sound/soc/sof/topology.c if (!buffer) buffer 1249 sound/soc/sof/topology.c buffer->comp.hdr.size = sizeof(*buffer); buffer 1250 sound/soc/sof/topology.c buffer->comp.hdr.cmd = SOF_IPC_GLB_TPLG_MSG | SOF_IPC_TPLG_BUFFER_NEW; buffer 1251 sound/soc/sof/topology.c buffer->comp.id = swidget->comp_id; buffer 1252 sound/soc/sof/topology.c buffer->comp.type = SOF_COMP_BUFFER; buffer 1253 sound/soc/sof/topology.c buffer->comp.pipeline_id = index; buffer 1255 sound/soc/sof/topology.c ret = sof_parse_tokens(scomp, buffer, buffer_tokens, buffer 1261 sound/soc/sof/topology.c kfree(buffer); buffer 1266 sound/soc/sof/topology.c swidget->widget->name, buffer->size, buffer->caps); buffer 1268 sound/soc/sof/topology.c swidget->private = buffer; buffer 1270 sound/soc/sof/topology.c ret = sof_ipc_tx_message(sdev->ipc, buffer->comp.hdr.cmd, buffer, buffer 1271 sound/soc/sof/topology.c sizeof(*buffer), r, sizeof(*r)); buffer 1275 sound/soc/sof/topology.c kfree(buffer); buffer 69 sound/soc/sof/trace.c static ssize_t sof_dfsentry_trace_read(struct file *file, char __user *buffer, buffer 106 sound/soc/sof/trace.c rem = copy_to_user(buffer, ((u8 *)(dfse->buf) + lpos), count); buffer 179 sound/soc/sof/trace.c params.buffer.phy_addr = sdev->dmatp.addr; buffer 180 sound/soc/sof/trace.c params.buffer.size = sdev->dmatb.bytes; buffer 181 sound/soc/sof/trace.c params.buffer.pages = sdev->dma_trace_pages; buffer 173 sound/soc/sprd/sprd-pcm-compress.c period_cnt = params->buffer.fragment_size / period; buffer 184 sound/soc/sprd/sprd-pcm-compress.c period = params->buffer.fragment_size; buffer 185 sound/soc/sprd/sprd-pcm-compress.c period_cnt = params->buffer.fragments; buffer 2478 sound/sparc/dbri.c struct snd_info_buffer *buffer) buffer 2482 sound/sparc/dbri.c snd_iprintf(buffer, "REG0: 0x%x\n", sbus_readl(dbri->regs + REG0)); buffer 2483 sound/sparc/dbri.c snd_iprintf(buffer, "REG2: 0x%x\n", sbus_readl(dbri->regs + REG2)); buffer 2484 sound/sparc/dbri.c snd_iprintf(buffer, "REG8: 0x%x\n", sbus_readl(dbri->regs + REG8)); buffer 2485 sound/sparc/dbri.c snd_iprintf(buffer, "REG9: 0x%x\n", sbus_readl(dbri->regs + REG9)); buffer 2490 sound/sparc/dbri.c struct snd_info_buffer *buffer) buffer 2494 sound/sparc/dbri.c snd_iprintf(buffer, "debug=%d\n", dbri_debug); buffer 2499 sound/sparc/dbri.c snd_iprintf(buffer, buffer 22 sound/usb/6fire/comm.c u8 *buffer, void *context, void(*handler)(struct urb *urb)) buffer 25 sound/usb/6fire/comm.c urb->transfer_buffer = buffer; buffer 55 sound/usb/6fire/comm.c static void usb6fire_comm_init_buffer(u8 *buffer, u8 id, u8 request, buffer 58 sound/usb/6fire/comm.c buffer[0] = 0x01; buffer 59 sound/usb/6fire/comm.c buffer[2] = request; buffer 60 sound/usb/6fire/comm.c buffer[3] = id; buffer 63 sound/usb/6fire/comm.c buffer[1] = 0x05; /* length (starting at buffer[2]) */ buffer 64 sound/usb/6fire/comm.c buffer[4] = reg; buffer 65 sound/usb/6fire/comm.c buffer[5] = vl; buffer 66 sound/usb/6fire/comm.c buffer[6] = vh; buffer 70 sound/usb/6fire/comm.c buffer[1] = 0x0b; /* length (starting at buffer[2]) */ buffer 71 sound/usb/6fire/comm.c buffer[4] = 0x00; buffer 72 sound/usb/6fire/comm.c buffer[5] = 0x18; buffer 73 sound/usb/6fire/comm.c buffer[6] = 0x05; buffer 74 sound/usb/6fire/comm.c buffer[7] = 0x00; buffer 75 sound/usb/6fire/comm.c buffer[8] = 0x01; buffer 76 sound/usb/6fire/comm.c buffer[9] = 0x00; buffer 77 sound/usb/6fire/comm.c buffer[10] = 0x9e; buffer 78 sound/usb/6fire/comm.c buffer[11] = reg; buffer 79 sound/usb/6fire/comm.c buffer[12] = vl; buffer 85 sound/usb/6fire/comm.c buffer[1] = 0x04; buffer 86 sound/usb/6fire/comm.c buffer[4] = reg; buffer 87 sound/usb/6fire/comm.c buffer[5] = vl; buffer 92 sound/usb/6fire/comm.c static int usb6fire_comm_send_buffer(u8 *buffer, struct usb_device *dev) buffer 98 sound/usb/6fire/comm.c buffer, buffer[1] + 2, &actual_len, HZ); buffer 101 sound/usb/6fire/comm.c else if (actual_len != buffer[1] + 2) buffer 109 sound/usb/6fire/comm.c u8 *buffer; buffer 113 sound/usb/6fire/comm.c buffer = kmalloc(13, GFP_KERNEL); buffer 114 sound/usb/6fire/comm.c if (!buffer) buffer 117 sound/usb/6fire/comm.c usb6fire_comm_init_buffer(buffer, 0x00, request, reg, value, 0x00); buffer 118 sound/usb/6fire/comm.c ret = usb6fire_comm_send_buffer(buffer, rt->chip->dev); buffer 120 sound/usb/6fire/comm.c kfree(buffer); buffer 127 sound/usb/6fire/comm.c u8 *buffer; buffer 131 sound/usb/6fire/comm.c buffer = kmalloc(13, GFP_KERNEL); buffer 132 sound/usb/6fire/comm.c if (!buffer) buffer 135 sound/usb/6fire/comm.c usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); buffer 136 sound/usb/6fire/comm.c ret = usb6fire_comm_send_buffer(buffer, rt->chip->dev); buffer 138 sound/usb/6fire/comm.c kfree(buffer); buffer 27 sound/usb/6fire/comm.h void (*init_urb)(struct comm_runtime *rt, struct urb *urb, u8 *buffer, buffer 285 sound/usb/6fire/firmware.c u8 *buffer = kmalloc(FPGA_BUFSIZE, GFP_KERNEL); buffer 290 sound/usb/6fire/firmware.c if (!buffer) buffer 297 sound/usb/6fire/firmware.c kfree(buffer); buffer 306 sound/usb/6fire/firmware.c kfree(buffer); buffer 315 sound/usb/6fire/firmware.c buffer[i] = bitrev8((u8)*c); buffer 317 sound/usb/6fire/firmware.c ret = usb6fire_fw_fpga_write(device, buffer, i); buffer 320 sound/usb/6fire/firmware.c kfree(buffer); buffer 327 sound/usb/6fire/firmware.c kfree(buffer); buffer 363 sound/usb/6fire/firmware.c u8 buffer[12]; buffer 365 sound/usb/6fire/firmware.c ret = usb6fire_fw_ezusb_read(device, 1, 0, buffer, 8); buffer 371 sound/usb/6fire/firmware.c if (buffer[0] != 0xeb || buffer[1] != 0xaa || buffer[2] != 0x55) { buffer 375 sound/usb/6fire/firmware.c printk(KERN_CONT "%02x ", buffer[i]); buffer 380 sound/usb/6fire/firmware.c if (buffer[3] == 0x01) { buffer 388 sound/usb/6fire/firmware.c else if (buffer[3] == 0x02) { buffer 389 sound/usb/6fire/firmware.c ret = usb6fire_fw_check(intf, buffer + 4); buffer 395 sound/usb/6fire/firmware.c memcpy(buffer, ep_w_max_packet_size, buffer 398 sound/usb/6fire/firmware.c 0x0003, buffer, sizeof(ep_w_max_packet_size)); buffer 404 sound/usb/6fire/firmware.c else if (buffer[3] == 0x03) buffer 405 sound/usb/6fire/firmware.c return usb6fire_fw_check(intf, buffer + 4); buffer 411 sound/usb/6fire/firmware.c printk(KERN_CONT "%02x ", buffer[i]); buffer 217 sound/usb/6fire/pcm.c src = (u32 *) (urb->buffer + total_length); buffer 219 sound/usb/6fire/pcm.c src = (u32 *) (urb->buffer - 1 + total_length); buffer 255 sound/usb/6fire/pcm.c dest = (u32 *) (urb->buffer - 1); buffer 257 sound/usb/6fire/pcm.c dest = (u32 *) (urb->buffer); buffer 337 sound/usb/6fire/pcm.c memset(out_urb->buffer, 0, total_length); buffer 354 sound/usb/6fire/pcm.c dest = out_urb->buffer; buffer 572 sound/usb/6fire/pcm.c urb->instance.transfer_buffer = urb->buffer; buffer 589 sound/usb/6fire/pcm.c rt->out_urbs[i].buffer = kcalloc(PCM_MAX_PACKET_SIZE, buffer 592 sound/usb/6fire/pcm.c if (!rt->out_urbs[i].buffer) buffer 594 sound/usb/6fire/pcm.c rt->in_urbs[i].buffer = kcalloc(PCM_MAX_PACKET_SIZE, buffer 597 sound/usb/6fire/pcm.c if (!rt->in_urbs[i].buffer) buffer 608 sound/usb/6fire/pcm.c kfree(rt->out_urbs[i].buffer); buffer 609 sound/usb/6fire/pcm.c kfree(rt->in_urbs[i].buffer); buffer 31 sound/usb/6fire/pcm.h u8 *buffer; buffer 206 sound/usb/caiaq/device.c const unsigned char *buffer, buffer 218 sound/usb/caiaq/device.c if (buffer && len > 0) buffer 219 sound/usb/caiaq/device.c memcpy(cdev->ep1_out_buf+1, buffer, len); buffer 229 sound/usb/caiaq/device.c const unsigned char *buffer, buffer 241 sound/usb/caiaq/device.c if (buffer && len > 0) buffer 242 sound/usb/caiaq/device.c memcpy(cdev->ep1_out_buf+2, buffer, len); buffer 130 sound/usb/caiaq/device.h const unsigned char *buffer, buffer 135 sound/usb/caiaq/device.h const unsigned char *buffer, buffer 54 sound/usb/helper.c void *snd_usb_find_csint_desc(void *buffer, int buflen, void *after, u8 dsubtype) buffer 58 sound/usb/helper.c while ((p = snd_usb_find_desc(buffer, buflen, p, buffer 29 sound/usb/hiface/pcm.c u8 *buffer; buffer 219 sound/usb/hiface/pcm.c memset(rt->out_urbs[i].buffer, 0, PCM_PACKET_SIZE); buffer 274 sound/usb/hiface/pcm.c memcpy_swahw32(urb->buffer, source, PCM_PACKET_SIZE); buffer 286 sound/usb/hiface/pcm.c memcpy_swahw32(urb->buffer, source, len); buffer 289 sound/usb/hiface/pcm.c memcpy_swahw32(urb->buffer + len, source, buffer 334 sound/usb/hiface/pcm.c memset(out_urb->buffer, 0, PCM_PACKET_SIZE); buffer 532 sound/usb/hiface/pcm.c urb->buffer = kzalloc(PCM_PACKET_SIZE, GFP_KERNEL); buffer 533 sound/usb/hiface/pcm.c if (!urb->buffer) buffer 537 sound/usb/hiface/pcm.c usb_sndbulkpipe(chip->dev, ep), (void *)urb->buffer, buffer 565 sound/usb/hiface/pcm.c kfree(rt->out_urbs[i].buffer); buffer 625 sound/usb/hiface/pcm.c kfree(rt->out_urbs[i].buffer); buffer 48 sound/usb/line6/capture.c line6pcm->in.buffer + buffer 47 sound/usb/line6/driver.c const char *buffer; buffer 100 sound/usb/line6/driver.c static int line6_send_raw_message(struct usb_line6 *line6, const char *buffer, buffer 108 sound/usb/line6/driver.c const char *frag_buf = buffer + i; buffer 164 sound/usb/line6/driver.c (char *)msg->buffer + done, bytes, buffer 169 sound/usb/line6/driver.c (char *)msg->buffer + done, bytes, buffer 197 sound/usb/line6/driver.c int line6_send_raw_message_async(struct usb_line6 *line6, const char *buffer, buffer 218 sound/usb/line6/driver.c msg->buffer = buffer; buffer 232 sound/usb/line6/driver.c char *buffer; buffer 235 sound/usb/line6/driver.c buffer = kmemdup(line6_request_version, buffer 237 sound/usb/line6/driver.c if (buffer == NULL) buffer 240 sound/usb/line6/driver.c retval = line6_send_raw_message_async(line6, buffer, buffer 242 sound/usb/line6/driver.c kfree(buffer); buffer 250 sound/usb/line6/driver.c int line6_send_sysex_message(struct usb_line6 *line6, const char *buffer, buffer 253 sound/usb/line6/driver.c return line6_send_raw_message(line6, buffer, buffer 267 sound/usb/line6/driver.c char *buffer = kmalloc(size + SYSEX_EXTRA_SIZE, GFP_ATOMIC); buffer 269 sound/usb/line6/driver.c if (!buffer) buffer 272 sound/usb/line6/driver.c buffer[0] = LINE6_SYSEX_BEGIN; buffer 273 sound/usb/line6/driver.c memcpy(buffer + 1, line6_midi_id, sizeof(line6_midi_id)); buffer 274 sound/usb/line6/driver.c buffer[sizeof(line6_midi_id) + 1] = code1; buffer 275 sound/usb/line6/driver.c buffer[sizeof(line6_midi_id) + 2] = code2; buffer 276 sound/usb/line6/driver.c buffer[sizeof(line6_midi_id) + 3 + size] = LINE6_SYSEX_END; buffer 277 sound/usb/line6/driver.c return buffer; buffer 188 sound/usb/line6/driver.h const char *buffer, int size); buffer 190 sound/usb/line6/driver.h const char *buffer, int size); buffer 156 sound/usb/line6/pcm.c if (!test_and_set_bit(type, &pstr->opened) && !pstr->buffer) { buffer 157 sound/usb/line6/pcm.c pstr->buffer = buffer 161 sound/usb/line6/pcm.c if (!pstr->buffer) buffer 176 sound/usb/line6/pcm.c kfree(pstr->buffer); buffer 177 sound/usb/line6/pcm.c pstr->buffer = NULL; buffer 95 sound/usb/line6/pcm.h unsigned char *buffer; buffer 198 sound/usb/line6/playback.c line6pcm->out.buffer + buffer 406 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 411 sound/usb/midi.c if (buffer[i] != 0) { buffer 412 sound/usb/midi.c int cable = buffer[i] >> 4; buffer 413 sound/usb/midi.c int length = snd_usbmidi_cin_length[buffer[i] & 0x0f]; buffer 414 sound/usb/midi.c snd_usbmidi_input_data(ep, cable, &buffer[i + 1], buffer 420 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 425 sound/usb/midi.c if (buffer[i + 3] != 0) { buffer 426 sound/usb/midi.c int port = buffer[i + 3] >> 4; buffer 427 sound/usb/midi.c int length = buffer[i + 3] & 3; buffer 428 sound/usb/midi.c snd_usbmidi_input_data(ep, port, &buffer[i], length); buffer 438 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 443 sound/usb/midi.c if (buffer[i] != 0) { buffer 444 sound/usb/midi.c int cable = buffer[i] >> 4; buffer 445 sound/usb/midi.c u8 cin = buffer[i] & 0x0f; buffer 450 sound/usb/midi.c if (cin == 0xf && buffer[i + 1] >= 0xf8) buffer 457 sound/usb/midi.c buffer[i + 1] < 0x80) buffer 468 sound/usb/midi.c snd_usbmidi_input_data(ep, cable, &buffer[i + 1], buffer 478 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 483 sound/usb/midi.c if (buffer[i] == 0 && i > 0) buffer 485 sound/usb/midi.c cin = buffer[i] & 0x0f; buffer 488 sound/usb/midi.c (buffer[i + 1 + (cin == 0x6)] & 0x80) == 0) buffer 491 sound/usb/midi.c if (buffer[i + 1] == 0x90) { buffer 499 sound/usb/midi.c snd_usbmidi_input_data(ep, 0, &buffer[i + 1], length); buffer 511 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 513 sound/usb/midi.c if (buffer_length < 2 || (buffer[0] & 0x0f) != 0x0f) buffer 514 sound/usb/midi.c snd_usbmidi_standard_input(ep, buffer, buffer_length); buffer 516 sound/usb/midi.c snd_usbmidi_input_data(ep, buffer[0] >> 4, buffer 517 sound/usb/midi.c &buffer[1], buffer_length - 1); buffer 722 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 727 sound/usb/midi.c unsigned int port = (buffer[pos] >> 4) - 1; buffer 728 sound/usb/midi.c unsigned int msg_len = buffer[pos] & 0x0f; buffer 731 sound/usb/midi.c snd_usbmidi_input_data(ep, 0, &buffer[pos], msg_len); buffer 812 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 814 sound/usb/midi.c if (buffer_length < 2 || !buffer[0] || buffer_length < buffer[0] + 1) buffer 816 sound/usb/midi.c snd_usbmidi_input_data(ep, 0, &buffer[2], buffer[0] - 1); buffer 850 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 852 sound/usb/midi.c snd_usbmidi_input_data(ep, 0, buffer, buffer_length); buffer 882 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 885 sound/usb/midi.c snd_usbmidi_input_data(ep, 0, buffer + 2, buffer_length - 2); buffer 894 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 899 sound/usb/midi.c while (buffer_length && buffer[buffer_length - 1] == 0xFD) buffer 902 sound/usb/midi.c snd_usbmidi_input_data(ep, 0, buffer, buffer_length); buffer 976 sound/usb/midi.c uint8_t *buffer, int buffer_length) buffer 982 sound/usb/midi.c if (buffer[i] == 0xff) { buffer 994 sound/usb/midi.c if (buffer[i] == 0xf5) buffer 996 sound/usb/midi.c snd_usbmidi_input_data(ep, ep->current_port, buffer, i); buffer 997 sound/usb/midi.c buffer += i; buffer 1004 sound/usb/midi.c ++buffer; buffer 1010 sound/usb/midi.c if (buffer[0] < 0x80) { buffer 1011 sound/usb/midi.c ep->current_port = (buffer[0] - 1) & 15; buffer 1012 sound/usb/midi.c ++buffer; buffer 1281 sound/usb/midi.c void *buffer; buffer 1306 sound/usb/midi.c buffer = usb_alloc_coherent(umidi->dev, length, GFP_KERNEL, buffer 1308 sound/usb/midi.c if (!buffer) { buffer 1314 sound/usb/midi.c pipe, buffer, length, buffer 1319 sound/usb/midi.c pipe, buffer, length, buffer 1370 sound/usb/midi.c void *buffer; buffer 1417 sound/usb/midi.c buffer = usb_alloc_coherent(umidi->dev, buffer 1420 sound/usb/midi.c if (!buffer) { buffer 1426 sound/usb/midi.c pipe, buffer, ep->max_transfer, buffer 1431 sound/usb/midi.c pipe, buffer, ep->max_transfer, buffer 68 sound/usb/mixer.c unsigned char *buffer; buffer 173 sound/usb/mixer.c while ((hdr = snd_usb_find_desc(state->buffer, state->buflen, hdr, buffer 3099 sound/usb/mixer.c state.buffer = mixer->hostif->extra; buffer 3225 sound/usb/mixer.c static void snd_usb_mixer_dump_cval(struct snd_info_buffer *buffer, buffer 3231 sound/usb/mixer.c snd_iprintf(buffer, " Info: id=%i, control=%i, cmask=0x%x, " buffer 3235 sound/usb/mixer.c snd_iprintf(buffer, " Volume: min=%i, max=%i, dBmin=%i, dBmax=%i\n", buffer 3240 sound/usb/mixer.c struct snd_info_buffer *buffer) buffer 3248 sound/usb/mixer.c snd_iprintf(buffer, buffer 3252 sound/usb/mixer.c snd_iprintf(buffer, "Card: %s\n", chip->card->longname); buffer 3255 sound/usb/mixer.c snd_iprintf(buffer, " Unit: %i\n", list->id); buffer 3257 sound/usb/mixer.c snd_iprintf(buffer, buffer 3262 sound/usb/mixer.c list->dump(buffer, list); buffer 60 sound/usb/mixer.h typedef void (*usb_mixer_elem_dump_func_t)(struct snd_info_buffer *buffer, buffer 399 sound/usb/mixer_quirks.c struct snd_info_buffer *buffer) buffer 421 sound/usb/mixer_quirks.c snd_iprintf(buffer, "%s jacks\n\n", mixer->chip->card->shortname); buffer 431 sound/usb/mixer_quirks.c snd_iprintf(buffer, "%s: ", jacks[i].name); buffer 442 sound/usb/mixer_quirks.c snd_iprintf(buffer, "%02x %02x\n", buf[1], buf[2]); buffer 444 sound/usb/mixer_quirks.c snd_iprintf(buffer, "?\n"); buffer 33 sound/usb/proc.c static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 37 sound/usb/proc.c snd_iprintf(buffer, "%03d/%03d\n", chip->dev->bus->busnum, chip->dev->devnum); buffer 40 sound/usb/proc.c static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 44 sound/usb/proc.c snd_iprintf(buffer, "%04x:%04x\n", buffer 60 sound/usb/proc.c static void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) buffer 70 sound/usb/proc.c snd_iprintf(buffer, " Interface %d\n", fp->iface); buffer 71 sound/usb/proc.c snd_iprintf(buffer, " Altset %d\n", fp->altsetting); buffer 72 sound/usb/proc.c snd_iprintf(buffer, " Format:"); buffer 75 sound/usb/proc.c snd_iprintf(buffer, " %s", buffer 77 sound/usb/proc.c snd_iprintf(buffer, "\n"); buffer 78 sound/usb/proc.c snd_iprintf(buffer, " Channels: %d\n", fp->channels); buffer 79 sound/usb/proc.c snd_iprintf(buffer, " Endpoint: %d %s (%s)\n", buffer 84 sound/usb/proc.c snd_iprintf(buffer, " Rates: %d - %d (continuous)\n", buffer 88 sound/usb/proc.c snd_iprintf(buffer, " Rates: "); buffer 91 sound/usb/proc.c snd_iprintf(buffer, ", "); buffer 92 sound/usb/proc.c snd_iprintf(buffer, "%d", fp->rate_table[i]); buffer 94 sound/usb/proc.c snd_iprintf(buffer, "\n"); buffer 97 sound/usb/proc.c snd_iprintf(buffer, " Data packet interval: %d us\n", buffer 99 sound/usb/proc.c snd_iprintf(buffer, " Bits: %d\n", fp->fmt_bits); buffer 108 sound/usb/proc.c struct snd_info_buffer *buffer) buffer 112 sound/usb/proc.c snd_iprintf(buffer, " Packet Size = %d\n", data_ep->curpacksize); buffer 113 sound/usb/proc.c snd_iprintf(buffer, " Momentary freq = %u Hz (%#x.%04x)\n", buffer 120 sound/usb/proc.c snd_iprintf(buffer, " Feedback Format = %d.%d\n", buffer 125 sound/usb/proc.c static void proc_dump_substream_status(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) buffer 128 sound/usb/proc.c snd_iprintf(buffer, " Status: Running\n"); buffer 129 sound/usb/proc.c snd_iprintf(buffer, " Interface = %d\n", subs->interface); buffer 130 sound/usb/proc.c snd_iprintf(buffer, " Altset = %d\n", subs->altset_idx); buffer 131 sound/usb/proc.c proc_dump_ep_status(subs, subs->data_endpoint, subs->sync_endpoint, buffer); buffer 133 sound/usb/proc.c snd_iprintf(buffer, " Status: Stop\n"); buffer 137 sound/usb/proc.c static void proc_pcm_format_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) buffer 141 sound/usb/proc.c snd_iprintf(buffer, "%s : %s\n", stream->chip->card->longname, stream->pcm->name); buffer 144 sound/usb/proc.c snd_iprintf(buffer, "\nPlayback:\n"); buffer 145 sound/usb/proc.c proc_dump_substream_status(&stream->substream[SNDRV_PCM_STREAM_PLAYBACK], buffer); buffer 146 sound/usb/proc.c proc_dump_substream_formats(&stream->substream[SNDRV_PCM_STREAM_PLAYBACK], buffer); buffer 149 sound/usb/proc.c snd_iprintf(buffer, "\nCapture:\n"); buffer 150 sound/usb/proc.c proc_dump_substream_status(&stream->substream[SNDRV_PCM_STREAM_CAPTURE], buffer); buffer 151 sound/usb/proc.c proc_dump_substream_formats(&stream->substream[SNDRV_PCM_STREAM_CAPTURE], buffer); buffer 256 sound/usb/usx2y/usbusx2y.c usX2Y->AS04.buffer = kmalloc_array(URBS_AsyncSeq, buffer 258 sound/usb/usx2y/usbusx2y.c if (NULL == usX2Y->AS04.buffer) { buffer 268 sound/usb/usx2y/usbusx2y.c usX2Y->AS04.buffer + URB_DataLen_AsyncSeq*i, 0, buffer 304 sound/usb/usx2y/usbusx2y.c kfree(S->buffer); buffer 15 sound/usb/usx2y/usbusx2y.h char *buffer; buffer 31 sound/xen/xen_snd_front_alsa.c u8 *buffer; buffer 225 sound/xen/xen_snd_front_alsa.c stream->buffer = NULL; buffer 235 sound/xen/xen_snd_front_alsa.c if (stream->buffer) buffer 236 sound/xen/xen_snd_front_alsa.c free_pages_exact(stream->buffer, stream->buffer_sz); buffer 270 sound/xen/xen_snd_front_alsa.c struct snd_interval *buffer = buffer 291 sound/xen/xen_snd_front_alsa.c req.buffer.min = buffer->min; buffer 292 sound/xen/xen_snd_front_alsa.c req.buffer.max = buffer->max; buffer 336 sound/xen/xen_snd_front_alsa.c interval.min = resp.buffer.min; buffer 337 sound/xen/xen_snd_front_alsa.c interval.max = resp.buffer.max; buffer 338 sound/xen/xen_snd_front_alsa.c ret = snd_interval_refine(buffer, &interval); buffer 444 sound/xen/xen_snd_front_alsa.c stream->buffer = alloc_pages_exact(buffer_sz, GFP_KERNEL); buffer 445 sound/xen/xen_snd_front_alsa.c if (!stream->buffer) buffer 456 sound/xen/xen_snd_front_alsa.c stream->pages[i] = virt_to_page(stream->buffer + i * PAGE_SIZE); buffer 614 sound/xen/xen_snd_front_alsa.c if (copy_from_user(stream->buffer + pos, src, count)) buffer 629 sound/xen/xen_snd_front_alsa.c memcpy(stream->buffer + pos, src, count); buffer 648 sound/xen/xen_snd_front_alsa.c return copy_to_user(dst, stream->buffer + pos, count) ? buffer 666 sound/xen/xen_snd_front_alsa.c memcpy(dst, stream->buffer + pos, count); buffer 680 sound/xen/xen_snd_front_alsa.c memset(stream->buffer + pos, 0, count); buffer 70 tools/bpf/bpf_jit_disasm.c info.buffer = image; buffer 123 tools/bpf/bpftool/jit_disasm.c info.buffer = image; buffer 151 tools/firewire/decode-fcp.c char buffer[32]; buffer 156 tools/firewire/decode-fcp.c snprintf(buffer, sizeof(buffer), buffer 158 tools/firewire/decode-fcp.c name = buffer; buffer 143 tools/hv/hv_fcopy_daemon.c } buffer = { }; buffer 196 tools/hv/hv_fcopy_daemon.c len = pread(fcopy_fd, &buffer, sizeof(buffer), 0); buffer 203 tools/hv/hv_fcopy_daemon.c if (len != sizeof(buffer.kernel_modver)) { buffer 209 tools/hv/hv_fcopy_daemon.c buffer.kernel_modver); buffer 213 tools/hv/hv_fcopy_daemon.c switch (buffer.hdr.operation) { buffer 215 tools/hv/hv_fcopy_daemon.c error = hv_start_fcopy(&buffer.start); buffer 218 tools/hv/hv_fcopy_daemon.c error = hv_copy_data(&buffer.copy); buffer 230 tools/hv/hv_fcopy_daemon.c buffer.hdr.operation); buffer 670 tools/hv/hv_kvp_daemon.c struct hv_kvp_ipaddr_value *buffer) buffer 686 tools/hv/hv_kvp_daemon.c kvp_process_ipconfig_file(cmd, (char *)buffer->gate_way, buffer 698 tools/hv/hv_kvp_daemon.c kvp_process_ipconfig_file(cmd, (char *)buffer->gate_way, buffer 722 tools/hv/hv_kvp_daemon.c kvp_process_ipconfig_file(cmd, (char *)buffer->dns_addr, buffer 747 tools/hv/hv_kvp_daemon.c buffer->dhcp_enabled = 1; buffer 749 tools/hv/hv_kvp_daemon.c buffer->dhcp_enabled = 0; buffer 765 tools/hv/hv_kvp_daemon.c int family, char *buffer, buffer 787 tools/hv/hv_kvp_daemon.c strcpy(buffer, "inet_ntop failed\n"); buffer 791 tools/hv/hv_kvp_daemon.c strcpy(buffer, tmp); buffer 793 tools/hv/hv_kvp_daemon.c strcat(buffer, ";"); buffer 794 tools/hv/hv_kvp_daemon.c strcat(buffer, tmp); buffer 811 tools/hv/hv_kvp_daemon.c char *buffer; buffer 821 tools/hv/hv_kvp_daemon.c buffer = out_buffer; buffer 824 tools/hv/hv_kvp_daemon.c buffer = (char *)ip_buffer->ip_addr; buffer 833 tools/hv/hv_kvp_daemon.c strcpy(buffer, "getifaddrs failed\n"); buffer 929 tools/hv/hv_kvp_daemon.c buffer, buffer 1332 tools/hv/hv_kvp_daemon.c kvp_get_domain_name(char *buffer, int length) buffer 1337 tools/hv/hv_kvp_daemon.c gethostname(buffer, length); buffer 1343 tools/hv/hv_kvp_daemon.c error = getaddrinfo(buffer, NULL, &hints, &info); buffer 1345 tools/hv/hv_kvp_daemon.c snprintf(buffer, length, "getaddrinfo failed: 0x%x %s", buffer 1349 tools/hv/hv_kvp_daemon.c snprintf(buffer, length, "%s", info->ai_canonname); buffer 64 tools/hv/hv_vss_daemon.c char *buffer; buffer 69 tools/hv/hv_vss_daemon.c buffer = malloc(PATH_MAX); buffer 70 tools/hv/hv_vss_daemon.c if (!buffer) { buffer 75 tools/hv/hv_vss_daemon.c snprintf(buffer, PATH_MAX, "%s/loop", blkname); buffer 76 tools/hv/hv_vss_daemon.c if (!access(buffer, R_OK | X_OK)) { buffer 81 tools/hv/hv_vss_daemon.c buffer, errno, strerror(errno)); buffer 84 tools/hv/hv_vss_daemon.c snprintf(buffer, PATH_MAX, "%s/slaves", blkname); buffer 85 tools/hv/hv_vss_daemon.c dir = opendir(buffer); buffer 89 tools/hv/hv_vss_daemon.c buffer, errno, strerror(errno)); buffer 98 tools/hv/hv_vss_daemon.c snprintf(buffer, PATH_MAX, "%s/slaves/%s", blkname, buffer 100 tools/hv/hv_vss_daemon.c if (is_dev_loop(buffer)) { buffer 107 tools/hv/hv_vss_daemon.c free(buffer); buffer 2405 tools/include/nolibc/nolibc.h static char buffer[21]; buffer 2406 tools/include/nolibc/nolibc.h char *pos = buffer + sizeof(buffer) - 1; buffer 2414 tools/include/nolibc/nolibc.h if (pos < buffer) buffer 186 tools/include/uapi/linux/pkt_sched.h __u32 buffer; buffer 392 tools/include/uapi/linux/pkt_sched.h __u32 buffer; buffer 122 tools/include/uapi/linux/usbdevice_fs.h void __user *buffer; buffer 20 tools/lib/bpf/libbpf_probes.c static bool grep(const char *buffer, const char *pattern) buffer 22 tools/lib/bpf/libbpf_probes.c return !!strstr(buffer, pattern); buffer 101 tools/lib/bpf/xsk.c static bool xsk_page_aligned(void *buffer) buffer 103 tools/lib/bpf/xsk.c unsigned long addr = (unsigned long)buffer; buffer 4239 tools/lib/traceevent/event-parse.c string->str = strdup(str.buffer); buffer 5192 tools/lib/traceevent/event-parse.c trace_seq_puts(s, p.buffer); buffer 5298 tools/lib/traceevent/event-parse.c trace_seq_puts(s, sq.buffer); buffer 688 tools/lib/traceevent/event-parse.h char *buffer; buffer 212 tools/lib/traceevent/parse-filter.c free(arg->str.buffer); buffer 563 tools/lib/traceevent/parse-filter.c op->str.buffer = malloc(op->str.field->size + 1); buffer 564 tools/lib/traceevent/parse-filter.c if (!op->str.buffer) { buffer 569 tools/lib/traceevent/parse-filter.c op->str.buffer[op->str.field->size] = 0; buffer 1730 tools/lib/traceevent/parse-filter.c memcpy(arg->str.buffer, val, arg->str.field->size); buffer 1732 tools/lib/traceevent/parse-filter.c val = arg->str.buffer; buffer 62 tools/lib/traceevent/plugins/plugin_sched_switch.c comm = &s->buffer[len]; buffer 159 tools/lib/traceevent/plugins/plugin_scsi.c const char *ret = p->buffer + p->len; buffer 176 tools/lib/traceevent/plugins/plugin_scsi.c const char *ret = p->buffer + p->len; buffer 200 tools/lib/traceevent/plugins/plugin_scsi.c const char *ret = p->buffer + p->len; buffer 222 tools/lib/traceevent/plugins/plugin_scsi.c const char *ret = p->buffer + p->len; buffer 252 tools/lib/traceevent/plugins/plugin_scsi.c const char *ret = p->buffer + p->len, *cmd; buffer 306 tools/lib/traceevent/plugins/plugin_scsi.c const char *ret = p->buffer + p->len; buffer 317 tools/lib/traceevent/plugins/plugin_scsi.c const char *ret = p->buffer + p->len, *cmd; buffer 371 tools/lib/traceevent/plugins/plugin_scsi.c const char *ret = p->buffer + p->len; buffer 24 tools/lib/traceevent/trace-seq.c if (WARN_ONCE((s)->buffer == TRACE_SEQ_POISON, \ buffer 48 tools/lib/traceevent/trace-seq.c s->buffer = malloc(s->buffer_size); buffer 49 tools/lib/traceevent/trace-seq.c if (s->buffer != NULL) buffer 79 tools/lib/traceevent/trace-seq.c free(s->buffer); buffer 80 tools/lib/traceevent/trace-seq.c s->buffer = TRACE_SEQ_POISON; buffer 87 tools/lib/traceevent/trace-seq.c buf = realloc(s->buffer, s->buffer_size + TRACE_SEQ_BUF_SIZE); buffer 93 tools/lib/traceevent/trace-seq.c s->buffer = buf; buffer 125 tools/lib/traceevent/trace-seq.c ret = vsnprintf(s->buffer + s->len, len, fmt, ap); buffer 165 tools/lib/traceevent/trace-seq.c ret = vsnprintf(s->buffer + s->len, len, fmt, args); buffer 201 tools/lib/traceevent/trace-seq.c memcpy(s->buffer + s->len, str, len); buffer 216 tools/lib/traceevent/trace-seq.c s->buffer[s->len++] = c; buffer 226 tools/lib/traceevent/trace-seq.c s->buffer[s->len] = 0; buffer 235 tools/lib/traceevent/trace-seq.c return fprintf(fp, "%.*s", s->len, s->buffer); buffer 31 tools/lib/traceevent/trace-seq.h char *buffer; buffer 716 tools/perf/arch/arm/util/cs-etm.c static bool cs_etm_buffer_has_wrapped(unsigned char *buffer, buffer 720 tools/perf/arch/arm/util/cs-etm.c u64 *buf = (u64 *)buffer; buffer 20 tools/perf/arch/powerpc/util/header.c get_cpuid(char *buffer, size_t sz) buffer 27 tools/perf/arch/powerpc/util/header.c nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); buffer 30 tools/perf/arch/powerpc/util/header.c if (strchr(buffer, '$')) { buffer 31 tools/perf/arch/powerpc/util/header.c buffer[nb-1] = '\0'; buffer 30 tools/perf/arch/s390/util/header.c int get_cpuid(char *buffer, size_t sz) buffer 131 tools/perf/arch/s390/util/header.c nbytes = snprintf(buffer, sz, "%s,%s,%s,%s,%s", buffer 135 tools/perf/arch/s390/util/header.c nbytes = snprintf(buffer, sz, "%s,%s,%s", manufacturer, type, buffer 56 tools/perf/arch/x86/util/auxtrace.c char buffer[64]; buffer 61 tools/perf/arch/x86/util/auxtrace.c ret = get_cpuid(buffer, sizeof(buffer)); buffer 67 tools/perf/arch/x86/util/auxtrace.c if (!strncmp(buffer, "GenuineIntel,", 13)) buffer 27 tools/perf/arch/x86/util/header.c __get_cpuid(char *buffer, size_t sz, const char *fmt) buffer 55 tools/perf/arch/x86/util/header.c nb = scnprintf(buffer, sz, fmt, vendor, family, model, step); buffer 58 tools/perf/arch/x86/util/header.c if (strchr(buffer, '$')) { buffer 59 tools/perf/arch/x86/util/header.c buffer[nb-1] = '\0'; buffer 66 tools/perf/arch/x86/util/header.c get_cpuid(char *buffer, size_t sz) buffer 68 tools/perf/arch/x86/util/header.c return __get_cpuid(buffer, sz, "%s,%u,%u,%u$"); buffer 72 tools/perf/builtin-help.c struct strbuf buffer = STRBUF_INIT; buffer 87 tools/perf/builtin-help.c if (strbuf_read(&buffer, ec_process.err, 20) < 0) { buffer 99 tools/perf/builtin-help.c if (!strstarts(buffer.buf, "emacsclient")) { buffer 104 tools/perf/builtin-help.c version = atoi(buffer.buf + strlen("emacsclient")); buffer 113 tools/perf/builtin-help.c strbuf_release(&buffer); buffer 759 tools/perf/builtin-kmem.c str = strtok_r(seq.buffer, " ", &pos); buffer 875 tools/perf/builtin-script.c static int grab_bb(u8 *buffer, u64 start, u64 end, buffer 925 tools/perf/builtin-script.c len = dso__data_read_offset(al.map->dso, machine, offset, (u8 *)buffer, buffer 1017 tools/perf/builtin-script.c u8 buffer[MAXBB]; buffer 1034 tools/perf/builtin-script.c len = grab_bb(buffer, br->entries[nr-1].from, buffer 1041 tools/perf/builtin-script.c &x, buffer, len, 0, fp, &total_cycles); buffer 1055 tools/perf/builtin-script.c len = grab_bb(buffer, start, end, machine, thread, &x.is64bit, &x.cpumode, false); buffer 1060 tools/perf/builtin-script.c len = grab_bb(buffer, start, end, machine, thread, &x.is64bit, &x.cpumode, false); buffer 1071 tools/perf/builtin-script.c printed += ip__fprintf_jump(ip, &br->entries[i], &x, buffer + off, len - off, ++insn, fp, buffer 1079 tools/perf/builtin-script.c dump_insn(&x, ip, buffer + off, len - off, &ilen)); buffer 1114 tools/perf/builtin-script.c len = grab_bb(buffer, start, end, machine, thread, &x.is64bit, &x.cpumode, true); buffer 1118 tools/perf/builtin-script.c len = grab_bb(buffer, sample->ip, sample->ip, buffer 1123 tools/perf/builtin-script.c dump_insn(&x, sample->ip, buffer, len, NULL)); buffer 1131 tools/perf/builtin-script.c dump_insn(&x, start + off, buffer + off, len - off, &ilen)); buffer 1134 tools/perf/builtin-script.c if (arch_is_branch(buffer + off, len - off, x.is64bit) && start + off != sample->ip) { buffer 171 tools/perf/jvmti/libjvmti.c get_source_filename(jvmtiEnv *jvmti, jmethodID methodID, char ** buffer) buffer 200 tools/perf/jvmti/libjvmti.c *buffer = malloc((len + 1) * sizeof(char)); buffer 201 tools/perf/jvmti/libjvmti.c if (!*buffer) { buffer 206 tools/perf/jvmti/libjvmti.c strcpy(*buffer, fn); buffer 1767 tools/perf/util/annotate.c info.buffer = (void *)(uintptr_t)(info_linear->info.jited_prog_insns); buffer 41 tools/perf/util/arm-spe.c struct auxtrace_buffer *buffer; buffer 109 tools/perf/util/arm-spe.c struct auxtrace_buffer *buffer; buffer 123 tools/perf/util/arm-spe.c data_offset, &buffer); buffer 129 tools/perf/util/arm-spe.c if (auxtrace_buffer__get_data(buffer, fd)) { buffer 130 tools/perf/util/arm-spe.c arm_spe_dump_event(spe, buffer->data, buffer 131 tools/perf/util/arm-spe.c buffer->size); buffer 132 tools/perf/util/arm-spe.c auxtrace_buffer__put_data(buffer); buffer 238 tools/perf/util/auxtrace.c struct auxtrace_buffer *buffer) buffer 253 tools/perf/util/auxtrace.c queue->tid = buffer->tid; buffer 254 tools/perf/util/auxtrace.c queue->cpu = buffer->cpu; buffer 255 tools/perf/util/auxtrace.c } else if (buffer->cpu != queue->cpu || buffer->tid != queue->tid) { buffer 257 tools/perf/util/auxtrace.c queue->cpu, queue->tid, buffer->cpu, buffer->tid); buffer 261 tools/perf/util/auxtrace.c buffer->buffer_nr = queues->next_buffer_nr++; buffer 263 tools/perf/util/auxtrace.c list_add_tail(&buffer->list, &queue->head); buffer 276 tools/perf/util/auxtrace.c struct auxtrace_buffer *buffer) buffer 278 tools/perf/util/auxtrace.c u64 sz = buffer->size; buffer 284 tools/perf/util/auxtrace.c b = memdup(buffer, sizeof(struct auxtrace_buffer)); buffer 294 tools/perf/util/auxtrace.c buffer->data_offset += BUFFER_LIMIT_FOR_32_BIT; buffer 299 tools/perf/util/auxtrace.c buffer->size = sz; buffer 300 tools/perf/util/auxtrace.c buffer->consecutive = consecutive; buffer 315 tools/perf/util/auxtrace.c struct auxtrace_buffer *buffer, buffer 320 tools/perf/util/auxtrace.c if (filter_cpu(session, buffer->cpu)) buffer 323 tools/perf/util/auxtrace.c buffer = memdup(buffer, sizeof(*buffer)); buffer 324 tools/perf/util/auxtrace.c if (!buffer) buffer 328 tools/perf/util/auxtrace.c buffer->data = buffer->data_offset - session->one_mmap_offset + buffer 331 tools/perf/util/auxtrace.c buffer->data = auxtrace_copy_data(buffer->size, session); buffer 332 tools/perf/util/auxtrace.c if (!buffer->data) buffer 334 tools/perf/util/auxtrace.c buffer->data_needs_freeing = true; buffer 336 tools/perf/util/auxtrace.c buffer->size > BUFFER_LIMIT_FOR_32_BIT) { buffer 337 tools/perf/util/auxtrace.c err = auxtrace_queues__split_buffer(queues, idx, buffer); buffer 342 tools/perf/util/auxtrace.c err = auxtrace_queues__queue_buffer(queues, idx, buffer); buffer 348 tools/perf/util/auxtrace.c *buffer_ptr = buffer; buffer 353 tools/perf/util/auxtrace.c auxtrace_buffer__free(buffer); buffer 362 tools/perf/util/auxtrace.c struct auxtrace_buffer buffer = { buffer 373 tools/perf/util/auxtrace.c return auxtrace_queues__add_buffer(queues, session, idx, &buffer, buffer 410 tools/perf/util/auxtrace.c struct auxtrace_buffer *buffer; buffer 412 tools/perf/util/auxtrace.c buffer = list_entry(queues->queue_array[i].head.next, buffer 414 tools/perf/util/auxtrace.c list_del_init(&buffer->list); buffer 415 tools/perf/util/auxtrace.c auxtrace_buffer__free(buffer); buffer 799 tools/perf/util/auxtrace.c struct auxtrace_buffer *buffer) buffer 801 tools/perf/util/auxtrace.c if (buffer) { buffer 802 tools/perf/util/auxtrace.c if (list_is_last(&buffer->list, &queue->head)) buffer 804 tools/perf/util/auxtrace.c return list_entry(buffer->list.next, struct auxtrace_buffer, buffer 814 tools/perf/util/auxtrace.c void *auxtrace_buffer__get_data(struct auxtrace_buffer *buffer, int fd) buffer 816 tools/perf/util/auxtrace.c size_t adj = buffer->data_offset & (page_size - 1); buffer 817 tools/perf/util/auxtrace.c size_t size = buffer->size + adj; buffer 818 tools/perf/util/auxtrace.c off_t file_offset = buffer->data_offset - adj; buffer 821 tools/perf/util/auxtrace.c if (buffer->data) buffer 822 tools/perf/util/auxtrace.c return buffer->data; buffer 828 tools/perf/util/auxtrace.c buffer->mmap_addr = addr; buffer 829 tools/perf/util/auxtrace.c buffer->mmap_size = size; buffer 831 tools/perf/util/auxtrace.c buffer->data = addr + adj; buffer 833 tools/perf/util/auxtrace.c return buffer->data; buffer 836 tools/perf/util/auxtrace.c void auxtrace_buffer__put_data(struct auxtrace_buffer *buffer) buffer 838 tools/perf/util/auxtrace.c if (!buffer->data || !buffer->mmap_addr) buffer 840 tools/perf/util/auxtrace.c munmap(buffer->mmap_addr, buffer->mmap_size); buffer 841 tools/perf/util/auxtrace.c buffer->mmap_addr = NULL; buffer 842 tools/perf/util/auxtrace.c buffer->mmap_size = 0; buffer 843 tools/perf/util/auxtrace.c buffer->data = NULL; buffer 844 tools/perf/util/auxtrace.c buffer->use_data = NULL; buffer 847 tools/perf/util/auxtrace.c void auxtrace_buffer__drop_data(struct auxtrace_buffer *buffer) buffer 849 tools/perf/util/auxtrace.c auxtrace_buffer__put_data(buffer); buffer 850 tools/perf/util/auxtrace.c if (buffer->data_needs_freeing) { buffer 851 tools/perf/util/auxtrace.c buffer->data_needs_freeing = false; buffer 852 tools/perf/util/auxtrace.c zfree(&buffer->data); buffer 853 tools/perf/util/auxtrace.c buffer->use_data = NULL; buffer 854 tools/perf/util/auxtrace.c buffer->size = 0; buffer 858 tools/perf/util/auxtrace.c void auxtrace_buffer__free(struct auxtrace_buffer *buffer) buffer 860 tools/perf/util/auxtrace.c auxtrace_buffer__drop_data(buffer); buffer 861 tools/perf/util/auxtrace.c free(buffer); buffer 469 tools/perf/util/auxtrace.h struct auxtrace_buffer *buffer); buffer 470 tools/perf/util/auxtrace.h void *auxtrace_buffer__get_data(struct auxtrace_buffer *buffer, int fd); buffer 471 tools/perf/util/auxtrace.h void auxtrace_buffer__put_data(struct auxtrace_buffer *buffer); buffer 472 tools/perf/util/auxtrace.h void auxtrace_buffer__drop_data(struct auxtrace_buffer *buffer); buffer 473 tools/perf/util/auxtrace.h void auxtrace_buffer__free(struct auxtrace_buffer *buffer); buffer 202 tools/perf/util/c++/clang.cpp void *buffer; buffer 204 tools/perf/util/c++/clang.cpp buffer = malloc(size); buffer 205 tools/perf/util/c++/clang.cpp if (!buffer) buffer 207 tools/perf/util/c++/clang.cpp memcpy(buffer, O->data(), size); buffer 208 tools/perf/util/c++/clang.cpp *p_obj_buf = buffer; buffer 46 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c u8 *buffer) buffer 51 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c address, req_size, buffer); buffer 86 tools/perf/util/cs-etm.c struct auxtrace_buffer *buffer; buffer 453 tools/perf/util/cs-etm.c struct auxtrace_buffer *buffer) buffer 465 tools/perf/util/cs-etm.c buffer->size); buffer 489 tools/perf/util/cs-etm.c decoder, buffer->offset, buffer 490 tools/perf/util/cs-etm.c &((u8 *)buffer->data)[buffer_used], buffer 491 tools/perf/util/cs-etm.c buffer->size - buffer_used, &consumed); buffer 496 tools/perf/util/cs-etm.c } while (buffer_used < buffer->size); buffer 639 tools/perf/util/cs-etm.c u64 address, size_t size, u8 *buffer) buffer 676 tools/perf/util/cs-etm.c len = dso__data_read_offset(al.map->dso, machine, offset, buffer, size); buffer 1003 tools/perf/util/cs-etm.c struct auxtrace_buffer *aux_buffer = etmq->buffer; buffer 1019 tools/perf/util/cs-etm.c etmq->buffer = aux_buffer; buffer 2303 tools/perf/util/cs-etm.c struct auxtrace_buffer *buffer; buffer 2318 tools/perf/util/cs-etm.c event, data_offset, &buffer); buffer 2323 tools/perf/util/cs-etm.c if (auxtrace_buffer__get_data(buffer, fd)) { buffer 2324 tools/perf/util/cs-etm.c cs_etm__dump_event(etm, buffer); buffer 2325 tools/perf/util/cs-etm.c auxtrace_buffer__put_data(buffer); buffer 250 tools/perf/util/data-convert-bt.c char *buffer = NULL; buffer 256 tools/perf/util/data-convert-bt.c if (!buffer) buffer 258 tools/perf/util/data-convert-bt.c buffer[p] = string[i]; buffer 265 tools/perf/util/data-convert-bt.c if (!buffer) { buffer 266 tools/perf/util/data-convert-bt.c buffer = zalloc(i + (len - i) * 4 + 2); buffer 267 tools/perf/util/data-convert-bt.c if (!buffer) { buffer 272 tools/perf/util/data-convert-bt.c strncpy(buffer, string, i); buffer 274 tools/perf/util/data-convert-bt.c memcpy(buffer + p, numstr, 4); buffer 279 tools/perf/util/data-convert-bt.c if (!buffer) buffer 281 tools/perf/util/data-convert-bt.c err = bt_ctf_field_string_set_value(field, buffer); buffer 282 tools/perf/util/data-convert-bt.c free(buffer); buffer 851 tools/perf/util/header.c int __weak get_cpuid(char *buffer __maybe_unused, size_t sz __maybe_unused) buffer 859 tools/perf/util/header.c char buffer[64]; buffer 862 tools/perf/util/header.c ret = get_cpuid(buffer, sizeof(buffer)); buffer 866 tools/perf/util/header.c return do_write_string(ff, buffer); buffer 164 tools/perf/util/header.h int get_cpuid(char *buffer, size_t sz); buffer 69 tools/perf/util/intel-bts.c struct auxtrace_buffer *buffer; buffer 189 tools/perf/util/intel-bts.c if (!btsq->on_heap && !btsq->buffer) { buffer 192 tools/perf/util/intel-bts.c btsq->buffer = auxtrace_buffer__next(queue, NULL); buffer 193 tools/perf/util/intel-bts.c if (!btsq->buffer) buffer 197 tools/perf/util/intel-bts.c btsq->buffer->reference); buffer 407 tools/perf/util/intel-bts.c struct auxtrace_buffer *buffer, buffer 415 tools/perf/util/intel-bts.c if (buffer->use_data) { buffer 416 tools/perf/util/intel-bts.c sz = buffer->use_size; buffer 417 tools/perf/util/intel-bts.c branch = buffer->use_data; buffer 419 tools/perf/util/intel-bts.c sz = buffer->size; buffer 420 tools/perf/util/intel-bts.c branch = buffer->data; buffer 435 tools/perf/util/intel-bts.c buffer->buffer_nr + 1); buffer 447 tools/perf/util/intel-bts.c struct auxtrace_buffer *buffer = btsq->buffer, *old_buffer = buffer; buffer 467 tools/perf/util/intel-bts.c if (!buffer) buffer 468 tools/perf/util/intel-bts.c buffer = auxtrace_buffer__next(queue, NULL); buffer 470 tools/perf/util/intel-bts.c if (!buffer) { buffer 478 tools/perf/util/intel-bts.c if (buffer->consecutive) { buffer 483 tools/perf/util/intel-bts.c if (!buffer->data) { buffer 486 tools/perf/util/intel-bts.c buffer->data = auxtrace_buffer__get_data(buffer, fd); buffer 487 tools/perf/util/intel-bts.c if (!buffer->data) { buffer 493 tools/perf/util/intel-bts.c if (btsq->bts->snapshot_mode && !buffer->consecutive && buffer 494 tools/perf/util/intel-bts.c intel_bts_do_fix_overlap(queue, buffer)) { buffer 502 tools/perf/util/intel-bts.c (btsq->bts->snapshot_mode && !buffer->consecutive))) buffer 503 tools/perf/util/intel-bts.c thread_stack__set_trace_nr(thread, btsq->cpu, buffer->buffer_nr + 1); buffer 505 tools/perf/util/intel-bts.c err = intel_bts_process_buffer(btsq, buffer, thread); buffer 507 tools/perf/util/intel-bts.c auxtrace_buffer__drop_data(buffer); buffer 509 tools/perf/util/intel-bts.c btsq->buffer = auxtrace_buffer__next(queue, buffer); buffer 510 tools/perf/util/intel-bts.c if (btsq->buffer) { buffer 512 tools/perf/util/intel-bts.c *timestamp = btsq->buffer->reference; buffer 646 tools/perf/util/intel-bts.c struct auxtrace_buffer *buffer; buffer 660 tools/perf/util/intel-bts.c data_offset, &buffer); buffer 666 tools/perf/util/intel-bts.c if (auxtrace_buffer__get_data(buffer, fd)) { buffer 667 tools/perf/util/intel-bts.c intel_bts_dump_event(bts, buffer->data, buffer 668 tools/perf/util/intel-bts.c buffer->size); buffer 669 tools/perf/util/intel-bts.c auxtrace_buffer__put_data(buffer); buffer 93 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c int (*get_trace)(struct intel_pt_buffer *buffer, void *data); buffer 504 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c struct intel_pt_buffer buffer = { .buf = 0, }; buffer 510 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c ret = decoder->get_trace(&buffer, decoder->data); buffer 513 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c decoder->buf = buffer.buf; buffer 514 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c decoder->len = buffer.len; buffer 519 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c decoder->buf_timestamp = buffer.ref_timestamp; buffer 520 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c if (!buffer.consecutive || reposition) { buffer 522 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c decoder->ref_timestamp = buffer.ref_timestamp; buffer 523 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c decoder->state.trace_nr = buffer.trace_nr; buffer 2982 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c static int intel_pt_ff_cb(struct intel_pt_buffer *buffer, void *data) buffer 2990 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c buf = (unsigned char *)buffer->buf; buffer 2991 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c len = buffer->len; buffer 2997 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c tsc = intel_pt_8b_tsc(tsc, buffer->ref_timestamp); buffer 3000 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c tsc, buffer->ref_timestamp); buffer 3007 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c d->buf_timestamp = buffer->ref_timestamp; buffer 237 tools/perf/util/intel-pt-decoder/intel-pt-decoder.h int (*get_trace)(struct intel_pt_buffer *buffer, void *data); buffer 140 tools/perf/util/intel-pt.c struct auxtrace_buffer *buffer; buffer 254 tools/perf/util/intel-pt.c struct auxtrace_buffer *buffer, buffer 260 tools/perf/util/intel-pt.c if (!buffer->data) { buffer 263 tools/perf/util/intel-pt.c buffer->data = auxtrace_buffer__get_data(buffer, fd); buffer 264 tools/perf/util/intel-pt.c if (!buffer->data) buffer 269 tools/perf/util/intel-pt.c if (might_overlap && !buffer->consecutive && old_buffer && buffer 270 tools/perf/util/intel-pt.c intel_pt_do_fix_overlap(ptq->pt, old_buffer, buffer)) buffer 273 tools/perf/util/intel-pt.c if (buffer->use_data) { buffer 274 tools/perf/util/intel-pt.c b->len = buffer->use_size; buffer 275 tools/perf/util/intel-pt.c b->buf = buffer->use_data; buffer 277 tools/perf/util/intel-pt.c b->len = buffer->size; buffer 278 tools/perf/util/intel-pt.c b->buf = buffer->data; buffer 280 tools/perf/util/intel-pt.c b->ref_timestamp = buffer->reference; buffer 282 tools/perf/util/intel-pt.c if (!old_buffer || (might_overlap && !buffer->consecutive)) { buffer 284 tools/perf/util/intel-pt.c b->trace_nr = buffer->buffer_nr + 1; buffer 294 tools/perf/util/intel-pt.c struct auxtrace_buffer *buffer) buffer 296 tools/perf/util/intel-pt.c if (!buffer || buffer == ptq->buffer || buffer == ptq->old_buffer) buffer 299 tools/perf/util/intel-pt.c auxtrace_buffer__drop_data(buffer); buffer 307 tools/perf/util/intel-pt.c struct auxtrace_buffer *buffer = ptq->buffer; buffer 317 tools/perf/util/intel-pt.c buffer = auxtrace_buffer__next(queue, buffer); buffer 318 tools/perf/util/intel-pt.c if (!buffer) buffer 321 tools/perf/util/intel-pt.c err = intel_pt_get_buffer(ptq, buffer, old_buffer, &b); buffer 327 tools/perf/util/intel-pt.c old_buffer = buffer; buffer 329 tools/perf/util/intel-pt.c intel_pt_lookahead_drop_buffer(ptq, buffer); buffer 338 tools/perf/util/intel-pt.c if (buffer != old_buffer) buffer 339 tools/perf/util/intel-pt.c intel_pt_lookahead_drop_buffer(ptq, buffer); buffer 352 tools/perf/util/intel-pt.c struct auxtrace_buffer *buffer = ptq->buffer; buffer 364 tools/perf/util/intel-pt.c buffer = auxtrace_buffer__next(queue, buffer); buffer 365 tools/perf/util/intel-pt.c if (!buffer) { buffer 372 tools/perf/util/intel-pt.c ptq->buffer = buffer; buffer 374 tools/perf/util/intel-pt.c err = intel_pt_get_buffer(ptq, buffer, old_buffer, b); buffer 384 tools/perf/util/intel-pt.c ptq->old_buffer = buffer; buffer 386 tools/perf/util/intel-pt.c auxtrace_buffer__drop_data(buffer); buffer 2648 tools/perf/util/intel-pt.c struct auxtrace_buffer *buffer; buffer 2662 tools/perf/util/intel-pt.c data_offset, &buffer); buffer 2668 tools/perf/util/intel-pt.c if (auxtrace_buffer__get_data(buffer, fd)) { buffer 2669 tools/perf/util/intel-pt.c intel_pt_dump_event(pt, buffer->data, buffer 2670 tools/perf/util/intel-pt.c buffer->size); buffer 2671 tools/perf/util/intel-pt.c auxtrace_buffer__put_data(buffer); buffer 138 tools/perf/util/ordered-events.c size = sizeof(*oe->buffer) + MAX_SAMPLE_BUFFER * sizeof(*new); buffer 143 tools/perf/util/ordered-events.c } else if (oe->buffer) { buffer 144 tools/perf/util/ordered-events.c new = &oe->buffer->event[oe->buffer_idx]; buffer 146 tools/perf/util/ordered-events.c oe->buffer = NULL; buffer 148 tools/perf/util/ordered-events.c oe->buffer = malloc(size); buffer 149 tools/perf/util/ordered-events.c if (!oe->buffer) { buffer 158 tools/perf/util/ordered-events.c list_add(&oe->buffer->list, &oe->to_free); buffer 161 tools/perf/util/ordered-events.c new = &oe->buffer->event[0]; buffer 373 tools/perf/util/ordered-events.c ordered_events_buffer__free(struct ordered_events_buffer *buffer, buffer 380 tools/perf/util/ordered-events.c __free_dup_event(oe, buffer->event[i].event); buffer 383 tools/perf/util/ordered-events.c free(buffer); buffer 388 tools/perf/util/ordered-events.c struct ordered_events_buffer *buffer, *tmp; buffer 397 tools/perf/util/ordered-events.c if (oe->buffer) { buffer 398 tools/perf/util/ordered-events.c list_del_init(&oe->buffer->list); buffer 399 tools/perf/util/ordered-events.c ordered_events_buffer__free(oe->buffer, oe->buffer_idx, oe); buffer 403 tools/perf/util/ordered-events.c list_for_each_entry_safe(buffer, tmp, &oe->to_free, list) { buffer 404 tools/perf/util/ordered-events.c list_del_init(&buffer->list); buffer 405 tools/perf/util/ordered-events.c ordered_events_buffer__free(buffer, MAX_SAMPLE_BUFFER, oe); buffer 44 tools/perf/util/ordered-events.h struct ordered_events_buffer *buffer; buffer 1882 tools/perf/util/parse-events.c YY_BUFFER_STATE buffer; buffer 1890 tools/perf/util/parse-events.c buffer = parse_events__scan_string(str, scanner); buffer 1897 tools/perf/util/parse-events.c parse_events__flush_buffer(buffer, scanner); buffer 1898 tools/perf/util/parse-events.c parse_events__delete_buffer(buffer, scanner); buffer 184 tools/perf/util/s390-cpumsf.c struct auxtrace_buffer *buffer; buffer 602 tools/perf/util/s390-cpumsf.c unsigned char *buf = sfq->buffer->use_data; buffer 603 tools/perf/util/s390-cpumsf.c size_t len = sfq->buffer->use_size; buffer 624 tools/perf/util/s390-cpumsf.c (s64)sfq->buffer->data_offset); buffer 659 tools/perf/util/s390-cpumsf.c sfq->buffer->use_data += pos; buffer 660 tools/perf/util/s390-cpumsf.c sfq->buffer->use_size -= pos; buffer 667 tools/perf/util/s390-cpumsf.c sfq->buffer->use_size = 0; buffer 668 tools/perf/util/s390-cpumsf.c sfq->buffer->use_data = NULL; buffer 696 tools/perf/util/s390-cpumsf.c struct auxtrace_buffer *buffer; buffer 708 tools/perf/util/s390-cpumsf.c if (sfq->buffer == NULL) { buffer 709 tools/perf/util/s390-cpumsf.c sfq->buffer = buffer = auxtrace_buffer__next(queue, buffer 710 tools/perf/util/s390-cpumsf.c sfq->buffer); buffer 711 tools/perf/util/s390-cpumsf.c if (!buffer) { buffer 716 tools/perf/util/s390-cpumsf.c if (buffer->data) { buffer 717 tools/perf/util/s390-cpumsf.c buffer->use_size = buffer->size; buffer 718 tools/perf/util/s390-cpumsf.c buffer->use_data = buffer->data; buffer 721 tools/perf/util/s390-cpumsf.c size_t rc = fwrite(buffer->data, buffer->size, 1, buffer 727 tools/perf/util/s390-cpumsf.c buffer = sfq->buffer; buffer 729 tools/perf/util/s390-cpumsf.c if (!buffer->data) { buffer 732 tools/perf/util/s390-cpumsf.c buffer->data = auxtrace_buffer__get_data(buffer, fd); buffer 733 tools/perf/util/s390-cpumsf.c if (!buffer->data) buffer 735 tools/perf/util/s390-cpumsf.c buffer->use_size = buffer->size; buffer 736 tools/perf/util/s390-cpumsf.c buffer->use_data = buffer->data; buffer 739 tools/perf/util/s390-cpumsf.c size_t rc = fwrite(buffer->data, buffer->size, 1, buffer 746 tools/perf/util/s390-cpumsf.c __func__, sfq->queue_nr, buffer->buffer_nr, buffer->offset, buffer 747 tools/perf/util/s390-cpumsf.c buffer->size, buffer->use_size); buffer 757 tools/perf/util/s390-cpumsf.c sfq->buffer = NULL; buffer 758 tools/perf/util/s390-cpumsf.c list_del_init(&buffer->list); buffer 759 tools/perf/util/s390-cpumsf.c auxtrace_buffer__free(buffer); buffer 969 tools/perf/util/s390-cpumsf.c struct auxtrace_buffer *buffer; buffer 985 tools/perf/util/s390-cpumsf.c data_offset, &buffer); buffer 991 tools/perf/util/s390-cpumsf.c if (auxtrace_buffer__get_data(buffer, fd)) { buffer 992 tools/perf/util/s390-cpumsf.c s390_cpumsf_dump_event(sf, buffer->data, buffer 993 tools/perf/util/s390-cpumsf.c buffer->size); buffer 994 tools/perf/util/s390-cpumsf.c auxtrace_buffer__put_data(buffer); buffer 723 tools/perf/util/sort.c return realloc(seq.buffer, seq.len + 1); buffer 2155 tools/perf/util/sort.c str = seq.buffer; buffer 451 tools/perf/util/svghelper.c static char buffer[1024]; buffer 454 tools/perf/util/svghelper.c memset(buffer, 0, 1024); buffer 459 tools/perf/util/svghelper.c sprintf(buffer, "%9lli", Hz); buffer 462 tools/perf/util/svghelper.c sprintf(buffer, " %6lli Mhz", (Hz+500)/1000); buffer 465 tools/perf/util/svghelper.c sprintf(buffer, " %6.2f Ghz", (Hz+5000.0)/1000000); buffer 468 tools/perf/util/svghelper.c sprintf(buffer, "Turbo"); buffer 470 tools/perf/util/svghelper.c return buffer; buffer 404 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c char buffer[80]; buffer 410 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c while (fgets(buffer, 80, file)) { buffer 411 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c if (sscanf(buffer, format, &address) == 1) { buffer 52 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_ut_read_line(char *buffer, u32 buffer_length, u32 *bytes_read); buffer 387 tools/power/acpi/os_specific/service_layers/osunixxf.c char buffer[ACPI_VPRINTF_BUFFER_SIZE]; buffer 399 tools/power/acpi/os_specific/service_layers/osunixxf.c vsnprintf(buffer, ACPI_VPRINTF_BUFFER_SIZE, fmt, args); buffer 410 tools/power/acpi/os_specific/service_layers/osunixxf.c fputs(buffer, acpi_gbl_debug_file); buffer 419 tools/power/acpi/os_specific/service_layers/osunixxf.c fputs(buffer, acpi_gbl_output_file); buffer 440 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read) buffer 460 tools/power/acpi/os_specific/service_layers/osunixxf.c buffer[end_of_line] = (char)input_char; buffer 465 tools/power/acpi/os_specific/service_layers/osunixxf.c buffer[end_of_line] = 0; buffer 182 tools/power/acpi/tools/acpidump/apfiles.c struct acpi_table_header *buffer = NULL; buffer 206 tools/power/acpi/tools/acpidump/apfiles.c buffer = ACPI_ALLOCATE_ZEROED(file_size); buffer 207 tools/power/acpi/tools/acpidump/apfiles.c if (!buffer) { buffer 216 tools/power/acpi/tools/acpidump/apfiles.c actual = fread(buffer, 1, file_size, file); buffer 219 tools/power/acpi/tools/acpidump/apfiles.c ACPI_FREE(buffer); buffer 220 tools/power/acpi/tools/acpidump/apfiles.c buffer = NULL; buffer 228 tools/power/acpi/tools/acpidump/apfiles.c return (buffer); buffer 171 tools/power/x86/intel-speed-select/isst-config.c char buffer[128]; buffer 174 tools/power/x86/intel-speed-select/isst-config.c snprintf(buffer, sizeof(buffer), buffer 177 tools/power/x86/intel-speed-select/isst-config.c fd = open(buffer, O_WRONLY); buffer 179 tools/power/x86/intel-speed-select/isst-config.c err(-1, "%s open failed", buffer); buffer 306 tools/power/x86/intel-speed-select/isst-config.c char buffer[256]; buffer 308 tools/power/x86/intel-speed-select/isst-config.c snprintf(buffer, sizeof(buffer), buffer 310 tools/power/x86/intel-speed-select/isst-config.c dir = opendir(buffer); buffer 2685 tools/testing/nvdimm/test/nfit.c result->buffer.pointer = (void *) (result + 1); buffer 2686 tools/testing/nvdimm/test/nfit.c result->buffer.length = size; buffer 2687 tools/testing/nvdimm/test/nfit.c memcpy(result->buffer.pointer, buf, size); buffer 3008 tools/testing/nvdimm/test/nfit.c obj->buffer.length = nfit_test->nfit_size; buffer 3009 tools/testing/nvdimm/test/nfit.c obj->buffer.pointer = nfit_test->nfit_buf; buffer 104 tools/testing/selftests/android/ion/ionapp_export.c map_buf = info.buffer; buffer 63 tools/testing/selftests/android/ion/ionapp_import.c map_buf = info.buffer; buffer 120 tools/testing/selftests/android/ion/ionmap_test.c memset(info.buffer, 0xff, 4096); buffer 13 tools/testing/selftests/android/ion/ionutils.c void write_buffer(void *buffer, unsigned long len) buffer 16 tools/testing/selftests/android/ion/ionutils.c unsigned char *ptr = (unsigned char *)buffer; buffer 30 tools/testing/selftests/android/ion/ionutils.c void read_buffer(void *buffer, unsigned long len) buffer 33 tools/testing/selftests/android/ion/ionutils.c unsigned char *ptr = (unsigned char *)buffer; buffer 127 tools/testing/selftests/android/ion/ionutils.c ion_info->buffer = map_buffer; buffer 178 tools/testing/selftests/android/ion/ionutils.c ion_info->buffer = map_buf; buffer 195 tools/testing/selftests/android/ion/ionutils.c munmap(ion_info->buffer, ion_info->buflen); buffer 25 tools/testing/selftests/android/ion/ionutils.h unsigned char *buffer; buffer 30 tools/testing/selftests/android/ion/ionutils.h void write_buffer(void *buffer, unsigned long len); buffer 33 tools/testing/selftests/android/ion/ionutils.h void read_buffer(void *buffer, unsigned long len); buffer 93 tools/testing/selftests/bpf/progs/bpf_flow.c void *buffer) buffer 108 tools/testing/selftests/bpf/progs/bpf_flow.c if (bpf_skb_load_bytes(skb, thoff, buffer, hdr_size)) buffer 111 tools/testing/selftests/bpf/progs/bpf_flow.c return buffer; buffer 859 tools/testing/selftests/kvm/lib/x86_64/processor.c } buffer = {}; buffer 863 tools/testing/selftests/kvm/lib/x86_64/processor.c buffer.header.nmsrs = 1; buffer 864 tools/testing/selftests/kvm/lib/x86_64/processor.c buffer.entry.index = msr_index; buffer 865 tools/testing/selftests/kvm/lib/x86_64/processor.c r = ioctl(vcpu->fd, KVM_GET_MSRS, &buffer.header); buffer 869 tools/testing/selftests/kvm/lib/x86_64/processor.c return buffer.entry.data; buffer 893 tools/testing/selftests/kvm/lib/x86_64/processor.c } buffer = {}; buffer 897 tools/testing/selftests/kvm/lib/x86_64/processor.c memset(&buffer, 0, sizeof(buffer)); buffer 898 tools/testing/selftests/kvm/lib/x86_64/processor.c buffer.header.nmsrs = 1; buffer 899 tools/testing/selftests/kvm/lib/x86_64/processor.c buffer.entry.index = msr_index; buffer 900 tools/testing/selftests/kvm/lib/x86_64/processor.c buffer.entry.data = msr_value; buffer 901 tools/testing/selftests/kvm/lib/x86_64/processor.c r = ioctl(vcpu->fd, KVM_SET_MSRS, &buffer.header); buffer 128 tools/testing/selftests/net/tcp_mmap.c char *buffer = NULL; buffer 139 tools/testing/selftests/net/tcp_mmap.c buffer = malloc(chunk_size); buffer 140 tools/testing/selftests/net/tcp_mmap.c if (!buffer) { buffer 175 tools/testing/selftests/net/tcp_mmap.c lu = read(fd, buffer, zc.recv_skip_hint); buffer 178 tools/testing/selftests/net/tcp_mmap.c hash_zone(buffer, lu); buffer 186 tools/testing/selftests/net/tcp_mmap.c lu = read(fd, buffer + sub, chunk_size - sub); buffer 192 tools/testing/selftests/net/tcp_mmap.c hash_zone(buffer + sub, lu); buffer 222 tools/testing/selftests/net/tcp_mmap.c free(buffer); buffer 308 tools/testing/selftests/net/tcp_mmap.c char *buffer; buffer 384 tools/testing/selftests/net/tcp_mmap.c buffer = mmap(NULL, chunk_size, PROT_READ | PROT_WRITE, buffer 386 tools/testing/selftests/net/tcp_mmap.c if (buffer == (char *)-1) { buffer 425 tools/testing/selftests/net/tcp_mmap.c wr = send(fd, buffer, wr, zflg ? MSG_ZEROCOPY : 0); buffer 431 tools/testing/selftests/net/tcp_mmap.c munmap(buffer, chunk_size); buffer 41 tools/testing/selftests/net/txring_overwrite.c static void build_packet(void *buffer, size_t blen, char payload_char) buffer 48 tools/testing/selftests/net/txring_overwrite.c memset(buffer, 0, blen); buffer 50 tools/testing/selftests/net/txring_overwrite.c eth = buffer; buffer 54 tools/testing/selftests/net/txring_overwrite.c iph = buffer + off; buffer 65 tools/testing/selftests/net/txring_overwrite.c udph = buffer + off; buffer 72 tools/testing/selftests/net/txring_overwrite.c memset(buffer + off, payload_char, blen - off); buffer 48 tools/testing/selftests/pidfd/pidfd_open_test.c static int char_left_gc(const char *buffer, size_t len) buffer 53 tools/testing/selftests/pidfd/pidfd_open_test.c if (buffer[i] == ' ' || buffer 54 tools/testing/selftests/pidfd/pidfd_open_test.c buffer[i] == '\t') buffer 63 tools/testing/selftests/pidfd/pidfd_open_test.c static int char_right_gc(const char *buffer, size_t len) buffer 68 tools/testing/selftests/pidfd/pidfd_open_test.c if (buffer[i] == ' ' || buffer 69 tools/testing/selftests/pidfd/pidfd_open_test.c buffer[i] == '\t' || buffer 70 tools/testing/selftests/pidfd/pidfd_open_test.c buffer[i] == '\n' || buffer 71 tools/testing/selftests/pidfd/pidfd_open_test.c buffer[i] == '\0') buffer 80 tools/testing/selftests/pidfd/pidfd_open_test.c static char *trim_whitespace_in_place(char *buffer) buffer 82 tools/testing/selftests/pidfd/pidfd_open_test.c buffer += char_left_gc(buffer, strlen(buffer)); buffer 83 tools/testing/selftests/pidfd/pidfd_open_test.c buffer[char_right_gc(buffer, strlen(buffer))] = '\0'; buffer 84 tools/testing/selftests/pidfd/pidfd_open_test.c return buffer; buffer 53 tools/testing/selftests/powerpc/cache_shape/cache_shape.c static char buffer[4096]; buffer 57 tools/testing/selftests/powerpc/cache_shape/cache_shape.c FAIL_IF(read_auxv(buffer, sizeof(buffer))); buffer 61 tools/testing/selftests/powerpc/cache_shape/cache_shape.c p = find_auxv_entry(AT_L1I_CACHESIZE, buffer); buffer 67 tools/testing/selftests/powerpc/cache_shape/cache_shape.c p = find_auxv_entry(AT_L1I_CACHEGEOMETRY, buffer); buffer 73 tools/testing/selftests/powerpc/cache_shape/cache_shape.c p = find_auxv_entry(AT_L1D_CACHESIZE, buffer); buffer 79 tools/testing/selftests/powerpc/cache_shape/cache_shape.c p = find_auxv_entry(AT_L1D_CACHEGEOMETRY, buffer); buffer 85 tools/testing/selftests/powerpc/cache_shape/cache_shape.c p = find_auxv_entry(AT_L2_CACHESIZE, buffer); buffer 91 tools/testing/selftests/powerpc/cache_shape/cache_shape.c p = find_auxv_entry(AT_L2_CACHEGEOMETRY, buffer); buffer 97 tools/testing/selftests/powerpc/cache_shape/cache_shape.c p = find_auxv_entry(AT_L3_CACHESIZE, buffer); buffer 103 tools/testing/selftests/powerpc/cache_shape/cache_shape.c p = find_auxv_entry(AT_L3_CACHEGEOMETRY, buffer); buffer 686 tools/testing/selftests/rseq/param_test.c bool this_cpu_buffer_push(struct percpu_buffer *buffer, buffer 700 tools/testing/selftests/rseq/param_test.c offset = RSEQ_READ_ONCE(buffer->c[cpu].offset); buffer 701 tools/testing/selftests/rseq/param_test.c if (offset == buffer->c[cpu].buflen) buffer 704 tools/testing/selftests/rseq/param_test.c targetptr_spec = (intptr_t *)&buffer->c[cpu].array[offset]; buffer 706 tools/testing/selftests/rseq/param_test.c targetptr_final = &buffer->c[cpu].offset; buffer 726 tools/testing/selftests/rseq/param_test.c struct percpu_buffer_node *this_cpu_buffer_pop(struct percpu_buffer *buffer, buffer 739 tools/testing/selftests/rseq/param_test.c offset = RSEQ_READ_ONCE(buffer->c[cpu].offset); buffer 744 tools/testing/selftests/rseq/param_test.c head = RSEQ_READ_ONCE(buffer->c[cpu].array[offset - 1]); buffer 746 tools/testing/selftests/rseq/param_test.c targetptr = (intptr_t *)&buffer->c[cpu].offset; buffer 748 tools/testing/selftests/rseq/param_test.c (intptr_t *)&buffer->c[cpu].array[offset - 1], buffer 763 tools/testing/selftests/rseq/param_test.c struct percpu_buffer_node *__percpu_buffer_pop(struct percpu_buffer *buffer, buffer 769 tools/testing/selftests/rseq/param_test.c offset = buffer->c[cpu].offset; buffer 772 tools/testing/selftests/rseq/param_test.c head = buffer->c[cpu].array[offset - 1]; buffer 773 tools/testing/selftests/rseq/param_test.c buffer->c[cpu].offset = offset - 1; buffer 780 tools/testing/selftests/rseq/param_test.c struct percpu_buffer *buffer = (struct percpu_buffer *)arg; buffer 789 tools/testing/selftests/rseq/param_test.c node = this_cpu_buffer_pop(buffer, NULL); buffer 793 tools/testing/selftests/rseq/param_test.c if (!this_cpu_buffer_push(buffer, node, NULL)) { buffer 814 tools/testing/selftests/rseq/param_test.c struct percpu_buffer buffer; buffer 818 tools/testing/selftests/rseq/param_test.c memset(&buffer, 0, sizeof(buffer)); buffer 826 tools/testing/selftests/rseq/param_test.c buffer.c[i].array = buffer 827 tools/testing/selftests/rseq/param_test.c malloc(sizeof(*buffer.c[i].array) * CPU_SETSIZE * buffer 829 tools/testing/selftests/rseq/param_test.c assert(buffer.c[i].array); buffer 830 tools/testing/selftests/rseq/param_test.c buffer.c[i].buflen = CPU_SETSIZE * BUFFER_ITEM_PER_CPU; buffer 846 tools/testing/selftests/rseq/param_test.c buffer.c[i].array[j - 1] = node; buffer 847 tools/testing/selftests/rseq/param_test.c buffer.c[i].offset++; buffer 853 tools/testing/selftests/rseq/param_test.c test_percpu_buffer_thread, &buffer); buffer 876 tools/testing/selftests/rseq/param_test.c while ((node = __percpu_buffer_pop(&buffer, i))) { buffer 880 tools/testing/selftests/rseq/param_test.c free(buffer.c[i].array); buffer 891 tools/testing/selftests/rseq/param_test.c bool this_cpu_memcpy_buffer_push(struct percpu_memcpy_buffer *buffer, buffer 906 tools/testing/selftests/rseq/param_test.c offset = RSEQ_READ_ONCE(buffer->c[cpu].offset); buffer 907 tools/testing/selftests/rseq/param_test.c if (offset == buffer->c[cpu].buflen) buffer 909 tools/testing/selftests/rseq/param_test.c destptr = (char *)&buffer->c[cpu].array[offset]; buffer 914 tools/testing/selftests/rseq/param_test.c targetptr_final = &buffer->c[cpu].offset; buffer 935 tools/testing/selftests/rseq/param_test.c bool this_cpu_memcpy_buffer_pop(struct percpu_memcpy_buffer *buffer, buffer 950 tools/testing/selftests/rseq/param_test.c offset = RSEQ_READ_ONCE(buffer->c[cpu].offset); buffer 954 tools/testing/selftests/rseq/param_test.c srcptr = (char *)&buffer->c[cpu].array[offset - 1]; buffer 958 tools/testing/selftests/rseq/param_test.c targetptr_final = &buffer->c[cpu].offset; buffer 977 tools/testing/selftests/rseq/param_test.c bool __percpu_memcpy_buffer_pop(struct percpu_memcpy_buffer *buffer, buffer 983 tools/testing/selftests/rseq/param_test.c offset = buffer->c[cpu].offset; buffer 986 tools/testing/selftests/rseq/param_test.c memcpy(item, &buffer->c[cpu].array[offset - 1], sizeof(*item)); buffer 987 tools/testing/selftests/rseq/param_test.c buffer->c[cpu].offset = offset - 1; buffer 994 tools/testing/selftests/rseq/param_test.c struct percpu_memcpy_buffer *buffer = (struct percpu_memcpy_buffer *)arg; buffer 1004 tools/testing/selftests/rseq/param_test.c result = this_cpu_memcpy_buffer_pop(buffer, &item, NULL); buffer 1008 tools/testing/selftests/rseq/param_test.c if (!this_cpu_memcpy_buffer_push(buffer, item, NULL)) { buffer 1029 tools/testing/selftests/rseq/param_test.c struct percpu_memcpy_buffer buffer; buffer 1033 tools/testing/selftests/rseq/param_test.c memset(&buffer, 0, sizeof(buffer)); buffer 1041 tools/testing/selftests/rseq/param_test.c buffer.c[i].array = buffer 1042 tools/testing/selftests/rseq/param_test.c malloc(sizeof(*buffer.c[i].array) * CPU_SETSIZE * buffer 1044 tools/testing/selftests/rseq/param_test.c assert(buffer.c[i].array); buffer 1045 tools/testing/selftests/rseq/param_test.c buffer.c[i].buflen = CPU_SETSIZE * MEMCPY_BUFFER_ITEM_PER_CPU; buffer 1056 tools/testing/selftests/rseq/param_test.c buffer.c[i].array[j - 1].data1 = j; buffer 1057 tools/testing/selftests/rseq/param_test.c buffer.c[i].array[j - 1].data2 = j + 1; buffer 1058 tools/testing/selftests/rseq/param_test.c buffer.c[i].offset++; buffer 1065 tools/testing/selftests/rseq/param_test.c &buffer); buffer 1088 tools/testing/selftests/rseq/param_test.c while (__percpu_memcpy_buffer_pop(&buffer, &item, i)) { buffer 1092 tools/testing/selftests/rseq/param_test.c free(buffer.c[i].array); buffer 30 tools/testing/selftests/vm/compaction_test.c char buffer[256] = {0}; buffer 34 tools/testing/selftests/vm/compaction_test.c if (!(fgets(buffer, sizeof(buffer), cmdfile))) { buffer 41 tools/testing/selftests/vm/compaction_test.c *memfree = atoll(buffer); buffer 45 tools/testing/selftests/vm/compaction_test.c if (!(fgets(buffer, sizeof(buffer), cmdfile))) { buffer 51 tools/testing/selftests/vm/compaction_test.c *hugepagesize = atoll(buffer); buffer 604 tools/thermal/tmon/tui.c char buffer[512]; buffer 611 tools/thermal/tmon/tui.c memset(buffer, 0, sizeof(buffer)); buffer 616 tools/thermal/tmon/tui.c mvwprintw(tz_sensor_window, 1, TZ_LEFT_ALIGN, "%s", buffer); buffer 169 tools/usb/ffs-aio-example/multibuff/host_app/test.c static unsigned char buffer[BUF_LEN]; buffer 171 tools/usb/ffs-aio-example/multibuff/host_app/test.c libusb_bulk_transfer(state.handle, addr, buffer, BUF_LEN, buffer 170 tools/usb/ffs-aio-example/simple/host_app/test.c static unsigned char buffer[BUF_LEN]; buffer 172 tools/usb/ffs-aio-example/simple/host_app/test.c libusb_bulk_transfer(state.handle, in_addr, buffer, BUF_LEN, buffer 174 tools/usb/ffs-aio-example/simple/host_app/test.c libusb_bulk_transfer(state.handle, out_addr, buffer, BUF_LEN, buffer 85 tools/usb/ffs-test.c char buffer[128]; buffer 86 tools/usb/ffs-test.c strerror_r(_errno, buffer, sizeof buffer); buffer 87 tools/usb/ffs-test.c fprintf(stderr, ": (-%d) %s\n", _errno, buffer); buffer 193 tools/usb/usbip/libsrc/vhci_driver.c char *buffer, *start, *end; buffer 198 tools/usb/usbip/libsrc/vhci_driver.c buffer = malloc(buffer_len); buffer 199 tools/usb/usbip/libsrc/vhci_driver.c if (!buffer) buffer 207 tools/usb/usbip/libsrc/vhci_driver.c free(buffer); buffer 211 tools/usb/usbip/libsrc/vhci_driver.c if (fgets(buffer, buffer_len, file) == NULL) { buffer 213 tools/usb/usbip/libsrc/vhci_driver.c free(buffer); buffer 220 tools/usb/usbip/libsrc/vhci_driver.c start = buffer; buffer 224 tools/usb/usbip/libsrc/vhci_driver.c free(buffer); buffer 230 tools/usb/usbip/libsrc/vhci_driver.c if (sscanf(buffer, "%s %s %s\n", host, port, busid) != 3) { buffer 232 tools/usb/usbip/libsrc/vhci_driver.c free(buffer); buffer 236 tools/usb/usbip/libsrc/vhci_driver.c free(buffer); buffer 63 tools/vm/slabinfo.c char buffer[4096]; buffer 161 tools/vm/slabinfo.c buffer[0] = 0; buffer 163 tools/vm/slabinfo.c if (!fgets(buffer, sizeof(buffer), f)) buffer 164 tools/vm/slabinfo.c buffer[0] = 0; buffer 166 tools/vm/slabinfo.c if (buffer[strlen(buffer)] == '\n') buffer 167 tools/vm/slabinfo.c buffer[strlen(buffer)] = 0; buffer 169 tools/vm/slabinfo.c return strlen(buffer); buffer 181 tools/vm/slabinfo.c return atol(buffer); buffer 195 tools/vm/slabinfo.c result = strtoul(buffer, &p, 10); buffer 226 tools/vm/slabinfo.c buffer[0] = 0; buffer 229 tools/vm/slabinfo.c l = fread(buffer, 1, sizeof(buffer), f); buffer 230 tools/vm/slabinfo.c buffer[l] = 0; buffer 240 tools/vm/slabinfo.c static int store_size(char *buffer, unsigned long value) buffer 260 tools/vm/slabinfo.c n = sprintf(buffer, "%ld",value); buffer 262 tools/vm/slabinfo.c buffer[n] = trailer; buffer 264 tools/vm/slabinfo.c buffer[n] = 0; buffer 267 tools/vm/slabinfo.c memmove(buffer + n - 2, buffer + n - 3, 4); buffer 268 tools/vm/slabinfo.c buffer[n-2] = '.'; buffer 413 tools/vm/slabinfo.c printf("%s", buffer); buffer 420 tools/vm/slabinfo.c printf("%s", buffer); buffer 434 tools/vm/slabinfo.c printf("%s", buffer); buffer 1196 tools/vm/slabinfo.c count = readlink(de->d_name, buffer, sizeof(buffer)-1); buffer 1201 tools/vm/slabinfo.c buffer[count] = 0; buffer 1202 tools/vm/slabinfo.c p = buffer + count; buffer 1203 tools/vm/slabinfo.c while (p > buffer && p[-1] != '/') buffer 32 tools/wmi/dell-smbios-example.c static void show_buffer(struct dell_wmi_smbios_buffer *buffer) buffer 35 tools/wmi/dell-smbios-example.c buffer->std.cmd_class, buffer->std.cmd_select, buffer 36 tools/wmi/dell-smbios-example.c buffer->std.input[0], buffer->std.input[1], buffer 37 tools/wmi/dell-smbios-example.c buffer->std.input[2], buffer->std.input[3], buffer 38 tools/wmi/dell-smbios-example.c buffer->std.output[0], buffer->std.output[1], buffer 39 tools/wmi/dell-smbios-example.c buffer->std.output[2], buffer->std.output[3]); buffer 42 tools/wmi/dell-smbios-example.c static int run_wmi_smbios_cmd(struct dell_wmi_smbios_buffer *buffer) buffer 48 tools/wmi/dell-smbios-example.c ret = ioctl(fd, DELL_WMI_SMBIOS_CMD, buffer); buffer 95 tools/wmi/dell-smbios-example.c struct dell_wmi_smbios_buffer *buffer) buffer 99 tools/wmi/dell-smbios-example.c buffer->std.cmd_class = CLASS_TOKEN_READ; buffer 100 tools/wmi/dell-smbios-example.c buffer->std.cmd_select = SELECT_TOKEN_STD; buffer 101 tools/wmi/dell-smbios-example.c buffer->std.input[0] = *location; buffer 102 tools/wmi/dell-smbios-example.c ret = run_wmi_smbios_cmd(buffer); buffer 103 tools/wmi/dell-smbios-example.c if (ret != 0 || buffer->std.output[0] != 0) buffer 105 tools/wmi/dell-smbios-example.c ret = (buffer->std.output[1] == *cmpvalue); buffer 109 tools/wmi/dell-smbios-example.c static int query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer) buffer 120 tools/wmi/dell-smbios-example.c return token_is_active(&location, &value, buffer); buffer 123 tools/wmi/dell-smbios-example.c static int activate_token(struct dell_wmi_smbios_buffer *buffer, buffer 135 tools/wmi/dell-smbios-example.c buffer->std.cmd_class = CLASS_TOKEN_WRITE; buffer 136 tools/wmi/dell-smbios-example.c buffer->std.cmd_select = SELECT_TOKEN_STD; buffer 137 tools/wmi/dell-smbios-example.c buffer->std.input[0] = location; buffer 138 tools/wmi/dell-smbios-example.c buffer->std.input[1] = 1; buffer 139 tools/wmi/dell-smbios-example.c ret = run_wmi_smbios_cmd(buffer); buffer 157 tools/wmi/dell-smbios-example.c struct dell_wmi_smbios_buffer *buffer; buffer 168 tools/wmi/dell-smbios-example.c buffer = malloc(value); buffer 169 tools/wmi/dell-smbios-example.c if (buffer == NULL) { buffer 174 tools/wmi/dell-smbios-example.c buffer->length = value; buffer 177 tools/wmi/dell-smbios-example.c buffer->std.cmd_class = CLASS_FLASH_INTERFACE; buffer 178 tools/wmi/dell-smbios-example.c buffer->std.cmd_select = SELECT_FLASH_INTERFACE; buffer 179 tools/wmi/dell-smbios-example.c buffer->std.input[0] = 2; buffer 180 tools/wmi/dell-smbios-example.c ret = run_wmi_smbios_cmd(buffer); buffer 186 tools/wmi/dell-smbios-example.c show_buffer(buffer); buffer 189 tools/wmi/dell-smbios-example.c ret = query_token(CAPSULE_EN_TOKEN, buffer); buffer 191 tools/wmi/dell-smbios-example.c ret = query_token(CAPSULE_DIS_TOKEN, buffer); buffer 197 tools/wmi/dell-smbios-example.c if (activate_token(buffer, CAPSULE_EN_TOKEN)) { buffer 205 tools/wmi/dell-smbios-example.c free(buffer);