Home
last modified time | relevance | path

Searched refs:FDSet (Results 1 – 25 of 43) sorted by relevance

12

/systemd-251/src/shared/
Dfdset.h10 typedef struct FDSet FDSet; typedef
12 FDSet* fdset_new(void);
13 FDSet* fdset_free(FDSet *s);
15 int fdset_put(FDSet *s, int fd);
16 int fdset_put_dup(FDSet *s, int fd);
18 bool fdset_contains(FDSet *s, int fd);
19 int fdset_remove(FDSet *s, int fd);
21 int fdset_new_array(FDSet **ret, const int *fds, size_t n_fds);
22 int fdset_new_fill(FDSet **ret);
23 int fdset_new_listen_fds(FDSet **ret, bool unset);
[all …]
Dfdset.c20 #define MAKE_FDSET(s) ((FDSet*) s)
22 FDSet *fdset_new(void) { in fdset_new()
26 int fdset_new_array(FDSet **ret, const int *fds, size_t n_fds) { in fdset_new_array()
28 FDSet *s; in fdset_new_array()
50 void fdset_close(FDSet *s) { in fdset_close()
67 FDSet* fdset_free(FDSet *s) { in fdset_free()
73 int fdset_put(FDSet *s, int fd) { in fdset_put()
80 int fdset_put_dup(FDSet *s, int fd) { in fdset_put_dup()
99 bool fdset_contains(FDSet *s, int fd) { in fdset_contains()
106 int fdset_remove(FDSet *s, int fd) { in fdset_remove()
[all …]
Dbpf-program.h50 int bpf_program_serialize_attachment(FILE *f, FDSet *fds, const char *key, BPFProgram *p);
51 int bpf_program_serialize_attachment_set(FILE *f, FDSet *fds, const char *key, Set *set);
52 int bpf_program_deserialize_attachment(const char *v, FDSet *fds, BPFProgram **bpfp);
53 int bpf_program_deserialize_attachment_set(const char *v, FDSet *fds, Set **bpfsetp);
Dbpf-program.c365 FDSet *fds, in bpf_program_serialize_attachment()
407 int bpf_program_serialize_attachment_set(FILE *f, FDSet *fds, const char *key, Set *set) { in bpf_program_serialize_attachment_set()
420 int bpf_program_deserialize_attachment(const char *v, FDSet *fds, BPFProgram **bpfp) { in bpf_program_deserialize_attachment()
481 int bpf_program_deserialize_attachment_set(const char *v, FDSet *fds, Set **bpfsetp) { in bpf_program_deserialize_attachment_set()
Dbpf-link.h13 int bpf_serialize_link(FILE *f, FDSet *fds, const char *key, struct bpf_link *link);
Dbpf-link.c22 int bpf_serialize_link(FILE *f, FDSet *fds, const char *key, struct bpf_link *link) { in bpf_serialize_link()
Dserialize.h14 int serialize_fd(FILE *f, FDSet *fds, const char *key, int fd);
Dserialize.c81 int serialize_fd(FILE *f, FDSet *fds, const char *key, int fd) { in serialize_fd()
/systemd-251/src/test/
Dtest-fdset.c15 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST()
29 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST()
47 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST()
74 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST()
97 FDSet *fdset = NULL; in TEST()
117 FDSet *fdset = NULL; in TEST()
144 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST()
162 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST()
182 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST()
/systemd-251/src/core/
Dmanager-serialize.h12 int manager_serialize(Manager *m, FILE *f, FDSet *fds, bool switching_root);
13 int manager_deserialize(Manager *m, FILE *f, FDSet *fds);
Dunit-serialize.h9 int unit_serialize(Unit *u, FILE *f, FDSet *fds, bool serialize_jobs);
10 int unit_deserialize(Unit *u, FILE *f, FDSet *fds);
Ddynamic-user.h28 int dynamic_user_serialize(Manager *m, FILE *f, FDSet *fds);
29 void dynamic_user_deserialize_one(Manager *m, const char *value, FDSet *fds);
Dmanager-serialize.c85 FDSet *fds, in manager_serialize()
203 static int manager_deserialize_one_unit(Manager *m, const char *name, FILE *f, FDSet *fds) { in manager_deserialize_one_unit()
224 static int manager_deserialize_units(Manager *m, FILE *f, FDSet *fds) { in manager_deserialize_units()
295 int manager_deserialize(Manager *m, FILE *f, FDSet *fds) { in manager_deserialize()
Dtarget.c137 static int target_serialize(Unit *u, FILE *f, FDSet *fds) { in target_serialize()
148 static int target_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { in target_deserialize_item()
Drestrict-ifaces.c158 int serialize_restrict_network_interfaces(Unit *u, FILE *f, FDSet *fds) { in serialize_restrict_network_interfaces()
198 int serialize_restrict_network_interfaces(Unit *u, FILE *f, FDSet *fds) { in serialize_restrict_network_interfaces()
Dunit.h334 FDSet *initial_socket_bind_link_fds;
343 FDSet *initial_restric_ifaces_link_fds;
558 int (*serialize)(Unit *u, FILE *f, FDSet *fds);
561 int (*deserialize_item)(Unit *u, const char *key, const char *data, FDSet *fds);
564 void (*distribute_fds)(Unit *u, FDSet *fds);
602 void (*notify_message)(Unit *u, const struct ucred *ucred, char * const *tags, FDSet *fds);
Dexecute.h479 int exec_runtime_serialize(const Manager *m, FILE *f, FDSet *fds);
480 int exec_runtime_deserialize_compat(Unit *u, const char *key, const char *value, FDSet *fds);
481 int exec_runtime_deserialize_one(Manager *m, const char *value, FDSet *fds);
Dbpf-socket-bind.h15 int bpf_serialize_socket_bind(Unit *u, FILE *f, FDSet *fds);
Dbpf-socket-bind.c222 int bpf_serialize_socket_bind(Unit *u, FILE *f, FDSet *fds) { in bpf_serialize_socket_bind()
247 int bpf_serialize_socket_bind(Unit *u, FILE *f, FDSet *fds) { in bpf_serialize_socket_bind()
Drestrict-ifaces.h12 int serialize_restrict_network_interfaces(Unit *u, FILE *f, FDSet *fds);
Ddbus.h19 int bus_fdset_add_all(Manager *m, FDSet *fds);
Dslice.c254 static int slice_serialize(Unit *u, FILE *f, FDSet *fds) { in slice_serialize()
266 static int slice_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { in slice_deserialize_item()
Dmain.c1115 FDSet **ret_fds, in prepare_reexecute()
1118 _cleanup_fdset_free_ FDSet *fds = NULL; in prepare_reexecute()
1742 FDSet *fds, in do_reexecute()
1876 FDSet **ret_fds, /* Return parameters for reexecuting */ in invoke_main_loop()
2575 static int collect_fds(FDSet **ret_fds, const char **ret_error_message) { in collect_fds()
2658 FDSet *fds = NULL; in main()
Dscope.c466 static int scope_serialize(Unit *u, FILE *f, FDSet *fds) { in scope_serialize()
486 static int scope_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { in scope_deserialize_item()
/systemd-251/src/journal/
Djournald-stream.h10 int server_restore_streams(Server *s, FDSet *fds);

12