/freebsd-11-stable/sys/net/ |
H A D | if_llatbl.h | 91 #define LLE_WLOCK(lle) rw_wlock(&(lle)->lle_lock) 92 #define LLE_RLOCK(lle) rw_rlock(&(lle)->lle_lock) 93 #define LLE_WUNLOCK(lle) rw_wunlock(&(lle)->lle_lock) 94 #define LLE_RUNLOCK(lle) rw_runlock(&(lle)->lle_lock) 95 #define LLE_DOWNGRADE(lle) rw_downgrade(&(lle) 262 llentry_mark_used(struct llentry *lle) argument [all...] |
H A D | if_llatbl.c | 75 static void htable_unlink_entry(struct llentry *lle); 76 static void htable_link_entry(struct lltable *llt, struct llentry *lle); 81 * Dump lle state for a specific address family. 136 struct llentry *lle, *next; local 142 LIST_FOREACH_SAFE(lle, &llt->lle_head[i], lle_next, next) { 143 error = f(llt, lle, farg); 153 htable_link_entry(struct lltable *llt, struct llentry *lle) argument 158 if ((lle->la_flags & LLE_LINKED) != 0) 163 hashidx = llt->llt_hash(lle, llt->llt_hsize); 166 lle 173 htable_unlink_entry(struct llentry *lle) argument 195 htable_prefix_free_cb(struct lltable *llt, struct llentry *lle, void *farg) argument 213 struct llentry *lle, *next; local 244 struct llentry *lle, *next; local 256 lltable_drop_entry_queue(struct llentry *lle) argument 280 lltable_set_entry_addr(struct ifnet *ifp, struct llentry *lle, const char *linkhdr, size_t linkhdrsize, int lladdr_off) argument 300 lltable_try_set_entry_addr(struct ifnet *ifp, struct llentry *lle, const char *linkhdr, size_t linkhdrsize, int lladdr_off) argument 365 llentry_update_ifaddr(struct lltable *llt, struct llentry *lle, void *farg) argument 422 llentry_free(struct llentry *lle) argument 488 lltable_free_cb(struct lltable *llt, struct llentry *lle, void *farg) argument 506 struct llentry *lle, *next; local 564 struct llentry *lle; local 671 lltable_free_entry(struct lltable *llt, struct llentry *lle) argument 678 lltable_link_entry(struct lltable *llt, struct llentry *lle) argument 685 lltable_unlink_entry(struct lltable *llt, struct llentry *lle) argument 692 lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa) argument 725 struct llentry *lle, *lle_tmp; local 838 struct llentry *lle; local 908 struct llentry *lle; local [all...] |
H A D | if_ethersubr.c | 296 struct llentry *lle = NULL; local 309 lle = ro->ro_lle; 310 if (lle != NULL && 311 (lle->la_flags & LLE_VALID) == 0) { 312 LLE_FREE(lle); 313 lle = NULL; /* redundant */ 316 if (lle == NULL) { 325 llentry_mark_used(lle); 327 if (lle != NULL) { 328 phdr = lle [all...] |
H A D | flowtable.c | 506 struct llentry *lle; local 588 lle = llentry_alloc(ifp, lt, l3addr); 590 if (lle == NULL) { 596 if ((lle->la_flags & LLE_VALID) == 0) { 598 LLE_FREE(lle); 606 LLE_FREE(lle); 613 fle->f_lle = lle; 668 struct llentry *lle; local 698 lle = fle->f_lle; 699 if (lle ! [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/net/ |
H A D | netevent.h | 50 _handle_arp_update_event(void *arg, struct llentry *lle, int evt __unused) argument 55 nb->notifier_call(nb, NETEVENT_NEIGH_UPDATE, lle);
|
/freebsd-11-stable/sys/netinet/ |
H A D | in.c | 736 * Removes either all lle entries for given @ia, or lle 1048 * Do actual deallocation of @lle. 1051 in_lltable_destroy_lle_unlocked(struct llentry *lle) argument 1054 LLE_LOCK_DESTROY(lle); 1055 LLE_REQ_DESTROY(lle); 1056 free(lle, M_LLTABLE); 1064 in_lltable_mark_used(struct llentry *lle) argument 1067 LLE_REQ_LOCK(lle); 1068 lle 1077 in_lltable_destroy_lle(struct llentry *lle) argument 1087 struct in_llentry *lle; local 1112 in_lltable_match_prefix(const struct sockaddr *saddr, const struct sockaddr *smask, u_int flags, struct llentry *lle) argument 1146 in_lltable_free_entry(struct lltable *llt, struct llentry *lle) argument 1261 in_lltable_hash(const struct llentry *lle, uint32_t hsize) argument 1268 in_lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa) argument 1282 struct llentry *lle; local 1299 in_lltable_delete_entry(struct lltable *llt, struct llentry *lle) argument 1315 struct llentry *lle; local 1364 struct llentry *lle; local 1390 in_lltable_dump_entry(struct lltable *llt, struct llentry *lle, struct sysctl_req *wr) argument [all...] |
H A D | if_ether.c | 194 struct llentry *lle = (struct llentry *)arg; local 198 if (lle->la_flags & LLE_STATIC) { 201 LLE_WLOCK(lle); 202 if (callout_pending(&lle->lle_timer)) { 218 LLE_WUNLOCK(lle); 221 ifp = lle->lle_tbl->llt_ifp; 224 switch (lle->ln_state) { 236 LLE_REQ_LOCK(lle); 237 lle->r_skip_req = 1; 238 LLE_REQ_UNLOCK(lle); 1038 struct llentry *lle = NULL; local 1279 struct llentry *lle, *lle_tmp; local 1300 lltable_link_entry(LLTABLE(ifp), lle); local [all...] |
H A D | toecore.c | 386 toe_lle_event(void *arg __unused, struct llentry *lle, int evt) argument 396 LLE_WLOCK_ASSERT(lle); 398 ifp = lltable_get_ifp(lle->lle_tbl); 399 family = lltable_get_af(lle->lle_tbl); 415 lltable_fill_sa_entry(lle, sa); 428 KASSERT(lle->la_flags & LLE_VALID, 429 ("%s: %p resolved but not valid?", __func__, lle)); 431 lladdr = (uint8_t *)lle->ll_addr;
|
/freebsd-11-stable/sys/netinet6/ |
H A D | in6.c | 1173 * 1) Add lle entry for added address 2019 * Do actual deallocation of @lle. 2022 in6_lltable_destroy_lle_unlocked(struct llentry *lle) argument 2025 LLE_LOCK_DESTROY(lle); 2026 LLE_REQ_DESTROY(lle); 2027 free(lle, M_LLTABLE); 2035 in6_lltable_destroy_lle(struct llentry *lle) argument 2038 LLE_WUNLOCK(lle); 2039 in6_lltable_destroy_lle_unlocked(lle); 2045 struct in6_llentry *lle; local 2062 in6_lltable_match_prefix(const struct sockaddr *saddr, const struct sockaddr *smask, u_int flags, struct llentry *lle) argument 2095 in6_lltable_free_entry(struct lltable *llt, struct llentry *lle) argument 2155 in6_lltable_mark_used(struct llentry *lle) argument 2178 in6_lltable_hash(const struct llentry *lle, uint32_t hsize) argument 2185 in6_lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa) argument 2199 struct llentry *lle; local 2216 in6_lltable_delete_entry(struct lltable *llt, struct llentry *lle) argument 2233 struct llentry *lle; local 2279 struct llentry *lle; local 2305 in6_lltable_dump_entry(struct lltable *llt, struct llentry *lle, struct sysctl_req *wr) argument [all...] |
H A D | nd6.c | 153 nd6_lle_event(void *arg __unused, struct llentry *lle, int evt) argument 162 LLE_WLOCK_ASSERT(lle); 164 if (lltable_get_af(lle->lle_tbl) != AF_INET6) 170 KASSERT(lle->la_flags & LLE_VALID, 171 ("%s: %p resolved but not valid?", __func__, lle)); 180 ifp = lltable_get_ifp(lle->lle_tbl); 185 lltable_fill_sa_entry(lle, (struct sockaddr *)&dst); 194 bcopy(lle->ll_addr, gw.sdl_data, ifp->if_addrlen); 605 * lle in STALE state (remaining timer value stored in lle_remtime). 617 nd6_is_stale(struct llentry *lle, lon argument 689 nd6_llinfo_setstate(struct llentry *lle, int newstate) argument 1395 struct llentry *lle; local 2337 struct llentry *lle = NULL, *lle_tmp; local 2374 lltable_link_entry(LLTABLE6(ifp), lle); local 2377 lltable_free_entry(LLTABLE6(ifp), lle); local [all...] |
H A D | nd6.h | 437 void nd6_llinfo_setstate(struct llentry *lle, int newstate);
|
/freebsd-11-stable/sys/kern/ |
H A D | subr_witness.c | 353 static void witness_lock_list_free(struct lock_list_entry *lle); 1074 struct lock_list_entry *lock_list, *lle; local 1179 lle = lock_list->ll_next; 1185 if (lle == NULL) 1187 plock = &lle->ll_children[lle->ll_count - 1]; 1241 for (j = 0, lle = lock_list; lle != NULL; lle = lle 1420 struct lock_list_entry **lock_list, *lle; local 1570 struct lock_list_entry **lock_list, *lle; local 1679 struct lock_list_entry *lle; local 1712 struct lock_list_entry *lock_list, *lle; local 2127 struct lock_list_entry *lle; local 2146 witness_lock_list_free(struct lock_list_entry *lle) argument 2158 struct lock_list_entry *lle; local 2245 struct lock_list_entry *lle; local [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | lambda-code.c | 1118 lambda_linear_expression lle = NULL; local 1123 lle = lambda_linear_expression_new (depth, 2 * depth); 1124 LLE_CONSTANT (lle) = TREE_INT_CST_LOW (expr); 1126 LLE_CONSTANT (lle) += extra; 1128 LLE_DENOMINATOR (lle) = 1; 1140 lle = lambda_linear_expression_new (depth, 2 * depth); 1141 LLE_COEFFICIENTS (lle)[i] = 1; 1143 LLE_CONSTANT (lle) = extra; 1145 LLE_DENOMINATOR (lle) = 1; 1153 lle 1611 lle_to_gcc_expression(lambda_linear_expression lle, lambda_linear_expression offset, tree type, VEC(tree,heap) *induction_vars, VEC(tree,heap) *invariants, enum tree_code wrap, tree *stmts_to_insert) argument [all...] |
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 1475 struct llentry *lle = NULL; local 1503 if (lle != NULL && (lle->la_flags & LLE_VALID)) 1504 memcpy(edst, lle->ll_addr, sizeof(edst)); 1541 if (lle != NULL && (lle->la_flags & LLE_VALID)) 1542 memcpy(edst, lle->ll_addr, sizeof(edst));
|