bin/ksh/emacs.c
1933
int adj = x_adj_done;
bin/ksh/emacs.c
1935
while (*s && adj == x_adj_done)
bin/ksh/emacs.c
447
int adj = x_adj_done;
bin/ksh/emacs.c
459
if (adj == x_adj_done) { /* has x_adjust() been called? */
bin/ksh/emacs.c
685
int adj = x_adj_done;
bin/ksh/emacs.c
693
while (*str && str < xlp && adj == x_adj_done)
games/boggle/boggle/bog.c
708
adj[r - 1] = 1; \
games/boggle/boggle/bog.c
709
adj[r] = 1; \
games/boggle/boggle/bog.c
711
adj[r + 1] = 1; \
games/boggle/boggle/bog.c
720
int cube, row, col, *adj;
games/boggle/boggle/bog.c
731
adj = adjacency[cube] = calloc(ncubes, sizeof(int));
games/boggle/boggle/bog.c
732
if (adj == NULL)
games/boggle/boggle/bog.c
741
adj[cube] = 0;
games/hack/hack.do_name.c
322
amonnam(struct monst *mtmp, char *adj)
games/hack/hack.do_name.c
328
(void) snprintf(buf, sizeof buf, "the %s %s", adj, bp);
games/hack/hack.do_name.c
333
Amonnam(struct monst *mtmp, char *adj)
games/hack/hack.do_name.c
335
char *bp = amonnam(mtmp,adj);
lib/libc/gdtoa/strtod.c
1013
dval(&adj) = dval(&aadj1) * ulp(&rv);
lib/libc/gdtoa/strtod.c
1014
dval(&rv) += dval(&adj);
lib/libc/gdtoa/strtod.c
1029
dval(&adj) = dval(&aadj1) * ulp(&rv);
lib/libc/gdtoa/strtod.c
1030
dval(&rv) += adj;
lib/libc/gdtoa/strtod.c
698
dval(&adj) = 1.;
lib/libc/gdtoa/strtod.c
703
dval(&adj) = -1.;
lib/libc/gdtoa/strtod.c
717
dval(&adj) = -0.5;
lib/libc/gdtoa/strtod.c
724
word0(&adj) += (2*P+1)*Exp_msk1 - y;
lib/libc/gdtoa/strtod.c
730
dval(&rv) += adj*ulp(&rv);
lib/libc/gdtoa/strtod.c
736
dval(&rv) += adj.d*ulp(&rv);
lib/libc/gdtoa/strtod.c
740
dval(&adj) = ratio(delta, bs);
lib/libc/gdtoa/strtod.c
741
if (adj.d < 1.)
lib/libc/gdtoa/strtod.c
742
dval(&adj) = 1.;
lib/libc/gdtoa/strtod.c
743
if (adj.d <= 0x7ffffffe) {
lib/libc/gdtoa/strtod.c
745
y = adj.d;
lib/libc/gdtoa/strtod.c
746
if (y != adj.d) {
lib/libc/gdtoa/strtod.c
749
dval(&adj) = y;
lib/libc/gdtoa/strtod.c
754
word0(&adj) += (2*P+1)*Exp_msk1 - y;
lib/libc/gdtoa/strtod.c
759
dval(&adj) *= ulp(&rv);
lib/libc/gdtoa/strtod.c
761
dval(&rv) += adj;
lib/libc/gdtoa/strtod.c
763
dval(&rv) -= adj;
lib/libc/gdtoa/strtod.c
769
dval(&adj) *= ulp(&rv);
lib/libc/gdtoa/strtod.c
773
dval(&rv) += adj.d;
lib/libc/gdtoa/strtod.c
776
dval(&rv) -= adj.d;
lib/libc/gdtoa/strtod.c
963
dval(&adj) = dval(&aadj1) * ulp(&rv);
lib/libc/gdtoa/strtod.c
964
dval(&rv) += dval(&adj);
lib/libc/gdtoa/strtod.c
98
U adj, aadj1, rv, rv0;
lib/libc/gdtoa/strtod.c
987
dval(&adj) = dval(&aadj1) * ulp(&rv);
lib/libc/gdtoa/strtod.c
988
dval(&rv) += dval(&adj);
lib/libc/gdtoa/strtod.c
994
dval(&adj) = dval(&aadj1) * ulp(&rv);
lib/libc/gdtoa/strtod.c
995
dval(&rv) += dval(&adj);
lib/libc/gdtoa/strtodg.c
1054
tol = dval(&adj) * 5e-16; /* > max rel error */
lib/libc/gdtoa/strtodg.c
1055
dval(&adj) = adj0 - .5;
lib/libc/gdtoa/strtodg.c
1056
if (dval(&adj) < -tol) {
lib/libc/gdtoa/strtodg.c
1062
else if (dval(&adj) > tol && adj0 < 1. - tol) {
lib/libc/gdtoa/strtodg.c
353
U adj, rv;
lib/libc/gdtoa/strtodg.c
612
dval(&adj) = dval(&rv);
lib/libc/gdtoa/strtodg.c
613
word0(&adj) -= P*Exp_msk1;
lib/libc/gdtoa/strtodg.c
614
/* adj = */ rounded_product(dval(&adj), tens[e2]);
lib/libc/gdtoa/strtodg.c
615
if ((word0(&adj) & Exp_mask)
lib/libc/gdtoa/strtodg.c
618
word0(&adj) += P*Exp_msk1;
lib/libc/gdtoa/strtodg.c
619
dval(&rv) = dval(&adj);
lib/libc/gdtoa/strtodg.c
933
if ((dval(&adj) = ratio(delta, bs)) <= 2.) {
lib/libc/gdtoa/strtodg.c
947
adj0 = dval(&adj) = 1.;
lib/libc/gdtoa/strtodg.c
950
adj0 = dval(&adj) *= 0.5;
lib/libc/gdtoa/strtodg.c
955
if (dval(&adj) < 2147483647.) {
lib/libc/gdtoa/strtodg.c
974
dval(&adj) = L;
lib/libc/gdtoa/strtodg.c
989
ab = d2b(dval(&adj), &abe, &abits);
lib/libcrypto/x509/x509.h
461
ASN1_TIME * X509_time_adj(ASN1_TIME *s, long adj, time_t *t);
lib/libcrypto/x509/x509.h
464
ASN1_TIME * X509_gmtime_adj(ASN1_TIME *s, long adj);
lib/libcrypto/x509/x509_vfy.c
1952
X509_gmtime_adj(ASN1_TIME *s, long adj)
lib/libcrypto/x509/x509_vfy.c
1954
return X509_time_adj(s, adj, NULL);
sys/arch/amd64/amd64/tsc.c
368
int64_t adj; /* [b] Initial IA32_TSC_ADJUST value */
sys/arch/amd64/amd64/tsc.c
487
if (tsc_bp_status.adj != 0) {
sys/arch/amd64/amd64/tsc.c
489
tsc_bp_status.adj);
sys/arch/amd64/amd64/tsc.c
491
if (tsc_ap_status.adj != 0) {
sys/arch/amd64/amd64/tsc.c
493
tsc_ap_name, tsc_ap_status.adj);
sys/arch/amd64/amd64/tsc.c
522
tts->adj = rdmsr(MSR_TSC_ADJUST);
sys/arch/amd64/amd64/tsc.c
523
if (tts->adj != 0)
sys/crypto/cryptosoft.c
660
int adj;
sys/crypto/cryptosoft.c
699
adj = result - crd->crd_len;
sys/crypto/cryptosoft.c
701
adj = result - crd->crd_len;
sys/crypto/cryptosoft.c
702
m_adj((struct mbuf *)buf, adj);
sys/crypto/cryptosoft.c
707
adj = crd->crd_len - result;
sys/crypto/cryptosoft.c
710
while (adj > 0 && ind >= 0) {
sys/crypto/cryptosoft.c
711
if (adj < uio->uio_iov[ind].iov_len) {
sys/crypto/cryptosoft.c
712
uio->uio_iov[ind].iov_len -= adj;
sys/crypto/cryptosoft.c
716
adj -= uio->uio_iov[ind].iov_len;
sys/dev/ipmi.c
1187
ipmi_convert(u_int8_t v, struct sdrtype1 *s1, long adj)
sys/dev/ipmi.c
1204
val = ipow(M * v, K2 + adj) + ipow(B, K1 + K2 + adj);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
257
struct mod_hdcp_display_adjustment *adj)
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
264
adj->disable == false) {
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
276
memcmp(adj, &display->adjust,
sys/dev/pci/drm/i915/gt/intel_rps.c
1829
int new_freq, adj, min, max;
sys/dev/pci/drm/i915/gt/intel_rps.c
1849
adj = rps->last_adj;
sys/dev/pci/drm/i915/gt/intel_rps.c
1859
adj, new_freq, min, max);
sys/dev/pci/drm/i915/gt/intel_rps.c
1863
adj = 0;
sys/dev/pci/drm/i915/gt/intel_rps.c
1865
if (adj > 0)
sys/dev/pci/drm/i915/gt/intel_rps.c
1866
adj *= 2;
sys/dev/pci/drm/i915/gt/intel_rps.c
1868
adj = IS_CHERRYVIEW(gt->i915) ? 2 : 1;
sys/dev/pci/drm/i915/gt/intel_rps.c
1871
adj = 0;
sys/dev/pci/drm/i915/gt/intel_rps.c
1873
adj = 0;
sys/dev/pci/drm/i915/gt/intel_rps.c
1879
adj = 0;
sys/dev/pci/drm/i915/gt/intel_rps.c
1881
if (adj < 0)
sys/dev/pci/drm/i915/gt/intel_rps.c
1882
adj *= 2;
sys/dev/pci/drm/i915/gt/intel_rps.c
1884
adj = IS_CHERRYVIEW(gt->i915) ? -2 : -1;
sys/dev/pci/drm/i915/gt/intel_rps.c
1887
adj = 0;
sys/dev/pci/drm/i915/gt/intel_rps.c
1889
adj = 0;
sys/dev/pci/drm/i915/gt/intel_rps.c
1896
new_freq += adj;
sys/dev/pci/drm/i915/gt/intel_rps.c
1901
adj = 0;
sys/dev/pci/drm/i915/gt/intel_rps.c
1903
rps->last_adj = adj;
sys/dev/pci/drm/i915/gt/intel_rps.c
899
int adj;
sys/dev/pci/drm/i915/gt/intel_rps.c
942
adj = rps->last_adj;
sys/dev/pci/drm/i915/gt/intel_rps.c
943
if (adj < 0)
sys/dev/pci/drm/i915/gt/intel_rps.c
944
adj *= 2;
sys/dev/pci/drm/i915/gt/intel_rps.c
946
adj = -2;
sys/dev/pci/drm/i915/gt/intel_rps.c
947
rps->last_adj = adj;
sys/dev/pci/drm/i915/gt/intel_rps.c
948
rps->cur_freq = max_t(int, rps->cur_freq + adj, rps->min_freq);
sys/dev/pci/if_mwx.c
2240
int len = m->m_pkthdr.len, adj;
sys/dev/pci/if_mwx.c
2243
adj = len - (end - start);
sys/dev/pci/if_mwx.c
2244
m_adj(m, -adj);
sys/kern/kern_tc.c
937
int64_t adj;
sys/kern/kern_tc.c
942
adj = MIN(5000, th->th_adjtimedelta);
sys/kern/kern_tc.c
944
adj = MAX(-5000, th->th_adjtimedelta);
sys/kern/kern_tc.c
945
th->th_adjtimedelta -= adj;
sys/kern/kern_tc.c
946
th->th_adjustment = (adj * 1000) << 32;
sys/kern/kern_timeout.c
883
timeout_adjust_ticks(int adj)
sys/kern/kern_timeout.c
890
if (adj <= 0)
sys/kern/kern_timeout.c
894
new_ticks = ticks + adj;
sys/kern/kern_timeout.c
902
if (to->to_time - ticks < adj)
sys/kern/uipc_mbuf.c
1401
m_dup_pkt(struct mbuf *m0, unsigned int adj, int wait)
sys/kern/uipc_mbuf.c
1408
len = m0->m_pkthdr.len + adj;
sys/kern/uipc_mbuf.c
1426
m_adj(m, adj);
sys/kern/uipc_mbuf.c
906
unsigned int adj;
sys/kern/uipc_mbuf.c
927
adj = mtod(m, unsigned long) & (sizeof(long) - 1);
sys/kern/uipc_mbuf.c
929
adj = mtod(m0, unsigned long) & (sizeof(long) - 1);
sys/kern/uipc_mbuf.c
932
head += adj;
sys/kern/uipc_mbuf.c
947
space = adj + len;
sys/kern/uipc_mbuf.c
970
m0->m_data += adj;
sys/netinet/ip_carp.c
2234
int *dm, adj;
sys/netinet/ip_carp.c
2238
adj = ((struct carp_softc *)ifp->if_softc)->sc_demote_cnt;
sys/netinet/ip_carp.c
2240
adj = adj * -1;
sys/netinet/ip_carp.c
2245
if (*dm + adj >= 0)
sys/netinet/ip_carp.c
2246
*dm += adj;
sys/netinet/ip_carp.c
2425
carp_group_demote_adj(struct ifnet *ifp, int adj, char *reason)
sys/netinet/ip_carp.c
2433
if (*dm + adj >= 0)
sys/netinet/ip_carp.c
2434
*dm += adj;
sys/netinet/ip_carp.c
2445
if (*dm + adj >= 0)
sys/netinet/ip_carp.c
2446
*dm += adj;
sys/netinet/ip_carp.c
2450
if (adj > 0 && *dm == 1)
sys/netinet/ip_carp.c
2455
adj, *dm, reason));
sys/stand/boot/bootarg.c
103
l -= p->ba_size + adj;
sys/stand/boot/bootarg.c
110
if (q + p->ba_size + adj > (u_char *)v + l - sizeof(*p32))
sys/stand/boot/bootarg.c
114
p32->ba_size = p->ba_size + adj;
sys/stand/boot/bootarg.c
86
size_t adj;
sys/stand/boot/bootarg.c
94
adj = (ssize_t)sizeof(struct bootarg32) - sizeof(bootarg_t);
sys/stand/boot/bootarg.c
98
l += p->ba_size + adj;
sys/uvm/uvm_map.c
2563
vsize_t adj;
sys/uvm/uvm_map.c
2584
adj = split - orig->start;
sys/uvm/uvm_map.c
2604
amap_splitref(&orig->aref, &next->aref, adj);
sys/uvm/uvm_map.c
2608
next->offset += adj;
sys/uvm/uvm_map.c
2617
next->offset += adj;
usr.bin/infocmp/infocmp.c
880
size_t adj = (size_t) (csi ? 2 : 0);
usr.bin/infocmp/infocmp.c
885
if (len > adj
usr.bin/infocmp/infocmp.c
886
&& strncmp(ap->from + adj, sp + csi, len - adj) == 0) {
usr.bin/infocmp/infocmp.c
888
len -= adj;
usr.bin/vi/ex/ex_screen.c
72
adj_t adj;
usr.bin/vi/ex/ex_screen.c
77
adj = A_SET;
usr.bin/vi/ex/ex_screen.c
80
adj = A_DECREASE;
usr.bin/vi/ex/ex_screen.c
83
adj = A_INCREASE;
usr.bin/vi/ex/ex_screen.c
89
return (vs_resize(sp, cmdp->count, adj));
usr.bin/vi/vi/vs_split.c
459
vs_resize(SCR *sp, long count, adj_t adj)
usr.bin/vi/vi/vs_split.c
473
if (adj == A_SET) {
usr.bin/vi/vi/vs_split.c
477
adj = A_DECREASE;
usr.bin/vi/vi/vs_split.c
480
adj = A_INCREASE;
usr.bin/vi/vi/vs_split.c
486
if (adj == A_DECREASE) {
usr.bin/vi/vi/vs_split.c
509
toobig: msgq(sp, M_BERR, adj == A_DECREASE ?
usr.sbin/ldpctl/ldpctl.c
364
struct ctl_adj *adj;
usr.sbin/ldpctl/ldpctl.c
369
adj = imsg->data;
usr.sbin/ldpctl/ldpctl.c
371
if (res->family != AF_UNSPEC && res->family != adj->af)
usr.sbin/ldpctl/ldpctl.c
374
printf("%-4s %-15s ", af_name(adj->af), inet_ntoa(adj->id));
usr.sbin/ldpctl/ldpctl.c
375
switch(adj->type) {
usr.sbin/ldpctl/ldpctl.c
377
printf("%-8s %-15s ", "Link", adj->ifname);
usr.sbin/ldpctl/ldpctl.c
380
addr = log_addr(adj->af, &adj->src_addr);
usr.sbin/ldpctl/ldpctl.c
387
printf("%9u\n", adj->holdtime);
usr.sbin/ldpd/adjacency.c
100
adj_del_single(adj);
usr.sbin/ldpd/adjacency.c
108
LIST_FOREACH_SAFE(adj, &nbr->adj_list, nbr_entry, atmp)
usr.sbin/ldpd/adjacency.c
109
adj_del_single(adj);
usr.sbin/ldpd/adjacency.c
115
struct adj *
usr.sbin/ldpd/adjacency.c
118
struct adj *adj;
usr.sbin/ldpd/adjacency.c
120
LIST_FOREACH(adj, &global.adj_list, global_entry) {
usr.sbin/ldpd/adjacency.c
121
if (adj->source.type != source->type)
usr.sbin/ldpd/adjacency.c
124
if (adj->lsr_id.s_addr != source->lsr_id.s_addr)
usr.sbin/ldpd/adjacency.c
130
&adj->source.link.src_addr,
usr.sbin/ldpd/adjacency.c
132
return (adj);
usr.sbin/ldpd/adjacency.c
135
if (adj->source.target == source->target)
usr.sbin/ldpd/adjacency.c
136
return (adj);
usr.sbin/ldpd/adjacency.c
145
adj_get_af(struct adj *adj)
usr.sbin/ldpd/adjacency.c
147
switch (adj->source.type) {
usr.sbin/ldpd/adjacency.c
149
return (adj->source.link.ia->af);
usr.sbin/ldpd/adjacency.c
151
return (adj->source.target->af);
usr.sbin/ldpd/adjacency.c
162
struct adj *adj = arg;
usr.sbin/ldpd/adjacency.c
164
log_debug("%s: lsr-id %s", __func__, inet_ntoa(adj->lsr_id));
usr.sbin/ldpd/adjacency.c
166
if (adj->source.type == HELLO_TARGETED) {
usr.sbin/ldpd/adjacency.c
167
if (!(adj->source.target->flags & F_TNBR_CONFIGURED) &&
usr.sbin/ldpd/adjacency.c
168
adj->source.target->pw_count == 0) {
usr.sbin/ldpd/adjacency.c
170
tnbr_del(adj->source.target);
usr.sbin/ldpd/adjacency.c
173
adj->source.target->adj = NULL;
usr.sbin/ldpd/adjacency.c
176
adj_del(adj, S_HOLDTIME_EXP);
usr.sbin/ldpd/adjacency.c
180
adj_start_itimer(struct adj *adj)
usr.sbin/ldpd/adjacency.c
185
tv.tv_sec = adj->holdtime;
usr.sbin/ldpd/adjacency.c
186
if (evtimer_add(&adj->inactivity_timer, &tv) == -1)
usr.sbin/ldpd/adjacency.c
191
adj_stop_itimer(struct adj *adj)
usr.sbin/ldpd/adjacency.c
193
if (evtimer_pending(&adj->inactivity_timer, NULL) &&
usr.sbin/ldpd/adjacency.c
194
evtimer_del(&adj->inactivity_timer) == -1)
usr.sbin/ldpd/adjacency.c
221
if (tnbr->adj)
usr.sbin/ldpd/adjacency.c
222
adj_del(tnbr->adj, S_SHUTDOWN);
usr.sbin/ldpd/adjacency.c
31
static void adj_del_single(struct adj *);
usr.sbin/ldpd/adjacency.c
327
adj_to_ctl(struct adj *adj)
usr.sbin/ldpd/adjacency.c
331
actl.af = adj_get_af(adj);
usr.sbin/ldpd/adjacency.c
332
actl.id = adj->lsr_id;
usr.sbin/ldpd/adjacency.c
333
actl.type = adj->source.type;
usr.sbin/ldpd/adjacency.c
334
switch (adj->source.type) {
usr.sbin/ldpd/adjacency.c
336
memcpy(actl.ifname, adj->source.link.ia->iface->name,
usr.sbin/ldpd/adjacency.c
340
actl.src_addr = adj->source.target->addr;
usr.sbin/ldpd/adjacency.c
343
actl.holdtime = adj->holdtime;
usr.sbin/ldpd/adjacency.c
344
actl.trans_addr = adj->trans_addr;
usr.sbin/ldpd/adjacency.c
38
struct adj *
usr.sbin/ldpd/adjacency.c
42
struct adj *adj;
usr.sbin/ldpd/adjacency.c
47
if ((adj = calloc(1, sizeof(*adj))) == NULL)
usr.sbin/ldpd/adjacency.c
50
adj->lsr_id = lsr_id;
usr.sbin/ldpd/adjacency.c
51
adj->nbr = NULL;
usr.sbin/ldpd/adjacency.c
52
adj->source = *source;
usr.sbin/ldpd/adjacency.c
53
adj->trans_addr = *addr;
usr.sbin/ldpd/adjacency.c
55
evtimer_set(&adj->inactivity_timer, adj_itimer, adj);
usr.sbin/ldpd/adjacency.c
57
LIST_INSERT_HEAD(&global.adj_list, adj, global_entry);
usr.sbin/ldpd/adjacency.c
61
LIST_INSERT_HEAD(&source->link.ia->adj_list, adj, ia_entry);
usr.sbin/ldpd/adjacency.c
64
source->target->adj = adj;
usr.sbin/ldpd/adjacency.c
68
return (adj);
usr.sbin/ldpd/adjacency.c
72
adj_del_single(struct adj *adj)
usr.sbin/ldpd/adjacency.c
74
log_debug("%s: lsr-id %s, %s (%s)", __func__, inet_ntoa(adj->lsr_id),
usr.sbin/ldpd/adjacency.c
75
log_hello_src(&adj->source), af_name(adj_get_af(adj)));
usr.sbin/ldpd/adjacency.c
77
adj_stop_itimer(adj);
usr.sbin/ldpd/adjacency.c
79
LIST_REMOVE(adj, global_entry);
usr.sbin/ldpd/adjacency.c
80
if (adj->nbr)
usr.sbin/ldpd/adjacency.c
81
LIST_REMOVE(adj, nbr_entry);
usr.sbin/ldpd/adjacency.c
82
switch (adj->source.type) {
usr.sbin/ldpd/adjacency.c
84
LIST_REMOVE(adj, ia_entry);
usr.sbin/ldpd/adjacency.c
87
adj->source.target->adj = NULL;
usr.sbin/ldpd/adjacency.c
91
free(adj);
usr.sbin/ldpd/adjacency.c
95
adj_del(struct adj *adj, uint32_t notif_status)
usr.sbin/ldpd/adjacency.c
97
struct nbr *nbr = adj->nbr;
usr.sbin/ldpd/adjacency.c
98
struct adj *atmp;
usr.sbin/ldpd/hello.c
153
struct adj *adj = NULL;
usr.sbin/ldpd/hello.c
276
adj = adj_find(&source);
usr.sbin/ldpd/hello.c
297
if (adj)
usr.sbin/ldpd/hello.c
298
adj_del(adj, S_SHUTDOWN);
usr.sbin/ldpd/hello.c
335
if (adj)
usr.sbin/ldpd/hello.c
336
adj_del(adj, S_SHUTDOWN);
usr.sbin/ldpd/hello.c
345
if (adj)
usr.sbin/ldpd/hello.c
346
adj_del(adj, S_SHUTDOWN);
usr.sbin/ldpd/hello.c
351
if (adj == NULL) {
usr.sbin/ldpd/hello.c
352
adj = adj_new(lsr_id, &source, &trans_addr);
usr.sbin/ldpd/hello.c
354
adj->nbr = nbr;
usr.sbin/ldpd/hello.c
355
LIST_INSERT_HEAD(&nbr->adj_list, adj, nbr_entry);
usr.sbin/ldpd/hello.c
391
adj->holdtime = min(ia->hello_holdtime, holdtime);
usr.sbin/ldpd/hello.c
397
adj->holdtime = min(tnbr->hello_holdtime, holdtime);
usr.sbin/ldpd/hello.c
399
if (adj->holdtime != INFINITE_HOLDTIME)
usr.sbin/ldpd/hello.c
400
adj_start_itimer(adj);
usr.sbin/ldpd/hello.c
402
adj_stop_itimer(adj);
usr.sbin/ldpd/interface.c
271
struct adj *adj;
usr.sbin/ldpd/interface.c
279
while ((adj = LIST_FIRST(&ia->adj_list)) != NULL)
usr.sbin/ldpd/interface.c
280
adj_del(adj, S_SHUTDOWN);
usr.sbin/ldpd/interface.c
410
struct adj *adj;
usr.sbin/ldpd/interface.c
431
LIST_FOREACH(adj, &ia->adj_list, ia_entry)
usr.sbin/ldpd/ldpd.h
267
LIST_HEAD(, adj) adj_list;
usr.sbin/ldpd/ldpd.h
293
struct adj *adj;
usr.sbin/ldpd/ldpd.h
436
LIST_HEAD(, adj) adj_list;
usr.sbin/ldpd/ldpe.c
161
struct adj *adj;
usr.sbin/ldpd/ldpe.c
186
while ((adj = LIST_FIRST(&global.adj_list)) != NULL)
usr.sbin/ldpd/ldpe.c
187
adj_del(adj, S_SHUTDOWN);
usr.sbin/ldpd/ldpe.c
772
struct adj *adj;
usr.sbin/ldpd/ldpe.c
776
LIST_FOREACH(adj, &nbr->adj_list, nbr_entry) {
usr.sbin/ldpd/ldpe.c
777
actl = adj_to_ctl(adj);
usr.sbin/ldpd/ldpe.c
783
LIST_FOREACH(adj, &global.adj_list, global_entry) {
usr.sbin/ldpd/ldpe.c
784
if (adj->nbr != NULL)
usr.sbin/ldpd/ldpe.c
787
actl = adj_to_ctl(adj);
usr.sbin/ldpd/ldpe.h
223
struct adj *adj_new(struct in_addr, struct hello_source *,
usr.sbin/ldpd/ldpe.h
225
void adj_del(struct adj *, uint32_t);
usr.sbin/ldpd/ldpe.h
226
struct adj *adj_find(struct hello_source *);
usr.sbin/ldpd/ldpe.h
227
int adj_get_af(struct adj *adj);
usr.sbin/ldpd/ldpe.h
228
void adj_start_itimer(struct adj *);
usr.sbin/ldpd/ldpe.h
229
void adj_stop_itimer(struct adj *);
usr.sbin/ldpd/ldpe.h
235
struct ctl_adj *adj_to_ctl(struct adj *);
usr.sbin/ldpd/ldpe.h
45
LIST_ENTRY(adj) global_entry;
usr.sbin/ldpd/ldpe.h
46
LIST_ENTRY(adj) nbr_entry;
usr.sbin/ldpd/ldpe.h
47
LIST_ENTRY(adj) ia_entry;
usr.sbin/ldpd/ldpe.h
73
LIST_HEAD(, adj) adj_list; /* adjacencies */
usr.sbin/ldpd/neighbor.c
226
struct adj *adj;
usr.sbin/ldpd/neighbor.c
250
LIST_FOREACH(adj, &global.adj_list, global_entry) {
usr.sbin/ldpd/neighbor.c
251
if (adj->lsr_id.s_addr == nbr->id.s_addr) {
usr.sbin/ldpd/neighbor.c
252
adj->nbr = nbr;
usr.sbin/ldpd/neighbor.c
253
LIST_INSERT_HEAD(&nbr->adj_list, adj, nbr_entry);
usr.sbin/ldpd/neighbor.c
360
struct adj *adj;
usr.sbin/ldpd/neighbor.c
363
LIST_FOREACH(adj, &nbr->adj_list, nbr_entry)
usr.sbin/ldpd/neighbor.c
364
if (adj_get_af(adj) == af)
usr.sbin/ldpd/neighbor.c
571
struct adj *adj;
usr.sbin/ldpd/neighbor.c
620
LIST_FOREACH(adj, &nbr->adj_list, nbr_entry)
usr.sbin/ldpd/neighbor.c
621
send_hello(adj->source.type, adj->source.link.ia,
usr.sbin/ldpd/neighbor.c
622
adj->source.target);
usr.sbin/unbound/testcode/fake_event.c
102
fake_temp_file(const char* adj, const char* id, char* buf, size_t len)
usr.sbin/unbound/testcode/fake_event.c
106
(unsigned)getpid(), adj, id);
usr.sbin/unbound/testcode/fake_event.c
109
(unsigned)getpid(), adj, id);
usr.sbin/unbound/testcode/fake_event.h
73
void fake_temp_file(const char* adj, const char* id, char* buf, size_t len);