| /linux/lib/crc/x86/ |
| H A D | crc32c-3way.S | 61 #define bufp %rsi macro 87 movq (bufp), %rax 88 add n_misaligned_q, bufp 129 crc32q (bufp), crc0_q 130 crc32q (bufp,chunk_bytes_q), crc1 131 crc32q (bufp,chunk_bytes_q,2), crc2 132 crc32q 8(bufp), crc0_q 133 crc32q 8(bufp,chunk_bytes_q), crc1 134 crc32q 8(bufp,chunk_bytes_q,2), crc2 135 crc32q 16(bufp), crc0_q [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_boot.c | 176 append_printf(char **bufp, char *end, const char *fmt, ...) in append_printf() argument 181 if (*bufp == end) in append_printf() 185 ret = vsnprintf(*bufp, end - *bufp, fmt, args); in append_printf() 186 if (ret < end - *bufp) { in append_printf() 187 *bufp += ret; in append_printf() 189 *bufp = end; in append_printf() 198 append_str_nospace(char **bufp, char *end, const char *str) in append_str_nospace() argument 200 char *p = *bufp; in append_str_nospace() 210 *bufp = end; in append_str_nospace() 213 len = p - *bufp; in append_str_nospace() [all …]
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | opal-core.c | 140 Elf64_Off *bufp = (Elf64_Off *)oc_conf->auxv_buf; in auxv_to_elf64_notes() local 143 memset(bufp, 0, AUXV_DESC_SZ); in auxv_to_elf64_notes() 146 bufp[idx++] = cpu_to_be64(AT_ENTRY); in auxv_to_elf64_notes() 147 bufp[idx++] = cpu_to_be64(opal_boot_entry); in auxv_to_elf64_notes() 150 bufp[idx++] = cpu_to_be64(AT_NULL); in auxv_to_elf64_notes() 228 char *bufp; in opalcore_append_cpu_notes() local 232 bufp = __va(oc_conf->cpu_state_destination_vaddr); in opalcore_append_cpu_notes() 239 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes() 258 for (i = 0; i < oc_conf->num_cpus; i++, bufp += size_per_thread) { in opalcore_append_cpu_notes() 259 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes() [all …]
|
| H A D | opal-fadump.h | 124 static inline void opal_fadump_read_regs(char *bufp, unsigned int regs_cnt, in opal_fadump_read_regs() argument 135 for (i = 0; i < regs_cnt; i++, bufp += reg_entry_size) { in opal_fadump_read_regs() 136 reg_entry = (struct hdat_fadump_reg_entry *)bufp; in opal_fadump_read_regs()
|
| H A D | opal-fadump.c | 425 char *bufp; in opal_fadump_build_cpu_notes() local 431 bufp = __va(fadump_conf->cpu_state_dest_vaddr); in opal_fadump_build_cpu_notes() 448 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opal_fadump_build_cpu_notes() 459 for (i = 0; i < num_cpus; i++, bufp += size_per_thread) { in opal_fadump_build_cpu_notes() 460 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opal_fadump_build_cpu_notes() 491 opal_fadump_read_regs((bufp + regs_offset), regs_cnt, in opal_fadump_build_cpu_notes()
|
| /linux/fs/freevxfs/ |
| H A D | vxfs_super.c | 75 vxfs_statfs(struct dentry *dentry, struct kstatfs *bufp) in vxfs_statfs() argument 81 bufp->f_type = VXFS_SUPER_MAGIC; in vxfs_statfs() 82 bufp->f_bsize = dentry->d_sb->s_blocksize; in vxfs_statfs() 83 bufp->f_blocks = fs32_to_cpu(infp, raw_sb->vs_dsize); in vxfs_statfs() 84 bufp->f_bfree = fs32_to_cpu(infp, raw_sb->vs_free); in vxfs_statfs() 85 bufp->f_bavail = 0; in vxfs_statfs() 86 bufp->f_files = 0; in vxfs_statfs() 87 bufp->f_ffree = fs32_to_cpu(infp, raw_sb->vs_ifree); in vxfs_statfs() 88 bufp->f_fsid = u64_to_fsid(id); in vxfs_statfs() 89 bufp->f_namelen = VXFS_NAMELEN; in vxfs_statfs()
|
| /linux/arch/powerpc/kernel/ |
| H A D | fadump.c | 758 void __init fadump_update_elfcore_header(char *bufp) in fadump_update_elfcore_header() argument 762 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header() 765 phdr = (struct elf_phdr *)bufp; in fadump_update_elfcore_header() 924 static int fadump_init_elfcore_header(char *bufp) in fadump_init_elfcore_header() argument 928 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header() 929 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header() 1005 char *bufp; in fadump_populate_elfcorehdr() local 1011 bufp = (char *) fw_dump.elfcorehdr_addr; in fadump_populate_elfcorehdr() 1012 fadump_init_elfcore_header(bufp); in fadump_populate_elfcorehdr() 1013 elf = (struct elfhdr *)bufp; in fadump_populate_elfcorehdr() [all …]
|
| /linux/kernel/ |
| H A D | auditfilter.c | 127 char *audit_unpack_string(void **bufp, size_t *remain, size_t len) in audit_unpack_string() argument 131 if (!*bufp || (len == 0) || (len > *remain)) in audit_unpack_string() 144 memcpy(str, *bufp, len); in audit_unpack_string() 146 *bufp += len; in audit_unpack_string() 454 void *bufp; in audit_data_to_entry() local 464 bufp = data->buf; in audit_data_to_entry() 524 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry() 544 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry() 557 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry() 577 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry() [all …]
|
| /linux/security/integrity/ima/ |
| H A D | ima_template_lib.c | 245 void *bufp = bufstartp; in ima_parse_buf() local 250 if (bufp > (bufendp - sizeof(u32))) in ima_parse_buf() 254 fields[i].len = le32_to_cpu(*(__le32 *)bufp); in ima_parse_buf() 256 fields[i].len = *(u32 *)bufp; in ima_parse_buf() 258 bufp += sizeof(u32); in ima_parse_buf() 261 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf() 264 fields[i].data = bufp; in ima_parse_buf() 265 bufp += fields[i].len; in ima_parse_buf() 274 if ((enforce_mask & ENFORCE_BUFEND) && bufp != bufendp) { in ima_parse_buf() 276 bufname, bufendp, bufp); in ima_parse_buf() [all …]
|
| H A D | ima_template.c | 425 void *bufp = buf + sizeof(*khdr); in ima_restore_measurement_list() local 462 while ((bufp < bufendp) && (count++ < khdr->count)) { in ima_restore_measurement_list() 466 ret = ima_parse_buf(bufp, bufendp, &bufp, HDR__LAST, hdr, NULL, in ima_restore_measurement_list()
|
| /linux/net/l2tp/ |
| H A D | l2tp_core.c | 1141 __be16 *bufp = buf; in l2tp_build_l2tpv2_header() local 1151 *bufp++ = htons(flags); in l2tp_build_l2tpv2_header() 1152 *bufp++ = htons(tunnel_id); in l2tp_build_l2tpv2_header() 1153 *bufp++ = htons(session_id); in l2tp_build_l2tpv2_header() 1155 *bufp++ = htons(session->ns); in l2tp_build_l2tpv2_header() 1156 *bufp++ = 0; in l2tp_build_l2tpv2_header() 1162 return bufp - optr; in l2tp_build_l2tpv2_header() 1168 char *bufp = buf; in l2tp_build_l2tpv3_header() local 1169 char *optr = bufp; in l2tp_build_l2tpv3_header() 1176 *((__be16 *)bufp) in l2tp_build_l2tpv3_header() [all...] |
| /linux/tools/virtio/ringtest/ |
| H A D | noring.c | 23 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument 64 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument
|
| H A D | virtio_ring_0_9.c | 152 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument 186 *bufp = (void*)(unsigned long)ring.desc[index].addr; in get_buf() 270 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument 302 *bufp = (void *)(unsigned long)desc->addr; in use_buf()
|
| H A D | ring.c | 143 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument 156 *bufp = data[index].buf; in get_buf() 226 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument
|
| H A D | ptr_ring.c | 147 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument 197 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument
|
| /linux/include/linux/ |
| H A D | seq_buf.h | 119 static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp) in seq_buf_get_buf() argument 124 *bufp = s->buffer + s->len; in seq_buf_get_buf() 128 *bufp = NULL; in seq_buf_get_buf()
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_core.c | 294 char *bufp; in trusted_read() local 302 bufp = buffer; in trusted_read() 304 bufp = hex_byte_pack(bufp, p->blob[i]); in trusted_read()
|
| /linux/drivers/input/touchscreen/ |
| H A D | silead.c | 247 u8 *bufp, buf[SILEAD_TS_DATA_LEN]; in silead_ts_read_data() local 268 bufp = buf + SILEAD_POINT_DATA_LEN; in silead_ts_read_data() 269 for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) { in silead_ts_read_data() 270 softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] & in silead_ts_read_data() 289 data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] & in silead_ts_read_data() 292 get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff, in silead_ts_read_data() 293 get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff); in silead_ts_read_data()
|
| /linux/drivers/pci/hotplug/ |
| H A D | acpiphp_ibm.c | 85 static int ibm_get_table_from_acpi(char **bufp); 282 static int ibm_get_table_from_acpi(char **bufp) in ibm_get_table_from_acpi() argument 312 if (bufp == NULL) in ibm_get_table_from_acpi() 320 *bufp = lbuf; in ibm_get_table_from_acpi()
|
| /linux/drivers/misc/bcm-vk/ |
| H A D | bcm_vk_dev.c | 533 static void bcm_vk_buf_notify(struct bcm_vk *vk, void *bufp, in bcm_vk_buf_notify() argument 549 void *bufp = NULL; in bcm_vk_load_image_by_type() local 582 bufp = dma_alloc_coherent(dev, in bcm_vk_load_image_by_type() 585 if (!bufp) { in bcm_vk_load_image_by_type() 604 bufp = dma_alloc_coherent(dev, in bcm_vk_load_image_by_type() 607 if (!bufp) { in bcm_vk_load_image_by_type() 613 bcm_vk_buf_notify(vk, bufp, boot_dma_addr, max_buf); in bcm_vk_load_image_by_type() 622 bufp, max_buf, offset); in bcm_vk_load_image_by_type() 631 bufp, in bcm_vk_load_image_by_type() 709 dev, bufp, in bcm_vk_load_image_by_type() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | ehci-sched.c | 1212 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 1214 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init() 1701 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch() 1702 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch() 1706 u64 bufp = uf->bufp + 4096; in itd_patch() local 1709 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch() 1710 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch() 2016 packet->bufp = buf; in sitd_sched_init() 2110 u64 bufp; in sitd_patch() local 2118 bufp = uf->bufp; in sitd_patch() [all …]
|
| /linux/drivers/bus/ |
| H A D | ti-sysc.c | 931 static int sysc_show_rev(char *bufp, struct sysc *ddata) in sysc_show_rev() argument 936 return sprintf(bufp, ":NA"); in sysc_show_rev() 938 len = sprintf(bufp, ":%08x", ddata->revision); in sysc_show_rev() 944 char *bufp, enum sysc_registers reg) in sysc_show_reg() argument 947 return sprintf(bufp, ":NA"); in sysc_show_reg() 949 return sprintf(bufp, ":%x", ddata->offsets[reg]); in sysc_show_reg() 952 static int sysc_show_name(char *bufp, struct sysc *ddata) in sysc_show_name() argument 957 return sprintf(bufp, ":%s", ddata->name); in sysc_show_name() 967 char *bufp = buf; in sysc_show_registers() local 971 bufp += sysc_show_reg(ddata, bufp, i); in sysc_show_registers() [all …]
|
| /linux/drivers/message/fusion/ |
| H A D | mptctl.h | 104 void __user *bufp; /* Pointer to firmware buffer */ member 111 u32 bufp; member
|
| /linux/drivers/parport/ |
| H A D | parport_ip32.c | 1116 u8 *bufp = buf; in parport_ip32_epp_read() local 1118 *bufp++ = readb(eppreg); in parport_ip32_epp_read() 1155 const u8 *bufp = buf; in parport_ip32_epp_write() local 1157 writeb(*bufp++, eppreg); in parport_ip32_epp_write() 1385 const u8 *bufp = buf; in parport_ip32_fifo_write_block_pio() local 1401 writeb(*bufp, priv->regs.fifo); in parport_ip32_fifo_write_block_pio() 1402 bufp++, left--; in parport_ip32_fifo_write_block_pio() 1404 writesb(priv->regs.fifo, bufp, count); in parport_ip32_fifo_write_block_pio() 1405 bufp += count, left -= count; in parport_ip32_fifo_write_block_pio()
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-tmc-etf.c | 65 char *bufp; in tmc_etb_dump_hw() local 70 bufp = drvdata->buf; in tmc_etb_dump_hw() 76 memcpy(bufp, &read_data, 4); in tmc_etb_dump_hw() 77 bufp += 4; in tmc_etb_dump_hw()
|