Searched refs:new0 (Results 1 - 25 of 151) sorted by relevance

1234567

/systemd/src/basic/
H A Dstrbuf.c48 str = new0(struct strbuf, 1);
52 str->buf = new0(char, 1);
57 str->root = new0(struct strbuf_node, 1);
181 node_child = new0(struct strbuf_node, 1);
H A Dxattr-util.c46 v = new0(char, l);
84 v = new0(char, l);
H A Dalloc-util.h31 #define new0(t, n) ((t*) calloc((n), sizeof(t))) macro
H A Dstrv.c351 l = new0(char*, 1);
612 return new0(char*, 1);
621 v = new0(char*, c+1);
687 m = new0(char, 1);
/systemd/src/core/
H A Dbus-endpoint.c75 *ep = new0(BusEndpoint, 1);
109 po = new0(BusEndpointPolicy, 1);
H A Dumount.c126 m = new0(MountPoint, 1);
187 swap = new0(MountPoint, 1);
251 lb = new0(MountPoint, 1);
/systemd/src/libudev/
H A Dlibudev-hwdb.c66 hwdb = new0(struct udev_hwdb, 1);
H A Dlibudev.c99 udev = new0(struct udev, 1);
H A Dlibudev-queue.c66 udev_queue = new0(struct udev_queue, 1);
/systemd/src/network/
H A Dnetworkd-fdb.c51 mac_addr = new0(struct ether_addr, 1);
56 fdb_entry = new0(FdbEntry, 1);
H A Dnetworkd-address-pool.c39 p = new0(AddressPool, 1);
H A Dnetworkd-link-bus.c69 l = new0(char*, hashmap_size(m->links) + 1);
H A Dnetworkd-wait-online-link.c42 l = new0(Link, 1);
/systemd/src/timesync/
H A Dtimesyncd-server.c36 a = new0(ServerAddress, 1);
79 n = new0(ServerName, 1);
/systemd/src/libsystemd-network/
H A Dlldp-port.c96 p = new0(lldp_port, 1);
H A Dsd-ipv4ll.c96 ll = new0(sd_ipv4ll, 1);
203 random_data = new0(struct random_data, 1);
207 random_data_state = new0(char, 128);
/systemd/src/login/
H A Dlogind-device.c32 d = new0(Device, 1);
/systemd/src/test/
H A Dtest-prioq.c119 t = new0(struct test, 1);
/systemd/src/journal/
H A Djournald-rate-limit.c83 r = new0(JournalRateLimit, 1);
153 g = new0(JournalRateLimitGroup, 1);
H A Dmmap-cache.c98 m = new0(MMapCache, 1);
183 w = new0(Window, 1);
267 c = new0(Context, 1);
320 f = new0(FileDescriptor, 1);
/systemd/src/hwdb/
H A Dhwdb.c215 new_child = new0(struct trie_node, 1);
258 child = new0(struct trie_node, 1);
318 children = new0(struct trie_child_entry_f, node->children_count);
600 trie = new0(struct trie, 1);
610 trie->root = new0(struct trie_node, 1);
/systemd/src/udev/
H A Dudevadm-hwdb.c196 new_child = new0(struct trie_node, 1);
239 child = new0(struct trie_node, 1);
299 children = new0(struct trie_child_entry_f, node->children_count);
605 trie = new0(struct trie, 1);
619 trie->root = new0(struct trie_node, 1);
/systemd/src/bootchart/
H A Dstore.c233 ps->next_ps = new0(struct ps_struct, 1);
242 ps->sample = new0(struct ps_sched_struct, 1);
385 ps->sample->next = new0(struct ps_sched_struct, 1);
/systemd/src/journal-remote/
H A Djournal-remote-write.c71 w = new0(Writer, 1);
/systemd/src/resolve/
H A Dresolved-dns-search-domain.c51 d = new0(DnsSearchDomain, 1);

Completed in 1490 milliseconds

1234567