/linux-master/tools/virtio/ringtest/ |
H A D | noring.c | 23 void *get_buf(unsigned *lenp, void **bufp) argument 64 bool use_buf(unsigned *lenp, void **bufp) argument
|
H A D | ring.c | 143 void *get_buf(unsigned *lenp, void **bufp) argument 156 *bufp = data[index].buf; 226 bool use_buf(unsigned *lenp, void **bufp) argument
|
H A D | virtio_ring_0_9.c | 152 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 D | ptr_ring.c | 147 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 D | header.c | 35 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 D | vxfs_super.c | 59 * @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 D | compress_driver.h | 215 * @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 D | trace_boot.c | 176 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 D | opal-core.c | 140 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 D | opal-fadump.h | 124 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 D | opal-fadump.c | 425 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 D | seq_buf.h | 114 * @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 D | seq_file.h | 59 * @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 D | emuproc.c | 351 char *bufp = buf; local 356 bufp += sprintf(bufp, " %-7s ", insns[(high >> 24) & 0x0f]); 357 bufp += disasm_audigy_reg(bufp, (high >> 12) & 0x7ff, ""); 358 bufp += disasm_audigy_reg(bufp, (high >> 0) & 0x7ff, ", "); 359 bufp += disasm_audigy_reg(bufp, (low >> 12) & 0x7ff, ", "); 360 bufp [all...] |
/linux-master/security/integrity/ima/ |
H A D | ima_template_lib.c | 245 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 D | hvc_iucv.c | 153 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/arch/powerpc/kernel/ |
H A D | fadump.c | 758 void __init fadump_update_elfcore_header(char *bufp) argument 762 bufp += sizeof(struct elfhdr); 765 phdr = (struct elf_phdr *)bufp; 924 static int fadump_init_elfcore_header(char *bufp) argument 928 elf = (struct elfhdr *) bufp; 929 bufp += sizeof(struct elfhdr); 1005 char *bufp; local 1011 bufp = (char *) fw_dump.elfcorehdr_addr; 1012 fadump_init_elfcore_header(bufp); 1013 elf = (struct elfhdr *)bufp; [all...] |
/linux-master/kernel/ |
H A D | auditfilter.c | 127 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 D | l2tp_core.c | 975 __be16 *bufp = buf; local 985 *bufp++ = htons(flags); 986 *bufp++ = htons(tunnel_id); 987 *bufp++ = htons(session_id); 989 *bufp++ = htons(session->ns); 990 *bufp++ = 0; 996 return bufp - optr; 1002 char *bufp = buf; local 1003 char *optr = bufp; 1010 *((__be16 *)bufp) [all...] |
/linux-master/arch/x86/crypto/ |
H A D | crc32c-pcl-intel-asm_64.S | 77 #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 D | trusted_core.c | 294 char *bufp; local 302 bufp = buffer; 304 bufp = hex_byte_pack(bufp, p->blob[i]);
|
/linux-master/lib/ |
H A D | alloc_tag.c | 75 char *bufp; local 76 size_t n = seq_get_buf(m, &bufp); 79 seq_buf_init(&buf, bufp, n);
|
/linux-master/drivers/input/touchscreen/ |
H A D | silead.c | 248 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 D | bcm_vk_dev.c | 533 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 D | acpiphp_ibm.c | 85 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;
|