/systemd-251/src/basic/ |
D | capability-util.h | 13 #define CAP_ALL UINT64_MAX 38 return UINT64_MAX >> (63 - cap_last_cap()); in all_capabilities() 63 #define CAPABILITY_QUINTET_NULL { UINT64_MAX, UINT64_MAX, UINT64_MAX, UINT64_MAX, UINT64_MAX } 66 return q->effective != UINT64_MAX || in capability_quintet_is_set() 67 q->bounding != UINT64_MAX || in capability_quintet_is_set() 68 q->inheritable != UINT64_MAX || in capability_quintet_is_set() 69 q->permitted != UINT64_MAX || in capability_quintet_is_set() 70 q->ambient != UINT64_MAX; in capability_quintet_is_set()
|
D | limits-util.c | 71 if (lim == UINT64_MAX) in physical_memory() 101 if (v > UINT64_MAX / p) in physical_memory_scale() 102 return UINT64_MAX; in physical_memory_scale() 107 if (m > UINT64_MAX / ps) in physical_memory_scale() 108 return UINT64_MAX; in physical_memory_scale() 184 if (v > UINT64_MAX / t) /* overflow? */ in system_tasks_max_scale() 185 return UINT64_MAX; in system_tasks_max_scale()
|
D | capability-util.c | 408 ambient_supported = q->ambient != UINT64_MAX; in capability_quintet_mangle() 440 if (q->ambient != UINT64_MAX) { in capability_quintet_enforce() 482 … if (q->inheritable != UINT64_MAX || q->permitted != UINT64_MAX || q->effective != UINT64_MAX) { in capability_quintet_enforce() 495 if (q->inheritable != UINT64_MAX) { in capability_quintet_enforce() 518 if (q->permitted != UINT64_MAX) { in capability_quintet_enforce() 538 if (q->effective != UINT64_MAX) { in capability_quintet_enforce() 562 if (q->bounding != UINT64_MAX) { in capability_quintet_enforce() 590 if (q->bounding != UINT64_MAX) { in capability_quintet_enforce()
|
D | procfs-util.c | 211 if (v == UINT64_MAX) in convert_meminfo_value_to_uint64_bytes() 214 if (v > UINT64_MAX/1024) in convert_meminfo_value_to_uint64_bytes() 222 uint64_t mem_total = UINT64_MAX, mem_available = UINT64_MAX; in procfs_memory_get() 256 if (mem_total != UINT64_MAX && mem_available != UINT64_MAX) in procfs_memory_get()
|
/systemd-251/src/shared/ |
D | user-record-show.c | 252 if (hr->not_before_usec != UINT64_MAX) in user_record_show() 255 if (hr->not_after_usec != UINT64_MAX) in user_record_show() 270 if (hr->tasks_max != UINT64_MAX) in user_record_show() 273 if (hr->memory_high != UINT64_MAX) in user_record_show() 276 if (hr->memory_max != UINT64_MAX) in user_record_show() 279 if (hr->cpu_weight != UINT64_MAX) in user_record_show() 282 if (hr->io_weight != UINT64_MAX) in user_record_show() 308 if (hr->luks_volume_key_size != UINT64_MAX) in user_record_show() 315 if (hr->luks_pbkdf_time_cost_usec != UINT64_MAX) in user_record_show() 317 if (hr->luks_pbkdf_memory_cost != UINT64_MAX) in user_record_show() [all …]
|
D | user-record.c | 34 .last_change_usec = UINT64_MAX, in user_record_new() 35 .last_password_change_usec = UINT64_MAX, in user_record_new() 38 .not_before_usec = UINT64_MAX, in user_record_new() 39 .not_after_usec = UINT64_MAX, in user_record_new() 43 .disk_size = UINT64_MAX, in user_record_new() 44 .disk_size_relative = UINT64_MAX, in user_record_new() 45 .tasks_max = UINT64_MAX, in user_record_new() 46 .memory_high = UINT64_MAX, in user_record_new() 47 .memory_max = UINT64_MAX, in user_record_new() 48 .cpu_weight = UINT64_MAX, in user_record_new() [all …]
|
D | user-record-nss.c | 113 … spwd && spwd->sp_expire > 1 && (uint64_t) spwd->sp_expire < (UINT64_MAX-1)/USEC_PER_DAY, in nss_passwd_to_user_record() 114 spwd->sp_expire * USEC_PER_DAY, UINT64_MAX); in nss_passwd_to_user_record() 121 … spwd && spwd->sp_lstchg > 0 && (uint64_t) spwd->sp_lstchg <= (UINT64_MAX-1)/USEC_PER_DAY, in nss_passwd_to_user_record() 122 spwd->sp_lstchg * USEC_PER_DAY, UINT64_MAX); in nss_passwd_to_user_record() 125 spwd && spwd->sp_min > 0 && (uint64_t) spwd->sp_min <= (UINT64_MAX-1)/USEC_PER_DAY, in nss_passwd_to_user_record() 126 spwd->sp_min * USEC_PER_DAY, UINT64_MAX); in nss_passwd_to_user_record() 129 spwd && spwd->sp_max > 0 && (uint64_t) spwd->sp_max <= (UINT64_MAX-1)/USEC_PER_DAY, in nss_passwd_to_user_record() 130 spwd->sp_max * USEC_PER_DAY, UINT64_MAX); in nss_passwd_to_user_record() 133 … spwd && spwd->sp_warn > 0 && (uint64_t) spwd->sp_warn <= (UINT64_MAX-1)/USEC_PER_DAY, in nss_passwd_to_user_record() 134 spwd->sp_warn * USEC_PER_DAY, UINT64_MAX); in nss_passwd_to_user_record() [all …]
|
D | loop-util.c | 404 uint64_t seqnum = UINT64_MAX; in loop_device_make_internal() 430 if (offset == 0 && IN_SET(size, 0, UINT64_MAX)) { in loop_device_make_internal() 459 .uevent_seqnum_not_before = UINT64_MAX, in loop_device_make_internal() 509 .lo_sizelimit = size == UINT64_MAX ? 0 : size, in loop_device_make_internal() 815 .uevent_seqnum_not_before = UINT64_MAX, in loop_device_open() 862 if (current_offset > UINT64_MAX/512U) in resize_partition() 869 if (size == UINT64_MAX && offset == UINT64_MAX) in resize_partition() 894 .start = offset == UINT64_MAX ? current_offset : offset, in resize_partition() 895 .length = size == UINT64_MAX ? current_size : size, in resize_partition() 931 if (size == UINT64_MAX && offset == UINT64_MAX) in loop_device_refresh_size() [all …]
|
D | btrfs-util.c | 375 if (args->key.min_offset < UINT64_MAX) { in btrfs_ioctl_search_args_inc() 386 if (args->key.min_objectid < UINT64_MAX) { in btrfs_ioctl_search_args_inc() 443 .key.max_offset = UINT64_MAX, in btrfs_subvol_get_info_fd() 447 .key.max_transid = UINT64_MAX, in btrfs_subvol_get_info_fd() 541 .key.max_transid = UINT64_MAX, in btrfs_qgroup_get_quota_fd() 603 ret->referenced_max = UINT64_MAX; in btrfs_qgroup_get_quota_fd() 608 ret->exclusive_max = UINT64_MAX; in btrfs_qgroup_get_quota_fd() 627 ret->referenced = UINT64_MAX; in btrfs_qgroup_get_quota_fd() 628 ret->exclusive = UINT64_MAX; in btrfs_qgroup_get_quota_fd() 632 ret->referenced_max = UINT64_MAX; in btrfs_qgroup_get_quota_fd() [all …]
|
D | bus-print-properties.c | 157 (STR_IN_SET(name, "MemoryCurrent", "TasksCurrent") && u == UINT64_MAX) || in bus_print_property() 158 (endswith(name, "NSec") && u == UINT64_MAX)) in bus_print_property() 163 (STR_IN_SET(name, "TasksMax", "DefaultTasksMax") && u == UINT64_MAX) || in bus_print_property() 164 (startswith(name, "Limit") && u == UINT64_MAX) || in bus_print_property() 165 (startswith(name, "DefaultLimit") && u == UINT64_MAX)) in bus_print_property() 168 …name, "IPIngressBytes", "IPIngressPackets", "IPEgressBytes", "IPEgressPackets") && u == UINT64_MAX) in bus_print_property()
|
D | resize-fs.c | 23 if (sz <= 0 || sz == UINT64_MAX) in resize_fs() 105 return UINT64_MAX; in minimal_size_by_fs_magic() 120 return UINT64_MAX; in minimal_size_by_fs_name()
|
/systemd-251/src/partition/ |
D | repart.c | 105 static uint64_t arg_size = UINT64_MAX; 226 if (v > UINT64_MAX / p) in round_up_size() 227 return UINT64_MAX; /* overflow */ in round_up_size() 242 .current_size = UINT64_MAX, in partition_new() 243 .new_size = UINT64_MAX, in partition_new() 244 .size_min = UINT64_MAX, in partition_new() 245 .size_max = UINT64_MAX, in partition_new() 246 .current_padding = UINT64_MAX, in partition_new() 247 .new_padding = UINT64_MAX, in partition_new() 248 .padding_min = UINT64_MAX, in partition_new() [all …]
|
/systemd-251/src/test/ |
D | test-util.c | 165 assert_se(p < UINT64_MAX); in TEST() 202 assert_se(physical_memory_scale(UINT64_MAX/4, UINT64_MAX) == UINT64_MAX); in TEST() 210 assert_se(t < UINT64_MAX); in TEST() 239 assert_se(system_tasks_max_scale(UINT64_MAX/4, UINT64_MAX) == UINT64_MAX); in TEST()
|
D | test-copy.c | 203 r = copy_bytes(infd, pipefd[1], UINT64_MAX, 0); in TEST() 245 if (max_bytes == UINT64_MAX) in test_copy_bytes_regular_file_one() 254 if (max_bytes < UINT64_MAX) in test_copy_bytes_regular_file_one() 261 if (max_bytes == UINT64_MAX) in test_copy_bytes_regular_file_one() 273 if (max_bytes == UINT64_MAX) in test_copy_bytes_regular_file_one() 283 test_copy_bytes_regular_file_one(saved_argv[0], false, UINT64_MAX); in TEST() 284 test_copy_bytes_regular_file_one(saved_argv[0], true, UINT64_MAX); in TEST() 359 assert_se(copy_bytes(fd, fd_copy, UINT64_MAX, COPY_HOLES) >= 0); in TEST_RET()
|
/systemd-251/src/import/ |
D | import-raw.c | 116 .offset = UINT64_MAX, in raw_import_new() 117 .size_max = UINT64_MAX, in raw_import_new() 225 if (i->offset == UINT64_MAX) { in raw_import_finish() 275 …i->output_fd = open(i->local, O_RDWR|O_NOCTTY|O_CLOEXEC|(i->offset == UINT64_MAX ? O_TRUNC|O_CREAT… in raw_import_open_disk() 279 if (i->offset == UINT64_MAX) in raw_import_open_disk() 306 if (i->offset != UINT64_MAX) { in raw_import_open_disk() 325 if (i->offset != UINT64_MAX || i->size_max != UINT64_MAX) in raw_import_try_reflink() 356 if (i->written_uncompressed >= UINT64_MAX - sz) in raw_import_write() 359 if (i->size_max != UINT64_MAX) { in raw_import_write() 374 if (S_ISREG(i->output_stat.st_mode) && i->offset == UINT64_MAX) { in raw_import_write() [all …]
|
D | import.c | 29 static uint64_t arg_offset = UINT64_MAX, arg_size_max = UINT64_MAX; 98 if (arg_offset != UINT64_MAX) in open_source() 109 if (arg_offset != UINT64_MAX) in open_source() 426 if (arg_offset != UINT64_MAX && arg_size_max != UINT64_MAX && in parse_argv() 427 ((arg_size_max > (UINT64_MAX - arg_offset)) || in parse_argv() 431 if (arg_offset != UINT64_MAX && !FLAGS_SET(arg_import_flags, IMPORT_DIRECT)) in parse_argv()
|
D | pull-job.c | 95 j->content_length = UINT64_MAX; in pull_job_restart() 205 if (j->content_length != UINT64_MAX && in pull_job_curl_on_finished() 250 if (j->offset == UINT64_MAX) { in pull_job_curl_on_finished() 314 if (j->written_uncompressed > UINT64_MAX - sz) in pull_job_write_uncompressed() 331 if (S_ISREG(j->disk_stat.st_mode) && j->offset == UINT64_MAX) { in pull_job_write_uncompressed() 378 if (j->content_length != UINT64_MAX && in pull_job_write_compressed() 418 if (j->offset != UINT64_MAX) { in pull_job_open_disk() 601 if (j->content_length != UINT64_MAX) { in pull_job_header_callback() 704 .content_length = UINT64_MAX, in pull_job_new() 709 .offset = UINT64_MAX, in pull_job_new()
|
D | pull.c | 31 static uint64_t arg_offset = UINT64_MAX, arg_size_max = UINT64_MAX; 84 if (arg_offset != UINT64_MAX) in normalize_local() 487 if (arg_offset != UINT64_MAX && arg_size_max != UINT64_MAX && in parse_argv() 488 ((arg_size_max > (UINT64_MAX - arg_offset)) || in parse_argv() 492 if (arg_offset != UINT64_MAX && !FLAGS_SET(arg_pull_flags, PULL_DIRECT)) in parse_argv()
|
/systemd-251/src/journal/ |
D | test-journal.c | 42 …, "test.journal", O_RDWR|O_CREAT, JOURNAL_COMPRESS|JOURNAL_SEAL, 0666, UINT64_MAX, NULL, m, NULL, … in TEST() 103 managed_journal_file_rotate(&f, m, JOURNAL_SEAL|JOURNAL_COMPRESS, UINT64_MAX, NULL); in TEST() 104 managed_journal_file_rotate(&f, m, JOURNAL_SEAL|JOURNAL_COMPRESS, UINT64_MAX, NULL); in TEST() 131 …assert_se(managed_journal_file_open(-1, "test.journal", O_RDWR|O_CREAT, 0, 0666, UINT64_MAX, NULL,… in TEST() 132 …n(-1, "test-compress.journal", O_RDWR|O_CREAT, JOURNAL_COMPRESS, 0666, UINT64_MAX, NULL, m, NULL, … in TEST() 133 …file_open(-1, "test-seal.journal", O_RDWR|O_CREAT, JOURNAL_SEAL, 0666, UINT64_MAX, NULL, m, NULL, … in TEST() 134 …ompress.journal", O_RDWR|O_CREAT, JOURNAL_COMPRESS|JOURNAL_SEAL, 0666, UINT64_MAX, NULL, m, NULL, … in TEST() 230 assert_se(!check_compressed(UINT64_MAX, 255)); in TEST() 231 assert_se(check_compressed(UINT64_MAX, 513)); in TEST()
|
/systemd-251/src/home/ |
D | homed-home.c | 1742 if (disk_size == UINT64_MAX && h->record->rebalance_weight != REBALANCE_WEIGHT_OFF) in home_resize() 1745 if (disk_size == UINT64_MAX || disk_size == h->record->disk_size) { in home_resize() 1746 if (h->record->disk_size == UINT64_MAX) in home_resize() 2152 uint64_t disk_size = UINT64_MAX, disk_usage = UINT64_MAX, disk_free = UINT64_MAX, in home_get_disk_status_luks() 2153 disk_ceiling = UINT64_MAX, disk_floor = UINT64_MAX, in home_get_disk_status_luks() 2154 stat_used = UINT64_MAX, fs_size = UINT64_MAX, header_size = 0; in home_get_disk_status_luks() 2238 if (disk_size != UINT64_MAX && disk_size > fs_size) in home_get_disk_status_luks() 2249 if (disk_size != UINT64_MAX && disk_size > disk_free) { in home_get_disk_status_luks() 2252 if (stat_used != UINT64_MAX && disk_usage > stat_used) in home_get_disk_status_luks() 2262 if (disk_floor == UINT64_MAX) in home_get_disk_status_luks() [all …]
|
/systemd-251/src/libsystemd/sd-event/ |
D | test-event.c | 224 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in test_basic_one() 234 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in test_basic_one() 237 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in test_basic_one() 265 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in test_basic_one() 269 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in test_basic_one() 273 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in test_basic_one() 365 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in TEST() 369 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in TEST() 373 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in TEST() 377 assert_se(sd_event_run(e, UINT64_MAX) >= 1); in TEST() [all …]
|
/systemd-251/src/sysupdate/ |
D | sysupdate-pattern.c | 308 if (u == UINT64_MAX) in pattern_match() 311 assert(found.size == UINT64_MAX); in pattern_match() 322 if (u == UINT64_MAX) in pattern_match() 325 assert(found.tries_done == UINT64_MAX); in pattern_match() 336 if (u == UINT64_MAX) in pattern_match() 339 assert(found.tries_left == UINT64_MAX); in pattern_match() 526 if (fields->size == UINT64_MAX) in pattern_format() 535 if (fields->tries_done == UINT64_MAX) in pattern_format() 544 if (fields->tries_left == UINT64_MAX) in pattern_format()
|
D | sysupdate-instance.h | 42 .size = UINT64_MAX, \ 43 .tries_done = UINT64_MAX, \ 44 .tries_left = UINT64_MAX, \
|
/systemd-251/src/libsystemd-network/ |
D | test-ipv4ll.c | 151 sd_event_run(e, UINT64_MAX); in test_basic_request() 157 sd_event_run(e, UINT64_MAX); in test_basic_request() 162 sd_event_run(e, UINT64_MAX); in test_basic_request() 166 sd_event_run(e, UINT64_MAX); in test_basic_request() 169 sd_event_run(e, UINT64_MAX); in test_basic_request()
|
/systemd-251/src/nspawn/ |
D | nspawn-oci.c | 311 if (*mask == UINT64_MAX) in oci_capability_array() 339 if (s->full_capabilities.bounding != UINT64_MAX) { in oci_capabilities() 1183 *m = UINT64_MAX; in oci_cgroup_memory_limit() 1192 if (k >= UINT64_MAX) in oci_cgroup_memory_limit() 1207 .limit = UINT64_MAX, in oci_cgroup_memory() 1208 .reservation = UINT64_MAX, in oci_cgroup_memory() 1209 .swap = UINT64_MAX, in oci_cgroup_memory() 1230 if (data.swap != UINT64_MAX) { in oci_cgroup_memory() 1231 if (data.limit == UINT64_MAX) in oci_cgroup_memory() 1246 if (data.limit != UINT64_MAX) { in oci_cgroup_memory() [all …]
|