Searched refs:dbuf (Results 1 - 29 of 29) sorted by relevance

/linux-4.1.27/net/core/
H A Dutils.c126 u8 dbuf[4]; in4_pton() local
134 d = dbuf; in4_pton()
166 memcpy(dst, dbuf, sizeof(dbuf)); in4_pton()
192 u8 dbuf[16]; in6_pton() local
198 memset(dbuf, 0, sizeof(dbuf)); in6_pton()
201 d = dbuf; in6_pton()
231 if (dc - dbuf >= sizeof(dbuf)) in6_pton()
264 if (!dc && d + 2 < dbuf + sizeof(dbuf)) { in6_pton()
268 if (d + 2 >= dbuf + sizeof(dbuf)) { in6_pton()
272 if ((dc && d + 4 < dbuf + sizeof(dbuf)) || in6_pton()
273 d + 4 == dbuf + sizeof(dbuf)) { in6_pton()
276 if (d >= dbuf + sizeof(dbuf)) { in6_pton()
288 while(i >= dc - dbuf) in6_pton()
293 memcpy(dst, dbuf, sizeof(dbuf)); in6_pton()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf2-vmalloc.c33 struct dma_buf *dbuf; member in struct:vb2_vmalloc_buf
224 static int vb2_vmalloc_dmabuf_ops_attach(struct dma_buf *dbuf, struct device *dev, vb2_vmalloc_dmabuf_ops_attach() argument
228 struct vb2_vmalloc_buf *buf = dbuf->priv; vb2_vmalloc_dmabuf_ops_attach()
263 static void vb2_vmalloc_dmabuf_ops_detach(struct dma_buf *dbuf, vb2_vmalloc_dmabuf_ops_detach() argument
329 static void vb2_vmalloc_dmabuf_ops_release(struct dma_buf *dbuf) vb2_vmalloc_dmabuf_ops_release() argument
332 vb2_vmalloc_put(dbuf->priv); vb2_vmalloc_dmabuf_ops_release()
335 static void *vb2_vmalloc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) vb2_vmalloc_dmabuf_ops_kmap() argument
337 struct vb2_vmalloc_buf *buf = dbuf->priv; vb2_vmalloc_dmabuf_ops_kmap()
342 static void *vb2_vmalloc_dmabuf_ops_vmap(struct dma_buf *dbuf) vb2_vmalloc_dmabuf_ops_vmap() argument
344 struct vb2_vmalloc_buf *buf = dbuf->priv; vb2_vmalloc_dmabuf_ops_vmap()
349 static int vb2_vmalloc_dmabuf_ops_mmap(struct dma_buf *dbuf, vb2_vmalloc_dmabuf_ops_mmap() argument
352 return vb2_vmalloc_mmap(dbuf->priv, vma); vb2_vmalloc_dmabuf_ops_mmap()
370 struct dma_buf *dbuf; vb2_vmalloc_get_dmabuf() local
381 dbuf = dma_buf_export(&exp_info); vb2_vmalloc_get_dmabuf()
382 if (IS_ERR(dbuf)) vb2_vmalloc_get_dmabuf()
388 return dbuf; vb2_vmalloc_get_dmabuf()
401 buf->vaddr = dma_buf_vmap(buf->dbuf); vb2_vmalloc_map_dmabuf()
410 dma_buf_vunmap(buf->dbuf, buf->vaddr); vb2_vmalloc_unmap_dmabuf()
419 dma_buf_vunmap(buf->dbuf, buf->vaddr); vb2_vmalloc_detach_dmabuf()
424 static void *vb2_vmalloc_attach_dmabuf(void *alloc_ctx, struct dma_buf *dbuf, vb2_vmalloc_attach_dmabuf() argument
429 if (dbuf->size < size) vb2_vmalloc_attach_dmabuf()
436 buf->dbuf = dbuf; vb2_vmalloc_attach_dmabuf()
H A Dvideobuf2-dma-contig.c237 static int vb2_dc_dmabuf_ops_attach(struct dma_buf *dbuf, struct device *dev, vb2_dc_dmabuf_ops_attach() argument
244 struct vb2_dc_buf *buf = dbuf->priv; vb2_dc_dmabuf_ops_attach()
275 static void vb2_dc_dmabuf_ops_detach(struct dma_buf *dbuf, vb2_dc_dmabuf_ops_detach() argument
341 static void vb2_dc_dmabuf_ops_release(struct dma_buf *dbuf) vb2_dc_dmabuf_ops_release() argument
344 vb2_dc_put(dbuf->priv); vb2_dc_dmabuf_ops_release()
347 static void *vb2_dc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) vb2_dc_dmabuf_ops_kmap() argument
349 struct vb2_dc_buf *buf = dbuf->priv; vb2_dc_dmabuf_ops_kmap()
354 static void *vb2_dc_dmabuf_ops_vmap(struct dma_buf *dbuf) vb2_dc_dmabuf_ops_vmap() argument
356 struct vb2_dc_buf *buf = dbuf->priv; vb2_dc_dmabuf_ops_vmap()
361 static int vb2_dc_dmabuf_ops_mmap(struct dma_buf *dbuf, vb2_dc_dmabuf_ops_mmap() argument
364 return vb2_dc_mmap(dbuf->priv, vma); vb2_dc_dmabuf_ops_mmap()
404 struct dma_buf *dbuf; vb2_dc_get_dmabuf() local
418 dbuf = dma_buf_export(&exp_info); vb2_dc_get_dmabuf()
419 if (IS_ERR(dbuf)) vb2_dc_get_dmabuf()
425 return dbuf; vb2_dc_get_dmabuf()
809 static void *vb2_dc_attach_dmabuf(void *alloc_ctx, struct dma_buf *dbuf, vb2_dc_attach_dmabuf() argument
816 if (dbuf->size < size) vb2_dc_attach_dmabuf()
825 dba = dma_buf_attach(dbuf, buf->dev); vb2_dc_attach_dmabuf()
H A Dvideobuf2-dma-sg.c440 static int vb2_dma_sg_dmabuf_ops_attach(struct dma_buf *dbuf, struct device *dev, vb2_dma_sg_dmabuf_ops_attach() argument
447 struct vb2_dma_sg_buf *buf = dbuf->priv; vb2_dma_sg_dmabuf_ops_attach()
478 static void vb2_dma_sg_dmabuf_ops_detach(struct dma_buf *dbuf, vb2_dma_sg_dmabuf_ops_detach() argument
544 static void vb2_dma_sg_dmabuf_ops_release(struct dma_buf *dbuf) vb2_dma_sg_dmabuf_ops_release() argument
547 vb2_dma_sg_put(dbuf->priv); vb2_dma_sg_dmabuf_ops_release()
550 static void *vb2_dma_sg_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) vb2_dma_sg_dmabuf_ops_kmap() argument
552 struct vb2_dma_sg_buf *buf = dbuf->priv; vb2_dma_sg_dmabuf_ops_kmap()
557 static void *vb2_dma_sg_dmabuf_ops_vmap(struct dma_buf *dbuf) vb2_dma_sg_dmabuf_ops_vmap() argument
559 struct vb2_dma_sg_buf *buf = dbuf->priv; vb2_dma_sg_dmabuf_ops_vmap()
564 static int vb2_dma_sg_dmabuf_ops_mmap(struct dma_buf *dbuf, vb2_dma_sg_dmabuf_ops_mmap() argument
567 return vb2_dma_sg_mmap(dbuf->priv, vma); vb2_dma_sg_dmabuf_ops_mmap()
585 struct dma_buf *dbuf; vb2_dma_sg_get_dmabuf() local
596 dbuf = dma_buf_export(&exp_info); vb2_dma_sg_get_dmabuf()
597 if (IS_ERR(dbuf)) vb2_dma_sg_get_dmabuf()
603 return dbuf; vb2_dma_sg_get_dmabuf()
675 static void *vb2_dma_sg_attach_dmabuf(void *alloc_ctx, struct dma_buf *dbuf, vb2_dma_sg_attach_dmabuf() argument
682 if (dbuf->size < size) vb2_dma_sg_attach_dmabuf()
691 dba = dma_buf_attach(dbuf, buf->dev); vb2_dma_sg_attach_dmabuf()
H A Dvideobuf2-core.c268 dma_buf_put(p->dbuf); __vb2_plane_dmabuf_put()
1516 struct dma_buf *dbuf = dma_buf_get(planes[plane].m.fd); __qbuf_dmabuf() local
1518 if (IS_ERR_OR_NULL(dbuf)) { __qbuf_dmabuf()
1527 planes[plane].length = dbuf->size; __qbuf_dmabuf()
1537 if (dbuf == vb->planes[plane].dbuf && __qbuf_dmabuf()
1539 dma_buf_put(dbuf); __qbuf_dmabuf()
1556 dbuf, planes[plane].length, dma_dir); __qbuf_dmabuf()
1560 dma_buf_put(dbuf); __qbuf_dmabuf()
1564 vb->planes[plane].dbuf = dbuf; __qbuf_dmabuf()
2402 struct dma_buf *dbuf; vb2_expbuf() local
2443 dbuf = call_ptr_memop(vb, get_dmabuf, vb_plane->mem_priv, eb->flags & O_ACCMODE); vb2_expbuf()
2444 if (IS_ERR_OR_NULL(dbuf)) { vb2_expbuf()
2450 ret = dma_buf_fd(dbuf, eb->flags & ~O_ACCMODE); vb2_expbuf()
2454 dma_buf_put(dbuf); vb2_expbuf()
/linux-4.1.27/tools/virtio/
H A Dvringh_test.c328 int *dbuf, err; parallel_test() local
332 while ((dbuf = virtqueue_get_buf(vq, &len)) != NULL) { parallel_test()
334 assert(*dbuf == finished - 1); parallel_test()
336 assert(*dbuf == finished); parallel_test()
341 dbuf = data + (xfers % (RINGSIZE + 1)); parallel_test()
344 *dbuf = xfers; parallel_test()
346 *dbuf = -1; parallel_test()
348 switch ((xfers / sizeof(*dbuf)) % 4) { parallel_test()
352 sg_set_buf(&sg[0], (void *)dbuf, 1); parallel_test()
353 sg_set_buf(&sg[1], (void *)dbuf + 1, 2); parallel_test()
354 sg_set_buf(&sg[2], (void *)dbuf + 3, 1); parallel_test()
358 sg_set_buf(&sg[0], (void *)dbuf, 1); parallel_test()
359 sg_set_buf(&sg[1], (void *)dbuf + 1, 3); parallel_test()
363 sg_set_buf(&sg[0], (void *)dbuf, 4); parallel_test()
367 sg_set_buf(&sg[0], (void *)dbuf, 1); parallel_test()
368 sg_set_buf(&sg[1], (void *)dbuf + 1, 1); parallel_test()
369 sg_set_buf(&sg[2], (void *)dbuf + 2, 1); parallel_test()
370 sg_set_buf(&sg[3], (void *)dbuf + 3, 1); parallel_test()
378 err = virtqueue_add_outbuf(vq, sg, num_sg, dbuf, parallel_test()
382 dbuf, GFP_KERNEL); parallel_test()
405 int *dbuf; parallel_test() local
409 dbuf = virtqueue_get_buf(vq, &len); parallel_test()
410 if (dbuf) { parallel_test()
412 assert(*dbuf == finished - 1); parallel_test()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_mem.c455 hbqbp->dbuf.virt = pci_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, lpfc_els_hbq_alloc()
456 &hbqbp->dbuf.phys); lpfc_els_hbq_alloc()
457 if (!hbqbp->dbuf.virt) { lpfc_els_hbq_alloc()
480 pci_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys); lpfc_els_hbq_free()
513 dma_buf->dbuf.virt = pci_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, lpfc_sli4_rb_alloc()
514 &dma_buf->dbuf.phys); lpfc_sli4_rb_alloc()
515 if (!dma_buf->dbuf.virt) { lpfc_sli4_rb_alloc()
541 pci_pool_free(phba->lpfc_drb_pool, dmab->dbuf.virt, dmab->dbuf.phys); lpfc_sli4_rb_free()
574 hbq_entry = container_of(mp, struct hbq_dmabuf, dbuf); lpfc_in_buf_free()
575 list_del(&hbq_entry->dbuf.list); lpfc_in_buf_free()
H A Dlpfc_sli.c1704 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); lpfc_sli_hbqbuf_free_all()
1705 list_del(&hbq_buf->dbuf.list); lpfc_sli_hbqbuf_free_all()
1713 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); lpfc_sli_hbqbuf_free_all()
1714 list_del(&hbq_buf->dbuf.list); lpfc_sli_hbqbuf_free_all()
1769 dma_addr_t physaddr = hbq_buf->dbuf.phys; lpfc_sli_hbq_to_firmware_s3()
1787 list_add_tail(&hbq_buf->dbuf.list, &hbqp->hbq_buffer_list); lpfc_sli_hbq_to_firmware_s3()
1813 drqe.address_lo = putPaddrLow(hbq_buf->dbuf.phys); lpfc_sli_hbq_to_firmware_s4()
1814 drqe.address_hi = putPaddrHigh(hbq_buf->dbuf.phys); lpfc_sli_hbq_to_firmware_s4()
1820 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); lpfc_sli_hbq_to_firmware_s4()
1885 list_add_tail(&hbq_buffer->dbuf.list, &hbq_buf_list); lpfc_sli_hbqbuf_fill_hbqs()
1893 dbuf.list); lpfc_sli_hbqbuf_fill_hbqs()
1908 dbuf.list); lpfc_sli_hbqbuf_fill_hbqs()
1969 return container_of(d_buf, struct hbq_dmabuf, dbuf); lpfc_sli_hbqbuf_get()
1995 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); lpfc_sli_hbqbuf_find()
2416 return &hbq_entry->dbuf; lpfc_sli_get_buff()
14794 &dmabuf->dbuf.list, list) { lpfc_cleanup_rcv_buffers()
14798 lpfc_in_buf_free(vport->phba, &dmabuf->dbuf); lpfc_cleanup_rcv_buffers()
14838 &dmabuf->dbuf.list, list) { lpfc_rcv_seq_check_edtov()
14842 lpfc_in_buf_free(vport->phba, &dmabuf->dbuf); lpfc_rcv_seq_check_edtov()
14854 * sequences then the dbuf in the @dmabuf is added to the list of frames that
14870 INIT_LIST_HEAD(&dmabuf->dbuf.list); lpfc_fc_frame_add()
14898 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); lpfc_fc_frame_add()
14906 if (list_empty(&seq_dmabuf->dbuf.list)) { lpfc_fc_frame_add()
14908 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); lpfc_fc_frame_add()
14912 list_for_each_entry_reverse(d_buf, &seq_dmabuf->dbuf.list, list) { lpfc_fc_frame_add()
14913 temp_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); lpfc_fc_frame_add()
14921 list_add(&dmabuf->dbuf.list, &temp_dmabuf->dbuf.list); lpfc_fc_frame_add()
14954 INIT_LIST_HEAD(&dmabuf->dbuf.list); lpfc_sli4_abort_partial_seq()
14971 &seq_dmabuf->dbuf.list, list) { lpfc_sli4_abort_partial_seq()
15250 lpfc_in_buf_free(phba, &dmabuf->dbuf); lpfc_sli4_handle_unsol_abort()
15263 * dbuf list. This function looks for two major things. 1) That the first frame
15287 list_for_each_entry(d_buf, &dmabuf->dbuf.list, list) { lpfc_seq_complete()
15288 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); lpfc_seq_complete()
15359 first_iocbq->context2 = &seq_dmabuf->dbuf; lpfc_prep_seq()
15377 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { lpfc_prep_seq()
15386 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); lpfc_prep_seq()
15411 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); lpfc_prep_seq()
15496 lpfc_in_buf_free(phba, &dmabuf->dbuf); lpfc_sli4_handle_received_buffer()
15510 lpfc_in_buf_free(phba, &dmabuf->dbuf); lpfc_sli4_handle_received_buffer()
15527 lpfc_in_buf_free(phba, &dmabuf->dbuf); lpfc_sli4_handle_received_buffer()
15542 lpfc_in_buf_free(phba, &dmabuf->dbuf); lpfc_sli4_handle_received_buffer()
H A Dlpfc.h133 struct lpfc_dmabuf dbuf; member in struct:hbq_dmabuf
H A Dlpfc_debugfs.c345 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); lpfc_debugfs_hbqinfo_data()
346 phys = ((uint64_t)hbq_buf->dbuf.phys & 0xffffffff); lpfc_debugfs_hbqinfo_data()
350 hbq_buf->dbuf.virt, hbq_buf->tag); lpfc_debugfs_hbqinfo_data()
H A Dlpfc_init.c863 lpfc_in_buf_free(phba, &dmabuf->dbuf); lpfc_sli4_free_sp_events()
/linux-4.1.27/arch/hexagon/mm/
H A Dstrnlen_user.S30 #define dbuf r15:14 define
80 dbuf = memd(start); define
84 P0 = vcmpb.eq(dbuf,dcmp);
/linux-4.1.27/lib/
H A Ddecompress_bunzip2.c103 unsigned int *dbuf, dbufSize; member in struct:bunzip_data
163 unsigned int *dbuf, origPtr; get_next_block() local
165 dbuf = bd->dbuf; get_next_block()
347 result into dbuf[dbufCount++] = uc */ get_next_block()
435 of decoded symbols (dbuf) now. (The last literal get_next_block()
446 dbuf[dbufCount++] = uc; get_next_block()
474 /* We have our literal byte. Save it into dbuf. */ get_next_block()
476 dbuf[dbufCount++] = (unsigned int)uc; get_next_block()
481 dbufCount many decoded bytes in dbuf[]. Now undo the get_next_block()
482 Burrows-Wheeler transform on dbuf. See get_next_block()
492 /* Figure out what order dbuf would be in if we sorted it. */ get_next_block()
494 uc = (unsigned char)(dbuf[i] & 0xff); get_next_block()
495 dbuf[byteCount[uc]] |= (i << 8); get_next_block()
505 bd->writePos = dbuf[origPtr]; get_next_block()
524 const unsigned int *dbuf; read_bunzip() local
532 dbuf = bd->dbuf; read_bunzip()
570 pos = dbuf[pos]; read_bunzip()
670 bd->dbuf = large_malloc(bd->dbufSize * sizeof(int)); start_bunzip()
671 if (!bd->dbuf) start_bunzip()
731 if (bd->dbuf) bunzip2()
732 large_free(bd->dbuf); bunzip2()
/linux-4.1.27/sound/oss/
H A Dpss.c851 copr_debug_buf dbuf; pss_coproc_ioctl() local
921 if (copy_from_user(&dbuf, arg, sizeof(dbuf))) pss_coproc_ioctl()
928 if (!pss_put_dspword(devc, (unsigned short)(dbuf.parm1 & 0xffff))) { pss_coproc_ioctl()
936 dbuf.parm1 = tmp; pss_coproc_ioctl()
938 if (copy_to_user(arg, &dbuf, sizeof(dbuf))) pss_coproc_ioctl()
943 if (copy_from_user(&dbuf, arg, sizeof(dbuf))) pss_coproc_ioctl()
950 if (!pss_put_dspword(devc, (unsigned short) (dbuf.parm1 & 0xffff))) { pss_coproc_ioctl()
954 tmp = (unsigned int)dbuf.parm2 & 0xffff; pss_coproc_ioctl()
963 if (copy_from_user(&dbuf, arg, sizeof(dbuf))) pss_coproc_ioctl()
970 if (!pss_put_dspword(devc, (unsigned short)(dbuf.parm1 & 0xffff))) { pss_coproc_ioctl()
974 tmp = (unsigned int)dbuf.parm2 & 0x00ff; pss_coproc_ioctl()
979 tmp = ((unsigned int)dbuf.parm2 >> 8) & 0xffff; pss_coproc_ioctl()
988 if (copy_from_user(&dbuf, arg, sizeof(dbuf))) pss_coproc_ioctl()
995 if (!pss_put_dspword(devc, (unsigned short)(dbuf.parm1 & 0xffff))) { pss_coproc_ioctl()
1003 dbuf.parm1 = tmp << 8; pss_coproc_ioctl()
1008 dbuf.parm1 |= tmp & 0x00ff; pss_coproc_ioctl()
1010 if (copy_to_user(arg, &dbuf, sizeof(dbuf))) pss_coproc_ioctl()
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_conn.c1062 char dbuf[IP_VS_ADDRSTRLEN]; ip_vs_conn_seq_show() local
1078 snprintf(dbuf, sizeof(dbuf), "%pI6", &cp->daddr.in6); ip_vs_conn_seq_show()
1081 snprintf(dbuf, sizeof(dbuf), "%08X", ip_vs_conn_seq_show()
1091 dbuf, ntohs(cp->dport), ip_vs_conn_seq_show()
1102 dbuf, ntohs(cp->dport), ip_vs_conn_seq_show()
1140 char dbuf[IP_VS_ADDRSTRLEN]; ip_vs_conn_sync_seq_show() local
1154 snprintf(dbuf, sizeof(dbuf), "%pI6", &cp->daddr.in6); ip_vs_conn_sync_seq_show()
1157 snprintf(dbuf, sizeof(dbuf), "%08X", ip_vs_conn_sync_seq_show()
1167 dbuf, ntohs(cp->dport), ip_vs_conn_sync_seq_show()
1179 dbuf, ntohs(cp->dport), ip_vs_conn_sync_seq_show()
/linux-4.1.27/drivers/net/appletalk/
H A Dltpc.c243 void *dbuf, int dbuflen);
274 unsigned char *dbuf; member in struct:xmitQel
547 qels[0].dbuf = resdbuf; idle()
596 qels[0].dbuf = resdbuf; idle()
611 memcpy(ltdmabuf,q->dbuf,q->dbuflen); idle()
619 memcpy(q->dbuf,ltdmabuf,q->dbuflen); idle()
647 void *dbuf, int dbuflen) do_write()
656 qels[i].dbuf = dbuf; do_write()
671 void *dbuf, int dbuflen) do_read()
680 qels[i].dbuf = dbuf; do_read()
646 do_write(struct net_device *dev, void *cbuf, int cbuflen, void *dbuf, int dbuflen) do_write() argument
670 do_read(struct net_device *dev, void *cbuf, int cbuflen, void *dbuf, int dbuflen) do_read() argument
/linux-4.1.27/drivers/misc/carma/
H A Dcarma-fpga.c1167 struct data_buf *dbuf; data_read() local
1174 dbuf = reader->buf; data_read()
1195 dbuf = list_first_entry(used, struct data_buf, entry); data_read()
1196 list_del_init(&dbuf->entry); data_read()
1201 carma_dma_unmap(priv->dev, dbuf); data_read()
1204 reader->buf = dbuf; data_read()
1209 avail = dbuf->size - reader->buf_start; data_read()
1210 data = dbuf->vaddr + reader->buf_start; data_read()
1228 reader->buf = dbuf; data_read()
1238 ret = carma_dma_map(priv->dev, dbuf); data_read()
1258 if (!priv->enabled || dbuf->size != priv->bufsize) { data_read()
1264 list_add_tail(&dbuf->entry, &priv->free); data_read()
1270 carma_dma_unmap(priv->dev, dbuf); data_read()
1271 data_free_buffer(dbuf); data_read()
/linux-4.1.27/fs/afs/
H A Ddir.c133 struct afs_dir_page *dbuf; afs_dir_check_page() local
139 qty = desc.size / sizeof(dbuf->blocks[0]); afs_dir_check_page()
143 if (page->index == 0 && qty != ntohs(dbuf->blocks[0].pagehdr.npages)) { afs_dir_check_page()
146 ntohs(dbuf->blocks[0].pagehdr.npages)); afs_dir_check_page()
160 dbuf = page_address(page); afs_dir_check_page()
162 if (dbuf->blocks[tmp].pagehdr.magic != AFS_DIR_MAGIC) { afs_dir_check_page()
165 ntohs(dbuf->blocks[tmp].pagehdr.magic)); afs_dir_check_page()
325 struct afs_dir_page *dbuf; afs_dir_iterate() local
355 dbuf = page_address(page); afs_dir_iterate()
359 dblock = &dbuf->blocks[(blkoff % PAGE_SIZE) / afs_dir_iterate()
/linux-4.1.27/fs/reiserfs/
H A Dxattr.c194 struct reiserfs_dentry_buf *dbuf = fill_with_dentries() local
198 WARN_ON_ONCE(!mutex_is_locked(&d_inode(dbuf->xadir)->i_mutex)); fill_with_dentries()
200 if (dbuf->count == ARRAY_SIZE(dbuf->dentries)) fill_with_dentries()
207 dentry = lookup_one_len(name, dbuf->xadir, namelen); fill_with_dentries()
215 dentry, dbuf->xadir); fill_with_dentries()
220 dbuf->dentries[dbuf->count++] = dentry; fill_with_dentries()
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_virtio.c81 void __iomem *dbuf = mdev->aper.va + daddr; mic_virtio_copy_to_user() local
107 dbuf += partlen; mic_virtio_copy_to_user()
130 void __iomem *dbuf = mdev->aper.va + daddr; mic_virtio_copy_from_user() local
157 dbuf += partlen; mic_virtio_copy_from_user()
167 if (copy_from_user((void __force *)dbuf, ubuf, len)) { mic_virtio_copy_from_user()
/linux-4.1.27/net/ceph/
H A Dauth_x.c145 void *dbuf = NULL; process_one_ticket() local
177 dlen = ceph_x_decrypt(secret, p, end, &dbuf, 0); process_one_ticket()
183 dp = dbuf; process_one_ticket()
246 kfree(dbuf); process_one_ticket()
/linux-4.1.27/fs/gfs2/
H A Dlog.c445 unsigned int dbuf; calc_reserved() local
450 dbuf = tr->tr_num_databuf_new - tr->tr_num_databuf_rm; calc_reserved()
451 reserved = mbuf + dbuf; calc_reserved()
454 reserved += DIV_ROUND_UP(dbuf, databuf_limit(sdp)); calc_reserved()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Domap_udc.c2163 ep->double_buf ? "dbuf " : "", proc_ep_show()
2481 unsigned buf, unsigned maxp, int dbuf) omap_ep_setup()
2522 dbuf = 1; omap_ep_setup()
2529 dbuf = 0; omap_ep_setup()
2547 if (dbuf && addr) omap_ep_setup()
2559 name, addr, epn_rxtx, maxp, dbuf ? "x2" : "", buf); omap_ep_setup()
2568 if (dbuf) omap_ep_setup()
2579 ep->double_buf = dbuf; omap_ep_setup()
2480 omap_ep_setup(char *name, u8 addr, u8 type, unsigned buf, unsigned maxp, int dbuf) omap_ep_setup() argument
/linux-4.1.27/drivers/crypto/
H A Dmv_cesa.c216 static void copy_src_to_buf(struct req_progress *p, char *dbuf, int len) copy_src_to_buf() argument
233 memcpy(dbuf, sbuf, copy_len); copy_src_to_buf()
239 dbuf += copy_len; copy_src_to_buf()
/linux-4.1.27/include/media/
H A Dvideobuf2-core.h50 * dbuf is the shared dma_buf; returns NULL on failure;
99 void *(*attach_dmabuf)(void *alloc_ctx, struct dma_buf *dbuf,
116 struct dma_buf *dbuf; member in struct:vb2_plane
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_sup.c1464 uint8_t *dbuf; qla25xx_write_nvram_data() local
1466 dbuf = vmalloc(RMW_BUFFER_SIZE); qla25xx_write_nvram_data()
1467 if (!dbuf) qla25xx_write_nvram_data()
1469 ha->isp_ops->read_optrom(vha, dbuf, ha->flt_region_vpd_nvram << 2, qla25xx_write_nvram_data()
1471 memcpy(dbuf + (naddr << 2), buf, bytes); qla25xx_write_nvram_data()
1472 ha->isp_ops->write_optrom(vha, dbuf, ha->flt_region_vpd_nvram << 2, qla25xx_write_nvram_data()
1474 vfree(dbuf); qla25xx_write_nvram_data()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_ioc.h440 u8 data_valid; /* data in dbuf is valid */
H A Dbfa_ioc.c5378 u16 *buf, *dbuf; bfa_phy_write_send() local
5395 dbuf = (u16 *)phy->dbuf_kva; bfa_phy_write_send()
5398 buf[i] = cpu_to_be16(dbuf[i]); bfa_phy_write_send()
5797 u16 *dbuf = (u16 *)phy->dbuf_kva; bfa_phy_intr() local
5804 buf[i] = be16_to_cpu(dbuf[i]); bfa_phy_intr()
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-mio-defs.h1064 uint64_t dbuf:1; member in struct:cvmx_mio_emm_cmd::cvmx_mio_emm_cmd_s
1078 uint64_t dbuf:1;
1257 uint64_t dbuf:1; member in struct:cvmx_mio_emm_rsp_sts::cvmx_mio_emm_rsp_sts_s
1289 uint64_t dbuf:1;

Completed in 1310 milliseconds