Searched refs:id_tbl (Results 1 – 2 of 2) sorted by relevance
202 static DEFINE_PCI_DEVICE_TABLE(id_tbl) = {207 MODULE_DEVICE_TABLE(pci, id_tbl);211 .id_table = id_tbl,
631 static int cnic_init_id_tbl(struct cnic_id_tbl *id_tbl, u32 size, u32 start_id, in cnic_init_id_tbl() argument634 id_tbl->start = start_id; in cnic_init_id_tbl()635 id_tbl->max = size; in cnic_init_id_tbl()636 id_tbl->next = next; in cnic_init_id_tbl()637 spin_lock_init(&id_tbl->lock); in cnic_init_id_tbl()638 id_tbl->table = kzalloc(DIV_ROUND_UP(size, 32) * 4, GFP_KERNEL); in cnic_init_id_tbl()639 if (!id_tbl->table) in cnic_init_id_tbl()645 static void cnic_free_id_tbl(struct cnic_id_tbl *id_tbl) in cnic_free_id_tbl() argument647 kfree(id_tbl->table); in cnic_free_id_tbl()648 id_tbl->table = NULL; in cnic_free_id_tbl()[all …]