Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/
H A Dtap.c111 struct idr minor_idr; member
428 retval = idr_alloc(&tap_major->minor_idr, tap, 1, TAP_NUM_DEVS, GFP_ATOMIC); in tap_get_minor()
455 idr_remove(&tap_major->minor_idr, tap->minor); in tap_free_minor()
479 tap = idr_find(&tap_major->minor_idr, minor); in dev_get_by_tap_file()
1352 idr_init(&tap_major->minor_idr); in tap_list_add()
1399 idr_destroy(&tap_major->minor_idr); in tap_destroy_cdev()