Lines Matching refs:fib_data
166 struct fib_data { struct
191 TAILQ_ENTRY(fib_data) entries; /* list of all fds in vnet */ argument
194 static bool rebuild_fd(struct fib_data *fd, const char *reason);
195 static bool rebuild_fd_flm(struct fib_data *fd, struct fib_lookup_module *flm_new);
198 static bool is_idx_free(struct fib_data *fd, uint32_t index);
202 static uint32_t fib_ref_nhop(struct fib_data *fd, struct nhop_object *nh);
203 static void fib_unref_nhop(struct fib_data *fd, struct nhop_object *nh);
280 VNET_DEFINE_STATIC(TAILQ_HEAD(fib_data_head, fib_data), fib_data_list);
414 fib_printf(int level, struct fib_data *fd, const char *func, char *fmt, ...) in fib_printf()
485 callout_calc_delay_ms(struct fib_data *fd) in callout_calc_delay_ms()
498 schedule_callout(struct fib_data *fd, enum fib_callout_action action, int delay_ms) in schedule_callout()
508 schedule_fd_rebuild(struct fib_data *fd, const char *reason) in schedule_fd_rebuild()
529 sync_rib_gen(struct fib_data *fd) in sync_rib_gen()
563 mark_diverge_time(struct fib_data *fd) in mark_diverge_time()
584 update_rebuild_delay(struct fib_data *fd, enum fib_callout_action action) in update_rebuild_delay()
637 update_algo_state(struct fib_data *fd) in update_algo_state()
660 need_immediate_sync(struct fib_data *fd, struct rib_cmd_info *rc) in need_immediate_sync()
690 apply_rtable_changes(struct fib_data *fd) in apply_rtable_changes()
710 fill_change_entry(struct fib_data *fd, struct fib_change_entry *ce, struct rib_cmd_info *rc) in fill_change_entry()
739 queue_rtable_change(struct fib_data *fd, struct rib_cmd_info *rc) in queue_rtable_change()
774 struct fib_data *fd = (struct fib_data *)_data; in handle_rtable_change_cb()
886 estimate_nhop_scale(const struct fib_data *old_fd, struct fib_data *fd) in estimate_nhop_scale()
902 struct fib_data *fd;
918 struct fib_data *fd = w->fd; in sync_algo_end_cb()
980 sync_algo(struct fib_data *fd) in sync_algo()
1007 schedule_destroy_fd_instance(struct fib_data *fd, bool in_callout) in schedule_destroy_fd_instance()
1050 struct fib_data *fd, *fd_tmp; in fib_cleanup_algo()
1095 destroy_fd_instance(struct fib_data *fd) in destroy_fd_instance()
1132 struct fib_data *fd; in destroy_fd_instance_epoch()
1134 fd = __containerof(ctx, struct fib_data, fd_epoch_ctx); in destroy_fd_instance_epoch()
1154 struct fib_data *old_fd, struct fib_data **pfd) in try_setup_fd_instance()
1156 struct fib_data *fd; in try_setup_fd_instance()
1161 fd = malloc(sizeof(struct fib_data), M_RTABLE, M_NOWAIT | M_ZERO); in try_setup_fd_instance()
1248 struct fib_data *orig_fd, struct fib_data **pfd, bool attach) in setup_fd_instance()
1250 struct fib_data *prev_fd, *new_fd; in setup_fd_instance()
1317 execute_callout_action(struct fib_data *fd) in execute_callout_action()
1359 struct fib_data *fd = (struct fib_data *)_data; in handle_fd_callout()
1376 rebuild_fd_flm(struct fib_data *fd, struct fib_lookup_module *flm_new) in rebuild_fd_flm()
1378 struct fib_data *fd_new, *fd_tmp = NULL; in rebuild_fd_flm()
1400 rebuild_fd(struct fib_data *fd, const char *reason) in rebuild_fd()
1457 struct fib_data *fd = NULL; in set_fib_algo()
1590 replace_rtables_family(struct fib_dp **pdp, struct fib_data *fd, struct fib_dp *dp) in replace_rtables_family()
1658 fib_set_datapath_ptr(struct fib_data *fd, struct fib_dp *dp) in fib_set_datapath_ptr()
1726 fib_set_algo_ptr(struct fib_data *fd, void *algo_data) in fib_set_algo_ptr()
1746 fib_get_rh(struct fib_data *fd) in fib_get_rh()
1756 fib_get_nhop_array(struct fib_data *fd) in fib_get_nhop_array()
1774 fib_get_nhop_idx(struct fib_data *fd, struct nhop_object *nh) in fib_get_nhop_idx()
1781 is_idx_free(struct fib_data *fd, uint32_t index) in is_idx_free()
1788 fib_ref_nhop(struct fib_data *fd, struct nhop_object *nh) in fib_ref_nhop()
1831 fib_schedule_release_nhop(struct fib_data *fd, struct nhop_object *nh) in fib_schedule_release_nhop()
1849 fib_unref_nhop(struct fib_data *fd, struct nhop_object *nh) in fib_unref_nhop()
1951 struct fib_data *fd = NULL; in fib_select_algo_initial()