/freebsd-11.0-release/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) [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 485 lltable_free_cb(struct lltable *llt, struct llentry *lle, void *farg) argument 503 struct llentry *lle, *next; local 563 struct llentry *lle; local 670 lltable_free_entry(struct lltable *llt, struct llentry *lle) argument 677 lltable_link_entry(struct lltable *llt, struct llentry *lle) argument 684 lltable_unlink_entry(struct lltable *llt, struct llentry *lle) argument 691 lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa) argument 724 struct llentry *lle, *lle_tmp; local 837 struct llentry *lle; local 907 struct llentry *lle; local [all...] |
H A D | if_ethersubr.c | 290 struct llentry *lle = NULL; local 303 lle = ro->ro_lle; 304 if (lle != NULL && 305 (lle->la_flags & LLE_VALID) == 0) { 306 LLE_FREE(lle); 307 lle = NULL; /* redundant */ 310 if (lle == NULL) { 315 if (lle != NULL) { 316 phdr = lle->r_linkdata; 317 hlen = 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.0-release/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.0-release/sys/netinet/ |
H A D | in.c | 727 * Removes either all lle entries for given @ia, or lle 1039 * Do actual deallocation of @lle. 1042 in_lltable_destroy_lle_unlocked(struct llentry *lle) argument 1045 LLE_LOCK_DESTROY(lle); 1046 LLE_REQ_DESTROY(lle); 1047 free(lle, M_LLTABLE); 1055 in_lltable_destroy_lle(struct llentry *lle) argument 1058 LLE_WUNLOCK(lle); 1059 in_lltable_destroy_lle_unlocked(lle); 1065 struct in_llentry *lle; local 1090 in_lltable_match_prefix(const struct sockaddr *saddr, const struct sockaddr *smask, u_int flags, struct llentry *lle) argument 1124 in_lltable_free_entry(struct lltable *llt, struct llentry *lle) argument 1240 in_lltable_hash(const struct llentry *lle, uint32_t hsize) argument 1247 in_lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa) argument 1261 struct llentry *lle; local 1278 in_lltable_delete_entry(struct lltable *llt, struct llentry *lle) argument 1294 struct llentry *lle; local 1343 struct llentry *lle; local 1369 in_lltable_dump_entry(struct lltable *llt, struct llentry *lle, struct sysctl_req *wr) argument [all...] |
H A D | if_ether.c | 172 struct llentry *lle = (struct llentry *)arg; local 176 if (lle->la_flags & LLE_STATIC) { 179 LLE_WLOCK(lle); 180 if (callout_pending(&lle->lle_timer)) { 196 LLE_WUNLOCK(lle); 199 ifp = lle->lle_tbl->llt_ifp; 202 switch (lle->ln_state) { 214 LLE_REQ_LOCK(lle); 215 lle->r_skip_req = 1; 216 LLE_REQ_UNLOCK(lle); 1020 struct llentry *lle = NULL; local 1257 struct llentry *lle, *lle_tmp; local 1278 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.0-release/sys/netinet6/ |
H A D | in6.c | 1164 * 1) Add lle entry for added address 2005 * Do actual deallocation of @lle. 2008 in6_lltable_destroy_lle_unlocked(struct llentry *lle) argument 2011 LLE_LOCK_DESTROY(lle); 2012 LLE_REQ_DESTROY(lle); 2013 free(lle, M_LLTABLE); 2021 in6_lltable_destroy_lle(struct llentry *lle) argument 2024 LLE_WUNLOCK(lle); 2025 in6_lltable_destroy_lle_unlocked(lle); 2031 struct in6_llentry *lle; local 2048 in6_lltable_match_prefix(const struct sockaddr *saddr, const struct sockaddr *smask, u_int flags, struct llentry *lle) argument 2081 in6_lltable_free_entry(struct lltable *llt, struct llentry *lle) argument 2148 in6_lltable_hash(const struct llentry *lle, uint32_t hsize) argument 2155 in6_lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa) argument 2169 struct llentry *lle; local 2186 in6_lltable_delete_entry(struct lltable *llt, struct llentry *lle) argument 2203 struct llentry *lle; local 2249 struct llentry *lle; local 2275 in6_lltable_dump_entry(struct lltable *llt, struct llentry *lle, struct sysctl_req *wr) argument [all...] |
H A D | nd6.c | 150 nd6_lle_event(void *arg __unused, struct llentry *lle, int evt) argument 158 LLE_WLOCK_ASSERT(lle); 160 if (lltable_get_af(lle->lle_tbl) != AF_INET6) 166 KASSERT(lle->la_flags & LLE_VALID, 167 ("%s: %p resolved but not valid?", __func__, lle)); 176 ifp = lltable_get_ifp(lle->lle_tbl); 181 lltable_fill_sa_entry(lle, (struct sockaddr *)&dst); 190 bcopy(lle->ll_addr, gw.sdl_data, ifp->if_addrlen); 600 * lle in STALE state (remaining timer value stored in lle_remtime). 612 nd6_is_stale(struct llentry *lle, lon argument 684 nd6_llinfo_setstate(struct llentry *lle, int newstate) argument 1336 struct llentry *lle; local 2270 struct llentry *lle = NULL, *lle_tmp; local 2307 lltable_link_entry(LLTABLE6(ifp), lle); local 2310 lltable_free_entry(LLTABLE6(ifp), lle); local [all...] |
H A D | nd6.h | 425 void nd6_llinfo_setstate(struct llentry *lle, int newstate);
|
/freebsd-11.0-release/sys/kern/ |
H A D | subr_witness.c | 353 static void witness_lock_list_free(struct lock_list_entry *lle); 1067 struct lock_list_entry *lock_list, *lle; local 1172 lle = lock_list->ll_next; 1178 if (lle == NULL) 1180 plock = &lle->ll_children[lle->ll_count - 1]; 1234 for (j = 0, lle = lock_list; lle != NULL; lle = lle 1413 struct lock_list_entry **lock_list, *lle; local 1563 struct lock_list_entry **lock_list, *lle; local 1672 struct lock_list_entry *lle; local 1705 struct lock_list_entry *lock_list, *lle; local 2119 struct lock_list_entry *lle; local 2138 witness_lock_list_free(struct lock_list_entry *lle) argument 2150 struct lock_list_entry *lle; local 2237 struct lock_list_entry *lle; local [all...] |
/freebsd-11.0-release/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.0-release/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 1266 struct llentry *lle = NULL; local 1294 if (lle != NULL && (lle->la_flags & LLE_VALID)) 1295 memcpy(edst, lle->ll_addr, sizeof(edst)); 1332 if (lle != NULL && (lle->la_flags & LLE_VALID)) 1333 memcpy(edst, lle->ll_addr, sizeof(edst));
|