Lines Matching refs:client_id
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()
750 unsigned int client_id) in remove_client_context() argument
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()
763 client = xa_load(&clients, client_id); in remove_client_context()
778 xa_erase(&device->client_data, client_id); in remove_client_context()
1739 client->client_id = highest_client_id; in assign_client_id()
1740 ret = xa_insert(&clients, client->client_id, client, GFP_KERNEL); in assign_client_id()
1745 xa_set_mark(&clients, client->client_id, CLIENT_REGISTERED); in assign_client_id()
1755 xa_erase(&clients, client->client_id); in remove_client_id()
1819 xa_clear_mark(&clients, client->client_id, CLIENT_REGISTERED); in ib_unregister_client()
1829 remove_client_context(device, client->client_id); in ib_unregister_client()
1962 rc = xa_store(&device->client_data, client->client_id, data, in ib_set_client_data()