Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/
Dtap.c102 #define TAP_NUM_DEVS (1U << MINORBITS) macro
418 retval = idr_alloc(&tap_major->minor_idr, tap, 1, TAP_NUM_DEVS, GFP_ATOMIC); in tap_get_minor()
1339 err = alloc_chrdev_region(tap_major, 0, TAP_NUM_DEVS, device_name); in tap_create_cdev()
1345 err = cdev_add(tap_cdev, *tap_major, TAP_NUM_DEVS); in tap_create_cdev()
1358 unregister_chrdev_region(*tap_major, TAP_NUM_DEVS); in tap_create_cdev()
1369 unregister_chrdev_region(major, TAP_NUM_DEVS); in tap_destroy_cdev()