Searched refs:wnodep (Results 1 – 2 of 2) sorted by relevance
505 sbdp_wnode_init(sbdp_wnode_t *wnodep, int wnode, int boards) in sbdp_wnode_init() argument512 wnodep->wnode = wnode; in sbdp_wnode_init()513 wnodep->nbds = boards; in sbdp_wnode_init()514 wnodep->bds = kmem_zalloc(sizeof (sbdp_bd_t) * boards, KM_SLEEP); in sbdp_wnode_init()515 wnodep->next = wnodep->prev = NULL; in sbdp_wnode_init()518 sbdp_bd_init(&wnodep->bds[i], i, wnode); in sbdp_wnode_init()525 sbdp_wnode_fini(sbdp_wnode_t *wnodep) in sbdp_wnode_fini() argument533 boards = wnodep->nbds; in sbdp_wnode_fini()536 sbdp_bd_fini(&wnodep->bds[i]); in sbdp_wnode_fini()538 kmem_free(wnodep->bds, sizeof (sbdp_bd_t) * boards); in sbdp_wnode_fini()[all …]
106 sbdp_wnode_t *wnodep; in sbdp_disconnect_cpu() local133 wnodep = sbdp_get_wnodep(wnode); in sbdp_disconnect_cpu()134 bdp = &wnodep->bds[bd]; in sbdp_disconnect_cpu()220 sbdp_wnode_t *wnodep; in sbdp_connect_cpu() local225 wnodep = sbdp_get_wnodep(wnode); in sbdp_connect_cpu()226 bdp = &wnodep->bds[bd]; in sbdp_connect_cpu()