id
stringlengths
4
63
text
stringlengths
153
8.81M
vcn_v5_0_1_mc_resume(9)
NAME vcn_v5_0_1_mc_resume - memory controller programming SYNOPSIS void vcn_v5_0_1_mc_resume (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Let the VCN memory controller know it's offsets SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_init(9), v...
vcn_v5_0_1_mc_resume_dpg_mode(9)
NAME vcn_v5_0_1_mc_resume_dpg_mode - memory controller programming for dpg mode SYNOPSIS void vcn_v5_0_1_mc_resume_dpg_mode (struct amdgpu_vcn_inst *vinst , bool indirect ); ARGUMENTS vinst VCN instance indirect indirectly write sram DESCRIPTION Let the VCN memory controller know it's offsets with d...
vcn_v5_0_1_pause_dpg_mode(9)
NAME vcn_v5_0_1_pause_dpg_mode - VCN pause with dpg mode SYNOPSIS int vcn_v5_0_1_pause_dpg_mode (struct amdgpu_vcn_inst *vinst , struct dpg_pause_state *new_state ); ARGUMENTS vinst VCN instance new_state pause state DESCRIPTION Pause dpg mode for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/a...
vcn_v5_0_1_process_interrupt(9)
NAME vcn_v5_0_1_process_interrupt - process VCN block interrupt SYNOPSIS int vcn_v5_0_1_process_interrupt (struct amdgpu_device *adev , struct amdgpu_irq_src *source , struct amdgpu_iv_entry *entry ); ARGUMENTS adev amdgpu_device pointer source interrupt sources entry interrupt entry...
vcn_v5_0_1_resume(9)
NAME vcn_v5_0_1_resume - resume VCN block SYNOPSIS int vcn_v5_0_1_resume (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Resume firmware and hw init VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early...
vcn_v5_0_1_set_clockgating_state(9)
NAME vcn_v5_0_1_set_clockgating_state - set VCN block clockgating state SYNOPSIS int vcn_v5_0_1_set_clockgating_state (struct amdgpu_ip_block *ip_block , enum amd_clockgating_state state ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. state clock gating state DESCRIPTION S...
vcn_v5_0_1_set_irq_funcs(9)
NAME vcn_v5_0_1_set_irq_funcs - set VCN block interrupt irq functions SYNOPSIS void vcn_v5_0_1_set_irq_funcs (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set VCN block interrupt irq functions SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_...
vcn_v5_0_1_set_unified_ring_funcs(9)
NAME vcn_v5_0_1_set_unified_ring_funcs - set unified ring functions SYNOPSIS void vcn_v5_0_1_set_unified_ring_funcs (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set unified ring functions SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_ini...
vcn_v5_0_1_start(9)
NAME vcn_v5_0_1_start - VCN start SYNOPSIS int vcn_v5_0_1_start (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Start VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_init(9), vcn_v5_0_1_sw_init(9), vcn_v5_0_1_sw_fini(9), vcn_v5_0_1_hw_i...
vcn_v5_0_1_start_dpg_mode(9)
NAME vcn_v5_0_1_start_dpg_mode - VCN start with dpg mode SYNOPSIS int vcn_v5_0_1_start_dpg_mode (struct amdgpu_vcn_inst *vinst , bool indirect ); ARGUMENTS vinst VCN instance indirect indirectly write sram DESCRIPTION Start VCN block with dpg mode SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu...
vcn_v5_0_1_stop(9)
NAME vcn_v5_0_1_stop - VCN stop SYNOPSIS int vcn_v5_0_1_stop (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_init(9), vcn_v5_0_1_sw_init(9), vcn_v5_0_1_sw_fini(9), vcn_v5_0_1_hw_init(...
vcn_v5_0_1_stop_dpg_mode(9)
NAME vcn_v5_0_1_stop_dpg_mode - VCN stop with dpg mode SYNOPSIS void vcn_v5_0_1_stop_dpg_mode (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block with dpg mode SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_init(9), vcn_v5_0_1_sw_init(...
vcn_v5_0_1_suspend(9)
NAME vcn_v5_0_1_suspend - suspend VCN block SYNOPSIS int vcn_v5_0_1_suspend (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION HW fini and suspend VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_ini...
vcn_v5_0_1_sw_fini(9)
NAME vcn_v5_0_1_sw_fini - sw fini for VCN block SYNOPSIS int vcn_v5_0_1_sw_fini (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION VCN suspend and free up sw allocation SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0...
vcn_v5_0_1_sw_init(9)
NAME vcn_v5_0_1_sw_init - sw init for VCN block SYNOPSIS int vcn_v5_0_1_sw_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Load firmware and sw initialization SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1...
vcn_v5_0_1_unified_ring_get_rptr(9)
NAME vcn_v5_0_1_unified_ring_get_rptr - get unified read pointer SYNOPSIS uint64_t vcn_v5_0_1_unified_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c v...
vcn_v5_0_1_unified_ring_get_wptr(9)
NAME vcn_v5_0_1_unified_ring_get_wptr - get unified write pointer SYNOPSIS uint64_t vcn_v5_0_1_unified_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c ...
vcn_v5_0_1_unified_ring_set_wptr(9)
NAME vcn_v5_0_1_unified_ring_set_wptr - set enc write pointer SYNOPSIS void vcn_v5_0_1_unified_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Commits the enc write pointer to the hardware SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_e...
vcn_v5_0_1_wait_for_idle(9)
NAME vcn_v5_0_1_wait_for_idle - wait for VCN block idle SYNOPSIS int vcn_v5_0_1_wait_for_idle (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Wait for VCN block idle SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_...
vco_get(9)
NAME vco_get - get ICST VCO settings from a certain ICST SYNOPSIS int vco_get (struct clk_icst *icst , struct icst_vco *vco ); ARGUMENTS icst the ICST clock to get vco the VCO struct to return the value in SEE ALSO Kernel file ./drivers/clk/versatile/clk-icst.c struct clk_icst(9), vco_set(9) ...
vco_set(9)
NAME vco_set - commit changes to an ICST VCO SYNOPSIS int vco_set (struct clk_icst *icst , struct icst_vco vco ); ARGUMENTS icst the ICST clock to set vco the VCO struct to set the changes from SEE ALSO Kernel file ./drivers/clk/versatile/clk-icst.c struct clk_icst(9), vco_get(9) April 2026 ...
vconsole.conf(5)
NAME vconsole.conf - Configuration file for the virtual console SYNOPSIS /etc/vconsole.conf DESCRIPTION The /etc/vconsole.conf file configures the virtual console, i.e. keyboard mapping and console font. It is applied at boot by udev using 90-vconsole.rules file. You can safely mask this file if you want to avoid thi...
vcs(4)
NAME vcs, vcsa - virtual console memory DESCRIPTION /dev/vcs0 is a character device with major number 7 and minor number 0, usually with mode 0644 and ownership root:tty. It refers to the memory of the currently displayed virtual console terminal. /dev/vcs[1-63] are character devices for virtual console termi...
vcs_size(9)
NAME vcs_size - return size for a VC in @vc SYNOPSIS int vcs_size (const struct vc_data *vc , bool attr , bool unicode ); ARGUMENTS vc which VC attr does it use attributes? unicode is it unicode? DESCRIPTION Must be called with console_lock. SEE ALSO Kernel file ./drivers/tty/vt/...
vcs_vc(9)
NAME vcs_vc - return VC for @inode SYNOPSIS struct vc_data * vcs_vc (struct inode *inode , bool *viewed ); ARGUMENTS inode inode for which to return a VC viewed returns whether this console is currently foreground (viewed) DESCRIPTION Must be called with console_lock. SEE ALSO Kernel file ./drive...
vcsa(4)
NAME vcs, vcsa - virtual console memory DESCRIPTION /dev/vcs0 is a character device with major number 7 and minor number 0, usually with mode 0644 and ownership root:tty. It refers to the memory of the currently displayed virtual console terminal. /dev/vcs[1-63] are character devices for virtual console termi...
vcstime(8)
NAME vcstime - Show time in upper right hand corner of the console screen SYNOPSIS vcstime DESCRIPTION vcstime shows the current time in the upper right-hand corner of the console screen. This simple program shows the current time in the corner of the console screen. It needs to be run by root, in ord...
vdec_if_decode(9)
NAME vdec_if_decode - trigger decode SYNOPSIS int vdec_if_decode (struct mtk_vcodec_dec_ctx *ctx , struct mtk_vcodec_mem *bs , struct vdec_fb *fb , bool *res_chg ); ARGUMENTS ctx [in] v4l2 context bs [in] input bitstream fb [in] frame buffer to store decoded frame, when null ...
vdec_if_deinit(9)
NAME vdec_if_deinit - deinitialize decode driver SYNOPSIS void vdec_if_deinit (struct mtk_vcodec_dec_ctx *ctx ); ARGUMENTS ctx [in] v4l2 context SEE ALSO Kernel file ./drivers/media/platform/mediatek/vcodec/decoder/vdec_drv_if.h enum vdec_fb_status(9), struct vdec_fb_node(9), vdec_if_init(9), vdec_if_decode(...
vdec_if_get_param(9)
NAME vdec_if_get_param - get driver's parameter SYNOPSIS int vdec_if_get_param (struct mtk_vcodec_dec_ctx *ctx , enum vdec_get_param_type type , void *out ); ARGUMENTS ctx [in] v4l2 context type [in] input parameter type out [out] buffer to store query result SEE ALSO Kernel fi...
vdec_if_init(9)
NAME vdec_if_init - initialize decode driver SYNOPSIS int vdec_if_init (struct mtk_vcodec_dec_ctx *ctx , unsigned int fourcc ); ARGUMENTS ctx [in] v4l2 context fourcc [in] video format fourcc, V4L2_PIX_FMT_H264/VP8/VP9.. SEE ALSO Kernel file ./drivers/media/platform/mediatek/vcodec/decoder/vdec_...
vdec_msg_queue_deinit(9)
NAME vdec_msg_queue_deinit - deinit lat buffer information. SYNOPSIS void vdec_msg_queue_deinit (struct vdec_msg_queue *msg_queue , struct mtk_vcodec_dec_ctx *ctx ); ARGUMENTS msg_queue used to store the lat buffer information ctx v4l2 ctx SEE ALSO Kernel file ./drivers/media/platform/mediatek/...
vdec_msg_queue_dqbuf(9)
NAME vdec_msg_queue_dqbuf - dequeue lat buffer from queue list. SYNOPSIS struct vdec_lat_buf * vdec_msg_queue_dqbuf (struct vdec_msg_queue_ctx *ctx ); ARGUMENTS ctx message queue context RETURN returns not null if dq successfully, or fail. SEE ALSO Kernel file ./drivers/media/platform/mediatek/vcodec/de...
vdec_msg_queue_init(9)
NAME vdec_msg_queue_init - init lat buffer information. SYNOPSIS int vdec_msg_queue_init (struct vdec_msg_queue *msg_queue , struct mtk_vcodec_dec_ctx *ctx , core_decode_cb_t core_decode , int private_size ); ARGUMENTS msg_queue used to store the lat buffer information ctx v4l2 ctx core_deco...
vdec_msg_queue_init_ctx(9)
NAME vdec_msg_queue_init_ctx - used to init msg queue context information. SYNOPSIS void vdec_msg_queue_init_ctx (struct vdec_msg_queue_ctx *ctx , int hardware_index ); ARGUMENTS ctx message queue context hardware_index hardware index SEE ALSO Kernel file ./drivers/media/platfo...
vdec_msg_queue_qbuf(9)
NAME vdec_msg_queue_qbuf - enqueue lat buffer to queue list. SYNOPSIS int vdec_msg_queue_qbuf (struct vdec_msg_queue_ctx *ctx , struct vdec_lat_buf *buf ); ARGUMENTS ctx message queue context buf current lat buffer RETURN returns 0 if qbuf successfully, or fail. SEE ALSO Kernel file ./dr...
vdec_msg_queue_update_ube_rptr(9)
NAME vdec_msg_queue_update_ube_rptr - used to update the ube read point. SYNOPSIS void vdec_msg_queue_update_ube_rptr (struct vdec_msg_queue *msg_queue , uint64_t ube_rptr ); ARGUMENTS msg_queue used to store the lat buffer information ube_rptr current ube read point SEE ALSO Kernel file ./drivers/m...
vdec_msg_queue_update_ube_wptr(9)
NAME vdec_msg_queue_update_ube_wptr - used to update the ube write point. SYNOPSIS void vdec_msg_queue_update_ube_wptr (struct vdec_msg_queue *msg_queue , uint64_t ube_wptr ); ARGUMENTS msg_queue used to store the lat buffer information ube_wptr current ube write point SEE ALSO Kernel file ./drivers...
vdec_msg_queue_wait_lat_buf_full(9)
NAME vdec_msg_queue_wait_lat_buf_full - used to check whether all lat buffer in lat list. SYNOPSIS bool vdec_msg_queue_wait_lat_buf_full (struct vdec_msg_queue *msg_queue ); ARGUMENTS msg_queue used to store the lat buffer information RETURN returns true if successfully, or fail. SEE ALSO Kernel file ./driver...
vdev_to_v4l2_subdev(9)
NAME vdev_to_v4l2_subdev - Returns a &struct v4l2_subdev from the &struct video_device embedded on it. SYNOPSIS vdev_to_v4l2_subdev (vdev ); ARGUMENTS vdev pointer to struct video_device SEE ALSO Kernel file ./include/media/v4l2-subdev.h struct v4l2_decode_vbi_line(9), enum v4l2_subdev_io_pin_bits(9), s...
vdir(1)
NAME vdir - list directory contents SYNOPSIS vdir [OPTION]... [FILE]... DESCRIPTION List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. Mandatory arguments to long options are mandatory for short options too. -...
vdma_desc_write_64(9)
NAME vdma_desc_write_64 - 64-bit descriptor write SYNOPSIS void vdma_desc_write_64 (struct xilinx_dma_chan *chan , u32 reg , u32 value_lsb , u32 value_msb ); ARGUMENTS chan Driver specific VDMA channel reg Register to write value_lsb lower address of the descriptor. value_msb ...
vdo_abandon_new_slabs(9)
NAME vdo_abandon_new_slabs - Abandon any new slabs in this depot, freeing them as needed. SYNOPSIS void vdo_abandon_new_slabs (struct slab_depot *depot ); ARGUMENTS depot The depot. SEE ALSO Kernel file ./drivers/md/dm-vdo/slab-depot.c get_lock(9), must_make_entries_to_flush(9), is_reaping(9), initialize_ta...
vdo_acquire_flush_generation_lock(9)
NAME vdo_acquire_flush_generation_lock - Acquire the shared lock on a flush generation by a write data_vio. SYNOPSIS void vdo_acquire_flush_generation_lock (struct data_vio *data_vio ); ARGUMENTS data_vio The data_vio. SEE ALSO Kernel file ./drivers/md/dm-vdo/logical-zone.c as_logical_zone(9), initialize_zone...
vdo_acquire_hash_lock(9)
NAME vdo_acquire_hash_lock - Acquire or share a lock on a record name. SYNOPSIS void vdo_acquire_hash_lock (struct vdo_completion *completion ); ARGUMENTS completion The data_vio completion acquiring a lock on its record name. DESCRIPTION Acquire or share a lock on the hash (record name) of the data in a data_vio,...
vdo_acquire_provisional_reference(9)
NAME vdo_acquire_provisional_reference - Acquire a provisional reference on behalf of a PBN lock if the block it locks is unreferenced. SYNOPSIS int vdo_acquire_provisional_reference (struct vdo_slab *slab , physical_block_number_t pbn , struct pbn_lock *lock ); ARGUMENTS slab The slab which contains the block...
vdo_acquire_recovery_journal_block_reference(9)
NAME vdo_acquire_recovery_journal_block_reference - Acquire a reference to a recovery journal block from somewhere other than the journal itself. SYNOPSIS void vdo_acquire_recovery_journal_block_reference (struct recovery_journal *journal , sequence_number_t sequence_number , enum vdo_zone_type zone_type , zone_count_...
vdo_action_fn(9)
NAME vdo_action_fn - An asynchronous VDO operation. SYNOPSIS void vdo_action_fn (struct vdo_completion *completion ); ARGUMENTS completion The completion of the operation. SEE ALSO Kernel file ./drivers/md/dm-vdo/types.h vdo_state_requires_read_only_rebuild(9), vdo_state_requires_recovery(9) April 2026 ...
vdo_add_recovery_journal_entry(9)
NAME vdo_add_recovery_journal_entry - Add an entry to a recovery journal. SYNOPSIS void vdo_add_recovery_journal_entry (struct recovery_journal *journal , struct data_vio *data_vio ); ARGUMENTS journal The journal in which to make an entry. data_vio The data_vio for which to add the entry. The entry w...
vdo_adjust_reference_count_for_rebuild(9)
NAME vdo_adjust_reference_count_for_rebuild - Adjust the reference count of a block during rebuild. SYNOPSIS int vdo_adjust_reference_count_for_rebuild (struct slab_depot *depot , physical_block_number_t pbn , enum journal_operation operation ); ARGUMENTS depot The slab depot. pbn The physical b...
vdo_admin_initiator_fn(9)
NAME vdo_admin_initiator_fn - A method to be called once an admin operation may be initiated. SYNOPSIS void vdo_admin_initiator_fn (struct admin_state *state ); ARGUMENTS state -- undescribed -- SEE ALSO Kernel file ./drivers/md/dm-vdo/admin-state.h vdo_set_admin_state_code(9) April 2026 ...
vdo_advance_journal_point(9)
NAME vdo_advance_journal_point - Move the given journal point forward by one entry. SYNOPSIS void vdo_advance_journal_point (struct journal_point *point , journal_entry_count_t entries_per_block ); ARGUMENTS point The journal point to adjust. entries_per_block The number of entries in...
vdo_allocate_block_in_zone(9)
NAME vdo_allocate_block_in_zone - Attempt to allocate a block in the current physical zone, and if that fails try the next if possible. SYNOPSIS bool vdo_allocate_block_in_zone (struct data_vio *data_vio ); ARGUMENTS data_vio The data_vio needing an allocation. RETURN True if a block was allocated, if not the dat...
vdo_allocate_reference_counters(9)
NAME vdo_allocate_reference_counters - Allocate the reference counters for all slabs in the depot. SYNOPSIS int vdo_allocate_reference_counters (struct slab_depot *depot ); ARGUMENTS depot The slab depot. CONTEXT This method may be called only before entering normal operation from the load thread. RETURN VDO_...
vdo_allow_read_only_mode_entry(9)
NAME vdo_allow_read_only_mode_entry - Allow the notifier to put the VDO into read-only mode, reversing the effects of vdo_wait_until_not_entering_read_only_mode(). SYNOPSIS void vdo_allow_read_only_mode_entry (struct vdo_completion *parent ); ARGUMENTS parent The object to notify once the operation is complete. ...
vdo_are_same_version(9)
NAME vdo_are_same_version - Check whether two version numbers are the same. SYNOPSIS bool vdo_are_same_version (struct version_number version_a , struct version_number version_b ); ARGUMENTS version_a The first version. version_b The second version. RETURN true if the two versions are the same. SEE ALSO...
vdo_assert_completion_type(9)
NAME vdo_assert_completion_type - Assert that a completion is of the correct type. SYNOPSIS int vdo_assert_completion_type (struct vdo_completion *completion , enum vdo_completion_type expected ); ARGUMENTS completion -- undescribed -- expected -- undescribed -- RETURN VDO_SUCCESS or an error SEE ALSO K...
vdo_assert_load_operation(9)
NAME vdo_assert_load_operation - Check that an operation is a load. SYNOPSIS bool vdo_assert_load_operation (const struct admin_state_code *operation , struct vdo_completion *waiter ); ARGUMENTS operation The operation to check. waiter The completion to finish with an error if the operation is not a lo...
vdo_assert_on_admin_thread(9)
NAME vdo_assert_on_admin_thread - Assert that we are running on the admin thread. SYNOPSIS void vdo_assert_on_admin_thread (const struct vdo *vdo , const char *name ); ARGUMENTS vdo The vdo. name The name of the function which should be running on the admin thread (for logging). SEE ALSO Kerne...
vdo_assert_on_logical_zone_thread(9)
NAME vdo_assert_on_logical_zone_thread - Assert that this function was called on the specified logical zone thread. SYNOPSIS void vdo_assert_on_logical_zone_thread (const struct vdo *vdo , zone_count_t logical_zone , const char *name ); ARGUMENTS vdo The vdo. logical_zone The number...
vdo_assert_on_physical_zone_thread(9)
NAME vdo_assert_on_physical_zone_thread - Assert that this function was called on the specified physical zone thread. SYNOPSIS void vdo_assert_on_physical_zone_thread (const struct vdo *vdo , zone_count_t physical_zone , const char *name ); ARGUMENTS vdo The vdo. physical_zone The n...
vdo_assign_pbn_lock_provisional_reference(9)
NAME vdo_assign_pbn_lock_provisional_reference - Inform a PBN lock that it is responsible for a provisional reference. SYNOPSIS void vdo_assign_pbn_lock_provisional_reference (struct pbn_lock *lock ); ARGUMENTS lock The PBN lock. SEE ALSO Kernel file ./drivers/md/dm-vdo/physical-zone.c vdo_is_pbn_read_lock(9...
vdo_attempt_packing(9)
NAME vdo_attempt_packing - Attempt to rewrite the data in this data_vio as part of a compressed block. SYNOPSIS void vdo_attempt_packing (struct data_vio *data_vio ); ARGUMENTS data_vio The data_vio to pack. SEE ALSO Kernel file ./drivers/md/dm-vdo/packer.c vdo_get_compressed_block_fragment(9), assert_on_pack...
vdo_attempt_physical_zone_pbn_lock(9)
NAME vdo_attempt_physical_zone_pbn_lock - Attempt to lock a physical block in the zone responsible for it. SYNOPSIS int vdo_attempt_physical_zone_pbn_lock (struct physical_zone *zone , physical_block_number_t pbn , enum pbn_lock_type type , struct pbn_lock **lock_ptr ); ARGUMENTS zone The physical zone respons...
vdo_attempt_replay_into_slab(9)
NAME vdo_attempt_replay_into_slab - Replay a recovery journal entry into a slab's journal. SYNOPSIS bool vdo_attempt_replay_into_slab (struct vdo_slab *slab , physical_block_number_t pbn , enum journal_operation operation , bool increment , struct journal_point *recovery_point , struct vdo_completion *parent ); ARGUM...
vdo_before_journal_point(9)
NAME vdo_before_journal_point - Check whether the first point precedes the second point. SYNOPSIS bool vdo_before_journal_point (const struct journal_point *first , const struct journal_point *second ); ARGUMENTS first The first journal point. second The second journal point. RETURN true if the fi...
vdo_claim_pbn_lock_increment(9)
NAME vdo_claim_pbn_lock_increment - Try to claim one of the available reference count increments on a read lock. SYNOPSIS bool vdo_claim_pbn_lock_increment (struct pbn_lock *lock ); ARGUMENTS lock The PBN read lock from which to claim an increment. DESCRIPTION Claims may be attempted from any thread. A claim ...
vdo_cleanup_io_submitter(9)
NAME vdo_cleanup_io_submitter - Tear down the io_submitter fields as needed for a physical layer. SYNOPSIS void vdo_cleanup_io_submitter (struct io_submitter *io_submitter ); ARGUMENTS io_submitter The I/O submitter data to tear down; may be NULL. SEE ALSO Kernel file ./drivers/md/dm-vdo/io-submitter.c count_all_...
vdo_commit_oldest_slab_journal_tail_blocks(9)
NAME vdo_commit_oldest_slab_journal_tail_blocks - Commit all dirty tail blocks which are locking a given recovery journal block. SYNOPSIS void vdo_commit_oldest_slab_journal_tail_blocks (struct slab_depot *depot , sequence_number_t recovery_block_number ); ARGUMENTS depot The depot. recovery_block_numbe...
vdo_complete_flush(9)
NAME vdo_complete_flush - Complete and free a vdo flush request. SYNOPSIS void vdo_complete_flush (struct vdo_flush *flush ); ARGUMENTS flush The flush request. SEE ALSO Kernel file ./drivers/md/dm-vdo/flush.c assert_on_flusher_thread(9), as_flusher(9), completion_as_vdo_flush(9), vdo_waiter_as_flush(9), vdo_...
vdo_complete_flush_callback(9)
NAME vdo_complete_flush_callback - Function called to complete and free a flush request, registered in vdo_complete_flush(). SYNOPSIS void vdo_complete_flush_callback (struct vdo_completion *completion ); ARGUMENTS completion The flush request. SEE ALSO Kernel file ./drivers/md/dm-vdo/flush.c assert_on_flusher_thr...
vdo_complete_flushes(9)
NAME vdo_complete_flushes - Attempt to complete any flushes which might have finished. SYNOPSIS void vdo_complete_flushes (struct flusher *flusher ); ARGUMENTS flusher The flusher. SEE ALSO Kernel file ./drivers/md/dm-vdo/flush.c assert_on_flusher_thread(9), as_flusher(9), completion_as_vdo_flush(9), vdo_waiter...
vdo_compute_new_forest_pages(9)
NAME vdo_compute_new_forest_pages - Compute the number of pages which must be allocated at each level in order to grow the forest to a new number of entries. SYNOPSIS block_count_t vdo_compute_new_forest_pages (root_count_t root_count , struct boundary *old_sizes , block_count_t entries , struct boundary *new_sizes );...
vdo_compute_recovery_journal_block_number(9)
NAME vdo_compute_recovery_journal_block_number - Compute the physical block number of the recovery journal block which would have a given sequence number. SYNOPSIS physical_block_number_t vdo_compute_recovery_journal_block_number (block_count_t journal_size , sequence_number_t sequence_number ); ARGUMENTS journal_siz...
vdo_compute_recovery_journal_check_byte(9)
NAME vdo_compute_recovery_journal_check_byte - Compute the check byte for a given sequence number. SYNOPSIS u8 vdo_compute_recovery_journal_check_byte (const struct recovery_journal *journal , sequence_number_t sequence ); ARGUMENTS journal The journal. sequence The sequence number. RETURN The check b...
vdo_compute_slab_count(9)
NAME vdo_compute_slab_count - Compute the number of slabs a depot with given parameters would have. SYNOPSIS slab_count_t vdo_compute_slab_count (physical_block_number_t first_block , physical_block_number_t last_block , unsigned int slab_size_shift ); ARGUMENTS first_block PBN of the first data block. last_b...
vdo_configure_slab(9)
NAME vdo_configure_slab - Measure and initialize the configuration to use for each slab. SYNOPSIS int vdo_configure_slab (block_count_t slab_size , block_count_t slab_journal_blocks , struct slab_config *slab_config ); ARGUMENTS slab_size The number of blocks per slab. slab_journal_blocks ...
vdo_configure_slab_depot(9)
NAME vdo_configure_slab_depot - Configure the slab depot. SYNOPSIS int vdo_configure_slab_depot (const struct partition *partition , struct slab_config slab_config , zone_count_t zone_count , struct slab_depot_state_2_0 *state ); ARGUMENTS partition The slab depot partition slab_config The configuration of ...
vdo_continue_completion(9)
NAME vdo_continue_completion - Continue processing a completion. SYNOPSIS void vdo_continue_completion (struct vdo_completion *completion , int result ); ARGUMENTS completion -- undescribed -- result The current result (will not mask older errors). DESCRIPTION Continue processing a completion by settin...
vdo_continue_hash_lock(9)
NAME vdo_continue_hash_lock - Continue the processing state after writing, compressing, or deduplicating. SYNOPSIS void vdo_continue_hash_lock (struct vdo_completion *completion ); ARGUMENTS completion The data_vio completion to continue processing in its hash lock. DESCRIPTION Asynchronously continue processing a ...
vdo_convert_maximum_age(9)
NAME vdo_convert_maximum_age - Convert the maximum age to reflect the new recovery journal format SYNOPSIS block_count_t vdo_convert_maximum_age (block_count_t age ); ARGUMENTS age The configured maximum age RETURN The converted age DESCRIPTION In the old recovery journal format, each journal block held 31...
vdo_decode_component_states(9)
NAME vdo_decode_component_states - Decode the payload of a super block. SYNOPSIS int vdo_decode_component_states (u8 *buffer , struct volume_geometry *geometry , struct vdo_component_states *states ); ARGUMENTS buffer The buffer containing the encoded super block contents. geometry The vdo geometry. ...
vdo_decode_recovery_journal(9)
NAME vdo_decode_recovery_journal - Make a recovery journal and initialize it with the state that was decoded from the super block. SYNOPSIS int vdo_decode_recovery_journal (struct recovery_journal_state_7_0 state , nonce_t nonce , struct vdo *vdo , struct partition *partition , u64 recovery_count , block_count_t jour...
vdo_decode_slab_depot(9)
NAME vdo_decode_slab_depot - Make a slab depot and configure it with the state read from the super block. SYNOPSIS int vdo_decode_slab_depot (struct slab_depot_state_2_0 state , struct vdo *vdo , struct partition *summary_partition , struct slab_depot **depot_ptr ); ARGUMENTS state The slab depot state from the...
vdo_decode_slab_journal_entry(9)
NAME vdo_decode_slab_journal_entry - Decode a slab journal entry. SYNOPSIS struct slab_journal_entry vdo_decode_slab_journal_entry (struct packed_slab_journal_block *block , journal_entry_count_t entry_count ); ARGUMENTS block The journal block holding the entry. entry_count The number of the entry. RE...
vdo_decode_super_block(9)
NAME vdo_decode_super_block - Decode a super block from its on-disk representation. SYNOPSIS int vdo_decode_super_block (u8 *buffer ); ARGUMENTS buffer The buffer to decode from. SEE ALSO Kernel file ./drivers/md/dm-vdo/encodings.c validate_version(9), vdo_validate_header(9), decode_volume_geometry(9), vd...
vdo_destroy(9)
NAME vdo_destroy - Destroy a vdo instance. SYNOPSIS void vdo_destroy (struct vdo *vdo ); ARGUMENTS vdo The vdo to destroy (may be NULL). SEE ALSO Kernel file ./drivers/md/dm-vdo/vdo.c Kernel API(9), vdo_initialize_device_registry_once(9), filter_vdos_locked(9), vdo_find_matching(9), initialize_threa...
vdo_destroy_component_states(9)
NAME vdo_destroy_component_states - Clean up any allocations in a vdo_component_states. SYNOPSIS void vdo_destroy_component_states (struct vdo_component_states *states ); ARGUMENTS states The component states to destroy. SEE ALSO Kernel file ./drivers/md/dm-vdo/encodings.c validate_version(9), vdo_validate_he...
vdo_downgrade_pbn_write_lock(9)
NAME vdo_downgrade_pbn_write_lock - Downgrade a PBN write lock to a PBN read lock. SYNOPSIS void vdo_downgrade_pbn_write_lock (struct pbn_lock *lock , bool compressed_write ); ARGUMENTS lock The PBN write lock to downgrade. compressed_write True if the written block was a compressed ...
vdo_drain_flusher(9)
NAME vdo_drain_flusher - Drain the flusher. SYNOPSIS void vdo_drain_flusher (struct flusher *flusher , struct vdo_completion *completion ); ARGUMENTS flusher The flusher to drain. completion The completion to finish when the flusher has drained. DESCRIPTION Drains the flusher by preventing any more VIOs...
vdo_drain_packer(9)
NAME vdo_drain_packer - Drain the packer by preventing any more VIOs from entering the packer and then flushing. SYNOPSIS void vdo_drain_packer (struct packer *packer , struct vdo_completion *completion ); ARGUMENTS packer The packer to drain. completion The completion to finish when the packer has drai...
vdo_drain_recovery_journal(9)
NAME vdo_drain_recovery_journal - Drain recovery journal I/O. SYNOPSIS void vdo_drain_recovery_journal (struct recovery_journal *journal , const struct admin_state_code *operation , struct vdo_completion *parent ); ARGUMENTS journal The journal to drain. operation The drain operation (suspend or save). ...
vdo_drain_slab_depot(9)
NAME vdo_drain_slab_depot - Drain all slab depot I/O. SYNOPSIS void vdo_drain_slab_depot (struct slab_depot *depot , const struct admin_state_code *operation , struct vdo_completion *parent ); ARGUMENTS depot The depot to drain. operation The drain operation (flush, rebuild, suspend, or save). ...
vdo_dump_flusher(9)
NAME vdo_dump_flusher - Dump the flusher, in a thread-unsafe fashion. SYNOPSIS void vdo_dump_flusher (const struct flusher *flusher ); ARGUMENTS flusher The flusher. SEE ALSO Kernel file ./drivers/md/dm-vdo/flush.c assert_on_flusher_thread(9), as_flusher(9), completion_as_vdo_flush(9), vdo_waiter_as_flush(9), v...
vdo_dump_hash_zones(9)
NAME vdo_dump_hash_zones - Dump information about the hash zones to the log for debugging. SYNOPSIS void vdo_dump_hash_zones (struct hash_zones *zones ); ARGUMENTS zones The zones to dump. SEE ALSO Kernel file ./drivers/md/dm-vdo/dedupe.c Kernel API(9), return_hash_lock_to_pool(9), vdo_get_duplicate_lock...
vdo_dump_logical_zone(9)
NAME vdo_dump_logical_zone - Dump information about a logical zone to the log for debugging. SYNOPSIS void vdo_dump_logical_zone (const struct logical_zone *zone ); ARGUMENTS zone The zone to dump. CONTEXT the information is dumped in a thread-unsafe fashion. SEE ALSO Kernel file ./drivers/md/dm-vdo/logica...
vdo_dump_packer(9)
NAME vdo_dump_packer - Dump the packer. SYNOPSIS void vdo_dump_packer (const struct packer *packer ); ARGUMENTS packer The packer. CONTEXT dumps in a thread-unsafe fashion. SEE ALSO Kernel file ./drivers/md/dm-vdo/packer.c vdo_get_compressed_block_fragment(9), assert_on_packer_thread(9), insert_in_sorted_...
vdo_dump_physical_zone(9)
NAME vdo_dump_physical_zone - Dump information about a physical zone to the log for debugging. SYNOPSIS void vdo_dump_physical_zone (const struct physical_zone *zone ); ARGUMENTS zone The zone to dump. SEE ALSO Kernel file ./drivers/md/dm-vdo/physical-zone.c vdo_is_pbn_read_lock(9), vdo_downgrade_pbn_wri...
vdo_dump_recovery_journal_statistics(9)
NAME vdo_dump_recovery_journal_statistics - Dump some current statistics and other debug info from the recovery journal. SYNOPSIS void vdo_dump_recovery_journal_statistics (const struct recovery_journal *journal ); ARGUMENTS journal The recovery journal to dump. SEE ALSO Kernel file ./drivers/md/dm-vdo/recover...
vdo_dump_slab_depot(9)
NAME vdo_dump_slab_depot - Dump the slab depot, in a thread-unsafe fashion. SYNOPSIS void vdo_dump_slab_depot (const struct slab_depot *depot ); ARGUMENTS depot The slab depot. SEE ALSO Kernel file ./drivers/md/dm-vdo/slab-depot.c get_lock(9), must_make_entries_to_flush(9), is_reaping(9), initialize_tail_bl...