Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/
Dtap.c109 struct idr minor_idr; member
418 retval = idr_alloc(&tap_major->minor_idr, tap, 1, TAP_NUM_DEVS, GFP_ATOMIC); in tap_get_minor()
445 idr_remove(&tap_major->minor_idr, tap->minor); in tap_free_minor()
469 tap = idr_find(&tap_major->minor_idr, minor); in dev_get_by_tap_file()
1325 idr_init(&tap_major->minor_idr); in tap_list_add()
1372 idr_destroy(&tap_major->minor_idr); in tap_destroy_cdev()