ax25_rt           197 include/net/ax25.h static inline void ax25_hold_route(ax25_route *ax25_rt)
ax25_rt           199 include/net/ax25.h 	refcount_inc(&ax25_rt->refcount);
ax25_rt           202 include/net/ax25.h void __ax25_put_route(ax25_route *ax25_rt);
ax25_rt           216 include/net/ax25.h static inline void ax25_put_route(ax25_route *ax25_rt)
ax25_rt           218 include/net/ax25.h 	if (refcount_dec_and_test(&ax25_rt->refcount))
ax25_rt           219 include/net/ax25.h 		__ax25_put_route(ax25_rt);
ax25_rt            44 net/ax25/ax25_route.c 	ax25_route *s, *t, *ax25_rt;
ax25_rt            47 net/ax25/ax25_route.c 	ax25_rt = ax25_route_list;
ax25_rt            48 net/ax25/ax25_route.c 	while (ax25_rt != NULL) {
ax25_rt            49 net/ax25/ax25_route.c 		s       = ax25_rt;
ax25_rt            50 net/ax25/ax25_route.c 		ax25_rt = ax25_rt->next;
ax25_rt            74 net/ax25/ax25_route.c 	ax25_route *ax25_rt;
ax25_rt            85 net/ax25/ax25_route.c 	ax25_rt = ax25_route_list;
ax25_rt            86 net/ax25/ax25_route.c 	while (ax25_rt != NULL) {
ax25_rt            87 net/ax25/ax25_route.c 		if (ax25cmp(&ax25_rt->callsign, &route->dest_addr) == 0 &&
ax25_rt            88 net/ax25/ax25_route.c 			    ax25_rt->dev == ax25_dev->dev) {
ax25_rt            89 net/ax25/ax25_route.c 			kfree(ax25_rt->digipeat);
ax25_rt            90 net/ax25/ax25_route.c 			ax25_rt->digipeat = NULL;
ax25_rt            92 net/ax25/ax25_route.c 				if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) {
ax25_rt            96 net/ax25/ax25_route.c 				ax25_rt->digipeat->lastrepeat = -1;
ax25_rt            97 net/ax25/ax25_route.c 				ax25_rt->digipeat->ndigi      = route->digi_count;
ax25_rt            99 net/ax25/ax25_route.c 					ax25_rt->digipeat->repeated[i] = 0;
ax25_rt           100 net/ax25/ax25_route.c 					ax25_rt->digipeat->calls[i]    = route->digi_addr[i];
ax25_rt           106 net/ax25/ax25_route.c 		ax25_rt = ax25_rt->next;
ax25_rt           109 net/ax25/ax25_route.c 	if ((ax25_rt = kmalloc(sizeof(ax25_route), GFP_ATOMIC)) == NULL) {
ax25_rt           114 net/ax25/ax25_route.c 	refcount_set(&ax25_rt->refcount, 1);
ax25_rt           115 net/ax25/ax25_route.c 	ax25_rt->callsign     = route->dest_addr;
ax25_rt           116 net/ax25/ax25_route.c 	ax25_rt->dev          = ax25_dev->dev;
ax25_rt           117 net/ax25/ax25_route.c 	ax25_rt->digipeat     = NULL;
ax25_rt           118 net/ax25/ax25_route.c 	ax25_rt->ip_mode      = ' ';
ax25_rt           120 net/ax25/ax25_route.c 		if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) {
ax25_rt           122 net/ax25/ax25_route.c 			kfree(ax25_rt);
ax25_rt           125 net/ax25/ax25_route.c 		ax25_rt->digipeat->lastrepeat = -1;
ax25_rt           126 net/ax25/ax25_route.c 		ax25_rt->digipeat->ndigi      = route->digi_count;
ax25_rt           128 net/ax25/ax25_route.c 			ax25_rt->digipeat->repeated[i] = 0;
ax25_rt           129 net/ax25/ax25_route.c 			ax25_rt->digipeat->calls[i]    = route->digi_addr[i];
ax25_rt           132 net/ax25/ax25_route.c 	ax25_rt->next   = ax25_route_list;
ax25_rt           133 net/ax25/ax25_route.c 	ax25_route_list = ax25_rt;
ax25_rt           139 net/ax25/ax25_route.c void __ax25_put_route(ax25_route *ax25_rt)
ax25_rt           141 net/ax25/ax25_route.c 	kfree(ax25_rt->digipeat);
ax25_rt           142 net/ax25/ax25_route.c 	kfree(ax25_rt);
ax25_rt           147 net/ax25/ax25_route.c 	ax25_route *s, *t, *ax25_rt;
ax25_rt           155 net/ax25/ax25_route.c 	ax25_rt = ax25_route_list;
ax25_rt           156 net/ax25/ax25_route.c 	while (ax25_rt != NULL) {
ax25_rt           157 net/ax25/ax25_route.c 		s       = ax25_rt;
ax25_rt           158 net/ax25/ax25_route.c 		ax25_rt = ax25_rt->next;
ax25_rt           182 net/ax25/ax25_route.c 	ax25_route *ax25_rt;
ax25_rt           191 net/ax25/ax25_route.c 	ax25_rt = ax25_route_list;
ax25_rt           192 net/ax25/ax25_route.c 	while (ax25_rt != NULL) {
ax25_rt           193 net/ax25/ax25_route.c 		if (ax25_rt->dev == ax25_dev->dev &&
ax25_rt           194 net/ax25/ax25_route.c 		    ax25cmp(&rt_option->dest_addr, &ax25_rt->callsign) == 0) {
ax25_rt           201 net/ax25/ax25_route.c 					ax25_rt->ip_mode = rt_option->arg;
ax25_rt           213 net/ax25/ax25_route.c 		ax25_rt = ax25_rt->next;
ax25_rt           252 net/ax25/ax25_route.c 	struct ax25_route *ax25_rt;
ax25_rt           259 net/ax25/ax25_route.c 	for (ax25_rt = ax25_route_list; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt           261 net/ax25/ax25_route.c 			return ax25_rt;
ax25_rt           288 net/ax25/ax25_route.c 		struct ax25_route *ax25_rt = v;
ax25_rt           292 net/ax25/ax25_route.c 		if (ax25cmp(&ax25_rt->callsign, &null_ax25_address) == 0)
ax25_rt           295 net/ax25/ax25_route.c 			callsign = ax2asc(buf, &ax25_rt->callsign);
ax25_rt           299 net/ax25/ax25_route.c 			ax25_rt->dev ? ax25_rt->dev->name : "???");
ax25_rt           301 net/ax25/ax25_route.c 		switch (ax25_rt->ip_mode) {
ax25_rt           313 net/ax25/ax25_route.c 		if (ax25_rt->digipeat != NULL)
ax25_rt           314 net/ax25/ax25_route.c 			for (i = 0; i < ax25_rt->digipeat->ndigi; i++)
ax25_rt           316 net/ax25/ax25_route.c 				     ax2asc(buf, &ax25_rt->digipeat->calls[i]));
ax25_rt           341 net/ax25/ax25_route.c 	ax25_route *ax25_rt;
ax25_rt           347 net/ax25/ax25_route.c 	for (ax25_rt = ax25_route_list; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt           349 net/ax25/ax25_route.c 			if (ax25cmp(&ax25_rt->callsign, addr) == 0 && ax25_rt->dev != NULL)
ax25_rt           350 net/ax25/ax25_route.c 				ax25_spe_rt = ax25_rt;
ax25_rt           351 net/ax25/ax25_route.c 			if (ax25cmp(&ax25_rt->callsign, &null_ax25_address) == 0 && ax25_rt->dev != NULL)
ax25_rt           352 net/ax25/ax25_route.c 				ax25_def_rt = ax25_rt;
ax25_rt           354 net/ax25/ax25_route.c 			if (ax25cmp(&ax25_rt->callsign, addr) == 0 && ax25_rt->dev == dev)
ax25_rt           355 net/ax25/ax25_route.c 				ax25_spe_rt = ax25_rt;
ax25_rt           356 net/ax25/ax25_route.c 			if (ax25cmp(&ax25_rt->callsign, &null_ax25_address) == 0 && ax25_rt->dev == dev)
ax25_rt           357 net/ax25/ax25_route.c 				ax25_def_rt = ax25_rt;
ax25_rt           361 net/ax25/ax25_route.c 	ax25_rt = ax25_def_rt;
ax25_rt           363 net/ax25/ax25_route.c 		ax25_rt = ax25_spe_rt;
ax25_rt           365 net/ax25/ax25_route.c 	return ax25_rt;
ax25_rt           392 net/ax25/ax25_route.c 	ax25_route *ax25_rt;
ax25_rt           396 net/ax25/ax25_route.c 	ax25_rt = ax25_get_route(addr, NULL);
ax25_rt           397 net/ax25/ax25_route.c 	if (!ax25_rt) {
ax25_rt           401 net/ax25/ax25_route.c 	if ((ax25->ax25_dev = ax25_dev_ax25dev(ax25_rt->dev)) == NULL) {
ax25_rt           418 net/ax25/ax25_route.c 	if (ax25_rt->digipeat != NULL) {
ax25_rt           419 net/ax25/ax25_route.c 		ax25->digipeat = kmemdup(ax25_rt->digipeat, sizeof(ax25_digi),
ax25_rt           476 net/ax25/ax25_route.c 	ax25_route *s, *ax25_rt = ax25_route_list;
ax25_rt           479 net/ax25/ax25_route.c 	while (ax25_rt != NULL) {
ax25_rt           480 net/ax25/ax25_route.c 		s       = ax25_rt;
ax25_rt           481 net/ax25/ax25_route.c 		ax25_rt = ax25_rt->next;