Lines Matching refs:client

872 	struct irlmp_client *client;
889 client = hashbin_find(irlmp->registry, service, NULL);
919 irlmp_notify_client(irlmp_client_t *client, in irlmp_notify_client() argument
927 if (!client->disco_callback) in irlmp_notify_client()
942 if (client->hint_mask & discovery->hints.word & 0x7f7f) in irlmp_notify_client()
943 client->disco_callback(discovery, mode, client->priv); in irlmp_notify_client()
958 irlmp_client_t *client; in irlmp_discovery_confirm() local
967 client = (irlmp_client_t *) hashbin_get_first(irlmp->clients); in irlmp_discovery_confirm()
968 while (client != NULL) { in irlmp_discovery_confirm()
970 irlmp_notify_client(client, log, mode); in irlmp_discovery_confirm()
972 client = (irlmp_client_t *) hashbin_get_next(irlmp->clients); in irlmp_discovery_confirm()
989 irlmp_client_t *client; in irlmp_discovery_expiry() local
995 client = (irlmp_client_t *) hashbin_get_first(irlmp->clients); in irlmp_discovery_expiry()
996 while (client != NULL) { in irlmp_discovery_expiry()
998 if ((client->expir_callback) && in irlmp_discovery_expiry()
999 (client->hint_mask & expiry->hints.word & 0x7f7f)) in irlmp_discovery_expiry()
1000 client->expir_callback(expiry, EXPIRY_TIMEOUT, in irlmp_discovery_expiry()
1001 client->priv); in irlmp_discovery_expiry()
1004 client = (irlmp_client_t *) hashbin_get_next(irlmp->clients); in irlmp_discovery_expiry()
1500 irlmp_client_t *client; in irlmp_register_client() local
1512 client = kmalloc(sizeof(irlmp_client_t), GFP_ATOMIC); in irlmp_register_client()
1513 if (!client) { in irlmp_register_client()
1519 client->hint_mask = hint_mask; in irlmp_register_client()
1520 client->disco_callback = disco_clb; in irlmp_register_client()
1521 client->expir_callback = expir_clb; in irlmp_register_client()
1522 client->priv = priv; in irlmp_register_client()
1524 hashbin_insert(irlmp->clients, (irda_queue_t *) client, handle, NULL); in irlmp_register_client()
1541 irlmp_client_t *client; in irlmp_update_client() local
1546 client = hashbin_find(irlmp->clients, handle, NULL); in irlmp_update_client()
1547 if (!client) { in irlmp_update_client()
1552 client->hint_mask = hint_mask; in irlmp_update_client()
1553 client->disco_callback = disco_clb; in irlmp_update_client()
1554 client->expir_callback = expir_clb; in irlmp_update_client()
1555 client->priv = priv; in irlmp_update_client()
1568 struct irlmp_client *client; in irlmp_unregister_client() local
1575 client = hashbin_find(irlmp->clients, handle, NULL); in irlmp_unregister_client()
1576 if (!client) { in irlmp_unregister_client()
1582 client = hashbin_remove( irlmp->clients, handle, NULL); in irlmp_unregister_client()
1583 if (client) in irlmp_unregister_client()
1584 kfree(client); in irlmp_unregister_client()