/freebsd-10.0-release/sys/net/ |
H A D | if_llatbl.h | 87 #define LLE_WLOCK(lle) rw_wlock(&(lle)->lle_lock) 88 #define LLE_RLOCK(lle) rw_rlock(&(lle)->lle_lock) 89 #define LLE_WUNLOCK(lle) rw_wunlock(&(lle)->lle_lock) 90 #define LLE_RUNLOCK(lle) rw_runlock(&(lle)->lle_lock) 91 #define LLE_DOWNGRADE(lle) rw_downgrade(&(lle) [all...] |
H A D | if_llatbl.c | 104 llentry_free(struct llentry *lle) argument 109 IF_AFDATA_WLOCK_ASSERT(lle->lle_tbl->llt_ifp); 110 LLE_WLOCK_ASSERT(lle); 112 LIST_REMOVE(lle, lle_next); 113 lle->la_flags &= ~(LLE_VALID | LLE_LINKED); 116 while ((lle->la_numheld > 0) && (lle->la_hold != NULL)) { 117 next = lle->la_hold->m_nextpkt; 118 m_freem(lle->la_hold); 119 lle 169 struct llentry *lle, *next; local 272 struct llentry *lle; local 388 struct llentry *lle; local 459 struct llentry *lle; local [all...] |
H A D | if_ethersubr.c | 174 struct llentry *lle = NULL; local 183 lle = ro->ro_lle; 203 if (lle != NULL && (lle->la_flags & LLE_VALID)) 204 memcpy(edst, &lle->ll_addr.mac16, sizeof(edst)); 206 error = arpresolve(ifp, rt0, m, dst, edst, &lle); 241 if (lle != NULL && (lle->la_flags & LLE_VALID)) 242 memcpy(edst, &lle->ll_addr.mac16, sizeof(edst)); 244 error = nd6_storelladdr(ifp, m, dst, (u_char *)edst, &lle); [all...] |
H A D | flowtable.c | 1122 struct llentry *lle; local 1188 lle = __DEVOLATILE(struct llentry *, fle->f_lle); 1190 && lle != NULL 1197 && (lle->la_flags & LLE_VALID)) { 1235 struct llentry *lle = NULL; local 1261 lle = llentry_alloc(ifp, LLTABLE6(ifp), l3addr); 1270 lle = llentry_alloc(ifp, LLTABLE(ifp), l3addr); 1274 ro->ro_lle = lle; 1276 if (lle == NULL) { 1285 LLE_FREE(lle); 1390 struct llentry *lle; local [all...] |
H A D | if_arcsubr.c | 113 struct llentry *lle; local 135 m, dst, &adst, &lle); 173 error = nd6_storelladdr(ifp, m, dst, (u_char *)&adst, &lle);
|
H A D | if_fddisubr.c | 121 struct llentry *lle; local 144 error = arpresolve(ifp, rt0, m, dst, edst, &lle); 180 error = nd6_storelladdr(ifp, m, dst, (u_char *)edst, &lle);
|
H A D | if_fwsubr.c | 92 struct llentry *lle; local 142 error = arpresolve(ifp, ro ? ro->ro_rt : NULL, m, dst, (u_char *) destfw, &lle); 172 (u_char *) destfw, &lle);
|
H A D | if_iso88025subr.c | 245 struct llentry *lle; local 289 error = arpresolve(ifp, rt0, m, dst, edst, &lle); 324 error = nd6_storelladdr(ifp, m, dst, (u_char *)edst, &lle);
|
/freebsd-10.0-release/sys/ofed/include/net/ |
H A D | netevent.h | 45 _handle_arp_update_event(void *arg, struct llentry *lle, int evt __unused) argument 50 nb->notifier_call(nb, NETEVENT_NEIGH_UPDATE, lle);
|
/freebsd-10.0-release/sys/netinet/ |
H A D | in.c | 1266 in_lltable_free(struct lltable *llt, struct llentry *lle) argument 1268 LLE_WUNLOCK(lle); 1269 LLE_LOCK_DESTROY(lle); 1270 free(lle, M_LLTABLE); 1276 struct in_llentry *lle; local 1278 lle = malloc(sizeof(struct in_llentry), M_LLTABLE, M_NOWAIT | M_ZERO); 1279 if (lle == NULL) /* NB: caller generates msg */ 1286 lle->base.la_expire = time_uptime; /* mark expired */ 1287 lle->l3_addr4 = *(const struct sockaddr_in *)l3addr; 1288 lle 1306 struct llentry *lle, *next; local 1414 struct llentry *lle; local 1494 struct llentry *lle; local [all...] |
H A D | toecore.c | 386 toe_lle_event(void *arg __unused, struct llentry *lle, int evt) argument 394 LLE_WLOCK_ASSERT(lle); 396 ifp = lle->lle_tbl->llt_ifp; 397 sa = L3_ADDR(lle); 400 ("%s: lle_event %d for lle %p but sa %p !INET && !INET6", 401 __func__, evt, lle, sa)); 425 KASSERT(lle->la_flags & LLE_VALID, 426 ("%s: %p resolved but not valid?", __func__, lle)); 428 lladdr = (uint8_t *)&lle->ll_addr; 456 struct llentry *lle; local 520 struct llentry *lle; local [all...] |
H A D | if_ether.c | 169 struct llentry *lle = (struct llentry *)arg; local 172 if (lle->la_flags & LLE_STATIC) { 173 LLE_WUNLOCK(lle); 177 ifp = lle->lle_tbl->llt_ifp; 180 if ((lle->la_flags & LLE_DELETED) == 0) { 183 if (lle->la_flags & LLE_VALID) 187 EVENTHANDLER_INVOKE(lle_event, lle, evt); 190 callout_stop(&lle->la_timer); 192 /* XXX: LOR avoidance. We still have ref on lle. */ 193 LLE_WUNLOCK(lle); 304 arpresolve(struct ifnet *ifp, struct rtentry *rt0, struct mbuf *m, const struct sockaddr *dst, u_char *desten, struct llentry **lle) argument 805 struct llentry *lle = NULL; local 907 struct llentry *lle; local [all...] |
H A D | if_ether.h | 119 const struct sockaddr *dst, u_char *desten, struct llentry **lle);
|
/freebsd-10.0-release/sys/kern/ |
H A D | subr_witness.c | 360 static void witness_lock_list_free(struct lock_list_entry *lle); 1054 struct lock_list_entry *lock_list, *lle; local 1159 lle = lock_list->ll_next; 1165 if (lle == NULL) 1167 plock = &lle->ll_children[lle->ll_count - 1]; 1215 for (j = 0, lle = lock_list; lle != NULL; lle = lle 1394 struct lock_list_entry **lock_list, *lle; local 1544 struct lock_list_entry **lock_list, *lle; local 1653 struct lock_list_entry *lle; local 1685 struct lock_list_entry *lock_list, *lle; local 2098 struct lock_list_entry *lle; local 2117 witness_lock_list_free(struct lock_list_entry *lle) argument 2129 struct lock_list_entry *lle; local 2185 struct lock_list_entry *lle; local [all...] |
/freebsd-10.0-release/sys/netinet6/ |
H A D | in6.c | 2506 in6_lltable_free(struct lltable *llt, struct llentry *lle) argument 2508 LLE_WUNLOCK(lle); 2509 LLE_LOCK_DESTROY(lle); 2510 free(lle, M_LLTABLE); 2516 struct in6_llentry *lle; local 2518 lle = malloc(sizeof(struct in6_llentry), M_LLTABLE, M_NOWAIT | M_ZERO); 2519 if (lle == NULL) /* NB: caller generates msg */ 2522 lle->l3_addr6 = *(const struct sockaddr_in6 *)l3addr; 2523 lle->base.lle_refcnt = 1; 2524 lle 2538 struct llentry *lle, *next; local 2608 struct llentry *lle; local 2682 struct llentry *lle; local [all...] |
H A D | nd6.c | 977 struct llentry *lle; local 989 if ((lle = nd6_lookup(&addr->sin6_addr, 0, ifp)) != NULL) { 990 LLE_RUNLOCK(lle); 1845 * lle state or asked changes here as the logic is too 1855 struct sockaddr_in6 *dst, struct rtentry *rt0, struct llentry *lle, 1860 struct llentry *ln = lle; 1867 if (lle != NULL) { 1869 LLE_WLOCK_ASSERT(lle); 1871 KASSERT(chain != NULL, (" lle locked but no mbuf chain pointer passed")); 1891 flags = ((m != NULL) || (lle ! 1854 nd6_output_lle(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m0, struct sockaddr_in6 *dst, struct rtentry *rt0, struct llentry *lle, struct mbuf **chain) argument 2184 nd6_storelladdr(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, u_char *desten, struct llentry **lle) argument [all...] |
H A D | ip6_input.c | 439 struct llentry *lle = NULL; local 702 lle = lla_lookup(LLTABLE6(ifp), 0, 705 if ((lle != NULL) && (lle->la_flags & LLE_IFADDR)) { 720 KASSERT(ifa != NULL, ("%s: ifa not found for lle %p", 721 __func__, lle)); 746 LLE_RUNLOCK(lle); 755 if (lle != NULL) 756 LLE_RUNLOCK(lle);
|
/freebsd-10.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-10.0-release/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 1260 struct llentry *lle = NULL; local 1268 lle = ro->ro_lle; 1291 if (lle != NULL && (lle->la_flags & LLE_VALID)) 1292 memcpy(edst, &lle->ll_addr.mac8, sizeof(edst)); 1296 error = arpresolve(ifp, rt0, m, dst, edst, &lle); 1329 if (lle != NULL && (lle->la_flags & LLE_VALID)) 1330 memcpy(edst, &lle->ll_addr.mac8, sizeof(edst)); 1334 error = nd6_storelladdr(ifp, m, dst, (u_char *)edst, &lle); [all...] |
/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/ |
H A D | addr.c | 352 struct llentry *lle; local 471 error = arpresolve(ifp, rte, NULL, dst_in, edst, &lle); 476 error = nd6_storelladdr(ifp, NULL, dst_in, (u_char *)edst, &lle);
|