Commit eebd4e16 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Mike Snitzer

dm vdo: fix various function names referenced in comment blocks

No functional modification involved.
Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarMatthew Sakai <msakai@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent 17b1a73f
...@@ -300,7 +300,7 @@ static bool check_code(bool valid, const struct admin_state_code *code, const ch ...@@ -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. * @waiter The completion to finish with an error if the operation is not a drain.
* *
* Return: true if the specified operation is 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, ...@@ -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. * @zone: The zone to dump.
*/ */
static void dump_hash_zone(const struct hash_zone *zone) 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 ...@@ -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. * Return: VDO_SUCCESS or an error.
*/ */
......
...@@ -88,7 +88,7 @@ static inline struct vdo_flush *completion_as_vdo_flush(struct vdo_completion *c ...@@ -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. * @waiter: The wait queue entry to convert.
* *
* Return: The wait queue entry as a vdo_flush. * Return: The wait queue entry as a vdo_flush.
......
...@@ -295,7 +295,7 @@ static void notify_flusher(struct vdo_completion *completion) ...@@ -295,7 +295,7 @@ static void notify_flusher(struct vdo_completion *completion)
} }
/** /**
* void attempt_generation_complete_notification() - Notify the flusher if some generation no * attempt_generation_complete_notification() - Notify the flusher if some generation no
* longer has active VIOs. * longer has active VIOs.
* @completion: The zone completion. * @completion: The zone completion.
*/ */
......
...@@ -258,7 +258,7 @@ static int make_pbn_lock_pool(size_t capacity, struct pbn_lock_pool **pool_ptr) ...@@ -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. * @pool: The lock pool to free.
* *
* This also frees all the PBN locks it allocated, so the caller must ensure that all locks have * This also frees all the PBN locks it allocated, so the caller must ensure that all locks have
......
...@@ -2035,7 +2035,7 @@ static inline slab_block_number find_zero_byte_in_word(const u8 *word_ptr, ...@@ -2035,7 +2035,7 @@ 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 * find_free_block() - Find the first block with a reference count of zero in the specified
* range of reference counter indexes. * range of reference counter indexes.
* @slab: The slab counters to scan. * @slab: The slab counters to scan.
* @index_ptr: A pointer to hold the array index of the free block. * @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) ...@@ -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. * @depot: The slab depot.
* *
* Return: The aggregated statistics for all slab journals in the depot. * Return: The aggregated statistics for all slab journals in the depot.
......
...@@ -267,7 +267,7 @@ static int __must_check initialize_thread_config(struct thread_count_config coun ...@@ -267,7 +267,7 @@ 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 * read_geometry_block() - Synchronously read the geometry block from a vdo's underlying block
* device. * device.
* @vdo: The vdo whose geometry is to be read. * @vdo: The vdo whose geometry is to be read.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment