Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/
Dtap.c104 #define TAP_NUM_DEVS (1U << MINORBITS) macro
428 retval = idr_alloc(&tap_major->minor_idr, tap, 1, TAP_NUM_DEVS, GFP_ATOMIC); in tap_get_minor()
1361 err = alloc_chrdev_region(tap_major, 0, TAP_NUM_DEVS, device_name); in tap_create_cdev()
1367 err = cdev_add(tap_cdev, *tap_major, TAP_NUM_DEVS); in tap_create_cdev()
1380 unregister_chrdev_region(*tap_major, TAP_NUM_DEVS); in tap_create_cdev()
1391 unregister_chrdev_region(major, TAP_NUM_DEVS); in tap_destroy_cdev()