Searched refs:IB_UMAD_MAX_PORTS (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/infiniband/core/ |
H A D | user_mad.c | 63 IB_UMAD_MAX_PORTS = 64, enumerator in enum:__anon4810 134 static DECLARE_BITMAP(dev_map, IB_UMAD_MAX_PORTS); 1124 static DECLARE_BITMAP(overflow_map, IB_UMAD_MAX_PORTS); find_overflow_devnum() 1130 ret = alloc_chrdev_region(&overflow_maj, 0, IB_UMAD_MAX_PORTS * 2, find_overflow_devnum() 1139 ret = find_first_zero_bit(overflow_map, IB_UMAD_MAX_PORTS); find_overflow_devnum() 1140 if (ret >= IB_UMAD_MAX_PORTS) find_overflow_devnum() 1154 devnum = find_first_zero_bit(dev_map, IB_UMAD_MAX_PORTS); ib_umad_init_port() 1155 if (devnum >= IB_UMAD_MAX_PORTS) { ib_umad_init_port() 1162 port->dev_num = devnum + IB_UMAD_MAX_PORTS; ib_umad_init_port() 1196 base += IB_UMAD_MAX_PORTS; ib_umad_init_port() 1228 if (port->dev_num < IB_UMAD_MAX_PORTS) ib_umad_init_port() 1266 if (port->dev_num < IB_UMAD_MAX_PORTS) ib_umad_kill_port() 1269 clear_bit(port->dev_num - IB_UMAD_MAX_PORTS, overflow_map); ib_umad_kill_port() 1340 ret = register_chrdev_region(base_dev, IB_UMAD_MAX_PORTS * 2, ib_umad_init() 1374 unregister_chrdev_region(base_dev, IB_UMAD_MAX_PORTS * 2); ib_umad_init() 1384 unregister_chrdev_region(base_dev, IB_UMAD_MAX_PORTS * 2); ib_umad_cleanup() 1386 unregister_chrdev_region(overflow_maj, IB_UMAD_MAX_PORTS * 2); ib_umad_cleanup()
|
Completed in 49 milliseconds