Lines Matching full:valid
32 bool valid; member
221 int valid = false; in vhdx_log_hdr_is_valid() local
243 /* log entries are only valid if they match the file-wide log guid in vhdx_log_hdr_is_valid()
253 valid = true; in vhdx_log_hdr_is_valid()
256 return valid; in vhdx_log_hdr_is_valid()
265 * 2. Verifying a valid signature ('zero' or 'desc' for descriptors)
273 * Returns true if valid
289 /* valid */ in vhdx_log_desc_is_valid()
293 /* valid */ in vhdx_log_desc_is_valid()
593 bool *valid, VHDXLogEntryHeader *entry) in vhdx_validate_log_entry() argument
602 *valid = false; in vhdx_validate_log_entry()
654 *valid = true; in vhdx_validate_log_entry()
667 /* Search through the log circular buffer, and find the valid, active
686 * we find a valid, active log sequence, or reach the end of the in vhdx_log_search()
701 current.valid = true; in vhdx_log_search()
725 if (current.valid) { in vhdx_log_search()
726 if (candidate.valid == false || in vhdx_log_search()
739 if (candidate.valid) { in vhdx_log_search()
802 * sequence of valid entries present in the log. */ in vhdx_parse_log()
809 if (logs.valid) { in vhdx_parse_log()
1049 VHDXLogSequence logs = { .valid = true, in vhdx_log_write_and_flush()