tag | line | file | source code |
alias_info | 95 | include/linux/net_alias.h | return (dev->alias_info != 0); |
alias_info | 133 | include/linux/net_alias.h | return (dev->alias_info)? dev->alias_info->taildev->next : dev->next; |
alias_info | 148 | include/linux/net_alias.h | pdev = dev->alias_info->taildev; /* point to last dev alias */ |
alias_info | 155 | include/linux/netdevice.h | struct net_alias_info *alias_info; /* main dev alias info */ |
alias_info | 65 | net/core/net_alias.c | static struct net_alias **net_alias_slow_findp(struct net_alias_info *alias_info, struct net_alias *alias); |
alias_info | 255 | net/core/net_alias.c | dev->alias_info = NULL; /* no aliasing recursion */ |
alias_info | 299 | net/core/net_alias.c | net_alias_slow_findp(struct net_alias_info *alias_info, struct net_alias *alias) |
alias_info | 308 | net/core/net_alias.c | n_aliases = alias_info->n_aliases; |
alias_info | 310 | net/core/net_alias.c | for (aliasp = &alias_info->hash_tab[idx];*aliasp;aliasp = &(*aliasp)->next) |
alias_info | 327 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 336 | net/core/net_alias.c | alias_info = main_dev->alias_info; |
alias_info | 373 | net/core/net_alias.c | if (!alias_info) |
alias_info | 375 | net/core/net_alias.c | alias_info = kmalloc(sizeof(struct net_alias_info), GFP_KERNEL); |
alias_info | 376 | net/core/net_alias.c | if (!alias_info) return NULL; /* ENOMEM */ |
alias_info | 377 | net/core/net_alias.c | memset(alias_info, 0, sizeof(struct net_alias_info)); |
alias_info | 430 | net/core/net_alias.c | aliasp = &alias_info->hash_tab[alias->hash]; |
alias_info | 438 | net/core/net_alias.c | if (!alias_info->n_aliases++) |
alias_info | 440 | net/core/net_alias.c | alias_info->taildev = main_dev; |
alias_info | 441 | net/core/net_alias.c | main_dev->alias_info = alias_info; |
alias_info | 448 | net/core/net_alias.c | dev->next = alias_info->taildev->next; |
alias_info | 449 | net/core/net_alias.c | alias_info->taildev->next = dev; |
alias_info | 450 | net/core/net_alias.c | alias_info->taildev = dev; |
alias_info | 463 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 480 | net/core/net_alias.c | alias_info = main_dev->alias_info; |
alias_info | 481 | net/core/net_alias.c | if (!alias_info) return NULL; /* ENODEV */ |
alias_info | 483 | net/core/net_alias.c | n_aliases = alias_info->n_aliases; |
alias_info | 510 | net/core/net_alias.c | for(aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
alias_info | 518 | net/core/net_alias.c | if ((aliasp = net_alias_slow_findp(alias_info, alias))) |
alias_info | 541 | net/core/net_alias.c | if ( dev == alias_info->taildev ) |
alias_info | 542 | net/core/net_alias.c | alias_info->taildev = prevdev; |
alias_info | 556 | net/core/net_alias.c | if (--alias_info->n_aliases == 0) /* last alias */ |
alias_info | 557 | net/core/net_alias.c | main_dev->alias_info = NULL; |
alias_info | 565 | net/core/net_alias.c | if (main_dev->alias_info == NULL) |
alias_info | 566 | net/core/net_alias.c | kfree_s(alias_info, sizeof(struct net_alias_info)); |
alias_info | 654 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 685 | net/core/net_alias.c | if (!(alias_info=dev->alias_info)) |
alias_info | 730 | net/core/net_alias.c | for (aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
alias_info | 738 | net/core/net_alias.c | if ((aliasp = net_alias_slow_findp(alias_info, alias))) |
alias_info | 765 | net/core/net_alias.c | aliasp = &alias_info->hash_tab[n_hash]; |
alias_info | 791 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 801 | net/core/net_alias.c | if (!(alias_info = main_dev->alias_info)) return; |
alias_info | 812 | net/core/net_alias.c | main_dev->next = alias_info->taildev->next; |
alias_info | 813 | net/core/net_alias.c | main_dev->alias_info = NULL; |
alias_info | 814 | net/core/net_alias.c | alias_info->taildev->next = NULL; |
alias_info | 855 | net/core/net_alias.c | kfree_s(alias_info, sizeof(alias_info)); |
alias_info | 979 | net/core/net_alias.c | dev->alias_info = 0; |
alias_info | 996 | net/core/net_alias.c | struct net_alias_info *alias_info = dev->alias_info; |
alias_info | 1000 | net/core/net_alias.c | if (!alias_info) return NULL; /* has aliases? */ |
alias_info | 1010 | net/core/net_alias.c | for(alias = alias_info->hash_tab[nat_hash_key(nat,sa)]; |
alias_info | 1034 | net/core/net_alias.c | struct net_alias_info *alias_info = dev->alias_info; |
alias_info | 1037 | net/core/net_alias.c | if (!alias_info) return NULL; /* has aliases? */ |
alias_info | 1039 | net/core/net_alias.c | for (alias=alias_info->hash_tab[HASH(addr32,family)]; |