Home
last modified time | relevance | path

Searched refs:new_f (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/net/ipv4/
Dfib_hash.c461 struct fib_node *new_f, *f, **fp, **del_fp; in fn_hash_insert() local
586 new_f = kmem_cache_alloc(fn_hash_kmem, SLAB_KERNEL); in fn_hash_insert()
587 if (new_f == NULL) in fn_hash_insert()
590 memset(new_f, 0, sizeof(struct fib_node)); in fn_hash_insert()
592 new_f->fn_key = key; in fn_hash_insert()
594 new_f->fn_tos = tos; in fn_hash_insert()
596 new_f->fn_type = type; in fn_hash_insert()
597 new_f->fn_scope = r->rtm_scope; in fn_hash_insert()
598 FIB_INFO(new_f) = fi; in fn_hash_insert()
604 new_f->fn_next = f; in fn_hash_insert()
[all …]
/linux-2.4.37.9/net/decnet/
Ddn_table.c440 struct dn_fib_node *new_f, *f, **fp, **del_fp; in dn_fib_table_insert() local
533 new_f = kmem_cache_alloc(dn_hash_kmem, SLAB_KERNEL); in dn_fib_table_insert()
534 if (new_f == NULL) in dn_fib_table_insert()
537 memset(new_f, 0, sizeof(struct dn_fib_node)); in dn_fib_table_insert()
539 new_f->fn_key = key; in dn_fib_table_insert()
540 new_f->fn_type = type; in dn_fib_table_insert()
541 new_f->fn_scope = r->rtm_scope; in dn_fib_table_insert()
542 DN_FIB_INFO(new_f) = fi; in dn_fib_table_insert()
544 new_f->fn_next = f; in dn_fib_table_insert()
546 *fp = new_f; in dn_fib_table_insert()
[all …]