Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 25 of 44) 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/kernel/trace/
H A Dtrace_boot.c265 append_printf(char **bufp, char *end, const char *fmt, ...) in append_printf() argument
270 if (*bufp == end) in append_printf()
274 ret = vsnprintf(*bufp, end - *bufp, fmt, args); in append_printf()
275 if (ret < end - *bufp) { in append_printf()
276 *bufp += ret; in append_printf()
278 *bufp = end; in append_printf()
287 append_str_nospace(char **bufp, char *end, const char *str) in append_str_nospace() argument
289 char *p = *bufp; in append_str_nospace()
299 *bufp = end; in append_str_nospace()
302 len = p - *bufp; in append_str_nospace()
[all …]
/linux/kernel/
H A Dauditfilter.c127 char *audit_unpack_string(void **bufp, size_t *remain, size_t len) in audit_unpack_string() argument
131 if (!*bufp || (len == 0) || (len > *remain)) in audit_unpack_string()
144 memcpy(str, *bufp, len); in audit_unpack_string()
146 *bufp += len; in audit_unpack_string()
453 void *bufp; in audit_data_to_entry() local
463 bufp = data->buf; in audit_data_to_entry()
523 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()
556 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
576 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
[all …]
/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.c1144 __be16 *bufp = buf; in l2tp_build_l2tpv2_header() local
1154 *bufp++ = htons(flags); in l2tp_build_l2tpv2_header()
1155 *bufp++ = htons(tunnel_id); in l2tp_build_l2tpv2_header()
1156 *bufp++ = htons(session_id); in l2tp_build_l2tpv2_header()
1158 *bufp++ = htons(session->ns); in l2tp_build_l2tpv2_header()
1159 *bufp++ = 0; in l2tp_build_l2tpv2_header()
1165 return bufp - optr; in l2tp_build_l2tpv2_header()
1171 char *bufp = buf; in l2tp_build_l2tpv3_header() local
1172 char *optr = bufp; in l2tp_build_l2tpv3_header()
1179 *((__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/security/keys/trusted-keys/
H A Dtrusted_core.c305 char *bufp; in trusted_read()
313 bufp = buffer;
315 bufp = hex_byte_pack(bufp, p->blob[i]);
299 char *bufp; trusted_read() local
/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/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()
1699 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch()
1700 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch()
1704 u64 bufp = uf->bufp + 4096; in itd_patch() local
1707 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch()
1708 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch()
2018 packet->bufp = buf; in sitd_sched_init()
2112 u64 bufp; in sitd_patch() local
2120 bufp = uf->bufp; in sitd_patch()
[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.h111 char *name, void **bufp, int *lenp);
113 char **bufp, int *lenp);
/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/drivers/hwtracing/coresight/
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/include/linux/usb/
H A Dmctp-usb.h60 void **bufp, size_t *lenp, gfp_t gfp);
/linux/sound/hda/core/
H A Dstream.c934 * @bufp: allocated buffer in snd_hdac_dsp_prepare()
940 unsigned int byte_size, struct snd_dma_buffer *bufp) in snd_hdac_dsp_prepare()
953 byte_size, bufp); in snd_hdac_dsp_prepare()
966 err = snd_hdac_stream_setup_bdle(azx_dev, bufp, NULL); in snd_hdac_dsp_trigger()
974 snd_dma_free_pages(bufp);
918 snd_hdac_dsp_prepare(struct hdac_stream * azx_dev,unsigned int format,unsigned int byte_size,struct snd_dma_buffer * bufp) snd_hdac_dsp_prepare() argument
/linux/security/keys/encrypted-keys/
H A Dencrypted.c276 char *ascii_buf, *bufp; in datablob_format() local
292 bufp = &ascii_buf[len]; in datablob_format()
294 bufp = hex_byte_pack(bufp, iv[i]); in datablob_format()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcore.c147 char *buf, *bufp; in _brcmf_set_multicast_list() local
164 bufp = buf; in _brcmf_set_multicast_list()
167 memcpy(bufp, &cnt_le, sizeof(cnt_le)); in _brcmf_set_multicast_list()
168 bufp += sizeof(cnt_le); in _brcmf_set_multicast_list()
173 memcpy(bufp, ha->addr, ETH_ALEN); in _brcmf_set_multicast_list()
174 bufp += ETH_ALEN; in _brcmf_set_multicast_list()
/linux/arch/powerpc/include/asm/
H A Dfadump-internal.h169 void __init fadump_update_elfcore_header(char *bufp);

12