Searched refs:BT_VIRNET_MAX_NUM (Results 1 – 3 of 3) sorted by relevance
156 for (i = 0; i < BT_VIRNET_MAX_NUM + 1; ++i) { in bt_get_unused_id()165 if (bitmap && idx <= BT_VIRNET_MAX_NUM) in bt_set_bit()171 if (bitmap && idx <= BT_VIRNET_MAX_NUM) in bt_clear_bit()
522 if ((unlikely(bt_mng->devices_table->num >= BT_VIRNET_MAX_NUM)) || in bt_cmd_create_virnet()1062 struct bt_io_file **all_files = kmalloc(BT_VIRNET_MAX_NUM * sizeof(struct bt_io_file *), in bt_create_io_files()1069 for (i = 0; i < BT_VIRNET_MAX_NUM; ++i) in bt_create_io_files()1088 for (i = 0; i < BT_VIRNET_MAX_NUM; ++i) in bt_delete_io_files()1146 if (unlikely(id < 0) || unlikely(id > BT_VIRNET_MAX_NUM)) { in bt_net_device_create()1190 if (id >= 1 && id <= BT_VIRNET_MAX_NUM) in bt_get_io_file()1268 bt_cdev_region_destroy(BT_DEV_MAJOR, BT_VIRNET_MAX_NUM); in bt_module_release()1284 if (unlikely(bt_cdev_region_init(BT_DEV_MAJOR, BT_VIRNET_MAX_NUM) < 0)) { in __bt_module_base_init()1322 bt_cdev_region_destroy(BT_DEV_MAJOR, BT_VIRNET_MAX_NUM); in __bt_module_base_init()1364 bt_cdev_region_destroy(BT_DEV_MAJOR, BT_VIRNET_MAX_NUM); in __bt_module_dev_create()
25 #define BT_VIRNET_MAX_NUM 16 macro