Searched refs:im (Results 1 – 5 of 5) sorted by relevance
/net/sched/ |
D | em_ipt.c | 42 static int check_match(struct net *net, struct em_ipt_match *im, int mdata_len) in check_match() argument 52 mtpar.hook_mask = 1 << im->hook; in check_match() 53 mtpar.family = im->match->family; in check_match() 54 mtpar.match = im->match; in check_match() 56 mtpar.matchinfo = (void *)im->match_data; in check_match() 130 struct em_ipt_match *im = NULL; in em_ipt_change() local 160 im = kzalloc(sizeof(*im) + mdata_len, GFP_KERNEL); in em_ipt_change() 161 if (!im) { in em_ipt_change() 166 im->match = match; in em_ipt_change() 167 im->hook = nla_get_u32(tb[TCA_EM_IPT_HOOK]); in em_ipt_change() [all …]
|
/net/ipv4/ |
D | igmp.c | 158 static void igmpv3_add_delrec(struct in_device *in_dev, struct ip_mc_list *im, 160 static void igmpv3_del_delrec(struct in_device *in_dev, struct ip_mc_list *im); 169 static void ip_ma_put(struct ip_mc_list *im) in ip_ma_put() argument 171 if (refcount_dec_and_test(&im->refcnt)) { in ip_ma_put() 172 in_dev_put(im->interface); in ip_ma_put() 173 kfree_rcu(im, rcu); in ip_ma_put() 204 static void igmp_stop_timer(struct ip_mc_list *im) in igmp_stop_timer() argument 206 spin_lock_bh(&im->lock); in igmp_stop_timer() 207 if (del_timer(&im->timer)) in igmp_stop_timer() 208 refcount_dec(&im->refcnt); in igmp_stop_timer() [all …]
|
/net/ipv6/ |
D | anycast.c | 487 struct ifacaddr6 *im = NULL; in ac6_get_first() local 498 im = idev->ac_list; in ac6_get_first() 499 if (im) { in ac6_get_first() 505 return im; in ac6_get_first() 508 static struct ifacaddr6 *ac6_get_next(struct seq_file *seq, struct ifacaddr6 *im) in ac6_get_next() argument 512 im = im->aca_next; in ac6_get_next() 513 while (!im) { in ac6_get_next() 526 im = state->idev->ac_list; in ac6_get_next() 528 return im; in ac6_get_next() 533 struct ifacaddr6 *im = ac6_get_first(seq); in ac6_get_idx() local [all …]
|
D | mcast.c | 727 static void mld_add_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_add_delrec() argument 741 spin_lock_bh(&im->mca_lock); in mld_add_delrec() 743 pmc->idev = im->idev; in mld_add_delrec() 745 pmc->mca_addr = im->mca_addr; in mld_add_delrec() 747 pmc->mca_sfmode = im->mca_sfmode; in mld_add_delrec() 751 pmc->mca_tomb = im->mca_tomb; in mld_add_delrec() 752 pmc->mca_sources = im->mca_sources; in mld_add_delrec() 753 im->mca_tomb = im->mca_sources = NULL; in mld_add_delrec() 757 spin_unlock_bh(&im->mca_lock); in mld_add_delrec() 765 static void mld_del_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_del_delrec() argument [all …]
|
/net/sunrpc/ |
D | svcauth_unix.c | 107 struct ip_map *im = container_of(item, struct ip_map,h); in ip_map_put() local 111 auth_domain_put(&im->m_client->h); in ip_map_put() 112 kfree_rcu(im, m_rcu); in ip_map_put() 156 struct ip_map *im = container_of(h, struct ip_map, h); in ip_map_request() local 158 if (ipv6_addr_v4mapped(&(im->m_addr))) { in ip_map_request() 159 snprintf(text_addr, 20, "%pI4", &im->m_addr.s6_addr32[3]); in ip_map_request() 161 snprintf(text_addr, 40, "%pI6", &im->m_addr); in ip_map_request() 163 qword_add(bpp, blen, im->m_class); in ip_map_request() 257 struct ip_map *im; in ip_map_show() local 265 im = container_of(h, struct ip_map, h); in ip_map_show() [all …]
|