Lines Matching refs:cmi_hdl_t
39 * INIT_HDLS is the initial size of cmi_hdl_t array. We fill the array
50 int (*cbfunc)(cmi_hdl_t, void *, void *); /* callback function */
51 cmi_hdl_t *hdls; /* allocated array to save the handles */
88 int (*cbfunc)(cmi_hdl_t, void *, void *))
98 wp->hdls = kmem_alloc(sizeof (cmi_hdl_t) * INIT_HDLS, KM_SLEEP);
108 kmem_free(wp->hdls, sizeof (cmi_hdl_t) * wp->nhdl_max);
112 select_cmi_hdl(cmi_hdl_t hdl, void *arg1, void *arg2, void *arg3)
133 size_t sz = sizeof (cmi_hdl_t) * wp->nhdl_max;
134 cmi_hdl_t *newarray = kmem_alloc(sz << 1, KM_SLEEP);
149 populate_cpu(nvlist_t **nvlp, cmi_hdl_t hdl)
257 cmi_hdl_t hdl;