Lines Matching defs:client_handle
278 client->client_handle = CS_SS_CLIENT_HANDLE;
922 cs_parse_tuple(client_handle_t client_handle, tuple_t *tuple,
930 if ((ret = cs_get_socket(client_handle, &tuple->Socket,
1062 cs_get_firstnext_tuple(client_handle_t client_handle,
1070 if ((ret = cs_get_socket(client_handle, &tuple->Socket, &fn,
1237 cs_get_tuple_data(client_handle_t client_handle, tuple_t *tuple)
1247 if ((ret = cs_get_socket(client_handle, &tuple->Socket, &fn,
1423 cs_validate_cis(client_handle_t client_handle, cisinfo_t *cisinfo)
1430 if ((ret = cs_get_socket(client_handle, &cisinfo->Socket, &fn,
1728 *ch = cs_socket_services_client.client_handle;
1798 if ((scli->error = cs_add_client_to_socket(sn, &scli->client_handle,
1871 (int)client->client_handle);
1944 client->event_callback_args.client_handle = *ch;
2056 cs_deregister_client(client_handle_t client_handle)
2067 if (CLIENT_HANDLE_IS_SS(client_handle))
2073 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
2081 if (!(client = cs_find_client(client_handle, &error))) {
2115 (void) cs_deregister_mtd(client_handle);
2122 error = cs_destroy_client_handle(client_handle);
2183 cs_find_client(client_handle_t client_handle, int *error)
2195 if (CLIENT_HANDLE_IS_SS(client_handle))
2201 if (!(CHECK_SOCKET_NUM(GET_CLIENT_SOCKET(client_handle),
2208 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL) {
2217 if (clp->client_handle == client_handle)
2238 cs_destroy_client_handle(client_handle_t client_handle)
2248 if ((!(clp = cs_find_client(client_handle, &error))) ||
2249 (CLIENT_HANDLE_IS_SS(client_handle)))
2252 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
2263 sp->next_cl_minor = GET_CLIENT_MINOR(client_handle);
2315 client_handle_t client_handle;
2337 client_handle = MAKE_CLIENT_HANDLE(CS_GET_SOCKET_NUMBER(socket_num),
2347 if (cs_find_client(client_handle, NULL)) {
2350 (int)client_handle);
2379 clp->client_handle = client_handle;
2388 return (client_handle);
3623 (int)client->client_handle,
3745 cs_request_socket_mask(client_handle_t client_handle,
3757 if (CLIENT_HANDLE_IS_SS(client_handle))
3763 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
3771 if (!(client = cs_find_client(client_handle, &error))) {
3805 cmn_err(CE_CONT, "cs_request_socket_mask: client_handle = 0x%x "
3807 (int)client->client_handle,
3832 "client_handle = 0x%x "
3834 (int)client->client_handle,
3854 cs_release_socket_mask(client_handle_t client_handle,
3866 if (CLIENT_HANDLE_IS_SS(client_handle))
3872 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
3880 if (!(client = cs_find_client(client_handle, &error))) {
3924 cs_get_event_mask(client_handle_t client_handle, sockevent_t *se)
3935 if (CLIENT_HANDLE_IS_SS(client_handle))
3941 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
3949 if (!(client = cs_find_client(client_handle, &error))) {
4002 cs_set_event_mask(client_handle_t client_handle, sockevent_t *se)
4013 if (CLIENT_HANDLE_IS_SS(client_handle))
4019 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
4027 if (!(client = cs_find_client(client_handle, &error))) {
4326 cs_get_status(client_handle_t client_handle, get_status_t *gs)
4340 if (CLIENT_HANDLE_IS_SS(client_handle))
4346 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
4354 if (!(client = cs_find_client(client_handle, &error))) {
4580 cs_deregister_mtd(client_handle_t client_handle)
4583 cmn_err(CE_CONT, "cs_deregister_mtd: client_handle 0x%x\n",
4584 (int)client_handle);
4614 cs_request_window(client_handle_t client_handle,
4632 if (CLIENT_HANDLE_IS_SS(client_handle))
4658 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
4666 if (!(client = cs_find_client(client_handle, &error))) {
4687 socket_num = CS_MAKE_SOCKET_NUMBER(GET_CLIENT_SOCKET(client_handle),
4688 GET_CLIENT_FUNCTION(client_handle));
4719 cw->client_handle = client_handle;
4792 if (CLIENT_HANDLE_IS_SS(cw->client_handle)) {
4800 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(cw->client_handle))) == NULL)
4808 if (!(client = cs_find_client(cw->client_handle, &error))) {
4859 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(cw->client_handle))) == NULL)
4864 if (!(client = cs_find_client(cw->client_handle, &error))) {
5058 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(cw->client_handle))) == NULL)
5063 if (!(client = cs_find_client(cw->client_handle, &error))) {
5399 cs_request_io(client_handle_t client_handle, io_req_t *ior)
5411 if (CLIENT_HANDLE_IS_SS(client_handle))
5449 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
5457 if (!(client = cs_find_client(client_handle, &error))) {
5530 socket_num = CS_MAKE_SOCKET_NUMBER(GET_CLIENT_SOCKET(client_handle),
5531 GET_CLIENT_FUNCTION(client_handle));
5791 cs_release_io(client_handle_t client_handle, io_req_t *ior)
5807 if (CLIENT_HANDLE_IS_SS(client_handle))
5815 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
5823 if (!(client = cs_find_client(client_handle, &error))) {
5848 socket_num = CS_MAKE_SOCKET_NUMBER(GET_CLIENT_SOCKET(client_handle),
5849 GET_CLIENT_FUNCTION(client_handle));
6142 cs_request_irq(client_handle_t client_handle, irq_req_t *irqr)
6154 if (CLIENT_HANDLE_IS_SS(client_handle))
6169 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
6177 if (!(client = cs_find_client(client_handle, &error))) {
6215 CS_MAKE_SOCKET_NUMBER(GET_CLIENT_SOCKET(client_handle),
6216 GET_CLIENT_FUNCTION(client_handle));
6219 set_irq_handler.handler_id = client_handle;
6276 cs_release_irq(client_handle_t client_handle, irq_req_t *irqr)
6292 if (CLIENT_HANDLE_IS_SS(client_handle))
6298 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
6306 if (!(client = cs_find_client(client_handle, &error))) {
6333 CS_MAKE_SOCKET_NUMBER(GET_CLIENT_SOCKET(client_handle),
6334 GET_CLIENT_FUNCTION(client_handle));
6385 cs_request_configuration(client_handle_t client_handle, config_req_t *cr)
6401 if (CLIENT_HANDLE_IS_SS(client_handle))
6416 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
6442 if (!(client = cs_find_client(client_handle, &error))) {
6815 cs_release_configuration(client_handle_t client_handle, release_config_t *rcfg)
6831 if (CLIENT_HANDLE_IS_SS(client_handle))
6837 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
6845 if (!(client = cs_find_client(client_handle, &error))) {
6965 cs_modify_configuration(client_handle_t client_handle, modify_config_t *mc)
6978 if (CLIENT_HANDLE_IS_SS(client_handle))
6984 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
6992 if (!(client = cs_find_client(client_handle, &error))) {
7137 cs_access_configuration_register(client_handle_t client_handle,
7151 if (CLIENT_HANDLE_IS_SS(client_handle))
7163 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
7171 if (!(client = cs_find_client(client_handle, &error))) {
7297 if (GET_CLIENT_FUNCTION(client->client_handle) == fn) {
7619 cs_make_device_node(client_handle_t client_handle, make_device_node_t *mdn)
7631 if (CLIENT_HANDLE_IS_SS(client_handle))
7637 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
7645 if (!(client = cs_find_client(client_handle, &error))) {
7740 cs_remove_device_node(client_handle_t client_handle, remove_device_node_t *rdn)
7747 return (cs_make_device_node(client_handle, (make_device_node_t *)rdn));
7809 (int)client->client_handle);
7823 (int)client->client_handle);
7853 sn = GET_CLIENT_SOCKET(csc->client_handle);
7862 if ((cp = cs_find_client(csc->client_handle, &ret)) ==
8302 * calling: client_handle_t client_handle - client handle to extract
8305 * client_handle is for the SS client;
8322 * PC card client From client_handle From client_handle
8324 * CSI client From client_handle From *socket
8327 cs_get_socket(client_handle_t client_handle, uint32_t *socket,
8343 if (CLIENT_HANDLE_IS_SS(client_handle)) {
8347 fn = GET_CLIENT_FUNCTION(client_handle);
8348 sn = GET_CLIENT_SOCKET(client_handle);
8371 if (!(client = cs_find_client(client_handle, &ret))) {
8648 cs_get_client_info(client_handle_t client_handle, client_info_t *ci)
8655 if (CLIENT_HANDLE_IS_SS(client_handle)) {
8661 if ((sp = cs_get_sp(GET_CLIENT_SOCKET(client_handle))) == NULL)
8667 if ((client = cs_find_client(client_handle, &ret)) == NULL) {
8773 fnc->client_handle = client->client_handle;
8779 sn = GET_CLIENT_SOCKET(fnc->client_handle);
8785 if ((client = cs_find_client(fnc->client_handle,
8809 sp = cs_get_sp(GET_CLIENT_SOCKET(fnc->client_handle));
8813 if ((client = cs_find_client(fnc->client_handle,
8826 fnc->client_handle = client->client_handle;