Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dif_tap.h81 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major,
83 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev);
/linux-6.12.1/drivers/net/
Dtap.c1360 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major, in tap_create_cdev() argument
1369 cdev_init(tap_cdev, &tap_fops); in tap_create_cdev()
1370 tap_cdev->owner = module; in tap_create_cdev()
1371 err = cdev_add(tap_cdev, *tap_major, TAP_NUM_DEVS); in tap_create_cdev()
1382 cdev_del(tap_cdev); in tap_create_cdev()
1390 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev) in tap_destroy_cdev() argument
1394 cdev_del(tap_cdev); in tap_destroy_cdev()