···209209/**210210 * allocate_cache_components() - Allocate components of the cache which require their own211211 * allocation.212212- * @maximum_age: The number of journal blocks before a dirtied page is considered old and must be213213- * written out.214212 *215213 * The caller is responsible for all clean up on errors.216214 *
+4-3
drivers/md/dm-vdo/data-vio.c
···327327328328/**329329 * set_data_vio_compression_status() - Set the compression status of a data_vio.330330- * @state: The expected current status of the data_vio.331331- * @new_state: The status to set.330330+ * @data_vio: The data_vio to change.331331+ * @status: The expected current status of the data_vio.332332+ * @new_status: The status to set.332333 *333334 * Return: true if the new status was set, false if the data_vio's compression status did not334335 * match the expected state, and so was left unchanged.···837836 * @vdo: The vdo to which the pool will belong.838837 * @pool_size: The number of data_vios in the pool.839838 * @discard_limit: The maximum number of data_vios which may be used for discards.840840- * @pool: A pointer to hold the newly allocated pool.839839+ * @pool_ptr: A pointer to hold the newly allocated pool.841840 */842841int make_data_vio_pool(struct vdo *vdo, data_vio_count_t pool_size,843842 data_vio_count_t discard_limit, struct data_vio_pool **pool_ptr)
+5-4
drivers/md/dm-vdo/dedupe.c
···565565 * @waiter: The data_vio's waiter link.566566 * @context: Not used.567567 */568568-static void abort_waiter(struct vdo_waiter *waiter, void *context __always_unused)568568+static void abort_waiter(struct vdo_waiter *waiter, void __always_unused *context)569569{570570 write_data_vio(vdo_waiter_as_data_vio(waiter));571571}···17271727/**17281728 * vdo_continue_hash_lock() - Continue the processing state after writing, compressing, or17291729 * deduplicating.17301730- * @data_vio: The data_vio to continue processing in its hash lock.17301730+ * @completion: The data_vio completion to continue processing in its hash lock.17311731 *17321732 * Asynchronously continue processing a data_vio in its hash lock after it has finished writing,17331733 * compressing, or deduplicating, so it can share the result with any data_vios waiting in the hash···1825182518261826/**18271827 * vdo_acquire_hash_lock() - Acquire or share a lock on a record name.18281828- * @data_vio: The data_vio acquiring a lock on its record name.18281828+ * @completion: The data_vio completion acquiring a lock on its record name.18291829 *18301830 * Acquire or share a lock on the hash (record name) of the data in a data_vio, updating the18311831 * data_vio to reference the lock. This must only be called in the correct thread for the zone. In···2679267926802680/**26812681 * vdo_get_dedupe_statistics() - Tally the statistics from all the hash zones and the UDS index.26822682- * @hash_zones: The hash zones to query26822682+ * @zones: The hash zones to query26832683+ * @stats: A structure to store the statistics26832684 *26842685 * Return: The sum of the hash lock statistics from all hash zones plus the statistics from the UDS26852686 * index
+1-1
drivers/md/dm-vdo/encodings.c
···858858/**859859 * vdo_initialize_layout() - Lay out the partitions of a vdo.860860 * @size: The entire size of the vdo.861861- * @origin: The start of the layout on the underlying storage in blocks.861861+ * @offset: The start of the layout on the underlying storage in blocks.862862 * @block_map_blocks: The size of the block map partition.863863 * @journal_blocks: The size of the journal partition.864864 * @summary_blocks: The size of the slab summary partition.
+1-1
drivers/md/dm-vdo/io-submitter.c
···367367 * completions.368368 * @max_requests_active: Number of bios for merge tracking.369369 * @vdo: The vdo which will use this submitter.370370- * @io_submitter: pointer to the new data structure.370370+ * @io_submitter_ptr: pointer to the new data structure.371371 *372372 * Return: VDO_SUCCESS or an error.373373 */
+1-2
drivers/md/dm-vdo/packer.c
···250250/**251251 * release_compressed_write_waiter() - Update a data_vio for which a successful compressed write252252 * has completed and send it on its way.253253-254253 * @data_vio: The data_vio to release.255254 * @allocation: The allocation to which the compressed block was written.256255 */···382383 * @compression: The agent's compression_state to pack in to.383384 * @data_vio: The data_vio to pack.384385 * @offset: The offset into the compressed block at which to pack the fragment.385385- * @compressed_block: The compressed block which will be written out when batch is fully packed.386386+ * @block: The compressed block which will be written out when batch is fully packed.386387 *387388 * Return: The new amount of space used.388389 */
+1-1
drivers/md/dm-vdo/physical-zone.c
···517517 * @waiter: The allocating_vio that was waiting to allocate.518518 * @context: The context (unused).519519 */520520-static void retry_allocation(struct vdo_waiter *waiter, void *context __always_unused)520520+static void retry_allocation(struct vdo_waiter *waiter, void __always_unused *context)521521{522522 struct data_vio *data_vio = vdo_waiter_as_data_vio(waiter);523523
···12871287 * slab_block_number_from_pbn() - Determine the index within the slab of a particular physical12881288 * block number.12891289 * @slab: The slab.12901290- * @physical_block_number: The physical block number.12901290+ * @pbn: The physical block number.12911291 * @slab_block_number_ptr: A pointer to the slab block number.12921292 *12931293 * Return: VDO_SUCCESS or an error code.···14591459 * @block_number: The block to update.14601460 * @old_status: The reference status of the data block before this decrement.14611461 * @updater: The reference updater doing this operation in case we need to look up the pbn lock.14621462- * @lock: The pbn_lock associated with the block being decremented (may be NULL).14631462 * @counter_ptr: A pointer to the count for the data block (in, out).14641463 * @adjust_block_count: Whether to update the allocator's free block count.14651464 *···32313232/**32323233 * vdo_modify_reference_count() - Modify the reference count of a block by first making a slab32333234 * journal entry and then updating the reference counter.32343234- *32353235- * @data_vio: The data_vio for which to add the entry.32353235+ * @completion: The data_vio completion for which to add the entry.32363236 * @updater: Which of the data_vio's reference updaters is being submitted.32373237 */32383238void vdo_modify_reference_count(struct vdo_completion *completion,···47484750/**47494751 * stop_scrubbing() - Tell the scrubber to stop scrubbing after it finishes the slab it is47504752 * currently working on.47514751- * @scrubber: The scrubber to stop.47524752- * @parent: The completion to notify when scrubbing has stopped.47534753+ * @allocator: The block allocator owning the scrubber to stop.47534754 */47544755static void stop_scrubbing(struct block_allocator *allocator)47554756{
+2-2
drivers/md/dm-vdo/vdo.c
···643643644644/**645645 * free_listeners() - Free the list of read-only listeners associated with a thread.646646- * @thread_data: The thread holding the list to free.646646+ * @thread: The thread holding the list to free.647647 */648648static void free_listeners(struct vdo_thread *thread)649649{···852852/**853853 * vdo_get_state() - Get the current state of the vdo.854854 * @vdo: The vdo.855855-855855+ *856856 * Context: This method may be called from any thread.857857 *858858 * Return: The current state of the vdo.