Home
last modified time | relevance | path

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

12

/linux/lib/crc/x86/
H A Dcrc32c-3way.S61 #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/fs/freevxfs/
H A Dvxfs_super.c75 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/security/integrity/ima/
H 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 …]
H A Dima_template.c426 void *bufp = buf + sizeof(*khdr); in ima_restore_measurement_list() local
463 while ((bufp < bufendp) && (count++ < khdr->count)) { in ima_restore_measurement_list()
467 ret = ima_parse_buf(bufp, bufendp, &bufp, HDR__LAST, hdr, NULL, in ima_restore_measurement_list()
/linux/arch/powerpc/platforms/powernv/
H 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()
H 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/tools/virtio/ringtest/
H 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
H 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()
H 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
H 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/net/l2tp/
H A Dl2tp_core.c1143 __be16 *bufp = buf; in l2tp_build_l2tpv2_header() local
1153 *bufp++ = htons(flags); in l2tp_build_l2tpv2_header()
1154 *bufp++ = htons(tunnel_id); in l2tp_build_l2tpv2_header()
1155 *bufp++ = htons(session_id); in l2tp_build_l2tpv2_header()
1157 *bufp++ = htons(session->ns); in l2tp_build_l2tpv2_header()
1158 *bufp++ = 0; in l2tp_build_l2tpv2_header()
1164 return bufp - optr; in l2tp_build_l2tpv2_header()
1170 char *bufp = buf; in l2tp_build_l2tpv3_header() local
1171 char *optr = bufp; in l2tp_build_l2tpv3_header()
1178 *((__be16 *)bufp) = htons(flags); in l2tp_build_l2tpv3_header()
[all …]
/linux/include/linux/
H A Dseq_buf.h119 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/drivers/hwtracing/coresight/
H A Dcoresight-tmc-core.c181 char *bufp; in tmc_prepare_crashdata() local
214 CORESIGHT_BARRIER_PKT_SIZE, &bufp); in tmc_prepare_crashdata()
216 coresight_insert_barrier_packet(bufp); in tmc_prepare_crashdata()
304 char *bufp; in tmc_read() local
308 actual = tmc_get_sysfs_trace(drvdata, *ppos, len, &bufp); in tmc_read()
312 if (copy_to_user(data, bufp, actual)) { in tmc_read()
376 char *bufp; in tmc_crashdata_read() local
382 actual = tmc_get_resvbuf_trace(drvdata, *ppos, len, &bufp); in tmc_crashdata_read()
386 if (copy_to_user(data, bufp, actual)) { in tmc_crashdata_read()
H A Dcoresight-tmc-etf.c65 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()
/linux/security/keys/trusted-keys/
H A Dtrusted_core.c299 char *bufp; in trusted_read() local
307 bufp = buffer; in trusted_read()
309 bufp = hex_byte_pack(bufp, p->blob[i]); in trusted_read()
/linux/drivers/input/touchscreen/
H A Dsilead.c247 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 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/drivers/misc/bcm-vk/
H A Dbcm_vk_dev.c533 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 Dehci-sched.c1211 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init()
1213 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init()
1700 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch()
1701 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch()
1705 u64 bufp = uf->bufp + 4096; in itd_patch() local
1708 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch()
1709 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch()
2015 packet->bufp = buf; in sitd_sched_init()
2109 u64 bufp; in sitd_patch() local
2117 bufp = uf->bufp; in sitd_patch()
[all …]
/linux/drivers/bus/
H A Dti-sysc.c931 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 Dmptctl.h104 void __user *bufp; /* Pointer to firmware buffer */ member
111 u32 bufp; member
/linux/fs/nfsd/
H A Dvfs.h108 char *name, void **bufp, int *lenp);
110 char **bufp, int *lenp);
/linux/net/netfilter/
H A Dnft_exthdr.c449 u8 buf[2], *bufp; in nft_exthdr_dccp_eval() local
455 bufp = skb_header_pointer(pkt->skb, thoff + optoff + i, buflen, in nft_exthdr_dccp_eval()
457 if (!bufp) in nft_exthdr_dccp_eval()
460 type = bufp[0]; in nft_exthdr_dccp_eval()
475 len = bufp[1]; in nft_exthdr_dccp_eval()
/linux/drivers/parport/
H A Dparport_ip32.c1116 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/sound/hda/core/
H A Dstream.c918 unsigned int byte_size, struct snd_dma_buffer *bufp) in snd_hdac_dsp_prepare() argument
931 byte_size, bufp); in snd_hdac_dsp_prepare()
944 err = snd_hdac_stream_setup_bdle(azx_dev, bufp, NULL); in snd_hdac_dsp_prepare()
952 snd_dma_free_pages(bufp); in snd_hdac_dsp_prepare()

12