Searched defs:dst (Results 1 - 12 of 12) sorted by relevance

/systemd/src/journal/
H A Dcompress.h30 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 Dcompress.c60 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 Dtest-compress.c45 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...]
/systemd/src/libsystemd-network/
H A Dicmp6-util.c92 struct sockaddr_in6 dst = { local
110 .msg_name = &dst,
111 .msg_namelen = sizeof(dst),
/systemd/src/core/
H A Dsmack-setup.c199 _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/network/
H A Dnetworkd-route.h45 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 Dnetworkd-route.c120 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 Dnetworkd-manager.c290 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);
/systemd/src/boot/efi/
H A Dsplash.c141 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 Dacl-util.c140 acl_entry_t dst; local
150 r = acl_create_entry(acl_p, &dst);
154 r = acl_copy_entry(dst, i);
H A Dinstall.c1259 _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 Dsysusers.c192 _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)

Completed in 54 milliseconds