Home | History | Annotate | Download | only in cmirrord

Lines Matching refs:sync_bits

75 	dm_bitset_t sync_bits;
262 /* Read disk bits into sync_bits */
478 lc->sync_bits = dm_bitset_create(NULL, region_count);
479 if (!lc->sync_bits) {
485 dm_bit_set_all(lc->sync_bits);
524 if (lc->sync_bits)
525 free(lc->sync_bits);
646 free(lc->sync_bits);
753 LOG_ERROR("Error:: partial bit loading (just sync_bits)");
810 dm_bit_copy(lc->sync_bits, lc->clean_bits);
827 log_clear_bit(lc, lc->sync_bits, i);
830 lc->sync_count = count_bits32(lc->sync_bits);
973 *rtn = log_test_bit(lc->sync_bits, region);
1121 if (!other_matches && log_test_bit(lc->sync_bits, region))
1223 if (!log_test_bit(lc->sync_bits, pkg->r)) {
1235 pkg->r = find_next_zero_bit(lc->sync_bits,
1276 if (log_test_bit(lc->sync_bits, pkg->region)) {
1282 log_set_bit(lc, lc->sync_bits, pkg->region);
1302 if (!log_test_bit(lc->sync_bits,
1309 } else if (log_test_bit(lc->sync_bits, pkg->region)) {
1311 log_clear_bit(lc, lc->sync_bits, pkg->region);
1318 if (lc->sync_count != count_bits32(lc->sync_bits)) {
1319 unsigned long long reset = count_bits32(lc->sync_bits);
1365 if (lc->sync_count != count_bits32(lc->sync_bits)) {
1366 unsigned long long reset = count_bits32(lc->sync_bits);
1512 pkg->is_recovering = !log_test_bit(lc->sync_bits, region);
1706 (unsigned long long)count_bits32(lc->sync_bits));
1723 if (!strncmp(which, "sync_bits", 9)) {
1724 memcpy(*buf, lc->sync_bits + 1, bitset_size);
1725 LOG_DBG("[%s] storing sync_bits (sync_count = %llu):",
1727 count_bits32(lc->sync_bits));
1776 if (!strncmp(which, "sync_bits", 9)) {
1778 memcpy(lc->sync_bits + 1, buf, bitset_size);
1779 LOG_DBG("[%s] loading sync_bits (sync_count = %llu):",
1781 count_bits32(lc->sync_bits));
1782 print_bits((char *)lc->sync_bits, bitset_size, 0);
1829 LOG_ERROR("sync_bits:");
1830 print_bits((char *)lc->sync_bits, (int)lc->sync_bits[0], 1);
1832 print_bits((char *)lc->clean_bits, (int)lc->sync_bits[0], 1);
1842 LOG_ERROR("sync_bits:");
1843 print_bits((char *)lc->sync_bits, (int)lc->sync_bits[0], 1);
1845 print_bits((char *)lc->clean_bits, (int)lc->sync_bits[0], 1);
1848 r = find_next_zero_bit(lc->sync_bits, 0);