Searched refs:UINTN_MAX (Results 1 – 5 of 5) sorted by relevance
85 if (l > UINTN_MAX - target_dir_prefix_size) in pack_cpio_one()90 if (l > UINTN_MAX - fname_size) in pack_cpio_one()100 if (l == UINTN_MAX) /* overflow check */ in pack_cpio_one()105 if (q == UINTN_MAX) /* overflow check */ in pack_cpio_one()108 if (l > UINTN_MAX - q) /* overflow check */ in pack_cpio_one()112 if (*cpio_buffer_size > UINTN_MAX - l) /* overflow check */ in pack_cpio_one()186 if (l > UINTN_MAX - path_size) in pack_cpio_dir()192 if (l == UINTN_MAX) /* overflow check */ in pack_cpio_dir()195 if (*cpio_buffer_size > UINTN_MAX - l) /* overflow check */ in pack_cpio_dir()400 … if (n_items > (UINTN_MAX / sizeof(UINT16)) - 16) /* Overflow check, just in case */ in pack_cpio()
569 ps_bool(L"counting boots: %s\n", entry->tries_left != UINTN_MAX); in print_status()570 if (entry->tries_left != UINTN_MAX) { in print_status()1260 UINTN left = UINTN_MAX, done = UINTN_MAX, factor = 1, i, next_left, next_done; in config_entry_parse_tries()1301 if (left == UINTN_MAX) /* didn't read at least one digit for 'left'? */ in config_entry_parse_tries()1304 if (done == UINTN_MAX) /* no 'done' counter? If so, it's equivalent to 0 */ in config_entry_parse_tries()1310 if (left == UINTN_MAX) /* didn't parse any digit yet? */ in config_entry_parse_tries()1313 if (done != UINTN_MAX) /* already encountered a dash earlier? */ in config_entry_parse_tries()1320 left = UINTN_MAX; in config_entry_parse_tries()1327 if (left == UINTN_MAX) in config_entry_parse_tries()1333 if (digit > UINTN_MAX / factor) /* overflow check */ in config_entry_parse_tries()[all …]
39 if (n > UINTN_MAX - credential_initrd_size) in combine_initrd()45 if (n > UINTN_MAX - global_credential_initrd_size) in combine_initrd()51 if (n > UINTN_MAX - sysext_initrd_size) in combine_initrd()
11 #define UINTN_MAX (~(UINTN)0) macro12 #define INTN_MAX ((INTN)(UINTN_MAX>>1))
65 if (h->SizeOfPartitionEntry > UINTN_MAX / h->NumberOfPartitionEntries) in verify_gpt()