/systemd/src/libsystemd/sd-bus/ |
H A D | test-bus-cleanup.c | 33 printf("after new: refcount %u\n", REFCNT_GET(bus->n_ref)); 45 printf("after open: refcount %u\n", REFCNT_GET(bus->n_ref)); 58 printf("after message_new_method_call: refcount %u\n", REFCNT_GET(bus->n_ref)); 61 printf("after bus_flush_close_unref: refcount %u\n", m->n_ref); 72 printf("after message_new_signal: refcount %u\n", REFCNT_GET(bus->n_ref)); 75 printf("after bus_flush_close_unref: refcount %u\n", m->n_ref);
|
H A D | bus-track.c | 28 unsigned n_ref; member in struct:sd_bus_track 100 t->n_ref = 1; 116 assert(track->n_ref > 0); 118 track->n_ref++; 129 assert(track->n_ref > 0); 131 if (track->n_ref > 1) { 132 track->n_ref --;
|
H A D | bus-slot.c | 43 slot->n_ref = 1; 62 assert(slot->n_ref > 0); 64 slot->n_ref++; 206 assert(slot->n_ref > 0); 208 if (slot->n_ref > 1) { 209 slot->n_ref --;
|
H A D | bus-creds.h | 28 unsigned n_ref; member in struct:sd_bus_creds
|
/systemd/src/libsystemd/sd-netlink/ |
H A D | netlink-socket.c | 137 static int broadcast_group_set_ref(sd_netlink *nl, unsigned group, unsigned n_ref) { argument 142 r = hashmap_replace(nl->broadcast_group_refs, UINT_TO_PTR(group), UINT_TO_PTR(n_ref)); 164 unsigned n_ref; local 169 n_ref = broadcast_group_get_ref(nl, group); 171 n_ref ++; 177 r = broadcast_group_set_ref(nl, group, n_ref); 181 if (n_ref > 1) 210 unsigned n_ref; local 215 n_ref = broadcast_group_get_ref(nl, group); 217 assert(n_ref > [all...] |
H A D | netlink-internal.h | 55 RefCount n_ref; member in struct:sd_netlink 109 RefCount n_ref; member in struct:sd_netlink_message
|
/systemd/src/resolve/ |
H A D | resolved-dns-search-domain.c | 55 d->n_ref = 1; 90 assert(d->n_ref > 0); 91 d->n_ref++; 100 assert(d->n_ref > 0); 101 d->n_ref--; 103 if (d->n_ref > 0)
|
H A D | resolved-dns-search-domain.h | 37 unsigned n_ref; member in struct:DnsSearchDomain
|
H A D | resolved-dns-question.c | 34 q->n_ref = 1; 44 assert(q->n_ref > 0); 45 q->n_ref++; 53 assert(q->n_ref > 0); 55 if (q->n_ref == 1) { 62 q->n_ref--;
|
H A D | resolved-dns-answer.c | 33 a->n_ref = 1; 43 assert(a->n_ref > 0); 44 a->n_ref++; 64 assert(a->n_ref > 0); 66 if (a->n_ref == 1) { 70 a->n_ref--; 115 if (a->n_ref > 1) 498 if ((*a)->n_ref > 1) { 584 if ((*a)->n_ref > 1) { 727 if ((*a)->n_ref > [all...] |
H A D | resolved-dns-question.h | 30 unsigned n_ref; member in struct:DnsQuestion
|
H A D | resolved-dns-rr.h | 82 unsigned n_ref; /* (unsigned -1) for const keys, see below */ member in struct:DnsResourceKey 93 .n_ref = (unsigned) -1, \ 107 unsigned n_ref; member in struct:DnsResourceRecord
|
/systemd/src/libsystemd-network/ |
H A D | sd-ipv4ll.c | 46 unsigned n_ref; member in struct:sd_ipv4ll 63 assert(ll->n_ref >= 1); 64 ll->n_ref++; 73 assert(ll->n_ref >= 1); 74 ll->n_ref--; 76 if (ll->n_ref > 0) 100 ll->n_ref = 1;
|
H A D | lldp-internal.c | 177 if (c->n_ref >= LLDP_MIB_MAX_PORT_PER_CHASSIS) { 178 log_lldp("Port limit reached. Chassis has: %d ports. Dropping ...", c->n_ref); 196 c->n_ref ++; 226 c->n_ref --; 227 if (c->n_ref <= 1) { 289 if (c->n_ref > 1) 316 c->n_ref = 1;
|
H A D | sd-ndisc.c | 61 unsigned n_ref; member in struct:NDiscPrefix 73 unsigned n_ref; member in struct:sd_ndisc 100 assert(prefix->n_ref > 0); 101 prefix->n_ref--; 103 if (prefix->n_ref > 0) 123 prefix->n_ref = 1; 207 assert(nd->n_ref > 0); 208 nd->n_ref++; 229 assert(nd->n_ref > 0); 230 nd->n_ref [all...] |
H A D | sd-dhcp6-lease.c | 365 assert(lease->n_ref >= 1); 366 lease->n_ref++; 376 assert(lease->n_ref >= 1); 377 lease->n_ref--; 379 if (lease->n_ref > 0) 404 lease->n_ref = 1;
|
H A D | dhcp-lease-internal.h | 47 unsigned n_ref; member in struct:sd_dhcp_lease
|
H A D | dhcp-server-internal.h | 46 unsigned n_ref; member in struct:sd_dhcp_server
|
H A D | dhcp6-lease-internal.h | 30 unsigned n_ref; member in struct:sd_dhcp6_lease
|
H A D | lldp-internal.h | 65 unsigned n_ref; member in struct:lldp_chassis
|
H A D | lldp-tlv.h | 56 unsigned n_ref; member in struct:sd_lldp_packet
|
/systemd/src/journal-remote/ |
H A D | journal-remote-write.h | 48 int n_ref; member in struct:Writer
|
H A D | journal-remote-write.c | 83 w->n_ref = 1; 112 if (w && (-- w->n_ref <= 0)) 120 assert_se(++ w->n_ref >= 2);
|
/systemd/src/journal/ |
H A D | mmap-cache.c | 74 int n_ref; member in struct:MMapCache 102 m->n_ref = 1; 108 assert(m->n_ref > 0); 110 m->n_ref ++; 362 assert(m->n_ref > 0); 364 m->n_ref --; 365 if (m->n_ref == 0) 394 assert(m->n_ref > 0); 439 assert(m->n_ref > 0); 516 assert(m->n_ref > [all...] |
/systemd/src/libsystemd/sd-device/ |
H A D | device-internal.h | 27 uint64_t n_ref; member in struct:sd_device
|