Lines Matching refs:operation

751 	const struct admin_state_code *operation;
788 operation = vdo_get_admin_state_code(&journal->slab->state);
789 if (operation == VDO_ADMIN_STATE_WAITING_FOR_RECOVERY) {
841 * @operation: The type of the entry.
849 enum journal_operation operation,
854 if (operation == VDO_JOURNAL_BLOCK_MAP_REMAPPING) {
897 * @operation: The type of entry to make.
904 enum journal_operation operation, bool increment,
922 if (operation == VDO_JOURNAL_BLOCK_MAP_REMAPPING) {
934 pbn - journal->slab->start, operation, increment);
949 * @operation: The type of entry to add.
958 enum journal_operation operation, bool increment,
971 (header->has_block_map_increments || (operation == VDO_JOURNAL_BLOCK_MAP_REMAPPING))) {
999 add_entry(journal, pbn, operation, increment, expanded);
1461 * @updater: The reference updater doing this operation in case we need to look up the pbn lock.
1520 * @normal_operation: Whether we are in normal operation vs. recovery or rebuild.
1584 * @normal_operation: Whether we are in normal operation vs. recovery or rebuild.
1610 } else if (updater->operation == VDO_JOURNAL_DATA_REMAPPING) {
1722 add_entry(journal, updater->zpbn.pbn, updater->operation, updater->increment,
1751 * Return: true if the first entry waiter's operation is a block map increment.
1759 return (updater->operation == VDO_JOURNAL_BLOCK_MAP_REMAPPING);
1943 enum journal_operation operation)
1950 .operation = operation,
1987 .operation = entry.operation,
2601 const struct admin_state_code *operation = vdo_get_admin_state_code(state);
2603 if (operation == VDO_ADMIN_STATE_SCRUBBING)
2701 vdo_log_info("VDO commencing normal operation");
2806 vdo_get_journal_operation_name(entry.operation),
3271 .operation = VDO_JOURNAL_DATA_REMAPPING,
3364 const struct admin_state_code *operation =
3370 vdo_start_operation_with_waiter(&slab->state, operation,
3381 const struct admin_state_code *operation =
3387 if (operation == VDO_ADMIN_STATE_LOADING_FOR_RECOVERY) {
3442 const struct admin_state_code *operation = vdo_get_admin_state_code(state);
3444 if (operation == VDO_ADMIN_STATE_LOADING_FOR_REBUILD) {
4284 * Context: This method may be called only before entering normal operation from the load thread.
4537 * load_slab_summary() - The preamble of a load operation.
4546 const struct admin_state_code *operation =
4558 if ((operation == VDO_ADMIN_STATE_FORMATTING) ||
4559 (operation == VDO_ADMIN_STATE_LOADING_FOR_REBUILD)) {
4583 * @operation: The type of load to perform.
4585 * @context: Additional context for the load operation; may be NULL.
4587 * This method may be called only before entering normal operation from the load thread.
4590 const struct admin_state_code *operation,
4593 if (!vdo_assert_load_operation(operation, parent))
4596 vdo_schedule_operation_with_context(depot->action_manager, operation,
4623 * @parent: The completion to notify when the operation is complete.
4625 * This method may be called only before entering normal operation from the load thread. It must be
4838 * @operation: The drain operation (flush, rebuild, suspend, or save).
4845 const struct admin_state_code *operation,
4848 vdo_schedule_operation(depot->action_manager, operation,