• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/nfs/

Lines Matching refs:on

19  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
198 * They do read-ahead and write-behind operations on the block I/O cache.
200 * The pool of up to nfsiod_thread_max threads is launched on demand and exit
203 * Each thread puts an nfsiod on the free list and sleeps on it. When it wakes
205 * it will put the struct at the head of free list and sleep on it.
207 * put it on the work queue, and wake whatever thread is waiting on that struct.
283 * Grab an nfsiod struct to work on, do some work, then drop it
315 * new work that arrives will be serviced on a subsequent
336 /* we're going to stop working on this mount */
344 /* loop if there's still a mount to work on */
529 * From now on we have to make sure not
543 /* disallow write operations on directories */
670 /* drop the iocount file_socket() grabbed on the file descriptor */
676 * nfssvc_addsock() will grab a retain count on the socket
681 /* drop the iocount file_socket() grabbed on the file descriptor */
702 int error = 0, sodomain, sotype, soprotocol, on = 1;
719 sock_setsockopt(so, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on));
721 sock_setsockopt(so, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
773 sock_retain(so); /* grab a retain count on the socket */
785 sock_setsockopt(so, SOL_SOCKET, SO_UPCALLCLOSEWAIT, &on, sizeof(on));
813 * managing the work on the sockets:
814 * nfsrv_sockwait - sockets w/new data waiting to be worked on
815 * nfsrv_sockwork - sockets being worked on which may have more work to do
823 * defecting to work on another socket.
825 * nfsds looking for a socket to work on check the "wait" queue first and
827 * When an nfsd starts working on a socket, it removes it from the head of
828 * the queue it's currently on and moves it to the end of the "work" queue.
901 /* look for a socket to work on in the wait queue */
914 /* look for a socket to work on in the work queue */
927 /* we found a socket to work on, grab a reference */
1176 /* drop our reference on the socket */