Home
last modified time | relevance | path

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

123

/Linux-v4.19/fs/xfs/libxfs/
Dxfs_rtbitmap.c113 xfs_rtword_t *bufp; /* starting word in buffer */ in xfs_rtfind_back() local
131 bufp = bp->b_addr; in xfs_rtfind_back()
136 b = &bufp[word]; in xfs_rtfind_back()
183 bufp = bp->b_addr; in xfs_rtfind_back()
185 b = &bufp[word]; in xfs_rtfind_back()
229 bufp = bp->b_addr; in xfs_rtfind_back()
231 b = &bufp[word]; in xfs_rtfind_back()
288 xfs_rtword_t *bufp; /* starting word in buffer */ in xfs_rtfind_forw() local
306 bufp = bp->b_addr; in xfs_rtfind_forw()
311 b = &bufp[word]; in xfs_rtfind_forw()
[all …]
/Linux-v4.19/tools/perf/arch/powerpc/util/
Dheader.c40 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-v4.19/fs/freevxfs/
Dvxfs_super.c99 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-v4.19/security/integrity/ima/
Dima_template_lib.c182 void *bufp = bufstartp; in ima_parse_buf() local
187 if (bufp > (bufendp - sizeof(u32))) in ima_parse_buf()
190 fields[i].len = *(u32 *)bufp; in ima_parse_buf()
194 bufp += sizeof(u32); in ima_parse_buf()
197 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf()
200 fields[i].data = bufp; in ima_parse_buf()
201 bufp += fields[i].len; in ima_parse_buf()
210 if ((enforce_mask & ENFORCE_BUFEND) && bufp != bufendp) { in ima_parse_buf()
212 bufname, bufendp, bufp); in ima_parse_buf()
220 *bufcurp = bufp; in ima_parse_buf()
Dima_template.c333 void *bufp = buf + sizeof(*khdr); in ima_restore_measurement_list() local
370 while ((bufp < bufendp) && (count++ < khdr->count)) { in ima_restore_measurement_list()
374 ret = ima_parse_buf(bufp, bufendp, &bufp, HDR__LAST, hdr, NULL, in ima_restore_measurement_list()
/Linux-v4.19/drivers/tty/hvc/
Dhvc_iucv.c154 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-v4.19/kernel/
Dauditfilter.c138 char *audit_unpack_string(void **bufp, size_t *remain, size_t len) in audit_unpack_string() argument
142 if (!*bufp || (len == 0) || (len > *remain)) in audit_unpack_string()
155 memcpy(str, *bufp, len); in audit_unpack_string()
157 *bufp += len; in audit_unpack_string()
442 void *bufp; in audit_data_to_entry() local
452 bufp = data->buf; in audit_data_to_entry()
510 str = audit_unpack_string(&bufp, &remain, f->val); in audit_data_to_entry()
531 str = audit_unpack_string(&bufp, &remain, f->val); in audit_data_to_entry()
543 str = audit_unpack_string(&bufp, &remain, f->val); in audit_data_to_entry()
561 str = audit_unpack_string(&bufp, &remain, f->val); in audit_data_to_entry()
[all …]
/Linux-v4.19/arch/x86/crypto/
Dcrc32c-pcl-intel-asm_64.S78 #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-v4.19/tools/virtio/ringtest/
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
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()
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
Dptr_ring.c148 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument
198 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument
/Linux-v4.19/include/linux/
Dseq_buf.h82 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()
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-v4.19/arch/powerpc/kernel/
Dfadump.c672 static void fadump_update_elfcore_header(char *bufp) in fadump_update_elfcore_header() argument
677 elf = (struct elfhdr *)bufp; in fadump_update_elfcore_header()
678 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header()
681 phdr = (struct elf_phdr *)bufp; in fadump_update_elfcore_header()
977 static int fadump_init_elfcore_header(char *bufp) in fadump_init_elfcore_header() argument
981 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header()
982 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header()
1073 static int fadump_create_elfcore_headers(char *bufp) in fadump_create_elfcore_headers() argument
1079 fadump_init_elfcore_header(bufp); in fadump_create_elfcore_headers()
1080 elf = (struct elfhdr *)bufp; in fadump_create_elfcore_headers()
[all …]
/Linux-v4.19/net/l2tp/
Dl2tp_core.c935 __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-v4.19/drivers/input/touchscreen/
Dsilead.c144 u8 *bufp, buf[SILEAD_TS_DATA_LEN]; in silead_ts_read_data() local
162 bufp = buf + SILEAD_POINT_DATA_LEN; in silead_ts_read_data()
163 for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) { in silead_ts_read_data()
164 softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] & in silead_ts_read_data()
183 data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] & in silead_ts_read_data()
186 get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff, in silead_ts_read_data()
187 get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff); in silead_ts_read_data()
/Linux-v4.19/drivers/bus/
Dti-sysc.c566 static int sysc_show_rev(char *bufp, struct sysc *ddata) in sysc_show_rev() argument
571 return sprintf(bufp, ":NA"); in sysc_show_rev()
573 len = sprintf(bufp, ":%08x", ddata->revision); in sysc_show_rev()
579 char *bufp, enum sysc_registers reg) in sysc_show_reg() argument
582 return sprintf(bufp, ":NA"); in sysc_show_reg()
584 return sprintf(bufp, ":%x", ddata->offsets[reg]); in sysc_show_reg()
587 static int sysc_show_name(char *bufp, struct sysc *ddata) in sysc_show_name() argument
592 return sprintf(bufp, ":%s", ddata->name); in sysc_show_name()
602 char *bufp = buf; in sysc_show_registers() local
606 bufp += sysc_show_reg(ddata, bufp, i); in sysc_show_registers()
[all …]
/Linux-v4.19/drivers/isdn/hysdn/
Dhysdn_boot.c72 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-v4.19/drivers/pci/hotplug/
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-v4.19/drivers/hwtracing/coresight/
Dcoresight-tmc-etf.c35 char *bufp; in tmc_etb_dump_hw() local
41 bufp = drvdata->buf; in tmc_etb_dump_hw()
48 memcpy(bufp, &read_data, 4); in tmc_etb_dump_hw()
49 bufp += 4; in tmc_etb_dump_hw()
/Linux-v4.19/drivers/usb/host/
Dehci-sched.c1227 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init()
1229 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init()
1710 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch()
1711 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch()
1715 u64 bufp = uf->bufp + 4096; in itd_patch() local
1718 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch()
1719 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch()
2025 packet->bufp = buf; in sitd_sched_init()
2119 u64 bufp; in sitd_patch() local
2127 bufp = uf->bufp; in sitd_patch()
[all …]
/Linux-v4.19/tools/testing/selftests/kvm/include/
Dtest_util.h26 int test_seq_read(const char *path, char **bufp, size_t *sizep);
/Linux-v4.19/drivers/message/fusion/
Dmptctl.h104 void __user *bufp; /* Pointer to firmware buffer */ member
111 u32 bufp; member
/Linux-v4.19/sound/hda/
Dhdac_stream.c621 unsigned int byte_size, struct snd_dma_buffer *bufp) in snd_hdac_dsp_prepare() argument
638 byte_size, bufp); in snd_hdac_dsp_prepare()
655 err = setup_bdle(bus, bufp, azx_dev, &bdl, 0, byte_size, 0); in snd_hdac_dsp_prepare()
664 bus->io_ops->dma_free_pages(bus, bufp); in snd_hdac_dsp_prepare()

123