Searched defs:transfers (Results 1 - 2 of 2) sorted by relevance
/systemd/src/import/ |
H A D | importd.c | 98 Hashmap *transfers; member in struct:Manager 125 hashmap_remove(t->manager->transfers, UINT32_TO_PTR(t->id)); 158 if (hashmap_size(m->transfers) >= TRANSFERS_MAX) 161 r = hashmap_ensure_allocated(&m->transfers, &trivial_hash_ops); 180 r = hashmap_put(m->transfers, UINT32_TO_PTR(id), t); 543 while ((t = hashmap_first(m->transfers))) 546 hashmap_free(m->transfers); 613 HASHMAP_FOREACH(t, m->transfers, i) 704 HASHMAP_FOREACH(t, m->transfers, i) { 945 HASHMAP_FOREACH(t, m->transfers, [all...] |
/systemd/src/machine/ |
H A D | machinectl.c | 2184 _cleanup_free_ TransferInfo *transfers = NULL; local 2204 log_error("Could not get transfers: %s", bus_error_message(&error, -r)); 2215 if (!GREEDY_REALLOC(transfers, n_allocated, n_transfers + 1)) 2218 transfers[n_transfers].id = id; 2219 transfers[n_transfers].type = type; 2220 transfers[n_transfers].remote = remote; 2221 transfers[n_transfers].local = local; 2222 transfers[n_transfers].progress = progress; 2248 qsort_safe(transfers, n_transfers, sizeof(TransferInfo), compare_transfer_info); 2260 (int) MAX(2U, DECIMAL_STR_WIDTH(max_id)), transfers[ [all...] |
Completed in 20 milliseconds