/freebsd-13-stable/sys/net/ |
H A D | if_llatbl.h | 89 #define LLE_WLOCK(lle) rw_wlock(&(lle)->lle_lock) 90 #define LLE_RLOCK(lle) rw_rlock(&(lle)->lle_lock) 91 #define LLE_WUNLOCK(lle) rw_wunlock(&(lle)->lle_lock) 92 #define LLE_RUNLOCK(lle) rw_runlock(&(lle)->lle_lock) 93 #define LLE_DOWNGRADE(lle) rw_downgrade(&(lle) 257 llentry_mark_used(struct llentry *lle) argument [all...] |
H A D | if_llatbl.c | 85 * Dump lle state for a specific address family. 141 struct llentry *lle, *next; local 147 CK_LIST_FOREACH_SAFE(lle, &llt->lle_head[i], lle_next, next) { 148 error = f(llt, lle, farg); 166 htable_link_entry(struct lltable *llt, struct llentry *lle) argument 171 if ((lle->la_flags & LLE_LINKED) != 0) 180 hashidx = llt->llt_hash(lle, llt->llt_hsize); 183 lle->lle_tbl = llt; 184 lle->lle_head = lleh; 185 lle 193 htable_unlink_entry(struct llentry *lle) argument 224 htable_prefix_free_cb(struct lltable *llt, struct llentry *lle, void *farg) argument 242 struct llentry *lle, *next; local 273 struct llentry *lle, *next; local 285 lltable_drop_entry_queue(struct llentry *lle) argument 309 lltable_set_entry_addr(struct ifnet *ifp, struct llentry *lle, const char *linkhdr, size_t linkhdrsize, int lladdr_off) argument 329 lltable_try_set_entry_addr(struct ifnet *ifp, struct llentry *lle, const char *linkhdr, size_t linkhdrsize, int lladdr_off) argument 394 llentry_update_ifaddr(struct lltable *llt, struct llentry *lle, void *farg) argument 451 llentry_free(struct llentry *lle) argument 474 lltable_free_cb(struct lltable *llt, struct llentry *lle, void *farg) argument 492 struct llentry *lle, *next; local 525 struct llentry *lle; local 632 lltable_free_entry(struct lltable *llt, struct llentry *lle) argument 639 lltable_link_entry(struct lltable *llt, struct llentry *lle) argument 646 lltable_unlink_entry(struct lltable *llt, struct llentry *lle) argument 653 lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa) argument 686 struct llentry *lle, *lle_tmp; local 801 struct llentry *lle; local 871 struct llentry *lle; local [all...] |
H A D | if_infiniband.c | 297 struct llentry *lle = NULL; local 316 lle = ro->ro_lle; 317 if (lle != NULL && 318 (lle->la_flags & LLE_VALID) == 0) { 319 LLE_FREE(lle); 320 lle = NULL; /* redundant */ 323 if (lle == NULL) { 332 llentry_mark_used(lle); 334 if (lle != NULL) { 335 phdr = lle [all...] |
H A D | if_ethersubr.c | 290 struct llentry *lle = NULL; local 302 lle = ro->ro_lle; 303 if (lle != NULL && 304 (lle->la_flags & LLE_VALID) == 0) { 305 LLE_FREE(lle); 306 lle = NULL; /* redundant */ 309 if (lle == NULL) { 318 llentry_mark_used(lle); 320 if (lle != NULL) { 321 phdr = lle [all...] |
/freebsd-13-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-13-stable/sys/netinet/ |
H A D | in.c | 959 * Removes either all lle entries for given @ia, or lle 1254 * Do actual deallocation of @lle. 1259 struct llentry *lle; local 1261 lle = __containerof(ctx, struct llentry, lle_epoch_ctx); 1262 LLE_LOCK_DESTROY(lle); 1263 LLE_REQ_DESTROY(lle); 1264 free(lle, M_LLTABLE); 1272 in_lltable_mark_used(struct llentry *lle) argument 1275 LLE_REQ_LOCK(lle); 1285 in_lltable_destroy_lle(struct llentry *lle) argument 1295 struct in_llentry *lle; local 1320 in_lltable_match_prefix(const struct sockaddr *saddr, const struct sockaddr *smask, u_int flags, struct llentry *lle) argument 1353 in_lltable_free_entry(struct lltable *llt, struct llentry *lle) argument 1466 in_lltable_hash(const struct llentry *lle, uint32_t hsize) argument 1473 in_lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa) argument 1487 struct llentry *lle; local 1504 in_lltable_delete_entry(struct lltable *llt, struct llentry *lle) argument 1520 struct llentry *lle; local 1569 struct llentry *lle; local 1604 in_lltable_dump_entry(struct lltable *llt, struct llentry *lle, struct sysctl_req *wr) argument [all...] |
H A D | if_ether.c | 208 struct llentry *lle = (struct llentry *)arg; local 212 if (lle->la_flags & LLE_STATIC) { 215 LLE_WLOCK(lle); 216 if (callout_pending(&lle->lle_timer)) { 232 LLE_WUNLOCK(lle); 235 ifp = lle->lle_tbl->llt_ifp; 238 switch (lle->ln_state) { 250 LLE_REQ_LOCK(lle); 251 lle->r_skip_req = 1; 252 LLE_REQ_UNLOCK(lle); 1049 struct llentry *lle; local 1288 struct llentry *lle, *lle_tmp; local 1309 lltable_link_entry(LLTABLE(ifp), lle); local [all...] |
H A D | toecore.c | 405 toe_lle_event(void *arg __unused, struct llentry *lle, int evt) argument 415 LLE_WLOCK_ASSERT(lle); 417 ifp = lltable_get_ifp(lle->lle_tbl); 418 family = lltable_get_af(lle->lle_tbl); 434 lltable_fill_sa_entry(lle, sa); 446 KASSERT(lle->la_flags & LLE_VALID, 447 ("%s: %p resolved but not valid?", __func__, lle)); 449 lladdr = (uint8_t *)lle->ll_addr;
|
/freebsd-13-stable/sys/netinet6/ |
H A D | in6.c | 1187 * 1) Add lle entry for added address 2086 * Do actual deallocation of @lle. 2091 struct llentry *lle; local 2093 lle = __containerof(ctx, struct llentry, lle_epoch_ctx); 2094 LLE_LOCK_DESTROY(lle); 2095 LLE_REQ_DESTROY(lle); 2096 free(lle, M_LLTABLE); 2104 in6_lltable_destroy_lle(struct llentry *lle) argument 2107 LLE_WUNLOCK(lle); 2108 NET_EPOCH_CALL(in6_lltable_destroy_lle_unlocked, &lle 2114 struct in6_llentry *lle; local 2131 in6_lltable_match_prefix(const struct sockaddr *saddr, const struct sockaddr *smask, u_int flags, struct llentry *lle) argument 2163 in6_lltable_free_entry(struct lltable *llt, struct llentry *lle) argument 2221 in6_lltable_mark_used(struct llentry *lle) argument 2244 in6_lltable_hash(const struct llentry *lle, uint32_t hsize) argument 2251 in6_lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa) argument 2265 struct llentry *lle; local 2282 in6_lltable_delete_entry(struct lltable *llt, struct llentry *lle) argument 2299 struct llentry *lle; local 2345 struct llentry *lle; local 2380 in6_lltable_dump_entry(struct lltable *llt, struct llentry *lle, struct sysctl_req *wr) argument [all...] |
H A D | nd6.c | 155 nd6_lle_event(void *arg __unused, struct llentry *lle, int evt) argument 164 LLE_WLOCK_ASSERT(lle); 166 if (lltable_get_af(lle->lle_tbl) != AF_INET6) 172 KASSERT(lle->la_flags & LLE_VALID, 173 ("%s: %p resolved but not valid?", __func__, lle)); 182 ifp = lltable_get_ifp(lle->lle_tbl); 187 lltable_fill_sa_entry(lle, (struct sockaddr *)&dst); 196 bcopy(lle->ll_addr, gw.sdl_data, ifp->if_addrlen); 606 * lle in STALE state (remaining timer value stored in lle_remtime). 618 nd6_is_stale(struct llentry *lle, lon argument 686 nd6_llinfo_setstate(struct llentry *lle, int newstate) argument 1376 struct llentry *lle; local 2292 struct llentry *lle = NULL, *lle_tmp; local 2329 lltable_link_entry(LLTABLE6(ifp), lle); local 2332 lltable_free_entry(LLTABLE6(ifp), lle); local [all...] |
H A D | nd6.h | 369 void nd6_llinfo_setstate(struct llentry *lle, int newstate);
|
/freebsd-13-stable/sys/kern/ |
H A D | subr_witness.c | 350 static void witness_lock_list_free(struct lock_list_entry *lle); 1115 struct lock_list_entry *lock_list, *lle; local 1218 lle = lock_list->ll_next; 1224 if (lle == NULL) 1226 plock = &lle->ll_children[lle->ll_count - 1]; 1280 for (j = 0, lle = lock_list; lle != NULL; lle = lle 1508 struct lock_list_entry **lock_list, *lle; local 1659 struct lock_list_entry **lock_list, *lle; local 1768 struct lock_list_entry *lle; local 1801 struct lock_list_entry *lock_list, *lle; local 2204 struct lock_list_entry *lle; local 2223 witness_lock_list_free(struct lock_list_entry *lle) argument 2235 struct lock_list_entry *lle; local 2322 struct lock_list_entry *lle; local [all...] |
/freebsd-13-stable/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_verbs.c | 6890 struct llentry *lle; local 6893 dst_mac, &lle);
|