Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libpri/common/
H A Dpri.c39 static int pri_fd = -1; variable
52 if (pri_fd != -1) in pri_init()
59 pri_fd = fd; in pri_init()
71 if (pri_fd < 0) in pri_fini()
74 (void) close(pri_fd); in pri_fini()
75 pri_fd = -1; in pri_fini()
142 if (pri_fd < 0) { in pri_get()
149 if (ioctl(pri_fd, DSPRI_WAIT, token) < 0) { in pri_get()
156 if (ioctl(pri_fd, DSPRI_GETINFO, &pri_info) < 0) { in pri_get()
174 if (read(pri_fd, bufp, size) < 0) { in pri_get()
[all …]