Home
last modified time | relevance | path

Searched refs:i_ipaddr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/rds/
H A Dib_rdma.c53 struct rds_ib_ipaddr *i_ipaddr; in rds_ib_get_device() local
58 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_get_device()
72 struct rds_ib_ipaddr *i_ipaddr; in rds_ib_add_ipaddr() local
74 i_ipaddr = kmalloc(sizeof *i_ipaddr, GFP_KERNEL); in rds_ib_add_ipaddr()
75 if (!i_ipaddr) in rds_ib_add_ipaddr()
78 i_ipaddr->ipaddr = ipaddr; in rds_ib_add_ipaddr()
81 list_add_tail_rcu(&i_ipaddr->list, &rds_ibdev->ipaddr_list); in rds_ib_add_ipaddr()
89 struct rds_ib_ipaddr *i_ipaddr; in rds_ib_remove_ipaddr() local
95 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_remove_ipaddr()
96 list_del_rcu(&i_ipaddr->list); in rds_ib_remove_ipaddr()
[all …]
H A Dib.c100 struct rds_ib_ipaddr *i_ipaddr, *i_next; in rds_ib_dev_free() local
111 list_for_each_entry_safe(i_ipaddr, i_next, &rds_ibdev->ipaddr_list, list) { in rds_ib_dev_free()
112 list_del(&i_ipaddr->list); in rds_ib_dev_free()
113 kfree(i_ipaddr); in rds_ib_dev_free()