Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c624 if ((*a_fd) < 0) { in lock_acquire()
626 if ((*a_fd) < 0) { in lock_acquire()
652 (void) close(*a_fd); in lock_acquire()
653 *a_fd = -1; in lock_acquire()
667 (void) close(*a_fd); in lock_acquire()
668 *a_fd = -1; in lock_acquire()
699 *a_fd = -1; in lock_acquire()
720 *a_fd = -1; in lock_acquire()
746 (void) close(*a_fd); in lock_acquire()
755 if (*a_fd < 0) { in lock_acquire()
[all …]
/illumos-gate/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);
/illumos-gate/usr/src/uts/common/os/
H A Dfio.c467 afd->a_fd[i] = -1; in clear_stale_fd()
480 kmem_free(afd->a_fd, afd->a_nfd * sizeof (afd->a_fd[0])); in free_afd()
488 afd->a_fd[i] = -1; in free_afd()
510 if (afd->a_fd[i] == -1) { in set_active_fd()
511 afd->a_fd[i] = fd; in set_active_fd()
521 old_fd = afd->a_fd; in set_active_fd()
528 afd->a_fd = new_fd; in set_active_fd()
531 afd->a_fd[i] = old_fd[i]; in set_active_fd()
532 afd->a_fd[i] = fd; in set_active_fd()
548 if (afd->a_fd[i] == fd) { in clear_active_fd()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Disdir.c75 int isFdRemote(int a_fd);
265 isFdRemote(int a_fd) in isFdRemote() argument
270 r = fstat(a_fd, &statbuf); in isFdRemote()
H A Dpkglib.h427 extern int isFdRemote(int a_fd);
/illumos-gate/usr/src/uts/common/sys/
H A Dthread.h87 int *a_fd; /* pointer to list of fds */ member