Home
last modified time | relevance | path

Searched refs:astate (Results 1 – 6 of 6) sorted by relevance

/external/syslinux/gpxe/src/arch/i386/core/
Daout_loader.c22 static struct aout_state astate; variable
28 if (len < sizeof(astate.head)) { in aout_probe()
31 memcpy(&astate.head, data, sizeof(astate.head)); in aout_probe()
32 if ((astate.head.a_midmag & 0xffff) != 0x010BL) { in aout_probe()
40 start = astate.head.a_entry; in aout_probe()
41 mid = (((start + astate.head.a_text) + 4095) & ~4095) + astate.head.a_data; in aout_probe()
42 end = ((mid + 4095) & ~4095) + astate.head.a_bss; in aout_probe()
47 astate.segment = -1; in aout_probe()
48 astate.loc = 0; in aout_probe()
49 astate.skip = 0; in aout_probe()
[all …]
Dfreebsd_loader.c350 if (((astate.head.a_midmag >> 16) & 0xffff) == 0) { in aout_freebsd_probe()
356 off = -(astate.head.a_entry & 0xff000000); in aout_freebsd_probe()
357 astate.head.a_entry += off; in aout_freebsd_probe()
372 xstart32(astate.head.a_entry, freebsd_howto, NODEV, 0, 0, 0, in aout_freebsd_boot()
/external/dhcpcd-6.8.2/
Darp.c103 arp_report_conflicted(const struct arp_state *astate, const struct arp_msg *amsg) in arp_report_conflicted() argument
109 logger(astate->iface->ctx, LOG_ERR, in arp_report_conflicted()
111 astate->iface->name, in arp_report_conflicted()
112 hwaddr_ntoa(amsg->sha, astate->iface->hwlen, in arp_report_conflicted()
114 inet_ntoa(astate->failed)); in arp_report_conflicted()
116 logger(astate->iface->ctx, LOG_ERR, in arp_report_conflicted()
118 astate->iface->name, inet_ntoa(astate->failed)); in arp_report_conflicted()
131 struct arp_state *astate, *astaten; in arp_packet() local
185 TAILQ_FOREACH_SAFE(astate, &state->arp_states, next, astaten) { in arp_packet()
186 if (astate->conflicted_cb) in arp_packet()
[all …]
Dipv4ll.c73 ipv4ll_pick_addr(const struct arp_state *astate) in ipv4ll_pick_addr() argument
87 if (addr == astate->failed.s_addr) in ipv4ll_pick_addr()
91 TAILQ_FOREACH(ifp, astate->iface->ctx->ifaces, next) { in ipv4ll_pick_addr()
105 ipv4ll_probed(struct arp_state *astate) in ipv4ll_probed() argument
107 struct dhcp_state *state = D_STATE(astate->iface); in ipv4ll_probed()
110 ipv4_finaliseaddr(astate->iface); in ipv4ll_probed()
120 state->offer = ipv4ll_make_lease(astate->addr.s_addr); in ipv4ll_probed()
122 logger(astate->iface->ctx, LOG_ERR, "%s: %m", __func__); in ipv4ll_probed()
124 dhcp_bind(astate->iface, astate); in ipv4ll_probed()
130 ipv4ll_announced(struct arp_state *astate) in ipv4ll_announced() argument
[all …]
Ddhcp.c1907 dhcp_arp_announced(struct arp_state *astate) in dhcp_arp_announced() argument
1910 arp_close(astate->iface); in dhcp_arp_announced()
2062 dhcp_bind(struct interface *ifp, struct arp_state *astate) in dhcp_bind() argument
2205 if (astate) in dhcp_bind()
2206 arp_free_but(astate); in dhcp_bind()
2211 if (astate == NULL) { in dhcp_bind()
2212 astate = arp_new(ifp, &state->addr); in dhcp_bind()
2213 astate->announced_cb = in dhcp_bind()
2216 if (astate) { in dhcp_bind()
2217 arp_announce(astate); in dhcp_bind()
[all …]
/external/libedit/src/
Dunvis.c194 unvis(char *cp, int c, int *astate, int flag) in unvis() argument
208 _DIAGASSERT(astate != NULL); in unvis()
209 st = GS(*astate); in unvis()
216 *astate = SS(0, S_GROUND); in unvis()
230 *astate = SS(0, S_START); in unvis()
234 *astate = SS(0, S_HEX1); in unvis()
238 *astate = SS(0, S_AMP); in unvis()
242 *astate = SS(0, S_MIME1); in unvis()
252 *astate = SS(0, S_GROUND); in unvis()
257 *astate = SS(0, S_OCTAL2); in unvis()
[all …]