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()
804 if (is_gid_entry_free(table->data_vec[i])) in release_gid_table()
806 if (kref_read(&table->data_vec[i]->kref) > 1) { in release_gid_table()
809 kref_read(&table->data_vec[i]->kref)); in release_gid_table()
817 kfree(table->data_vec); in release_gid_table()
831 if (is_gid_entry_valid(table->data_vec[i])) in cleanup_gid_table_port()
971 if (!is_gid_entry_valid(table->data_vec[index])) { in rdma_query_gid()
976 memcpy(gid, &table->data_vec[index]->attr.gid, sizeof(*gid)); in rdma_query_gid()
1039 get_gid_entry(table->data_vec[index]); in rdma_find_gid()
1040 attr = &table->data_vec[index]->attr; in rdma_find_gid()
1233 if (!is_gid_entry_valid(table->data_vec[index])) in rdma_get_gid_attr()
1236 get_gid_entry(table->data_vec[index]); in rdma_get_gid_attr()
1237 attr = &table->data_vec[index]->attr; in rdma_get_gid_attr()
1268 if (!is_gid_entry_valid(table->data_vec[i])) in rdma_query_gid_table()
1275 gid_attr = &table->data_vec[i]->attr; in rdma_query_gid_table()
1366 valid = is_gid_entry_valid(table->data_vec[attr->index]); in rdma_read_gid_attr_ndev_rcu()