Home
last modified time | relevance | path

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

/titanic_41/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);
618 lock_acquire(LOCK_T *a_theLock, int *a_fd, char *a_root, char *a_key, in lock_acquire() argument
[all …]
/titanic_41/usr/src/lib/libinstzones/common/
H A Dzones_utils.c149 _z_close_file_descriptors(void *a_fds, int a_fd) in _z_close_file_descriptors() argument
156 if (a_fd == STDIN_FILENO || a_fd == STDOUT_FILENO || in _z_close_file_descriptors()
157 a_fd == STDERR_FILENO) { in _z_close_file_descriptors()
164 (void) close(a_fd); in _z_close_file_descriptors()
175 if (fds[i] == a_fd) { in _z_close_file_descriptors()
182 (void) close(a_fd); in _z_close_file_descriptors()
H A Dinstzones_lib.h308 int _z_close_file_descriptors(void *a_fds, int a_fd);
/titanic_41/usr/src/uts/common/os/
H A Dfio.c464 ASSERT(afd->a_fd[i] == -1); in clear_stale_fd()
465 afd->a_fd[i] = -1; in clear_stale_fd()
478 kmem_free(afd->a_fd, afd->a_nfd * sizeof (afd->a_fd[0])); in free_afd()
482 afd->a_fd = &afd->a_buf[0]; in free_afd()
486 afd->a_fd[i] = -1; in free_afd()
508 if (afd->a_fd[i] == -1) { in set_active_fd()
509 afd->a_fd[i] = fd; in set_active_fd()
519 old_fd = afd->a_fd; in set_active_fd()
521 new_fd = kmem_alloc(new_nfd * sizeof (afd->a_fd[0]), KM_SLEEP); in set_active_fd()
526 afd->a_fd = new_fd; in set_active_fd()
[all …]
/titanic_41/usr/src/lib/libpkg/common/
H A Disdir.c74 int isFdRemote(int a_fd);
264 isFdRemote(int a_fd) in isFdRemote() argument
269 r = fstat(a_fd, &statbuf); in isFdRemote()
H A Dpkglib.h452 extern int isFdRemote(int a_fd);
/titanic_41/usr/src/uts/common/sys/
H A Dthread.h80 int *a_fd; /* pointer to list of fds */ member