/systemd-251/src/libsystemd/sd-event/ |
D | test-event.c | 27 log_info("preparing %c", PTR_TO_INT(userdata)); in prepare_handler() 42 log_info("got IO on %c", PTR_TO_INT(userdata)); in io_handler() 73 log_info("got child on %c", PTR_TO_INT(userdata)); in child_handler() 91 log_info("got signal on %c", PTR_TO_INT(userdata)); in signal_handler() 141 log_info("got defer on %c", PTR_TO_INT(userdata)); in defer_handler() 159 log_info("got timer on %c", PTR_TO_INT(userdata)); in time_handler() 181 log_info("got quit handler on %c", PTR_TO_INT(userdata)); in exit_handler() 543 log_info("got pidfd on %c", PTR_TO_INT(userdata)); in pidfd_handler()
|
D | sd-event.c | 1080 return sd_event_exit(sd_event_source_get_event(s), PTR_TO_INT(userdata)); in io_exit_callback() 1179 return sd_event_exit(sd_event_source_get_event(s), PTR_TO_INT(userdata)); in time_exit_callback() 1315 return sd_event_exit(sd_event_source_get_event(s), PTR_TO_INT(userdata)); in signal_exit_callback() 1379 return sd_event_exit(sd_event_source_get_event(s), PTR_TO_INT(userdata)); in child_exit_callback() 1568 return sd_event_exit(sd_event_source_get_event(s), PTR_TO_INT(userdata)); in generic_exit_callback() 1996 return sd_event_exit(sd_event_source_get_event(s), PTR_TO_INT(userdata)); in inotify_exit_callback()
|
/systemd-251/src/shared/ |
D | specifier.c | 319 LookupScope scope = PTR_TO_INT(data); in specifier_group_name() 336 LookupScope scope = PTR_TO_INT(data); in specifier_group_id() 353 LookupScope scope = PTR_TO_INT(data); in specifier_user_name() 380 LookupScope scope = PTR_TO_INT(data); in specifier_user_id()
|
D | journal-util.c | 111 err = abs(PTR_TO_INT(code)); in journal_access_check_and_warn()
|
D | seccomp-util.c | 1093 int id = PTR_TO_INT(syscall_id) - 1; in seccomp_load_syscall_filter_set_raw() 1094 int error = PTR_TO_INT(val); in seccomp_load_syscall_filter_set_raw() 1471 int af = PTR_TO_INT(afp); in seccomp_restrict_address_families() 1557 SCMP_A0(SCMP_CMP_EQ, PTR_TO_INT(af))); in seccomp_restrict_address_families()
|
D | xml.c | 51 t = PTR_TO_INT(*state); in xml_tokenize()
|
/systemd-251/src/test/ |
D | test-macro.c | 197 assert_se(PTR_TO_INT(INT_TO_PTR(0)) == 0); in TEST() 198 assert_se(PTR_TO_INT(INT_TO_PTR(1)) == 1); in TEST() 199 assert_se(PTR_TO_INT(INT_TO_PTR(-1)) == -1); in TEST() 200 assert_se(PTR_TO_INT(INT_TO_PTR(INT_MAX)) == INT_MAX); in TEST() 201 assert_se(PTR_TO_INT(INT_TO_PTR(INT_MIN)) == INT_MIN); in TEST()
|
D | test-mountpoint-util.c | 87 int mnt_id = PTR_TO_INT(k), mnt_id2; in TEST()
|
D | test-hashmap-plain.c | 685 return trivial_hash_func(INT_TO_PTR(PTR_TO_INT(p) & 0xff), state); in crippled_hashmap_func()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-server.c | 167 if (PTR_TO_INT(p) < 0) in test_one() 168 return PTR_TO_INT(p); in test_one()
|
D | test-bus-chat.c | 534 if (PTR_TO_INT(p) < 0) in main() 540 if (PTR_TO_INT(p) < 0) in main()
|
D | test-bus-objects.c | 566 if (PTR_TO_INT(p) < 0) in main() 567 return PTR_TO_INT(p); in main()
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-wipe.c | 393 int slot = PTR_TO_INT(e); in wipe_slots() 406 ordered_tokens[n_ordered_tokens++] = PTR_TO_INT(e); in wipe_slots()
|
/systemd-251/src/basic/ |
D | fd-util.h | 17 #define PTR_TO_FD(p) (PTR_TO_INT(p)-1)
|
D | macro.h | 280 #define PTR_TO_INT(p) ((int) ((intptr_t) (p))) macro
|
/systemd-251/src/udev/ |
D | udevadm-monitor.c | 32 MonitorNetlinkGroup group = PTR_TO_INT(userdata); in device_monitor_handler()
|
D | udev-ctrl.c | 308 ctrl_msg_wire.value.intval = PTR_TO_INT(data); in udev_ctrl_send()
|
D | udev-rules.c | 1982 device_set_devlink_priority(dev, PTR_TO_INT(token->data)); in udev_rule_apply_token_to_event() 1985 int level = PTR_TO_INT(token->data); in udev_rule_apply_token_to_event()
|
/systemd-251/src/network/ |
D | networkd-setlink.c | 949 up = PTR_TO_INT(req->userdata); in link_up_or_down_handler() 1021 bool up = PTR_TO_INT(userdata); in link_process_activation() 1111 bool up = PTR_TO_INT(userdata); in link_process_up_or_down()
|
D | networkctl.c | 2637 index = PTR_TO_INT(p); in link_up_down() 2672 index = PTR_TO_INT(p); in link_delete() 2777 index = PTR_TO_INT(p); in verb_reconfigure()
|
D | networkd-network.c | 108 if (network_resolve_netdev_one(network, name, PTR_TO_INT(kind), &netdev) <= 0) in network_resolve_stacked_netdevs()
|
/systemd-251/src/core/ |
D | dbus-execute.c | 375 int num = PTR_TO_INT(val); in property_get_syscall_filter() 377 name = seccomp_syscall_resolve_num_arch(SCMP_ARCH_NATIVE, PTR_TO_INT(id) - 1); in property_get_syscall_filter() 440 name = seccomp_syscall_resolve_num_arch(SCMP_ARCH_NATIVE, PTR_TO_INT(id) - 1); in property_get_syscall_log() 583 name = af_to_name(PTR_TO_INT(af)); in property_get_address_families()
|
D | unit.h | 112 return PTR_TO_INT(p); in UNIT_DEPENDENCY_FROM_PTR()
|
/systemd-251/src/busctl/ |
D | busctl.c | 249 TABLE_INT, PTR_TO_INT(v), in list_bus_names() 274 TABLE_INT, PTR_TO_INT(v), in list_bus_names()
|
/systemd-251/src/journal/ |
D | journalctl.c | 1771 xsprintf(match, "SYSLOG_FACILITY=%d", PTR_TO_INT(p)); in add_facilities()
|