| /linux/lib/crc/x86/ |
| H A D | crc32c-3way.S | 61 #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 D | trace_boot.c | 265 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 D | auditfilter.c | 127 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 D | ima_template_lib.c | 245 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 D | ima_template.c | 426 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 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()
|
| H A D | opal-fadump.c | 425 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 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
|
| H A 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()
|
| H A 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
|
| H A 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
|
| /linux/net/l2tp/ |
| H A D | l2tp_core.c | 1144 __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 D | seq_buf.h | 119 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 D | trusted_core.c | 305 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 D | silead.c | 247 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 D | ehci-sched.c | 1211 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 D | mptctl.h | 104 void __user *bufp; /* Pointer to firmware buffer */ member 111 u32 bufp; member
|
| /linux/fs/nfsd/ |
| H A D | vfs.h | 111 char *name, void **bufp, int *lenp); 113 char **bufp, int *lenp);
|
| /linux/drivers/parport/ |
| H A D | parport_ip32.c | 1116 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 D | coresight-tmc-etf.c | 65 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 D | mctp-usb.h | 60 void **bufp, size_t *lenp, gfp_t gfp);
|
| /linux/sound/hda/core/ |
| H A D | stream.c | 934 * @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 D | encrypted.c | 276 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 D | core.c | 147 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 D | fadump-internal.h | 169 void __init fadump_update_elfcore_header(char *bufp);
|