Home
last modified time | relevance | path

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

/dragonfly/contrib/lvm2/dist/daemons/dmeventd/
HDlibdevmapper-event.c404 if (stat(fifos->client_path, &statbuf)) in _start_daemon()
408 log_error("%s is not a fifo.", fifos->client_path); in _start_daemon()
413 fifos->client = open(fifos->client_path, O_WRONLY | O_NONBLOCK); in _start_daemon()
423 __func__, fifos->client_path, strerror(errno)); in _start_daemon()
465 fifos->client_path = DM_EVENT_FIFO_CLIENT; in _init_client()
489 if ((fifos->client = open(fifos->client_path, O_RDWR | O_NONBLOCK)) < 0) { in _init_client()
491 __func__, fifos->client_path, strerror(errno)); in _init_client()
HDdmeventd.h55 const char *client_path; member
HDdmeventd.c1205 fifos->client_path = DM_EVENT_FIFO_CLIENT; in _init_fifos()
1213 if (((mkfifo(fifos->client_path, 0600) == -1) && errno != EEXIST) || in _open_fifos()
1223 if ((!stat(fifos->client_path, &st)) && (st.st_mode & 0777) != 0600) in _open_fifos()
1225 fifos->client_path); in _open_fifos()
1232 if (chmod(fifos->client_path, 0600)) { in _open_fifos()
1234 fifos->client_path); in _open_fifos()
1251 if ((fifos->client = open(fifos->client_path, O_RDWR)) < 0) { in _open_fifos()