Lines Matching refs:wimax_dev
52 void wimax_id_table_add(struct wimax_dev *wimax_dev) in wimax_id_table_add() argument
54 d_fnstart(3, NULL, "(wimax_dev %p)\n", wimax_dev); in wimax_id_table_add()
56 list_add(&wimax_dev->id_table_node, &wimax_id_table); in wimax_id_table_add()
58 d_fnend(3, NULL, "(wimax_dev %p)\n", wimax_dev); in wimax_id_table_add()
72 struct wimax_dev *wimax_dev_get_by_genl_info( in wimax_dev_get_by_genl_info()
75 struct wimax_dev *wimax_dev = NULL; in wimax_dev_get_by_genl_info() local
79 list_for_each_entry(wimax_dev, &wimax_id_table, id_table_node) { in wimax_dev_get_by_genl_info()
80 if (wimax_dev->net_dev->ifindex == ifindex) { in wimax_dev_get_by_genl_info()
81 dev_hold(wimax_dev->net_dev); in wimax_dev_get_by_genl_info()
85 wimax_dev = NULL; in wimax_dev_get_by_genl_info()
91 info, ifindex, wimax_dev); in wimax_dev_get_by_genl_info()
92 return wimax_dev; in wimax_dev_get_by_genl_info()
101 void wimax_id_table_rm(struct wimax_dev *wimax_dev) in wimax_id_table_rm() argument
104 list_del_init(&wimax_dev->id_table_node); in wimax_id_table_rm()
118 struct wimax_dev *wimax_dev; in wimax_id_table_release() local
124 list_for_each_entry(wimax_dev, &wimax_id_table, id_table_node) { in wimax_id_table_release()
126 __func__, wimax_dev, wimax_dev->net_dev->ifindex); in wimax_id_table_release()