Searched refs:a_fd (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c180 static FINDLOCK_T lock_acquire(LOCK_T *a_lock, int *a_fd, char *a_root,
184 static int lock_release(int a_fd, char *a_key, char *a_object,
186 static int lock_status(int a_fd, char *a_key, char *a_object,
193 int a_fd, char *a_object, char *a_key);
194 static int _decrementLockCount(int a_fd, LOCK_T *a_theLock);
195 static int _addLock(char *r_key, int a_fd, char *a_object,
197 static int _incrementLockCount(int a_fd, LOCK_T *a_theLock);
198 static FINDLOCK_T _lock_acquire(LOCK_T *a_lock, int a_fd, char *a_key,
205 static boolean_t _validateLock(int a_fd, LOCK_T *a_theLock, int a_quiet);
598 * a_fd
618 lock_acquire(LOCK_T *a_theLock, int *a_fd, char *a_root, char *a_key, char *a_object, int a_quiet, int a_wait, long a_timeout, int a_exclusive, char *a_altRoot, pid_t a_pid, zoneid_t a_zid) argument
794 lock_release(int a_fd, char *a_key, char *a_object, int a_quiet) argument
895 lock_status(int a_fd, char *a_key, char *a_object, int a_quiet) argument
995 _lock_acquire(LOCK_T *a_theLock, int a_fd, char *a_key, char *a_object, int a_quiet, int a_exclusive, pid_t a_pid, zoneid_t a_zid) argument
1620 _findLock(LOCK_T *a_theLock, RECORDNUM_T *r_recordNum, int a_fd, char *a_object, char *a_key) argument
1732 _addLock(char *r_key, int a_fd, char *a_object, int a_exclusive, pid_t a_pid, zoneid_t a_zid) argument
1794 _incrementLockCount(int a_fd, LOCK_T *a_theLock) argument
1851 _validateLock(int a_fd, LOCK_T *a_theLock, int a_quiet) argument
1906 _decrementLockCount(int a_fd, LOCK_T *a_theLock) argument
[all...]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_utils.c34 * _z_close_file_descriptors - close a file descriptor "a_fd" not in the
136 * Description: close a file descriptor "a_fd" not in the list "a_fds"
142 * a_fd - [RO, *RO] - (int)
149 _z_close_file_descriptors(void *a_fds, int a_fd) argument
156 if (a_fd == STDIN_FILENO || a_fd == STDOUT_FILENO ||
157 a_fd == STDERR_FILENO) {
164 (void) close(a_fd);
175 if (fds[i] == a_fd) {
182 (void) close(a_fd);
[all...]
H A Dinstzones_lib.h308 int _z_close_file_descriptors(void *a_fds, int a_fd);
/illumos-gate/usr/src/lib/libpkg/common/
H A Disdir.c75 int isFdRemote(int a_fd);
256 * Arguments: a_fd - [RO, *RO] - (int)
265 isFdRemote(int a_fd) argument
270 r = fstat(a_fd, &statbuf);
H A Dpkglib.h452 extern int isFdRemote(int a_fd);
/illumos-gate/usr/src/uts/common/os/
H A Dfio.c465 ASSERT(afd->a_fd[i] == -1);
466 afd->a_fd[i] = -1;
479 kmem_free(afd->a_fd, afd->a_nfd * sizeof (afd->a_fd[0]));
483 afd->a_fd = &afd->a_buf[0];
487 afd->a_fd[i] = -1;
509 if (afd->a_fd[i] == -1) {
510 afd->a_fd[i] = fd;
516 * Reallocate the a_fd[] array to add one more slot.
520 old_fd = afd->a_fd;
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dthread.h75 * Each member of a_fd[] not equalling -1 represents an active fd.
79 kmutex_t a_fdlock; /* protects a_fd and a_nfd */
80 int *a_fd; /* pointer to list of fds */ member in struct:__anon190
81 int a_nfd; /* number of entries in *a_fd */
83 int a_buf[2]; /* buffer to which a_fd initially refers */

Completed in 110 milliseconds