Searched refs:afd (Results 1 - 13 of 13) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c128 static const struct afd { struct
188 const struct afd *, const char *));
192 static const struct afd *find_afd __P((int));
225 #define GET_AI(ai, afd, addr) \
228 (ai) = get_ai(pai, (afd), (addr)); \
738 const struct afd *afd; local
747 afd = find_afd(pai->ai_family);
748 if (afd == NULL)
752 GET_AI(cur->ai_next, afd, af
785 const struct afd *afd; local
1074 const struct afd *afd; local
1164 const struct afd *afd; local
1223 const struct afd *afd; local
[all...]
H A Dgetnameinfo.c71 static struct afd { struct
109 struct afd *afd; local
134 afd = &afdl[i];
140 if (salen != afd->a_socklen) return EAI_FAIL;
143 addr = (const char *)sa + afd->a_off;
198 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af);
212 switch(afd->a_af) {
225 if (inet_ntop(afd
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dfio.c456 afd_t *afd = &curthread->t_activefd; local
460 for (i = 0; i < afd->a_nfd; i++) {
462 ASSERT(afd->a_fd[i] == -1);
463 afd->a_fd[i] = -1;
465 afd->a_stale = 0;
469 free_afd(afd_t *afd) /* called below and from thread_free() */ argument
474 if (afd->a_nfd > sizeof (afd->a_buf) / sizeof (afd->a_buf[0])) {
476 kmem_free(afd
490 afd_t *afd = &curthread->t_activefd; local
540 afd_t *afd = &curthread->t_activefd; local
558 afd_t *afd = &t->t_activefd; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/ar/common/
H A Dinc.h96 int afd; /* fd for the archive file */ member in struct:cmd_info
H A Dfile.c150 if ((cmd_info->afd = fd = open(arnam, O_RDONLY)) == -1) {
311 int fd = cmd_info->afd;
1301 (void) close(cmd_info->afd);
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dfile.h204 extern void free_afd(afd_t *afd);
/opensolaris-onvv-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c643 int afd = 0; local
723 afd = attropen(fnamep, dtp->d_name, O_RDONLY);
724 if (afd == -1) {
731 (void) output_xattr_header(fullname, dtp->d_name, afd,
790 if ((actual_size = read(afd, buf, read_size)) < 0)
815 (void) close(afd);
816 afd = -1;
823 if (afd > 0)
824 (void) close(afd);
/opensolaris-onvv-gate/usr/src/cmd/sendmail/src/
H A Dcollect.c299 int afd; local
767 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0)
774 else if (fsync(afd) < 0)
H A Dconf.c1935 static int afd = -1; local
1942 if (afd == -1 || lseek(afd, 0L, SEEK_SET) == -1)
1946 afd = open(_PATH_AVENRUN, O_RDONLY|O_SYNC);
1947 if (afd < 0)
1956 r = read(afd, &avenrun, sizeof(avenrun));
H A Dmilter.c1774 int afd; local
1790 else if ((afd = sm_io_getinfo(e->e_dfp, SM_IO_WHAT_FD, NULL)) >= 0
1791 && fsync(afd) < 0)
H A Dsrvrsmtp.c3580 int afd; local
3611 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0)
3618 else if (fsync(afd) < 0)
/opensolaris-onvv-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_quota.c1124 int newfd, dirfd, afd; local
1163 afd = attropen(file, SMB_QUOTA_CNTRL_INDEX_XATTR, O_RDWR | O_CREAT,
1165 if (afd == -1) {
1170 (void) close(afd);
/opensolaris-onvv-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c7575 FILE *afd; local
7610 if ((afd = fopen(ALIASFILE, "r")) == NULL) {
7616 while (fgets(line, sizeof (line), afd) != NULL) {
7657 if (fclose(afd) == EOF) {

Completed in 277 milliseconds