Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A 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.15/drivers/net/
H A Dtap.c1232 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major, in tap_create_cdev() argument
1241 cdev_init(tap_cdev, &tap_fops); in tap_create_cdev()
1242 tap_cdev->owner = module; in tap_create_cdev()
1243 err = cdev_add(tap_cdev, *tap_major, TAP_NUM_DEVS); in tap_create_cdev()
1254 cdev_del(tap_cdev); in tap_create_cdev()
1262 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev) in tap_destroy_cdev() argument
1266 cdev_del(tap_cdev); in tap_destroy_cdev()