Home
last modified time | relevance | path

Searched refs:vbp (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c272 m_vtob_p vbp; in ___get_dma_mem_cluster() local
275 vbp = __sym_calloc(&mp0, sizeof(*vbp), "VTOB"); in ___get_dma_mem_cluster()
276 if (!vbp) in ___get_dma_mem_cluster()
279 vaddr = sym_m_get_dma_mem_cluster(mp, vbp); in ___get_dma_mem_cluster()
282 vbp->next = mp->vtob[hc]; in ___get_dma_mem_cluster()
283 mp->vtob[hc] = vbp; in ___get_dma_mem_cluster()
296 m_vtob_p *vbpp, vbp; in ___free_dma_mem_cluster() local
303 vbp = *vbpp; in ___free_dma_mem_cluster()
305 sym_m_free_dma_mem_cluster(mp, vbp); in ___free_dma_mem_cluster()
306 __sym_mfree(&mp0, vbp, sizeof(*vbp), "VTOB"); in ___free_dma_mem_cluster()
Dsym_glue.h577 static __inline m_addr_t sym_m_get_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) in sym_m_get_dma_mem_cluster() argument
584 vbp->vaddr = (m_addr_t) vaddr; in sym_m_get_dma_mem_cluster()
585 vbp->baddr = (m_addr_t) baddr; in sym_m_get_dma_mem_cluster()
590 static __inline void sym_m_free_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) in sym_m_free_dma_mem_cluster() argument
593 (void *)vbp->vaddr, (dma_addr_t)vbp->baddr); in sym_m_free_dma_mem_cluster()
/linux-2.4.37.9/drivers/scsi/
Dsym53c8xx_comm.h791 m_vtob_s *vbp; in ___dma_getp() local
793 vbp = __m_calloc(&mp0, sizeof(*vbp), "VTOB"); in ___dma_getp()
794 if (vbp) { in ___dma_getp()
801 vbp->vaddr = vp; in ___dma_getp()
802 vbp->baddr = daddr; in ___dma_getp()
803 vbp->next = mp->vtob[hc]; in ___dma_getp()
804 mp->vtob[hc] = vbp; in ___dma_getp()
809 if (vbp) in ___dma_getp()
810 __m_free(&mp0, vbp, sizeof(*vbp), "VTOB"); in ___dma_getp()
816 m_vtob_s **vbpp, *vbp; in ___dma_freep() local
[all …]
Dsym53c8xx.c984 m_vtob_s *vbp; in ___dma_getp() local
986 vbp = __m_calloc(&mp0, sizeof(*vbp), "VTOB"); in ___dma_getp()
987 if (vbp) { in ___dma_getp()
994 vbp->vaddr = vp; in ___dma_getp()
995 vbp->baddr = daddr; in ___dma_getp()
996 vbp->next = mp->vtob[hc]; in ___dma_getp()
997 mp->vtob[hc] = vbp; in ___dma_getp()
1002 __m_free(&mp0, vbp, sizeof(*vbp), "VTOB"); in ___dma_getp()
1009 m_vtob_s **vbpp, *vbp; in ___dma_freep() local
1016 vbp = *vbpp; in ___dma_freep()
[all …]