Home
last modified time | relevance | path

Searched refs:bd_state (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/blkdev/
H A Dblkdev.c229 static void *bd_state; variable
237 rv = ddi_soft_state_init(&bd_state, sizeof (struct bd), 2); in _init()
245 ddi_soft_state_fini(&bd_state); in _init()
258 ddi_soft_state_fini(&bd_state); in _fini()
281 bd = ddi_get_soft_state(bd_state, inst); in bd_getinfo()
493 if (ddi_soft_state_zalloc(bd_state, inst) != DDI_SUCCESS) { in bd_attach()
497 bd = ddi_get_soft_state(bd_state, inst); in bd_attach()
531 ddi_soft_state_free(bd_state, inst); in bd_attach()
609 ddi_soft_state_free(bd_state, inst); in bd_attach()
687 ddi_soft_state_free(bd_state, ddi_get_instance(dip)); in bd_detach()
[all …]
/titanic_41/usr/src/uts/common/io/bpf/
H A Dbpf.c542 if (d->bd_state == BPF_WAITING) in bpfclose()
544 d->bd_state = BPF_IDLE; in bpfclose()
598 if (d->bd_state == BPF_WAITING) in bpfread()
600 timed_out = (d->bd_state == BPF_TIMED_OUT); in bpfread()
601 d->bd_state = BPF_IDLE; in bpfread()
693 if (d->bd_state == BPF_WAITING) { in bpf_timed_out()
694 d->bd_state = BPF_TIMED_OUT; in bpf_timed_out()
840 if (d->bd_state == BPF_WAITING) in bpfioctl()
842 d->bd_state = BPF_IDLE; in bpfioctl()
1419 ((d->bd_immediate || d->bd_state == BPF_TIMED_OUT) && in bpfchpoll()
[all …]
/titanic_41/usr/src/uts/common/io/bpf/net/
H A Dbpfdesc.h143 uchar_t bd_state; /* idle, waiting, or timed out */ member