/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
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 …]
|
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()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/ |
D | header.c | 35 char *bufp; in get_cpuid_str() local 37 if (asprintf(&bufp, "%.8lx", mfspr(SPRN_PVR)) < 0) in get_cpuid_str() 38 bufp = NULL; in get_cpuid_str() 40 return bufp; in get_cpuid_str()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/sound/ |
D | compress_driver.h | 208 struct snd_dma_buffer *bufp) in snd_compr_set_runtime_buffer() argument 212 if (bufp) { in snd_compr_set_runtime_buffer() 213 runtime->dma_buffer_p = bufp; in snd_compr_set_runtime_buffer() 214 runtime->dma_area = bufp->area; in snd_compr_set_runtime_buffer() 215 runtime->dma_addr = bufp->addr; in snd_compr_set_runtime_buffer() 216 runtime->dma_bytes = bufp->bytes; in snd_compr_set_runtime_buffer()
|
/kernel/linux/linux-5.10/security/integrity/ima/ |
D | ima_template_lib.c | 183 void *bufp = bufstartp; in ima_parse_buf() local 188 if (bufp > (bufendp - sizeof(u32))) in ima_parse_buf() 191 fields[i].len = *(u32 *)bufp; in ima_parse_buf() 195 bufp += sizeof(u32); in ima_parse_buf() 198 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf() 201 fields[i].data = bufp; in ima_parse_buf() 202 bufp += fields[i].len; in ima_parse_buf() 211 if ((enforce_mask & ENFORCE_BUFEND) && bufp != bufendp) { in ima_parse_buf() 213 bufname, bufendp, bufp); in ima_parse_buf() 221 *bufcurp = bufp; in ima_parse_buf()
|
D | ima_template.c | 368 void *bufp = buf + sizeof(*khdr); in ima_restore_measurement_list() local 405 while ((bufp < bufendp) && (count++ < khdr->count)) { in ima_restore_measurement_list() 409 ret = ima_parse_buf(bufp, bufendp, &bufp, HDR__LAST, hdr, NULL, in ima_restore_measurement_list()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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() 516 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() 548 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry() 568 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry() [all …]
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
D | crc32c-pcl-intel-asm_64.S | 77 #define bufp rdi macro 107 mov %bufp, bufptmp # rdi = *buf 108 neg %bufp 109 and $7, %bufp # calculate the unalignment amount of 220 lea (K_table-8)(%rip), %bufp # first entry is for idx 1 222 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/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 | 63 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) in seq_get_buf() argument 67 *bufp = m->buf + m->count; in seq_get_buf() 69 *bufp = NULL; in seq_get_buf()
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_core.c | 933 __be16 *bufp = buf; in l2tp_build_l2tpv2_header() local 943 *bufp++ = htons(flags); in l2tp_build_l2tpv2_header() 944 *bufp++ = htons(tunnel_id); in l2tp_build_l2tpv2_header() 945 *bufp++ = htons(session_id); in l2tp_build_l2tpv2_header() 947 *bufp++ = htons(session->ns); in l2tp_build_l2tpv2_header() 948 *bufp++ = 0; in l2tp_build_l2tpv2_header() 954 return bufp - optr; in l2tp_build_l2tpv2_header() 960 char *bufp = buf; in l2tp_build_l2tpv3_header() local 961 char *optr = bufp; in l2tp_build_l2tpv3_header() 968 *((__be16 *)bufp) = htons(flags); in l2tp_build_l2tpv3_header() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | fadump.c | 755 void fadump_update_elfcore_header(char *bufp) in fadump_update_elfcore_header() argument 759 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header() 762 phdr = (struct elf_phdr *)bufp; in fadump_update_elfcore_header() 947 static int fadump_init_elfcore_header(char *bufp) in fadump_init_elfcore_header() argument 951 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header() 952 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header() 1056 static int fadump_create_elfcore_headers(char *bufp) in fadump_create_elfcore_headers() argument 1063 fadump_init_elfcore_header(bufp); in fadump_create_elfcore_headers() 1064 elf = (struct elfhdr *)bufp; in fadump_create_elfcore_headers() 1065 bufp += sizeof(struct elfhdr); in fadump_create_elfcore_headers() [all …]
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | silead.c | 137 u8 *bufp, buf[SILEAD_TS_DATA_LEN]; in silead_ts_read_data() local 155 bufp = buf + SILEAD_POINT_DATA_LEN; in silead_ts_read_data() 156 for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) { in silead_ts_read_data() 157 softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] & in silead_ts_read_data() 176 data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] & in silead_ts_read_data() 179 get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff, in silead_ts_read_data() 180 get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff); in silead_ts_read_data()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | ehci-sched.c | 1207 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 1209 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init() 1690 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch() 1691 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch() 1695 u64 bufp = uf->bufp + 4096; in itd_patch() local 1698 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch() 1699 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch() 2005 packet->bufp = buf; in sitd_sched_init() 2099 u64 bufp; in sitd_patch() local 2107 bufp = uf->bufp; in sitd_patch() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | vfs.h | 81 char *name, void **bufp, int *lenp); 83 char **bufp, int *lenp);
|