Lines Matching refs:bfnew
1010 bridge_fwd_t *bfp, *bfnew;
1074 bfnew = fwd_alloc(newaddr, 1, RBRIDGE_NICKNAME_NONE);
1075 if (bfnew != NULL)
1079 bfnew = bfp;
1081 bfnew = fwd_alloc(newaddr, bfp->bf_nlinks + 1,
1083 if (bfnew != NULL) {
1087 bfnew->bf_nlinks = bfp->bf_nlinks;
1088 bcopy(bfp->bf_links, bfnew->bf_links,
1095 if (bfnew != NULL) {
1096 bfnew->bf_links[bfnew->bf_nlinks++] = blp;
1102 if (bfnew != bfp) {
1104 avl_insert(&bip->bi_fwd, bfnew, idx);
1105 bfnew->bf_flags |= (BFF_INTREE | BFF_LOCALADDR);
1106 atomic_inc_uint(&bfnew->bf_refs); /* avl entry */
1117 if (bfnew != NULL && bfp != NULL && bfnew != bfp)