Lines Matching defs:hdl_impl
852 ibdma_hdl_impl_t *hdl_impl;
867 hdl_impl = list_head(&hca->ih_hdl_list);
868 while (hdl_impl != NULL) {
869 if (hdl_impl == hdl_tmp) {
872 hdl_impl = list_next(&hca->ih_hdl_list, hdl_impl);
874 return (hdl_impl);
1040 ibdma_hdl_impl_t *hdl_impl;
1056 hdl_impl = list_head(&hca->ih_hdl_list);
1057 while (hdl_impl != NULL) {
1058 if (hdl_impl == hdl_tmp) {
1061 hdl_impl = list_next(&hca->ih_hdl_list, hdl_impl);
1064 if (hdl_impl == NULL) {
1070 list_remove(&hca->ih_hdl_list, hdl_impl);
1072 if (hdl_impl->ih_ioc_ndx >= IBDMA_MAX_IOC) {
1074 kmem_free(hdl_impl, sizeof (*hdl_impl));
1078 ioc = &hca->ih_ioc[hdl_impl->ih_ioc_ndx];
1079 kmem_free(hdl_impl, sizeof (*hdl_impl));
1123 ibdma_hdl_impl_t *hdl_impl;
1143 hdl_impl = list_head(&hca->ih_hdl_list);
1144 while (hdl_impl != NULL) {
1145 if (hdl_impl == hdl_tmp) {
1148 hdl_impl = list_next(&hca->ih_hdl_list, hdl_impl);
1151 if (hdl_impl == NULL) {
1157 if (hdl_impl->ih_ioc_ndx >= IBDMA_MAX_IOC) {
1162 ioc = &hca->ih_ioc[hdl_impl->ih_ioc_ndx];