/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 139 Elf64_Off *bufp = (Elf64_Off *)oc_conf->auxv_buf; in auxv_to_elf64_notes() local 142 memset(bufp, 0, AUXV_DESC_SZ); in auxv_to_elf64_notes() 145 bufp[idx++] = cpu_to_be64(AT_ENTRY); in auxv_to_elf64_notes() 146 bufp[idx++] = cpu_to_be64(opal_boot_entry); in auxv_to_elf64_notes() 149 bufp[idx++] = cpu_to_be64(AT_NULL); in auxv_to_elf64_notes() 227 char *bufp; in opalcore_append_cpu_notes() local 231 bufp = __va(oc_conf->cpu_state_destination_vaddr); in opalcore_append_cpu_notes() 238 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes() 257 for (i = 0; i < oc_conf->num_cpus; i++, bufp += size_per_thread) { in opalcore_append_cpu_notes() 258 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes() [all …]
|
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()
|
D | opal-fadump.c | 417 char *bufp; in opal_fadump_build_cpu_notes() local 423 bufp = __va(fadump_conf->cpu_state_dest_vaddr); in opal_fadump_build_cpu_notes() 440 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opal_fadump_build_cpu_notes() 451 for (i = 0; i < num_cpus; i++, bufp += size_per_thread) { in opal_fadump_build_cpu_notes() 452 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opal_fadump_build_cpu_notes() 483 opal_fadump_read_regs((bufp + regs_offset), regs_cnt, in opal_fadump_build_cpu_notes()
|
/Linux-v5.4/fs/xfs/libxfs/ |
D | xfs_rtbitmap.c | 105 xfs_rtword_t *bufp; /* starting word in buffer */ in xfs_rtfind_back() local 123 bufp = bp->b_addr; in xfs_rtfind_back() 128 b = &bufp[word]; in xfs_rtfind_back() 175 bufp = bp->b_addr; in xfs_rtfind_back() 177 b = &bufp[word]; in xfs_rtfind_back() 221 bufp = bp->b_addr; in xfs_rtfind_back() 223 b = &bufp[word]; in xfs_rtfind_back() 280 xfs_rtword_t *bufp; /* starting word in buffer */ in xfs_rtfind_forw() local 298 bufp = bp->b_addr; in xfs_rtfind_forw() 303 b = &bufp[word]; in xfs_rtfind_forw() [all …]
|
/Linux-v5.4/tools/perf/arch/powerpc/util/ |
D | header.c | 40 char *bufp; in get_cpuid_str() local 42 if (asprintf(&bufp, "%.8lx", mfspr(SPRN_PVR)) < 0) in get_cpuid_str() 43 bufp = NULL; in get_cpuid_str() 45 return bufp; in get_cpuid_str()
|
/Linux-v5.4/fs/freevxfs/ |
D | vxfs_super.c | 99 vxfs_statfs(struct dentry *dentry, struct kstatfs *bufp) in vxfs_statfs() argument 104 bufp->f_type = VXFS_SUPER_MAGIC; in vxfs_statfs() 105 bufp->f_bsize = dentry->d_sb->s_blocksize; in vxfs_statfs() 106 bufp->f_blocks = fs32_to_cpu(infp, raw_sb->vs_dsize); in vxfs_statfs() 107 bufp->f_bfree = fs32_to_cpu(infp, raw_sb->vs_free); in vxfs_statfs() 108 bufp->f_bavail = 0; in vxfs_statfs() 109 bufp->f_files = 0; in vxfs_statfs() 110 bufp->f_ffree = fs32_to_cpu(infp, raw_sb->vs_ifree); in vxfs_statfs() 111 bufp->f_namelen = VXFS_NAMELEN; in vxfs_statfs()
|
/Linux-v5.4/security/integrity/ima/ |
D | ima_template_lib.c | 185 void *bufp = bufstartp; in ima_parse_buf() local 190 if (bufp > (bufendp - sizeof(u32))) in ima_parse_buf() 193 fields[i].len = *(u32 *)bufp; in ima_parse_buf() 197 bufp += sizeof(u32); in ima_parse_buf() 200 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf() 203 fields[i].data = bufp; in ima_parse_buf() 204 bufp += fields[i].len; in ima_parse_buf() 213 if ((enforce_mask & ENFORCE_BUFEND) && bufp != bufendp) { in ima_parse_buf() 215 bufname, bufendp, bufp); in ima_parse_buf() 223 *bufcurp = bufp; in ima_parse_buf()
|
D | ima_template.c | 358 void *bufp = buf + sizeof(*khdr); in ima_restore_measurement_list() local 395 while ((bufp < bufendp) && (count++ < khdr->count)) { in ima_restore_measurement_list() 399 ret = ima_parse_buf(bufp, bufendp, &bufp, HDR__LAST, hdr, NULL, in ima_restore_measurement_list()
|
/Linux-v5.4/drivers/tty/hvc/ |
D | hvc_iucv.c | 154 struct iucv_tty_buffer *bufp; in alloc_tty_buffer() local 156 bufp = mempool_alloc(hvc_iucv_mempool, flags); in alloc_tty_buffer() 157 if (!bufp) in alloc_tty_buffer() 159 memset(bufp, 0, sizeof(*bufp)); in alloc_tty_buffer() 162 bufp->msg.length = MSG_SIZE(size); in alloc_tty_buffer() 163 bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA); in alloc_tty_buffer() 164 if (!bufp->mbuf) { in alloc_tty_buffer() 165 mempool_free(bufp, hvc_iucv_mempool); in alloc_tty_buffer() 168 bufp->mbuf->version = MSG_VERSION; in alloc_tty_buffer() 169 bufp->mbuf->type = MSG_TYPE_DATA; in alloc_tty_buffer() [all …]
|
/Linux-v5.4/kernel/ |
D | auditfilter.c | 125 char *audit_unpack_string(void **bufp, size_t *remain, size_t len) in audit_unpack_string() argument 129 if (!*bufp || (len == 0) || (len > *remain)) in audit_unpack_string() 142 memcpy(str, *bufp, len); in audit_unpack_string() 144 *bufp += len; in audit_unpack_string() 446 void *bufp; in audit_data_to_entry() local 456 bufp = data->buf; in audit_data_to_entry() 514 str = audit_unpack_string(&bufp, &remain, f->val); in audit_data_to_entry() 535 str = audit_unpack_string(&bufp, &remain, f->val); in audit_data_to_entry() 547 str = audit_unpack_string(&bufp, &remain, f->val); in audit_data_to_entry() 565 str = audit_unpack_string(&bufp, &remain, f->val); in audit_data_to_entry() [all …]
|
/Linux-v5.4/arch/x86/crypto/ |
D | crc32c-pcl-intel-asm_64.S | 78 #define bufp %rdi macro 108 mov bufp, bufptmp # rdi = *buf 109 neg bufp 110 and $7, bufp # calculate the unalignment amount of 221 lea (K_table-8)(%rip), bufp # first entry is for idx 1 223 pmovzxdq (bufp,%rax), %xmm0 # 2 consts: K1:K2
|
/Linux-v5.4/tools/virtio/ringtest/ |
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
|
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()
|
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
|
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-v5.4/arch/powerpc/kernel/ |
D | fadump.c | 655 void fadump_update_elfcore_header(char *bufp) in fadump_update_elfcore_header() argument 660 elf = (struct elfhdr *)bufp; in fadump_update_elfcore_header() 661 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header() 664 phdr = (struct elf_phdr *)bufp; in fadump_update_elfcore_header() 839 static int fadump_init_elfcore_header(char *bufp) in fadump_init_elfcore_header() argument 843 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header() 844 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header() 952 static int fadump_create_elfcore_headers(char *bufp) in fadump_create_elfcore_headers() argument 959 fadump_init_elfcore_header(bufp); in fadump_create_elfcore_headers() 960 elf = (struct elfhdr *)bufp; in fadump_create_elfcore_headers() [all …]
|
/Linux-v5.4/include/linux/ |
D | seq_buf.h | 82 static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp) in seq_buf_get_buf() argument 87 *bufp = s->buffer + s->len; in seq_buf_get_buf() 91 *bufp = NULL; in seq_buf_get_buf()
|
D | seq_file.h | 64 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) in seq_get_buf() argument 68 *bufp = m->buf + m->count; in seq_get_buf() 70 *bufp = NULL; in seq_get_buf()
|
/Linux-v5.4/net/l2tp/ |
D | l2tp_core.c | 935 __be16 *bufp = buf; in l2tp_build_l2tpv2_header() local 945 *bufp++ = htons(flags); in l2tp_build_l2tpv2_header() 946 *bufp++ = htons(tunnel_id); in l2tp_build_l2tpv2_header() 947 *bufp++ = htons(session_id); in l2tp_build_l2tpv2_header() 949 *bufp++ = htons(session->ns); in l2tp_build_l2tpv2_header() 950 *bufp++ = 0; in l2tp_build_l2tpv2_header() 957 return bufp - optr; in l2tp_build_l2tpv2_header() 963 char *bufp = buf; in l2tp_build_l2tpv3_header() local 964 char *optr = bufp; in l2tp_build_l2tpv3_header() 971 *((__be16 *) bufp) = htons(flags); in l2tp_build_l2tpv3_header() [all …]
|
/Linux-v5.4/drivers/input/touchscreen/ |
D | silead.c | 136 u8 *bufp, buf[SILEAD_TS_DATA_LEN]; in silead_ts_read_data() local 154 bufp = buf + SILEAD_POINT_DATA_LEN; in silead_ts_read_data() 155 for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) { in silead_ts_read_data() 156 softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] & in silead_ts_read_data() 175 data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] & in silead_ts_read_data() 178 get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff, in silead_ts_read_data() 179 get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff); in silead_ts_read_data()
|
/Linux-v5.4/drivers/staging/isdn/hysdn/ |
D | hysdn_boot.c | 72 unsigned char *bufp = boot->buf.BootBuf; in DecryptBuf() local 76 *bufp++ ^= (unsigned char)boot->Cryptor; in DecryptBuf() 273 pof_write_open(hysdn_card *card, unsigned char **bufp) in pof_write_open() argument 306 *bufp = boot->buf.BootBuf; /* point to buffer */ in pof_write_open()
|
/Linux-v5.4/include/sound/ |
D | compress_driver.h | 191 struct snd_dma_buffer *bufp) in snd_compr_set_runtime_buffer() argument 195 runtime->dma_buffer_p = bufp; in snd_compr_set_runtime_buffer()
|
/Linux-v5.4/drivers/pci/hotplug/ |
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-v5.4/drivers/bus/ |
D | ti-sysc.c | 810 static int sysc_show_rev(char *bufp, struct sysc *ddata) in sysc_show_rev() argument 815 return sprintf(bufp, ":NA"); in sysc_show_rev() 817 len = sprintf(bufp, ":%08x", ddata->revision); in sysc_show_rev() 823 char *bufp, enum sysc_registers reg) in sysc_show_reg() argument 826 return sprintf(bufp, ":NA"); in sysc_show_reg() 828 return sprintf(bufp, ":%x", ddata->offsets[reg]); in sysc_show_reg() 831 static int sysc_show_name(char *bufp, struct sysc *ddata) in sysc_show_name() argument 836 return sprintf(bufp, ":%s", ddata->name); in sysc_show_name() 846 char *bufp = buf; in sysc_show_registers() local 850 bufp += sysc_show_reg(ddata, bufp, i); in sysc_show_registers() [all …]
|
/Linux-v5.4/drivers/hwtracing/coresight/ |
D | coresight-tmc-etf.c | 51 char *bufp; in tmc_etb_dump_hw() local 56 bufp = drvdata->buf; in tmc_etb_dump_hw() 62 memcpy(bufp, &read_data, 4); in tmc_etb_dump_hw() 63 bufp += 4; in tmc_etb_dump_hw()
|