Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/dma/
H A Dspool.c126 int queuefd; in writequeuef() local
128 queuefd = open_locked(it->queuefn, O_CREAT|O_EXCL|O_RDWR, 0660); in writequeuef()
129 if (queuefd == -1) in writequeuef()
131 if (fchmod(queuefd, 0660) < 0) in writequeuef()
133 it->queuef = fdopen(queuefd, "w+"); in writequeuef()
359 int queuefd; in acquirespool() local
362 queuefd = open_locked(it->queuefn, O_RDWR|O_NONBLOCK); in acquirespool()
363 if (queuefd < 0) in acquirespool()
365 it->queuef = fdopen(queuefd, "r+"); in acquirespool()