Lines Matching refs:client_data

405 	void *client_data;  in ib_device_rename()  local
430 xan_for_each_marked(&ibdev->client_data, index, client_data, in ib_device_rename()
437 client->rename(ibdev, client_data); in ib_device_rename()
510 xa_destroy(&dev->client_data); in ib_device_release()
600 xa_init_flags(&device->client_data, XA_FLAGS_ALLOC); in _ib_alloc_device()
674 WARN_ON(!xa_empty(&device->client_data)); in ib_dealloc_device()
711 if (xa_get_mark(&device->client_data, client->client_id, in add_client_context()
715 ret = xa_err(xa_store(&device->client_data, client->client_id, NULL, in add_client_context()
727 xa_erase(&device->client_data, client->client_id); in add_client_context()
736 xa_set_mark(&device->client_data, client->client_id, in add_client_context()
753 void *client_data; in remove_client_context() local
756 if (!xa_get_mark(&device->client_data, client_id, in remove_client_context()
761 client_data = xa_load(&device->client_data, client_id); in remove_client_context()
762 xa_clear_mark(&device->client_data, client_id, CLIENT_DATA_REGISTERED); in remove_client_context()
776 client->remove(device, client_data); in remove_client_context()
778 xa_erase(&device->client_data, client_id); in remove_client_context()
1876 void *client_data; in __ib_get_client_nl_info() local
1880 xan_for_each_marked (&ibdev->client_data, index, client_data, in __ib_get_client_nl_info()
1890 ret = client->get_nl_info(ibdev, client_data, res); in __ib_get_client_nl_info()
1962 rc = xa_store(&device->client_data, client->client_id, data, in ib_set_client_data()
2539 void *client_data; in ib_get_net_dev_by_params() local
2549 xan_for_each_marked (&dev->client_data, index, client_data, in ib_get_net_dev_by_params()
2557 addr, client_data); in ib_get_net_dev_by_params()