Lines Matching refs:slot_num
50 int node_num, int slot_num);
57 int slot_num);
63 int slot_num,
907 osb->slot_num); in ocfs2_journal_init()
1149 ocfs2_clear_journal_error(osb->sb, journal->j_journal, osb->slot_num); in ocfs2_journal_load()
1374 int slot_num, in ocfs2_queue_recovery_completion() argument
1399 item->lri_slot = slot_num; in ocfs2_queue_recovery_completion()
1421 ocfs2_queue_recovery_completion(journal, osb->slot_num, in ocfs2_complete_mount_recovery()
1438 osb->slot_num, in ocfs2_complete_quota_recovery()
1449 int status, node_num, slot_num; in __ocfs2_recovery_thread() local
1486 ocfs2_queue_recovery_completion(osb->journal, osb->slot_num, NULL, in __ocfs2_recovery_thread()
1495 slot_num = ocfs2_node_num_to_slot(osb, node_num); in __ocfs2_recovery_thread()
1496 trace_ocfs2_recovery_thread_node(node_num, slot_num); in __ocfs2_recovery_thread()
1497 if (slot_num == -ENOENT) { in __ocfs2_recovery_thread()
1510 && rm_quota[i] != slot_num; i++) in __ocfs2_recovery_thread()
1514 rm_quota[rm_quota_used++] = slot_num; in __ocfs2_recovery_thread()
1517 status = ocfs2_recover_node(osb, node_num, slot_num); in __ocfs2_recovery_thread()
1611 int slot_num, in ocfs2_read_journal_inode() argument
1618 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode()
1621 slot_num); in ocfs2_read_journal_inode()
1650 int slot_num) in ocfs2_replay_journal() argument
1661 status = ocfs2_read_journal_inode(osb, slot_num, &bh, &inode); in ocfs2_replay_journal()
1680 if (osb->slot_recovery_generations[slot_num] != slot_reco_gen) { in ocfs2_replay_journal()
1681 trace_ocfs2_replay_journal_recovered(slot_num, in ocfs2_replay_journal()
1682 osb->slot_recovery_generations[slot_num], slot_reco_gen); in ocfs2_replay_journal()
1683 osb->slot_recovery_generations[slot_num] = slot_reco_gen; in ocfs2_replay_journal()
1707 osb->slot_recovery_generations[slot_num] = slot_reco_gen; in ocfs2_replay_journal()
1715 "device (%u,%u)\n", node_num, slot_num, MAJOR(osb->sb->s_dev), in ocfs2_replay_journal()
1741 ocfs2_clear_journal_error(osb->sb, journal, slot_num); in ocfs2_replay_journal()
1757 osb->slot_recovery_generations[slot_num] = in ocfs2_replay_journal()
1770 "device (%u,%u)\n", node_num, slot_num, MAJOR(osb->sb->s_dev), in ocfs2_replay_journal()
1796 int node_num, int slot_num) in ocfs2_recover_node() argument
1802 trace_ocfs2_recover_node(node_num, slot_num, osb->node_num); in ocfs2_recover_node()
1808 status = ocfs2_replay_journal(osb, node_num, slot_num); in ocfs2_recover_node()
1811 trace_ocfs2_recover_node_skip(slot_num, node_num); in ocfs2_recover_node()
1820 status = ocfs2_begin_local_alloc_recovery(osb, slot_num, &la_copy); in ocfs2_recover_node()
1829 status = ocfs2_begin_truncate_log_recovery(osb, slot_num, &tl_copy); in ocfs2_recover_node()
1835 status = ocfs2_clear_slot(osb, slot_num); in ocfs2_recover_node()
1840 ocfs2_queue_recovery_completion(osb->journal, slot_num, la_copy, in ocfs2_recover_node()
1853 int slot_num) in ocfs2_trylock_journal() argument
1859 slot_num); in ocfs2_trylock_journal()
1920 if (i == osb->slot_num) { in ocfs2_mark_dead_nodes()