/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 738 const struct afd *afd; local 752 GET_AI(cur->ai_next, afd, afd->a_addrany); 758 GET_AI(cur->ai_next, afd, afd->a_loopback); 785 const struct afd *afd; local 851 const struct afd *afd; 921 const struct afd *afd; 941 memcpy(p + afd->a_off, addr, (size_t)afd->a_addrlen); 1074 const struct afd *afd; local 1078 for (afd = afdl; afd->a_af; afd++) { 1164 const struct afd *afd; local [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,
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fio.c | 467 afd->a_fd[i] = -1; in clear_stale_fd() 469 afd->a_stale = 0; in clear_stale_fd() 478 if (afd->a_nfd > sizeof (afd->a_buf) / sizeof (afd->a_buf[0])) { in free_afd() 480 kmem_free(afd->a_fd, afd->a_nfd * sizeof (afd->a_fd[0])); in free_afd() 484 afd->a_fd = &afd->a_buf[0]; in free_afd() 485 afd->a_nfd = sizeof (afd->a_buf) / sizeof (afd->a_buf[0]); in free_afd() 486 afd->a_stale = 0; in free_afd() 488 afd->a_fd[i] = -1; in free_afd() 504 free_afd(afd); in set_active_fd() 532 afd->a_fd[i] = fd; in set_active_fd() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mktree/ |
H A D | mktree.c | 155 int afd = -1; in crtfile() local 185 if ((afd = openat(fd, "xattr", O_CREAT | O_RDWR | O_XATTR, 0777)) < 0) { in crtfile() 191 if (write(afd, pbuf, 1024) < 1024) { in crtfile() 198 (void) close(afd); in crtfile()
|
/illumos-gate/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()
|
/illumos-gate/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 | 151 if ((cmd_info->afd = fd = open(arnam, O_RDONLY)) == -1) { in getaf() 316 int fd = cmd_info->afd; in getfile() 1330 (void) close(cmd_info->afd); in writefile()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | file.h | 227 extern void free_afd(afd_t *afd);
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_quota.c | 1130 int newfd, dirfd, afd; in smb_quota_add_ctrldir() local 1202 afd = attropen(file, SMB_QUOTA_CNTRL_INDEX_XATTR, O_RDWR | O_CREAT, in smb_quota_add_ctrldir() 1204 if (afd == -1) { in smb_quota_add_ctrldir() 1210 (void) close(afd); in smb_quota_add_ctrldir()
|
/illumos-gate/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 | 1936 static int afd = -1; in getla() local 1943 if (afd == -1 || lseek(afd, 0L, SEEK_SET) == -1) in getla() 1947 afd = open(_PATH_AVENRUN, O_RDONLY|O_SYNC); in getla() 1948 if (afd < 0) in getla() 1957 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)
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 7589 FILE *afd; in read_driver_aliases_file() local 7624 if ((afd = fopen(ALIASFILE, "r")) == NULL) { in read_driver_aliases_file() 7630 while (fgets(line, sizeof (line), afd) != NULL) { in read_driver_aliases_file() 7671 if (fclose(afd) == EOF) { in read_driver_aliases_file()
|
/illumos-gate/usr/src/data/hwdata/ |
H A D | usb.ids | 13334 0afd Tateno Dennou, Inc.
|
H A D | pci.ids | 35557 7afd Alder Lake-S PCH Serial IO I2C Controller #5
|