Searched refs:a_fd (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | lock.c | 181 static FINDLOCK_T lock_acquire(LOCK_T *a_lock, int *a_fd, char *a_root, 185 static int lock_release(int a_fd, char *a_key, char *a_object, 187 static int lock_status(int a_fd, char *a_key, char *a_object, 194 int a_fd, char *a_object, char *a_key); 195 static int _decrementLockCount(int a_fd, LOCK_T *a_theLock); 196 static int _addLock(char *r_key, int a_fd, char *a_object, 198 static int _incrementLockCount(int a_fd, LOCK_T *a_theLock); 199 static FINDLOCK_T _lock_acquire(LOCK_T *a_lock, int a_fd, char *a_key, 206 static boolean_t _validateLock(int a_fd, LOCK_T *a_theLock, int a_quiet); 609 lock_acquire(LOCK_T *a_theLock, int *a_fd, char *a_root, char *a_key, in lock_acquire() argument [all …]
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_utils.c | 149 _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 D | instzones_lib.h | 308 int _z_close_file_descriptors(void *a_fds, int a_fd);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fio.c | 468 ASSERT(afd->a_fd[i] == -1); in clear_stale_fd() 469 afd->a_fd[i] = -1; in clear_stale_fd() 482 kmem_free(afd->a_fd, afd->a_nfd * sizeof (afd->a_fd[0])); in free_afd() 486 afd->a_fd = &afd->a_buf[0]; in free_afd() 490 afd->a_fd[i] = -1; in free_afd() 512 if (afd->a_fd[i] == -1) { in set_active_fd() 513 afd->a_fd[i] = fd; in set_active_fd() 523 old_fd = afd->a_fd; in set_active_fd() 525 new_fd = kmem_alloc(new_nfd * sizeof (afd->a_fd[0]), KM_SLEEP); in set_active_fd() 530 afd->a_fd = new_fd; in set_active_fd() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | isdir.c | 75 int isFdRemote(int a_fd); 265 isFdRemote(int a_fd) in isFdRemote() argument 270 r = fstat(a_fd, &statbuf); in isFdRemote()
|
H A D | pkglib.h | 427 extern int isFdRemote(int a_fd);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | thread.h | 87 int *a_fd; /* pointer to list of fds */ member
|