dm vdo: fix various function names referenced in comment blocks
No functional modification involved. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
This commit is contained in:
parent
17b1a73fea
commit
eebd4e1630
@ -300,7 +300,7 @@ static bool check_code(bool valid, const struct admin_state_code *code, const ch
|
||||
}
|
||||
|
||||
/**
|
||||
* vdo_drain_operation() - Check that an operation is a drain.
|
||||
* assert_vdo_drain_operation() - Check that an operation is a drain.
|
||||
* @waiter The completion to finish with an error if the operation is not a drain.
|
||||
*
|
||||
* Return: true if the specified operation is a drain.
|
||||
|
@ -2839,7 +2839,7 @@ static const char *index_state_to_string(struct hash_zones *zones,
|
||||
}
|
||||
|
||||
/**
|
||||
* vdo_dump_hash_zone() - Dump information about a hash zone to the log for debugging.
|
||||
* dump_hash_zone() - Dump information about a hash zone to the log for debugging.
|
||||
* @zone: The zone to dump.
|
||||
*/
|
||||
static void dump_hash_zone(const struct hash_zone *zone)
|
||||
|
@ -1172,7 +1172,7 @@ static struct vdo_component unpack_vdo_component_41_0(struct packed_vdo_componen
|
||||
}
|
||||
|
||||
/**
|
||||
* vdo_decode_component() - Decode the component data for the vdo itself out of the super block.
|
||||
* decode_vdo_component() - Decode the component data for the vdo itself out of the super block.
|
||||
*
|
||||
* Return: VDO_SUCCESS or an error.
|
||||
*/
|
||||
|
@ -88,7 +88,7 @@ static inline struct vdo_flush *completion_as_vdo_flush(struct vdo_completion *c
|
||||
}
|
||||
|
||||
/**
|
||||
* waiter_as_flush() - Convert a vdo_flush's generic wait queue entry back to the vdo_flush.
|
||||
* vdo_waiter_as_flush() - Convert a vdo_flush's generic wait queue entry back to the vdo_flush.
|
||||
* @waiter: The wait queue entry to convert.
|
||||
*
|
||||
* Return: The wait queue entry as a vdo_flush.
|
||||
|
@ -295,8 +295,8 @@ static void notify_flusher(struct vdo_completion *completion)
|
||||
}
|
||||
|
||||
/**
|
||||
* void attempt_generation_complete_notification() - Notify the flusher if some generation no
|
||||
* longer has active VIOs.
|
||||
* attempt_generation_complete_notification() - Notify the flusher if some generation no
|
||||
* longer has active VIOs.
|
||||
* @completion: The zone completion.
|
||||
*/
|
||||
static void attempt_generation_complete_notification(struct vdo_completion *completion)
|
||||
|
@ -258,7 +258,7 @@ static int make_pbn_lock_pool(size_t capacity, struct pbn_lock_pool **pool_ptr)
|
||||
}
|
||||
|
||||
/**
|
||||
* vdo_free_pbn_lock_pool() - Free a PBN lock pool.
|
||||
* free_pbn_lock_pool() - Free a PBN lock pool.
|
||||
* @pool: The lock pool to free.
|
||||
*
|
||||
* This also frees all the PBN locks it allocated, so the caller must ensure that all locks have
|
||||
|
@ -2035,8 +2035,8 @@ static inline slab_block_number find_zero_byte_in_word(const u8 *word_ptr,
|
||||
}
|
||||
|
||||
/**
|
||||
* vdo_find_free_block() - Find the first block with a reference count of zero in the specified
|
||||
* range of reference counter indexes.
|
||||
* find_free_block() - Find the first block with a reference count of zero in the specified
|
||||
* range of reference counter indexes.
|
||||
* @slab: The slab counters to scan.
|
||||
* @index_ptr: A pointer to hold the array index of the free block.
|
||||
*
|
||||
@ -5032,7 +5032,7 @@ get_ref_counts_statistics(const struct slab_depot *depot)
|
||||
}
|
||||
|
||||
/**
|
||||
* get_depot_slab_journal_statistics() - Get the aggregated slab journal statistics for the depot.
|
||||
* get_slab_journal_statistics() - Get the aggregated slab journal statistics for the depot.
|
||||
* @depot: The slab depot.
|
||||
*
|
||||
* Return: The aggregated statistics for all slab journals in the depot.
|
||||
|
@ -267,8 +267,8 @@ static int __must_check initialize_thread_config(struct thread_count_config coun
|
||||
}
|
||||
|
||||
/**
|
||||
* vdo_read_geometry_block() - Synchronously read the geometry block from a vdo's underlying block
|
||||
* device.
|
||||
* read_geometry_block() - Synchronously read the geometry block from a vdo's underlying block
|
||||
* device.
|
||||
* @vdo: The vdo whose geometry is to be read.
|
||||
*
|
||||
* Return: VDO_SUCCESS or an error code.
|
||||
|
Loading…
x
Reference in New Issue
Block a user