Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dif_tap.h80 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major,
82 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev);
/Linux-v5.4/drivers/net/
Dtap.c1334 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major, in tap_create_cdev() argument
1343 cdev_init(tap_cdev, &tap_fops); in tap_create_cdev()
1344 tap_cdev->owner = module; in tap_create_cdev()
1345 err = cdev_add(tap_cdev, *tap_major, TAP_NUM_DEVS); in tap_create_cdev()
1356 cdev_del(tap_cdev); in tap_create_cdev()
1364 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev) in tap_destroy_cdev() argument
1368 cdev_del(tap_cdev); in tap_destroy_cdev()