Lines Matching refs:fib_node

68 struct fib_node  struct
70 struct fib_node *fn_next; argument
88 struct fib_node **fz_hash; /* Hash table pointer */ argument
130 static __inline__ struct fib_node ** fz_chain_p(fn_key_t key, struct fn_zone *fz) in fz_chain_p()
135 static __inline__ struct fib_node * fz_chain(fn_key_t key, struct fn_zone *fz) in fz_chain()
152 #define FZ_MAX_DIVISOR ((PAGE_SIZE<<MAX_ORDER) / sizeof(struct fib_node *))
154 static struct fib_node **fz_hash_alloc(int divisor) in fz_hash_alloc()
156 unsigned long size = divisor * sizeof(struct fib_node *); in fz_hash_alloc()
161 return (struct fib_node **) in fz_hash_alloc()
168 struct fib_node **old_ht, in fn_rebuild_zone()
172 struct fib_node *f, **fp, *next; in fn_rebuild_zone()
187 static void fz_hash_free(struct fib_node **hash, int divisor) in fz_hash_free()
193 get_order(divisor * sizeof(struct fib_node *))); in fz_hash_free()
198 struct fib_node **ht, **old_ht; in fn_rehash_zone()
229 memset(ht, 0, new_divisor*sizeof(struct fib_node*)); in fn_rehash_zone()
243 static void fn_free_node(struct fib_node * f) in fn_free_node()
270 memset(fz->fz_hash, 0, fz->fz_divisor*sizeof(struct fib_node*)); in fn_new_zone()
301 struct fib_node *f; in fn_hash_lookup()
368 struct fib_node *f; in fn_hash_select_default()
452 static void rtmsg_fib(int, struct fib_node*, int, int,
461 struct fib_node *new_f, *f, **fp, **del_fp; in fn_hash_insert()
549 struct fib_node **ins_fp; in fn_hash_insert()
590 memset(new_f, 0, sizeof(struct fib_node)); in fn_hash_insert()
640 struct fib_node **fp, **del_fp, *f; in fn_hash_delete()
729 fn_flush_list(struct fib_node ** fp, int z, struct fn_hash *table) in fn_flush_list()
732 struct fib_node *f; in fn_flush_list()
782 struct fib_node *f; in fn_hash_get_info()
784 struct fib_node **fp = fz->fz_hash; in fn_hash_get_info()
820 struct fib_node *f) in fn_hash_dump_bucket()
887 static void rtmsg_fib(int event, struct fib_node* f, int z, int tb_id, in rtmsg_fib()
922 sizeof(struct fib_node), in fib_hash_init()