Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/
H A Dmacvtap.c36 static dev_t macvtap_major; variable
171 err = tap_get_minor(macvtap_major, &vlantap->tap); in macvtap_device_event()
175 devt = MKDEV(MAJOR(macvtap_major), vlantap->tap.minor); in macvtap_device_event()
179 tap_free_minor(macvtap_major, &vlantap->tap); in macvtap_device_event()
192 devt = MKDEV(MAJOR(macvtap_major), vlantap->tap.minor); in macvtap_device_event()
194 tap_free_minor(macvtap_major, &vlantap->tap); in macvtap_device_event()
213 err = tap_create_cdev(&macvtap_cdev, &macvtap_major, "macvtap", in macvtap_init()
237 tap_destroy_cdev(macvtap_major, &macvtap_cdev); in macvtap_init()
248 tap_destroy_cdev(macvtap_major, &macvtap_cdev); in macvtap_exit()