Searched refs:i_ipaddr (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/net/rds/ |
D | ib_rdma.c | 93 struct rds_ib_ipaddr *i_ipaddr; in rds_ib_get_device() local 97 list_for_each_entry_rcu(i_ipaddr, &rds_ibdev->ipaddr_list, list) { in rds_ib_get_device() 98 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_get_device() 112 struct rds_ib_ipaddr *i_ipaddr; in rds_ib_add_ipaddr() local 114 i_ipaddr = kmalloc(sizeof *i_ipaddr, GFP_KERNEL); in rds_ib_add_ipaddr() 115 if (!i_ipaddr) in rds_ib_add_ipaddr() 118 i_ipaddr->ipaddr = ipaddr; in rds_ib_add_ipaddr() 121 list_add_tail_rcu(&i_ipaddr->list, &rds_ibdev->ipaddr_list); in rds_ib_add_ipaddr() 129 struct rds_ib_ipaddr *i_ipaddr; in rds_ib_remove_ipaddr() local 134 list_for_each_entry_rcu(i_ipaddr, &rds_ibdev->ipaddr_list, list) { in rds_ib_remove_ipaddr() [all …]
|
D | ib.c | 95 struct rds_ib_ipaddr *i_ipaddr, *i_next; in rds_ib_dev_free() local 106 list_for_each_entry_safe(i_ipaddr, i_next, &rds_ibdev->ipaddr_list, list) { in rds_ib_dev_free() 107 list_del(&i_ipaddr->list); in rds_ib_dev_free() 108 kfree(i_ipaddr); in rds_ib_dev_free()
|