Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/cmd/zed/
H A Dzed_conf.c85 if (zcp->state_fd >= 0) { in zed_conf_destroy()
86 if (close(zcp->state_fd) < 0) in zed_conf_destroy()
90 zcp->state_fd = -1; in zed_conf_destroy()
587 if (zcp->state_fd >= 0) { in zed_conf_open_state()
588 if (close(zcp->state_fd) < 0) { in zed_conf_open_state()
598 zcp->state_fd = open(zcp->state_file, in zed_conf_open_state()
600 if (zcp->state_fd < 0) { in zed_conf_open_state()
605 rv = zed_file_lock(zcp->state_fd); in zed_conf_open_state()
664 n = readv(zcp->state_fd, iov, 3); in zed_conf_read_state()
714 n = writev(zcp->state_fd, iov, 3); in zed_conf_write_state()
[all …]
H A Dzed_conf.h38 int state_fd; /* fd to state file */ member