Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_agents.c43 static list_t agent_events; /* list of pending events */ variable
295 list_insert_tail(&agent_events, event); in zfs_agent_post_event()
362 while (!agent_exiting && list_is_empty(&agent_events)) in zfs_agent_consumer_thread()
372 if ((event = list_remove_head(&agent_events)) != NULL) { in zfs_agent_consumer_thread()
411 list_create(&agent_events, sizeof (agent_event_t), in zfs_agent_init()
416 list_destroy(&agent_events); in zfs_agent_init()
435 while ((event = list_remove_head(&agent_events)) != NULL) { in zfs_agent_fini()
440 list_destroy(&agent_events); in zfs_agent_fini()