/systemd-251/src/test/ |
D | test-parse-util.c | 597 TEST(safe_atou64) { in TEST() argument 601 r = safe_atou64("12345", &l); in TEST() 605 r = safe_atou64(" 12345", &l); in TEST() 609 r = safe_atou64("0o11", &l); in TEST() 613 r = safe_atou64("0b11", &l); in TEST() 617 r = safe_atou64("18446744073709551617", &l); in TEST() 620 r = safe_atou64("-1", &l); in TEST() 623 r = safe_atou64(" -1", &l); in TEST() 626 r = safe_atou64("junk", &l); in TEST() 629 r = safe_atou64("123x", &l); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | procfs-util.c | 26 return safe_atou64(value, ret); in procfs_get_pid_max() 39 return safe_atou64(value, ret); in procfs_get_threads_max() 113 return safe_atou64(nr, ret); in procfs_tasks_get_current() 208 r = safe_atou64(digits, &v); in convert_meminfo_value_to_uint64_bytes()
|
D | rlimit-util.c | 93 r = safe_atou64(val, &u); in rlimit_parse_u64() 193 r = safe_atou64(val + 1, &rl); in rlimit_parse_nice() 205 r = safe_atou64(val + 1, &rl); in rlimit_parse_nice() 216 r = safe_atou64(val, &rl); in rlimit_parse_nice()
|
D | limits-util.c | 66 r = safe_atou64(value, &lim); in physical_memory()
|
D | parse-util.h | 73 static inline int safe_atou64(const char *s, uint64_t *ret_u) { in safe_atou64() function
|
D | log.c | 246 if (safe_atou64(w, &dev) < 0) in stderr_is_journal() 248 if (safe_atou64(e, &ino) < 0) in stderr_is_journal()
|
/systemd-251/src/core/ |
D | unit-serialize.c | 356 … else if (MATCH_DESERIALIZE_IMMEDIATE("cpu-usage-base", l, v, safe_atou64, u->cpu_usage_base) || in unit_deserialize() 357 … MATCH_DESERIALIZE_IMMEDIATE("cpuacct-usage-base", l, v, safe_atou64, u->cpu_usage_base)) in unit_deserialize() 360 … else if (MATCH_DESERIALIZE_IMMEDIATE("cpu-usage-last", l, v, safe_atou64, u->cpu_usage_last)) in unit_deserialize() 363 …else if (MATCH_DESERIALIZE_IMMEDIATE("managed-oom-kill-last", l, v, safe_atou64, u->managed_oom_ki… in unit_deserialize() 366 … else if (MATCH_DESERIALIZE_IMMEDIATE("oom-kill-last", l, v, safe_atou64, u->oom_kill_last)) in unit_deserialize() 493 r = safe_atou64(v, &c); in unit_deserialize() 505 r = safe_atou64(v, &c); in unit_deserialize() 517 r = safe_atou64(v, &c); in unit_deserialize()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-pattern.c | 276 if (safe_atou64(t, &v) < 0) in pattern_match() 305 r = safe_atou64(t, &u); in pattern_match() 319 r = safe_atou64(t, &u); in pattern_match() 333 r = safe_atou64(t, &u); in pattern_match()
|
/systemd-251/src/shared/ |
D | efi-loader.c | 25 r = safe_atou64(j, &x); in read_usec() 213 r = safe_atou64(v, &sec); in efi_loader_get_config_timeout_one_shot()
|
D | find-esp.c | 112 r = safe_atou64(v, &pstart); in verify_esp_blkid() 120 r = safe_atou64(v, &psize); in verify_esp_blkid() 202 r = safe_atou64(v, &pstart); in verify_esp_udev() 209 r = safe_atou64(v, &psize); in verify_esp_udev()
|
D | cgroup-setup.c | 165 r = safe_atou64(s, &u); in cg_weight_parse() 185 r = safe_atou64(s, &u); in cg_cpu_shares_parse() 205 r = safe_atou64(s, &u); in cg_blkio_weight_parse()
|
D | psi-util.c | 90 r = safe_atou64(v, &rp.total); in read_resource_pressure()
|
D | loop-util.c | 66 r = safe_atou64(strstrip(p), ret); in get_current_uevent_seqnum() 849 r = safe_atou64(buffer, &partno); in resize_partition() 859 r = safe_atou64(buffer, ¤t_offset); in resize_partition()
|
D | journal-importer.c | 229 r = safe_atou64(value, &x); in process_special_field() 246 r = safe_atou64(value, &x); in process_special_field()
|
D | serialize.c | 138 r = safe_atou64(value, ret); in deserialize_usec()
|
D | logs-show.c | 331 r = safe_atou64(monotonic, &t); in output_timestamp_monotonic() 350 r = safe_atou64(realtime, &x); in output_timestamp_realtime() 666 r = safe_atou64(value, &realtime); in output_verbose()
|
/systemd-251/src/cgtop/ |
D | cgtop.c | 235 r = safe_atou64(v, &g->n_tasks); in process() 265 r = safe_atou64(v, &g->memory); in process() 328 r = safe_atou64(l, &k); in process() 387 r = safe_atou64(val, &new_usage); in process() 406 r = safe_atou64(v, &new_usage); in process()
|
/systemd-251/src/boot/ |
D | bless-boot.c | 172 r = safe_atou64(z, &left); in parse_counter() 188 r = safe_atou64(z, &done); in parse_counter()
|
/systemd-251/src/systemctl/ |
D | systemctl-sysv-compat.c | 69 if (safe_atou64(t, &u) < 0) in parse_shutdown_time_spec()
|
/systemd-251/src/oom/ |
D | oomd-util.c | 45 r = safe_atou64(value, &curr_count); in increment_oomd_xattr() 404 r = safe_atou64(val, &ctx->pgscan); in oomd_cgroup_context_acquire()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-private.c | 243 r = safe_atou64(str, &seqnum); in device_set_seqnum() 289 r = safe_atou64(value, &t); in device_amend()
|
/systemd-251/src/journal/ |
D | journald-kmsg.c | 138 r = safe_atou64(p, &serial); in dev_kmsg_record()
|
/systemd-251/src/import/ |
D | import.c | 395 r = safe_atou64(optarg, &u); in parse_argv()
|
/systemd-251/src/shutdown/ |
D | shutdown.c | 325 r = safe_atou64(s, &usec); in init_watchdog()
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup.c | 191 r = safe_atou64(val, &arg_keyfile_offset); in parse_one_option() 296 r = safe_atou64(val, &arg_offset); in parse_one_option() 302 r = safe_atou64(val, &arg_skip); in parse_one_option()
|