Lines Matching refs:hhashp

932 	struct bofi_shadow *hhashp;  in bofi_ioctl()  local
1504 hhashp = &hhash_table[i]; in bofi_ioctl()
1505 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) { in bofi_ioctl()
1620 hhashp = &hhash_table[i]; in bofi_ioctl()
1621 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) { in bofi_ioctl()
3099 struct bofi_shadow *hhashp; in bofi_map() local
3182 hhashp = HDL_HHASH(ap); in bofi_map()
3183 hp->hnext = hhashp->hnext; in bofi_map()
3184 hhashp->hnext->hprev = hp; in bofi_map()
3185 hp->hprev = hhashp; in bofi_map()
3186 hhashp->hnext = hp; in bofi_map()
3229 hhashp = HDL_HHASH(ap); in bofi_map()
3230 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_map()
3233 if (hp == hhashp) { in bofi_map()
3348 struct bofi_shadow *hhashp; in bofi_dma_allochdl() local
3429 hhashp = HDL_HHASH(*handlep); in bofi_dma_allochdl()
3430 hp->hnext = hhashp->hnext; in bofi_dma_allochdl()
3431 hhashp->hnext->hprev = hp; in bofi_dma_allochdl()
3432 hp->hprev = hhashp; in bofi_dma_allochdl()
3433 hhashp->hnext = hp; in bofi_dma_allochdl()
3453 struct bofi_shadow *hhashp; in bofi_dma_freehdl() local
3460 hhashp = HDL_HHASH(handle); in bofi_dma_freehdl()
3461 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_freehdl()
3476 if (hp == hhashp) in bofi_dma_freehdl()
3513 struct bofi_shadow *hhashp; in bofi_dma_bindhdl() local
3522 hhashp = HDL_HHASH(handle); in bofi_dma_bindhdl()
3523 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_bindhdl()
3528 if (hp == hhashp) { in bofi_dma_bindhdl()
3640 struct bofi_shadow *hhashp; in bofi_dma_unbindhdl() local
3653 hhashp = HDL_HHASH(handle); in bofi_dma_unbindhdl()
3654 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_unbindhdl()
3657 if (hp == hhashp) { in bofi_dma_unbindhdl()
3719 struct bofi_shadow *hhashp; in bofi_dma_flush() local
3736 hhashp = HDL_HHASH(handle); in bofi_dma_flush()
3737 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_flush()
3743 if (hp != hhashp) { in bofi_dma_flush()
3798 struct bofi_shadow *hhashp; in bofi_dma_win() local
3814 hhashp = HDL_HHASH(handle); in bofi_dma_win()
3815 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_win()
3818 if (hp != hhashp) { in bofi_dma_win()
3840 struct bofi_shadow *hhashp; in bofi_dma_ctl() local
3873 hhashp = HDL_HHASH(handle); in bofi_dma_ctl()
3874 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_ctl()
3877 if (hp == hhashp) { in bofi_dma_ctl()
3940 struct bofi_shadow *hhashp; in bofi_dvma_reserve() local
4030 hhashp = HDL_HHASH(handle); 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()
4048 struct bofi_shadow *hhashp; in bofi_dvma_kaddr_load() local
4057 hhashp = HDL_HHASH(h); in bofi_dvma_kaddr_load()
4058 for (dummyhp = hhashp->hnext; dummyhp != hhashp; in bofi_dvma_kaddr_load()
4064 if (dummyhp == hhashp) { in bofi_dvma_kaddr_load()
4137 struct bofi_shadow *hhashp; in bofi_dvma_unload() local
4144 hhashp = HDL_HHASH(h); in bofi_dvma_unload()
4145 for (dummyhp = hhashp->hnext; dummyhp != hhashp; in bofi_dvma_unload()
4151 if (dummyhp == hhashp) { in bofi_dvma_unload()
4209 struct bofi_shadow *hhashp; in bofi_dvma_sync() local
4216 hhashp = HDL_HHASH(h); in bofi_dvma_sync()
4217 for (dummyhp = hhashp->hnext; dummyhp != hhashp; in bofi_dvma_sync()
4223 if (dummyhp == hhashp) { in bofi_dvma_sync()
4416 struct bofi_shadow *hhashp; in bofi_check_dma_hdl() local
4422 hhashp = HDL_HHASH(handle); in bofi_check_dma_hdl()
4423 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_check_dma_hdl()
4426 if (hp == hhashp) { in bofi_check_dma_hdl()
4580 struct bofi_shadow *hhashp; in bofi_intr_ops() local
4634 hhashp = HDL_HHASH(hdlp->ih_inum); in bofi_intr_ops()
4635 hp->hnext = hhashp->hnext; in bofi_intr_ops()
4636 hhashp->hnext->hprev = hp; in bofi_intr_ops()
4637 hp->hprev = hhashp; in bofi_intr_ops()
4638 hhashp->hnext = hp; in bofi_intr_ops()
4676 hhashp = HDL_HHASH(hdlp->ih_inum); in bofi_intr_ops()
4677 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) { in bofi_intr_ops()
4684 if (hp == hhashp) { in bofi_intr_ops()