Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 25 of 69) sorted by relevance

123

/linux-6.3-rc2/kernel/trace/
A Dtrace_boot.c181 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()
200 char *p = *bufp; in append_str_nospace()
210 *bufp = end; in append_str_nospace()
213 len = p - *bufp; in append_str_nospace()
214 *bufp = p; in append_str_nospace()
233 append_printf(bufp, end, ":%s", key); in trace_boot_hist_add_array()
[all …]
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_rtbitmap.c123 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()
298 bufp = bp->b_addr; in xfs_rtfind_forw()
303 b = &bufp[word]; in xfs_rtfind_forw()
562 bufp = bp->b_addr; in xfs_rtmodify_range()
796 bufp = bp->b_addr; in xfs_rtcheck_range()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dopal-core.c143 memset(bufp, 0, AUXV_DESC_SZ); in auxv_to_elf64_notes()
228 char *bufp; in opalcore_append_cpu_notes() local
310 char *bufp; in create_opalcore() local
356 bufp = oc_conf->opalcorebuf; in create_opalcore()
357 elf = (Elf64_Ehdr *)bufp; in create_opalcore()
358 bufp += sizeof(Elf64_Ehdr); in create_opalcore()
380 phdr = (Elf64_Phdr *)bufp; in create_opalcore()
381 bufp += sizeof(Elf64_Phdr); in create_opalcore()
394 phdr = (Elf64_Phdr *)bufp; in create_opalcore()
421 bufp = (char *)opalcore_append_cpu_notes((Elf64_Word *)bufp); in create_opalcore()
[all …]
A Dopal-fadump.h124 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()
A Dopal-fadump.c425 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-6.3-rc2/tools/perf/arch/powerpc/util/
A Dheader.c35 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()
/linux-6.3-rc2/fs/freevxfs/
A Dvxfs_super.c75 vxfs_statfs(struct dentry *dentry, struct kstatfs *bufp) in vxfs_statfs() argument
80 bufp->f_type = VXFS_SUPER_MAGIC; in vxfs_statfs()
81 bufp->f_bsize = dentry->d_sb->s_blocksize; in vxfs_statfs()
82 bufp->f_blocks = fs32_to_cpu(infp, raw_sb->vs_dsize); in vxfs_statfs()
83 bufp->f_bfree = fs32_to_cpu(infp, raw_sb->vs_free); in vxfs_statfs()
84 bufp->f_bavail = 0; in vxfs_statfs()
85 bufp->f_files = 0; in vxfs_statfs()
86 bufp->f_ffree = fs32_to_cpu(infp, raw_sb->vs_ifree); in vxfs_statfs()
87 bufp->f_namelen = VXFS_NAMELEN; in vxfs_statfs()
/linux-6.3-rc2/include/sound/
A Dcompress_driver.h222 struct snd_dma_buffer *bufp) in snd_compr_set_runtime_buffer() argument
226 if (bufp) { in snd_compr_set_runtime_buffer()
227 runtime->dma_buffer_p = bufp; in snd_compr_set_runtime_buffer()
228 runtime->dma_area = bufp->area; in snd_compr_set_runtime_buffer()
229 runtime->dma_addr = bufp->addr; in snd_compr_set_runtime_buffer()
230 runtime->dma_bytes = bufp->bytes; in snd_compr_set_runtime_buffer()
/linux-6.3-rc2/drivers/tty/hvc/
A Dhvc_iucv.c153 struct iucv_tty_buffer *bufp; in alloc_tty_buffer() local
156 if (!bufp) in alloc_tty_buffer()
158 memset(bufp, 0, sizeof(*bufp)); in alloc_tty_buffer()
161 bufp->msg.length = MSG_SIZE(size); in alloc_tty_buffer()
162 bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA); in alloc_tty_buffer()
163 if (!bufp->mbuf) { in alloc_tty_buffer()
167 bufp->mbuf->version = MSG_VERSION; in alloc_tty_buffer()
168 bufp->mbuf->type = MSG_TYPE_DATA; in alloc_tty_buffer()
169 bufp->mbuf->datalen = (u16) size; in alloc_tty_buffer()
171 return bufp; in alloc_tty_buffer()
[all …]
/linux-6.3-rc2/kernel/
A Dauditfilter.c144 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()
627 memcpy(*bufp, str, len); in audit_pack_string()
628 *bufp += len; in audit_pack_string()
637 void *bufp; in audit_krule_to_data() local
648 bufp = data->buf; in audit_krule_to_data()
666 audit_pack_string(&bufp, f->lsm_str); in audit_krule_to_data()
670 audit_pack_string(&bufp, in audit_krule_to_data()
[all …]
/linux-6.3-rc2/security/integrity/ima/
A Dima_template_lib.c245 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 …]
A Dima_template.c425 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-6.3-rc2/arch/x86/crypto/
A Dcrc32c-pcl-intel-asm_64.S77 #define bufp rdi macro
107 mov %bufp, bufptmp # rdi = *buf
108 neg %bufp
109 and $7, %bufp # calculate the unalignment amount of
219 lea (K_table-8)(%rip), %bufp # first entry is for idx 1
221 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
/linux-6.3-rc2/tools/virtio/ringtest/
A Dnoring.c23 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument
64 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument
A Dvirtio_ring_0_9.c152 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()
A Dring.c143 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
A Dptr_ring.c147 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument
197 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument
/linux-6.3-rc2/net/l2tp/
A Dl2tp_core.c931 __be16 *bufp = buf; in l2tp_build_l2tpv2_header() local
941 *bufp++ = htons(flags); in l2tp_build_l2tpv2_header()
946 *bufp++ = 0; in l2tp_build_l2tpv2_header()
952 return bufp - optr; in l2tp_build_l2tpv2_header()
958 char *bufp = buf; in l2tp_build_l2tpv3_header() local
959 char *optr = bufp; in l2tp_build_l2tpv3_header()
967 bufp += 2; in l2tp_build_l2tpv3_header()
969 bufp += 2; in l2tp_build_l2tpv3_header()
973 bufp += 4; in l2tp_build_l2tpv3_header()
989 bufp += 4; in l2tp_build_l2tpv3_header()
[all …]
/linux-6.3-rc2/include/linux/
A Dseq_buf.h107 static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp) in seq_buf_get_buf() argument
112 *bufp = s->buffer + s->len; in seq_buf_get_buf()
116 *bufp = NULL; in seq_buf_get_buf()
A Dseq_file.h64 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-6.3-rc2/arch/powerpc/kernel/
A Dfadump.c771 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header()
774 phdr = (struct elf_phdr *)bufp; in fadump_update_elfcore_header()
967 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header()
968 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header()
1083 elf = (struct elfhdr *)bufp; in fadump_create_elfcore_headers()
1084 bufp += sizeof(struct elfhdr); in fadump_create_elfcore_headers()
1093 phdr = (struct elf_phdr *)bufp; in fadump_create_elfcore_headers()
1094 bufp += sizeof(struct elf_phdr); in fadump_create_elfcore_headers()
1108 phdr = (struct elf_phdr *)bufp; in fadump_create_elfcore_headers()
1109 bufp += sizeof(struct elf_phdr); in fadump_create_elfcore_headers()
[all …]
/linux-6.3-rc2/security/keys/trusted-keys/
A Dtrusted_core.c291 char *bufp; in trusted_read() local
299 bufp = buffer; in trusted_read()
301 bufp = hex_byte_pack(bufp, p->blob[i]); in trusted_read()
/linux-6.3-rc2/drivers/input/touchscreen/
A Dsilead.c248 u8 *bufp, buf[SILEAD_TS_DATA_LEN]; in silead_ts_read_data() local
269 bufp = buf + SILEAD_POINT_DATA_LEN; in silead_ts_read_data()
270 for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) { in silead_ts_read_data()
271 softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] & in silead_ts_read_data()
290 data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] & in silead_ts_read_data()
293 get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff, in silead_ts_read_data()
294 get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff); in silead_ts_read_data()
/linux-6.3-rc2/drivers/pci/hotplug/
A Dacpiphp_ibm.c85 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-6.3-rc2/drivers/misc/bcm-vk/
A Dbcm_vk_dev.c549 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()
774 if (bufp) in bcm_vk_load_image_by_type()
[all …]

Completed in 43 milliseconds

123