Lines Matching refs:queue
3134 HAL_WARNING (("In-queue method call on non-existant device"));
3151 GList *queue;
3155 if (g_hash_table_lookup_extended (udi_to_method_queue, d->udi, &origkey, (gpointer) &queue)) {
3157 if (queue != NULL) {
3159 mi = (MethodInvocation *) queue->data;
3178 GList *queue;
3187 if (g_hash_table_lookup_extended (udi_to_method_queue, mi->udi, &origkey, (gpointer) &queue)) {
3189 queue = g_list_append (queue, mi);
3190 g_hash_table_replace (udi_to_method_queue, g_strdup (mi->udi), queue);
3193 queue = g_list_append (NULL, mi);
3194 g_hash_table_insert (udi_to_method_queue, g_strdup (mi->udi), queue);
3205 GList *queue;
3208 if (g_hash_table_lookup_extended (udi_to_method_queue, udi, &origkey, (gpointer) &queue)) {
3211 if (queue != NULL) {
3212 mi = (MethodInvocation *) queue->data;
3213 queue = g_list_delete_link (queue, queue);
3214 if (queue == NULL) {
3216 HAL_INFO (("No more methods in queue"));
3242 if (queue != NULL) {
3243 HAL_INFO (("Execing next method in queue"));
3244 g_hash_table_replace (udi_to_method_queue, g_strdup (udi), queue);
3246 mi = (MethodInvocation *) queue->data;