Lines Matching refs:data_vec

119 	struct ib_gid_table_entry	**data_vec;  member
254 if (entry == table->data_vec[entry->attr.index]) in free_gid_entry_locked()
255 table->data_vec[entry->attr.index] = NULL; in free_gid_entry_locked()
332 table->data_vec[entry->attr.index] = entry; in store_gid_entry()
391 ix, table->data_vec[ix]->attr.gid.raw); in del_gid()
394 entry = table->data_vec[ix]; in del_gid()
400 table->data_vec[ix] = NULL; in del_gid()
436 if (is_gid_entry_valid(table->data_vec[attr->index])) in add_modify_gid()
475 struct ib_gid_table_entry *data = table->data_vec[i]; in find_gid()
653 if (is_gid_entry_valid(table->data_vec[ix]) && in ib_cache_gid_del_all_netdev_gids()
654 table->data_vec[ix]->attr.ndev == ndev) { in ib_cache_gid_del_all_netdev_gids()
707 get_gid_entry(table->data_vec[local_index]); in rdma_find_gid_by_port()
708 attr = &table->data_vec[local_index]->attr; in rdma_find_gid_by_port()
754 struct ib_gid_table_entry *entry = table->data_vec[i]; in rdma_find_gid_by_filter()
779 table->data_vec = kcalloc(sz, sizeof(*table->data_vec), GFP_KERNEL); in alloc_gid_table()
780 if (!table->data_vec) in alloc_gid_table()
803 if (is_gid_entry_free(table->data_vec[i])) in release_gid_table()
809 kref_read(&table->data_vec[i]->kref)); in release_gid_table()
813 kfree(table->data_vec); in release_gid_table()
827 if (is_gid_entry_valid(table->data_vec[i])) in cleanup_gid_table_port()
967 if (!is_gid_entry_valid(table->data_vec[index])) { in rdma_query_gid()
972 memcpy(gid, &table->data_vec[index]->attr.gid, sizeof(*gid)); in rdma_query_gid()
1035 get_gid_entry(table->data_vec[index]); in rdma_find_gid()
1036 attr = &table->data_vec[index]->attr; in rdma_find_gid()
1229 if (!is_gid_entry_valid(table->data_vec[index])) in rdma_get_gid_attr()
1232 get_gid_entry(table->data_vec[index]); in rdma_get_gid_attr()
1233 attr = &table->data_vec[index]->attr; in rdma_get_gid_attr()
1264 if (!is_gid_entry_valid(table->data_vec[i])) in rdma_query_gid_table()
1271 gid_attr = &table->data_vec[i]->attr; in rdma_query_gid_table()
1362 valid = is_gid_entry_valid(table->data_vec[attr->index]); in rdma_read_gid_attr_ndev_rcu()