Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf.c549 if (d->bd_state == BPF_WAITING) in bpfclose()
551 d->bd_state = BPF_IDLE; in bpfclose()
605 if (d->bd_state == BPF_WAITING) in bpfread()
607 timed_out = (d->bd_state == BPF_TIMED_OUT); in bpfread()
608 d->bd_state = BPF_IDLE; in bpfread()
699 if (d->bd_state == BPF_WAITING) { in bpf_timed_out()
700 d->bd_state = BPF_TIMED_OUT; in bpf_timed_out()
846 if (d->bd_state == BPF_WAITING) in bpfioctl()
848 d->bd_state = BPF_IDLE; in bpfioctl()
1426 ((d->bd_immediate || d->bd_state == BPF_TIMED_OUT) && in bpfchpoll()
[all …]
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c343 static void *bd_state; variable
354 rv = ddi_soft_state_init(&bd_state, sizeof (struct bd), 2); in _init()
363 ddi_soft_state_fini(&bd_state); in _init()
373 ddi_soft_state_fini(&bd_state); in _init()
387 ddi_soft_state_fini(&bd_state); in _fini()
410 bd = ddi_get_soft_state(bd_state, inst); in bd_getinfo()
678 if (ddi_soft_state_zalloc(bd_state, inst) != DDI_SUCCESS) { in bd_attach()
682 bd = ddi_get_soft_state(bd_state, inst); in bd_attach()
716 ddi_soft_state_free(bd_state, inst); in bd_attach()
908 ddi_soft_state_free(bd_state, inst); in bd_attach()
[all …]
/illumos-gate/usr/src/uts/common/io/bpf/net/
H A Dbpfdesc.h143 uchar_t bd_state; /* idle, waiting, or timed out */ member