Home
last modified time | relevance | path

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

/openbmc/linux/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);
/openbmc/linux/drivers/net/
H A Dtap.c1356 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major, in tap_create_cdev() argument
1365 cdev_init(tap_cdev, &tap_fops); in tap_create_cdev()
1366 tap_cdev->owner = module; in tap_create_cdev()
1367 err = cdev_add(tap_cdev, *tap_major, TAP_NUM_DEVS); in tap_create_cdev()
1378 cdev_del(tap_cdev); in tap_create_cdev()
1386 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev) in tap_destroy_cdev() argument
1390 cdev_del(tap_cdev); in tap_destroy_cdev()