buff 35 arch/alpha/include/asm/checksum.h extern __wsum csum_partial(const void *buff, int len, __wsum sum); buff 54 arch/alpha/include/asm/checksum.h extern __sum16 ip_compute_csum(const void *buff, int len); buff 79 arch/alpha/lib/checksum.c static inline unsigned long do_csum(const unsigned char * buff, int len) buff 86 arch/alpha/lib/checksum.c odd = 1 & (unsigned long) buff; buff 88 arch/alpha/lib/checksum.c result = *buff << 8; buff 90 arch/alpha/lib/checksum.c buff++; buff 94 arch/alpha/lib/checksum.c if (2 & (unsigned long) buff) { buff 95 arch/alpha/lib/checksum.c result += *(unsigned short *) buff; buff 98 arch/alpha/lib/checksum.c buff += 2; buff 102 arch/alpha/lib/checksum.c if (4 & (unsigned long) buff) { buff 103 arch/alpha/lib/checksum.c result += *(unsigned int *) buff; buff 106 arch/alpha/lib/checksum.c buff += 4; buff 112 arch/alpha/lib/checksum.c unsigned long w = *(unsigned long *) buff; buff 114 arch/alpha/lib/checksum.c buff += 8; buff 123 arch/alpha/lib/checksum.c result += *(unsigned int *) buff; buff 124 arch/alpha/lib/checksum.c buff += 4; buff 128 arch/alpha/lib/checksum.c result += *(unsigned short *) buff; buff 129 arch/alpha/lib/checksum.c buff += 2; buff 133 arch/alpha/lib/checksum.c result += *buff; buff 163 arch/alpha/lib/checksum.c __wsum csum_partial(const void *buff, int len, __wsum sum) buff 165 arch/alpha/lib/checksum.c unsigned long result = do_csum(buff, len); buff 180 arch/alpha/lib/checksum.c __sum16 ip_compute_csum(const void *buff, int len) buff 182 arch/alpha/lib/checksum.c return (__force __sum16)~from64to16(do_csum(buff,len)); buff 27 arch/arm/include/asm/checksum.h __wsum csum_partial(const void *buff, int len, __wsum sum); buff 137 arch/arm/include/asm/checksum.h ip_compute_csum(const void *buff, int len) buff 139 arch/arm/include/asm/checksum.h return csum_fold(csum_partial(buff, len, 0)); buff 401 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_sendto(int fd, void __user *buff, buff 411 arch/arm/kernel/sys_oabi-compat.c return sys_sendto(fd, buff, len, flags, addr, addrlen); buff 497 arch/arm/mach-pxa/sharpsl_pm.c int val, i, buff[5]; buff 504 arch/arm/mach-pxa/sharpsl_pm.c buff[i] = sharpsl_pm.machinfo->read_devdata(SHARPSL_BATT_TEMP); buff 508 arch/arm/mach-pxa/sharpsl_pm.c val = get_select_val(buff); buff 522 arch/arm/mach-pxa/sharpsl_pm.c int val, i, buff[5]; buff 534 arch/arm/mach-pxa/sharpsl_pm.c buff[i] = sharpsl_pm.machinfo->read_devdata(SHARPSL_BATT_VOLT); buff 543 arch/arm/mach-pxa/sharpsl_pm.c val = get_select_val(buff); buff 555 arch/arm/mach-pxa/sharpsl_pm.c int temp, i, buff[5]; buff 558 arch/arm/mach-pxa/sharpsl_pm.c buff[i] = sharpsl_pm.machinfo->read_devdata(SHARPSL_ACIN_VOLT); buff 562 arch/arm/mach-pxa/sharpsl_pm.c temp = get_select_val(buff); buff 37 arch/arm/plat-samsung/pm-debug.c char buff[256]; buff 40 arch/arm/plat-samsung/pm-debug.c vsnprintf(buff, sizeof(buff), fmt, va); buff 43 arch/arm/plat-samsung/pm-debug.c printascii(buff); buff 38 arch/ia64/include/asm/checksum.h extern __wsum csum_partial(const void *buff, int len, __wsum sum); buff 57 arch/ia64/include/asm/checksum.h extern __sum16 ip_compute_csum(const void *buff, int len); buff 80 arch/ia64/lib/checksum.c __wsum csum_partial(const void *buff, int len, __wsum sum) buff 82 arch/ia64/lib/checksum.c u64 result = do_csum(buff, len); buff 97 arch/ia64/lib/checksum.c __sum16 ip_compute_csum (const void *buff, int len) buff 99 arch/ia64/lib/checksum.c return (__force __sum16)~do_csum(buff,len); buff 35 arch/ia64/lib/csum_partial_copy.c unsigned long do_csum_c(const unsigned char * buff, int len, unsigned int psum) buff 42 arch/ia64/lib/csum_partial_copy.c odd = 1 & (unsigned long) buff; buff 44 arch/ia64/lib/csum_partial_copy.c result = *buff << 8; buff 46 arch/ia64/lib/csum_partial_copy.c buff++; buff 50 arch/ia64/lib/csum_partial_copy.c if (2 & (unsigned long) buff) { buff 51 arch/ia64/lib/csum_partial_copy.c result += *(unsigned short *) buff; buff 54 arch/ia64/lib/csum_partial_copy.c buff += 2; buff 58 arch/ia64/lib/csum_partial_copy.c if (4 & (unsigned long) buff) { buff 59 arch/ia64/lib/csum_partial_copy.c result += *(unsigned int *) buff; buff 62 arch/ia64/lib/csum_partial_copy.c buff += 4; buff 68 arch/ia64/lib/csum_partial_copy.c unsigned long w = *(unsigned long *) buff; buff 70 arch/ia64/lib/csum_partial_copy.c buff += 8; buff 79 arch/ia64/lib/csum_partial_copy.c result += *(unsigned int *) buff; buff 80 arch/ia64/lib/csum_partial_copy.c buff += 4; buff 84 arch/ia64/lib/csum_partial_copy.c result += *(unsigned short *) buff; buff 85 arch/ia64/lib/csum_partial_copy.c buff += 2; buff 89 arch/ia64/lib/csum_partial_copy.c result += *buff; buff 23 arch/m68k/include/asm/checksum.h __wsum csum_partial(const void *buff, int len, __wsum sum); buff 113 arch/m68k/include/asm/checksum.h static inline __sum16 ip_compute_csum(const void *buff, int len) buff 115 arch/m68k/include/asm/checksum.h return csum_fold (csum_partial(buff, len, 0)); buff 25 arch/m68k/include/asm/quicc_simple.h typedef void (store_rx_buffer_routine)(int scc_num, int channel_num, void *buff, int length); buff 38 arch/m68k/lib/checksum.c __wsum csum_partial(const void *buff, int len, __wsum sum) buff 117 arch/m68k/lib/checksum.c : "=d" (sum), "=d" (len), "=a" (buff), buff 119 arch/m68k/lib/checksum.c : "0" (sum), "1" (len), "2" (buff) buff 35 arch/mips/include/asm/checksum.h __wsum csum_partial(const void *buff, int len, __wsum sum); buff 212 arch/mips/include/asm/checksum.h static inline __sum16 ip_compute_csum(const void *buff, int len) buff 214 arch/mips/include/asm/checksum.h return csum_fold(csum_partial(buff, len, 0)); buff 35 arch/mips/include/asm/rtlx.h ssize_t rtlx_read(int index, void __user *buff, size_t count); buff 242 arch/mips/kernel/rtlx.c ssize_t rtlx_read(int index, void __user *buff, size_t count) buff 265 arch/mips/kernel/rtlx.c failed = copy_to_user(buff, lx->lx_buffer + lx->lx_read, fl); buff 271 arch/mips/kernel/rtlx.c failed = copy_to_user(buff + fl, lx->lx_buffer, count - fl); buff 749 arch/mips/kernel/vpe.c static int getcwd(char *buff, int size) buff 757 arch/mips/kernel/vpe.c ret = sys_getcwd(buff, size); buff 14 arch/nios2/include/asm/checksum.h extern __wsum csum_partial(const void *buff, int len, __wsum sum); buff 23 arch/nios2/include/asm/checksum.h extern __sum16 ip_compute_csum(const void *buff, int len); buff 37 arch/parisc/lib/checksum.c static inline unsigned int do_csum(const unsigned char * buff, int len) buff 44 arch/parisc/lib/checksum.c odd = 1 & (unsigned long) buff; buff 46 arch/parisc/lib/checksum.c result = be16_to_cpu(*buff); buff 48 arch/parisc/lib/checksum.c buff++; buff 52 arch/parisc/lib/checksum.c if (2 & (unsigned long) buff) { buff 53 arch/parisc/lib/checksum.c result += *(unsigned short *) buff; buff 56 arch/parisc/lib/checksum.c buff += 2; buff 62 arch/parisc/lib/checksum.c r1 = *(unsigned int *)(buff + 0); buff 63 arch/parisc/lib/checksum.c r2 = *(unsigned int *)(buff + 4); buff 64 arch/parisc/lib/checksum.c r3 = *(unsigned int *)(buff + 8); buff 65 arch/parisc/lib/checksum.c r4 = *(unsigned int *)(buff + 12); buff 71 arch/parisc/lib/checksum.c buff += 16; buff 74 arch/parisc/lib/checksum.c unsigned int w = *(unsigned int *) buff; buff 76 arch/parisc/lib/checksum.c buff += 4; buff 82 arch/parisc/lib/checksum.c result += *(unsigned short *) buff; buff 83 arch/parisc/lib/checksum.c buff += 2; buff 87 arch/parisc/lib/checksum.c result += le16_to_cpu(*buff); buff 101 arch/parisc/lib/checksum.c __wsum csum_partial(const void *buff, int len, __wsum sum) buff 103 arch/parisc/lib/checksum.c unsigned int result = do_csum(buff, len); buff 165 arch/powerpc/include/asm/checksum.h __wsum __csum_partial(const void *buff, int len, __wsum sum); buff 167 arch/powerpc/include/asm/checksum.h static inline __wsum csum_partial(const void *buff, int len, __wsum sum) buff 171 arch/powerpc/include/asm/checksum.h sum = csum_add(sum, (__force __wsum)*(const u16 *)buff); buff 173 arch/powerpc/include/asm/checksum.h sum = csum_add(sum, (__force __wsum)*(const u32 *)buff); buff 176 arch/powerpc/include/asm/checksum.h *(const u16 *)(buff + 4)); buff 179 arch/powerpc/include/asm/checksum.h *(const u32 *)(buff + 4)); buff 182 arch/powerpc/include/asm/checksum.h *(const u16 *)(buff + 8)); buff 185 arch/powerpc/include/asm/checksum.h *(const u32 *)(buff + 8)); buff 188 arch/powerpc/include/asm/checksum.h *(const u16 *)(buff + 12)); buff 191 arch/powerpc/include/asm/checksum.h *(const u32 *)(buff + 12)); buff 193 arch/powerpc/include/asm/checksum.h sum = csum_add(sum, ip_fast_csum_nofold(buff, len >> 2)); buff 195 arch/powerpc/include/asm/checksum.h sum = __csum_partial(buff, len, sum); buff 204 arch/powerpc/include/asm/checksum.h static inline __sum16 ip_compute_csum(const void *buff, int len) buff 206 arch/powerpc/include/asm/checksum.h return csum_fold(csum_partial(buff, len, 0)); buff 45 arch/powerpc/include/asm/nvram.h extern int nvram_write_error_log(char * buff, int length, buff 47 arch/powerpc/include/asm/nvram.h extern int nvram_read_error_log(char * buff, int length, buff 84 arch/powerpc/include/asm/nvram.h extern int nvram_read_partition(struct nvram_os_partition *part, char *buff, buff 90 arch/powerpc/include/asm/nvram.h char *buff, int length, buff 181 arch/powerpc/kernel/nvram_64.c char *buff, int length, buff 206 arch/powerpc/kernel/nvram_64.c rc = ppc_md.nvram_write(buff, length, &tmp_index); buff 219 arch/powerpc/kernel/nvram_64.c int nvram_read_partition(struct nvram_os_partition *part, char *buff, buff 243 arch/powerpc/kernel/nvram_64.c rc = ppc_md.nvram_read(buff, length, &tmp_index); buff 426 arch/powerpc/kernel/nvram_64.c char *buff = NULL; buff 486 arch/powerpc/kernel/nvram_64.c buff = kmalloc(part->size, GFP_KERNEL); buff 488 arch/powerpc/kernel/nvram_64.c if (!buff) buff 491 arch/powerpc/kernel/nvram_64.c if (nvram_read_partition(part, buff, part->size, &err_type, &id_no)) { buff 492 arch/powerpc/kernel/nvram_64.c kfree(buff); buff 504 arch/powerpc/kernel/nvram_64.c oops_hdr = (struct oops_log_info *)buff; buff 517 arch/powerpc/kernel/nvram_64.c record->buf = kmemdup(buff + hdr_size, length, GFP_KERNEL); buff 518 arch/powerpc/kernel/nvram_64.c kfree(buff); buff 530 arch/powerpc/kernel/nvram_64.c record->buf = buff; buff 192 arch/powerpc/kernel/optprobes.c kprobe_opcode_t *buff, branch_op_callback, branch_emulate_step; buff 205 arch/powerpc/kernel/optprobes.c buff = get_ppc_optinsn_slot(); buff 206 arch/powerpc/kernel/optprobes.c if (!buff) buff 218 arch/powerpc/kernel/optprobes.c b_offset = (unsigned long)buff - (unsigned long)p->addr; buff 223 arch/powerpc/kernel/optprobes.c b_offset = (unsigned long)(buff + TMPL_RET_IDX) - buff 231 arch/powerpc/kernel/optprobes.c pr_devel("Copying template to %p, size %lu\n", buff, size); buff 233 arch/powerpc/kernel/optprobes.c rc = patch_instruction(buff + i, *(optprobe_template_entry + i)); buff 242 arch/powerpc/kernel/optprobes.c patch_imm64_load_insns((unsigned long)op, buff + TMPL_OP_IDX); buff 254 arch/powerpc/kernel/optprobes.c branch_op_callback = create_branch((unsigned int *)buff + TMPL_CALL_HDLR_IDX, buff 258 arch/powerpc/kernel/optprobes.c branch_emulate_step = create_branch((unsigned int *)buff + TMPL_EMULATE_IDX, buff 265 arch/powerpc/kernel/optprobes.c patch_instruction(buff + TMPL_CALL_HDLR_IDX, branch_op_callback); buff 266 arch/powerpc/kernel/optprobes.c patch_instruction(buff + TMPL_EMULATE_IDX, branch_emulate_step); buff 271 arch/powerpc/kernel/optprobes.c patch_imm32_load_insns(*p->ainsn.insn, buff + TMPL_INSN_IDX); buff 276 arch/powerpc/kernel/optprobes.c patch_branch(buff + TMPL_RET_IDX, (unsigned long)nip, 0); buff 278 arch/powerpc/kernel/optprobes.c flush_icache_range((unsigned long)buff, buff 279 arch/powerpc/kernel/optprobes.c (unsigned long)(&buff[TMPL_END_IDX])); buff 281 arch/powerpc/kernel/optprobes.c op->optinsn.insn = buff; buff 286 arch/powerpc/kernel/optprobes.c free_ppc_optinsn_slot(buff, 0); buff 73 arch/powerpc/oprofile/cell/pr_util.h unsigned long *buff; buff 67 arch/powerpc/oprofile/cell/spu_task_sync.c spu_buff[spu].buff[spu_buff[spu].head] = value; buff 97 arch/powerpc/oprofile/cell/spu_task_sync.c if (spu_buff[spu].buff == NULL) buff 112 arch/powerpc/oprofile/cell/spu_task_sync.c oprofile_put_buff(spu_buff[spu].buff, buff 475 arch/powerpc/oprofile/cell/spu_task_sync.c spu_buff[spu].buff = kzalloc((max_spu_buff buff 479 arch/powerpc/oprofile/cell/spu_task_sync.c if (!spu_buff[spu].buff) { buff 487 arch/powerpc/oprofile/cell/spu_task_sync.c kfree(spu_buff[spu].buff); buff 488 arch/powerpc/oprofile/cell/spu_task_sync.c spu_buff[spu].buff = 0; buff 651 arch/powerpc/oprofile/cell/spu_task_sync.c kfree(spu_buff[k].buff); buff 652 arch/powerpc/oprofile/cell/spu_task_sync.c spu_buff[k].buff = 0; buff 133 arch/powerpc/platforms/pseries/nvram.c int nvram_write_error_log(char * buff, int length, buff 136 arch/powerpc/platforms/pseries/nvram.c int rc = nvram_write_os_partition(&rtas_log_partition, buff, length, buff 152 arch/powerpc/platforms/pseries/nvram.c int nvram_read_error_log(char *buff, int length, buff 155 arch/powerpc/platforms/pseries/nvram.c return nvram_read_partition(&rtas_log_partition, buff, length, buff 30 arch/s390/include/asm/checksum.h csum_partial(const void *buff, int len, __wsum sum) buff 32 arch/s390/include/asm/checksum.h register unsigned long reg2 asm("2") = (unsigned long) buff; buff 132 arch/s390/include/asm/checksum.h static inline __sum16 ip_compute_csum(const void *buff, int len) buff 134 arch/s390/include/asm/checksum.h return csum_fold(csum_partial(buff, len, 0)); buff 23 arch/sh/include/asm/checksum_32.h asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum); buff 151 arch/sh/include/asm/checksum_32.h static inline __sum16 ip_compute_csum(const void *buff, int len) buff 153 arch/sh/include/asm/checksum_32.h return csum_fold(csum_partial(buff, len, 0)); buff 33 arch/sparc/include/asm/checksum_32.h __wsum csum_partial(const void *buff, int len, __wsum sum); buff 234 arch/sparc/include/asm/checksum_32.h static inline __sum16 ip_compute_csum(const void *buff, int len) buff 236 arch/sparc/include/asm/checksum_32.h return csum_fold(csum_partial(buff, len, 0)); buff 33 arch/sparc/include/asm/checksum_64.h __wsum csum_partial(const void * buff, int len, __wsum sum); buff 160 arch/sparc/include/asm/checksum_64.h static inline __sum16 ip_compute_csum(const void *buff, int len) buff 162 arch/sparc/include/asm/checksum_64.h return csum_fold(csum_partial(buff, len, 0)); buff 20 arch/x86/include/asm/checksum_32.h asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum); buff 144 arch/x86/include/asm/checksum_32.h static inline __sum16 ip_compute_csum(const void *buff, int len) buff 146 arch/x86/include/asm/checksum_32.h return csum_fold(csum_partial(buff, len, 0)); buff 130 arch/x86/include/asm/checksum_64.h extern __wsum csum_partial(const void *buff, int len, __wsum sum); buff 161 arch/x86/include/asm/checksum_64.h extern __sum16 ip_compute_csum(const void *buff, int len); buff 35 arch/x86/lib/csum-partial_64.c static unsigned do_csum(const unsigned char *buff, unsigned len) buff 42 arch/x86/lib/csum-partial_64.c odd = 1 & (unsigned long) buff; buff 44 arch/x86/lib/csum-partial_64.c result = *buff << 8; buff 46 arch/x86/lib/csum-partial_64.c buff++; buff 50 arch/x86/lib/csum-partial_64.c if (2 & (unsigned long) buff) { buff 51 arch/x86/lib/csum-partial_64.c result += *(unsigned short *)buff; buff 54 arch/x86/lib/csum-partial_64.c buff += 2; buff 60 arch/x86/lib/csum-partial_64.c if (4 & (unsigned long) buff) { buff 61 arch/x86/lib/csum-partial_64.c result += *(unsigned int *) buff; buff 64 arch/x86/lib/csum-partial_64.c buff += 4; buff 82 arch/x86/lib/csum-partial_64.c : [src] "r" (buff), [zero] "r" (zero), buff 84 arch/x86/lib/csum-partial_64.c buff += 64; buff 94 arch/x86/lib/csum-partial_64.c : "m" (*(unsigned long *)buff), buff 97 arch/x86/lib/csum-partial_64.c buff += 8; buff 103 arch/x86/lib/csum-partial_64.c result += *(unsigned int *) buff; buff 104 arch/x86/lib/csum-partial_64.c buff += 4; buff 108 arch/x86/lib/csum-partial_64.c result += *(unsigned short *) buff; buff 109 arch/x86/lib/csum-partial_64.c buff += 2; buff 113 arch/x86/lib/csum-partial_64.c result += *buff; buff 134 arch/x86/lib/csum-partial_64.c __wsum csum_partial(const void *buff, int len, __wsum sum) buff 136 arch/x86/lib/csum-partial_64.c return (__force __wsum)add32_with_carry(do_csum(buff, len), buff 145 arch/x86/lib/csum-partial_64.c __sum16 ip_compute_csum(const void *buff, int len) buff 147 arch/x86/lib/csum-partial_64.c return csum_fold(csum_partial(buff,len,0)); buff 21 arch/x86/um/asm/checksum.h extern __wsum csum_partial(const void *buff, int len, __wsum sum); buff 8 arch/x86/um/asm/checksum_32.h static inline __sum16 ip_compute_csum(const void *buff, int len) buff 10 arch/x86/um/asm/checksum_32.h return csum_fold (csum_partial(buff, len, 0)); buff 17 arch/x86/um/asm/checksum_64.h extern __sum16 ip_compute_csum(const void *buff, int len); buff 30 arch/xtensa/include/asm/checksum.h asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum); buff 170 arch/xtensa/include/asm/checksum.h static __inline__ __sum16 ip_compute_csum(const void *buff, int len) buff 172 arch/xtensa/include/asm/checksum.h return csum_fold (csum_partial(buff, len, 0)); buff 453 drivers/bluetooth/btrtl.c static int rtl_load_file(struct hci_dev *hdev, const char *name, u8 **buff) buff 463 drivers/bluetooth/btrtl.c *buff = kmemdup(fw->data, ret, GFP_KERNEL); buff 464 drivers/bluetooth/btrtl.c if (!*buff) buff 47 drivers/char/tpm/eventlog/acpi.c struct acpi_tcpa *buff; buff 66 drivers/char/tpm/eventlog/acpi.c (struct acpi_table_header **)&buff); buff 71 drivers/char/tpm/eventlog/acpi.c switch(buff->platform_class) { buff 73 drivers/char/tpm/eventlog/acpi.c len = buff->server.log_max_len; buff 74 drivers/char/tpm/eventlog/acpi.c start = buff->server.log_start_addr; buff 78 drivers/char/tpm/eventlog/acpi.c len = buff->client.log_max_len; buff 79 drivers/char/tpm/eventlog/acpi.c start = buff->client.log_start_addr; buff 207 drivers/crypto/caam/caampkc.c const u8 *buff; buff 219 drivers/crypto/caam/caampkc.c while (len && !*buff && lzeros < nbytes) { buff 222 drivers/crypto/caam/caampkc.c buff++; buff 225 drivers/crypto/caam/caampkc.c if (len && *buff) buff 229 drivers/crypto/caam/caampkc.c buff = miter.addr; buff 167 drivers/firmware/efi/capsule-loader.c static ssize_t efi_capsule_write(struct file *file, const char __user *buff, buff 204 drivers/firmware/efi/capsule-loader.c if (copy_from_user(kbuff, buff, write_byte)) { buff 129 drivers/fpga/dfl-afu-error.c const char *buff, size_t count) buff 134 drivers/fpga/dfl-afu-error.c if (kstrtou64(buff, 0, &value)) buff 58 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c unsigned char *buff) buff 60 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c uint32_t *pp = (uint32_t *) buff; buff 70 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c unsigned char *buff) buff 72 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c uint32_t *pp = (uint32_t *)buff; buff 82 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c unsigned char *buff) buff 89 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c .buf = buff, buff 93 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c *(uint16_t *)buff = EEPROM_HDR_START; buff 94 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __encode_table_header_to_buff(&control->tbl_hdr, buff + EEPROM_ADDRESS_SIZE); buff 109 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c unsigned char buff[EEPROM_ADDRESS_SIZE + EEPROM_TABLE_HEADER_SIZE] = { 0 }; buff 115 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c .buf = buff, buff 141 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __decode_table_header_from_buff(hdr, &buff[2]); buff 159 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c ret = __update_table_header(control, buff); buff 184 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c unsigned char *buff) buff 190 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->err_type; buff 192 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->bank; buff 195 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(buff + i, &tmp, 8); buff 199 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(buff + i, &tmp, 6); buff 202 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->mem_channel; buff 203 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->mcumc_id; buff 206 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(buff + i, &tmp, 6); buff 211 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c unsigned char *buff) buff 217 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->err_type = buff[i++]; buff 219 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->bank = buff[i++]; buff 221 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(&tmp, buff + i, 8); buff 225 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(&tmp, buff + i, 6); buff 229 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->mem_channel; buff 230 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->mcumc_id; buff 232 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(&tmp, buff + i, 6); buff 376 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c unsigned char *buff = &buffs[i * (EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; buff 390 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c msg->buf = buff; buff 393 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[0] = ((control->next_addr >> 8) & 0xff); buff 394 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[1] = (control->next_addr & 0xff); buff 398 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __encode_table_record_to_buff(control, record, buff + EEPROM_ADDRESS_SIZE); buff 418 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c unsigned char *buff = &buffs[i*(EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; buff 421 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __decode_table_record_from_buff(control, record, buff + EEPROM_ADDRESS_SIZE); buff 421 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c char __user *buff, size_t count, loff_t *ppos) buff 433 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c return simple_read_from_buffer(buff, count, ppos, buf, len); buff 1249 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c char __user *buff, size_t count, loff_t *ppos) buff 1257 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c return simple_read_from_buffer(buff, count, ppos, buf, len); buff 471 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_UVPLANE_BASE(buff) (0x00008800+(buff)*4) buff 472 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_UVPLANE_LIMIT(buff) (0x00008808+(buff)*4) buff 473 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_UVPLANE_OFFSET_BUFF(buff) (0x00008820+(buff)*4) buff 474 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_BASE(buff) (0x00008900+(buff)*4) buff 475 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_LIMIT(buff) (0x00008908+(buff)*4) buff 476 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_LUMINANCE(buff) (0x00008910+(buff)*4) buff 477 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_CHROMINANCE(buff) (0x00008918+(buff)*4) buff 478 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_OFFSET_BUFF(buff) (0x00008920+(buff)*4) buff 479 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_SIZE_IN(buff) (0x00008928+(buff)*4) buff 480 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_POINT_IN(buff) (0x00008930+(buff)*4) buff 481 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_DS_DX(buff) (0x00008938+(buff)*4) buff 482 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_DT_DY(buff) (0x00008940+(buff)*4) buff 483 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_POINT_OUT(buff) (0x00008948+(buff)*4) buff 484 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_SIZE_OUT(buff) (0x00008950+(buff)*4) buff 485 drivers/gpu/drm/nouveau/dispnv04/nvreg.h #define NV_PVIDEO_FORMAT(buff) (0x00008958+(buff)*4) buff 142 drivers/gpu/drm/rockchip/cdn-dp-reg.c u8 *buff, u16 buff_size) buff 152 drivers/gpu/drm/rockchip/cdn-dp-reg.c buff[i] = ret; buff 683 drivers/greybus/svc.c char buff[16]; buff 694 drivers/greybus/svc.c desc = scnprintf(buff, sizeof(buff), "%u\n", value); buff 696 drivers/greybus/svc.c return simple_read_from_buffer(buf, len, offset, buff, desc); buff 707 drivers/greybus/svc.c char buff[16]; buff 718 drivers/greybus/svc.c desc = scnprintf(buff, sizeof(buff), "%u\n", value); buff 720 drivers/greybus/svc.c return simple_read_from_buffer(buf, len, offset, buff, desc); buff 731 drivers/greybus/svc.c char buff[16]; buff 741 drivers/greybus/svc.c desc = scnprintf(buff, sizeof(buff), "%u\n", value); buff 743 drivers/greybus/svc.c return simple_read_from_buffer(buf, len, offset, buff, desc); buff 389 drivers/hid/hid-picolcd_debugfs.c char *buff; buff 396 drivers/hid/hid-picolcd_debugfs.c buff = kmalloc(BUFF_SZ, GFP_ATOMIC); buff 397 drivers/hid/hid-picolcd_debugfs.c if (!buff) buff 402 drivers/hid/hid-picolcd_debugfs.c kfree(buff); buff 406 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", buff 408 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 411 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data, raw_size); buff 412 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 417 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 419 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 420 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); buff 421 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 425 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 427 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 428 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); buff 429 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 433 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 435 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 436 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); buff 437 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 441 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 443 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 444 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", buff 446 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 450 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 452 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 457 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 460 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 464 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 467 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 471 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 473 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 474 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", buff 476 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 477 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); buff 478 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 482 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 484 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 485 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", buff 487 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 488 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); buff 489 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 491 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); buff 493 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); buff 494 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 495 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); buff 497 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); buff 499 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 504 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 506 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 509 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tAddress inside 64 byte block: 0x%02x%02x\n", buff 513 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tAddress inside 64 byte block: 0x%02x%02x%02x\n", buff 517 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNot supported\n"); buff 519 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 524 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 526 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 529 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", buff 531 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 532 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); buff 535 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x%02x\n", buff 537 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 538 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); buff 541 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNot supported\n"); buff 543 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 548 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 550 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 553 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", buff 555 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 556 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); buff 557 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 559 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); buff 561 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); buff 562 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 563 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); buff 565 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); buff 569 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x%02x\n", buff 571 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 572 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); buff 573 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 575 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); buff 577 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); buff 578 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 579 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+5, raw_data[4]); buff 581 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); buff 585 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNot supported\n"); buff 587 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 593 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 595 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 596 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tRestart delay: %dms (0x%02x%02x)\n", buff 599 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 602 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 604 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 607 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 609 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 612 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 614 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 617 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 619 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 622 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 624 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 625 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tRestart delay: %dms (0x%02x%02x)\n", buff 628 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 631 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", buff 633 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 638 drivers/hid/hid-picolcd_debugfs.c kfree(buff); buff 645 drivers/hid/hid-picolcd_debugfs.c char *buff; buff 652 drivers/hid/hid-picolcd_debugfs.c buff = kmalloc(BUFF_SZ, GFP_ATOMIC); buff 653 drivers/hid/hid-picolcd_debugfs.c if (!buff) buff 659 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 661 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 663 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tError code 0x%02x (%s) in reply to report 0x%02x\n", buff 666 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tError code 0x%02x in reply to report 0x%02x\n", buff 668 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 672 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 674 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 676 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo key pressed\n"); buff 678 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tOne key pressed: 0x%02x (%d)\n", buff 681 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tTwo keys pressed: 0x%02x (%d), 0x%02x (%d)\n", buff 683 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 687 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 689 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 691 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tUnexpectedly 0 data length\n"); buff 692 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 694 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n\tIR Data: ", buff 696 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 697 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+2, raw_data[1]); buff 698 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 700 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tOverflowing data length: %d\n", buff 702 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 707 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 709 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 710 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", buff 712 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 713 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); buff 714 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 716 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); buff 717 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 719 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); buff 720 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 721 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); buff 722 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 724 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); buff 725 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 730 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 732 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 735 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", buff 737 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 738 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); buff 739 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 741 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); buff 743 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); buff 744 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 745 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); buff 747 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); buff 751 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x%02x\n", buff 753 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 754 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); buff 755 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 757 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); buff 759 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); buff 760 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 761 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+5, raw_data[4]); buff 763 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); buff 767 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNot supported\n"); buff 769 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 772 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 774 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 775 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tFirmware version: %d.%d\n", buff 777 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 780 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 782 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 786 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 788 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 792 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 794 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 798 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 800 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 801 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tSerial: 0x%02x%02x%02x%02x\n", buff 803 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 804 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tType: 0x%02x\n", buff 806 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 809 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 811 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 812 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tTotal splash space: %d\n", buff 814 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 815 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tUsed splash space: %d\n", buff 817 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 820 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 822 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 823 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tFirmware version: %d.%d\n", buff 825 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 828 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", buff 830 drivers/hid/hid-picolcd_debugfs.c hid_debug_event(hdev, buff); buff 834 drivers/hid/hid-picolcd_debugfs.c kfree(buff); buff 431 drivers/hwmon/dell-smm-hwmon.c unsigned char buff[16]; buff 451 drivers/hwmon/dell-smm-hwmon.c memset(buff, 0, sizeof(buff)); buff 452 drivers/hwmon/dell-smm-hwmon.c strlcpy(buff, bios_machineid, sizeof(buff)); buff 508 drivers/hwmon/dell-smm-hwmon.c if (copy_to_user(argp, buff, 16)) buff 122 drivers/iio/accel/bma180.c u8 buff[16]; /* 3x 16-bit + 8-bit + padding + timestamp */ buff 678 drivers/iio/accel/bma180.c ((s16 *)data->buff)[i++] = ret; buff 683 drivers/iio/accel/bma180.c iio_push_to_buffers_with_timestamp(indio_dev, data->buff, time_ns); buff 325 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h u8 *buff; buff 372 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c hw->buff, pattern_len, buff 403 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c memcpy(gyro_buff, &hw->buff[offset], buff 408 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c memcpy(acc_buff, &hw->buff[offset], buff 416 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c memcpy(data, &hw->buff[offset], sizeof(data)); buff 544 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c hw->buff, pattern_len, buff 555 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c memcpy(iio_buff, &hw->buff[i + ST_LSM6DSX_TAG_SIZE], buff 558 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c tag = hw->buff[i] >> 3; buff 1500 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c hw->buff = devm_kzalloc(dev, ST_LSM6DSX_BUFF_SIZE, GFP_KERNEL); buff 1501 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c if (!hw->buff) buff 681 drivers/iio/magnetometer/ak8975.c u16 buff; buff 704 drivers/iio/magnetometer/ak8975.c buff = le16_to_cpu(rval); buff 705 drivers/iio/magnetometer/ak8975.c *val = clamp_t(s16, buff, -def->range, def->range); buff 808 drivers/iio/magnetometer/ak8975.c s16 buff[8]; /* 3 x 16 bits axis values + 1 aligned 64 bits timestamp */ buff 831 drivers/iio/magnetometer/ak8975.c buff[0] = clamp_t(s16, le16_to_cpu(fval[0]), -def->range, def->range); buff 832 drivers/iio/magnetometer/ak8975.c buff[1] = clamp_t(s16, le16_to_cpu(fval[1]), -def->range, def->range); buff 833 drivers/iio/magnetometer/ak8975.c buff[2] = clamp_t(s16, le16_to_cpu(fval[2]), -def->range, def->range); buff 835 drivers/iio/magnetometer/ak8975.c iio_push_to_buffers_with_timestamp(indio_dev, buff, buff 596 drivers/infiniband/hw/hfi1/debugfs.c char *buff; buff 606 drivers/infiniband/hw/hfi1/debugfs.c buff = memdup_user_nul(buf, count); buff 607 drivers/infiniband/hw/hfi1/debugfs.c if (IS_ERR(buff)) buff 608 drivers/infiniband/hw/hfi1/debugfs.c return PTR_ERR(buff); buff 610 drivers/infiniband/hw/hfi1/debugfs.c ret = kstrtoull(buff, 0, &value); buff 632 drivers/infiniband/hw/hfi1/debugfs.c kfree(buff); buff 771 drivers/infiniband/hw/hfi1/debugfs.c char *buff; buff 787 drivers/infiniband/hw/hfi1/debugfs.c buff = memdup_user(buf, count); buff 788 drivers/infiniband/hw/hfi1/debugfs.c if (IS_ERR(buff)) buff 789 drivers/infiniband/hw/hfi1/debugfs.c return PTR_ERR(buff); buff 791 drivers/infiniband/hw/hfi1/debugfs.c total_written = i2c_write(ppd, target, i2c_addr, offset, buff, count); buff 802 drivers/infiniband/hw/hfi1/debugfs.c kfree(buff); buff 825 drivers/infiniband/hw/hfi1/debugfs.c char *buff; buff 841 drivers/infiniband/hw/hfi1/debugfs.c buff = kmalloc(count, GFP_KERNEL); buff 842 drivers/infiniband/hw/hfi1/debugfs.c if (!buff) buff 845 drivers/infiniband/hw/hfi1/debugfs.c total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); buff 853 drivers/infiniband/hw/hfi1/debugfs.c ret = copy_to_user(buf, buff, total_read); buff 862 drivers/infiniband/hw/hfi1/debugfs.c kfree(buff); buff 885 drivers/infiniband/hw/hfi1/debugfs.c char *buff; buff 894 drivers/infiniband/hw/hfi1/debugfs.c buff = memdup_user(buf, count); buff 895 drivers/infiniband/hw/hfi1/debugfs.c if (IS_ERR(buff)) buff 896 drivers/infiniband/hw/hfi1/debugfs.c return PTR_ERR(buff); buff 898 drivers/infiniband/hw/hfi1/debugfs.c total_written = qsfp_write(ppd, target, *ppos, buff, count); buff 909 drivers/infiniband/hw/hfi1/debugfs.c kfree(buff); buff 932 drivers/infiniband/hw/hfi1/debugfs.c char *buff; buff 943 drivers/infiniband/hw/hfi1/debugfs.c buff = kmalloc(count, GFP_KERNEL); buff 944 drivers/infiniband/hw/hfi1/debugfs.c if (!buff) { buff 949 drivers/infiniband/hw/hfi1/debugfs.c total_read = qsfp_read(ppd, target, *ppos, buff, count); buff 957 drivers/infiniband/hw/hfi1/debugfs.c ret = copy_to_user(buf, buff, total_read); buff 966 drivers/infiniband/hw/hfi1/debugfs.c kfree(buff); buff 224 drivers/infiniband/hw/mlx4/sysfs.c char buff[11]; buff 251 drivers/infiniband/hw/mlx4/sysfs.c sprintf(buff, "%d", port_num); buff 252 drivers/infiniband/hw/mlx4/sysfs.c port->cur_port = kobject_create_and_add(buff, buff 266 drivers/infiniband/hw/mlx4/sysfs.c sprintf(buff, "%d", i); buff 269 drivers/infiniband/hw/mlx4/sysfs.c buff, port->admin_alias_parent, buff 284 drivers/infiniband/hw/mlx4/sysfs.c sprintf(buff, "%d", i); buff 288 drivers/infiniband/hw/mlx4/sysfs.c buff, buff 303 drivers/infiniband/hw/mlx4/sysfs.c sprintf(buff, "%d", i); buff 307 drivers/infiniband/hw/mlx4/sysfs.c buff, port->pkeys_parent, buff 52 drivers/infiniband/hw/ocrdma/ocrdma_stats.c char buff[128] = {0}; buff 55 drivers/infiniband/hw/ocrdma/ocrdma_stats.c snprintf(buff, 128, "%s: %llu\n", name, count); buff 56 drivers/infiniband/hw/ocrdma/ocrdma_stats.c cpy_len = strlen(buff); buff 63 drivers/infiniband/hw/ocrdma/ocrdma_stats.c memcpy(pcur, buff, cpy_len); buff 54 drivers/infiniband/hw/qib/qib_eeprom.c void *buff, int len) buff 65 drivers/infiniband/hw/qib/qib_eeprom.c eeprom_offset, buff, len); buff 101 drivers/infiniband/hw/qib/qib_eeprom.c const void *buff, int len) buff 107 drivers/infiniband/hw/qib/qib_eeprom.c ret = eeprom_write_with_enable(dd, eeprom_offset, buff, len); buff 53 drivers/infiniband/hw/qib/qib_qsfp.c u8 *buff = bp; buff 106 drivers/infiniband/hw/qib/qib_qsfp.c ret = qib_twsi_blk_rd(dd, QSFP_DEV, addr, buff + cnt, wlen); buff 163 drivers/infiniband/hw/qib/qib_qsfp.c u8 *buff = bp; buff 214 drivers/infiniband/hw/qib/qib_qsfp.c ret = qib_twsi_blk_wr(dd, QSFP_DEV, addr, buff + cnt, wlen); buff 692 drivers/infiniband/sw/siw/siw.h static inline __wsum siw_csum_update(const void *buff, int len, __wsum sum) buff 694 drivers/infiniband/sw/siw/siw.h return (__force __wsum)crc32c((__force __u32)sum, buff, len); buff 63 drivers/input/misc/uinput.c struct input_event buff[UINPUT_BUFFER_SIZE]; buff 79 drivers/input/misc/uinput.c udev->buff[udev->head] = (struct input_event) { buff 630 drivers/input/misc/uinput.c *event = udev->buff[udev->tail]; buff 243 drivers/leds/leds-netxbig.c const char *buff, size_t count) buff 253 drivers/leds/leds-netxbig.c ret = kstrtoul(buff, 10, &enable); buff 123 drivers/leds/leds-ns2.c const char *buff, size_t count) buff 131 drivers/leds/leds-ns2.c ret = kstrtoul(buff, 10, &enable); buff 66 drivers/media/radio/wl128x/fmdrv.h u8 buff[FM_RX_RDS_INFO_FIELD_MAX]; buff 119 drivers/media/radio/wl128x/fmdrv.h u8 *buff; buff 688 drivers/media/radio/wl128x/fmdrv_common.c rds_buff = &rds_format->data.groupdatabuff.buff[0]; buff 737 drivers/media/radio/wl128x/fmdrv_common.c buff[blk_idx * (FM_RDS_BLK_SIZE - 1)], buff 790 drivers/media/radio/wl128x/fmdrv_common.c memcpy(&rds->buff[rds->wr_idx], &tmpbuf, FM_RDS_BLK_SIZE); buff 1086 drivers/media/radio/wl128x/fmdrv_common.c memcpy(tmpbuf, &fmdev->rx.rds.buff[fmdev->rx.rds.rd_idx], buff 1628 drivers/media/radio/wl128x/fmdrv_common.c fmdev->rx.rds.buff = kzalloc(fmdev->rx.rds.buf_size, GFP_KERNEL); buff 1629 drivers/media/radio/wl128x/fmdrv_common.c if (NULL == fmdev->rx.rds.buff) { buff 1645 drivers/media/radio/wl128x/fmdrv_common.c kfree(fmdev->rx.rds.buff); buff 1659 drivers/media/radio/wl128x/fmdrv_common.c kfree(fmdev->rx.rds.buff); buff 391 drivers/media/usb/dvb-usb/m920x.c u8 *read, *buff; buff 394 drivers/media/usb/dvb-usb/m920x.c buff = kmalloc(65536, GFP_KERNEL); buff 395 drivers/media/usb/dvb-usb/m920x.c if (buff == NULL) buff 400 drivers/media/usb/dvb-usb/m920x.c kfree(buff); buff 425 drivers/media/usb/dvb-usb/m920x.c memcpy(buff, fw->data + i, size); buff 430 drivers/media/usb/dvb-usb/m920x.c value, index, buff, size, 20); buff 455 drivers/media/usb/dvb-usb/m920x.c kfree(buff); buff 205 drivers/media/usb/gspca/touptek.c char *buff = gspca_dev->usb_buf; buff 212 drivers/media/usb/gspca/touptek.c 0x0B, 0xC0, value, index, buff, 1, 500); buff 213 drivers/media/usb/gspca/touptek.c gspca_dbg(gspca_dev, D_USBO, "rc=%d, ret={0x%02x}\n", rc, (int)buff[0]); buff 220 drivers/media/usb/gspca/touptek.c if (val_reply(gspca_dev, buff, rc)) { buff 433 drivers/media/usb/gspca/touptek.c char *buff = gspca_dev->usb_buf; buff 451 drivers/media/usb/gspca/touptek.c 0x16, 0xC0, 0x0000, 0x0000, buff, 2, 500); buff 452 drivers/media/usb/gspca/touptek.c if (val_reply(gspca_dev, buff, rc)) { buff 1082 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c char __user *buff, size_t count, loff_t *ppos) buff 1106 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (copy_to_user(buff,tbuf,c2)) { buff 1112 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c buff += c2; buff 1128 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c ret = pvr2_ioread_read(fh->rhp,buff,count); buff 1208 drivers/mfd/sm501.c struct device_attribute *attr, char *buff) buff 1212 drivers/mfd/sm501.c char *ptr = buff; buff 1221 drivers/mfd/sm501.c return ptr - buff; buff 158 drivers/misc/genwqe/card_ddcb.c static inline u16 genwqe_crc16(const u8 *buff, size_t len, u16 init) buff 160 drivers/misc/genwqe/card_ddcb.c return crc_itu_t(init, buff, len); buff 194 drivers/misc/genwqe/card_utils.c u32 genwqe_crc32(u8 *buff, size_t len, u32 init) buff 201 drivers/misc/genwqe/card_utils.c i = ((crc >> 24) ^ *buff++) & 0xFF; buff 55 drivers/misc/genwqe/genwqe_driver.h u32 genwqe_crc32(u8 *buff, size_t len, u32 init); buff 58 drivers/misc/genwqe/genwqe_driver.h const void *buff, unsigned int size) buff 65 drivers/misc/genwqe/genwqe_driver.h print_hex_dump_debug(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff, buff 518 drivers/misc/ibmasm/ibmasmfs.c char *buff; buff 528 drivers/misc/ibmasm/ibmasmfs.c buff = kzalloc (count + 1, GFP_KERNEL); buff 529 drivers/misc/ibmasm/ibmasmfs.c if (!buff) buff 533 drivers/misc/ibmasm/ibmasmfs.c if (copy_from_user(buff, ubuff, count)) { buff 534 drivers/misc/ibmasm/ibmasmfs.c kfree(buff); buff 538 drivers/misc/ibmasm/ibmasmfs.c value = simple_strtoul(buff, NULL, 10); buff 540 drivers/misc/ibmasm/ibmasmfs.c kfree(buff); buff 437 drivers/mtd/nand/raw/fsmc_nand.c static int count_written_bits(u8 *buff, int size, int max_bits) buff 442 drivers/mtd/nand/raw/fsmc_nand.c written_bits += hweight8(~buff[k]); buff 483 drivers/mtd/nand/raw/sh_flctl.c (struct sh_flctl *flctl, uint8_t *buff, int sector) buff 487 drivers/mtd/nand/raw/sh_flctl.c unsigned long *ecc_buf = (unsigned long *)buff; buff 1127 drivers/net/ethernet/aeroflex/greth.c u32 *buff = p; buff 1130 drivers/net/ethernet/aeroflex/greth.c buff[i] = greth_read_bd(&greth_regs[i]); buff 347 drivers/net/ethernet/alacritech/slicoss.c struct slic_tx_buffer *buff; buff 361 drivers/net/ethernet/alacritech/slicoss.c buff = &txq->txbuffs[idx]; buff 363 drivers/net/ethernet/alacritech/slicoss.c if (unlikely(!buff->skb)) { buff 369 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_addr(buff, map_addr), buff 370 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_len(buff, map_len), DMA_TO_DEVICE); buff 372 drivers/net/ethernet/alacritech/slicoss.c bytes += buff->skb->len; buff 375 drivers/net/ethernet/alacritech/slicoss.c dev_kfree_skb_any(buff->skb); buff 376 drivers/net/ethernet/alacritech/slicoss.c buff->skb = NULL; buff 399 drivers/net/ethernet/alacritech/slicoss.c struct slic_rx_buffer *buff; buff 438 drivers/net/ethernet/alacritech/slicoss.c buff = &rxq->rxbuffs[rxq->put_idx]; buff 439 drivers/net/ethernet/alacritech/slicoss.c buff->skb = skb; buff 440 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_addr_set(buff, map_addr, paddr); buff 441 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_len_set(buff, map_len, maplen); buff 442 drivers/net/ethernet/alacritech/slicoss.c buff->addr_offset = offset; buff 552 drivers/net/ethernet/alacritech/slicoss.c struct slic_rx_buffer *buff; buff 561 drivers/net/ethernet/alacritech/slicoss.c buff = &rxq->rxbuffs[rxq->done_idx]; buff 563 drivers/net/ethernet/alacritech/slicoss.c skb = buff->skb; buff 570 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_addr(buff, map_addr), buff 571 drivers/net/ethernet/alacritech/slicoss.c buff->addr_offset + sizeof(*desc), buff 577 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_addr(buff, buff 579 drivers/net/ethernet/alacritech/slicoss.c buff->addr_offset + buff 585 drivers/net/ethernet/alacritech/slicoss.c buff->skb = NULL; buff 588 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_addr(buff, map_addr), buff 589 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_len(buff, map_len), buff 840 drivers/net/ethernet/alacritech/slicoss.c struct slic_tx_buffer *buff; buff 849 drivers/net/ethernet/alacritech/slicoss.c txq->txbuffs = kcalloc(txq->len, sizeof(*buff), GFP_KERNEL); buff 863 drivers/net/ethernet/alacritech/slicoss.c buff = &txq->txbuffs[i]; buff 865 drivers/net/ethernet/alacritech/slicoss.c &buff->desc_paddr); buff 877 drivers/net/ethernet/alacritech/slicoss.c buff->desc = desc; buff 884 drivers/net/ethernet/alacritech/slicoss.c buff = &txq->txbuffs[i]; buff 885 drivers/net/ethernet/alacritech/slicoss.c dma_pool_free(txq->dma_pool, buff->desc, buff->desc_paddr); buff 898 drivers/net/ethernet/alacritech/slicoss.c struct slic_tx_buffer *buff; buff 902 drivers/net/ethernet/alacritech/slicoss.c buff = &txq->txbuffs[i]; buff 903 drivers/net/ethernet/alacritech/slicoss.c dma_pool_free(txq->dma_pool, buff->desc, buff->desc_paddr); buff 904 drivers/net/ethernet/alacritech/slicoss.c if (!buff->skb) buff 908 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_addr(buff, map_addr), buff 909 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_len(buff, map_len), DMA_TO_DEVICE); buff 910 drivers/net/ethernet/alacritech/slicoss.c consume_skb(buff->skb); buff 920 drivers/net/ethernet/alacritech/slicoss.c struct slic_rx_buffer *buff; buff 926 drivers/net/ethernet/alacritech/slicoss.c buff = kcalloc(rxq->len, sizeof(*buff), GFP_KERNEL); buff 927 drivers/net/ethernet/alacritech/slicoss.c if (!buff) buff 930 drivers/net/ethernet/alacritech/slicoss.c rxq->rxbuffs = buff; buff 939 drivers/net/ethernet/alacritech/slicoss.c struct slic_rx_buffer *buff; buff 944 drivers/net/ethernet/alacritech/slicoss.c buff = &rxq->rxbuffs[i]; buff 946 drivers/net/ethernet/alacritech/slicoss.c if (!buff->skb) buff 950 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_addr(buff, map_addr), buff 951 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_len(buff, map_len), buff 953 drivers/net/ethernet/alacritech/slicoss.c consume_skb(buff->skb); buff 1412 drivers/net/ethernet/alacritech/slicoss.c struct slic_tx_buffer *buff; buff 1432 drivers/net/ethernet/alacritech/slicoss.c buff = &txq->txbuffs[txq->put_idx]; buff 1433 drivers/net/ethernet/alacritech/slicoss.c buff->skb = skb; buff 1434 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_addr_set(buff, map_addr, paddr); buff 1435 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_len_set(buff, map_len, maplen); buff 1437 drivers/net/ethernet/alacritech/slicoss.c desc = buff->desc; buff 1445 drivers/net/ethernet/alacritech/slicoss.c cbar_val = lower_32_bits(buff->desc_paddr) | 1; buff 1445 drivers/net/ethernet/amd/pcnet32.c u16 *buff = ptr; buff 1459 drivers/net/ethernet/amd/pcnet32.c *buff++ = inw(ioaddr + i); buff 1463 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_csr(ioaddr, i); buff 1465 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_csr(ioaddr, 112); buff 1466 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_csr(ioaddr, 114); buff 1470 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_bcr(ioaddr, i); buff 1472 drivers/net/ethernet/amd/pcnet32.c *buff++ = 0; /* skip bcr30 so as not to hang 79C976 */ buff 1475 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_bcr(ioaddr, i); buff 1485 drivers/net/ethernet/amd/pcnet32.c *buff++ = lp->a->read_bcr(ioaddr, 34); buff 227 drivers/net/ethernet/aquantia/atlantic/aq_ring.c struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; buff 229 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (likely(buff->is_mapped)) { buff 230 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (unlikely(buff->is_sop)) { buff 231 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (!buff->is_eop && buff 232 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->eop_index != 0xffffU && buff 234 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->eop_index, buff 238 drivers/net/ethernet/aquantia/atlantic/aq_ring.c dma_unmap_single(dev, buff->pa, buff->len, buff 241 drivers/net/ethernet/aquantia/atlantic/aq_ring.c dma_unmap_page(dev, buff->pa, buff->len, buff 246 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (unlikely(buff->is_eop)) { buff 248 drivers/net/ethernet/aquantia/atlantic/aq_ring.c self->stats.tx.bytes += buff->skb->len; buff 250 drivers/net/ethernet/aquantia/atlantic/aq_ring.c dev_kfree_skb_any(buff->skb); buff 252 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->pa = 0U; buff 253 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->eop_index = 0xffffU; buff 261 drivers/net/ethernet/aquantia/atlantic/aq_ring.c struct aq_ring_buff_s *buff, buff 267 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (unlikely(buff->is_cso_err)) { buff 272 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (buff->is_ip_cso) { buff 278 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (buff->is_udp_cso || buff->is_tcp_cso) buff 295 drivers/net/ethernet/aquantia/atlantic/aq_ring.c struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; buff 302 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (buff->is_cleaned) buff 305 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (!buff->is_eop) { buff 306 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff_ = buff; buff 318 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->is_error |= buff_->is_error; buff 319 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->is_cso_err |= buff_->is_cso_err; buff 327 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (buff->is_error || buff->is_cso_err) { buff 328 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff_ = buff; buff 341 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (buff->is_error) { buff 347 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->rxdata.daddr, buff 348 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->rxdata.pg_off, buff 349 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->len, DMA_FROM_DEVICE); buff 352 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (buff->is_eop && buff 353 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->len <= AQ_CFG_RX_FRAME_MAX - AQ_SKB_ALIGN) { buff 354 drivers/net/ethernet/aquantia/atlantic/aq_ring.c skb = build_skb(aq_buf_vaddr(&buff->rxdata), buff 360 drivers/net/ethernet/aquantia/atlantic/aq_ring.c skb_put(skb, buff->len); buff 361 drivers/net/ethernet/aquantia/atlantic/aq_ring.c page_ref_inc(buff->rxdata.page); buff 369 drivers/net/ethernet/aquantia/atlantic/aq_ring.c hdr_len = buff->len; buff 372 drivers/net/ethernet/aquantia/atlantic/aq_ring.c aq_buf_vaddr(&buff->rxdata), buff 375 drivers/net/ethernet/aquantia/atlantic/aq_ring.c memcpy(__skb_put(skb, hdr_len), aq_buf_vaddr(&buff->rxdata), buff 378 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (buff->len - hdr_len > 0) { buff 379 drivers/net/ethernet/aquantia/atlantic/aq_ring.c skb_add_rx_frag(skb, 0, buff->rxdata.page, buff 380 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->rxdata.pg_off + hdr_len, buff 381 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->len - hdr_len, buff 383 drivers/net/ethernet/aquantia/atlantic/aq_ring.c page_ref_inc(buff->rxdata.page); buff 386 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (!buff->is_eop) { buff 387 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff_ = buff; buff 407 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->is_ip_cso &= buff_->is_ip_cso; buff 408 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->is_udp_cso &= buff_->is_udp_cso; buff 409 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->is_tcp_cso &= buff_->is_tcp_cso; buff 410 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->is_cso_err |= buff_->is_cso_err; buff 416 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (buff->is_vlan) buff 418 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->vlan_rx_tag); buff 422 drivers/net/ethernet/aquantia/atlantic/aq_ring.c aq_rx_checksum(self, buff, skb); buff 424 drivers/net/ethernet/aquantia/atlantic/aq_ring.c skb_set_hash(skb, buff->rss_hash, buff 425 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->is_hash_l4 ? PKT_HASH_TYPE_L4 : buff 443 drivers/net/ethernet/aquantia/atlantic/aq_ring.c struct aq_ring_buff_s *buff = NULL; buff 453 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff = &self->buff_ring[self->sw_tail]; buff 455 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->flags = 0U; buff 456 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->len = AQ_CFG_RX_FRAME_MAX; buff 458 drivers/net/ethernet/aquantia/atlantic/aq_ring.c err = aq_get_rxpages(self, buff, page_order); buff 462 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->pa = aq_buf_daddr(&buff->rxdata); buff 463 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff = NULL; buff 477 drivers/net/ethernet/aquantia/atlantic/aq_ring.c struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; buff 479 drivers/net/ethernet/aquantia/atlantic/aq_ring.c aq_free_rxpage(&buff->rxdata, aq_nic_get_dev(self->aq_nic)); buff 435 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c struct aq_ring_buff_s *buff = NULL; buff 442 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff = &ring->buff_ring[ring->sw_tail]; buff 443 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c pkt_len = (buff->is_eop && buff->is_sop) ? buff->len : buff->len_pkt; buff 452 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff = &ring->buff_ring[ring->sw_tail]; buff 454 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c if (buff->is_gso) { buff 455 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= (buff->len_l3 << 31) | buff 456 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c (buff->len_l2 << 24) | buff 459 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl2 |= (buff->mss << 16) | buff 460 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c (buff->len_l4 << 8) | buff 461 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c (buff->len_l3 >> 1); buff 463 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c pkt_len -= (buff->len_l4 + buff 464 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->len_l3 + buff 465 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->len_l2); buff 468 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c if (buff->is_ipv6) buff 471 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff_pa_len = buff->len; buff 473 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->buf_addr = buff->pa; buff 486 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c if (buff->is_ip_cso) buff 489 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c if (buff->is_udp_cso || buff->is_tcp_cso) buff 492 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c if (unlikely(buff->is_eop)) { buff 588 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c struct aq_ring_buff_s *buff = &ring->buff_ring[sw_tail_old]; buff 590 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c rxd->buf_addr = buff->pa; buff 621 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c struct aq_ring_buff_s *buff = NULL; buff 657 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff = &ring->buff_ring[ring->hw_head]; buff 668 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->is_ip_cso = (is_err & 0x08U) ? 0 : 1; buff 671 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->is_udp_cso = (is_err & 0x10U) ? 0 : 1; buff 673 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->is_tcp_cso = (is_err & 0x10U) ? 0 : 1; buff 677 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->is_ip_cso = 0U; buff 678 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->is_cso_err = 0U; buff 687 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->is_error = 1U; buff 694 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->is_hash_l4 = (rss_type == 0x4 || buff 696 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->rss_hash = rxd_wb->rss_hash; buff 701 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->len = rxd_wb->pkt_len % buff 703 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->len = buff->len ? buff 704 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->len : AQ_CFG_RX_FRAME_MAX; buff 705 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->next = 0U; buff 706 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->is_eop = 1U; buff 709 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c buff->next = aq_ring_next_dx(ring, buff 490 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c struct aq_ring_buff_s *buff = NULL; buff 498 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff = &ring->buff_ring[ring->sw_tail]; buff 499 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c pkt_len = (buff->is_eop && buff->is_sop) ? buff->len : buff->len_pkt; buff 508 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff = &ring->buff_ring[ring->sw_tail]; buff 510 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c if (buff->is_gso) { buff 513 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= (buff->len_l3 << 31) | buff 514 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c (buff->len_l2 << 24); buff 515 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl2 |= (buff->mss << 16); buff 518 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c pkt_len -= (buff->len_l4 + buff 519 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->len_l3 + buff 520 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->len_l2); buff 521 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c if (buff->is_ipv6) buff 523 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl2 |= (buff->len_l4 << 8) | buff 524 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c (buff->len_l3 >> 1); buff 526 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c if (buff->is_vlan) { buff 528 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= buff->vlan_tx_tag << 4; buff 531 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c if (!buff->is_gso && !buff->is_vlan) { buff 532 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff_pa_len = buff->len; buff 534 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->buf_addr = buff->pa; buff 550 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c if (buff->is_ip_cso) buff 553 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c if (buff->is_udp_cso || buff->is_tcp_cso) buff 559 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c if (unlikely(buff->is_eop)) { buff 656 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c struct aq_ring_buff_s *buff = &ring->buff_ring[sw_tail_old]; buff 658 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c rxd->buf_addr = buff->pa; buff 689 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c struct aq_ring_buff_s *buff = NULL; buff 701 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff = &ring->buff_ring[ring->hw_head]; buff 703 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->flags = 0U; buff 704 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_hash_l4 = 0U; buff 715 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_ip_cso = (rx_stat & BIT(1)) ? 0U : 1U; buff 719 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_udp_cso = (rx_stat & BIT(2)) ? 0U : buff 722 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_tcp_cso = (rx_stat & BIT(2)) ? 0U : buff 725 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_cso_err = !!(rx_stat & 0x6); buff 728 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_ip_cso = 0U; buff 729 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_cso_err = 0U; buff 735 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_vlan = 1; buff 736 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->vlan_rx_tag = le16_to_cpu(rxd_wb->vlan); buff 741 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_error = 1U; buff 748 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_hash_l4 = (rss_type == 0x4 || buff 750 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->rss_hash = rxd_wb->rss_hash; buff 755 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->len = rxd_wb->pkt_len % buff 757 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->len = buff->len ? buff 758 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->len : AQ_CFG_RX_FRAME_MAX; buff 759 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->next = 0U; buff 760 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->is_eop = 1U; buff 762 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->len = buff 769 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->next = rxd_wb->next_desc_ptr; buff 773 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c buff->next = buff 460 drivers/net/ethernet/atheros/atl1c/atl1c.h #define ATL1C_SET_BUFFER_STATE(buff, state) do { \ buff 461 drivers/net/ethernet/atheros/atl1c/atl1c.h ((buff)->flags) &= ~ATL1C_BUFFER_STATE_MASK; \ buff 462 drivers/net/ethernet/atheros/atl1c/atl1c.h ((buff)->flags) |= (state); \ buff 465 drivers/net/ethernet/atheros/atl1c/atl1c.h #define ATL1C_SET_PCIMAP_TYPE(buff, type, direction) do { \ buff 466 drivers/net/ethernet/atheros/atl1c/atl1c.h ((buff)->flags) &= ~ATL1C_PCIMAP_TYPE_MASK; \ buff 467 drivers/net/ethernet/atheros/atl1c/atl1c.h ((buff)->flags) |= (type); \ buff 468 drivers/net/ethernet/atheros/atl1c/atl1c.h ((buff)->flags) &= ~ATL1C_PCIMAP_DIRECTION_MASK; \ buff 469 drivers/net/ethernet/atheros/atl1c/atl1c.h ((buff)->flags) |= (direction); \ buff 55 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, buff 59 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c for (i = 0; i < len; i += 4, buff++) buff 60 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c *buff = REG_RD(bp, addr + i); buff 63 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c static void bnx2x_write_data(struct bnx2x *bp, u32 *buff, buff 67 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c for (i = 0; i < len; i += 4, buff++) buff 68 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c REG_WR(bp, addr + i, *buff); buff 2784 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u8 *buff) buff 2795 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c rc = bnx2x_nvram_read(bp, offset + done, buff, count); buff 2800 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c crc = crc32_le(crc, buff, count); buff 2812 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u8 *buff) buff 2822 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c rc = bnx2x_nvram_crc(bp, entry->nvm_start_addr, size, buff); buff 2830 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c static int bnx2x_test_dir_entry(struct bnx2x *bp, u32 addr, u8 *buff) buff 2839 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return bnx2x_test_nvram_dir(bp, &entry, buff); buff 2842 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c static int bnx2x_test_nvram_ext_dirs(struct bnx2x *bp, u8 *buff) buff 2868 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c buff); buff 2876 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c static int bnx2x_test_nvram_dirs(struct bnx2x *bp, u8 *buff) buff 2886 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c buff); buff 2891 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return bnx2x_test_nvram_ext_dirs(bp, buff); buff 1289 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ch_tp_pio->outbuf; buff 1302 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c t4_tp_pio_read(padap, buff, tp_pio->ireg_offset_range, buff 1315 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ch_tp_pio->outbuf; buff 1328 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c t4_tp_tm_pio_read(padap, buff, tp_pio->ireg_offset_range, buff 1343 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ch_tp_pio->outbuf; buff 1360 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c t4_tp_mib_read(padap, buff, tp_pio->ireg_offset_range, buff 1371 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff, i; buff 1374 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff = qbase->pf_data_value[func]; buff 1376 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff = qbase->vf_data_value[func]; buff 1384 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c for (i = 0; i < SGE_QBASE_DATA_REG_NUM; i++, buff++) buff 1385 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c *buff = t4_read_reg(padap, qbase->reg_data[i]); buff 1407 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ch_sge_dbg->outbuf; buff 1416 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff, buff 1611 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ch_pcie->outbuf; buff 1620 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff, buff 1630 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ch_pcie->outbuf; buff 1639 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff, buff 1667 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ch_pm->outbuf; buff 1676 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff, buff 1686 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ch_pm->outbuf; buff 1695 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff, buff 1949 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c struct cudbg_ch_cntxt *buff = *out_buff; buff 1954 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c cudbg_read_sge_ctxt(pdbg_init, j, ctxt_type, buff->data); buff 1955 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_sge_ctxt_check_valid(buff->data, ctxt_type); buff 1959 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff->cntxt_type = ctxt_type; buff 1960 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff->cntxt_id = j; buff 1961 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff++; buff 1963 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c cudbg_read_sge_ctxt(pdbg_init, j, CTXT_CNM, buff->data); buff 1964 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff->cntxt_type = CTXT_CNM; buff 1965 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff->cntxt_id = j; buff 1966 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff++; buff 1970 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c *out_buff = buff; buff 1982 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c struct cudbg_ch_cntxt *buff; buff 2016 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff = (struct cudbg_ch_cntxt *)temp_buff.data; buff 2026 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c &buff); buff 2047 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c &buff); buff 2053 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c dst_off = (u64 *)buff->data; buff 2061 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_sge_ctxt_check_valid(buff->data, i); buff 2065 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff->cntxt_type = i; buff 2066 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff->cntxt_id = j; buff 2067 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff++; buff 2080 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c cudbg_get_sge_ctxt_fw(pdbg_init, max_ctx_qid, CTXT_FLM, &buff); buff 2584 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ma_indr->outbuf; buff 2591 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff, ma_fli->ireg_offset_range, buff 2599 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = ma_indr->outbuf; buff 2606 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ma_fli->ireg_data, buff, 1, buff 2608 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff++; buff 2707 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = up_cim->outbuf; buff 2745 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c for (j = 0; j < iter; j++, buff++) { buff 2748 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c (j * local_offset), local_range, buff); buff 2893 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *buff = hma_indr->outbuf; buff 2900 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff, hma_fli->ireg_offset_range, buff 1877 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void t4_tp_pio_read(struct adapter *adap, u32 *buff, u32 nregs, buff 1879 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void t4_tp_tm_pio_read(struct adapter *adap, u32 *buff, u32 nregs, buff 1881 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void t4_tp_mib_read(struct adapter *adap, u32 *buff, u32 nregs, buff 5354 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 *buff, u32 nregs, u32 start_index, int rw, buff 5375 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c rc = t4_tp_fw_ldst_rw(adap, cmd, buff, nregs, start_index, rw, buff 5382 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_read_indirect(adap, reg_addr, reg_data, buff, nregs, buff 5385 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_write_indirect(adap, reg_addr, reg_data, buff, nregs, buff 5400 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c void t4_tp_pio_read(struct adapter *adap, u32 *buff, u32 nregs, buff 5403 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_tp_indirect_rw(adap, TP_PIO_ADDR_A, TP_PIO_DATA_A, buff, nregs, buff 5417 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c static void t4_tp_pio_write(struct adapter *adap, u32 *buff, u32 nregs, buff 5420 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_tp_indirect_rw(adap, TP_PIO_ADDR_A, TP_PIO_DATA_A, buff, nregs, buff 5434 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c void t4_tp_tm_pio_read(struct adapter *adap, u32 *buff, u32 nregs, buff 5437 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_tp_indirect_rw(adap, TP_TM_PIO_ADDR_A, TP_TM_PIO_DATA_A, buff, buff 5451 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c void t4_tp_mib_read(struct adapter *adap, u32 *buff, u32 nregs, u32 start_index, buff 5454 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_tp_indirect_rw(adap, TP_MIB_INDEX_A, TP_MIB_DATA_A, buff, nregs, buff 202 drivers/net/ethernet/freescale/ucc_geth_ethtool.c u32 *buff = p; buff 205 drivers/net/ethernet/freescale/ucc_geth_ethtool.c buff[i] = in_be32(&ug_regs[i]); buff 690 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c char *buff = (char *)data; buff 697 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c snprintf(buff, ETH_GSTRING_LEN, "%s", buff 699 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c buff = buff + ETH_GSTRING_LEN; buff 2590 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c char *buff = data; buff 2594 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_pad_drop_pkts", node); buff 2595 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2596 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_manage_pkts", node); buff 2597 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2598 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pkts", node); buff 2599 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2600 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pkt_id", node); buff 2601 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2602 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pause_frame", node); buff 2603 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2604 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_release_buf_num", node); buff 2605 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2606 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_sbm_drop_pkts", node); buff 2607 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2608 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_crc_false_pkts", node); buff 2609 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2610 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_bp_drop_pkts", node); buff 2611 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2612 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_lookup_rslt_drop_pkts", node); buff 2613 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2614 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_local_rslt_fail_pkts", node); buff 2615 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2616 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_vlan_drop_pkts", node); buff 2617 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2618 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "innod%d_stp_drop_pkts", node); buff 2619 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2622 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff + 0 * ETH_GSTRING_LEN * DSAF_PRIO_NR, buff 2625 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff + 1 * ETH_GSTRING_LEN * DSAF_PRIO_NR, buff 2628 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2630 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += 1 * DSAF_PRIO_NR * ETH_GSTRING_LEN; buff 2632 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c snprintf(buff, ETH_GSTRING_LEN, "onnod%d_tx_pkts", node); buff 2633 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff += ETH_GSTRING_LEN; buff 2635 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c return buff; buff 2718 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c char *buff = (char *)data; buff 2725 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c buff = hns_dsaf_get_node_stats_strings(buff, node, dsaf_dev); buff 2729 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c (void)hns_dsaf_get_node_stats_strings(buff, node, dsaf_dev); buff 464 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c char *buff = (char *)data; buff 467 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_sw_pkt", index); buff 468 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 469 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_pkt_ok", index); buff 470 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 471 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_drop_pkt_no_bd", index); buff 472 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 473 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_alloc_buf_fail", index); buff 474 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 475 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_alloc_buf_wait", index); buff 476 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 477 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_pkt_drop_no_buf", index); buff 478 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 479 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_pkt_err_fifo_full", index); buff 480 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 482 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_bd", index); buff 483 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 484 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_pkt", index); buff 485 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 486 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_pkt_ok", index); buff 487 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 488 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_pkt_err_fifo_empty", index); buff 489 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c buff = buff + ETH_GSTRING_LEN; buff 490 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_pkt_err_csum_fail", index); buff 931 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c char *buff = (char *)data; buff 936 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_rcb_pkt_num", index); buff 937 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 938 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_tx_pkt_num", index); buff 939 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 940 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_drop_pkt_num", index); buff 941 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 942 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_fbd_num", index); buff 943 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 945 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_pkt_num", index); buff 946 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 947 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_bytes", index); buff 948 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 949 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_err_cnt", index); buff 950 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 951 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_io_err", index); buff 952 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 953 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_sw_err", index); buff 954 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 955 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_seg_pkt", index); buff 956 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 957 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_restart_queue", index); buff 958 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 959 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_tx_busy", index); buff 960 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 962 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_rcb_pkt_num", index); buff 963 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 964 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_ppe_pkt_num", index); buff 965 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 966 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_ppe_drop_pkt_num", index); buff 967 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 968 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_fbd_num", index); buff 969 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 971 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_pkt_num", index); buff 972 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 973 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_bytes", index); buff 974 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 975 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_err_cnt", index); buff 976 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 977 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_io_err", index); buff 978 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 979 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_sw_err", index); buff 980 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 981 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_seg_pkt", index); buff 982 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 983 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_reuse_pg", index); buff 984 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 985 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_len_err", index); buff 986 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 987 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_non_vld_desc_err", index); buff 988 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 989 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_bd_num_err", index); buff 990 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 991 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_l2_err", index); buff 992 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c buff = buff + ETH_GSTRING_LEN; buff 993 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_l3l4csum_err", index); buff 761 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c char *buff = (char *)data; buff 768 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c snprintf(buff, ETH_GSTRING_LEN, g_xgmac_stats_string[i].desc); buff 769 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c buff = buff + ETH_GSTRING_LEN; buff 382 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c char buff[33]; /* 32B data and the last character '\0' */ buff 433 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff + i % 16 * 2, 3, /* tailing \0*/ buff 436 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c pr_info("%s\n", buff); buff 894 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c char *buff = (char *)data; buff 903 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c memcpy(buff, hns_nic_test_strs[MAC_INTERNALLOOP_MAC], buff 905 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff += ETH_GSTRING_LEN; buff 907 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c memcpy(buff, hns_nic_test_strs[MAC_INTERNALLOOP_SERDES], buff 909 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff += ETH_GSTRING_LEN; buff 911 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c memcpy(buff, hns_nic_test_strs[MAC_INTERNALLOOP_PHY], buff 915 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_packets"); buff 916 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 917 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_packets"); buff 918 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 919 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_bytes"); buff 920 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 921 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_bytes"); buff 922 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 923 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_errors"); buff 924 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 925 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_errors"); buff 926 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 927 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_dropped"); buff 928 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 929 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_dropped"); buff 930 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 931 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "multicast"); buff 932 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 933 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "collisions"); buff 934 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 935 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_over_errors"); buff 936 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 937 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_crc_errors"); buff 938 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 939 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_frame_errors"); buff 940 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 941 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_fifo_errors"); buff 942 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 943 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_missed_errors"); buff 944 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 945 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_aborted_errors"); buff 946 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 947 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_carrier_errors"); buff 948 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 949 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_fifo_errors"); buff 950 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 951 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_heartbeat_errors"); buff 952 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 953 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_length_errors"); buff 954 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 955 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_window_errors"); buff 956 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 957 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "rx_compressed"); buff 958 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 959 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "tx_compressed"); buff 960 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 961 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "netdev_rx_dropped"); buff 962 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 963 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "netdev_tx_dropped"); buff 964 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 966 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c snprintf(buff, ETH_GSTRING_LEN, "netdev_tx_timeout"); buff 967 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c buff = buff + ETH_GSTRING_LEN; buff 969 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c h->dev->ops->get_strings(h, stringset, (u8 *)buff); buff 461 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c char *buff = (char *)data; buff 468 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c buff = hns3_get_strings_tqps(h, buff); buff 469 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ops->get_strings(h, stringset, (u8 *)buff); buff 592 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u64 *buff = data; buff 597 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *buff++ = tqp->tqp_stats.rcb_tx_ring_pktnum_rcd; buff 602 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *buff++ = tqp->tqp_stats.rcb_rx_ring_pktnum_rcd; buff 605 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return buff; buff 619 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 *buff = data; buff 625 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c snprintf(buff, ETH_GSTRING_LEN, "txq%d_pktnum_rcd", buff 627 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buff = buff + ETH_GSTRING_LEN; buff 633 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c snprintf(buff, ETH_GSTRING_LEN, "rxq%d_pktnum_rcd", buff 635 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buff = buff + ETH_GSTRING_LEN; buff 638 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return buff; buff 658 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c char *buff = (char *)data; buff 662 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return buff; buff 665 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c snprintf(buff, ETH_GSTRING_LEN, "%s", strs[i].desc); buff 666 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buff = buff + ETH_GSTRING_LEN; buff 669 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return (u8 *)buff; buff 146 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u64 *buff = data; buff 151 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c *buff++ = tqp->tqp_stats.rcb_tx_ring_pktnum_rcd; buff 155 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c *buff++ = tqp->tqp_stats.rcb_rx_ring_pktnum_rcd; buff 158 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c return buff; buff 171 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u8 *buff = data; buff 177 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c snprintf(buff, ETH_GSTRING_LEN, "txq%d_pktnum_rcd", buff 179 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c buff += ETH_GSTRING_LEN; buff 185 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c snprintf(buff, ETH_GSTRING_LEN, "rxq%d_pktnum_rcd", buff 187 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c buff += ETH_GSTRING_LEN; buff 190 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c return buff; buff 169 drivers/net/ethernet/ibm/ibmvnic.c ltb->buff = dma_alloc_coherent(dev, ltb->size, <b->addr, buff 172 drivers/net/ethernet/ibm/ibmvnic.c if (!ltb->buff) { buff 183 drivers/net/ethernet/ibm/ibmvnic.c dma_free_coherent(dev, ltb->size, ltb->buff, ltb->addr); buff 191 drivers/net/ethernet/ibm/ibmvnic.c dma_free_coherent(dev, ltb->size, ltb->buff, ltb->addr); buff 202 drivers/net/ethernet/ibm/ibmvnic.c if (!ltb->buff) buff 208 drivers/net/ethernet/ibm/ibmvnic.c dma_free_coherent(dev, ltb->size, ltb->buff, ltb->addr); buff 216 drivers/net/ethernet/ibm/ibmvnic.c memset(ltb->buff, 0, ltb->size); buff 281 drivers/net/ethernet/ibm/ibmvnic.c dst = pool->long_term_buff.buff + offset; buff 607 drivers/net/ethernet/ibm/ibmvnic.c kfree(adapter->vpd->buff); buff 943 drivers/net/ethernet/ibm/ibmvnic.c if (adapter->vpd->buff) buff 957 drivers/net/ethernet/ibm/ibmvnic.c if (!adapter->vpd->buff) buff 958 drivers/net/ethernet/ibm/ibmvnic.c adapter->vpd->buff = kzalloc(adapter->vpd->len, GFP_KERNEL); buff 960 drivers/net/ethernet/ibm/ibmvnic.c adapter->vpd->buff = buff 961 drivers/net/ethernet/ibm/ibmvnic.c krealloc(adapter->vpd->buff, buff 964 drivers/net/ethernet/ibm/ibmvnic.c if (!adapter->vpd->buff) { buff 970 drivers/net/ethernet/ibm/ibmvnic.c dma_map_single(dev, adapter->vpd->buff, adapter->vpd->len, buff 974 drivers/net/ethernet/ibm/ibmvnic.c kfree(adapter->vpd->buff); buff 975 drivers/net/ethernet/ibm/ibmvnic.c adapter->vpd->buff = NULL; buff 986 drivers/net/ethernet/ibm/ibmvnic.c kfree(adapter->vpd->buff); buff 987 drivers/net/ethernet/ibm/ibmvnic.c adapter->vpd->buff = NULL; buff 1471 drivers/net/ethernet/ibm/ibmvnic.c dst = tx_pool->long_term_buff.buff + offset; buff 3837 drivers/net/ethernet/ibm/ibmvnic.c substr = strnstr(adapter->vpd->buff, "RM", adapter->vpd->len); buff 3844 drivers/net/ethernet/ibm/ibmvnic.c if ((substr + 2) < (adapter->vpd->buff + adapter->vpd->len)) { buff 3853 drivers/net/ethernet/ibm/ibmvnic.c (adapter->vpd->buff + adapter->vpd->len)) { buff 881 drivers/net/ethernet/ibm/ibmvnic.h unsigned char *buff; buff 932 drivers/net/ethernet/ibm/ibmvnic.h unsigned char *buff; buff 2449 drivers/net/ethernet/intel/e100.c u32 *buff = p; buff 2453 drivers/net/ethernet/intel/e100.c buff[0] = ioread8(&nic->csr->scb.cmd_hi) << 24 | buff 2457 drivers/net/ethernet/intel/e100.c buff[1 + E100_PHY_REGS - i] = buff 2462 drivers/net/ethernet/intel/e100.c memcpy(&buff[2 + E100_PHY_REGS], nic->mem->dump_buf, buff 298 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c static void fm10k_get_reg_q(struct fm10k_hw *hw, u32 *buff, int i) buff 302 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RDBAL(i)); buff 303 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RDBAH(i)); buff 304 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RDLEN(i)); buff 305 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TPH_RXCTRL(i)); buff 306 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RDH(i)); buff 307 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RDT(i)); buff 308 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RXQCTL(i)); buff 309 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RXDCTL(i)); buff 310 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RXINT(i)); buff 311 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_SRRCTL(i)); buff 312 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_QPRC(i)); buff 313 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_QPRDC(i)); buff 314 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_QBRC_L(i)); buff 315 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_QBRC_H(i)); buff 316 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TDBAL(i)); buff 317 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TDBAH(i)); buff 318 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TDLEN(i)); buff 319 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TPH_TXCTRL(i)); buff 320 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TDH(i)); buff 321 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TDT(i)); buff 322 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TXDCTL(i)); buff 323 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TXQCTL(i)); buff 324 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TXINT(i)); buff 325 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_QPTC(i)); buff 326 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_QBTC_L(i)); buff 327 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_QBTC_H(i)); buff 328 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TQDLOC(i)); buff 329 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_TX_SGLORT(i)); buff 330 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_PFVTCTL(i)); buff 338 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c static void fm10k_get_reg_vsi(struct fm10k_hw *hw, u32 *buff, int i) buff 342 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_MRQC(i)); buff 344 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RSSRK(i, j)); buff 346 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff[idx++] = fm10k_read_reg(hw, FM10K_RETA(i, j)); buff 356 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c u32 *buff = p; buff 364 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_CTRL); buff 365 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_CTRL_EXT); buff 366 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_GCR); buff 367 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_GCR_EXT); buff 370 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_DGLORTMAP(i)); buff 371 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_DGLORTDEC(i)); buff 375 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_get_reg_vsi(hw, buff, i); buff 376 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff += FM10K_REGS_LEN_VSI; buff 379 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_DMA_CTRL); buff 380 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_DMA_CTRL2); buff 383 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_get_reg_q(hw, buff, i); buff 384 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff += FM10K_REGS_LEN_Q; buff 387 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_TPH_CTRL); buff 390 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_INT_MAP(i)); buff 394 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_ITR(i)); buff 399 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_VFCTRL); buff 400 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_VFINT_MAP); buff 401 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_VFSYSTIME); buff 405 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(buff++) = fm10k_read_reg(hw, FM10K_VFITR(i)); buff 407 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_get_reg_vsi(hw, buff, 0); buff 408 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff += FM10K_REGS_LEN_VSI; buff 412 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_get_reg_q(hw, buff, i); buff 414 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c memset(buff, 0, sizeof(u32) * FM10K_REGS_LEN_Q); buff 415 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c buff += FM10K_REGS_LEN_Q; buff 732 drivers/net/ethernet/intel/i40e/i40e_adminq.c void *buff, /* can be NULL */ buff 824 drivers/net/ethernet/intel/i40e/i40e_adminq.c if (buff != NULL) { buff 827 drivers/net/ethernet/intel/i40e/i40e_adminq.c memcpy(dma_buff->va, buff, buff_size); buff 842 drivers/net/ethernet/intel/i40e/i40e_adminq.c buff, buff_size); buff 869 drivers/net/ethernet/intel/i40e/i40e_adminq.c if (buff != NULL) buff 870 drivers/net/ethernet/intel/i40e/i40e_adminq.c memcpy(buff, dma_buff->va, buff_size); buff 893 drivers/net/ethernet/intel/i40e/i40e_adminq.c i40e_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size); buff 3195 drivers/net/ethernet/intel/i40e/i40e_common.c static void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff, buff 3208 drivers/net/ethernet/intel/i40e/i40e_common.c cap = (struct i40e_aqc_list_capabilities_element_resp *) buff; buff 3447 drivers/net/ethernet/intel/i40e/i40e_common.c void *buff, u16 buff_size, u16 *data_size, buff 3469 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); buff 3475 drivers/net/ethernet/intel/i40e/i40e_common.c i40e_parse_discover_capabilities(hw, buff, le32_to_cpu(cmd->count), buff 3589 drivers/net/ethernet/intel/i40e/i40e_common.c u8 mib_type, void *buff, u16 buff_size, buff 3600 drivers/net/ethernet/intel/i40e/i40e_common.c if (buff_size == 0 || !buff) buff 3617 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); buff 3806 drivers/net/ethernet/intel/i40e/i40e_common.c void *buff, u16 buff_size, buff 3812 drivers/net/ethernet/intel/i40e/i40e_common.c if (buff_size == 0 || !buff) buff 3818 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_asq_send_command(hw, &desc, (void *)buff, buff_size, buff 3946 drivers/net/ethernet/intel/i40e/i40e_common.c void *buff, u16 buff_size, buff 3990 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); buff 4531 drivers/net/ethernet/intel/i40e/i40e_common.c void *buff, u16 *ret_buff_size, buff 4542 drivers/net/ethernet/intel/i40e/i40e_common.c if (buff_size == 0 || !buff) buff 4558 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); buff 5410 drivers/net/ethernet/intel/i40e/i40e_common.c i40e_status_code i40e_aq_write_ddp(struct i40e_hw *hw, void *buff, buff 5433 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); buff 5454 drivers/net/ethernet/intel/i40e/i40e_common.c i40e_status_code i40e_aq_get_ddp_list(struct i40e_hw *hw, void *buff, buff 5473 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); buff 38 drivers/net/ethernet/intel/i40e/i40e_ddp.c u8 buff[I40E_PROFILE_LIST_SIZE]; buff 42 drivers/net/ethernet/intel/i40e/i40e_ddp.c status = i40e_aq_get_ddp_list(hw, buff, I40E_PROFILE_LIST_SIZE, 0, buff 47 drivers/net/ethernet/intel/i40e/i40e_ddp.c profile_list = (struct i40e_ddp_profile_list *)buff; buff 93 drivers/net/ethernet/intel/i40e/i40e_ddp.c u8 buff[I40E_PROFILE_LIST_SIZE]; buff 97 drivers/net/ethernet/intel/i40e/i40e_ddp.c status = i40e_aq_get_ddp_list(hw, buff, I40E_PROFILE_LIST_SIZE, 0, buff 102 drivers/net/ethernet/intel/i40e/i40e_ddp.c profile_list = (struct i40e_ddp_profile_list *)buff; buff 1067 drivers/net/ethernet/intel/i40e/i40e_debugfs.c u8 *buff; buff 1081 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = kzalloc(buff_len, GFP_KERNEL); buff 1082 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (!buff) buff 1086 drivers/net/ethernet/intel/i40e/i40e_debugfs.c index, buff_len, buff, &rlen, buff 1093 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(buff); buff 1094 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = NULL; buff 1102 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff, rlen, true); buff 1103 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(buff); buff 1104 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = NULL; buff 1252 drivers/net/ethernet/intel/i40e/i40e_debugfs.c u8 *buff; buff 1279 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = kzalloc(buffer_len, GFP_KERNEL); buff 1280 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (!buff) { buff 1286 drivers/net/ethernet/intel/i40e/i40e_debugfs.c ret = i40e_asq_send_command(&pf->hw, desc, buff, buff 1309 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff, buffer_len, true); buff 1310 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(buff); buff 1311 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = NULL; buff 1373 drivers/net/ethernet/intel/i40e/i40e_debugfs.c u8 *buff; buff 1375 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = kzalloc(I40E_LLDPDU_SIZE, GFP_KERNEL); buff 1376 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (!buff) buff 1381 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff, I40E_LLDPDU_SIZE, buff 1387 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(buff); buff 1388 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = NULL; buff 1394 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff, I40E_LLDPDU_SIZE, true); buff 1395 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(buff); buff 1396 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = NULL; buff 1400 drivers/net/ethernet/intel/i40e/i40e_debugfs.c u8 *buff; buff 1402 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = kzalloc(I40E_LLDPDU_SIZE, GFP_KERNEL); buff 1403 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (!buff) buff 1409 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff, I40E_LLDPDU_SIZE, buff 1415 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(buff); buff 1416 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = NULL; buff 1422 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff, I40E_LLDPDU_SIZE, true); buff 1423 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(buff); buff 1424 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = NULL; buff 1452 drivers/net/ethernet/intel/i40e/i40e_debugfs.c u16 *buff; buff 1479 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = kzalloc(bytes, GFP_KERNEL); buff 1480 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (!buff) buff 1488 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(buff); buff 1493 drivers/net/ethernet/intel/i40e/i40e_debugfs.c bytes, (u8 *)buff, true, NULL); buff 1506 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff, bytes, true); buff 1508 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(buff); buff 1509 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff = NULL; buff 1377 drivers/net/ethernet/intel/i40e/i40e_nvm.c u8 *buff = NULL; buff 1415 drivers/net/ethernet/intel/i40e/i40e_nvm.c buff = hw->nvm_buff.va; buff 1416 drivers/net/ethernet/intel/i40e/i40e_nvm.c memcpy(buff, &bytes[aq_desc_len], aq_data_len); buff 1424 drivers/net/ethernet/intel/i40e/i40e_nvm.c status = i40e_asq_send_command(hw, aq_desc, buff, buff 1460 drivers/net/ethernet/intel/i40e/i40e_nvm.c u8 *buff; buff 1492 drivers/net/ethernet/intel/i40e/i40e_nvm.c buff = ((u8 *)&hw->nvm_wb_desc) + cmd->offset; buff 1493 drivers/net/ethernet/intel/i40e/i40e_nvm.c memcpy(bytes, buff, len); buff 1497 drivers/net/ethernet/intel/i40e/i40e_nvm.c buff = hw->nvm_buff.va; buff 1499 drivers/net/ethernet/intel/i40e/i40e_nvm.c buff = hw->nvm_buff.va + (cmd->offset - aq_desc_len); buff 1503 drivers/net/ethernet/intel/i40e/i40e_nvm.c int start_byte = buff - (u8 *)hw->nvm_buff.va; buff 1507 drivers/net/ethernet/intel/i40e/i40e_nvm.c memcpy(bytes, buff, remainder); buff 27 drivers/net/ethernet/intel/i40e/i40e_prototype.h void *buff, /* can be NULL */ buff 189 drivers/net/ethernet/intel/i40e/i40e_prototype.h void *buff, u16 buff_size, u16 *data_size, buff 200 drivers/net/ethernet/intel/i40e/i40e_prototype.h u8 mib_type, void *buff, u16 buff_size, buff 219 drivers/net/ethernet/intel/i40e/i40e_prototype.h void *buff, u16 buff_size, buff 399 drivers/net/ethernet/intel/i40e/i40e_prototype.h void *buff, u16 *ret_buff_size, buff 436 drivers/net/ethernet/intel/i40e/i40e_prototype.h i40e_status i40e_aq_write_ddp(struct i40e_hw *hw, void *buff, buff 441 drivers/net/ethernet/intel/i40e/i40e_prototype.h i40e_status i40e_aq_get_ddp_list(struct i40e_hw *hw, void *buff, buff 634 drivers/net/ethernet/intel/iavf/iavf_adminq.c void *buff, /* can be NULL */ buff 726 drivers/net/ethernet/intel/iavf/iavf_adminq.c if (buff) { buff 729 drivers/net/ethernet/intel/iavf/iavf_adminq.c memcpy(dma_buff->va, buff, buff_size); buff 744 drivers/net/ethernet/intel/iavf/iavf_adminq.c buff, buff_size); buff 771 drivers/net/ethernet/intel/iavf/iavf_adminq.c if (buff) buff 772 drivers/net/ethernet/intel/iavf/iavf_adminq.c memcpy(buff, dma_buff->va, buff_size); buff 795 drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_debug_aq(hw, IAVF_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size); buff 27 drivers/net/ethernet/intel/iavf/iavf_prototype.h void *buff, /* can be NULL */ buff 761 drivers/net/ethernet/intel/ice/ice_dcb.c struct ice_aqc_get_cee_dcb_cfg_resp *buff, buff 768 drivers/net/ethernet/intel/ice/ice_dcb.c return ice_aq_send_cmd(hw, &desc, (void *)buff, sizeof(*buff), cd); buff 21 drivers/net/ethernet/intel/ice/ice_flex_pipe.h enum ice_status ice_init_pkg(struct ice_hw *hw, u8 *buff, u32 len); buff 129 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c void *buff; buff 133 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->buff.size = TRACE_BUFFER_SIZE_BYTE; buff 136 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c buff = (void *)__get_free_pages(gfp, buff 137 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c get_order(tracer->buff.size)); buff 138 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (!buff) { buff 143 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->buff.log_buf = buff; buff 145 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c dma = dma_map_single(ddev, buff, tracer->buff.size, DMA_FROM_DEVICE); buff 152 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->buff.dma = dma; buff 157 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c free_pages((unsigned long)tracer->buff.log_buf, get_order(tracer->buff.size)); buff 167 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (!tracer->buff.log_buf) buff 170 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c dma_unmap_single(ddev, tracer->buff.dma, tracer->buff.size, DMA_FROM_DEVICE); buff 171 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c free_pages((unsigned long)tracer->buff.log_buf, get_order(tracer->buff.size)); buff 193 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mtt[i] = cpu_to_be64(tracer->buff.dma + i * PAGE_SIZE); buff 199 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mkc, mkc, pd, tracer->buff.pdn); buff 205 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET64(mkc, mkc, start_addr, tracer->buff.dma); buff 206 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET64(mkc, mkc, len, tracer->buff.size); buff 207 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_create_mkey(dev, &tracer->buff.mkey, in, inlen); buff 676 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c block_count = tracer->buff.size / TRACER_BLOCK_SIZE_BYTE; buff 677 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; buff 680 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, buff 696 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c (tracer->buff.consumer_index - 1) & (block_count - 1); buff 699 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c ts_event = tracer->buff.log_buf + prev_start_offset + buff 710 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->buff.consumer_index = buff 711 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c (tracer->buff.consumer_index + 1) & (block_count - 1); buff 722 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->buff.consumer_index = buff 723 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c (tracer->buff.consumer_index + 1) & (block_count - 1); buff 726 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; buff 727 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, buff 746 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_conf, in, trace_mkey, tracer->buff.mkey.key); buff 817 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->buff.consumer_index = 0; buff 1005 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_alloc_pd(dev, &tracer->buff.pdn); buff 1025 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_core_dealloc_pd(dev, tracer->buff.pdn); buff 1044 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_core_destroy_mkey(tracer->dev, &tracer->buff.mkey); buff 1045 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_core_dealloc_pd(tracer->dev, tracer->buff.pdn); buff 94 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h } buff; buff 656 drivers/net/ethernet/mellanox/mlx5/core/en.h } buff; buff 28 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c rq->buff.umem_headroom); buff 94 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c u16 rx_headroom = rq->buff.headroom - rq->buff.umem_headroom; buff 115 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c frag_size = rq->buff.headroom + cqe_bcnt32; buff 157 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c u16 rx_headroom = rq->buff.headroom - rq->buff.umem_headroom; buff 171 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c frag_size = rq->buff.headroom + cqe_bcnt; buff 425 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rq->buff.map_dir = rq->xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE; buff 426 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rq->buff.headroom = mlx5e_get_rq_headroom(mdev, params, xsk); buff 427 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rq->buff.umem_headroom = xsk ? xsk->headroom : 0; buff 553 drivers/net/ethernet/mellanox/mlx5/core/en_main.c pp_params.dma_dir = rq->buff.map_dir; buff 580 drivers/net/ethernet/mellanox/mlx5/core/en_main.c wqe->data[0].addr = cpu_to_be64(dma_offset + rq->buff.headroom); buff 251 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c PAGE_SIZE, rq->buff.map_dir); buff 272 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c dma_unmap_page(rq->pdev, dma_info->addr, PAGE_SIZE, rq->buff.map_dir); buff 348 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c frag->offset + rq->buff.headroom); buff 1062 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c u16 rx_headroom = rq->buff.headroom; buff 1287 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c u16 rx_headroom = rq->buff.headroom; buff 987 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c void *buff; buff 992 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = tail_param; buff 994 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = mask->match_buf; buff 996 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_copy_mask_spec(buff, &set_param->outer); buff 1005 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = tail_param; buff 1007 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = data + param_location; buff 1009 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_copy_mask_misc(buff, &set_param->misc); buff 1018 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = tail_param; buff 1020 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = data + param_location; buff 1022 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_copy_mask_spec(buff, &set_param->inner); buff 1031 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = tail_param; buff 1033 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = data + param_location; buff 1035 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_copy_mask_misc2(buff, &set_param->misc2); buff 1045 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = tail_param; buff 1047 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c buff = data + param_location; buff 1049 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_copy_mask_misc3(buff, &set_param->misc3); buff 499 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c u8 buff[0]; buff 558 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c comp_data->buff); buff 564 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c if (memcmp(comp_data->buff, mlxfw_mfa2_comp_magic, buff 571 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c comp_data->comp.data = comp_data->buff + mlxfw_mfa2_comp_magic_len; buff 5187 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 buff) buff 5189 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pptb_prio_to_buff_set(payload, prio, buff); buff 5190 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pptb_prio_to_buff_msb_set(payload, prio, buff); buff 453 drivers/net/ethernet/micrel/ks8851.c static void ks8851_rdfifo(struct ks8851_net *ks, u8 *buff, unsigned len) buff 461 drivers/net/ethernet/micrel/ks8851.c "%s: %d@%p\n", __func__, len, buff); buff 471 drivers/net/ethernet/micrel/ks8851.c xfer->rx_buf = buff; buff 915 drivers/net/ethernet/microchip/encx24j600.c u16 *buff = p; buff 924 drivers/net/ethernet/microchip/encx24j600.c buff[reg] = val & 0xffff; buff 7358 drivers/net/ethernet/neterion/s2io.c unsigned char *buff = skb_push(skb, buf0_len); buff 7361 drivers/net/ethernet/neterion/s2io.c memcpy(buff, ba->ba_0, buf0_len); buff 30 drivers/net/ethernet/netronome/nfp/nfpcore/crc32.h static inline u32 crc32_posix(const void *buff, size_t len) buff 32 drivers/net/ethernet/netronome/nfp/nfpcore/crc32.h return crc32_posix_end(crc32_be(0, buff, len), len); buff 1111 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c const void *buff, size_t len) buff 1114 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c const u32 *src = buff; buff 1218 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c void *buff, size_t len) buff 1221 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c u32 *dst = buff; buff 366 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h const void *buff, size_t len); buff 368 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h void *buff, size_t len); buff 417 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h const void *buff, size_t len); buff 419 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_get(struct nfp_cpp_explicit *expl, void *buff, size_t len); buff 429 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h u64 addr, void *buff, size_t len, buff 433 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h u64 addr, const void *buff, size_t len, buff 1425 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c const void *buff, size_t len) buff 1427 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return NFP_EXPL_OP(explicit_put, expl, buff, len); buff 1461 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_explicit_get(struct nfp_cpp_explicit *expl, void *buff, size_t len) buff 1463 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return NFP_EXPL_OP(explicit_get, expl, buff, len); buff 154 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c u64 addr, void *buff, size_t len, int width_read) buff 157 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c char *tmp = buff; buff 207 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c const void *buff, size_t len, int width_write) buff 210 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c const char *tmp = buff; buff 590 drivers/net/ethernet/pasemi/pasemi_mac.c u64 *buff = &RX_BUFF(rx, fill); buff 595 drivers/net/ethernet/pasemi/pasemi_mac.c WARN_ON(*buff); buff 614 drivers/net/ethernet/pasemi/pasemi_mac.c *buff = XCT_RXB_LEN(mac->bufsz) | XCT_RXB_ADDR(dma); buff 144 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c u32 *buff = adapter->mdump.md_template; buff 148 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c sum += *buff++ ; buff 287 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h u8 *buff; buff 1689 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c u16 *buff = (u16 *)p_dev->ahw->reset.buff; buff 1693 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c sum += *buff++; buff 1712 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (ahw->reset.buff != NULL) { buff 1716 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c kfree(ahw->reset.buff); buff 1722 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->reset.buff = kzalloc(QLC_83XX_RESTART_TEMPLATE_SIZE, GFP_KERNEL); buff 1723 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (ahw->reset.buff == NULL) buff 1726 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c p_buff = p_dev->ahw->reset.buff; buff 1735 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->reset.hdr = (struct qlc_83xx_reset_hdr *)ahw->reset.buff; buff 1737 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c p_buff = ahw->reset.buff + ahw->reset.hdr->hdr_size; buff 1749 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->reset.init_offset = ahw->reset.buff + ahw->reset.hdr->init_offset; buff 1750 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->reset.start_offset = ahw->reset.buff + buff 1752 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->reset.stop_offset = ahw->reset.buff + ahw->reset.hdr->hdr_size; buff 1037 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c unsigned char buff[QLCNIC_ILB_PKT_SIZE]; buff 1038 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_create_loopback_buff(buff, mac); buff 1039 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c return memcmp(data, buff, QLCNIC_ILB_PKT_SIZE); buff 2130 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c kfree(adapter->ahw->reset.buff); buff 213 drivers/net/ethernet/qualcomm/emac/emac-ethtool.c struct ethtool_regs *regs, void *buff) buff 216 drivers/net/ethernet/qualcomm/emac/emac-ethtool.c u32 *val = buff; buff 109 drivers/net/ethernet/ti/netcp_core.c static void get_pkt_info(dma_addr_t *buff, u32 *buff_len, dma_addr_t *ndesc, buff 113 drivers/net/ethernet/ti/netcp_core.c *buff = le32_to_cpu(desc->buff); buff 136 drivers/net/ethernet/ti/netcp_core.c static void get_org_pkt_info(dma_addr_t *buff, u32 *buff_len, buff 139 drivers/net/ethernet/ti/netcp_core.c *buff = le32_to_cpu(desc->orig_buff); buff 151 drivers/net/ethernet/ti/netcp_core.c static void set_pkt_info(dma_addr_t buff, u32 buff_len, u32 ndesc, buff 155 drivers/net/ethernet/ti/netcp_core.c desc->buff = cpu_to_le32(buff); buff 178 drivers/net/ethernet/ti/netcp_core.c static void set_org_pkt_info(dma_addr_t buff, u32 buff_len, buff 181 drivers/net/ethernet/ti/netcp_core.c desc->orig_buff = cpu_to_le32(buff); buff 1107 drivers/net/ethernet/xscale/ixp4xx_eth.c buffer_t *buff; /* skb or kmalloc()ated memory */ buff 1110 drivers/net/ethernet/xscale/ixp4xx_eth.c if (!(buff = netdev_alloc_skb(port->netdev, RX_BUFF_SIZE))) buff 1112 drivers/net/ethernet/xscale/ixp4xx_eth.c data = buff->data; buff 1114 drivers/net/ethernet/xscale/ixp4xx_eth.c if (!(buff = kmalloc(RX_BUFF_SIZE, GFP_KERNEL))) buff 1116 drivers/net/ethernet/xscale/ixp4xx_eth.c data = buff; buff 1122 drivers/net/ethernet/xscale/ixp4xx_eth.c free_buffer(buff); buff 1126 drivers/net/ethernet/xscale/ixp4xx_eth.c port->rx_buff_tab[i] = buff; buff 1139 drivers/net/ethernet/xscale/ixp4xx_eth.c buffer_t *buff = port->rx_buff_tab[i]; buff 1140 drivers/net/ethernet/xscale/ixp4xx_eth.c if (buff) { buff 1144 drivers/net/ethernet/xscale/ixp4xx_eth.c free_buffer(buff); buff 1149 drivers/net/ethernet/xscale/ixp4xx_eth.c buffer_t *buff = port->tx_buff_tab[i]; buff 1150 drivers/net/ethernet/xscale/ixp4xx_eth.c if (buff) { buff 1152 drivers/net/ethernet/xscale/ixp4xx_eth.c free_buffer(buff); buff 182 drivers/net/usb/ch9200.c unsigned char buff[2]; buff 190 drivers/net/usb/ch9200.c control_read(dev, REQUEST_READ, 0, loc * 2, buff, 0x02, buff 193 drivers/net/usb/ch9200.c return (buff[0] | buff[1] << 8); buff 200 drivers/net/usb/ch9200.c unsigned char buff[2]; buff 208 drivers/net/usb/ch9200.c buff[0] = (unsigned char)val; buff 209 drivers/net/usb/ch9200.c buff[1] = (unsigned char)(val >> 8); buff 211 drivers/net/usb/ch9200.c control_write(dev, REQUEST_WRITE, 0, loc * 2, buff, 0x02, buff 246 drivers/net/wan/hd64570.c u32 buff; buff 257 drivers/net/wan/hd64570.c buff = buffer_offset(port, rxin, 0); buff 258 drivers/net/wan/hd64570.c page = buff / winsize(card); buff 259 drivers/net/wan/hd64570.c buff = buff % winsize(card); buff 260 drivers/net/wan/hd64570.c maxlen = winsize(card) - buff; buff 265 drivers/net/wan/hd64570.c memcpy_fromio(skb->data, winbase(card) + buff, maxlen); buff 269 drivers/net/wan/hd64570.c memcpy_fromio(skb->data, winbase(card) + buff, len); buff 622 drivers/net/wan/hd64570.c u32 buff, len; buff 637 drivers/net/wan/hd64570.c buff = buffer_offset(port, port->txin, 1); buff 639 drivers/net/wan/hd64570.c page = buff / winsize(card); buff 640 drivers/net/wan/hd64570.c buff = buff % winsize(card); buff 641 drivers/net/wan/hd64570.c maxlen = winsize(card) - buff; buff 645 drivers/net/wan/hd64570.c memcpy_toio(winbase(card) + buff, skb->data, maxlen); buff 649 drivers/net/wan/hd64570.c memcpy_toio(winbase(card) + buff, skb->data, len); buff 205 drivers/net/wan/hd64572.c u32 buff; buff 214 drivers/net/wan/hd64572.c buff = buffer_offset(port, rxin, 0); buff 215 drivers/net/wan/hd64572.c memcpy_fromio(skb->data, card->rambase + buff, len); buff 567 drivers/net/wan/hd64572.c u32 buff, len; buff 580 drivers/net/wan/hd64572.c buff = buffer_offset(port, port->txin, 1); buff 582 drivers/net/wan/hd64572.c memcpy_toio(card->rambase + buff, skb->data, len); buff 986 drivers/net/wan/ixp4xx_hss.c buffer_t *buff; buff 989 drivers/net/wan/ixp4xx_hss.c if (!(buff = netdev_alloc_skb(port->netdev, RX_SIZE))) buff 991 drivers/net/wan/ixp4xx_hss.c data = buff->data; buff 993 drivers/net/wan/ixp4xx_hss.c if (!(buff = kmalloc(RX_SIZE, GFP_KERNEL))) buff 995 drivers/net/wan/ixp4xx_hss.c data = buff; buff 1001 drivers/net/wan/ixp4xx_hss.c free_buffer(buff); buff 1004 drivers/net/wan/ixp4xx_hss.c port->rx_buff_tab[i] = buff; buff 1017 drivers/net/wan/ixp4xx_hss.c buffer_t *buff = port->rx_buff_tab[i]; buff 1018 drivers/net/wan/ixp4xx_hss.c if (buff) { buff 1022 drivers/net/wan/ixp4xx_hss.c free_buffer(buff); buff 1027 drivers/net/wan/ixp4xx_hss.c buffer_t *buff = port->tx_buff_tab[i]; buff 1028 drivers/net/wan/ixp4xx_hss.c if (buff) { buff 1030 drivers/net/wan/ixp4xx_hss.c free_buffer(buff); buff 4638 drivers/net/wireless/ath/ath10k/wmi.c char buff[WMI_TPC_BUF_SIZE]; buff 4673 drivers/net/wireless/ath/ath10k/wmi.c memset(buff, 0, sizeof(buff)); buff 4684 drivers/net/wireless/ath/ath10k/wmi.c snprintf(buff, sizeof(buff), "%8d ", tpc[j]); buff 4685 drivers/net/wireless/ath/ath10k/wmi.c strlcat(tpc_value, buff, sizeof(tpc_value)); buff 4988 drivers/net/wireless/ath/ath10k/wmi.c char buff[WMI_TPC_BUF_SIZE]; buff 5023 drivers/net/wireless/ath/ath10k/wmi.c memset(buff, 0, sizeof(buff)); buff 5034 drivers/net/wireless/ath/ath10k/wmi.c snprintf(buff, sizeof(buff), "%8d ", tpc[j]); buff 5035 drivers/net/wireless/ath/ath10k/wmi.c strlcat(tpc_value, buff, sizeof(tpc_value)); buff 738 drivers/net/wireless/atmel/atmel.c u16 len, u16 buff, u8 type) buff 740 drivers/net/wireless/atmel/atmel.c atmel_wmem16(priv, atmel_tx(priv, TX_DESC_POS_OFFSET, priv->tx_desc_tail), buff); buff 805 drivers/net/wireless/atmel/atmel.c u16 buff, frame_ctl, len = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN; buff 831 drivers/net/wireless/atmel/atmel.c if (!(buff = find_tx_buff(priv, len + 18))) { buff 860 drivers/net/wireless/atmel/atmel.c atmel_copy_to_card(dev, buff, (unsigned char *)&header, DATA_FRAME_WS_HEADER_SIZE); buff 862 drivers/net/wireless/atmel/atmel.c atmel_copy_to_card(dev, buff + DATA_FRAME_WS_HEADER_SIZE, skb->data + 12, len - 12); buff 866 drivers/net/wireless/atmel/atmel.c tx_update_descriptor(priv, *(skb->data) & 0x01, len + 18, buff, TX_PACKET_TYPE_DATA); buff 880 drivers/net/wireless/atmel/atmel.c u16 buff; buff 883 drivers/net/wireless/atmel/atmel.c if (!(buff = find_tx_buff(priv, len))) buff 886 drivers/net/wireless/atmel/atmel.c atmel_copy_to_card(priv->dev, buff, (u8 *)header, MGMT_FRAME_BODY_OFFSET); buff 887 drivers/net/wireless/atmel/atmel.c atmel_copy_to_card(priv->dev, buff + MGMT_FRAME_BODY_OFFSET, body, body_len); buff 889 drivers/net/wireless/atmel/atmel.c tx_update_descriptor(priv, header->addr1[0] & 0x01, len, buff, TX_PACKET_TYPE_MGMT); buff 807 drivers/net/wireless/intel/iwlegacy/3945-rs.c char *buff; buff 813 drivers/net/wireless/intel/iwlegacy/3945-rs.c buff = kmalloc(1024, GFP_KERNEL); buff 814 drivers/net/wireless/intel/iwlegacy/3945-rs.c if (!buff) buff 818 drivers/net/wireless/intel/iwlegacy/3945-rs.c sprintf(buff + desc, buff 825 drivers/net/wireless/intel/iwlegacy/3945-rs.c sprintf(buff + desc, "counter=%d success=%d %%=%d\n", buff 830 drivers/net/wireless/intel/iwlegacy/3945-rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 831 drivers/net/wireless/intel/iwlegacy/3945-rs.c kfree(buff); buff 3126 drivers/net/wireless/intel/iwlegacy/4965-mac.c u8 buff[sizeof(struct il_wep_cmd) + buff 3128 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il_wep_cmd *wep_cmd = (struct il_wep_cmd *)buff; buff 2570 drivers/net/wireless/intel/iwlegacy/4965-rs.c char *buff; buff 2581 drivers/net/wireless/intel/iwlegacy/4965-rs.c buff = kmalloc(1024, GFP_KERNEL); buff 2582 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (!buff) buff 2585 drivers/net/wireless/intel/iwlegacy/4965-rs.c desc += sprintf(buff + desc, "sta_id %d\n", lq_sta->lq.sta_id); buff 2587 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, "failed=%d success=%d rate=0%X\n", buff 2591 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, "fixed rate 0x%X\n", lq_sta->dbg_fixed_rate); buff 2593 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, "valid_tx_ant %s%s%s\n", buff 2598 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, "lq type %s\n", buff 2602 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, " %s", buff 2605 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, " %s", buff 2608 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, " %s %s %s\n", buff 2614 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, "last tx rate=0x%X\n", buff 2617 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, buff 2625 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, buff 2633 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, buff 2647 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, " rate[%d] 0x%X %smbps\n", i, buff 2653 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, " rate[%d] 0x%X %smbps (%s)\n", buff 2662 drivers/net/wireless/intel/iwlegacy/4965-rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 2663 drivers/net/wireless/intel/iwlegacy/4965-rs.c kfree(buff); buff 2678 drivers/net/wireless/intel/iwlegacy/4965-rs.c char *buff; buff 2685 drivers/net/wireless/intel/iwlegacy/4965-rs.c buff = kmalloc(1024, GFP_KERNEL); buff 2686 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (!buff) buff 2691 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, buff 2701 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, buff 2708 drivers/net/wireless/intel/iwlegacy/4965-rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 2709 drivers/net/wireless/intel/iwlegacy/4965-rs.c kfree(buff); buff 2724 drivers/net/wireless/intel/iwlegacy/4965-rs.c char buff[120]; buff 2731 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, "Bit Rate= %d Mb/s\n", buff 2735 drivers/net/wireless/intel/iwlegacy/4965-rs.c sprintf(buff + desc, "Bit Rate= %d Mb/s\n", buff 2738 drivers/net/wireless/intel/iwlegacy/4965-rs.c return simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 3100 drivers/net/wireless/intel/iwlwifi/dvm/rs.c char *buff; buff 3111 drivers/net/wireless/intel/iwlwifi/dvm/rs.c buff = kmalloc(1024, GFP_KERNEL); buff 3112 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (!buff) buff 3115 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, "sta_id %d\n", lq_sta->lq.sta_id); buff 3116 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, "failed=%d success=%d rate=0%X\n", buff 3119 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, "fixed rate 0x%X\n", buff 3121 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, "valid_tx_ant %s%s%s\n", buff 3125 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, "lq type %s\n", buff 3128 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff + desc, " %s", buff 3131 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff + desc, " %s", buff 3133 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff + desc, " %s %s %s\n", buff 3138 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, "last tx rate=0x%X\n", buff 3140 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, "general:" buff 3147 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, "agg:" buff 3153 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, buff 3164 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, " rate[%d] 0x%X %smbps\n", buff 3168 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, " rate[%d] 0x%X %smbps (%s)\n", buff 3174 drivers/net/wireless/intel/iwlwifi/dvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 3175 drivers/net/wireless/intel/iwlwifi/dvm/rs.c kfree(buff); buff 3188 drivers/net/wireless/intel/iwlwifi/dvm/rs.c char *buff; buff 3195 drivers/net/wireless/intel/iwlwifi/dvm/rs.c buff = kmalloc(1024, GFP_KERNEL); buff 3196 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (!buff) buff 3200 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, buff 3211 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, buff 3218 drivers/net/wireless/intel/iwlwifi/dvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 3219 drivers/net/wireless/intel/iwlwifi/dvm/rs.c kfree(buff); buff 3234 drivers/net/wireless/intel/iwlwifi/dvm/rs.c char buff[120]; buff 3238 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, buff 3242 drivers/net/wireless/intel/iwlwifi/dvm/rs.c desc += sprintf(buff+desc, buff 3246 drivers/net/wireless/intel/iwlwifi/dvm/rs.c return simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 945 drivers/net/wireless/intel/iwlwifi/dvm/sta.c u8 buff[sizeof(struct iwl_wep_cmd) + buff 947 drivers/net/wireless/intel/iwlwifi/dvm/sta.c struct iwl_wep_cmd *wep_cmd = (struct iwl_wep_cmd *)buff; buff 434 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char *buff; buff 438 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c buff = kmalloc(bufsz, GFP_KERNEL); buff 439 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (!buff) buff 444 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c desc += scnprintf(buff + desc, bufsz - desc, "sta_id %d\n", buff 446 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c desc += scnprintf(buff + desc, bufsz - desc, buff 449 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c desc += scnprintf(buff + desc, bufsz - desc, buff 452 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c desc += scnprintf(buff + desc, bufsz - desc, buff 457 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c desc += scnprintf(buff + desc, bufsz - desc, buff 461 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c desc += rs_pretty_print_rate(buff + desc, bufsz - desc, buff 465 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 466 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c kfree(buff); buff 738 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char *buff, *pos, *endpos; buff 742 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c buff = kmalloc(bufsz, GFP_KERNEL); buff 743 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (!buff) buff 746 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c pos = buff; buff 758 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff); buff 759 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c kfree(buff); buff 964 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char *buff, *pos, *endpos; buff 969 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c buff = kmalloc(bufsz, GFP_KERNEL); buff 970 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (!buff) buff 975 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c pos = buff; buff 1018 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff); buff 1019 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c kfree(buff); buff 3800 drivers/net/wireless/intel/iwlwifi/mvm/rs.c char *buff; buff 3815 drivers/net/wireless/intel/iwlwifi/mvm/rs.c buff = kmalloc(bufsz, GFP_KERNEL); buff 3816 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!buff) buff 3819 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, buff 3821 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, buff 3825 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, "fixed rate 0x%X\n", buff 3827 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, "valid_tx_ant %s%s%s\n", buff 3831 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, "lq type %s\n", buff 3835 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, " %s", buff 3837 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, " %s", buff 3842 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, " %s %s %s %s\n", buff 3848 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, "last tx rate=0x%X\n", buff 3850 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, buff 3857 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, buff 3863 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, "reduced tpc=%d\n", buff 3866 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, buff 3876 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, buff 3886 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += scnprintf(buff + desc, bufsz - desc, buff 3888 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += rs_pretty_print_rate(buff + desc, bufsz - desc, r); buff 3891 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 3892 drivers/net/wireless/intel/iwlwifi/mvm/rs.c kfree(buff); buff 3905 drivers/net/wireless/intel/iwlwifi/mvm/rs.c char *buff; buff 3913 drivers/net/wireless/intel/iwlwifi/mvm/rs.c buff = kmalloc(1024, GFP_KERNEL); buff 3914 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!buff) buff 3920 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += sprintf(buff+desc, buff 3932 drivers/net/wireless/intel/iwlwifi/mvm/rs.c desc += sprintf(buff+desc, buff 3939 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); buff 3940 drivers/net/wireless/intel/iwlwifi/mvm/rs.c kfree(buff); buff 3985 drivers/net/wireless/intel/iwlwifi/mvm/rs.c char *buff, *pos, *endpos; buff 3992 drivers/net/wireless/intel/iwlwifi/mvm/rs.c buff = kmalloc(bufsz, GFP_KERNEL); buff 3993 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!buff) buff 3996 drivers/net/wireless/intel/iwlwifi/mvm/rs.c pos = buff; buff 4018 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff); buff 4019 drivers/net/wireless/intel/iwlwifi/mvm/rs.c kfree(buff); buff 273 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_buffer *buff = data; buff 274 drivers/net/wireless/intersil/prism54/oid_mgt.c buff->size = le32_to_cpu(buff->size); buff 275 drivers/net/wireless/intersil/prism54/oid_mgt.c buff->addr = le32_to_cpu(buff->addr); buff 342 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_buffer *buff = data; buff 343 drivers/net/wireless/intersil/prism54/oid_mgt.c buff->size = cpu_to_le32(buff->size); buff 344 drivers/net/wireless/intersil/prism54/oid_mgt.c buff->addr = cpu_to_le32(buff->addr); buff 785 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_buffer *buff = r->ptr; buff 787 drivers/net/wireless/intersil/prism54/oid_mgt.c "size=%u\naddr=0x%X\n", buff->size, buff 788 drivers/net/wireless/intersil/prism54/oid_mgt.c buff->addr); buff 875 drivers/net/wireless/intersil/prism54/oid_mgt.c unsigned char *buff = r->ptr; buff 880 drivers/net/wireless/intersil/prism54/oid_mgt.c "%02X:", buff[i]); buff 184 drivers/net/wireless/marvell/libertas/if_spi.c __le16 buff; buff 186 drivers/net/wireless/marvell/libertas/if_spi.c buff = cpu_to_le16(val); buff 187 drivers/net/wireless/marvell/libertas/if_spi.c return spu_write(card, reg, (u8 *)&buff, sizeof(u16)); buff 2419 drivers/net/wireless/ray_cs.c UCHAR buff[256]; buff 2420 drivers/net/wireless/ray_cs.c struct ray_rx_msg *msg = (struct ray_rx_msg *) buff; buff 2424 drivers/net/wireless/ray_cs.c copy_from_rx_buff(local, buff, pkt_addr, rx_len & 0xff); buff 234 drivers/net/wireless/rsi/rsi_91x_debugfs.c const char __user *buff, buff 244 drivers/net/wireless/rsi/rsi_91x_debugfs.c ret = kstrtoul_from_user(buff, len, 16, &dbg_zone); buff 73 drivers/rtc/rtc-tps6586x.c u8 buff[6]; buff 77 drivers/rtc/rtc-tps6586x.c ret = tps6586x_reads(tps_dev, RTC_COUNT4_DUMMYREAD, sizeof(buff), buff); buff 83 drivers/rtc/rtc-tps6586x.c for (i = 1; i < sizeof(buff); i++) { buff 85 drivers/rtc/rtc-tps6586x.c ticks |= buff[i]; buff 99 drivers/rtc/rtc-tps6586x.c u8 buff[5]; buff 105 drivers/rtc/rtc-tps6586x.c buff[0] = (ticks >> 32) & 0xff; buff 106 drivers/rtc/rtc-tps6586x.c buff[1] = (ticks >> 24) & 0xff; buff 107 drivers/rtc/rtc-tps6586x.c buff[2] = (ticks >> 16) & 0xff; buff 108 drivers/rtc/rtc-tps6586x.c buff[3] = (ticks >> 8) & 0xff; buff 109 drivers/rtc/rtc-tps6586x.c buff[4] = ticks & 0xff; buff 118 drivers/rtc/rtc-tps6586x.c ret = tps6586x_writes(tps_dev, RTC_COUNT4, sizeof(buff), buff); buff 155 drivers/rtc/rtc-tps6586x.c u8 buff[3]; buff 185 drivers/rtc/rtc-tps6586x.c buff[0] = (ticks >> 16) & 0xff; buff 186 drivers/rtc/rtc-tps6586x.c buff[1] = (ticks >> 8) & 0xff; buff 187 drivers/rtc/rtc-tps6586x.c buff[2] = ticks & 0xff; buff 189 drivers/rtc/rtc-tps6586x.c ret = tps6586x_writes(tps_dev, RTC_ALARM1_HI, sizeof(buff), buff); buff 201 drivers/rtc/rtc-tps6586x.c u8 buff[3]; buff 204 drivers/rtc/rtc-tps6586x.c ret = tps6586x_reads(tps_dev, RTC_ALARM1_HI, sizeof(buff), buff); buff 210 drivers/rtc/rtc-tps6586x.c ticks = (buff[0] << 16) | (buff[1] << 8) | buff[2]; buff 69 drivers/rtc/rtc-tps80031.c u8 buff[TPS80031_RTC_TIME_NUM_REGS]; buff 73 drivers/rtc/rtc-tps80031.c TPS80031_SECONDS_REG, TPS80031_RTC_TIME_NUM_REGS, buff); buff 79 drivers/rtc/rtc-tps80031.c tm->tm_sec = bcd2bin(buff[0]); buff 80 drivers/rtc/rtc-tps80031.c tm->tm_min = bcd2bin(buff[1]); buff 81 drivers/rtc/rtc-tps80031.c tm->tm_hour = bcd2bin(buff[2]); buff 82 drivers/rtc/rtc-tps80031.c tm->tm_mday = bcd2bin(buff[3]); buff 83 drivers/rtc/rtc-tps80031.c tm->tm_mon = bcd2bin(buff[4]) - 1; buff 84 drivers/rtc/rtc-tps80031.c tm->tm_year = bcd2bin(buff[5]) + RTC_YEAR_OFFSET; buff 85 drivers/rtc/rtc-tps80031.c tm->tm_wday = bcd2bin(buff[6]); buff 91 drivers/rtc/rtc-tps80031.c u8 buff[7]; buff 94 drivers/rtc/rtc-tps80031.c buff[0] = bin2bcd(tm->tm_sec); buff 95 drivers/rtc/rtc-tps80031.c buff[1] = bin2bcd(tm->tm_min); buff 96 drivers/rtc/rtc-tps80031.c buff[2] = bin2bcd(tm->tm_hour); buff 97 drivers/rtc/rtc-tps80031.c buff[3] = bin2bcd(tm->tm_mday); buff 98 drivers/rtc/rtc-tps80031.c buff[4] = bin2bcd(tm->tm_mon + 1); buff 99 drivers/rtc/rtc-tps80031.c buff[5] = bin2bcd(tm->tm_year % RTC_YEAR_OFFSET); buff 100 drivers/rtc/rtc-tps80031.c buff[6] = bin2bcd(tm->tm_wday); buff 112 drivers/rtc/rtc-tps80031.c TPS80031_RTC_TIME_NUM_REGS, buff); buff 145 drivers/rtc/rtc-tps80031.c u8 buff[TPS80031_RTC_ALARM_NUM_REGS]; buff 148 drivers/rtc/rtc-tps80031.c buff[0] = bin2bcd(alrm->time.tm_sec); buff 149 drivers/rtc/rtc-tps80031.c buff[1] = bin2bcd(alrm->time.tm_min); buff 150 drivers/rtc/rtc-tps80031.c buff[2] = bin2bcd(alrm->time.tm_hour); buff 151 drivers/rtc/rtc-tps80031.c buff[3] = bin2bcd(alrm->time.tm_mday); buff 152 drivers/rtc/rtc-tps80031.c buff[4] = bin2bcd(alrm->time.tm_mon + 1); buff 153 drivers/rtc/rtc-tps80031.c buff[5] = bin2bcd(alrm->time.tm_year % RTC_YEAR_OFFSET); buff 156 drivers/rtc/rtc-tps80031.c TPS80031_RTC_ALARM_NUM_REGS, buff); buff 166 drivers/rtc/rtc-tps80031.c u8 buff[6]; buff 171 drivers/rtc/rtc-tps80031.c TPS80031_RTC_ALARM_NUM_REGS, buff); buff 178 drivers/rtc/rtc-tps80031.c alrm->time.tm_sec = bcd2bin(buff[0]); buff 179 drivers/rtc/rtc-tps80031.c alrm->time.tm_min = bcd2bin(buff[1]); buff 180 drivers/rtc/rtc-tps80031.c alrm->time.tm_hour = bcd2bin(buff[2]); buff 181 drivers/rtc/rtc-tps80031.c alrm->time.tm_mday = bcd2bin(buff[3]); buff 182 drivers/rtc/rtc-tps80031.c alrm->time.tm_mon = bcd2bin(buff[4]) - 1; buff 183 drivers/rtc/rtc-tps80031.c alrm->time.tm_year = bcd2bin(buff[5]) + RTC_YEAR_OFFSET; buff 132 drivers/s390/char/vmcp.c vmcp_read(struct file *file, char __user *buff, size_t count, loff_t *ppos) buff 146 drivers/s390/char/vmcp.c ret = simple_read_from_buffer(buff, count, ppos, buff 155 drivers/s390/char/vmcp.c vmcp_write(struct file *file, const char __user *buff, size_t count, buff 163 drivers/s390/char/vmcp.c cmd = memdup_user_nul(buff, count); buff 1658 drivers/scsi/3w-xxxx.c char buff[8]; buff 1663 drivers/scsi/3w-xxxx.c memset(buff, 0, sizeof(buff)); buff 1680 drivers/scsi/3w-xxxx.c buff[0] = (capacity >> 24); buff 1681 drivers/scsi/3w-xxxx.c buff[1] = (capacity >> 16) & 0xff; buff 1682 drivers/scsi/3w-xxxx.c buff[2] = (capacity >> 8) & 0xff; buff 1683 drivers/scsi/3w-xxxx.c buff[3] = capacity & 0xff; buff 1686 drivers/scsi/3w-xxxx.c buff[4] = (TW_BLOCK_SIZE >> 24); buff 1687 drivers/scsi/3w-xxxx.c buff[5] = (TW_BLOCK_SIZE >> 16) & 0xff; buff 1688 drivers/scsi/3w-xxxx.c buff[6] = (TW_BLOCK_SIZE >> 8) & 0xff; buff 1689 drivers/scsi/3w-xxxx.c buff[7] = TW_BLOCK_SIZE & 0xff; buff 1691 drivers/scsi/3w-xxxx.c tw_transfer_internal(tw_dev, request_id, buff, sizeof(buff)); buff 125 drivers/scsi/device_handler/scsi_dh_alua.c static int submit_rtpg(struct scsi_device *sdev, unsigned char *buff, buff 141 drivers/scsi/device_handler/scsi_dh_alua.c return scsi_execute(sdev, cdb, DMA_FROM_DEVICE, buff, bufflen, NULL, buff 510 drivers/scsi/device_handler/scsi_dh_alua.c unsigned char *desc, *buff; buff 526 drivers/scsi/device_handler/scsi_dh_alua.c buff = kzalloc(bufflen, GFP_KERNEL); buff 527 drivers/scsi/device_handler/scsi_dh_alua.c if (!buff) buff 532 drivers/scsi/device_handler/scsi_dh_alua.c retval = submit_rtpg(sdev, buff, bufflen, &sense_hdr, pg->flags); buff 548 drivers/scsi/device_handler/scsi_dh_alua.c kfree(buff); buff 555 drivers/scsi/device_handler/scsi_dh_alua.c kfree(buff); buff 595 drivers/scsi/device_handler/scsi_dh_alua.c kfree(buff); buff 601 drivers/scsi/device_handler/scsi_dh_alua.c kfree(buff); buff 606 drivers/scsi/device_handler/scsi_dh_alua.c len = get_unaligned_be32(&buff[0]) + 4; buff 610 drivers/scsi/device_handler/scsi_dh_alua.c kfree(buff); buff 612 drivers/scsi/device_handler/scsi_dh_alua.c buff = kmalloc(bufflen, GFP_KERNEL); buff 613 drivers/scsi/device_handler/scsi_dh_alua.c if (!buff) { buff 624 drivers/scsi/device_handler/scsi_dh_alua.c if ((buff[4] & RTPG_FMT_MASK) == RTPG_FMT_EXT_HDR && buff[5] != 0) buff 625 drivers/scsi/device_handler/scsi_dh_alua.c pg->transition_tmo = buff[5]; buff 636 drivers/scsi/device_handler/scsi_dh_alua.c if ((buff[4] & RTPG_FMT_MASK) == RTPG_FMT_EXT_HDR) buff 641 drivers/scsi/device_handler/scsi_dh_alua.c for (k = tpg_desc_tbl_off, desc = buff + tpg_desc_tbl_off; buff 730 drivers/scsi/device_handler/scsi_dh_alua.c kfree(buff); buff 269 drivers/scsi/hpsa.c void *buff, size_t size, u16 page_code, unsigned char *scsi3addr, buff 6344 drivers/scsi/hpsa.c char *buff = NULL; buff 6359 drivers/scsi/hpsa.c buff = kmalloc(iocommand.buf_size, GFP_KERNEL); buff 6360 drivers/scsi/hpsa.c if (buff == NULL) buff 6364 drivers/scsi/hpsa.c if (copy_from_user(buff, iocommand.buf, buff 6370 drivers/scsi/hpsa.c memset(buff, 0, iocommand.buf_size); buff 6395 drivers/scsi/hpsa.c temp64 = dma_map_single(&h->pdev->dev, buff, buff 6427 drivers/scsi/hpsa.c if (copy_to_user(iocommand.buf, buff, iocommand.buf_size)) { buff 6435 drivers/scsi/hpsa.c kfree(buff); buff 6443 drivers/scsi/hpsa.c unsigned char **buff = NULL; buff 6475 drivers/scsi/hpsa.c buff = kcalloc(SG_ENTRIES_IN_CMD, sizeof(char *), GFP_KERNEL); buff 6476 drivers/scsi/hpsa.c if (!buff) { buff 6490 drivers/scsi/hpsa.c buff[sg_used] = kmalloc(sz, GFP_KERNEL); buff 6491 drivers/scsi/hpsa.c if (buff[sg_used] == NULL) { buff 6496 drivers/scsi/hpsa.c if (copy_from_user(buff[sg_used], data_ptr, sz)) { buff 6501 drivers/scsi/hpsa.c memset(buff[sg_used], 0, sz); buff 6518 drivers/scsi/hpsa.c temp64 = dma_map_single(&h->pdev->dev, buff[i], buff 6557 drivers/scsi/hpsa.c if (copy_to_user(ptr, buff[i], buff_size[i])) { buff 6568 drivers/scsi/hpsa.c if (buff) { buff 6572 drivers/scsi/hpsa.c kfree(buff[i]); buff 6573 drivers/scsi/hpsa.c kfree(buff); buff 6647 drivers/scsi/hpsa.c void *buff, size_t size, u16 page_code, unsigned char *scsi3addr, buff 6655 drivers/scsi/hpsa.c if (buff != NULL && size > 0) { buff 6867 drivers/scsi/hpsa.c if (hpsa_map_one(h->pdev, c, buff, size, dir)) buff 3004 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.quexri64cx.buff.bde.addrHigh = buff 3006 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.quexri64cx.buff.bde.addrLow = buff 3008 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.quexri64cx.buff.bde.tus.f.bdeSize = buff 3010 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.quexri64cx.buff.buffer_tag = mp[i]->buffer_tag; buff 6774 drivers/scsi/lpfc/lpfc_hbadisc.c uint8_t *buff) buff 6789 drivers/scsi/lpfc/lpfc_hbadisc.c conn_hdr = (struct lpfc_fcf_conn_hdr *) buff; buff 6794 drivers/scsi/lpfc/lpfc_hbadisc.c (buff + sizeof(struct lpfc_fcf_conn_hdr)); buff 6857 drivers/scsi/lpfc/lpfc_hbadisc.c uint8_t *buff) buff 6863 drivers/scsi/lpfc/lpfc_hbadisc.c buff; buff 6865 drivers/scsi/lpfc/lpfc_hbadisc.c (buff + sizeof(struct lpfc_fip_param_hdr)); buff 6894 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_get_rec_conf23(uint8_t *buff, uint32_t size, uint8_t rec_type) buff 6898 drivers/scsi/lpfc/lpfc_hbadisc.c if ((buff[0] == LPFC_REGION23_LAST_REC) || buff 6902 drivers/scsi/lpfc/lpfc_hbadisc.c rec_length = buff[offset + 1]; buff 6910 drivers/scsi/lpfc/lpfc_hbadisc.c if (buff[offset] == rec_type) buff 6911 drivers/scsi/lpfc/lpfc_hbadisc.c return &buff[offset]; buff 6913 drivers/scsi/lpfc/lpfc_hbadisc.c if (buff[offset] == LPFC_REGION23_LAST_REC) buff 6917 drivers/scsi/lpfc/lpfc_hbadisc.c rec_length = buff[offset + 1]; buff 6933 drivers/scsi/lpfc/lpfc_hbadisc.c uint8_t *buff, buff 6947 drivers/scsi/lpfc/lpfc_hbadisc.c if (memcmp(buff, LPFC_REGION23_SIGNATURE, 4)) { buff 6956 drivers/scsi/lpfc/lpfc_hbadisc.c if (buff[offset] != LPFC_REGION23_VERSION) { buff 6964 drivers/scsi/lpfc/lpfc_hbadisc.c rec_ptr = lpfc_get_rec_conf23(&buff[offset], buff 6970 drivers/scsi/lpfc/lpfc_hbadisc.c rec_ptr = lpfc_get_rec_conf23(&buff[offset], buff 3975 drivers/scsi/lpfc/lpfc_hw.h struct lpfc_hbq_entry buff; buff 3985 drivers/scsi/lpfc/lpfc_hw.h struct lpfc_hbq_entry buff[5]; buff 1461 drivers/scsi/qla2xxx/qla_nx2.c if (!vha->reset_tmplt.buff) { buff 1467 drivers/scsi/qla2xxx/qla_nx2.c phdr = vha->reset_tmplt.buff; buff 1489 drivers/scsi/qla2xxx/qla_nx2.c uint16_t *buff = (uint16_t *)vha->reset_tmplt.buff; buff 1493 drivers/scsi/qla2xxx/qla_nx2.c sum += *buff++; buff 1521 drivers/scsi/qla2xxx/qla_nx2.c vha->reset_tmplt.buff = vmalloc(QLA8044_RESTART_TEMPLATE_SIZE); buff 1522 drivers/scsi/qla2xxx/qla_nx2.c if (vha->reset_tmplt.buff == NULL) { buff 1529 drivers/scsi/qla2xxx/qla_nx2.c p_buff = vha->reset_tmplt.buff; buff 1547 drivers/scsi/qla2xxx/qla_nx2.c (struct qla8044_reset_template_hdr *) vha->reset_tmplt.buff; buff 1561 drivers/scsi/qla2xxx/qla_nx2.c p_buff = vha->reset_tmplt.buff + vha->reset_tmplt.hdr->hdr_size; buff 1588 drivers/scsi/qla2xxx/qla_nx2.c vha->reset_tmplt.init_offset = vha->reset_tmplt.buff + buff 1591 drivers/scsi/qla2xxx/qla_nx2.c vha->reset_tmplt.start_offset = vha->reset_tmplt.buff + buff 1594 drivers/scsi/qla2xxx/qla_nx2.c vha->reset_tmplt.stop_offset = vha->reset_tmplt.buff + buff 1602 drivers/scsi/qla2xxx/qla_nx2.c vfree(vha->reset_tmplt.buff); buff 274 drivers/scsi/qla2xxx/qla_nx2.h uint8_t *buff; buff 608 drivers/scsi/qla4xxx/ql4_83xx.c if (!ha->reset_tmplt.buff) { buff 614 drivers/scsi/qla4xxx/ql4_83xx.c phdr = ha->reset_tmplt.buff; buff 749 drivers/scsi/qla4xxx/ql4_83xx.c uint16_t *buff = (uint16_t *)ha->reset_tmplt.buff; buff 754 drivers/scsi/qla4xxx/ql4_83xx.c sum += *buff++; buff 782 drivers/scsi/qla4xxx/ql4_83xx.c ha->reset_tmplt.buff = vmalloc(QLA83XX_RESTART_TEMPLATE_SIZE); buff 783 drivers/scsi/qla4xxx/ql4_83xx.c if (ha->reset_tmplt.buff == NULL) { buff 789 drivers/scsi/qla4xxx/ql4_83xx.c p_buff = ha->reset_tmplt.buff; buff 809 drivers/scsi/qla4xxx/ql4_83xx.c (struct qla4_83xx_reset_template_hdr *)ha->reset_tmplt.buff; buff 821 drivers/scsi/qla4xxx/ql4_83xx.c p_buff = ha->reset_tmplt.buff + ha->reset_tmplt.hdr->hdr_size; buff 849 drivers/scsi/qla4xxx/ql4_83xx.c ha->reset_tmplt.init_offset = ha->reset_tmplt.buff + buff 851 drivers/scsi/qla4xxx/ql4_83xx.c ha->reset_tmplt.start_offset = ha->reset_tmplt.buff + buff 853 drivers/scsi/qla4xxx/ql4_83xx.c ha->reset_tmplt.stop_offset = ha->reset_tmplt.buff + buff 860 drivers/scsi/qla4xxx/ql4_83xx.c vfree(ha->reset_tmplt.buff); buff 234 drivers/scsi/qla4xxx/ql4_83xx.h uint8_t *buff; buff 4188 drivers/scsi/qla4xxx/ql4_os.c if (ha->reset_tmplt.buff) buff 4189 drivers/scsi/qla4xxx/ql4_os.c vfree(ha->reset_tmplt.buff); buff 6330 drivers/scsi/ufs/ufshcd.c static u32 ufshcd_get_max_icc_level(int sup_curr_uA, u32 start_scan, char *buff) buff 6338 drivers/scsi/ufs/ufshcd.c data = be16_to_cpup((__be16 *)&buff[2 * i]); buff 40 drivers/spi/spi-tle62x0.c unsigned char *buff = st->tx_buff; buff 43 drivers/spi/spi-tle62x0.c buff[0] = CMD_SET; buff 46 drivers/spi/spi-tle62x0.c buff[1] = gpio_state >> 8; buff 47 drivers/spi/spi-tle62x0.c buff[2] = gpio_state; buff 49 drivers/spi/spi-tle62x0.c buff[1] = gpio_state; buff 52 drivers/spi/spi-tle62x0.c dev_dbg(&st->us->dev, "buff %3ph\n", buff); buff 54 drivers/spi/spi-tle62x0.c return spi_write(st->us, buff, (st->nr_gpio == 16) ? 3 : 2); buff 101 drivers/spi/spi-tle62x0.c unsigned char *buff = st->rx_buff; buff 116 drivers/spi/spi-tle62x0.c fault |= ((unsigned long)buff[ptr]); buff 118 drivers/spi/spi-tle62x0.c dev_dbg(dev, "byte %d is %02x\n", ptr, buff[ptr]); buff 395 drivers/staging/ks7010/ks7010_sdio.c priv->hostt.buff[priv->hostt.qtail] = le16_to_cpu(hdr->event); buff 1044 drivers/staging/ks7010/ks_hostif.c priv->hostt.buff[priv->hostt.qtail] = event; buff 180 drivers/staging/ks7010/ks_wlan.h int buff[SME_EVENT_BUFF_SIZE]; buff 2310 drivers/staging/ks7010/ks_wlan_net.c priv->hostt.buff[(priv->hostt.qtail - 1 - i) % buff 140 drivers/staging/media/ipu3/include/intel-ipu3.h struct ipu3_uapi_ae_raw_buffer buff __attribute__((aligned(32))); buff 77 drivers/staging/most/net/net.c u8 *buff = mbo->virt_address; buff 103 drivers/staging/most/net/net.c *buff++ = HB(mdp_len - 2); buff 104 drivers/staging/most/net/net.c *buff++ = LB(mdp_len - 2); buff 106 drivers/staging/most/net/net.c *buff++ = PMHL; buff 107 drivers/staging/most/net/net.c *buff++ = (PMS_FIFONO_MDP << PMS_FIFONO_SHIFT) | PMS_MSGTYPE_DATA; buff 108 drivers/staging/most/net/net.c *buff++ = PMS_DEF_PRIO; buff 109 drivers/staging/most/net/net.c *buff++ = dest_addr[0]; buff 110 drivers/staging/most/net/net.c *buff++ = dest_addr[1]; buff 111 drivers/staging/most/net/net.c *buff++ = 0x00; buff 113 drivers/staging/most/net/net.c *buff++ = HB(payload_len + 6); buff 114 drivers/staging/most/net/net.c *buff++ = LB(payload_len + 6); buff 118 drivers/staging/most/net/net.c *buff++ = eth_type[0]; buff 119 drivers/staging/most/net/net.c *buff++ = eth_type[1]; buff 120 drivers/staging/most/net/net.c *buff++ = 0; buff 121 drivers/staging/most/net/net.c *buff++ = 0; buff 123 drivers/staging/most/net/net.c *buff++ = PMS_TELID_UNSEGM_MAMAC << 4 | HB(payload_len); buff 124 drivers/staging/most/net/net.c *buff++ = LB(payload_len); buff 126 drivers/staging/most/net/net.c memcpy(buff, skb->data + ETH_HLEN, payload_len); buff 133 drivers/staging/most/net/net.c u8 *buff = mbo->virt_address; buff 147 drivers/staging/most/net/net.c *buff++ = HB(mep_len - 2); buff 148 drivers/staging/most/net/net.c *buff++ = LB(mep_len - 2); buff 150 drivers/staging/most/net/net.c *buff++ = PMHL; buff 151 drivers/staging/most/net/net.c *buff++ = (PMS_FIFONO_MEP << PMS_FIFONO_SHIFT) | PMS_MSGTYPE_DATA; buff 152 drivers/staging/most/net/net.c *buff++ = (MEP_DEF_RETRY << PMS_RETRY_SHIFT) | PMS_DEF_PRIO; buff 153 drivers/staging/most/net/net.c *buff++ = 0; buff 154 drivers/staging/most/net/net.c *buff++ = 0; buff 155 drivers/staging/most/net/net.c *buff++ = 0; buff 157 drivers/staging/most/net/net.c memcpy(buff, skb->data, skb->len); buff 2265 drivers/staging/qlge/qlge.h void ql_get_dump(struct ql_adapter *qdev, void *buff); buff 1304 drivers/staging/qlge/qlge_dbg.c void ql_get_dump(struct ql_adapter *qdev, void *buff) buff 1316 drivers/staging/qlge/qlge_dbg.c if (!ql_core_dump(qdev, buff)) buff 1321 drivers/staging/qlge/qlge_dbg.c ql_gen_reg_dump(qdev, buff); buff 87 drivers/staging/rtl8188eu/os_dep/mlme_linux.c u8 *buff, *p, i; buff 92 drivers/staging/rtl8188eu/os_dep/mlme_linux.c buff = NULL; buff 96 drivers/staging/rtl8188eu/os_dep/mlme_linux.c buff = rtw_malloc(IW_CUSTOM_MAX); buff 97 drivers/staging/rtl8188eu/os_dep/mlme_linux.c if (!buff) buff 99 drivers/staging/rtl8188eu/os_dep/mlme_linux.c memset(buff, 0, IW_CUSTOM_MAX); buff 100 drivers/staging/rtl8188eu/os_dep/mlme_linux.c p = buff; buff 108 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wrqu.data.length = min_t(__u16, p - buff, IW_CUSTOM_MAX); buff 109 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wireless_send_event(adapter->pnetdev, IWEVCUSTOM, &wrqu, buff); buff 110 drivers/staging/rtl8188eu/os_dep/mlme_linux.c kfree(buff); buff 138 drivers/staging/rtl8712/mlme_linux.c u8 *buff, *p, i; buff 141 drivers/staging/rtl8712/mlme_linux.c buff = NULL; buff 143 drivers/staging/rtl8712/mlme_linux.c buff = kzalloc(IW_CUSTOM_MAX, GFP_ATOMIC); buff 144 drivers/staging/rtl8712/mlme_linux.c if (!buff) buff 146 drivers/staging/rtl8712/mlme_linux.c p = buff; buff 154 drivers/staging/rtl8712/mlme_linux.c wrqu.data.length = p - buff; buff 157 drivers/staging/rtl8712/mlme_linux.c wireless_send_event(adapter->pnetdev, IWEVCUSTOM, &wrqu, buff); buff 158 drivers/staging/rtl8712/mlme_linux.c kfree(buff); buff 144 drivers/staging/rtl8723bs/os_dep/mlme_linux.c u8 *buff, *p, i; buff 149 drivers/staging/rtl8723bs/os_dep/mlme_linux.c buff = NULL; buff 153 drivers/staging/rtl8723bs/os_dep/mlme_linux.c buff = rtw_zmalloc(IW_CUSTOM_MAX); buff 154 drivers/staging/rtl8723bs/os_dep/mlme_linux.c if (NULL == buff) { buff 159 drivers/staging/rtl8723bs/os_dep/mlme_linux.c p = buff; buff 174 drivers/staging/rtl8723bs/os_dep/mlme_linux.c wrqu.data.length = p - buff; buff 178 drivers/staging/rtl8723bs/os_dep/mlme_linux.c kfree(buff); buff 291 drivers/staging/speakup/serialio.c const char *buff) buff 295 drivers/staging/speakup/serialio.c while ((ch = *buff)) { buff 301 drivers/staging/speakup/serialio.c return buff; buff 302 drivers/staging/speakup/serialio.c buff++; buff 58 drivers/staging/speakup/spk_priv.h const char *buff); buff 60 drivers/staging/speakup/spk_priv.h const char *buff); buff 370 drivers/staging/speakup/spk_ttyio.c const char *spk_ttyio_synth_immediate(struct spk_synth *synth, const char *buff) buff 374 drivers/staging/speakup/spk_ttyio.c while ((ch = *buff)) { buff 379 drivers/staging/speakup/spk_ttyio.c return buff; buff 380 drivers/staging/speakup/spk_ttyio.c buff++; buff 187 drivers/staging/speakup/spk_types.h const char *buff); buff 24 drivers/staging/wilc1000/wilc_mon.c void wilc_wfi_monitor_rx(struct net_device *mon_dev, u8 *buff, u32 size) buff 38 drivers/staging/wilc1000/wilc_mon.c header = get_unaligned_le32(buff - HOST_HDR_OFFSET); buff 52 drivers/staging/wilc1000/wilc_mon.c skb_put_data(skb, buff, size); buff 78 drivers/staging/wilc1000/wilc_mon.c skb_put_data(skb, buff, size); buff 100 drivers/staging/wilc1000/wilc_mon.c void *buff; buff 110 drivers/staging/wilc1000/wilc_mon.c kfree(pv_data->buff); buff 127 drivers/staging/wilc1000/wilc_mon.c mgmt_tx->buff = kmemdup(buf, len, GFP_ATOMIC); buff 128 drivers/staging/wilc1000/wilc_mon.c if (!mgmt_tx->buff) { buff 135 drivers/staging/wilc1000/wilc_mon.c wilc_wlan_txq_add_mgmt_pkt(dev, mgmt_tx, mgmt_tx->buff, mgmt_tx->size, buff 730 drivers/staging/wilc1000/wilc_netdev.c tx_data->buff = skb->data; buff 737 drivers/staging/wilc1000/wilc_netdev.c tx_data->buff, tx_data->size, buff 783 drivers/staging/wilc1000/wilc_netdev.c void wilc_frmw_to_host(struct wilc *wilc, u8 *buff, u32 size, buff 796 drivers/staging/wilc1000/wilc_netdev.c wilc_netdev = get_if_handler(wilc, buff); buff 800 drivers/staging/wilc1000/wilc_netdev.c buff += pkt_offset; buff 805 drivers/staging/wilc1000/wilc_netdev.c buff_to_send = buff; buff 824 drivers/staging/wilc1000/wilc_netdev.c void wilc_wfi_mgmt_rx(struct wilc *wilc, u8 *buff, u32 size) buff 831 drivers/staging/wilc1000/wilc_netdev.c u16 type = le16_to_cpup((__le16 *)buff); buff 836 drivers/staging/wilc1000/wilc_netdev.c wilc_wfi_p2p_rx(vif, buff, size); buff 841 drivers/staging/wilc1000/wilc_netdev.c wilc_wfi_monitor_rx(wilc->monitor_dev, buff, size); buff 67 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c u8 *buff; buff 982 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c static void wilc_wfi_cfg_parse_rx_vendor_spec(struct wilc_priv *priv, u8 *buff, buff 989 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c subtype = buff[P2P_PUB_ACTION_SUBTYPE]; buff 993 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (!memcmp(p2p_vendor_spec, &buff[i], 6)) { buff 994 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.recv_random = buff[i + 6]; buff 1011 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (buff[i] == P2PELEM_ATTR_ID && buff 1012 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c !(memcmp(p2p_oui, &buff[i + 2], 4))) { buff 1013 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_wfi_cfg_parse_rx_action(&buff[i + 6], buff 1022 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c void wilc_wfi_p2p_rx(struct wilc_vif *vif, u8 *buff, u32 size) buff 1031 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c header = get_unaligned_le32(buff - HOST_HDR_OFFSET); buff 1037 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (buff[FRAME_TYPE_ID] == IEEE80211_STYPE_PROBE_RESP || buff 1041 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_mgmt_tx_status(&priv->wdev, priv->tx_cookie, buff, buff 1048 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c fc = ((struct ieee80211_hdr *)buff)->frame_control; buff 1050 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_rx_mgmt(&priv->wdev, freq, 0, buff, size, 0); buff 1059 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (buff[ACTION_CAT_ID] == PUB_ACTION_ATTR_ID) { buff 1060 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c u8 subtype = buff[P2P_PUB_ACTION_SUBTYPE]; buff 1062 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c switch (buff[ACTION_SUBTYPE_ID]) { buff 1068 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (!memcmp(p2p_oui, &buff[ACTION_SUBTYPE_ID + 1], 4)) buff 1069 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_wfi_cfg_parse_rx_vendor_spec(priv, buff, buff 1081 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c __func__, buff[ACTION_SUBTYPE_ID]); buff 1086 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_rx_mgmt(&priv->wdev, freq, 0, buff, size, 0); buff 1093 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c kfree(pv_data->buff); buff 1193 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c u8 *tx_buff = &mgmt_tx->buff[i + 6]; buff 1209 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c memcpy(&mgmt_tx->buff[len], p2p_vendor_spec, buff 1211 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c mgmt_tx->buff[len + vendor_spec_len] = priv->p2p.local_random; buff 1247 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c mgmt_tx->buff = kmalloc(buf_len, GFP_KERNEL); buff 1248 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (!mgmt_tx->buff) { buff 1254 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c memcpy(mgmt_tx->buff, buf, len); buff 1301 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c mgmt_tx->buff, mgmt_tx->size, buff 17 drivers/staging/wilc1000/wilc_wfi_cfgoperations.h void wilc_wfi_monitor_rx(struct net_device *mon_dev, u8 *buff, u32 size); buff 285 drivers/staging/wilc1000/wilc_wfi_netdevice.h void wilc_frmw_to_host(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset); buff 288 drivers/staging/wilc1000/wilc_wfi_netdevice.h void wilc_wfi_mgmt_rx(struct wilc *wilc, u8 *buff, u32 size); buff 251 drivers/staging/wilc1000/wilc_wlan.h void *buff; buff 295 drivers/staging/wilc1000/wilc_wlan.h void wilc_wfi_p2p_rx(struct wilc_vif *vif, u8 *buff, u32 size); buff 31 drivers/target/iscsi/iscsi_target_util.c #define PRINT_BUFF(buff, len) \ buff 42 drivers/target/iscsi/iscsi_target_util.c pr_debug("%02x ", (unsigned char) (buff)[zzz]); \ buff 61 drivers/tty/serial/samsung.c char buff[256]; buff 64 drivers/tty/serial/samsung.c vscnprintf(buff, sizeof(buff), fmt, va); buff 67 drivers/tty/serial/samsung.c printascii(buff); buff 577 drivers/usb/atm/ueagle-atm.c u16 addr, u16 size, const u8 *buff) buff 582 drivers/usb/atm/ueagle-atm.c xfer_buff = kmemdup(buff, size, GFP_KERNEL); buff 1590 drivers/usb/dwc2/gadget.c void *buff, buff 1596 drivers/usb/dwc2/gadget.c dev_dbg(hsotg->dev, "%s: buff %p, len %d\n", __func__, buff, length); buff 1615 drivers/usb/dwc2/gadget.c memcpy(req->buf, buff, length); buff 345 drivers/usb/gadget/udc/bdc/bdc.h void *buff; buff 175 drivers/usb/gadget/udc/bdc/bdc_core.c bdc->scratchpad.buff = dma_alloc_coherent(bdc->dev, sp_buff_size, buff 179 drivers/usb/gadget/udc/bdc/bdc_core.c if (!bdc->scratchpad.buff) buff 193 drivers/usb/gadget/udc/bdc/bdc_core.c bdc->scratchpad.buff = NULL; buff 290 drivers/usb/gadget/udc/bdc/bdc_core.c memset(bdc->scratchpad.buff, 0, bdc->sp_buff_size); buff 318 drivers/usb/gadget/udc/bdc/bdc_core.c if (bdc->scratchpad.buff) buff 320 drivers/usb/gadget/udc/bdc/bdc_core.c bdc->scratchpad.buff, bdc->scratchpad.sp_dma); buff 329 drivers/usb/gadget/udc/bdc/bdc_core.c bdc->scratchpad.buff = NULL; buff 2052 drivers/usb/gadget/udc/udc-xilinx.c u8 *buff; buff 2064 drivers/usb/gadget/udc/udc-xilinx.c buff = devm_kzalloc(&pdev->dev, STATUSBUFF_SIZE, GFP_KERNEL); buff 2065 drivers/usb/gadget/udc/udc-xilinx.c if (!buff) buff 2068 drivers/usb/gadget/udc/udc-xilinx.c udc->req->usb_req.buf = buff; buff 128 drivers/usb/host/fhci-tds.c u8 *buff = cq_get(&ep->dummy_packets_Q); buff 130 drivers/usb/host/fhci-tds.c kfree(buff); buff 184 drivers/usb/host/fhci-tds.c u8 *buff; buff 192 drivers/usb/host/fhci-tds.c buff = kmalloc_array(1028, sizeof(*buff), GFP_KERNEL); buff 193 drivers/usb/host/fhci-tds.c if (!buff) { buff 199 drivers/usb/host/fhci-tds.c cq_put(&ep->dummy_packets_Q, buff); buff 450 drivers/usb/storage/isd200.c enum dma_data_direction dir, void* buff, unsigned bufflen) buff 454 drivers/usb/storage/isd200.c if (buff) buff 455 drivers/usb/storage/isd200.c sg_init_one(&info->sg, buff, bufflen); buff 458 drivers/usb/storage/isd200.c srb->sdb.table.sgl = buff ? &info->sg : NULL; buff 460 drivers/usb/storage/isd200.c srb->sdb.table.nents = buff ? 1 : 0; buff 52 drivers/usb/usbip/usbip_common.c static void usbip_dump_buffer(char *buff, int bufflen) buff 55 drivers/usb/usbip/usbip_common.c buff, bufflen, false); buff 581 drivers/usb/usbip/usbip_common.c void *buff; buff 596 drivers/usb/usbip/usbip_common.c buff = kzalloc(size, GFP_KERNEL); buff 597 drivers/usb/usbip/usbip_common.c if (!buff) buff 600 drivers/usb/usbip/usbip_common.c ret = usbip_recv(ud->tcp_socket, buff, size); buff 604 drivers/usb/usbip/usbip_common.c kfree(buff); buff 614 drivers/usb/usbip/usbip_common.c iso = (struct usbip_iso_packet_descriptor *) buff; buff 621 drivers/usb/usbip/usbip_common.c kfree(buff); buff 33 drivers/usb/usbip/vhci_hcd.c static int vhci_hub_status(struct usb_hcd *hcd, char *buff); buff 35 drivers/usb/usbip/vhci_hcd.c u16 wIndex, char *buff, u16 wLength); buff 377 drivers/video/fbdev/pxa3xx-gcu.c pxa3xx_gcu_write(struct file *file, const char *buff, buff 413 drivers/video/fbdev/pxa3xx-gcu.c ret = copy_from_user(buffer->ptr, buff, words * 4); buff 13 drivers/video/fbdev/via/dvi.c static int tmds_register_read_bytes(int index, u8 *buff, int buff_len); buff 152 drivers/video/fbdev/via/dvi.c static int tmds_register_read_bytes(int index, u8 *buff, int buff_len) buff 156 drivers/video/fbdev/via/dvi.c (u8) index, buff, buff_len); buff 152 drivers/video/fbdev/via/via_i2c.c int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len) buff 165 drivers/video/fbdev/via/via_i2c.c msgs[0].buf = mm1; msgs[1].buf = buff; buff 131 fs/befs/datastream.c void *buff, befs_off_t len) buff 150 fs/befs/datastream.c memcpy(buff + bytes_read, bh->b_data, plen); buff 15 fs/befs/datastream.h void *buff, befs_off_t len); buff 758 fs/ecryptfs/main.c struct kobj_attribute *attr, char *buff) buff 760 fs/ecryptfs/main.c return snprintf(buff, PAGE_SIZE, "%d\n", ECRYPTFS_VERSIONING_MASK); buff 280 fs/ext4/hash.c unsigned char *buff; buff 284 fs/ext4/hash.c buff = kzalloc(sizeof(char) * PATH_MAX, GFP_KERNEL); buff 285 fs/ext4/hash.c if (!buff) buff 288 fs/ext4/hash.c dlen = utf8_casefold(um, &qstr, buff, PATH_MAX); buff 290 fs/ext4/hash.c kfree(buff); buff 294 fs/ext4/hash.c r = __ext4fs_dirhash(buff, dlen, hinfo); buff 296 fs/ext4/hash.c kfree(buff); buff 115 fs/f2fs/hash.c unsigned char *buff; buff 121 fs/f2fs/hash.c buff = f2fs_kzalloc(sbi, sizeof(char) * PATH_MAX, GFP_KERNEL); buff 122 fs/f2fs/hash.c if (!buff) buff 125 fs/f2fs/hash.c dlen = utf8_casefold(um, name_info, buff, PATH_MAX); buff 127 fs/f2fs/hash.c kvfree(buff); buff 130 fs/f2fs/hash.c folded.name = buff; buff 134 fs/f2fs/hash.c kvfree(buff); buff 304 fs/squashfs/cache.c void *buff = entry->data[offset / PAGE_SIZE] buff 310 fs/squashfs/cache.c memcpy(buffer, buff, remaining); buff 315 fs/squashfs/cache.c memcpy(buffer, buff, bytes); buff 26 fs/squashfs/decompressor.h void *buff, int length) buff 29 fs/squashfs/decompressor.h msblk->decompressor->comp_opts(msblk, buff, length) : NULL; buff 33 fs/squashfs/lz4_wrapper.c void *buff, int len) buff 35 fs/squashfs/lz4_wrapper.c struct lz4_comp_opts *comp_opts = buff; buff 52 fs/squashfs/lz4_wrapper.c static void *lz4_init(struct squashfs_sb_info *msblk, void *buff) buff 96 fs/squashfs/lz4_wrapper.c void *buff = stream->input, *data; buff 101 fs/squashfs/lz4_wrapper.c memcpy(buff, bh[i]->b_data + offset, avail); buff 102 fs/squashfs/lz4_wrapper.c buff += avail; buff 116 fs/squashfs/lz4_wrapper.c buff = stream->output; buff 119 fs/squashfs/lz4_wrapper.c memcpy(data, buff, bytes); buff 122 fs/squashfs/lz4_wrapper.c memcpy(data, buff, PAGE_SIZE); buff 123 fs/squashfs/lz4_wrapper.c buff += PAGE_SIZE; buff 28 fs/squashfs/lzo_wrapper.c static void *lzo_init(struct squashfs_sb_info *msblk, void *buff) buff 70 fs/squashfs/lzo_wrapper.c void *buff = stream->input, *data; buff 76 fs/squashfs/lzo_wrapper.c memcpy(buff, bh[i]->b_data + offset, avail); buff 77 fs/squashfs/lzo_wrapper.c buff += avail; buff 90 fs/squashfs/lzo_wrapper.c buff = stream->output; buff 93 fs/squashfs/lzo_wrapper.c memcpy(data, buff, bytes); buff 96 fs/squashfs/lzo_wrapper.c memcpy(data, buff, PAGE_SIZE); buff 97 fs/squashfs/lzo_wrapper.c buff += PAGE_SIZE; buff 39 fs/squashfs/xz_wrapper.c void *buff, int len) buff 41 fs/squashfs/xz_wrapper.c struct disk_comp_opts *comp_opts = buff; buff 81 fs/squashfs/xz_wrapper.c static void *squashfs_xz_init(struct squashfs_sb_info *msblk, void *buff) buff 83 fs/squashfs/xz_wrapper.c struct comp_opts *comp_opts = buff; buff 24 fs/squashfs/zlib_wrapper.c static void *zlib_init(struct squashfs_sb_info *dummy, void *buff) buff 29 fs/squashfs/zstd_wrapper.c static void *zstd_init(struct squashfs_sb_info *msblk, void *buff) buff 17 include/asm-generic/checksum.h extern __wsum csum_partial(const void *buff, int len, __wsum sum); buff 86 include/asm-generic/checksum.h extern __sum16 ip_compute_csum(const void *buff, int len); buff 157 include/linux/soc/ti/knav_dma.h __le32 buff; buff 392 include/linux/socket.h extern int __sys_sendto(int fd, void __user *buff, size_t len, buff 23 include/linux/via_i2c.h int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len); buff 112 include/net/checksum.h static inline __wsum csum_partial_ext(const void *buff, int len, __wsum sum) buff 114 include/net/checksum.h return csum_partial(buff, len, sum); buff 328 include/net/ip.h #define snmp_get_cpu_field_batch(buff, stats_list, mib_statistic) \ buff 333 include/net/ip.h buff[i] += snmp_get_cpu_field( \ buff 31 include/net/sctp/checksum.h static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum) buff 36 include/net/sctp/checksum.h return (__force __wsum)crc32c((__force __u32)sum, buff, len); buff 18 kernel/bpf/disasm.c char *buff, size_t len) buff 31 kernel/bpf/disasm.c snprintf(buff, len, "%+d", insn->imm); buff 33 kernel/bpf/disasm.c return buff; buff 38 kernel/bpf/disasm.c u64 full_imm, char *buff, size_t len) buff 43 kernel/bpf/disasm.c snprintf(buff, len, "0x%llx", (unsigned long long)full_imm); buff 44 kernel/bpf/disasm.c return buff; buff 3853 kernel/trace/ftrace.c ftrace_match_records(struct ftrace_hash *hash, char *buff, int len) buff 3855 kernel/trace/ftrace.c return match_records(hash, buff, len, NULL); buff 4639 kernel/trace/ftrace.c char *buff, int len, int enable) buff 4643 kernel/trace/ftrace.c char *func, *command, *next = buff; buff 1562 kernel/trace/trace.h filter_parse_regex(char *buff, int len, char **search, int *not); buff 821 kernel/trace/trace_events_filter.c enum regex_type filter_parse_regex(char *buff, int len, char **search, int *not) buff 826 kernel/trace/trace_events_filter.c if (buff[0] == '!') { buff 828 kernel/trace/trace_events_filter.c buff++; buff 833 kernel/trace/trace_events_filter.c *search = buff; buff 835 kernel/trace/trace_events_filter.c if (isdigit(buff[0])) buff 839 kernel/trace/trace_events_filter.c if (buff[i] == '*') { buff 847 kernel/trace/trace_events_filter.c buff[i] = 0; buff 852 kernel/trace/trace_events_filter.c } else if (strchr("[?\\", buff[i])) { buff 856 kernel/trace/trace_events_filter.c if (buff[0] == '*') buff 857 kernel/trace/trace_events_filter.c *search = buff + 1; buff 217 kernel/trace/trace_events_trigger.c static int trigger_process_regex(struct trace_event_file *file, char *buff) buff 219 kernel/trace/trace_events_trigger.c char *command, *next = buff; buff 229 kernel/trace/trace_events_trigger.c ret = p->func(p, file, buff, command, next); buff 46 lib/checksum.c static unsigned int do_csum(const unsigned char *buff, int len) buff 53 lib/checksum.c odd = 1 & (unsigned long) buff; buff 56 lib/checksum.c result += (*buff << 8); buff 58 lib/checksum.c result = *buff; buff 61 lib/checksum.c buff++; buff 64 lib/checksum.c if (2 & (unsigned long) buff) { buff 65 lib/checksum.c result += *(unsigned short *) buff; buff 67 lib/checksum.c buff += 2; buff 70 lib/checksum.c const unsigned char *end = buff + ((unsigned)len & ~3); buff 73 lib/checksum.c unsigned int w = *(unsigned int *) buff; buff 74 lib/checksum.c buff += 4; buff 78 lib/checksum.c } while (buff < end); buff 83 lib/checksum.c result += *(unsigned short *) buff; buff 84 lib/checksum.c buff += 2; buff 89 lib/checksum.c result += *buff; buff 91 lib/checksum.c result += (*buff << 8); buff 125 lib/checksum.c __wsum csum_partial(const void *buff, int len, __wsum wsum) buff 128 lib/checksum.c unsigned int result = do_csum(buff, len); buff 142 lib/checksum.c __sum16 ip_compute_csum(const void *buff, int len) buff 144 lib/checksum.c return (__force __sum16)~do_csum(buff, len); buff 336 lib/mpi/mpicoder.c const u8 *buff; buff 349 lib/mpi/mpicoder.c while (len && !*buff) { buff 352 lib/mpi/mpicoder.c buff++; buff 355 lib/mpi/mpicoder.c if (len && *buff) buff 359 lib/mpi/mpicoder.c buff = miter.addr; buff 377 lib/mpi/mpicoder.c nbits -= count_leading_zeros(*buff) - (BITS_PER_LONG - 8); buff 399 lib/mpi/mpicoder.c buff = miter.addr; buff 404 lib/mpi/mpicoder.c a |= *buff++; buff 489 lib/test_rhashtable.c char buff[512] = ""; buff 504 lib/test_rhashtable.c sprintf(buff, "%s\nbucket[%d] -> ", buff, i); buff 509 lib/test_rhashtable.c sprintf(buff, "%s[[", buff); buff 515 lib/test_rhashtable.c sprintf(buff, "%s val %d (tid=%d)%s", buff, p->value.id, p->value.tid, buff 524 lib/test_rhashtable.c sprintf(buff, "%s]]%s", buff, !rht_is_a_nulls(pos) ? " -> " : ""); buff 527 lib/test_rhashtable.c printk(KERN_ERR "\n---- ht: ----%s\n-------------\n", buff); buff 131 net/atm/lec.c char *buff; buff 139 net/atm/lec.c buff = skb->data + skb->dev->hard_header_len; buff 140 net/atm/lec.c if (*buff++ == 0x42 && *buff++ == 0x42 && *buff++ == 0x03) { buff 151 net/atm/lec.c buff += 4; buff 152 net/atm/lec.c mesg->content.normal.flag = *buff & 0x01; buff 496 net/atm/mpc.c char *buff; buff 507 net/atm/mpc.c buff = skb->data + mpc->dev->hard_header_len; buff 508 net/atm/mpc.c iph = (struct iphdr *)buff; buff 51 net/atm/mpoa_proc.c static ssize_t proc_mpc_write(struct file *file, const char __user *buff, buff 54 net/atm/mpoa_proc.c static int parse_qos(const char *buff); buff 209 net/atm/mpoa_proc.c static ssize_t proc_mpc_write(struct file *file, const char __user *buff, buff 226 net/atm/mpoa_proc.c if (get_user(*p, buff++)) { buff 244 net/atm/mpoa_proc.c static int parse_qos(const char *buff) buff 256 net/atm/mpoa_proc.c if (sscanf(buff, "del %hhu.%hhu.%hhu.%hhu", buff 262 net/atm/mpoa_proc.c if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=tx", buff 266 net/atm/mpoa_proc.c } else if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=%d,%d", buff 49 net/ax25/ax25_ip.c unsigned char *buff; buff 56 net/ax25/ax25_ip.c buff = skb_push(skb, AX25_HEADER_LEN); buff 57 net/ax25/ax25_ip.c *buff++ = 0x00; /* KISS DATA */ buff 60 net/ax25/ax25_ip.c memcpy(buff, daddr, dev->addr_len); /* Address specified */ buff 62 net/ax25/ax25_ip.c buff[6] &= ~AX25_CBIT; buff 63 net/ax25/ax25_ip.c buff[6] &= ~AX25_EBIT; buff 64 net/ax25/ax25_ip.c buff[6] |= AX25_SSSID_SPARE; buff 65 net/ax25/ax25_ip.c buff += AX25_ADDR_LEN; buff 68 net/ax25/ax25_ip.c memcpy(buff, saddr, dev->addr_len); buff 70 net/ax25/ax25_ip.c memcpy(buff, dev->dev_addr, dev->addr_len); buff 72 net/ax25/ax25_ip.c buff[6] &= ~AX25_CBIT; buff 73 net/ax25/ax25_ip.c buff[6] |= AX25_EBIT; buff 74 net/ax25/ax25_ip.c buff[6] |= AX25_SSSID_SPARE; buff 75 net/ax25/ax25_ip.c buff += AX25_ADDR_LEN; buff 77 net/ax25/ax25_ip.c *buff++ = AX25_UI; /* UI */ buff 82 net/ax25/ax25_ip.c *buff++ = AX25_P_IP; buff 85 net/ax25/ax25_ip.c *buff++ = AX25_P_ARP; buff 89 net/ax25/ax25_ip.c *buff++ = 0; buff 670 net/batman-adv/bat_v.c char *buff, size_t count) buff 674 net/batman-adv/bat_v.c if (!batadv_parse_throughput(bat_priv->soft_iface, buff, buff 688 net/batman-adv/bat_v.c static ssize_t batadv_v_show_sel_class(struct batadv_priv *bat_priv, char *buff) buff 692 net/batman-adv/bat_v.c return sprintf(buff, "%u.%u MBit\n", class / 10, class % 10); buff 36 net/batman-adv/gateway_common.c bool batadv_parse_throughput(struct net_device *net_dev, char *buff, buff 44 net/batman-adv/gateway_common.c if (strlen(buff) > 4) { buff 45 net/batman-adv/gateway_common.c tmp_ptr = buff + strlen(buff) - 4; buff 55 net/batman-adv/gateway_common.c ret = kstrtou64(buff, 10, <hroughput); buff 59 net/batman-adv/gateway_common.c description, buff); buff 69 net/batman-adv/gateway_common.c description, buff); buff 84 net/batman-adv/gateway_common.c description, buff); buff 103 net/batman-adv/gateway_common.c static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff, buff 109 net/batman-adv/gateway_common.c slash_ptr = strchr(buff, '/'); buff 113 net/batman-adv/gateway_common.c ret = batadv_parse_throughput(net_dev, buff, "download gateway speed", buff 167 net/batman-adv/gateway_common.c ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, buff 180 net/batman-adv/gateway_common.c ret = batadv_parse_gw_bandwidth(net_dev, buff, &down_new, &up_new); buff 30 net/batman-adv/gateway_common.h ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, buff 35 net/batman-adv/gateway_common.h bool batadv_parse_throughput(struct net_device *net_dev, char *buff, buff 167 net/batman-adv/icmp_socket.c static ssize_t batadv_socket_write(struct file *file, const char __user *buff, buff 209 net/batman-adv/icmp_socket.c if (copy_from_user(icmp_header, buff, packet_len)) { buff 138 net/batman-adv/sysfs.c struct attribute *attr, char *buff, \ buff 146 net/batman-adv/sysfs.c length = __batadv_store_bool_attr(buff, count, _post_func, attr,\ buff 156 net/batman-adv/sysfs.c struct attribute *attr, char *buff) \ buff 161 net/batman-adv/sysfs.c return sprintf(buff, "%s\n", \ buff 177 net/batman-adv/sysfs.c struct attribute *attr, char *buff, \ buff 185 net/batman-adv/sysfs.c length = __batadv_store_uint_attr(buff, count, _min, _max, \ buff 197 net/batman-adv/sysfs.c struct attribute *attr, char *buff) \ buff 202 net/batman-adv/sysfs.c return sprintf(buff, "%i\n", atomic_read(&bat_priv->_var)); \ buff 216 net/batman-adv/sysfs.c struct attribute *attr, char *buff, \ buff 222 net/batman-adv/sysfs.c size_t res = __batadv_store_bool_attr(buff, count, _post_func, \ buff 238 net/batman-adv/sysfs.c struct attribute *attr, char *buff) \ buff 243 net/batman-adv/sysfs.c size_t res = sprintf(buff, "%s\n", \ buff 261 net/batman-adv/sysfs.c struct attribute *attr, char *buff, \ buff 274 net/batman-adv/sysfs.c length = __batadv_store_uint_attr(buff, count, _min, _max, \ buff 291 net/batman-adv/sysfs.c struct attribute *attr, char *buff) \ buff 302 net/batman-adv/sysfs.c length = sprintf(buff, "%i\n", atomic_read(&hard_iface->_var)); \ buff 318 net/batman-adv/sysfs.c static int batadv_store_bool_attr(char *buff, size_t count, buff 327 net/batman-adv/sysfs.c if (buff[count - 1] == '\n') buff 328 net/batman-adv/sysfs.c buff[count - 1] = '\0'; buff 330 net/batman-adv/sysfs.c if ((strncmp(buff, "1", 2) == 0) || buff 331 net/batman-adv/sysfs.c (strncmp(buff, "enable", 7) == 0) || buff 332 net/batman-adv/sysfs.c (strncmp(buff, "enabled", 8) == 0)) buff 335 net/batman-adv/sysfs.c if ((strncmp(buff, "0", 2) == 0) || buff 336 net/batman-adv/sysfs.c (strncmp(buff, "disable", 8) == 0) || buff 337 net/batman-adv/sysfs.c (strncmp(buff, "disabled", 9) == 0)) buff 342 net/batman-adv/sysfs.c attr_name, buff); buff 360 net/batman-adv/sysfs.c __batadv_store_bool_attr(char *buff, size_t count, buff 368 net/batman-adv/sysfs.c ret = batadv_store_bool_attr(buff, count, net_dev, attr->name, buff 376 net/batman-adv/sysfs.c static int batadv_store_uint_attr(const char *buff, size_t count, buff 387 net/batman-adv/sysfs.c ret = kstrtoul(buff, 10, &uint_val); buff 390 net/batman-adv/sysfs.c attr_name, buff); buff 419 net/batman-adv/sysfs.c static ssize_t __batadv_store_uint_attr(const char *buff, size_t count, buff 429 net/batman-adv/sysfs.c ret = batadv_store_uint_attr(buff, count, net_dev, slave_dev, buff 438 net/batman-adv/sysfs.c struct attribute *attr, char *buff) buff 443 net/batman-adv/sysfs.c return sprintf(buff, "%s\n", bat_priv->algo_ops->name); buff 454 net/batman-adv/sysfs.c char *buff) buff 470 net/batman-adv/sysfs.c bytes_written = sprintf(buff, "%s\n", buff 474 net/batman-adv/sysfs.c bytes_written = sprintf(buff, "%s\n", buff 478 net/batman-adv/sysfs.c bytes_written = sprintf(buff, "%s\n", buff 487 net/batman-adv/sysfs.c struct attribute *attr, char *buff, buff 504 net/batman-adv/sysfs.c if (buff[count - 1] == '\n') buff 505 net/batman-adv/sysfs.c buff[count - 1] = '\0'; buff 507 net/batman-adv/sysfs.c if (strncmp(buff, BATADV_GW_MODE_OFF_NAME, buff 511 net/batman-adv/sysfs.c if (strncmp(buff, BATADV_GW_MODE_CLIENT_NAME, buff 515 net/batman-adv/sysfs.c if (strncmp(buff, BATADV_GW_MODE_SERVER_NAME, buff 522 net/batman-adv/sysfs.c buff); buff 542 net/batman-adv/sysfs.c curr_gw_mode_str, buff); buff 567 net/batman-adv/sysfs.c struct attribute *attr, char *buff) buff 581 net/batman-adv/sysfs.c return bat_priv->algo_ops->gw.show_sel_class(bat_priv, buff); buff 583 net/batman-adv/sysfs.c return sprintf(buff, "%i\n", atomic_read(&bat_priv->gw.sel_class)); buff 587 net/batman-adv/sysfs.c struct attribute *attr, char *buff, buff 602 net/batman-adv/sysfs.c if (buff[count - 1] == '\n') buff 603 net/batman-adv/sysfs.c buff[count - 1] = '\0'; buff 606 net/batman-adv/sysfs.c return bat_priv->algo_ops->gw.store_sel_class(bat_priv, buff, buff 609 net/batman-adv/sysfs.c length = __batadv_store_uint_attr(buff, count, 1, BATADV_TQ_MAX_VALUE, buff 620 net/batman-adv/sysfs.c struct attribute *attr, char *buff) buff 630 net/batman-adv/sysfs.c return sprintf(buff, "%u.%u/%u.%u MBit\n", down / 10, buff 635 net/batman-adv/sysfs.c struct attribute *attr, char *buff, buff 644 net/batman-adv/sysfs.c if (buff[count - 1] == '\n') buff 645 net/batman-adv/sysfs.c buff[count - 1] = '\0'; buff 647 net/batman-adv/sysfs.c length = batadv_gw_bandwidth_set(net_dev, buff, count); buff 664 net/batman-adv/sysfs.c struct attribute *attr, char *buff) buff 669 net/batman-adv/sysfs.c return sprintf(buff, "%#.8x/%#.8x\n", bat_priv->isolation_mark, buff 684 net/batman-adv/sysfs.c struct attribute *attr, char *buff, buff 698 net/batman-adv/sysfs.c mask_ptr = strchr(buff, '/'); buff 711 net/batman-adv/sysfs.c if (kstrtou32(buff, 0, &mark) < 0) buff 942 net/batman-adv/sysfs.c struct attribute *attr, char *buff) buff 960 net/batman-adv/sysfs.c length = sprintf(buff, "%s\n", ifname); buff 1049 net/batman-adv/sysfs.c struct attribute *attr, char *buff, buff 1057 net/batman-adv/sysfs.c if (buff[count - 1] == '\n') buff 1058 net/batman-adv/sysfs.c buff[count - 1] = '\0'; buff 1060 net/batman-adv/sysfs.c if (strlen(buff) >= IFNAMSIZ) { buff 1062 net/batman-adv/sysfs.c buff); buff 1073 net/batman-adv/sysfs.c strscpy(store_work->soft_iface_name, buff, buff 1082 net/batman-adv/sysfs.c struct attribute *attr, char *buff) buff 1096 net/batman-adv/sysfs.c length = sprintf(buff, "disabling\n"); buff 1099 net/batman-adv/sysfs.c length = sprintf(buff, "inactive\n"); buff 1102 net/batman-adv/sysfs.c length = sprintf(buff, "active\n"); buff 1105 net/batman-adv/sysfs.c length = sprintf(buff, "enabling\n"); buff 1109 net/batman-adv/sysfs.c length = sprintf(buff, "not in use\n"); buff 1132 net/batman-adv/sysfs.c char *buff, size_t count) buff 1147 net/batman-adv/sysfs.c if (buff[count - 1] == '\n') buff 1148 net/batman-adv/sysfs.c buff[count - 1] = '\0'; buff 1150 net/batman-adv/sysfs.c ret = batadv_parse_throughput(net_dev, buff, "throughput_override", buff 1179 net/batman-adv/sysfs.c char *buff) buff 1194 net/batman-adv/sysfs.c return sprintf(buff, "%u.%u MBit\n", tp_override / 10, buff 2272 net/batman-adv/types.h ssize_t (*store_sel_class)(struct batadv_priv *bat_priv, char *buff, buff 2276 net/batman-adv/types.h ssize_t (*show_sel_class)(struct batadv_priv *bat_priv, char *buff); buff 1626 net/core/filter.c u8 buff[MAX_BPF_STACK]; buff 1152 net/core/neighbour.c struct sk_buff *buff; buff 1154 net/core/neighbour.c buff = __skb_dequeue(&neigh->arp_queue); buff 1155 net/core/neighbour.c if (!buff) buff 1157 net/core/neighbour.c neigh->arp_queue_len_bytes -= buff->truesize; buff 1158 net/core/neighbour.c kfree_skb(buff); buff 2869 net/core/skbuff.c static __wsum warn_crc32c_csum_update(const void *buff, int len, __wsum sum) buff 396 net/ipv4/proc.c unsigned long buff[TCPUDP_MIB_MAX]; buff 400 net/ipv4/proc.c memset(buff, 0, TCPUDP_MIB_MAX * sizeof(unsigned long)); buff 407 net/ipv4/proc.c snmp_get_cpu_field_batch(buff, snmp4_tcp_list, buff 412 net/ipv4/proc.c seq_printf(seq, " %ld", buff[i]); buff 414 net/ipv4/proc.c seq_printf(seq, " %lu", buff[i]); buff 417 net/ipv4/proc.c memset(buff, 0, TCPUDP_MIB_MAX * sizeof(unsigned long)); buff 419 net/ipv4/proc.c snmp_get_cpu_field_batch(buff, snmp4_udp_list, buff 426 net/ipv4/proc.c seq_printf(seq, " %lu", buff[i]); buff 428 net/ipv4/proc.c memset(buff, 0, TCPUDP_MIB_MAX * sizeof(unsigned long)); buff 432 net/ipv4/proc.c snmp_get_cpu_field_batch(buff, snmp4_udp_list, buff 438 net/ipv4/proc.c seq_printf(seq, " %lu", buff[i]); buff 1288 net/ipv4/tcp_output.c struct sk_buff *buff, buff 1293 net/ipv4/tcp_output.c __skb_queue_after(&sk->sk_write_queue, skb, buff); buff 1295 net/ipv4/tcp_output.c tcp_rbtree_insert(&sk->tcp_rtx_queue, buff); buff 1308 net/ipv4/tcp_output.c struct sk_buff *buff; buff 1339 net/ipv4/tcp_output.c buff = sk_stream_alloc_skb(sk, nsize, gfp, true); buff 1340 net/ipv4/tcp_output.c if (!buff) buff 1342 net/ipv4/tcp_output.c skb_copy_decrypted(buff, skb); buff 1344 net/ipv4/tcp_output.c sk_wmem_queued_add(sk, buff->truesize); buff 1345 net/ipv4/tcp_output.c sk_mem_charge(sk, buff->truesize); buff 1347 net/ipv4/tcp_output.c buff->truesize += nlen; buff 1351 net/ipv4/tcp_output.c TCP_SKB_CB(buff)->seq = TCP_SKB_CB(skb)->seq + len; buff 1352 net/ipv4/tcp_output.c TCP_SKB_CB(buff)->end_seq = TCP_SKB_CB(skb)->end_seq; buff 1353 net/ipv4/tcp_output.c TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; buff 1358 net/ipv4/tcp_output.c TCP_SKB_CB(buff)->tcp_flags = flags; buff 1359 net/ipv4/tcp_output.c TCP_SKB_CB(buff)->sacked = TCP_SKB_CB(skb)->sacked; buff 1360 net/ipv4/tcp_output.c tcp_skb_fragment_eor(skb, buff); buff 1362 net/ipv4/tcp_output.c skb_split(skb, buff, len); buff 1364 net/ipv4/tcp_output.c buff->ip_summed = CHECKSUM_PARTIAL; buff 1366 net/ipv4/tcp_output.c buff->tstamp = skb->tstamp; buff 1367 net/ipv4/tcp_output.c tcp_fragment_tstamp(skb, buff); buff 1373 net/ipv4/tcp_output.c tcp_set_skb_tso_segs(buff, mss_now); buff 1376 net/ipv4/tcp_output.c TCP_SKB_CB(buff)->tx = TCP_SKB_CB(skb)->tx; buff 1381 net/ipv4/tcp_output.c if (!before(tp->snd_nxt, TCP_SKB_CB(buff)->end_seq)) { buff 1383 net/ipv4/tcp_output.c tcp_skb_pcount(buff); buff 1390 net/ipv4/tcp_output.c __skb_header_release(buff); buff 1391 net/ipv4/tcp_output.c tcp_insert_write_queue_after(skb, buff, sk, tcp_queue); buff 1393 net/ipv4/tcp_output.c list_add(&buff->tcp_tsorted_anchor, &skb->tcp_tsorted_anchor); buff 1886 net/ipv4/tcp_output.c struct sk_buff *buff; buff 1894 net/ipv4/tcp_output.c buff = sk_stream_alloc_skb(sk, 0, gfp, true); buff 1895 net/ipv4/tcp_output.c if (unlikely(!buff)) buff 1897 net/ipv4/tcp_output.c skb_copy_decrypted(buff, skb); buff 1899 net/ipv4/tcp_output.c sk_wmem_queued_add(sk, buff->truesize); buff 1900 net/ipv4/tcp_output.c sk_mem_charge(sk, buff->truesize); buff 1901 net/ipv4/tcp_output.c buff->truesize += nlen; buff 1905 net/ipv4/tcp_output.c TCP_SKB_CB(buff)->seq = TCP_SKB_CB(skb)->seq + len; buff 1906 net/ipv4/tcp_output.c TCP_SKB_CB(buff)->end_seq = TCP_SKB_CB(skb)->end_seq; buff 1907 net/ipv4/tcp_output.c TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; buff 1912 net/ipv4/tcp_output.c TCP_SKB_CB(buff)->tcp_flags = flags; buff 1915 net/ipv4/tcp_output.c TCP_SKB_CB(buff)->sacked = 0; buff 1917 net/ipv4/tcp_output.c tcp_skb_fragment_eor(skb, buff); buff 1919 net/ipv4/tcp_output.c buff->ip_summed = CHECKSUM_PARTIAL; buff 1920 net/ipv4/tcp_output.c skb_split(skb, buff, len); buff 1921 net/ipv4/tcp_output.c tcp_fragment_tstamp(skb, buff); buff 1925 net/ipv4/tcp_output.c tcp_set_skb_tso_segs(buff, mss_now); buff 1928 net/ipv4/tcp_output.c __skb_header_release(buff); buff 1929 net/ipv4/tcp_output.c tcp_insert_write_queue_after(skb, buff, sk, TCP_FRAG_IN_WRITE_QUEUE); buff 3575 net/ipv4/tcp_output.c struct sk_buff *buff; buff 3590 net/ipv4/tcp_output.c buff = sk_stream_alloc_skb(sk, 0, sk->sk_allocation, true); buff 3591 net/ipv4/tcp_output.c if (unlikely(!buff)) buff 3594 net/ipv4/tcp_output.c tcp_init_nondata_skb(buff, tp->write_seq++, TCPHDR_SYN); buff 3597 net/ipv4/tcp_output.c tcp_connect_queue_skb(sk, buff); buff 3598 net/ipv4/tcp_output.c tcp_ecn_send_syn(sk, buff); buff 3599 net/ipv4/tcp_output.c tcp_rbtree_insert(&sk->tcp_rtx_queue, buff); buff 3602 net/ipv4/tcp_output.c err = tp->fastopen_req ? tcp_send_syn_data(sk, buff) : buff 3603 net/ipv4/tcp_output.c tcp_transmit_skb(sk, buff, 1, sk->sk_allocation); buff 3612 net/ipv4/tcp_output.c buff = tcp_send_head(sk); buff 3613 net/ipv4/tcp_output.c if (unlikely(buff)) { buff 3614 net/ipv4/tcp_output.c WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(buff)->seq); buff 3615 net/ipv4/tcp_output.c tp->pushed_seq = TCP_SKB_CB(buff)->seq; buff 3686 net/ipv4/tcp_output.c struct sk_buff *buff; buff 3696 net/ipv4/tcp_output.c buff = alloc_skb(MAX_TCP_HEADER, buff 3698 net/ipv4/tcp_output.c if (unlikely(!buff)) { buff 3707 net/ipv4/tcp_output.c skb_reserve(buff, MAX_TCP_HEADER); buff 3708 net/ipv4/tcp_output.c tcp_init_nondata_skb(buff, tcp_acceptable_seq(sk), TCPHDR_ACK); buff 3714 net/ipv4/tcp_output.c skb_set_tcp_pure_ack(buff); buff 3717 net/ipv4/tcp_output.c __tcp_transmit_skb(sk, buff, 0, (__force gfp_t)0, rcv_nxt); buff 5520 net/ipv6/addrconf.c u64 buff[IPSTATS_MIB_MAX]; buff 5525 net/ipv6/addrconf.c memset(buff, 0, sizeof(buff)); buff 5526 net/ipv6/addrconf.c buff[0] = IPSTATS_MIB_MAX; buff 5530 net/ipv6/addrconf.c buff[i] += snmp_get_cpu_field64(mib, c, i, syncpoff); buff 5533 net/ipv6/addrconf.c memcpy(stats, buff, IPSTATS_MIB_MAX * sizeof(u64)); buff 1583 net/ipv6/ndisc.c struct sk_buff *buff; buff 1667 net/ipv6/ndisc.c buff = ndisc_alloc_skb(dev, sizeof(*msg) + optlen); buff 1668 net/ipv6/ndisc.c if (!buff) buff 1671 net/ipv6/ndisc.c msg = skb_put(buff, sizeof(*msg)); buff 1685 net/ipv6/ndisc.c ndisc_fill_redirect_addr_option(buff, ha, ops_data); buff 1692 net/ipv6/ndisc.c ndisc_fill_redirect_hdr_option(buff, skb, rd_len); buff 1694 net/ipv6/ndisc.c skb_dst_set(buff, dst); buff 1695 net/ipv6/ndisc.c ndisc_send_skb(buff, &ipv6_hdr(skb)->saddr, &saddr_buf); buff 183 net/ipv6/proc.c unsigned long buff[SNMP_MIB_MAX]; buff 187 net/ipv6/proc.c memset(buff, 0, sizeof(unsigned long) * SNMP_MIB_MAX); buff 189 net/ipv6/proc.c snmp_get_cpu_field_batch(buff, itemlist, pcpumib); buff 192 net/ipv6/proc.c itemlist[i].name, buff[i]); buff 812 net/ipv6/tcp_ipv6.c struct sk_buff *buff; buff 828 net/ipv6/tcp_ipv6.c buff = alloc_skb(MAX_HEADER + sizeof(struct ipv6hdr) + tot_len, buff 830 net/ipv6/tcp_ipv6.c if (!buff) buff 833 net/ipv6/tcp_ipv6.c skb_reserve(buff, MAX_HEADER + sizeof(struct ipv6hdr) + tot_len); buff 835 net/ipv6/tcp_ipv6.c t1 = skb_push(buff, tot_len); buff 836 net/ipv6/tcp_ipv6.c skb_reset_transport_header(buff); buff 873 net/ipv6/tcp_ipv6.c buff->ip_summed = CHECKSUM_PARTIAL; buff 874 net/ipv6/tcp_ipv6.c buff->csum = 0; buff 876 net/ipv6/tcp_ipv6.c __tcp_v6_send_check(buff, &fl6.saddr, &fl6.daddr); buff 892 net/ipv6/tcp_ipv6.c skb_set_hash(buff, inet_twsk(sk)->tw_txhash, buff 897 net/ipv6/tcp_ipv6.c buff->tstamp = tcp_transmit_time(sk); buff 911 net/ipv6/tcp_ipv6.c skb_dst_set(buff, dst); buff 912 net/ipv6/tcp_ipv6.c ip6_xmit(ctl_sk, buff, &fl6, fl6.flowi6_mark, NULL, tclass, buff 920 net/ipv6/tcp_ipv6.c kfree_skb(buff); buff 548 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_sync_buff *buff; buff 570 net/netfilter/ipvs/ip_vs_sync.c buff = ms->sync_buff; buff 573 net/netfilter/ipvs/ip_vs_sync.c if (buff) { buff 574 net/netfilter/ipvs/ip_vs_sync.c m = (struct ip_vs_sync_mesg_v0 *) buff->mesg; buff 576 net/netfilter/ipvs/ip_vs_sync.c if (buff->head + len > buff->end || !m->nr_conns) { buff 579 net/netfilter/ipvs/ip_vs_sync.c buff = NULL; buff 582 net/netfilter/ipvs/ip_vs_sync.c if (!buff) { buff 583 net/netfilter/ipvs/ip_vs_sync.c buff = ip_vs_sync_buff_create_v0(ipvs, len); buff 584 net/netfilter/ipvs/ip_vs_sync.c if (!buff) { buff 589 net/netfilter/ipvs/ip_vs_sync.c ms->sync_buff = buff; buff 592 net/netfilter/ipvs/ip_vs_sync.c m = (struct ip_vs_sync_mesg_v0 *) buff->mesg; buff 593 net/netfilter/ipvs/ip_vs_sync.c s = (struct ip_vs_sync_conn_v0 *) buff->head; buff 614 net/netfilter/ipvs/ip_vs_sync.c buff->head += len; buff 637 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_sync_buff *buff; buff 691 net/netfilter/ipvs/ip_vs_sync.c buff = ms->sync_buff; buff 692 net/netfilter/ipvs/ip_vs_sync.c if (buff) { buff 693 net/netfilter/ipvs/ip_vs_sync.c m = buff->mesg; buff 694 net/netfilter/ipvs/ip_vs_sync.c pad = (4 - (size_t) buff->head) & 3; buff 696 net/netfilter/ipvs/ip_vs_sync.c if (buff->head + len + pad > buff->end || m->reserved) { buff 699 net/netfilter/ipvs/ip_vs_sync.c buff = NULL; buff 704 net/netfilter/ipvs/ip_vs_sync.c if (!buff) { buff 705 net/netfilter/ipvs/ip_vs_sync.c buff = ip_vs_sync_buff_create(ipvs, len); buff 706 net/netfilter/ipvs/ip_vs_sync.c if (!buff) { buff 711 net/netfilter/ipvs/ip_vs_sync.c ms->sync_buff = buff; buff 712 net/netfilter/ipvs/ip_vs_sync.c m = buff->mesg; buff 715 net/netfilter/ipvs/ip_vs_sync.c p = buff->head; buff 716 net/netfilter/ipvs/ip_vs_sync.c buff->head += pad + len; buff 814 net/netfilter/ipvs/ip_vs_sync.c char buff[IP_VS_PENAME_MAXLEN+1]; buff 816 net/netfilter/ipvs/ip_vs_sync.c memcpy(buff, pe_name, pe_name_len); buff 817 net/netfilter/ipvs/ip_vs_sync.c buff[pe_name_len]=0; buff 818 net/netfilter/ipvs/ip_vs_sync.c p->pe = __ip_vs_pe_getbyname(buff); buff 821 net/netfilter/ipvs/ip_vs_sync.c buff); buff 346 net/netfilter/nf_conntrack_proto_tcp.c unsigned char buff[(15 * 4) - sizeof(struct tcphdr)]; buff 354 net/netfilter/nf_conntrack_proto_tcp.c length, buff); buff 401 net/netfilter/nf_conntrack_proto_tcp.c unsigned char buff[(15 * 4) - sizeof(struct tcphdr)]; buff 410 net/netfilter/nf_conntrack_proto_tcp.c length, buff); buff 183 net/netfilter/nft_exthdr.c u8 buff[sizeof(struct tcphdr) + MAX_TCP_OPTION_SPACE]; buff 190 net/netfilter/nft_exthdr.c tcph = nft_tcp_header_pointer(pkt, sizeof(buff), buff, &tcphdr_len); buff 226 net/netfilter/nft_exthdr.c u8 buff[sizeof(struct tcphdr) + MAX_TCP_OPTION_SPACE]; buff 233 net/netfilter/nft_exthdr.c tcph = nft_tcp_header_pointer(pkt, sizeof(buff), buff, &tcphdr_len); buff 257 net/netfilter/nft_exthdr.c tcph = nft_tcp_header_pointer(pkt, sizeof(buff), buff, buff 69 net/netrom/nr_dev.c unsigned char *buff = skb_push(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN); buff 71 net/netrom/nr_dev.c memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); buff 72 net/netrom/nr_dev.c buff[6] &= ~AX25_CBIT; buff 73 net/netrom/nr_dev.c buff[6] &= ~AX25_EBIT; buff 74 net/netrom/nr_dev.c buff[6] |= AX25_SSSID_SPARE; buff 75 net/netrom/nr_dev.c buff += AX25_ADDR_LEN; buff 78 net/netrom/nr_dev.c memcpy(buff, daddr, dev->addr_len); buff 79 net/netrom/nr_dev.c buff[6] &= ~AX25_CBIT; buff 80 net/netrom/nr_dev.c buff[6] |= AX25_EBIT; buff 81 net/netrom/nr_dev.c buff[6] |= AX25_SSSID_SPARE; buff 82 net/netrom/nr_dev.c buff += AX25_ADDR_LEN; buff 84 net/netrom/nr_dev.c *buff++ = sysctl_netrom_network_ttl_initialiser; buff 86 net/netrom/nr_dev.c *buff++ = NR_PROTO_IP; buff 87 net/netrom/nr_dev.c *buff++ = NR_PROTO_IP; buff 88 net/netrom/nr_dev.c *buff++ = 0; buff 89 net/netrom/nr_dev.c *buff++ = 0; buff 90 net/netrom/nr_dev.c *buff++ = NR_PROTOEXT; buff 189 net/packet/af_packet.c static void packet_increment_head(struct packet_ring_buffer *buff); buff 1151 net/packet/af_packet.c static void packet_increment_head(struct packet_ring_buffer *buff) buff 1153 net/packet/af_packet.c buff->head = buff->head != buff->frame_max ? buff->head+1 : 0; buff 39 net/rose/rose_dev.c unsigned char *buff = skb_push(skb, ROSE_MIN_LEN + 2); buff 42 net/rose/rose_dev.c memcpy(buff + 7, daddr, dev->addr_len); buff 44 net/rose/rose_dev.c *buff++ = ROSE_GFI | ROSE_Q_BIT; buff 45 net/rose/rose_dev.c *buff++ = 0x00; buff 46 net/rose/rose_dev.c *buff++ = ROSE_DATA; buff 47 net/rose/rose_dev.c *buff++ = 0x7F; buff 48 net/rose/rose_dev.c *buff++ = AX25_P_IP; buff 61 net/sctp/proc.c unsigned long buff[SCTP_MIB_MAX]; buff 65 net/sctp/proc.c memset(buff, 0, sizeof(unsigned long) * SCTP_MIB_MAX); buff 67 net/sctp/proc.c snmp_get_cpu_field_batch(buff, sctp_snmp_list, buff 71 net/sctp/proc.c buff[i]); buff 1921 net/socket.c int __sys_sendto(int fd, void __user *buff, size_t len, unsigned int flags, buff 1931 net/socket.c err = import_single_range(WRITE, buff, len, &iov, &msg.msg_iter); buff 1960 net/socket.c SYSCALL_DEFINE6(sendto, int, fd, void __user *, buff, size_t, len, buff 1964 net/socket.c return __sys_sendto(fd, buff, len, flags, addr, addr_len); buff 1971 net/socket.c SYSCALL_DEFINE4(send, int, fd, void __user *, buff, size_t, len, buff 1974 net/socket.c return __sys_sendto(fd, buff, len, flags, NULL, 0); buff 49 net/xfrm/xfrm_proc.c unsigned long buff[LINUX_MIB_XFRMMAX]; buff 53 net/xfrm/xfrm_proc.c memset(buff, 0, sizeof(unsigned long) * LINUX_MIB_XFRMMAX); buff 55 net/xfrm/xfrm_proc.c snmp_get_cpu_field_batch(buff, xfrm_mib_list, buff 59 net/xfrm/xfrm_proc.c buff[i]); buff 951 samples/mic/mpssd/mpssd.c char buff[PATH_MAX], *line, *evv, *p; buff 953 samples/mic/mpssd/mpssd.c snprintf(buff, PATH_MAX, "%s/mpssd%03d.conf", mic_config_dir, mic->id); buff 954 samples/mic/mpssd/mpssd.c config = fopen(buff, "r"); buff 958 samples/mic/mpssd/mpssd.c line = fgets(buff, PATH_MAX, config); buff 278 scripts/dtc/util.c char *buff; buff 279 scripts/dtc/util.c int ret = utilfdt_read_err(filename, &buff, len); buff 287 scripts/dtc/util.c return buff; buff 103 sound/soc/sh/siu_pcm.c dma_addr_t buff, u32 size) buff 116 sound/soc/sh/siu_pcm.c sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), buff 117 sound/soc/sh/siu_pcm.c size, offset_in_page(buff)); buff 119 sound/soc/sh/siu_pcm.c sg_dma_address(&sg) = buff; buff 151 sound/soc/sh/siu_pcm.c dma_addr_t buff, size_t size) buff 163 sound/soc/sh/siu_pcm.c dev_dbg(dev, "%s: %u@%llx\n", __func__, size, (unsigned long long)buff); buff 166 sound/soc/sh/siu_pcm.c sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), buff 167 sound/soc/sh/siu_pcm.c size, offset_in_page(buff)); buff 169 sound/soc/sh/siu_pcm.c sg_dma_address(&sg) = buff; buff 217 sound/soc/sh/siu_pcm.c dma_addr_t buff; buff 221 sound/soc/sh/siu_pcm.c buff = (dma_addr_t)PERIOD_OFFSET(rt->dma_addr, buff 230 sound/soc/sh/siu_pcm.c siu_pcm_rd_set(port_info, buff, count); buff 607 sound/usb/mixer_quirks.c unsigned char buff[3]; buff 618 sound/usb/mixer_quirks.c USB_RECIP_INTERFACE, 0x00, 0x500, buff, 1); buff 625 sound/usb/mixer_quirks.c USB_RECIP_ENDPOINT, 0x100, 0x81, buff, 3); buff 637 sound/usb/mixer_quirks.c buff[0] = 0x80; buff 638 sound/usb/mixer_quirks.c buff[1] = 0xbb; buff 639 sound/usb/mixer_quirks.c buff[2] = 0x00; buff 641 sound/usb/mixer_quirks.c buff[0] = buff[1] = buff[2] = 0x00; buff 648 sound/usb/mixer_quirks.c USB_RECIP_ENDPOINT, 0x100, 0x81, buff, 3); buff 655 sound/usb/mixer_quirks.c USB_RECIP_ENDPOINT, 0x100, 0x81, buff, 3); buff 662 sound/usb/mixer_quirks.c USB_RECIP_ENDPOINT, 0x100, 0x2, buff, 3); buff 1730 sound/usb/mixer_quirks.c unsigned char buff[2]; buff 1732 sound/usb/mixer_quirks.c buff[0] = 0x02; buff 1733 sound/usb/mixer_quirks.c buff[1] = state ? 0x02 : 0x00; buff 1741 sound/usb/mixer_quirks.c 0x0202, 3, buff, 2); buff 106 tools/bpf/bpf_jit_disasm.c char *buff; buff 112 tools/bpf/bpf_jit_disasm.c buff = malloc(len); buff 113 tools/bpf/bpf_jit_disasm.c if (!buff) buff 116 tools/bpf/bpf_jit_disasm.c ret = klogctl(CMD_ACTION_READ_ALL, buff, len); buff 118 tools/bpf/bpf_jit_disasm.c free(buff); buff 123 tools/bpf/bpf_jit_disasm.c return buff; buff 130 tools/bpf/bpf_jit_disasm.c char *buff; buff 141 tools/bpf/bpf_jit_disasm.c buff = malloc(len); buff 142 tools/bpf/bpf_jit_disasm.c if (!buff) buff 145 tools/bpf/bpf_jit_disasm.c memset(buff, 0, len); buff 146 tools/bpf/bpf_jit_disasm.c ret = read(fd, buff, len - 1); buff 152 tools/bpf/bpf_jit_disasm.c return buff; buff 154 tools/bpf/bpf_jit_disasm.c free(buff); buff 165 tools/bpf/bpf_jit_disasm.c static void put_log_buff(char *buff) buff 167 tools/bpf/bpf_jit_disasm.c free(buff); buff 81 tools/bpf/bpftool/common.c mnt_fs(const char *target, const char *type, char *buff, size_t bufflen) buff 87 tools/bpf/bpftool/common.c snprintf(buff, bufflen, buff 94 tools/bpf/bpftool/common.c snprintf(buff, bufflen, buff 104 tools/bpf/bpftool/common.c snprintf(buff, bufflen, "mount -t %s %s %s failed: %s", buff 25 tools/bpf/bpftool/tracelog.c char *buff; buff 115 tools/bpf/bpftool/tracelog.c free(buff); buff 151 tools/bpf/bpftool/tracelog.c ret = getline(&buff, &buff_len, trace_pipe_fd); buff 158 tools/bpf/bpftool/tracelog.c jsonw_string(json_wtr, buff); buff 160 tools/bpf/bpftool/tracelog.c printf("%s", buff); buff 164 tools/bpf/bpftool/tracelog.c free(buff); buff 26 tools/bpf/bpftool/xlated_dumper.c char buff[256]; buff 34 tools/bpf/bpftool/xlated_dumper.c while (fgets(buff, sizeof(buff), fp)) { buff 46 tools/bpf/bpftool/xlated_dumper.c if (sscanf(buff, "%p %*c %s", &address, sym->name) != 2) buff 160 tools/perf/examples/bpf/augmented_syscalls.c void *buff; buff 106 tools/testing/selftests/bpf/prog_tests/global_data.c __u8 *buff; buff 116 tools/testing/selftests/bpf/prog_tests/global_data.c buff = malloc(bpf_map__def(map)->value_size); buff 117 tools/testing/selftests/bpf/prog_tests/global_data.c if (buff) buff 118 tools/testing/selftests/bpf/prog_tests/global_data.c err = bpf_map_update_elem(map_fd, &zero, buff, 0); buff 119 tools/testing/selftests/bpf/prog_tests/global_data.c free(buff); buff 94 tools/testing/selftests/bpf/test_tag.c char buff[256]; buff 98 tools/testing/selftests/bpf/test_tag.c snprintf(buff, sizeof(buff), "/proc/%d/fdinfo/%d", getpid(), buff 100 tools/testing/selftests/bpf/test_tag.c fp = fopen(buff, "r"); buff 103 tools/testing/selftests/bpf/test_tag.c while (fgets(buff, sizeof(buff), fp)) { buff 104 tools/testing/selftests/bpf/test_tag.c if (strncmp(buff, "prog_tag:\t", prefix_len)) buff 106 tools/testing/selftests/bpf/test_tag.c ret = hex2bin(tag, buff + prefix_len, len); buff 322 tools/testing/selftests/mqueue/mq_perf_tests.c char buff[MSG_SIZE]; buff 331 tools/testing/selftests/mqueue/mq_perf_tests.c while (mq_send(queue, buff, sizeof(buff), 0) == 0) buff 333 tools/testing/selftests/mqueue/mq_perf_tests.c mq_receive(queue, buff, sizeof(buff), &priority); buff 338 tools/testing/selftests/mqueue/mq_perf_tests.c while (mq_receive(queue, buff, MSG_SIZE, &prio_in) == MSG_SIZE) buff 342 tools/testing/selftests/mqueue/mq_perf_tests.c if (mq_send(queue, buff, MSG_SIZE, prio_out)) \ buff 349 tools/testing/selftests/mqueue/mq_perf_tests.c if (mq_send(queue, buff, MSG_SIZE, prio_out)) \ buff 352 tools/testing/selftests/mqueue/mq_perf_tests.c if (mq_receive(queue, buff, MSG_SIZE, &prio_in) != MSG_SIZE) \ buff 424 tools/testing/selftests/mqueue/mq_perf_tests.c char buff[MSG_SIZE]; buff 101 tools/usb/usbip/libsrc/usbip_common.c char buff[100]; buff 103 tools/usb/usbip/libsrc/usbip_common.c usbip_names_get_class(buff, sizeof(buff), buff 107 tools/usb/usbip/libsrc/usbip_common.c dbg("%-20s = %s", "Interface(C/SC/P)", buff); buff 112 tools/usb/usbip/libsrc/usbip_common.c char buff[100]; buff 117 tools/usb/usbip/libsrc/usbip_common.c usbip_names_get_class(buff, sizeof(buff), buff 121 tools/usb/usbip/libsrc/usbip_common.c dbg("%-20s = %s", "Device(C/SC/P)", buff); buff 125 tools/usb/usbip/libsrc/usbip_common.c usbip_names_get_product(buff, sizeof(buff), buff 128 tools/usb/usbip/libsrc/usbip_common.c dbg("%-20s = %s", "Vendor/Product", buff); buff 278 tools/usb/usbip/libsrc/usbip_common.c void usbip_names_get_product(char *buff, size_t size, uint16_t vendor, buff 292 tools/usb/usbip/libsrc/usbip_common.c snprintf(buff, size, "%s : %s (%04x:%04x)", vend, prod, vendor, product); buff 295 tools/usb/usbip/libsrc/usbip_common.c void usbip_names_get_class(char *buff, size_t size, uint8_t class, buff 301 tools/usb/usbip/libsrc/usbip_common.c snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); buff 317 tools/usb/usbip/libsrc/usbip_common.c snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); buff 147 tools/usb/usbip/libsrc/usbip_common.h void usbip_names_get_product(char *buff, size_t size, uint16_t vendor, buff 149 tools/usb/usbip/libsrc/usbip_common.h void usbip_names_get_class(char *buff, size_t size, uint8_t class, buff 359 tools/usb/usbip/libsrc/vhci_driver.c char buff[200]; /* what size should be ? */ buff 365 tools/usb/usbip/libsrc/vhci_driver.c snprintf(buff, sizeof(buff), "%u %d %u %u", buff 367 tools/usb/usbip/libsrc/vhci_driver.c dbg("writing: %s", buff); buff 374 tools/usb/usbip/libsrc/vhci_driver.c ret = write_sysfs_attribute(attach_attr_path, buff, strlen(buff)); buff 403 tools/usb/usbip/libsrc/vhci_driver.c char buff[200]; /* what size should be ? */ buff 407 tools/usb/usbip/libsrc/vhci_driver.c snprintf(buff, sizeof(buff), "%u", port); buff 408 tools/usb/usbip/libsrc/vhci_driver.c dbg("writing: %s", buff); buff 415 tools/usb/usbip/libsrc/vhci_driver.c ret = write_sysfs_attribute(detach_attr_path, buff, strlen(buff)); buff 43 tools/usb/usbip/src/usbip_attach.c char buff[MAX_BUFF+1]; buff 67 tools/usb/usbip/src/usbip_attach.c snprintf(buff, MAX_BUFF, "%s %s %s\n", buff 70 tools/usb/usbip/src/usbip_attach.c ret = write(fd, buff, strlen(buff)); buff 71 tools/usb/usbip/src/usbip_attach.c if (ret != (ssize_t) strlen(buff)) { buff 95 tools/usb/usbip/src/usbip_network.c static ssize_t usbip_net_xmit(int sockfd, void *buff, size_t bufflen, buff 106 tools/usb/usbip/src/usbip_network.c nbytes = send(sockfd, buff, bufflen, 0); buff 108 tools/usb/usbip/src/usbip_network.c nbytes = recv(sockfd, buff, bufflen, MSG_WAITALL); buff 113 tools/usb/usbip/src/usbip_network.c buff = (void *)((intptr_t) buff + nbytes); buff 122 tools/usb/usbip/src/usbip_network.c ssize_t usbip_net_recv(int sockfd, void *buff, size_t bufflen) buff 124 tools/usb/usbip/src/usbip_network.c return usbip_net_xmit(sockfd, buff, bufflen, 0); buff 127 tools/usb/usbip/src/usbip_network.c ssize_t usbip_net_send(int sockfd, void *buff, size_t bufflen) buff 129 tools/usb/usbip/src/usbip_network.c return usbip_net_xmit(sockfd, buff, bufflen, 1); buff 168 tools/usb/usbip/src/usbip_network.h ssize_t usbip_net_recv(int sockfd, void *buff, size_t bufflen); buff 169 tools/usb/usbip/src/usbip_network.h ssize_t usbip_net_send(int sockfd, void *buff, size_t bufflen);