/systemd/src/journal/ |
H A D | compress.h | 30 void *dst, size_t dst_alloc_size, size_t *dst_size); 32 void *dst, size_t dst_alloc_size, size_t *dst_size); 35 void *dst, size_t dst_alloc_size, size_t *dst_size) { 38 r = compress_blob_lz4(src, src_size, dst, dst_alloc_size, dst_size); 42 r = compress_blob_xz(src, src_size, dst, dst_alloc_size, dst_size); 50 void **dst, size_t *dst_alloc_size, size_t* dst_size, size_t dst_max); 52 void **dst, size_t *dst_alloc_size, size_t* dst_size, size_t dst_max); 55 void **dst, size_t *dst_alloc_size, size_t* dst_size, size_t dst_max); 34 compress_blob(const void *src, uint64_t src_size, void *dst, size_t dst_alloc_size, size_t *dst_size) argument
|
H A D | compress.c | 60 void *dst, size_t dst_alloc_size, size_t *dst_size) { 75 assert(dst); 86 src, src_size, dst, &out_pos, dst_alloc_size); 98 void *dst, size_t dst_alloc_size, size_t *dst_size) { 104 assert(dst); 114 r = LZ4_compress_limitedOutput(src, dst + 8, src_size, (int) dst_alloc_size - 8); 118 *(le64_t*) dst = htole64(src_size); 129 void **dst, size_t *dst_alloc_size, size_t* dst_size, size_t dst_max) { 138 assert(dst); 141 assert(*dst_alloc_size == 0 || *dst); 59 compress_blob_xz(const void *src, uint64_t src_size, void *dst, size_t dst_alloc_size, size_t *dst_size) argument 97 compress_blob_lz4(const void *src, uint64_t src_size, void *dst, size_t dst_alloc_size, size_t *dst_size) argument 128 decompress_blob_xz(const void *src, uint64_t src_size, void **dst, size_t *dst_alloc_size, size_t* dst_size, size_t dst_max) argument 188 decompress_blob_lz4(const void *src, uint64_t src_size, void **dst, size_t *dst_alloc_size, size_t* dst_size, size_t dst_max) argument 228 decompress_blob(int compression, const void *src, uint64_t src_size, void **dst, size_t *dst_alloc_size, size_t* dst_size, size_t dst_max) argument [all...] |
H A D | test-compress.c | 45 void *dst, size_t dst_alloc_size, size_t *dst_size); 47 void **dst, size_t *dst_alloc_size, 154 _cleanup_close_ int src = -1, dst = -1, dst2 = -1; local 170 assert_se((dst = mkostemp_safe(pattern, O_RDWR|O_CLOEXEC)) >= 0); 172 assert_se(compress(src, dst, -1) == 0); 185 assert_se(lseek(dst, 0, SEEK_SET) == 0); 186 r = decompress(dst, dst2, st.st_size); 194 assert_se(lseek(dst, 1, SEEK_SET) == 1); 195 r = decompress(dst, dst2, st.st_size); 198 assert_se(lseek(dst, [all...] |
H A D | test-compress-benchmark.c | 28 typedef int (compress_t)(const void *src, uint64_t src_size, void *dst, 31 void **dst, size_t *dst_alloc_size, size_t* dst_size, size_t dst_max);
|
/systemd/src/network/ |
H A D | networkd-route.h | 45 union in_addr_union dst; member in struct:Route 61 int route_get(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret); 62 int route_add(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret); 63 int route_add_foreign(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret);
|
H A D | networkd-route.c | 120 siphash24_compress(&route->dst, FAMILY_ADDRESS_SIZE(route->family), state); 164 return memcmp(&a->dst, &b->dst, FAMILY_ADDRESS_SIZE(a->family)); 178 union in_addr_union *dst, 193 assert(dst); 196 route.dst = *dst; 215 union in_addr_union *dst, 225 assert(dst); 232 route->dst 176 route_get(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument 213 route_add_internal(Link *link, Set **routes, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument 256 route_add_foreign(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument 266 route_add(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument [all...] |
H A D | networkd-dhcp4.c | 88 route_gw->dst.in = gateway; 132 assert_se(sd_dhcp_route_get_destination(static_routes[i], &route->dst.in) >= 0); 172 assert_se(sd_dhcp_route_get_destination(routes[i], &route->dst.in) >= 0); 192 route_gw->dst.in = gateway;
|
H A D | networkd-manager.c | 290 union in_addr_union dst = {}, gw = {}, src = {}, prefsrc = {}; local 350 r = sd_netlink_message_read_in_addr(message, RTA_DST, &dst.in); 377 r = sd_netlink_message_read_in6_addr(message, RTA_DST, &dst.in6); 444 route_get(link, family, &dst, dst_prefixlen, tos, priority, table, &route); 450 r = route_add_foreign(link, family, &dst, dst_prefixlen, tos, priority, table, &route);
|
H A D | networkd-ndisc.c | 128 route->dst.in6 = *prefix;
|
H A D | networkd-network.c | 373 r = inet_pton(AF_INET, "169.254.0.0", &route->dst.in);
|
H A D | networkd-link.c | 2878 r = in_addr_to_string(route->family, &route->dst, &route_str);
|
/systemd/src/libsystemd-network/ |
H A D | icmp6-util.c | 92 struct sockaddr_in6 dst = { local 110 .msg_name = &dst, 111 .msg_namelen = sizeof(dst),
|
/systemd/src/core/ |
H A D | smack-setup.c | 199 _cleanup_fclose_ FILE *dst = NULL; local 206 dst = fopen("/sys/fs/smackfs/netlabel", "we"); 207 if (!dst) { 213 /* write rules to dst from every file in the directory */ 249 if (!fputs(buf, dst)) { 255 if (fflush(dst)) {
|
/systemd/src/boot/efi/ |
H A D | splash.c | 141 static VOID pixel_blend(UINT32 *dst, const UINT32 source) { argument 153 dst_rb = (*dst & 0xff00ff); 154 dst_g = (*dst & 0x00ff00); 160 *dst = (rb | g);
|
/systemd/src/shared/ |
H A D | acl-util.c | 140 acl_entry_t dst; local 150 r = acl_create_entry(acl_p, &dst); 154 r = acl_copy_entry(dst, i);
|
H A D | firewall-util.c | 74 entry->ip.dst = destination->in; 302 entry->ip.dst.s_addr = htobe32(0x7F000000); 333 entry->ip.dst.s_addr = htobe32(0x7F000000);
|
H A D | install.c | 1259 _cleanup_free_ char *alias_path = NULL, *dst = NULL; local 1261 q = install_full_printf(i, *s, &dst); 1265 alias_path = path_make_absolute(dst, config_path); 1311 _cleanup_free_ char *path = NULL, *dst = NULL; local 1313 q = install_full_printf(i, *s, &dst); 1317 if (!unit_name_is_valid(dst, UNIT_NAME_ANY)) { 1322 path = strjoin(config_path, "/", dst, suffix, n, NULL);
|
/systemd/src/sysusers/ |
H A D | sysusers.c | 192 _cleanup_fclose_ FILE *dst = NULL; local 209 r = fopen_temporary_label(target, x, &dst, &temp); 213 r = copy_bytes(src, fileno(dst), (uint64_t) -1, true); 223 if (fchmod(fileno(dst), st.st_mode & 07777) < 0) 226 if (fchown(fileno(dst), st.st_uid, st.st_gid)< 0) 231 if (futimens(fileno(dst), ts) < 0)
|
/systemd/src/libudev/ |
H A D | libudev-private.h | 45 int udev_device_copy_properties(struct udev_device *dst, struct udev_device *src);
|
/systemd/src/basic/ |
H A D | btrfs-util.c | 1143 .dst = parent,
|