Searched refs:by_uid (Results 1 – 1 of 1) sorted by relevance
178 Hashmap *by_uid; member1172 if (v->server->by_uid && in varlink_detach_server()1177 c = PTR_TO_UINT(hashmap_get(v->server->by_uid, UID_TO_PTR(v->ucred.uid))); in varlink_detach_server()1181 (void) hashmap_remove(v->server->by_uid, UID_TO_PTR(v->ucred.uid)); in varlink_detach_server()1183 … (void) hashmap_replace(v->server->by_uid, UID_TO_PTR(v->ucred.uid), UINT_TO_PTR(c - 1)); in varlink_detach_server()2048 hashmap_free(s->by_uid); in varlink_server_destroy()2090 c = PTR_TO_UINT(hashmap_get(server->by_uid, UID_TO_PTR(ucred->uid))); in validate_connection()2111 r = hashmap_ensure_allocated(&server->by_uid, NULL); in count_connection()2115 c = PTR_TO_UINT(hashmap_get(server->by_uid, UID_TO_PTR(ucred->uid))); in count_connection()2120 r = hashmap_replace(server->by_uid, UID_TO_PTR(ucred->uid), UINT_TO_PTR(c + 1)); in count_connection()