/systemd-251/src/basic/ |
D | xattr-util.h | 11 static inline int getxattr_malloc(const char *path, const char *name, char **ret) { in getxattr_malloc() 14 static inline int lgetxattr_malloc(const char *path, const char *name, char **ret) { in lgetxattr_malloc() 17 static inline int fgetxattr_malloc(int fd, const char *name, char **ret) { in fgetxattr_malloc() 24 static inline int fd_getcrtime(int fd, usec_t *ret) { in fd_getcrtime() 30 static inline int listxattr_malloc(const char *path, char **ret) { in listxattr_malloc() 33 static inline int llistxattr_malloc(const char *path, char **ret) { in llistxattr_malloc() 36 static inline int flistxattr_malloc(int fd, char **ret) { in flistxattr_malloc()
|
D | unit-name.c | 127 int unit_name_to_prefix(const char *n, char **ret) { in unit_name_to_prefix() 151 UnitNameFlags unit_name_to_instance(const char *n, char **ret) { in unit_name_to_instance() 183 int unit_name_to_prefix_and_instance(const char *n, char **ret) { in unit_name_to_prefix_and_instance() 218 int unit_name_change_suffix(const char *n, const char *suffix, char **ret) { in unit_name_change_suffix() 252 int unit_name_build(const char *prefix, const char *instance, const char *suffix, char **ret) { in unit_name_build() 269 int unit_name_build_from_type(const char *prefix, const char *instance, UnitType type, char **ret) { in unit_name_build_from_type() 349 int unit_name_unescape(const char *f, char **ret) { in unit_name_unescape() 389 int unit_name_path_escape(const char *f, char **ret) { in unit_name_path_escape() 419 int unit_name_path_unescape(const char *f, char **ret) { in unit_name_path_unescape() 458 int unit_name_replace_instance(const char *f, const char *i, char **ret) { in unit_name_replace_instance() [all …]
|
D | rlimit-util.c | 78 static int rlimit_parse_u64(const char *val, rlim_t *ret) { in rlimit_parse_u64() 103 static int rlimit_parse_size(const char *val, rlim_t *ret) { in rlimit_parse_size() 125 static int rlimit_parse_sec(const char *val, rlim_t *ret) { in rlimit_parse_sec() 154 static int rlimit_parse_usec(const char *val, rlim_t *ret) { in rlimit_parse_usec() 178 static int rlimit_parse_nice(const char *val, rlim_t *ret) { in rlimit_parse_nice() 247 int rlimit_parse_one(int resource, const char *val, rlim_t *ret) { in rlimit_parse_one() 259 int rlimit_parse(int resource, const char *val, struct rlimit *ret) { in rlimit_parse() 300 int rlimit_format(const struct rlimit *rl, char **ret) { in rlimit_format()
|
D | process-util.c | 88 int get_process_comm(pid_t pid, char **ret) { in get_process_comm() 130 char **ret, in get_process_cmdline_nulstr() 185 int get_process_cmdline(pid_t pid, size_t max_columns, ProcessCmdlineFlags flags, char **ret) { in get_process_cmdline() 459 int get_process_capeff(pid_t pid, char **ret) { in get_process_capeff() 475 static int get_process_link_contents(pid_t pid, const char *proc_file, char **ret) { in get_process_link_contents() 487 int get_process_exe(pid_t pid, char **ret) { in get_process_exe() 506 static int get_process_id(pid_t pid, const char *field, uid_t *ret) { in get_process_id() 549 int get_process_uid(pid_t pid, uid_t *ret) { in get_process_uid() 559 int get_process_gid(pid_t pid, gid_t *ret) { in get_process_gid() 570 int get_process_cwd(pid_t pid, char **ret) { in get_process_cwd() [all …]
|
/systemd-251/src/core/ |
D | unit-printf.h | 12 static inline int unit_full_printf(const Unit *u, const char *text, char **ret) { in unit_full_printf() 15 static inline int unit_path_printf(const Unit *u, const char *text, char **ret) { in unit_path_printf() 18 static inline int unit_fd_printf(const Unit *u, const char *text, char **ret) { in unit_fd_printf() 21 static inline int unit_cred_printf(const Unit *u, const char *text, char **ret) { in unit_cred_printf() 24 static inline int unit_env_printf(const Unit *u, const char *text, char **ret) { in unit_env_printf()
|
D | unit-printf.c | 15 …nd_instance(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_prefix_and_instance() 21 …fier_prefix(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_prefix() 27 …x_unescaped(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_prefix_unescaped() 39 …e_unescaped(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_instance_unescaped() 45 …t_component(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_last_component() 63 …t_unescaped(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_last_component_unescaped() 74 …er_filename(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_filename() 87 …fier_cgroup(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_cgroup() 104 …cgroup_root(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_cgroup_root() 118 …group_slice(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_cgroup_slice() [all …]
|
/systemd-251/src/shared/ |
D | specifier.c | 37 …, size_t max_length, const Specifier table[], const char *root, const void *userdata, char **ret) { in specifier_printf() 114 …fier_string(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_string() 129 …r_real_path(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_real_path() 140 …l_directory(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_real_directory() 154 …_machine_id(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_machine_id() 183 …ier_boot_id(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_boot_id() 202 …er_hostname(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_hostname() 215 …rt_hostname(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_short_hostname() 228 …ty_hostname(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_pretty_hostname() 243 …nel_release(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_kernel_release() [all …]
|
D | efi-loader.h | 33 static inline int efi_loader_get_entries(char ***ret) { in efi_loader_get_entries() 37 static inline int efi_loader_get_features(uint64_t *ret) { in efi_loader_get_features() 41 static inline int efi_loader_get_config_timeout_one_shot(usec_t *ret) { in efi_loader_get_config_timeout_one_shot()
|
D | install-printf.c | 16 …nd_instance(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_prefix_and_instance() 38 …cifier_name(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_name() 52 …fier_prefix(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_prefix() 58 …er_instance(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_instance() 77 …t_component(char specifier, const void *data, const char *root, const void *userdata, char **ret) { in specifier_last_component() 104 char **ret) { in install_name_printf()
|
D | userdb-dropin.c | 18 UserRecord **ret) { in load_user() 104 …opin_user_record_by_name(const char *name, const char *path, UserDBFlags flags, UserRecord **ret) { in dropin_user_record_by_name() 134 int dropin_user_record_by_uid(uid_t uid, const char *path, UserDBFlags flags, UserRecord **ret) { in dropin_user_record_by_uid() 170 GroupRecord **ret) { in load_group() 248 …in_group_record_by_name(const char *name, const char *path, UserDBFlags flags, GroupRecord **ret) { in dropin_group_record_by_name() 278 int dropin_group_record_by_gid(gid_t gid, const char *path, UserDBFlags flags, GroupRecord **ret) { in dropin_group_record_by_gid()
|
D | parse-argument.c | 13 int parse_boolean_argument(const char *optname, const char *s, bool *ret) { in parse_boolean_argument() 34 int parse_json_argument(const char *s, JsonFormatFlags *ret) { in parse_json_argument() 83 int parse_signal_argument(const char *s, int *ret) { in parse_signal_argument()
|
D | userdb.c | 409 int r, ret = 0; in userdb_start_query() local 599 static int synthetic_root_user_build(UserRecord **ret) { in synthetic_root_user_build() 609 static int synthetic_nobody_user_build(UserRecord **ret) { in synthetic_nobody_user_build() 620 int userdb_by_name(const char *name, UserDBFlags flags, UserRecord **ret) { in userdb_by_name() 673 int userdb_by_uid(uid_t uid, UserDBFlags flags, UserRecord **ret) { in userdb_by_uid() 724 int userdb_all(UserDBFlags flags, UserDBIterator **ret) { in userdb_all() 766 int userdb_iterator_get(UserDBIterator *iterator, UserRecord **ret) { in userdb_iterator_get() 877 static int synthetic_root_group_build(GroupRecord **ret) { in synthetic_root_group_build() 885 static int synthetic_nobody_group_build(GroupRecord **ret) { in synthetic_nobody_group_build() 893 int groupdb_by_name(const char *name, UserDBFlags flags, GroupRecord **ret) { in groupdb_by_name() [all …]
|
D | efi-loader.c | 13 static int read_usec(const char *variable, usec_t *ret) { in read_usec() 61 int efi_loader_get_device_part_uuid(sd_id128_t *ret) { in efi_loader_get_device_part_uuid() 86 int efi_loader_get_entries(char ***ret) { in efi_loader_get_entries() 139 int efi_loader_get_features(uint64_t *ret) { in efi_loader_get_features() 190 int efi_loader_get_config_timeout_one_shot(usec_t *ret) { in efi_loader_get_config_timeout_one_shot()
|
D | import-util.c | 42 char **ret) { in import_url_last_component() 82 char **ret) { in import_url_change_suffix() 137 int tar_strip_suffixes(const char *name, char **ret) { in tar_strip_suffixes() 164 int raw_strip_suffixes(const char *p, char **ret) { in raw_strip_suffixes()
|
D | blockdev-util.c | 16 int block_get_whole_disk(dev_t d, dev_t *ret) { in block_get_whole_disk() 60 int get_block_device_fd(int fd, dev_t *ret) { in get_block_device_fd() 88 int get_block_device(const char *path, dev_t *ret) { in get_block_device() 101 int block_get_originating(dev_t dt, dev_t *ret) { in block_get_originating() 184 int get_block_device_harder_fd(int fd, dev_t *ret) { in get_block_device_harder_fd() 204 int get_block_device_harder(const char *path, dev_t *ret) { in get_block_device_harder()
|
/systemd-251/src/libsystemd-network/ |
D | ndisc-router.c | 48 int sd_ndisc_router_get_timestamp(sd_ndisc_router *rt, clockid_t clock, uint64_t *ret) { in sd_ndisc_router_get_timestamp() 61 int sd_ndisc_router_get_raw(sd_ndisc_router *rt, const void **ret, size_t *size) { in sd_ndisc_router_get_raw() 216 int sd_ndisc_router_get_hop_limit(sd_ndisc_router *rt, uint8_t *ret) { in sd_ndisc_router_get_hop_limit() 240 int sd_ndisc_router_get_preference(sd_ndisc_router *rt, unsigned *ret) { in sd_ndisc_router_get_preference() 248 int sd_ndisc_router_get_mtu(sd_ndisc_router *rt, uint32_t *ret) { in sd_ndisc_router_get_mtu() 287 int sd_ndisc_router_option_get_type(sd_ndisc_router *rt, uint8_t *ret) { in sd_ndisc_router_option_get_type() 314 int sd_ndisc_router_option_get_raw(sd_ndisc_router *rt, const void **ret, size_t *size) { in sd_ndisc_router_option_get_raw() 336 static int get_prefix_info(sd_ndisc_router *rt, struct nd_opt_prefix_info **ret) { in get_prefix_info() 362 int sd_ndisc_router_prefix_get_valid_lifetime(sd_ndisc_router *rt, uint32_t *ret) { in sd_ndisc_router_prefix_get_valid_lifetime() 377 int sd_ndisc_router_prefix_get_preferred_lifetime(sd_ndisc_router *rt, uint32_t *ret) { in sd_ndisc_router_prefix_get_preferred_lifetime() [all …]
|
D | lldp-neighbor.c | 380 int sd_lldp_neighbor_get_raw(sd_lldp_neighbor *n, const void **ret, size_t *size) { in sd_lldp_neighbor_get_raw() 391 int sd_lldp_neighbor_get_chassis_id(sd_lldp_neighbor *n, uint8_t *type, const void **ret, size_t *s… in sd_lldp_neighbor_get_chassis_id() 406 static int format_mac_address(const void *data, size_t sz, char **ret) { in format_mac_address() 425 static int format_network_address(const void *data, size_t sz, char **ret) { in format_network_address() 444 int sd_lldp_neighbor_get_chassis_id_as_string(sd_lldp_neighbor *n, const char **ret) { in sd_lldp_neighbor_get_chassis_id_as_string() 500 int sd_lldp_neighbor_get_port_id(sd_lldp_neighbor *n, uint8_t *type, const void **ret, size_t *size… in sd_lldp_neighbor_get_port_id() 515 int sd_lldp_neighbor_get_port_id_as_string(sd_lldp_neighbor *n, const char **ret) { in sd_lldp_neighbor_get_port_id_as_string() 578 int sd_lldp_neighbor_get_system_name(sd_lldp_neighbor *n, const char **ret) { in sd_lldp_neighbor_get_system_name() 589 int sd_lldp_neighbor_get_system_description(sd_lldp_neighbor *n, const char **ret) { in sd_lldp_neighbor_get_system_description() 600 int sd_lldp_neighbor_get_port_description(sd_lldp_neighbor *n, const char **ret) { in sd_lldp_neighbor_get_port_description() [all …]
|
D | sd-dhcp6-lease.c | 25 int sd_dhcp6_lease_get_timestamp(sd_dhcp6_lease *lease, clockid_t clock, uint64_t *ret) { in sd_dhcp6_lease_get_timestamp() 100 int sd_dhcp6_lease_get_server_address(sd_dhcp6_lease *lease, struct in6_addr *ret) { in sd_dhcp6_lease_get_server_address() 196 int dhcp6_lease_get_preference(sd_dhcp6_lease *lease, uint8_t *ret) { in dhcp6_lease_get_preference() 211 int dhcp6_lease_get_rapid_commit(sd_dhcp6_lease *lease, bool *ret) { in dhcp6_lease_get_rapid_commit() 286 int sd_dhcp6_lease_get_dns(sd_dhcp6_lease *lease, const struct in6_addr **ret) { in sd_dhcp6_lease_get_dns() 315 int sd_dhcp6_lease_get_domains(sd_dhcp6_lease *lease, char ***ret) { in sd_dhcp6_lease_get_domains() 385 int sd_dhcp6_lease_get_ntp_addrs(sd_dhcp6_lease *lease, const struct in6_addr **ret) { in sd_dhcp6_lease_get_ntp_addrs() 404 int sd_dhcp6_lease_get_ntp_fqdn(sd_dhcp6_lease *lease, char ***ret) { in sd_dhcp6_lease_get_ntp_fqdn() 437 int sd_dhcp6_lease_get_fqdn(sd_dhcp6_lease *lease, const char **ret) { in sd_dhcp6_lease_get_fqdn() 670 int dhcp6_lease_new(sd_dhcp6_lease **ret) { in dhcp6_lease_new() [all …]
|
/systemd-251/src/network/ |
D | networkd-json.c | 22 static int address_build_json(Address *address, JsonVariant **ret) { in address_build_json() 65 static int addresses_build_json(Set *addresses, JsonVariant **ret) { in addresses_build_json() 97 static int neighbor_build_json(Neighbor *n, JsonVariant **ret) { in neighbor_build_json() 122 static int neighbors_build_json(Set *neighbors, JsonVariant **ret) { in neighbors_build_json() 154 static int nexthop_group_build_json(NextHop *nexthop, JsonVariant **ret) { in nexthop_group_build_json() 190 static int nexthop_build_json(NextHop *n, JsonVariant **ret) { in nexthop_build_json() 232 static int nexthops_build_json(Set *nexthops, JsonVariant **ret) { in nexthops_build_json() 264 static int route_build_json(Route *route, JsonVariant **ret) { in route_build_json() 330 static int routes_build_json(Set *routes, JsonVariant **ret) { in routes_build_json() 362 static int routing_policy_rule_build_json(RoutingPolicyRule *rule, JsonVariant **ret) { in routing_policy_rule_build_json() [all …]
|
/systemd-251/src/libsystemd/sd-id128/ |
D | sd-id128.c | 56 _public_ int sd_id128_from_string(const char s[], sd_id128_t *ret) { in sd_id128_from_string() 104 _public_ int sd_id128_get_machine(sd_id128_t *ret) { in sd_id128_get_machine() 123 _public_ int sd_id128_get_boot(sd_id128_t *ret) { in sd_id128_get_boot() 139 static int get_invocation_from_keyring(sd_id128_t *ret) { in get_invocation_from_keyring() 237 static int get_invocation_from_environment(sd_id128_t *ret) { in get_invocation_from_environment() 249 _public_ int sd_id128_get_invocation(sd_id128_t *ret) { in sd_id128_get_invocation() 273 _public_ int sd_id128_randomize(sd_id128_t *ret) { in sd_id128_randomize() 291 static int get_app_specific(sd_id128_t base, sd_id128_t app_id, sd_id128_t *ret) { in get_app_specific() 306 _public_ int sd_id128_get_machine_app_specific(sd_id128_t app_id, sd_id128_t *ret) { in sd_id128_get_machine_app_specific() 319 _public_ int sd_id128_get_boot_app_specific(sd_id128_t app_id, sd_id128_t *ret) { in sd_id128_get_boot_app_specific()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-message-nfnl.c | 18 static int nft_message_new(sd_netlink *nfnl, sd_netlink_message **ret, int family, uint16_t msg_typ… in nft_message_new() 41 static int nfnl_message_batch(sd_netlink *nfnl, sd_netlink_message **ret, uint16_t msg_type) { in nfnl_message_batch() 59 int sd_nfnl_message_batch_begin(sd_netlink *nfnl, sd_netlink_message **ret) { in sd_nfnl_message_batch_begin() 63 int sd_nfnl_message_batch_end(sd_netlink *nfnl, sd_netlink_message **ret) { in sd_nfnl_message_batch_end() 69 sd_netlink_message **ret, in sd_nfnl_nft_message_new_basechain() 118 sd_netlink_message **ret, in sd_nfnl_nft_message_del_table() 139 sd_netlink_message **ret, in sd_nfnl_nft_message_new_table() 160 sd_netlink_message **ret, in sd_nfnl_nft_message_new_rule() 186 sd_netlink_message **ret, in sd_nfnl_nft_message_new_set() 222 sd_netlink_message **ret, in sd_nfnl_nft_message_new_setelems_begin() [all …]
|
D | netlink-genl.c | 97 const GenericNetlinkFamily **ret) { in genl_family_new() 221 sd_netlink_message **ret) { in genl_message_new() 254 const GenericNetlinkFamily **ret) { in genl_family_get_by_name_internal() 286 …c int genl_family_get_by_name(sd_netlink *nl, const char *name, const GenericNetlinkFamily **ret) { in genl_family_get_by_name() 317 static int genl_family_get_by_id(sd_netlink *nl, uint16_t id, const GenericNetlinkFamily **ret) { in genl_family_get_by_id() 368 …_genl_message_new(sd_netlink *nl, const char *family_name, uint8_t cmd, sd_netlink_message **ret) { in sd_genl_message_new() 384 int sd_genl_message_get_family_name(sd_netlink *nl, sd_netlink_message *m, const char **ret) { in sd_genl_message_get_family_name() 406 int sd_genl_message_get_command(sd_netlink *nl, sd_netlink_message *m, uint8_t *ret) { in sd_genl_message_get_command() 436 …ly_get_multicast_group_id_by_name(const GenericNetlinkFamily *f, const char *name, uint32_t *ret) { in genl_family_get_multicast_group_id_by_name() 486 int sd_genl_socket_open(sd_netlink **ret) { in sd_genl_socket_open()
|
/systemd-251/src/libsystemd/sd-network/ |
D | sd-network.c | 21 static int network_get_string(const char *field, char **ret) { in network_get_string() 64 static int network_get_strv(const char *key, char ***ret) { in network_get_strv() 93 int sd_network_get_dns(char ***ret) { in sd_network_get_dns() 97 int sd_network_get_ntp(char ***ret) { in sd_network_get_ntp() 101 int sd_network_get_search_domains(char ***ret) { in sd_network_get_search_domains() 105 int sd_network_get_route_domains(char ***ret) { in sd_network_get_route_domains() 109 static int network_link_get_string(int ifindex, const char *field, char **ret) { in network_link_get_string() 132 static int network_link_get_strv(int ifindex, const char *key, char ***ret) { in network_link_get_strv() 301 int sd_network_link_get_dns(int ifindex, char ***ret) { in sd_network_link_get_dns() 305 int sd_network_link_get_ntp(int ifindex, char ***ret) { in sd_network_link_get_ntp() [all …]
|
/systemd-251/src/udev/ |
D | udevadm-util.c | 13 static int find_device_from_path(const char *path, sd_device **ret) { in find_device_from_path() 29 static int find_device_from_unit(const char *unit_name, sd_device **ret) { in find_device_from_unit() 73 int find_device(const char *id, const char *prefix, sd_device **ret) { in find_device() 95 int find_device_with_action(const char *id, sd_device_action_t action, sd_device **ret) { in find_device_with_action()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-creds.c | 141 _public_ int sd_bus_creds_new_from_pid(sd_bus_creds **ret, pid_t pid, uint64_t mask) { in sd_bus_creds_new_from_pid() 313 _public_ int sd_bus_creds_get_selinux_context(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_selinux_context() 324 _public_ int sd_bus_creds_get_comm(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_comm() 336 _public_ int sd_bus_creds_get_tid_comm(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_tid_comm() 348 _public_ int sd_bus_creds_get_exe(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_exe() 362 _public_ int sd_bus_creds_get_cgroup(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_cgroup() 374 _public_ int sd_bus_creds_get_unit(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_unit() 401 _public_ int sd_bus_creds_get_user_unit(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_user_unit() 428 _public_ int sd_bus_creds_get_slice(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_slice() 455 _public_ int sd_bus_creds_get_user_slice(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_user_slice() [all …]
|