Searched refs:bufp (Results 1 - 48 of 48) sorted by relevance

/linux-4.1.27/fs/proc/
H A Dkcore.c292 static char *storenote(struct memelfnote *men, char *bufp) storenote() argument
296 #define DUMP_WRITE(addr,nr) do { memcpy(bufp,addr,nr); bufp += nr; } while(0) storenote()
306 bufp = (char*) roundup((unsigned long)bufp,4); storenote()
308 bufp = (char*) roundup((unsigned long)bufp,4); storenote()
312 return bufp; storenote()
319 static void elf_kcore_store_hdr(char *bufp, int nphdr, int dataoff) elf_kcore_store_hdr() argument
330 elf = (struct elfhdr *) bufp; elf_kcore_store_hdr()
331 bufp += sizeof(struct elfhdr); elf_kcore_store_hdr()
354 nhdr = (struct elf_phdr *) bufp; elf_kcore_store_hdr()
355 bufp += sizeof(struct elf_phdr); elf_kcore_store_hdr()
368 phdr = (struct elf_phdr *) bufp; elf_kcore_store_hdr()
369 bufp += sizeof(struct elf_phdr); elf_kcore_store_hdr()
396 bufp = storenote(&notes[0], bufp); elf_kcore_store_hdr()
413 bufp = storenote(&notes[1], bufp); elf_kcore_store_hdr()
422 bufp = storenote(&notes[2], bufp); elf_kcore_store_hdr()
/linux-4.1.27/fs/freevxfs/
H A Dvxfs_super.c93 * @bufp: output buffer
96 * vxfs_statfs fills the statfs buffer @bufp with information
109 vxfs_statfs(struct dentry *dentry, struct kstatfs *bufp) vxfs_statfs() argument
113 bufp->f_type = VXFS_SUPER_MAGIC; vxfs_statfs()
114 bufp->f_bsize = dentry->d_sb->s_blocksize; vxfs_statfs()
115 bufp->f_blocks = infp->vsi_raw->vs_dsize; vxfs_statfs()
116 bufp->f_bfree = infp->vsi_raw->vs_free; vxfs_statfs()
117 bufp->f_bavail = 0; vxfs_statfs()
118 bufp->f_files = 0; vxfs_statfs()
119 bufp->f_ffree = infp->vsi_raw->vs_ifree; vxfs_statfs()
120 bufp->f_namelen = VXFS_NAMELEN; vxfs_statfs()
/linux-4.1.27/include/linux/
H A Dseq_buf.h76 * @bufp: the beginning of the buffer is stored here
81 static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp) seq_buf_get_buf() argument
86 *bufp = s->buffer + s->len; seq_buf_get_buf()
90 *bufp = NULL; seq_buf_get_buf()
H A Dseq_file.h63 * @bufp: the beginning of the buffer is stored here
68 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) seq_get_buf() argument
72 *bufp = m->buf + m->count; seq_get_buf()
74 *bufp = NULL; seq_get_buf()
H A Dtty.h440 extern int tty_read_raw_data(struct tty_struct *tty, unsigned char *bufp,
/linux-4.1.27/arch/x86/crypto/
H A Dcrc32c-pcl-intel-asm_64.S77 #define bufp %rdi define
107 mov bufp, bufptmp # rdi = *buf
108 neg bufp
109 and $7, bufp # calculate the unalignment amount of
125 add bufp, bufptmp # align buffer pointer for quadword
127 sub bufp, len # update buffer length
131 dec bufp
171 lea jump_table(%rip), bufp
172 movzxw (bufp, %rax, 2), len
174 lea offset(bufp, len, 1), bufp
175 jmp *bufp
220 lea (K_table-8)(%rip), bufp # first entry is for idx 1
222 pmovzxdq (bufp,%rax), %xmm0 # 2 consts: K1:K2
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_rtbitmap.c94 xfs_rtword_t *bufp; /* starting word in buffer */ xfs_rtfind_back() local
112 bufp = bp->b_addr; xfs_rtfind_back()
117 b = &bufp[word]; xfs_rtfind_back()
164 bufp = bp->b_addr; xfs_rtfind_back()
166 b = &bufp[word]; xfs_rtfind_back()
210 bufp = bp->b_addr; xfs_rtfind_back()
212 b = &bufp[word]; xfs_rtfind_back()
269 xfs_rtword_t *bufp; /* starting word in buffer */ xfs_rtfind_forw() local
287 bufp = bp->b_addr; xfs_rtfind_forw()
292 b = &bufp[word]; xfs_rtfind_forw()
338 b = bufp = bp->b_addr; xfs_rtfind_forw()
383 b = bufp = bp->b_addr; xfs_rtfind_forw()
526 xfs_rtword_t *bufp; /* starting word in buffer */ xfs_rtmodify_range() local
545 bufp = bp->b_addr; xfs_rtmodify_range()
550 first = b = &bufp[word]; xfs_rtmodify_range()
584 (uint)((char *)first - (char *)bufp), xfs_rtmodify_range()
585 (uint)((char *)b - (char *)bufp)); xfs_rtmodify_range()
590 first = b = bufp = bp->b_addr; xfs_rtmodify_range()
624 (uint)((char *)first - (char *)bufp), xfs_rtmodify_range()
625 (uint)((char *)b - (char *)bufp)); xfs_rtmodify_range()
630 first = b = bufp = bp->b_addr; xfs_rtmodify_range()
662 xfs_trans_log_buf(tp, bp, (uint)((char *)first - (char *)bufp), xfs_rtmodify_range()
663 (uint)((char *)b - (char *)bufp - 1)); xfs_rtmodify_range()
761 xfs_rtword_t *bufp; /* starting word in buffer */ xfs_rtcheck_range() local
780 bufp = bp->b_addr; xfs_rtcheck_range()
785 b = &bufp[word]; xfs_rtcheck_range()
831 b = bufp = bp->b_addr; xfs_rtcheck_range()
877 b = bufp = bp->b_addr; xfs_rtcheck_range()
/linux-4.1.27/arch/x86/kernel/
H A Dcrash.c66 void *bufp; member in struct:crash_elf_data
378 phdr = ced->bufp; prepare_elf64_ram_headers_callback()
379 ced->bufp += sizeof(Elf64_Phdr); prepare_elf64_ram_headers_callback()
412 unsigned char *buf, *bufp; prepare_elf64_headers() local
437 bufp = buf; prepare_elf64_headers()
438 ehdr = (Elf64_Ehdr *)bufp; prepare_elf64_headers()
439 bufp += sizeof(Elf64_Ehdr); prepare_elf64_headers()
455 phdr = (Elf64_Phdr *)bufp; for_each_present_cpu()
456 bufp += sizeof(Elf64_Phdr); for_each_present_cpu()
465 phdr = (Elf64_Phdr *)bufp;
466 bufp += sizeof(Elf64_Phdr);
474 phdr = (Elf64_Phdr *)bufp;
475 bufp += sizeof(Elf64_Phdr);
486 ced->bufp = bufp;
/linux-4.1.27/kernel/
H A Dauditfilter.c136 char *audit_unpack_string(void **bufp, size_t *remain, size_t len) audit_unpack_string() argument
140 if (!*bufp || (len == 0) || (len > *remain)) audit_unpack_string()
153 memcpy(str, *bufp, len); audit_unpack_string()
155 *bufp += len; audit_unpack_string()
418 void *bufp; audit_data_to_entry() local
427 bufp = data->buf; audit_data_to_entry()
485 str = audit_unpack_string(&bufp, &remain, f->val); audit_data_to_entry()
506 str = audit_unpack_string(&bufp, &remain, f->val); audit_data_to_entry()
518 str = audit_unpack_string(&bufp, &remain, f->val); audit_data_to_entry()
536 str = audit_unpack_string(&bufp, &remain, f->val); audit_data_to_entry()
561 static inline size_t audit_pack_string(void **bufp, const char *str) audit_pack_string() argument
565 memcpy(*bufp, str, len); audit_pack_string()
566 *bufp += len; audit_pack_string()
575 void *bufp; audit_krule_to_data() local
586 bufp = data->buf; audit_krule_to_data()
604 audit_pack_string(&bufp, f->lsm_str); audit_krule_to_data()
608 audit_pack_string(&bufp, audit_krule_to_data()
613 audit_pack_string(&bufp, audit_krule_to_data()
618 audit_pack_string(&bufp, krule->filterkey); audit_krule_to_data()
H A Daudit.c958 void *bufp = data; audit_receive_msg() local
966 memcpy(sizes, bufp, 2 * sizeof(u32)); audit_receive_msg()
967 bufp += 2 * sizeof(u32); audit_receive_msg()
969 old = audit_unpack_string(&bufp, &msglen, sizes[0]); audit_receive_msg()
974 new = audit_unpack_string(&bufp, &msglen, sizes[1]); audit_receive_msg()
/linux-4.1.27/drivers/hwtracing/coresight/
H A Dcoresight-tmc.c295 char *bufp; tmc_etb_dump_hw() local
309 bufp = drvdata->buf; tmc_etb_dump_hw()
315 memcpy(bufp, &read_data, 4); tmc_etb_dump_hw()
316 bufp += 4; tmc_etb_dump_hw()
515 char *bufp = drvdata->buf + *ppos; tmc_read() local
521 if (bufp == (char *)(drvdata->vaddr + drvdata->size)) tmc_read()
522 bufp = drvdata->vaddr; tmc_read()
523 else if (bufp > (char *)(drvdata->vaddr + drvdata->size)) tmc_read()
524 bufp -= drvdata->size; tmc_read()
525 if ((bufp + len) > (char *)(drvdata->vaddr + drvdata->size)) tmc_read()
526 len = (char *)(drvdata->vaddr + drvdata->size) - bufp; tmc_read()
529 if (copy_to_user(data, bufp, len)) { tmc_read()
/linux-4.1.27/arch/powerpc/kernel/
H A Dfadump.c527 static void fadump_update_elfcore_header(char *bufp) fadump_update_elfcore_header() argument
532 elf = (struct elfhdr *)bufp; fadump_update_elfcore_header()
533 bufp += sizeof(struct elfhdr); fadump_update_elfcore_header()
536 phdr = (struct elf_phdr *)bufp; fadump_update_elfcore_header()
763 static int fadump_init_elfcore_header(char *bufp) fadump_init_elfcore_header() argument
767 elf = (struct elfhdr *) bufp; fadump_init_elfcore_header()
768 bufp += sizeof(struct elfhdr); fadump_init_elfcore_header()
836 static int fadump_create_elfcore_headers(char *bufp) fadump_create_elfcore_headers() argument
842 fadump_init_elfcore_header(bufp); fadump_create_elfcore_headers()
843 elf = (struct elfhdr *)bufp; fadump_create_elfcore_headers()
844 bufp += sizeof(struct elfhdr); fadump_create_elfcore_headers()
853 phdr = (struct elf_phdr *)bufp; fadump_create_elfcore_headers()
854 bufp += sizeof(struct elf_phdr); fadump_create_elfcore_headers()
868 phdr = (struct elf_phdr *)bufp; fadump_create_elfcore_headers()
869 bufp += sizeof(struct elf_phdr); fadump_create_elfcore_headers()
893 phdr = (struct elf_phdr *)bufp; fadump_create_elfcore_headers()
894 bufp += sizeof(struct elf_phdr); fadump_create_elfcore_headers()
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_iucv.c153 struct iucv_tty_buffer *bufp; alloc_tty_buffer() local
155 bufp = mempool_alloc(hvc_iucv_mempool, flags); alloc_tty_buffer()
156 if (!bufp) alloc_tty_buffer()
158 memset(bufp, 0, sizeof(*bufp)); alloc_tty_buffer()
161 bufp->msg.length = MSG_SIZE(size); alloc_tty_buffer()
162 bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA); alloc_tty_buffer()
163 if (!bufp->mbuf) { alloc_tty_buffer()
164 mempool_free(bufp, hvc_iucv_mempool); alloc_tty_buffer()
167 bufp->mbuf->version = MSG_VERSION; alloc_tty_buffer()
168 bufp->mbuf->type = MSG_TYPE_DATA; alloc_tty_buffer()
169 bufp->mbuf->datalen = (u16) size; alloc_tty_buffer()
171 return bufp; alloc_tty_buffer()
176 * @bufp: Pointer to a struct iucv_tty_buffer element, SHALL NOT be NULL.
178 static void destroy_tty_buffer(struct iucv_tty_buffer *bufp) destroy_tty_buffer() argument
180 kfree(bufp->mbuf); destroy_tty_buffer()
181 mempool_free(bufp, hvc_iucv_mempool); destroy_tty_buffer()
/linux-4.1.27/drivers/pci/hotplug/
H A Dacpiphp_ibm.c99 static int ibm_get_table_from_acpi(char **bufp);
271 * @bufp: address to pointer to allocate for the table
275 * it allocates and passes the address back in bufp.
283 static int ibm_get_table_from_acpi(char **bufp) ibm_get_table_from_acpi() argument
313 if (bufp == NULL) ibm_get_table_from_acpi()
321 *bufp = lbuf; ibm_get_table_from_acpi()
/linux-4.1.27/net/l2tp/
H A Dl2tp_core.c982 __be16 *bufp = buf; l2tp_build_l2tpv2_header() local
992 *bufp++ = htons(flags); l2tp_build_l2tpv2_header()
993 *bufp++ = htons(tunnel_id); l2tp_build_l2tpv2_header()
994 *bufp++ = htons(session_id); l2tp_build_l2tpv2_header()
996 *bufp++ = htons(session->ns); l2tp_build_l2tpv2_header()
997 *bufp++ = 0; l2tp_build_l2tpv2_header()
1004 return bufp - optr; l2tp_build_l2tpv2_header()
1010 char *bufp = buf; l2tp_build_l2tpv3_header() local
1011 char *optr = bufp; l2tp_build_l2tpv3_header()
1018 *((__be16 *) bufp) = htons(flags); l2tp_build_l2tpv3_header()
1019 bufp += 2; l2tp_build_l2tpv3_header()
1020 *((__be16 *) bufp) = 0; l2tp_build_l2tpv3_header()
1021 bufp += 2; l2tp_build_l2tpv3_header()
1024 *((__be32 *) bufp) = htonl(session->peer_session_id); l2tp_build_l2tpv3_header()
1025 bufp += 4; l2tp_build_l2tpv3_header()
1027 memcpy(bufp, &session->cookie[0], session->cookie_len); l2tp_build_l2tpv3_header()
1028 bufp += session->cookie_len; l2tp_build_l2tpv3_header()
1042 *((__be32 *) bufp) = htonl(l2h); l2tp_build_l2tpv3_header()
1044 bufp += session->l2specific_len; l2tp_build_l2tpv3_header()
1047 bufp += session->offset; l2tp_build_l2tpv3_header()
1049 return bufp - optr; l2tp_build_l2tpv3_header()
/linux-4.1.27/drivers/media/dvb-core/
H A Ddvb_filter.c397 static u8 *skip_pes_header(u8 **bufp)
399 u8 *inbuf = *bufp;
429 *bufp = buf;
/linux-4.1.27/drivers/isdn/hysdn/
H A Dhysdn_boot.c72 unsigned char *bufp = boot->buf.BootBuf; DecryptBuf() local
76 *bufp++ ^= (unsigned char)boot->Cryptor; DecryptBuf()
271 pof_write_open(hysdn_card *card, unsigned char **bufp) pof_write_open() argument
304 *bufp = boot->buf.BootBuf; /* point to buffer */ pof_write_open()
/linux-4.1.27/arch/sparc/lib/
H A Dmemscan_64.S18 /* %o0 = bufp, %o1 = size */
/linux-4.1.27/drivers/usb/host/
H A Dehci-sched.c1242 uframe->bufp = (buf & ~(u64)0x0fff); itd_sched_init()
1244 if (unlikely ((uframe->bufp != (buf & ~(u64)0x0fff)))) itd_sched_init()
1725 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); itd_patch()
1726 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); itd_patch()
1730 u64 bufp = uf->bufp + 4096; itd_patch() local
1733 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); itd_patch()
1734 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); itd_patch()
2041 packet->bufp = buf; sitd_sched_init()
2135 u64 bufp = uf->bufp; sitd_patch() local
2143 bufp = uf->bufp; sitd_patch()
2144 sitd->hw_buf[0] = cpu_to_hc32(ehci, bufp); sitd_patch()
2145 sitd->hw_buf_hi[0] = cpu_to_hc32(ehci, bufp >> 32); sitd_patch()
2149 bufp += 4096; sitd_patch()
2150 sitd->hw_buf_hi[1] = cpu_to_hc32(ehci, bufp >> 32); sitd_patch()
H A Dfotg210.h469 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member in struct:fotg210_iso_packet
H A Dfusbh200.h459 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member in struct:fusbh200_iso_packet
H A Dfotg210-hcd.c4247 uframe->bufp = (buf & ~(u64)0x0fff); itd_sched_init()
4249 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) itd_sched_init()
4531 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); itd_patch()
4532 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); itd_patch()
4536 u64 bufp = uf->bufp + 4096; itd_patch() local
4539 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, bufp & ~(u32)0); itd_patch()
4540 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(bufp >> 32)); itd_patch()
H A Dfusbh200-hcd.c4181 uframe->bufp = (buf & ~(u64)0x0fff); itd_sched_init()
4183 if (unlikely ((uframe->bufp != (buf & ~(u64)0x0fff)))) itd_sched_init()
4467 itd->hw_bufp[pg] |= cpu_to_hc32(fusbh200, uf->bufp & ~(u32)0); itd_patch()
4468 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fusbh200, (u32)(uf->bufp >> 32)); itd_patch()
4472 u64 bufp = uf->bufp + 4096; itd_patch() local
4475 itd->hw_bufp[pg] |= cpu_to_hc32(fusbh200, bufp & ~(u32)0); itd_patch()
4476 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fusbh200, (u32)(bufp >> 32)); itd_patch()
H A Dehci.h448 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member in struct:ehci_iso_packet
/linux-4.1.27/sound/pci/hda/
H A Dhda_codec.h60 struct snd_dma_buffer *bufp);
532 struct snd_dma_buffer *bufp) snd_hda_codec_load_dsp_prepare()
534 return codec->bus->ops.load_dsp_prepare(codec->bus, format, size, bufp); snd_hda_codec_load_dsp_prepare()
551 struct snd_dma_buffer *bufp) snd_hda_codec_load_dsp_prepare()
530 snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, unsigned int size, struct snd_dma_buffer *bufp) snd_hda_codec_load_dsp_prepare() argument
549 snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, unsigned int size, struct snd_dma_buffer *bufp) snd_hda_codec_load_dsp_prepare() argument
H A Dhda_controller.c1371 struct snd_dma_buffer *bufp) azx_load_dsp_prepare()
1393 byte_size, bufp); azx_load_dsp_prepare()
1409 err = setup_bdle(chip, bufp, azx_dev, &bdl, 0, byte_size, 0); azx_load_dsp_prepare()
1418 chip->ops->dma_free_pages(chip, bufp); azx_load_dsp_prepare()
1369 azx_load_dsp_prepare(struct hda_bus *bus, unsigned int format, unsigned int byte_size, struct snd_dma_buffer *bufp) azx_load_dsp_prepare() argument
/linux-4.1.27/include/sound/
H A Dpcm.h1093 * @bufp: the buffer information, NULL to clear
1095 * Copy the buffer information to runtime->dma_buffer when @bufp is non-NULL.
1099 struct snd_dma_buffer *bufp) snd_pcm_set_runtime_buffer()
1102 if (bufp) { snd_pcm_set_runtime_buffer()
1103 runtime->dma_buffer_p = bufp; snd_pcm_set_runtime_buffer()
1104 runtime->dma_area = bufp->area; snd_pcm_set_runtime_buffer()
1105 runtime->dma_addr = bufp->addr; snd_pcm_set_runtime_buffer()
1106 runtime->dma_bytes = bufp->bytes; snd_pcm_set_runtime_buffer()
1098 snd_pcm_set_runtime_buffer(struct snd_pcm_substream *substream, struct snd_dma_buffer *bufp) snd_pcm_set_runtime_buffer() argument
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcore.c93 char *buf, *bufp; _brcmf_set_multicast_list() local
112 bufp = buf; _brcmf_set_multicast_list()
115 memcpy(bufp, &cnt_le, sizeof(cnt_le)); _brcmf_set_multicast_list()
116 bufp += sizeof(cnt_le); _brcmf_set_multicast_list()
121 memcpy(bufp, ha->addr, ETH_ALEN); netdev_for_each_mc_addr()
122 bufp += ETH_ALEN; netdev_for_each_mc_addr()
/linux-4.1.27/drivers/parport/
H A Dparport_ip32.c1126 u8 *bufp = buf; parport_ip32_epp_read() local
1128 *bufp++ = readb(eppreg); parport_ip32_epp_read()
1165 const u8 *bufp = buf; parport_ip32_epp_write() local
1167 writeb(*bufp++, eppreg); parport_ip32_epp_write()
1396 const u8 *bufp = buf; parport_ip32_fifo_write_block_pio() local
1412 writeb(*bufp, priv->regs.fifo); parport_ip32_fifo_write_block_pio()
1413 bufp++, left--; parport_ip32_fifo_write_block_pio()
1415 writesb(priv->regs.fifo, bufp, count); parport_ip32_fifo_write_block_pio()
1416 bufp += count, left -= count; parport_ip32_fifo_write_block_pio()
H A Dparport_pc.c474 const unsigned char *bufp = buf; parport_pc_fifo_write_block_pio() local
544 outsb(fifo, bufp, n); parport_pc_fifo_write_block_pio()
545 bufp += n; parport_pc_fifo_write_block_pio()
559 byte = *bufp++; parport_pc_fifo_write_block_pio()
/linux-4.1.27/drivers/net/ethernet/
H A Ddnet.c535 unsigned int *bufp; dnet_start_xmit() local
550 bufp = (unsigned int *)(((unsigned long) skb->data) & ~0x3UL); dnet_start_xmit()
559 dnet_writel(bp, *bufp++, TX_DATA_FIFO); dnet_start_xmit()
/linux-4.1.27/drivers/message/fusion/
H A Dmptctl.h104 void __user *bufp; /* Pointer to firmware buffer */ member in struct:mpt_fw_xfer
111 u32 bufp; member in struct:mpt_fw_xfer32
H A Dmptctl.c769 return mptctl_do_fw_download(kfwdl.iocnum, kfwdl.bufp, kfwdl.fwlen); mptctl_fw_download()
825 dctlprintk(iocp, printk(MYIOC_s_DEBUG_FMT "DbG: kfwdl.bufp = %p\n", mptctl_do_fw_download()
2851 kfw.bufp = compat_ptr(kfw32.bufp); compat_mptfwxfer_ioctl()
2853 ret = mptctl_do_fw_download(kfw.iocnum, kfw.bufp, kfw.fwlen); compat_mptfwxfer_ioctl()
/linux-4.1.27/security/keys/encrypted-keys/
H A Dencrypted.c278 char *ascii_buf, *bufp; datablob_format() local
294 bufp = &ascii_buf[len]; datablob_format()
296 bufp = hex_byte_pack(bufp, iv[i]); datablob_format()
/linux-4.1.27/security/keys/
H A Dtrusted.c1062 char *bufp; trusted_read() local
1074 bufp = ascii_buf; trusted_read()
1076 bufp = hex_byte_pack(bufp, p->blob[i]); trusted_read()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Dnet2272.c407 u16 *bufp; net2272_write_packet() local
419 bufp = (u16 *)buf; net2272_write_packet()
423 writew(*bufp++, ep_data); net2272_write_packet()
426 buf = (u8 *)bufp; net2272_write_packet()
516 u16 *bufp; net2272_read_packet() local
535 bufp = (u16 *)buf; net2272_read_packet()
538 *bufp++ = readw(ep_data); net2272_read_packet()
/linux-4.1.27/drivers/usb/core/
H A Dhcd.c475 const u8 *bufp; rh_call_control() local
504 bufp = tbuf; rh_call_control()
559 bufp = usb3_rh_dev_descriptor; rh_call_control()
562 bufp = usb25_rh_dev_descriptor; rh_call_control()
565 bufp = usb2_rh_dev_descriptor; rh_call_control()
568 bufp = usb11_rh_dev_descriptor; rh_call_control()
580 bufp = ss_rh_config_descriptor; rh_call_control()
585 bufp = hs_rh_config_descriptor; rh_call_control()
589 bufp = fs_rh_config_descriptor; rh_call_control()
687 memcpy (ubuf, bufp, len); rh_call_control()
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c1793 void *bufp; de21041_get_srom_info() local
1854 bufp = ((void *)il) + sizeof(*il); de21041_get_srom_info()
1856 struct de_srom_media_block *ib = bufp; de21041_get_srom_info()
1892 bufp += sizeof (ib->opts); de21041_get_srom_info()
1898 bufp += sizeof(ib->csr13) + sizeof(ib->csr14) + de21041_get_srom_info()
1912 if (bufp > ((void *)&ee_data[DE_EEPROM_SIZE - 3])) de21041_get_srom_info()
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmsc911x.c707 ulong bufp; smsc911x_phy_check_loopbackpkt() local
729 bufp = (ulong)pdata->loopback_tx_pkt & (~0x3); smsc911x_phy_check_loopbackpkt()
734 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); smsc911x_phy_check_loopbackpkt()
773 bufp = (ulong)pdata->loopback_rx_pkt; smsc911x_phy_check_loopbackpkt()
778 pdata->ops->rx_readfifo(pdata, (unsigned int *)bufp, rdsz); smsc911x_phy_check_loopbackpkt()
1690 ulong bufp; smsc911x_hard_start_xmit() local
1709 bufp = (ulong)skb->data & (~0x3); smsc911x_hard_start_xmit()
1714 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); smsc911x_hard_start_xmit()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c4360 char *bufp = buf; print_port_info() local
4373 bufp += sprintf(bufp, "100/"); print_port_info()
4375 bufp += sprintf(bufp, "1000/"); print_port_info()
4377 bufp += sprintf(bufp, "10G/"); print_port_info()
4379 bufp += sprintf(bufp, "40G/"); print_port_info()
4380 if (bufp != buf) print_port_info()
4381 --bufp; print_port_info()
4382 sprintf(bufp, "BASE-%s", t4_get_port_type_description(pi->port_type)); print_port_info()
H A Dt4_hw.c1344 u32 *bufp = (u32 *)((char *)buf + reg); t4_get_regs() local
1349 while (reg <= last_reg && bufp < buf_end) { t4_get_regs()
1350 *bufp++ = t4_read_reg(adap, reg); t4_get_regs()
/linux-4.1.27/drivers/spi/
H A Dspi-pl022.c886 void *bufp = buffer; setup_dma_scatter() local
898 if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) setup_dma_scatter()
901 mapbytes = PAGE_SIZE - offset_in_page(bufp); setup_dma_scatter()
902 sg_set_page(sg, virt_to_page(bufp), setup_dma_scatter()
903 mapbytes, offset_in_page(bufp)); setup_dma_scatter()
904 bufp += mapbytes; setup_dma_scatter()
908 bufp, mapbytes, bytesleft); setup_dma_scatter()
/linux-4.1.27/tools/perf/util/
H A Dunwind-libunwind.c399 char __maybe_unused *bufp, size_t __maybe_unused buf_len, get_proc_name()
397 get_proc_name(unw_addr_space_t __maybe_unused as, unw_word_t __maybe_unused addr, char __maybe_unused *bufp, size_t __maybe_unused buf_len, unw_word_t __maybe_unused *offp, void __maybe_unused *arg) get_proc_name() argument
/linux-4.1.27/drivers/staging/iio/light/
H A Dtsl2583.c789 static int taos_tsl258x_device(unsigned char *bufp) taos_tsl258x_device() argument
791 return ((bufp[TSL258X_CHIPID] & 0xf0) == 0x90); taos_tsl258x_device()
/linux-4.1.27/include/uapi/linux/
H A Dsoundcard.h1180 unsigned char *bufp=buf;\
1186 _seqbuf[_seqbufptr+ii+2] = bufp[ii];\
/linux-4.1.27/drivers/block/
H A Dskd_main.c1647 u8 *bufp = NULL; skd_sg_io_copy_buffer() local
1672 bufp = page_address(page); skd_sg_io_copy_buffer()
1681 rc = __copy_from_user(bufp, curiov.iov_base, nbytes); skd_sg_io_copy_buffer()
1683 rc = __copy_to_user(curiov.iov_base, bufp, nbytes); skd_sg_io_copy_buffer()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_def.h711 void *bufp; member in struct:__anon9478
724 void *bufp; member in struct:mbx_cmd_32
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dwmi.h2878 char bufp[WMI_MAX_DEBUG_MESG]; member in struct:wmi_debug_mesg_event

Completed in 1780 milliseconds