Searched refs:tap_cdev (Results 1 – 2 of 2) sorted by relevance
80 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major,82 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev);
1334 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major, in tap_create_cdev() argument1343 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() argument1368 cdev_del(tap_cdev); in tap_destroy_cdev()