Lines Matching defs:on
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
224 * They do read-ahead and write-behind operations on the block I/O cache.
226 * The pool of up to nfsiod_thread_max threads is launched on demand and exit
229 * Each thread puts an nfsiod on the free list and sleeps on it. When it wakes
231 * it will put the struct at the head of free list and sleep on it.
233 * put it on the work queue, and wake whatever thread is waiting on that struct.
313 * Grab an nfsiod struct to work on, do some work, then drop it
343 * new work that arrives will be serviced on a subsequent
364 /* we're going to stop working on this mount */
372 /* loop if there's still a mount to work on */
563 * From now on we have to make sure not
577 /* disallow write operations on directories */
703 /* drop the iocount file_socket() grabbed on the file descriptor */
709 * nfssvc_addsock() will grab a retain count on the socket
714 /* drop the iocount file_socket() grabbed on the file descriptor */
735 int error = 0, sodomain, sotype, soprotocol, on = 1;
757 sock_setsockopt(so, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on));
759 sock_setsockopt(so, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
824 sock_retain(so); /* grab a retain count on the socket */
858 * managing the work on the sockets:
859 * nfsrv_sockwait - sockets w/new data waiting to be worked on
860 * nfsrv_sockwork - sockets being worked on which may have more work to do
868 * defecting to work on another socket.
870 * nfsds looking for a socket to work on check the "wait" queue first and
872 * When an nfsd starts working on a socket, it removes it from the head of
873 * the queue it's currently on and moves it to the end of the "work" queue.
954 /* look for a socket to work on in the wait queue */
967 /* look for a socket to work on in the work queue */
980 /* we found a socket to work on, grab a reference */
1231 /* drop our reference on the socket */