Home
last modified time | relevance | path

Searched refs:afd (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/lib/libc/net/
H A Dgetnameinfo.c116 const struct afd *afd; in getnameinfo() local
122 if (afd == NULL) in getnameinfo()
157 return ((*afd->a_func)(afd, sa, salen, host, hostlen, in getnameinfo()
164 const struct afd *afd; in find_afd() local
168 for (afd = &afdl[0]; afd->a_af > 0; afd++) { in find_afd()
170 return (afd); in find_afd()
176 getnameinfo_inet(const struct afd *afd, in getnameinfo_inet() argument
268 switch(afd->a_af) { in getnameinfo_inet()
291 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); in getnameinfo_inet()
421 getnameinfo_link(const struct afd *afd, in getnameinfo_link() argument
[all …]
H A Dgetaddrinfo.c397 const struct afd *afd; in getaddrinfo() local
523 for (afd = afdl; afd->a_af; afd++) { in getaddrinfo()
662 for (afd = afdl; afd->a_af; afd++) { in getaddrinfo()
1195 const struct afd *afd; in explore_null() local
1221 GET_AI(ai, afd, afd->a_addrany); in explore_null()
1224 GET_AI(ai, afd, afd->a_loopback); in explore_null()
1244 const struct afd *afd; in explore_numeric() local
1338 const struct afd *afd; in explore_numeric_scope()
1585 const struct afd *afd; in find_afd() local
1589 for (afd = afdl; afd->a_af; afd++) { in find_afd()
[all …]
/freebsd/contrib/blocklist/test/
H A Dsrvtest.c62 process_tcp(int afd) in process_tcp() argument
69 if ((n = read(afd, buffer, sizeof(buffer))) == -1) in process_tcp()
74 blacklist_r(b, 1, afd, buffer); in process_tcp()
76 blacklist(1, afd, buffer); in process_tcp()
82 process_udp(int afd) in process_udp() argument
98 blacklist_sa(1, afd, (void *)&ss, slen, buffer); in process_udp()
142 int afd; in handle() local
148 afd = sfd; in handle()
156 process_udp(afd); in handle()
158 process_tcp(afd); in handle()
[all …]
/freebsd/contrib/openbsm/libbsm/
H A Dbsm_wrappers.c73 int error, afd, subj_ex; in audit_submit() local
93 afd = au_open(); in audit_submit()
94 if (afd < 0) { in audit_submit()
152 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit()
156 if (au_write(afd, token) < 0) { in audit_submit()
160 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit()
176 if (au_write(afd, token) < 0) { in audit_submit()
189 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit()
193 if (au_write(afd, token) < 0) { in audit_submit()
197 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit()
[all …]
/freebsd/tests/sys/cddl/zfs/bin/
H A Dmktree.c151 int afd = -1; in crtfile() local
179 if ((afd = openat(fd, "xattr", O_CREAT | O_RDWR | O_XATTR, 0777)) < 0) { in crtfile()
184 if (write(afd, pbuf, 1024) < 1024) { in crtfile()
190 (void) close(afd); in crtfile()
/freebsd/crypto/openssl/test/helpers/
H A Dssltestlib.c910 int afd = -1, cfd = -1, sfd = -1; in create_test_sockets() local
916 afd = socket(AF_INET, SOCK_STREAM, 0); in create_test_sockets()
917 if (afd < 0) in create_test_sockets()
920 if (bind(afd, (struct sockaddr*)&sin, sizeof(sin)) < 0) in create_test_sockets()
923 if (getsockname(afd, (struct sockaddr*)&sin, &slen) < 0) in create_test_sockets()
926 if (listen(afd, 1) < 0) in create_test_sockets()
933 if (set_nb(afd) == -1) in create_test_sockets()
937 sfd = accept(afd, NULL, 0); in create_test_sockets()
960 if (afd != -1) in create_test_sockets()
961 close(afd); in create_test_sockets()
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Dti,ads124s08.yaml10 - Andrew Davis <afd@ti.com>
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Dti,nspire-misc.yaml11 - Andrew Davis <afd@ti.com>
/freebsd/sys/contrib/device-tree/Bindings/leds/
H A Dleds-class-multicolor.yaml10 - Andrew Davis <afd@ti.com>
H A Dleds-lp50xx.yaml10 - Andrew Davis <afd@ti.com>
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A Dbq27xxx.yaml12 - Andrew F. Davis <afd@ti.com>
H A Dbq2515x.yaml11 - Andrew Davis <afd@ti.com>
H A Dbq25980.yaml11 - Andrew Davis <afd@ti.com>
H A Dbq256xx.yaml11 - Andrew Davis <afd@ti.com>
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dtas2562.yaml11 - Andrew Davis <afd@ti.com>
H A Dtlv320adcx140.yaml11 - Andrew Davis <afd@ti.com>
/freebsd/contrib/sendmail/src/
H A Dcollect.c371 int afd; local
894 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0)
901 else if (fsync(afd) < 0)
H A Dconf.c2013 static int afd = -1; in getla() local
2020 if (afd == -1 || lseek(afd, 0L, SEEK_SET) == -1) in getla()
2024 afd = open(_PATH_AVENRUN, O_RDONLY|O_SYNC); in getla()
2025 if (afd < 0) in getla()
2034 r = read(afd, &avenrun, sizeof(avenrun)); in getla()
H A Dmilter.c1750 int afd; local
1766 else if ((afd = sm_io_getinfo(e->e_dfp, SM_IO_WHAT_FD, NULL)) >= 0
1767 && fsync(afd) < 0)
H A Dsrvrsmtp.c4282 int afd; local
4313 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0)
4320 else if (fsync(afd) < 0)
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dti,drv260x.yaml10 - Andrew Davis <afd@ti.com>
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dti,dp83822.yaml11 - Andrew Davis <afd@ti.com>
H A Dti,dp83869.yaml14 - Andrew Davis <afd@ti.com>
H A Dti,dp83867.yaml14 - Andrew Davis <afd@ti.com>
/freebsd/contrib/arm-optimized-routines/pl/math/test/testcases/directed/
H A Dlog10f.tst50 func=log10f op1=3f832a20 result=3c2dc6e9.afd error=0

12