Searched refs:overflow_maj (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/infiniband/core/
H A Ducm.c1232 static dev_t overflow_maj; find_overflow_devnum() variable
1237 if (!overflow_maj) { find_overflow_devnum()
1238 ret = alloc_chrdev_region(&overflow_maj, 0, IB_UCM_MAX_DEVICES, find_overflow_devnum()
1275 base = devnum + overflow_maj; ib_ucm_add_one()
1366 if (overflow_maj) ib_ucm_cleanup()
1367 unregister_chrdev_region(overflow_maj, IB_UCM_MAX_DEVICES); ib_ucm_cleanup()
H A Duser_mad.c1128 static dev_t overflow_maj; variable
1134 if (!overflow_maj) { find_overflow_devnum()
1135 ret = alloc_chrdev_region(&overflow_maj, 0, IB_UMAD_MAX_PORTS * 2, find_overflow_devnum()
1168 base = devnum + overflow_maj; ib_umad_init_port()
1395 if (overflow_maj) ib_umad_cleanup()
1396 unregister_chrdev_region(overflow_maj, IB_UMAD_MAX_PORTS * 2); ib_umad_cleanup()
H A Duverbs_main.c1039 static dev_t overflow_maj; variable
1051 if (!overflow_maj) { find_overflow_devnum()
1052 ret = alloc_chrdev_region(&overflow_maj, 0, IB_UVERBS_MAX_DEVICES, find_overflow_devnum()
1106 base = devnum + overflow_maj; ib_uverbs_add_one()
1318 if (overflow_maj) ib_uverbs_cleanup()
1319 unregister_chrdev_region(overflow_maj, IB_UVERBS_MAX_DEVICES); ib_uverbs_cleanup()

Completed in 271 milliseconds