Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ppp/
Dppp_generic.c213 struct idr units_idr; member
1109 idr_init(&pn->units_idr); in ppp_init_net()
1135 idr_for_each_entry(&pn->units_idr, ppp, id) in ppp_exit_net()
1144 idr_destroy(&pn->units_idr); in ppp_exit_net()
1164 ret = unit_get(&pn->units_idr, ppp, 0); in ppp_unit_register()
1172 unit_put(&pn->units_idr, ret); in ppp_unit_register()
1173 ret = unit_get(&pn->units_idr, ppp, ret + 1); in ppp_unit_register()
1184 if (unit_find(&pn->units_idr, unit)) { in ppp_unit_register()
1188 ret = unit_set(&pn->units_idr, ppp, unit); in ppp_unit_register()
1212 unit_put(&pn->units_idr, ppp->file.index); in ppp_unit_register()
[all …]