Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp.c505 sbdp_wnode_init(sbdp_wnode_t *wnodep, int wnode, int boards) in sbdp_wnode_init() argument
512 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() argument
533 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 …]
H A Dsbdp_cpu.c106 sbdp_wnode_t *wnodep; in sbdp_disconnect_cpu() local
133 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() local
225 wnodep = sbdp_get_wnodep(wnode); in sbdp_connect_cpu()
226 bdp = &wnodep->bds[bd]; in sbdp_connect_cpu()