Home
last modified time | relevance | path

Searched refs:PTR_TO_INT (Results 1 – 25 of 29) sorted by relevance

12

/systemd-251/src/libsystemd/sd-event/
Dtest-event.c27 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()
Dsd-event.c1080 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/
Dspecifier.c319 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()
Djournal-util.c111 err = abs(PTR_TO_INT(code)); in journal_access_check_and_warn()
Dseccomp-util.c1093 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()
Dxml.c51 t = PTR_TO_INT(*state); in xml_tokenize()
/systemd-251/src/test/
Dtest-macro.c197 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()
Dtest-mountpoint-util.c87 int mnt_id = PTR_TO_INT(k), mnt_id2; in TEST()
Dtest-hashmap-plain.c685 return trivial_hash_func(INT_TO_PTR(PTR_TO_INT(p) & 0xff), state); in crippled_hashmap_func()
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-server.c167 if (PTR_TO_INT(p) < 0) in test_one()
168 return PTR_TO_INT(p); in test_one()
Dtest-bus-chat.c534 if (PTR_TO_INT(p) < 0) in main()
540 if (PTR_TO_INT(p) < 0) in main()
Dtest-bus-objects.c566 if (PTR_TO_INT(p) < 0) in main()
567 return PTR_TO_INT(p); in main()
/systemd-251/src/cryptenroll/
Dcryptenroll-wipe.c393 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/
Dfd-util.h17 #define PTR_TO_FD(p) (PTR_TO_INT(p)-1)
Dmacro.h280 #define PTR_TO_INT(p) ((int) ((intptr_t) (p))) macro
/systemd-251/src/udev/
Dudevadm-monitor.c32 MonitorNetlinkGroup group = PTR_TO_INT(userdata); in device_monitor_handler()
Dudev-ctrl.c308 ctrl_msg_wire.value.intval = PTR_TO_INT(data); in udev_ctrl_send()
Dudev-rules.c1982 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/
Dnetworkd-setlink.c949 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()
Dnetworkctl.c2637 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()
Dnetworkd-network.c108 if (network_resolve_netdev_one(network, name, PTR_TO_INT(kind), &netdev) <= 0) in network_resolve_stacked_netdevs()
/systemd-251/src/core/
Ddbus-execute.c375 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()
Dunit.h112 return PTR_TO_INT(p); in UNIT_DEPENDENCY_FROM_PTR()
/systemd-251/src/busctl/
Dbusctl.c249 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/
Djournalctl.c1771 xsprintf(match, "SYSLOG_FACILITY=%d", PTR_TO_INT(p)); in add_facilities()

12