Lines Matching refs:flm_new
196 static bool rebuild_fd_flm(struct fib_data *fd, struct fib_lookup_module *flm_new);
1321 struct fib_lookup_module *flm_new = NULL; in execute_callout_action() local
1333 flm_new = fib_check_best_algo(fd->fd_rh, fd->fd_flm); in execute_callout_action()
1334 if (flm_new != NULL) in execute_callout_action()
1344 result = rebuild_fd_flm(fd, flm_new != NULL ? flm_new : fd->fd_flm); in execute_callout_action()
1345 if (flm_new != NULL) in execute_callout_action()
1346 fib_unref_algo(flm_new); in execute_callout_action()
1377 rebuild_fd_flm(struct fib_data *fd, struct fib_lookup_module *flm_new) in rebuild_fd_flm() argument
1382 if (flm_new == fd->fd_flm) in rebuild_fd_flm()
1385 FD_PRINTF(LOG_INFO, fd, "switching algo to %s", flm_new->flm_name); in rebuild_fd_flm()
1387 result = setup_fd_instance(flm_new, fd->fd_rh, fd_tmp, &fd_new, true); in rebuild_fd_flm()
1403 struct fib_lookup_module *flm_new = NULL; in rebuild_fd() local
1407 flm_new = fib_check_best_algo(fd->fd_rh, fd->fd_flm); in rebuild_fd()
1410 result = rebuild_fd_flm(fd, flm_new != NULL ? flm_new : fd->fd_flm); in rebuild_fd()
1411 if (flm_new != NULL) in rebuild_fd()
1412 fib_unref_algo(flm_new); in rebuild_fd()