Lines Matching defs:dg_fd_locks
93 * it. Therfore, we allocate an array of flags (dg_fd_locks), protected
102 static int *dg_fd_locks;
106 dg_fd_locks[fd] = 0; \
114 /* VARIABLES PROTECTED BY clnt_fd_lock: dg_fd_locks, dg_cv */
180 if (dg_fd_locks == (int *) NULL) {
186 dg_fd_locks = (int *) mem_alloc(fd_allocsz);
187 if (dg_fd_locks == (int *) NULL) {
192 memset(dg_fd_locks, '\0', fd_allocsz);
197 mem_free(dg_fd_locks, fd_allocsz);
198 dg_fd_locks = (int *) NULL;
344 while (dg_fd_locks[cu->cu_fd])
350 dg_fd_locks[cu->cu_fd] = rpc_lock_value;
629 while (dg_fd_locks[cu->cu_fd])
657 while (dg_fd_locks[cu->cu_fd])
663 dg_fd_locks[cu->cu_fd] = rpc_lock_value;
799 while (dg_fd_locks[cu_fd])