/freebsd-11-stable/usr.sbin/apm/ |
H A D | apm.c | 130 apm_getinfo(int fd, apm_info_t aip) argument 132 if (ioctl(fd, APMIO_GETINFO, aip) == -1) 193 print_all_info(int fd, apm_info_t aip, int bioscall_available) argument 199 printf("APM version: %d.%d\n", aip->ai_major, aip->ai_minor); 200 printf("APM Management: %s\n", aip->ai_status ? "Enabled" : "Disabled"); 202 if (aip->ai_acline == APM_UNKNOWN) 204 else if (aip->ai_acline > 2) 205 printf("invalid value (0x%x)\n", aip->ai_acline); 207 printf("%s\n", line_msg[aip [all...] |
/freebsd-11-stable/sys/x86/acpica/ |
H A D | acpi_apm.c | 133 acpi_capm_get_info(apm_info_t aip) argument 138 aip->ai_infoversion = 1; 139 aip->ai_major = 1; 140 aip->ai_minor = 2; 141 aip->ai_status = apm_active; 142 aip->ai_capabilities= 0xff00; /* unknown */ 145 aip->ai_acline = APM_UNKNOWN; /* unknown */ 147 aip->ai_acline = acline; /* on/off */ 150 aip->ai_batt_stat = APM_UNKNOWN; 151 aip [all...] |
/freebsd-11-stable/contrib/ipfilter/iplang/ |
H A D | iplang_y.y | 641 aniphdr_t *aip, *oip = canip; 644 aip = (aniphdr_t *)calloc(1, sizeof(*aip)); 645 *aniptail = aip; 646 aniptail = &aip->ah_next; 647 aip->ah_p = type; 648 aip->ah_prev = oip; 649 canip = aip; 668 for (aip = aniphead; aip; ai [all...] |
/freebsd-11-stable/usr.sbin/nfscbd/ |
H A D | nfscbd.c | 108 struct addrinfo *aip, hints; local 132 error = getaddrinfo(myname, NULL, &hints, &aip); 134 if (aip->ai_canonname != NULL && 135 (cp = strchr(aip->ai_canonname, '.')) != NULL 137 cp = aip->ai_canonname; 140 freeaddrinfo(aip); 188 freeaddrinfo(aip);
|
/freebsd-11-stable/tools/regression/netinet/ipmulticast/ |
H A D | ipmulticast.c | 364 struct addrinfo *aip; local 445 aip = NULL; 446 error = getaddrinfo(basegroup_str, NULL, &aih, &aip); 452 memcpy(&basegroup, aip->ai_addr, aip->ai_addrlen); 457 freeaddrinfo(aip); 473 aip = NULL; 474 error = getaddrinfo(ifaddr_str, NULL, &aih, &aip); 480 memcpy(&ifaddr, aip->ai_addr, aip [all...] |
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | ssl_asn1.c | 386 ASN1_INTEGER ai, *aip; local 390 aip = &ai; 398 M_ASN1_D2I_get_x(ASN1_INTEGER, aip, d2i_ASN1_INTEGER); 406 M_ASN1_D2I_get_x(ASN1_INTEGER, aip, d2i_ASN1_INTEGER); 407 ssl_version = (int)ASN1_INTEGER_get(aip); 497 M_ASN1_D2I_get_EXP_opt(aip, d2i_ASN1_INTEGER, 1); 499 ret->time = ASN1_INTEGER_get(aip); 507 M_ASN1_D2I_get_EXP_opt(aip, d2i_ASN1_INTEGER, 2); 509 ret->timeout = ASN1_INTEGER_get(aip); 545 M_ASN1_D2I_get_EXP_opt(aip, d2i_ASN1_INTEGE [all...] |
/freebsd-11-stable/sbin/umount/ |
H A D | umount.c | 567 struct addrinfo *aip; local 573 aip = nfshost_ai; 574 while (aip != NULL) { 575 if (sacmp(ai->ai_addr, aip->ai_addr) == 0) 577 aip = aip->ai_next;
|
/freebsd-11-stable/sys/i386/bios/ |
H A D | apm.c | 659 apm_get_info(apm_info_t aip) argument 669 aip->ai_infoversion = 1; 670 aip->ai_acline = aps.ap_acline; 671 aip->ai_batt_stat = aps.ap_batt_stat; 672 aip->ai_batt_life = aps.ap_batt_life; 673 aip->ai_batt_time = aps.ap_batt_time; 674 aip->ai_major = (u_int)sc->majorversion; 675 aip->ai_minor = (u_int)sc->minorversion; 676 aip->ai_status = (u_int)sc->active; 683 aip [all...] |
/freebsd-11-stable/sys/security/audit/ |
H A D | audit_pipe.c | 695 struct auditpipe_ioctl_preselect *aip; local 810 aip = (struct auditpipe_ioctl_preselect *)data; 811 error = audit_pipe_preselect_get(ap, aip->aip_auid, 812 &aip->aip_mask); 816 aip = (struct auditpipe_ioctl_preselect *)data; 817 audit_pipe_preselect_set(ap, aip->aip_auid, aip->aip_mask);
|
/freebsd-11-stable/sys/ufs/ffs/ |
H A D | ffs_softdep.c | 5782 struct allocindir *aip; local 5797 aip = (struct allocindir *)newblk; 5798 aip->ai_offset = ptrno; 5799 aip->ai_oldblkno = oldblkno; 5800 aip->ai_lbn = lbn; 5809 return (aip); 5828 struct allocindir *aip; local 5844 aip = newallocindir(ip, ptrno, newblkno, oldblkno, lbn); 5853 WORKLIST_INSERT(&nbp->b_dep, &aip->ai_block.nb_list); 5854 freefrag = setup_allocindir_phase2(bp, ip, inodedep, aip, lb 5873 struct allocindir *aip; local 5897 struct allocindir *aip; local 6185 struct allocindir *aip, *aipn; local 7889 struct allocindir *aip; local 10558 struct allocindir *aip; local 11658 struct allocindir *aip; local 12672 struct allocindir *aip; local 13963 struct allocindir *aip; local [all...] |
/freebsd-11-stable/usr.sbin/nfsd/ |
H A D | nfsd.c | 966 struct addrinfo *aip, hints; local 976 error = getaddrinfo(hostname, NULL, &hints, &aip); 978 if (aip->ai_canonname != NULL && 979 (cp = strchr(aip->ai_canonname, '.')) != 982 "nfs@%s", aip->ai_canonname); 983 freeaddrinfo(aip);
|
/freebsd-11-stable/usr.sbin/nfsuserd/ |
H A D | nfsuserd.c | 120 struct addrinfo *aip, hints; local 150 error = getaddrinfo(hostname, NULL, &hints, &aip); 152 if (aip->ai_canonname != NULL && 153 (cp = strchr(aip->ai_canonname, '.')) != NULL 158 freeaddrinfo(aip); 441 freeaddrinfo(aip);
|
/freebsd-11-stable/contrib/telnet/telnet/ |
H A D | commands.c | 2158 switch_af(struct addrinfo **aip) 2163 ai = *aip; 2168 *aip = ai; 2169 if (*aip != NULL) { 2150 switch_af(struct addrinfo **aip) argument
|
/freebsd-11-stable/lib/libc/net/ |
H A D | getaddrinfo.c | 677 struct addrinfo *ai, **aip; local 717 for (i = 0, aip = &sentinel->ai_next; i < n; i++) { 718 *aip = aio[i].aio_ai; 719 aip = &aio[i].aio_ai->ai_next; 721 *aip = NULL;
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_ptrace_wait.c | 2427 AuxInfo ai[100], *aip; local 2461 for (aip = ai; aip->a_type != AT_NULL; aip++) 2463 (long long int)aip->a_type, (long long int)aip->a_v);
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_pcb.c | 6370 *aip; local 6374 aip = (struct sctp_adaptation_layer_indication *)phdr; 6375 if (aip) { 6376 stcb->asoc.peers_adaptation = ntohl(aip->indication);
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-pcieepx-defs.h | 3289 uint32_t aip : 1; /**< Attention Indicator Present, writable through PEM(0..1)_CFG_WR member in struct:cvmx_pcieepx_cfg033::cvmx_pcieepx_cfg033_s 3301 uint32_t aip : 1;
|
H A D | cvmx-pciercx-defs.h | 2832 uint32_t aip : 1; /**< Attention Indicator Present, writable through PEM(0..1)_CFG_WR member in struct:cvmx_pciercx_cfg033::cvmx_pciercx_cfg033_s 2844 uint32_t aip : 1;
|