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

123

/linux-master/tools/virtio/ringtest/
H A Dnoring.c23 void *get_buf(unsigned *lenp, void **bufp) argument
64 bool use_buf(unsigned *lenp, void **bufp) argument
H A Dring.c143 void *get_buf(unsigned *lenp, void **bufp) argument
156 *bufp = data[index].buf;
226 bool use_buf(unsigned *lenp, void **bufp) argument
H A Dvirtio_ring_0_9.c152 void *get_buf(unsigned *lenp, void **bufp) argument
186 *bufp = (void*)(unsigned long)ring.desc[index].addr;
270 bool use_buf(unsigned *lenp, void **bufp) argument
302 *bufp = (void *)(unsigned long)desc->addr;
H A Dptr_ring.c147 void *get_buf(unsigned *lenp, void **bufp) argument
197 bool use_buf(unsigned *lenp, void **bufp) argument
/linux-master/tools/perf/arch/powerpc/util/
H A Dheader.c35 char *bufp; local
37 if (asprintf(&bufp, "0x%.8lx", mfspr(SPRN_PVR)) < 0)
38 bufp = NULL;
40 return bufp;
/linux-master/fs/freevxfs/
H A Dvxfs_super.c59 * @bufp: output buffer
62 * vxfs_statfs fills the statfs buffer @bufp with information
75 vxfs_statfs(struct dentry *dentry, struct kstatfs *bufp) argument
81 bufp->f_type = VXFS_SUPER_MAGIC;
82 bufp->f_bsize = dentry->d_sb->s_blocksize;
83 bufp->f_blocks = fs32_to_cpu(infp, raw_sb->vs_dsize);
84 bufp->f_bfree = fs32_to_cpu(infp, raw_sb->vs_free);
85 bufp->f_bavail = 0;
86 bufp->f_files = 0;
87 bufp
[all...]
/linux-master/include/sound/
H A Dcompress_driver.h215 * @bufp: the buffer information, NULL to clear
217 * Copy the buffer information to runtime buffer when @bufp is non-NULL.
222 struct snd_dma_buffer *bufp)
226 if (bufp) {
227 runtime->dma_buffer_p = bufp;
228 runtime->dma_area = bufp->area;
229 runtime->dma_addr = bufp->addr;
230 runtime->dma_bytes = bufp->bytes;
221 snd_compr_set_runtime_buffer(struct snd_compr_stream *stream, struct snd_dma_buffer *bufp) argument
/linux-master/kernel/trace/
H A Dtrace_boot.c176 append_printf(char **bufp, char *end, const char *fmt, ...) argument
181 if (*bufp == end)
185 ret = vsnprintf(*bufp, end - *bufp, fmt, args);
186 if (ret < end - *bufp) {
187 *bufp += ret;
189 *bufp = end;
198 append_str_nospace(char **bufp, char *end, const char *str) argument
200 char *p = *bufp;
210 *bufp
219 trace_boot_hist_add_array(struct xbc_node *hnode, char **bufp, char *end, const char *key) argument
247 trace_boot_hist_add_one_handler(struct xbc_node *hnode, char **bufp, char *end, const char *handler, const char *param) argument
298 trace_boot_hist_add_handlers(struct xbc_node *hnode, char **bufp, char *end, const char *param) argument
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-core.c140 Elf64_Off *bufp = (Elf64_Off *)oc_conf->auxv_buf; local
143 memset(bufp, 0, AUXV_DESC_SZ);
146 bufp[idx++] = cpu_to_be64(AT_ENTRY);
147 bufp[idx++] = cpu_to_be64(opal_boot_entry);
150 bufp[idx++] = cpu_to_be64(AT_NULL);
228 char *bufp; local
232 bufp = __va(oc_conf->cpu_state_destination_vaddr);
239 thdr = (struct hdat_fadump_thread_hdr *)bufp;
258 for (i = 0; i < oc_conf->num_cpus; i++, bufp += size_per_thread) {
259 thdr = (struct hdat_fadump_thread_hdr *)bufp;
310 char *bufp; local
[all...]
H A Dopal-fadump.h124 static inline void opal_fadump_read_regs(char *bufp, unsigned int regs_cnt, argument
135 for (i = 0; i < regs_cnt; i++, bufp += reg_entry_size) {
136 reg_entry = (struct hdat_fadump_reg_entry *)bufp;
H A Dopal-fadump.c425 char *bufp; local
431 bufp = __va(fadump_conf->cpu_state_dest_vaddr);
448 thdr = (struct hdat_fadump_thread_hdr *)bufp;
459 for (i = 0; i < num_cpus; i++, bufp += size_per_thread) {
460 thdr = (struct hdat_fadump_thread_hdr *)bufp;
491 opal_fadump_read_regs((bufp + regs_offset), regs_cnt,
/linux-master/include/linux/
H A Dseq_buf.h114 * @bufp: the beginning of the buffer is stored here
119 static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp) argument
124 *bufp = s->buffer + s->len;
128 *bufp = NULL;
H A Dseq_file.h59 * @bufp: the beginning of the buffer is stored here
64 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) argument
68 *bufp = m->buf + m->count;
70 *bufp = NULL;
/linux-master/sound/pci/emu10k1/
H A Demuproc.c347 char *bufp = buf; local
352 bufp += sprintf(bufp, " %-7s ", insns[(high >> 24) & 0x0f]);
353 bufp += disasm_audigy_reg(bufp, (high >> 12) & 0x7ff, "");
354 bufp += disasm_audigy_reg(bufp, (high >> 0) & 0x7ff, ", ");
355 bufp += disasm_audigy_reg(bufp, (low >> 12) & 0x7ff, ", ");
356 bufp
[all...]
/linux-master/security/integrity/ima/
H A Dima_template_lib.c245 void *bufp = bufstartp; local
250 if (bufp > (bufendp - sizeof(u32)))
254 fields[i].len = le32_to_cpu(*(__le32 *)bufp);
256 fields[i].len = *(u32 *)bufp;
258 bufp += sizeof(u32);
261 if (bufp > (bufendp - fields[i].len))
264 fields[i].data = bufp;
265 bufp += fields[i].len;
274 if ((enforce_mask & ENFORCE_BUFEND) && bufp != bufendp) {
276 bufname, bufendp, bufp);
[all...]
/linux-master/drivers/tty/hvc/
H A Dhvc_iucv.c153 struct iucv_tty_buffer *bufp; local
155 bufp = mempool_alloc(hvc_iucv_mempool, flags);
156 if (!bufp)
158 memset(bufp, 0, sizeof(*bufp));
161 bufp->msg.length = MSG_SIZE(size);
162 bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA);
163 if (!bufp->mbuf) {
164 mempool_free(bufp, hvc_iucv_mempoo
178 destroy_tty_buffer(struct iucv_tty_buffer *bufp) argument
[all...]
/linux-master/kernel/
H A Dauditfilter.c127 char *audit_unpack_string(void **bufp, size_t *remain, size_t len) argument
131 if (!*bufp || (len == 0) || (len > *remain))
144 memcpy(str, *bufp, len);
146 *bufp += len;
454 void *bufp; local
464 bufp = data->buf;
524 str = audit_unpack_string(&bufp, &remain, f_val);
543 str = audit_unpack_string(&bufp, &remain, f_val);
556 str = audit_unpack_string(&bufp, &remain, f_val);
576 str = audit_unpack_string(&bufp,
623 audit_pack_string(void **bufp, const char *str) argument
637 void *bufp; local
[all...]
/linux-master/net/l2tp/
H A Dl2tp_core.c931 __be16 *bufp = buf; local
941 *bufp++ = htons(flags);
942 *bufp++ = htons(tunnel_id);
943 *bufp++ = htons(session_id);
945 *bufp++ = htons(session->ns);
946 *bufp++ = 0;
952 return bufp - optr;
958 char *bufp = buf; local
959 char *optr = bufp;
966 *((__be16 *)bufp)
[all...]
/linux-master/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 leaq jump_table(%rip), %bufp
172 mov (%bufp,%rax,8), %bufp
[all...]
/linux-master/security/keys/trusted-keys/
H A Dtrusted_core.c290 char *bufp; local
298 bufp = buffer;
300 bufp = hex_byte_pack(bufp, p->blob[i]);
/linux-master/arch/powerpc/kernel/
H A Dfadump.c768 void __init fadump_update_elfcore_header(char *bufp) argument
772 bufp += sizeof(struct elfhdr);
775 phdr = (struct elf_phdr *)bufp;
964 static int fadump_init_elfcore_header(char *bufp) argument
968 elf = (struct elfhdr *) bufp;
969 bufp += sizeof(struct elfhdr);
1076 static int fadump_create_elfcore_headers(char *bufp) argument
1083 fadump_init_elfcore_header(bufp);
1084 elf = (struct elfhdr *)bufp;
1085 bufp
[all...]
/linux-master/drivers/input/touchscreen/
H A Dsilead.c248 u8 *bufp, buf[SILEAD_TS_DATA_LEN]; local
269 bufp = buf + SILEAD_POINT_DATA_LEN;
270 for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) {
271 softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] &
290 data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] &
293 get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff,
294 get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff);
/linux-master/drivers/misc/bcm-vk/
H A Dbcm_vk_dev.c533 static void bcm_vk_buf_notify(struct bcm_vk *vk, void *bufp, argument
549 void *bufp = NULL; local
582 bufp = dma_alloc_coherent(dev,
585 if (!bufp) {
604 bufp = dma_alloc_coherent(dev,
607 if (!bufp) {
613 bcm_vk_buf_notify(vk, bufp, boot_dma_addr, max_buf);
622 bufp, max_buf, offset);
631 bufp,
709 dev, bufp,
[all...]
/linux-master/drivers/pci/hotplug/
H A Dacpiphp_ibm.c85 static int ibm_get_table_from_acpi(char **bufp);
270 * @bufp: address to pointer to allocate for the table
274 * it allocates and passes the address back in bufp.
282 static int ibm_get_table_from_acpi(char **bufp) argument
312 if (bufp == NULL)
320 *bufp = lbuf;
/linux-master/arch/powerpc/include/asm/
H A Dfadump-internal.h138 void __init fadump_update_elfcore_header(char *bufp);

Completed in 281 milliseconds

123