Home
last modified time | relevance | path

Searched refs:pchunk (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_attach.c1880 pmcs_chunk_t *pchunk = NULL; in pmcs_add_more_chunks() local
1884 pchunk = kmem_zalloc(sizeof (pmcs_chunk_t), KM_SLEEP); in pmcs_add_more_chunks()
1885 if (pchunk == NULL) { in pmcs_add_more_chunks()
1891 if (pmcs_dma_setup(pwp, &pwp->cip_dma_attr, &pchunk->acc_handle, in pmcs_add_more_chunks()
1892 &pchunk->dma_handle, nsize, (caddr_t *)&pchunk->addrp, in pmcs_add_more_chunks()
1893 &pchunk->dma_addr) == B_FALSE) { in pmcs_add_more_chunks()
1896 kmem_free(pchunk, sizeof (pmcs_chunk_t)); in pmcs_add_more_chunks()
1900 if ((pmcs_check_acc_handle(pchunk->acc_handle) != DDI_SUCCESS) || in pmcs_add_more_chunks()
1901 (pmcs_check_dma_handle(pchunk->dma_handle) != DDI_SUCCESS)) { in pmcs_add_more_chunks()
1906 bzero(pchunk->addrp, nsize); in pmcs_add_more_chunks()
[all …]
H A Dpmcs_subr.c6335 pmcs_chunk_t *pchunk, unsigned long lim) in pmcs_idma_chunks() argument
6342 pwp->dma_chunklist = pchunk; in pmcs_idma_chunks()
6348 tmp_chunk->next = pchunk; in pmcs_idma_chunks()
6355 np->chunks = (void *)&pchunk->addrp[off]; in pmcs_idma_chunks()
6356 np->addr = pchunk->dma_addr + off; in pmcs_idma_chunks()
6357 np->acc_handle = pchunk->acc_handle; in pmcs_idma_chunks()
6358 np->dma_handle = pchunk->dma_handle; in pmcs_idma_chunks()
7443 pmcs_chunk_t *pchunk; in pmcs_free_dma_chunklist() local
7446 pchunk = pwp->dma_chunklist; in pmcs_free_dma_chunklist()
7448 if (pchunk->dma_handle) { in pmcs_free_dma_chunklist()
[all …]