Lines Matching refs:vntsdp
160 vntsd_delete_cons(vntsd_t *vntsdp) in vntsd_delete_cons() argument
167 (void) mutex_lock(&vntsdp->lock); in vntsd_delete_cons()
168 groupp = vntsd_que_walk(vntsdp->grouppq, in vntsd_delete_cons()
172 (void) mutex_unlock(&vntsdp->lock); in vntsd_delete_cons()
178 (void) mutex_unlock(&vntsdp->lock); in vntsd_delete_cons()
329 alloc_group(vntsd_t *vntsdp, char *group_name, uint64_t tcp_port) in alloc_group() argument
353 groupp->vntsd = vntsdp; in alloc_group()
376 alloc_cons_with_group(vntsd_t *vntsdp, vcc_console_t *consp, in alloc_cons_with_group() argument
387 (void) mutex_lock(&vntsdp->lock); in alloc_cons_with_group()
388 groupp = vntsd_que_find(vntsdp->grouppq, in alloc_cons_with_group()
393 (void) mutex_unlock(&vntsdp->lock); in alloc_cons_with_group()
440 groupp = alloc_group(vntsdp, consp->group_name, in alloc_cons_with_group()
448 (void) mutex_lock(&vntsdp->lock); in alloc_cons_with_group()
449 rv = vntsd_que_append(&vntsdp->grouppq, groupp); in alloc_cons_with_group()
450 (void) mutex_unlock(&vntsdp->lock); in alloc_cons_with_group()
552 delete_cons_before_add(vntsd_t *vntsdp, uint_t cons_no) in delete_cons_before_add() argument
558 (void) mutex_lock(&vntsdp->lock); in delete_cons_before_add()
559 groupp = vntsd_que_find(vntsdp->grouppq, in delete_cons_before_add()
562 (void) mutex_unlock(&vntsdp->lock); in delete_cons_before_add()
600 do_add_cons(vntsd_t *vntsdp, int cons_no) in do_add_cons() argument
620 delete_cons_before_add(vntsdp, console.cons_no); in do_add_cons()
624 if ((rv = alloc_cons_with_group(vntsdp, &console, &groupp)) != in do_add_cons()
644 vntsd_daemon_wakeup(vntsd_t *vntsdp) in vntsd_daemon_wakeup() argument
662 do_add_cons(vntsdp, inq_data.cons_no); in vntsd_daemon_wakeup()
679 vntsd_get_config(vntsd_t *vntsdp) in vntsd_get_config() argument
719 if (alloc_cons_with_group(vntsdp, &consp[i], &groupp) in vntsd_get_config()
726 (void) mutex_lock(&vntsdp->lock); in vntsd_get_config()
729 groupp = vntsd_que_walk(vntsdp->grouppq, in vntsd_get_config()
737 (void) mutex_unlock(&vntsdp->lock); in vntsd_get_config()