Searched defs:source (Results 1 - 25 of 32) sorted by relevance

12

/systemd/src/shared/
H A Dfirewall-util.h33 const union in_addr_union *source,
44 const union in_addr_union *source,
59 const union in_addr_union *source,
72 const union in_addr_union *source,
55 fw_add_masquerade( bool add, int af, int protocol, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument
67 fw_add_local_dnat( bool add, int af, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const union in_addr_union *destination, unsigned destination_prefixlen, uint16_t local_port, const union in_addr_union *remote, uint16_t remote_port, const union in_addr_union *previous_remote) argument
H A Dfirewall-util.c44 const union in_addr_union *source,
64 if (source) {
65 entry->ip.src = source->in;
85 const union in_addr_union *source,
116 r = entry_fill_basics(entry, protocol, NULL, source, source_prefixlen, out_interface, destination, destination_prefixlen);
161 const union in_addr_union *source,
221 r = entry_fill_basics(entry, protocol, in_interface, source, source_prefixlen, NULL, destination, destination_prefixlen);
40 entry_fill_basics( struct ipt_entry *entry, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument
81 fw_add_masquerade( bool add, int af, int protocol, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument
156 fw_add_local_dnat( bool add, int af, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const union in_addr_union *destination, unsigned destination_prefixlen, uint16_t local_port, const union in_addr_union *remote, uint16_t remote_port, const union in_addr_union *previous_remote) argument
H A Dinstall.h80 char *source; member in struct:UnitFileChange
144 int unit_file_changes_add(UnitFileChange **changes, unsigned *n_changes, UnitFileChangeType type, const char *path, const char *source);
/systemd/man/
H A Dglib-event-glue.c28 GSource source; member in struct:SDEventSource
33 static gboolean event_prepare(GSource *source, gint *timeout_) { argument
34 return sd_event_prepare(((SDEventSource *)source)->event) > 0;
37 static gboolean event_check(GSource *source) { argument
38 return sd_event_wait(((SDEventSource *)source)->event, 0) > 0;
41 static gboolean event_dispatch(GSource *source, GSourceFunc callback, gpointer user_data) { argument
42 return sd_event_dispatch(((SDEventSource *)source)->event) > 0;
45 static void event_finalize(GSource *source) { argument
46 sd_event_unref(((SDEventSource *)source)->event);
57 SDEventSource *source; local
[all...]
/systemd/src/nspawn/
H A Dnspawn-mount.h43 char *source; /* for overlayfs this is the upper directory */ member in struct:CustomMount
H A Dnspawn-mount.c68 free(m->source);
100 _cleanup_free_ char *source = NULL, *destination = NULL, *opts = NULL; local
108 r = extract_many_words(&p, ":", EXTRACT_DONT_COALESCE_SEPARATORS, &source, &destination, NULL);
115 destination = strdup(source);
126 if (!path_is_absolute(source))
136 m->source = source;
141 source = destination = opts = NULL;
421 if (stat(m->source, &source_st) < 0)
422 return log_error_errno(errno, "Failed to stat %s: %m", m->source);
[all...]
/systemd/src/journal-remote/
H A Djournal-remote-parse.h61 static inline size_t source_non_empty(RemoteSource *source) { argument
62 assert(source);
64 return source->filled;
67 void source_free(RemoteSource *source);
68 int push_data(RemoteSource *source, const char *data, size_t size);
69 int process_source(RemoteSource *source, bool compress, bool seal);
H A Djournal-remote-parse.c29 void source_free(RemoteSource *source) { argument
30 if (!source)
33 if (source->fd >= 0 && !source->passive_fd) {
34 log_debug("Closing fd:%d (%s)", source->fd, source->name);
35 safe_close(source->fd);
38 free(source->name);
39 free(source->buf);
40 iovw_free_contents(&source
57 RemoteSource *source; local
76 realloc_buffer(RemoteSource *source, size_t size) argument
88 get_line(RemoteSource *source, char **line, size_t *size) argument
152 push_data(RemoteSource *source, const char *data, size_t size) argument
169 fill_fixed_size(RemoteSource *source, void **data, size_t size) argument
212 get_data_size(RemoteSource *source) argument
236 get_data_data(RemoteSource *source, void **data) argument
250 get_data_newline(RemoteSource *source) argument
270 process_dunder(RemoteSource *source, char *line, size_t n) argument
320 process_data(RemoteSource *source) argument
442 process_source(RemoteSource *source, bool compress, bool seal) argument
[all...]
H A Djournal-remote.c308 int fd, char *name, RemoteSource **source) {
315 assert(source);
322 return log_warning_errno(r, "Failed to get writer for source %s: %m",
335 *source = s->sources[fd];
340 RemoteSource *source; local
345 source = s->sources[fd];
346 if (source) {
348 source_free(source);
358 RemoteSource *source = NULL; local
373 r = get_source_for_fd(s, fd, name, &source);
307 get_source_for_fd(RemoteServer *s, int fd, char *name, RemoteSource **source) argument
456 RemoteSource *source; local
497 process_http_upload( struct MHD_Connection *connection, const char *upload_data, size_t *upload_data_size, RemoteSource *source) argument
1034 RemoteSource *source; local
1073 RemoteSource *source = userdata; local
1093 RemoteSource *source = userdata; local
1110 RemoteSource *source = userdata; local
[all...]
/systemd/src/core/
H A Dmachine-id-setup.c49 static int shorten_uuid(char destination[34], const char source[36]) { argument
53 assert(source);
61 t = unhexchar(source[i]);
H A Dscope.c44 static int scope_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata);
436 static int scope_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata) { argument
440 assert(s->timer_event_source == source);
H A Ddevice.c44 static int device_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata);
700 static int device_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
H A Dpath.c48 static int path_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata);
650 static int path_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
H A Dautomount.c639 static int automount_dispatch_expire(sd_event_source *source, usec_t usec, void *userdata) { argument
645 assert(source == a->expire_event_source);
H A Dbusname.c51 static int busname_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata);
52 static int busname_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata);
281 log_unit_debug_errno(UNIT(n), r, "Failed to disable event source: %m");
827 static int busname_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
903 static int busname_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata) { argument
907 assert(n->timer_event_source == source);
H A Dswap.c59 static int swap_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata);
60 static int swap_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata);
1025 static int swap_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata) { argument
1029 assert(s->timer_event_source == source);
1119 static int swap_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
H A Dmount.c70 static int mount_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata);
71 static int mount_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata);
264 * for the source path (if this is a bind mount) to be
882 /* Create the source directory for bind-mounts if needed */
1242 static int mount_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata) { argument
1246 assert(m->timer_event_source == source);
1635 static int mount_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
H A Dsocket.c77 static int socket_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata);
78 static int socket_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata);
1388 log_unit_debug_errno(UNIT(s), r, "Failed to disable event source: %m");
2440 static int socket_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
2587 static int socket_dispatch_timer(sd_event_source *source, usec_t usec, void *userdata) { argument
2591 assert(s->timer_event_source == source);
/systemd/src/udev/
H A Dudevadm-monitor.c40 static void print_device(struct udev_device *device, const char *source, int prop) { argument
45 source,
/systemd/src/boot/efi/
H A Dsplash.c141 static VOID pixel_blend(UINT32 *dst, const UINT32 source) { argument
144 alpha = (source & 0xff);
147 src = source >> 8;
/systemd/src/fstab-generator/
H A Dfstab-generator.c237 const char *source) {
250 assert(source);
297 source);
368 source);
227 add_mount( const char *what, const char *where, const char *fstype, const char *opts, int passno, bool noauto, bool nofail, bool automount, const char *post, const char *source) argument
/systemd/src/resolve/
H A Dresolved-dns-answer.c93 static int dns_answer_add_raw_all(DnsAnswer *a, DnsAnswer *source) { argument
98 DNS_ANSWER_FOREACH_FULL(rr, ifindex, flags, source) {
638 int dns_answer_copy_by_key(DnsAnswer **a, DnsAnswer *source, const DnsResourceKey *key, DnsAnswerFlags or_flags) { argument
646 /* Copy all RRs matching the specified key from source into *a */
648 DNS_ANSWER_FOREACH_FULL(rr_source, ifindex_source, flags_source, source) {
H A Dresolved-dns-transaction.c1756 /* If we have picked no server, then we are working from the cache or some other source, and DNSSEC might well
2067 void dns_transaction_notify(DnsTransaction *t, DnsTransaction *source) { argument
2069 assert(source);
2702 const char *source; local
2707 /* First step, determine the source of synthesis */
2708 r = dns_resource_record_source(rrsig, &source);
2715 source,
/systemd/src/socket-proxy/
H A Dsocket-proxyd.c260 return log_error_errno(r, "Failed to set up server event source: %m");
270 return log_error_errno(r, "Failed to set up client event source: %m");
353 log_error_errno(r, "Failed to enable oneshot event source: %m");
527 sd_event_source *source; local
551 r = sd_event_add_io(context->event, &source, fd, EPOLLIN, accept_cb, context);
553 return log_error_errno(r, "Failed to add event source: %m");
555 r = set_put(context->listen, source);
557 log_error_errno(r, "Failed to add source to set: %m");
558 sd_event_source_unref(source);
564 r = sd_event_source_set_enabled(source, SD_EVENT_ONESHO
[all...]
/systemd/src/network/
H A Dnetworkd-manager.c227 static int manager_dispatch_link_udev(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
364 log_link_warning_errno(link, r, "rtnl: received route with invalid source, ignoring: %m");
370 log_link_warning_errno(link, r, "rtnl: received route with invalid preferred source, ignoring: %m");
391 log_link_warning_errno(link, r, "rtnl: received route with invalid source, ignoring: %m");
397 log_link_warning_errno(link, r, "rtnl: received route with invalid preferred source, ignoring: %m");
416 log_link_warning_errno(link, r, "rtnl: received route with invalid source prefixlen, ignoring: %m");

Completed in 84 milliseconds

12