Lines Matching refs:handlep
1674 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_close() local
1695 ASSERT(handlep->lh_events == NULL); in ldi_close()
1702 while ((lep = handlep->lh_events) != NULL) { in ldi_close()
1707 struct ldi_ident *lip = handlep->lh_ident; in ldi_close()
1716 err = VOP_CLOSE(handlep->lh_vp, flag | FKLYR, 1, (offset_t)0, cr, NULL); in ldi_close()
1735 if (handlep->lh_flags & LH_FLAGS_NOTIFY) in ldi_close()
1739 if (lecp->lec_lhp != handlep) in ldi_close()
1751 handlep->lh_flags &= ~LH_FLAGS_NOTIFY; in ldi_close()
1765 handle_release(handlep); in ldi_close()
1772 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_read() local
1780 vp = handlep->lh_vp; in ldi_read()
1782 if (handlep->lh_type & LH_CBDEV) { in ldi_read()
1784 } else if (handlep->lh_type & LH_STREAM) { in ldi_read()
1795 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_write() local
1803 vp = handlep->lh_vp; in ldi_write()
1805 if (handlep->lh_type & LH_CBDEV) { in ldi_write()
1807 } else if (handlep->lh_type & LH_STREAM) { in ldi_write()
1821 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_get_size() local
1829 if (handlep->lh_type & LH_STREAM) in ldi_get_size()
1929 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_ioctl() local
1951 vp = handlep->lh_vp; in ldi_ioctl()
1953 if (handlep->lh_type & LH_CBDEV) { in ldi_ioctl()
1955 } else if (handlep->lh_type & LH_STREAM) { in ldi_ioctl()
1979 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_poll() local
1987 vp = handlep->lh_vp; in ldi_poll()
1989 if (handlep->lh_type & LH_CBDEV) { in ldi_poll()
1991 } else if (handlep->lh_type & LH_STREAM) { in ldi_poll()
2004 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_prop_op() local
2023 dev = handlep->lh_vp->v_rdev; in ldi_prop_op()
2025 csp = VTOCS(handlep->lh_vp); in ldi_prop_op()
2045 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_strategy() local
2052 dev = handlep->lh_vp->v_rdev; in ldi_strategy()
2053 if (!(handlep->lh_type & LH_CBDEV)) in ldi_strategy()
2064 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_dump() local
2071 dev = handlep->lh_vp->v_rdev; in ldi_dump()
2072 if (!(handlep->lh_type & LH_CBDEV)) in ldi_dump()
2082 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_devmap() local
2089 dev = handlep->lh_vp->v_rdev; in ldi_devmap()
2090 if (!(handlep->lh_type & LH_CBDEV)) in ldi_devmap()
2099 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_aread() local
2107 if (!(handlep->lh_type & LH_CBDEV)) in ldi_aread()
2113 dev = handlep->lh_vp->v_rdev; in ldi_aread()
2127 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_awrite() local
2135 if (!(handlep->lh_type & LH_CBDEV)) in ldi_awrite()
2141 dev = handlep->lh_vp->v_rdev; in ldi_awrite()
2155 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_putmsg() local
2161 if (!(handlep->lh_type & LH_STREAM)) { in ldi_putmsg()
2174 ret = kstrputmsg(handlep->lh_vp, smp, NULL, 0, 0, in ldi_putmsg()
2183 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_getmsg() local
2193 if (!(handlep->lh_type & LH_STREAM)) in ldi_getmsg()
2208 ret = kstrgetmsg(handlep->lh_vp, in ldi_getmsg()
2216 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_get_dev() local
2221 *devp = handlep->lh_vp->v_rdev; in ldi_get_dev()
2228 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_get_otyp() local
2233 *otyp = VTYP_TO_OTYP(handlep->lh_vp->v_type); in ldi_get_otyp()
2240 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_get_devid() local
2247 dev = handlep->lh_vp->v_rdev; in ldi_get_devid()
2259 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_get_minor_name() local
2266 dev = handlep->lh_vp->v_rdev; in ldi_get_minor_name()
2267 otyp = VTYP_TO_OTYP(handlep->lh_vp->v_type); in ldi_get_minor_name()
2280 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_prop_lookup_int_array() local
2289 dev = handlep->lh_vp->v_rdev; in ldi_prop_lookup_int_array()
2291 csp = VTOCS(handlep->lh_vp); in ldi_prop_lookup_int_array()
2336 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_prop_lookup_int64_array() local
2345 dev = handlep->lh_vp->v_rdev; in ldi_prop_lookup_int64_array()
2347 csp = VTOCS(handlep->lh_vp); in ldi_prop_lookup_int64_array()
2393 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_prop_lookup_string_array() local
2402 dev = handlep->lh_vp->v_rdev; in ldi_prop_lookup_string_array()
2404 csp = VTOCS(handlep->lh_vp); in ldi_prop_lookup_string_array()
2468 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_prop_lookup_string() local
2477 dev = handlep->lh_vp->v_rdev; in ldi_prop_lookup_string()
2479 csp = VTOCS(handlep->lh_vp); in ldi_prop_lookup_string()
2546 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_prop_lookup_byte_array() local
2555 dev = handlep->lh_vp->v_rdev; in ldi_prop_lookup_byte_array()
2557 csp = VTOCS(handlep->lh_vp); in ldi_prop_lookup_byte_array()
2603 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_prop_get_int() local
2612 dev = handlep->lh_vp->v_rdev; in ldi_prop_get_int()
2614 csp = VTOCS(handlep->lh_vp); in ldi_prop_get_int()
2664 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_prop_get_int64() local
2673 dev = handlep->lh_vp->v_rdev; in ldi_prop_get_int64()
2675 csp = VTOCS(handlep->lh_vp); in ldi_prop_get_int64()
2724 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_prop_exists() local
2733 dev = handlep->lh_vp->v_rdev; in ldi_prop_exists()
2735 csp = VTOCS(handlep->lh_vp); in ldi_prop_exists()
2776 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_get_eventcookie() local
2789 dev = handlep->lh_vp->v_rdev; in ldi_get_eventcookie()
2791 csp = VTOCS(handlep->lh_vp); in ldi_get_eventcookie()
2817 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_add_event_handler() local
2829 dev = handlep->lh_vp->v_rdev; in ldi_add_event_handler()
2831 csp = VTOCS(handlep->lh_vp); in ldi_add_event_handler()
2843 lep->le_lhp = handlep; in ldi_add_event_handler()
3078 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_ev_get_cookie() local
3111 dev = handlep->lh_vp->v_rdev; in ldi_ev_get_cookie()
3113 csp = VTOCS(handlep->lh_vp); in ldi_ev_get_cookie()
3123 "handle: %p", (void *)handlep); in ldi_ev_get_cookie()