Lines Matching refs:hhashp
935 struct bofi_shadow *hhashp; in bofi_ioctl() local
1507 hhashp = &hhash_table[i]; in bofi_ioctl()
1508 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) { in bofi_ioctl()
1623 hhashp = &hhash_table[i]; in bofi_ioctl()
1624 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) { in bofi_ioctl()
3102 struct bofi_shadow *hhashp; in bofi_map() local
3185 hhashp = HDL_HHASH(ap); in bofi_map()
3186 hp->hnext = hhashp->hnext; in bofi_map()
3187 hhashp->hnext->hprev = hp; in bofi_map()
3188 hp->hprev = hhashp; in bofi_map()
3189 hhashp->hnext = hp; in bofi_map()
3232 hhashp = HDL_HHASH(ap); in bofi_map()
3233 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_map()
3236 if (hp == hhashp) { in bofi_map()
3351 struct bofi_shadow *hhashp; in bofi_dma_allochdl() local
3432 hhashp = HDL_HHASH(*handlep); in bofi_dma_allochdl()
3433 hp->hnext = hhashp->hnext; in bofi_dma_allochdl()
3434 hhashp->hnext->hprev = hp; in bofi_dma_allochdl()
3435 hp->hprev = hhashp; in bofi_dma_allochdl()
3436 hhashp->hnext = hp; in bofi_dma_allochdl()
3456 struct bofi_shadow *hhashp; in bofi_dma_freehdl() local
3463 hhashp = HDL_HHASH(handle); in bofi_dma_freehdl()
3464 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_freehdl()
3479 if (hp == hhashp) in bofi_dma_freehdl()
3516 struct bofi_shadow *hhashp; in bofi_dma_bindhdl() local
3525 hhashp = HDL_HHASH(handle); in bofi_dma_bindhdl()
3526 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_bindhdl()
3531 if (hp == hhashp) { in bofi_dma_bindhdl()
3643 struct bofi_shadow *hhashp; in bofi_dma_unbindhdl() local
3656 hhashp = HDL_HHASH(handle); in bofi_dma_unbindhdl()
3657 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_unbindhdl()
3660 if (hp == hhashp) { in bofi_dma_unbindhdl()
3722 struct bofi_shadow *hhashp; in bofi_dma_flush() local
3739 hhashp = HDL_HHASH(handle); in bofi_dma_flush()
3740 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_flush()
3746 if (hp != hhashp) { in bofi_dma_flush()
3801 struct bofi_shadow *hhashp; in bofi_dma_win() local
3817 hhashp = HDL_HHASH(handle); in bofi_dma_win()
3818 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_win()
3821 if (hp != hhashp) { in bofi_dma_win()
3843 struct bofi_shadow *hhashp; in bofi_dma_ctl() local
3876 hhashp = HDL_HHASH(handle); in bofi_dma_ctl()
3877 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_dma_ctl()
3880 if (hp == hhashp) { in bofi_dma_ctl()
3943 struct bofi_shadow *hhashp; in bofi_dvma_reserve() local
4033 hhashp = HDL_HHASH(handle); in bofi_dvma_reserve()
4034 dummyhp->hnext = hhashp->hnext; in bofi_dvma_reserve()
4035 hhashp->hnext->hprev = dummyhp; in bofi_dvma_reserve()
4036 dummyhp->hprev = hhashp; in bofi_dvma_reserve()
4037 hhashp->hnext = dummyhp; in bofi_dvma_reserve()
4051 struct bofi_shadow *hhashp; in bofi_dvma_kaddr_load() local
4060 hhashp = HDL_HHASH(h); in bofi_dvma_kaddr_load()
4061 for (dummyhp = hhashp->hnext; dummyhp != hhashp; in bofi_dvma_kaddr_load()
4067 if (dummyhp == hhashp) { in bofi_dvma_kaddr_load()
4140 struct bofi_shadow *hhashp; in bofi_dvma_unload() local
4147 hhashp = HDL_HHASH(h); in bofi_dvma_unload()
4148 for (dummyhp = hhashp->hnext; dummyhp != hhashp; in bofi_dvma_unload()
4154 if (dummyhp == hhashp) { in bofi_dvma_unload()
4212 struct bofi_shadow *hhashp; in bofi_dvma_sync() local
4219 hhashp = HDL_HHASH(h); in bofi_dvma_sync()
4220 for (dummyhp = hhashp->hnext; dummyhp != hhashp; in bofi_dvma_sync()
4226 if (dummyhp == hhashp) { in bofi_dvma_sync()
4419 struct bofi_shadow *hhashp; in bofi_check_dma_hdl() local
4425 hhashp = HDL_HHASH(handle); in bofi_check_dma_hdl()
4426 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) in bofi_check_dma_hdl()
4429 if (hp == hhashp) { in bofi_check_dma_hdl()
4583 struct bofi_shadow *hhashp; in bofi_intr_ops() local
4637 hhashp = HDL_HHASH(hdlp->ih_inum); in bofi_intr_ops()
4638 hp->hnext = hhashp->hnext; in bofi_intr_ops()
4639 hhashp->hnext->hprev = hp; in bofi_intr_ops()
4640 hp->hprev = hhashp; in bofi_intr_ops()
4641 hhashp->hnext = hp; in bofi_intr_ops()
4679 hhashp = HDL_HHASH(hdlp->ih_inum); in bofi_intr_ops()
4680 for (hp = hhashp->hnext; hp != hhashp; hp = hp->hnext) { in bofi_intr_ops()
4687 if (hp == hhashp) { in bofi_intr_ops()