Lines Matching refs:dummyhp

3843 	struct bofi_shadow *dummyhp;  in bofi_dma_ctl()  local
3890 dummyhp = hp; in bofi_dma_ctl()
3891 dummyhp->hnext->hprev = dummyhp->hprev; in bofi_dma_ctl()
3892 dummyhp->hprev->hnext = dummyhp->hnext; in bofi_dma_ctl()
3895 for (i = 0; i < dummyhp->len; i++) { in bofi_dma_ctl()
3896 hp = dummyhp->hparrayp[i]; in bofi_dma_ctl()
3918 kmem_free(dummyhp->hparrayp, dummyhp->len * in bofi_dma_ctl()
3920 kmem_free(dummyhp, sizeof (struct bofi_shadow)); in bofi_dma_ctl()
3938 struct bofi_shadow *dummyhp; in bofi_dvma_reserve() local
3950 dummyhp = kmem_zalloc(sizeof (*dummyhp), KM_SLEEP); in bofi_dvma_reserve()
3956 dummyhp->save.dvma_ops = *(nexus_private->ops); in bofi_dvma_reserve()
3964 (void) strncpy(dummyhp->name, ddi_get_name(rdip), NAMESIZE); in bofi_dvma_reserve()
3965 dummyhp->instance = ddi_get_instance(rdip); in bofi_dvma_reserve()
3966 dummyhp->rnumber = -1; in bofi_dvma_reserve()
3967 dummyhp->dip = rdip; in bofi_dvma_reserve()
3968 dummyhp->len = count; in bofi_dvma_reserve()
3969 dummyhp->hdl.dma_handle = handle; in bofi_dvma_reserve()
3970 dummyhp->link = NULL; in bofi_dvma_reserve()
3971 dummyhp->type = BOFI_NULL; in bofi_dvma_reserve()
3975 dummyhp->hparrayp = kmem_alloc(count * in bofi_dvma_reserve()
4021 dummyhp->hparrayp[i] = hp; in bofi_dvma_reserve()
4031 dummyhp->hnext = hhashp->hnext; in bofi_dvma_reserve()
4032 hhashp->hnext->hprev = dummyhp; in bofi_dvma_reserve()
4033 dummyhp->hprev = hhashp; in bofi_dvma_reserve()
4034 hhashp->hnext = dummyhp; in bofi_dvma_reserve()
4046 struct bofi_shadow *dummyhp; in bofi_dvma_kaddr_load() local
4058 for (dummyhp = hhashp->hnext; dummyhp != hhashp; in bofi_dvma_kaddr_load()
4059 dummyhp = dummyhp->hnext) in bofi_dvma_kaddr_load()
4060 if (dummyhp->hdl.dma_handle == h) in bofi_dvma_kaddr_load()
4064 if (dummyhp == hhashp) { in bofi_dvma_kaddr_load()
4074 hp = dummyhp->hparrayp[index]; in bofi_dvma_kaddr_load()
4095 dummyhp->save.dvma_ops.dvma_kaddr_load(h, a, len, index, cp); in bofi_dvma_kaddr_load()
4135 struct bofi_shadow *dummyhp; in bofi_dvma_unload() local
4145 for (dummyhp = hhashp->hnext; dummyhp != hhashp; in bofi_dvma_unload()
4146 dummyhp = dummyhp->hnext) in bofi_dvma_unload()
4147 if (dummyhp->hdl.dma_handle == h) in bofi_dvma_unload()
4151 if (dummyhp == hhashp) { in bofi_dvma_unload()
4157 dummyhp->save.dvma_ops.dvma_unload(h, index, view); in bofi_dvma_unload()
4161 hp = dummyhp->hparrayp[index]; in bofi_dvma_unload()
4208 struct bofi_shadow *dummyhp; in bofi_dvma_sync() local
4217 for (dummyhp = hhashp->hnext; dummyhp != hhashp; in bofi_dvma_sync()
4218 dummyhp = dummyhp->hnext) in bofi_dvma_sync()
4219 if (dummyhp->hdl.dma_handle == h) in bofi_dvma_sync()
4223 if (dummyhp == hhashp) { in bofi_dvma_sync()
4232 hp = dummyhp->hparrayp[index]; in bofi_dvma_sync()
4242 dummyhp->save.dvma_ops.dvma_sync(h, index, view); in bofi_dvma_sync()
4280 dummyhp->save.dvma_ops.dvma_sync(h, index, view); in bofi_dvma_sync()