Home
last modified time | relevance | path

Searched refs:port_control (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dport_subr.c54 port_control_t port_control; /* Event port framework main structure */ variable
261 pkevp = kmem_cache_alloc(port_control.pc_cache, KM_NOSLEEP); in port_alloc_event()
275 kmem_cache_free(port_control.pc_cache, pkevp); in port_alloc_event()
322 pkevp = kmem_cache_alloc(port_control.pc_cache, KM_NOSLEEP); in port_alloc_event_local()
329 kmem_cache_free(port_control.pc_cache, pkevp); in port_alloc_event_local()
357 kmem_cache_alloc(port_control.pc_cache, KM_SLEEP); in port_alloc_event_block()
364 kmem_cache_free(port_control.pc_cache, pkevp); in port_alloc_event_block()
498 kmem_cache_free(port_control.pc_cache, pkevp); in port_free_event_local()
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport.c508 mutex_init(&port_control.pc_mutex, NULL, MUTEX_DEFAULT, NULL); in _init()
509 port_control.pc_nents = 0; /* number of active ports */ in _init()
512 port_control.pc_cache = kmem_cache_create("port_cache", in _init()
742 mutex_enter(&port_control.pc_mutex); in port_create()
749 port_control.pc_nents + 1, RCA_SAFE) & RCT_DENY) { in port_create()
753 mutex_exit(&port_control.pc_mutex); in port_create()
772 mutex_exit(&port_control.pc_mutex); in port_create()
779 port_control.pc_nents++; in port_create()
782 mutex_exit(&port_control.pc_mutex); in port_create()
H A Dport_vnops.c350 mutex_enter(&port_control.pc_mutex); in port_inactive()
351 port_control.pc_nents--; in port_inactive()
354 mutex_exit(&port_control.pc_mutex); in port_inactive()
/illumos-gate/usr/src/uts/common/sys/
H A Dport_impl.h155 typedef struct port_control { struct
180 extern port_control_t port_control; argument
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_api.h364 uint8_t port_control; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c6211 lfa.payload[4] = els.port_control; in ql_els_lpc()