/titanic_44/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 128 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) \ argument 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, afd->a_addrany); 758 GET_AI(cur->ai_next, afd, afd->a_loopback); [all …]
|
H A D | getnameinfo.c | 71 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->a_af, addr, numaddr,
|
/titanic_44/usr/src/uts/common/os/ |
H A D | fio.c | 458 afd_t *afd = &curthread->t_activefd; in clear_stale_fd() local 462 for (i = 0; i < afd->a_nfd; i++) { in clear_stale_fd() 464 ASSERT(afd->a_fd[i] == -1); in clear_stale_fd() 465 afd->a_fd[i] = -1; in clear_stale_fd() 467 afd->a_stale = 0; in clear_stale_fd() 471 free_afd(afd_t *afd) /* called below and from thread_free() */ in free_afd() argument 476 if (afd->a_nfd > sizeof (afd->a_buf) / sizeof (afd->a_buf[0])) { in free_afd() 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() 483 afd->a_nfd = sizeof (afd->a_buf) / sizeof (afd->a_buf[0]); in free_afd() [all …]
|
/titanic_44/usr/src/test/zfs-tests/cmd/mktree/ |
H A D | mktree.c | 150 int afd = -1; in crtfile() local 177 if ((afd = openat(fd, "xattr", O_CREAT | O_RDWR | O_XATTR, 0777)) < 0) { in crtfile() 182 if (write(afd, pbuf, 1024) < 1024) { in crtfile() 188 (void) close(afd); in crtfile()
|
/titanic_44/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 644 int afd = 0; in tlm_output_xattr() local 724 afd = attropen(fnamep, dtp->d_name, O_RDONLY); in tlm_output_xattr() 725 if (afd == -1) { in tlm_output_xattr() 732 (void) output_xattr_header(fullname, dtp->d_name, afd, in tlm_output_xattr() 791 if ((actual_size = read(afd, buf, read_size)) < 0) in tlm_output_xattr() 816 (void) close(afd); in tlm_output_xattr() 817 afd = -1; in tlm_output_xattr() 824 if (afd > 0) in tlm_output_xattr() 825 (void) close(afd); in tlm_output_xattr()
|
/titanic_44/usr/src/cmd/sgs/ar/common/ |
H A D | inc.h | 96 int afd; /* fd for the archive file */ member
|
H A D | file.c | 150 if ((cmd_info->afd = fd = open(arnam, O_RDONLY)) == -1) { in getaf() 315 int fd = cmd_info->afd; in getfile() 1328 (void) close(cmd_info->afd); in writefile()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | file.h | 208 extern void free_afd(afd_t *afd);
|
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_quota.c | 1124 int newfd, dirfd, afd; in smb_quota_add_ctrldir() local 1163 afd = attropen(file, SMB_QUOTA_CNTRL_INDEX_XATTR, O_RDWR | O_CREAT, in smb_quota_add_ctrldir() 1165 if (afd == -1) { in smb_quota_add_ctrldir() 1170 (void) close(afd); in smb_quota_add_ctrldir()
|
/titanic_44/usr/src/cmd/sendmail/src/ |
H A D | collect.c | 299 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 D | conf.c | 1935 static int afd = -1; in getla() local 1942 if (afd == -1 || lseek(afd, 0L, SEEK_SET) == -1) in getla() 1946 afd = open(_PATH_AVENRUN, O_RDONLY|O_SYNC); in getla() 1947 if (afd < 0) in getla() 1956 r = read(afd, &avenrun, sizeof(avenrun)); in getla()
|
H A D | milter.c | 1774 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 D | srvrsmtp.c | 3580 int afd; local 3611 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0) 3618 else if (fsync(afd) < 0)
|
/titanic_44/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 7575 FILE *afd; in read_driver_aliases_file() local 7610 if ((afd = fopen(ALIASFILE, "r")) == NULL) { in read_driver_aliases_file() 7616 while (fgets(line, sizeof (line), afd) != NULL) { in read_driver_aliases_file() 7657 if (fclose(afd) == EOF) { in read_driver_aliases_file()
|
/titanic_44/usr/src/data/hwdata/ |
H A D | usb.ids | 12278 0afd Tateno Dennou, Inc.
|