Lines Matching refs:i_ipaddr
49 struct rds_ib_ipaddr *i_ipaddr; in rds_ib_get_device() local
53 list_for_each_entry_rcu(i_ipaddr, &rds_ibdev->ipaddr_list, list) { in rds_ib_get_device()
54 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_get_device()
68 struct rds_ib_ipaddr *i_ipaddr; in rds_ib_add_ipaddr() local
70 i_ipaddr = kmalloc(sizeof *i_ipaddr, GFP_KERNEL); in rds_ib_add_ipaddr()
71 if (!i_ipaddr) in rds_ib_add_ipaddr()
74 i_ipaddr->ipaddr = ipaddr; in rds_ib_add_ipaddr()
77 list_add_tail_rcu(&i_ipaddr->list, &rds_ibdev->ipaddr_list); in rds_ib_add_ipaddr()
85 struct rds_ib_ipaddr *i_ipaddr; in rds_ib_remove_ipaddr() local
90 list_for_each_entry_rcu(i_ipaddr, &rds_ibdev->ipaddr_list, list) { in rds_ib_remove_ipaddr()
91 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_remove_ipaddr()
92 list_del_rcu(&i_ipaddr->list); in rds_ib_remove_ipaddr()
93 to_free = i_ipaddr; in rds_ib_remove_ipaddr()