Home
last modified time | relevance | path

Searched refs:bindq (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Ddevpool.c209 pool_bindq_t bindq; in pool_ioctl() local
458 if (ddi_copyin((void *)arg, &bindq, in pool_ioctl()
464 if ((ret = pool_query_binding(bindq.pb_o_id_type, in pool_ioctl()
465 bindq.pb_o_id, &bindq.pb_i_id)) == 0 && in pool_ioctl()
466 ddi_copyout(&bindq, (void *)arg, in pool_ioctl()
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_kernel.c1437 pool_bindq_t bindq; in pool_knl_get_binding() local
1445 bindq.pb_o_id_type = P_PID; in pool_knl_get_binding()
1446 bindq.pb_o_id = pid; in pool_knl_get_binding()
1447 if (ioctl(prov->pkc_fd, POOL_BINDQ, &bindq) < 0) { in pool_knl_get_binding()
1455 pool_value_set_int64(props[0], bindq.pb_i_id); in pool_knl_get_binding()
1524 pool_bindq_t bindq; in pool_knl_get_resource_binding() local
1532 bindq.pb_o_id_type = P_PID; in pool_knl_get_resource_binding()
1533 bindq.pb_o_id = pid; in pool_knl_get_resource_binding()
1534 if (ioctl(prov->pkc_fd, POOL_BINDQ, &bindq) < 0) { in pool_knl_get_resource_binding()
1542 pool_value_set_int64(props[0], bindq.pb_i_id); in pool_knl_get_resource_binding()