section 9 · Kernel routines 🧠
87928 pages · page 413 of 440
V (continued)
- vdo_in_recovery_mode(9)Check whether the vdo is in recovery mode.✨
- vdo_increment_logical_zone_flush_generation(9)Increment the flush generation in a logical zone.✨
- vdo_increment_packer_flush_generation(9)Increment the flush generation in the packer.✨
- vdo_initialize_component_states(9)Initialize the components so they can be written out.✨
- vdo_initialize_device_registry_once(9)Initialize the necessary structures for the device registry.✨
- vdo_initialize_layout(9)Lay out the partitions of a vdo.✨
- vdo_initialize_recovery_journal_post_repair(9)Initialize the journal after a repair.✨
- vdo_initialize_volume_geometry(9)Initialize the volume geometry so it can be written out.✨
- vdo_int_map_create(9)Allocate and initialize an int_map.✨
- vdo_int_map_free(9)Free an int_map.✨
- vdo_int_map_get(9)Retrieve the value associated with a given key from the int_map.✨
- vdo_int_map_put(9)Try to associate a value with an integer.✨
- vdo_int_map_remove(9)Remove the mapping for a given key from the int_map.✨
- vdo_int_map_size(9)Get the number of entries stored in an int_map.✨
- vdo_invalidate_page_cache(9)Invalidate all entries in the VDO page cache.✨
- vdo_is_pbn_read_lock(9)Check whether a pbn_lock is a read lock.✨
- vdo_is_physical_data_block(9)Determine whether the given PBN refers to a data block.✨
- vdo_is_priority_table_empty(9)Return whether the priority table is empty.✨
- vdo_is_read_only(9)Check whether the VDO is read-only.✨
- vdo_is_valid_recovery_journal_sector(9)Determine whether the header of the given sector could describe a valid sector for the given journal block header.✨
- vdo_launch_bio(9)Acquire a data_vio from the pool, assign the bio to it, and launch it.✨
- vdo_launch_completion(9)Launch a completion with default priority.✨
- vdo_launch_completion_callback(9)Set the callback for a completion and launch it immediately.✨
- vdo_launch_completion_with_priority(9)Run or enqueue a completion.✨
- vdo_launch_flush(9)Function called to start processing a flush request.✨
- vdo_load_slab_depot(9)Asynchronously load any slab depot state that isn't included in the super_block component.✨
- vdo_load_super_block(9)Allocate a super block and read its contents from storage.✨
- vdo_make(9)Allocate and initialize a vdo.✨
- vdo_make_action_manager(9)Make an action manager.✨
- vdo_make_flusher(9)Make a flusher for a vdo.✨
- vdo_make_hash_zones(9)Create the hash zones.✨
- vdo_make_io_submitter(9)Create an io_submitter structure.✨
- vdo_make_logical_zones(9)Create a set of logical zones.✨
- vdo_make_packer(9)Make a new block packer.✨
- vdo_make_physical_zones(9)Make the physical zones for a vdo.✨
- vdo_make_priority_table(9)Allocate and initialize a new priority_table.✨
- vdo_make_thread(9)Construct a single vdo work_queue and its associated thread (or threads for round-robin queues).✨
- vdo_make_work_queue(9)Create a work queue; if multiple threads are requested, completions will be distributed to them in round-robin fashion.✨
- vdo_modify_reference_count(9)Modify the reference count of a block by first making a slab journal entry and then updating the reference counter.✨
- vdo_notify_slab_journals_are_recovered(9)Inform a block allocator that its slab journals have been recovered from the recovery journal.✨
- vdo_open_recovery_journal(9)Prepare the journal for new entries.✨
- vdo_pack_header(9)Convert a component header to its packed on-disk representation.✨
- vdo_pack_journal_point(9)Encode the journal location represented by a journal_point into a packed_journal_point.✨
- vdo_pack_recovery_block_header(9)Generate the packed representation of a recovery block header.✨
- vdo_pack_recovery_journal_entry(9)Return the packed, on-disk representation of a recovery journal entry.✨
- vdo_pack_slab_journal_block_header(9)Generate the packed representation of a slab block header.✨
- vdo_pack_slab_journal_entry(9)Generate the packed encoding of a slab journal entry.✨
- vdo_pack_version_number(9)Convert a version_number to its packed on-disk representation.✨
- vdo_parse_geometry_block(9)Decode and validate an encoded geometry block.✨
- vdo_pbn_lock_has_provisional_reference(9)Check whether a PBN lock has a provisional reference.✨
- vdo_prepare_completion(9)Prepare a completion for launch.✨
- vdo_prepare_completion_for_requeue(9)Prepare a completion for launch ensuring that it will always be requeued.✨
- vdo_prepare_slab_depot_to_allocate(9)Prepare the slab depot to come online and start allocating blocks.✨
- vdo_prepare_to_grow_slab_depot(9)Allocate new memory needed for a resize of a slab depot to the given size.✨
- vdo_priority_table_dequeue(9)Find the highest-priority entry in the table, remove it from the table, and return it.✨
- vdo_priority_table_enqueue(9)Add a new entry to the priority table, appending it to the queue for entries with the specified priority.✨
- vdo_priority_table_remove(9)Remove a specified entry from its priority table.✨
- vdo_read_only_notification_fn(9)A function to notify a listener that the VDO has gone read-only.✨
- vdo_record_recovery_journal(9)Record the state of a recovery journal for encoding in the super block.✨
- vdo_record_slab_depot(9)Record the state of a slab depot for encoding into the super block.✨
- vdo_register_read_only_listener(9)Register a listener to be notified when the VDO goes read-only.✨
- vdo_register_status_codes(9)Register the VDO status codes.✨
- vdo_release_flush_generation_lock(9)Release the shared lock on a flush generation held by a write data_vio.✨
- vdo_release_hash_lock(9)Release a data_vio's share of a hash lock, if held, and null out the data_vio's reference to it.✨
- vdo_release_journal_entry_lock(9)Release a single per-entry reference count for a recovery journal block.✨
- vdo_release_page_completion(9)Release a VDO Page Completion.✨
- vdo_release_physical_zone_pbn_lock(9)Release a physical block lock if it is held and return it to the lock pool.✨
- vdo_release_recovery_journal_block_reference(9)Release a reference to a recovery journal block.✨
- vdo_remove_lock_holder_from_packer(9)Remove a lock holder from the packer.✨
- vdo_repair(9)Load the recovery journal and then recover or rebuild a vdo.✨
- vdo_replay_into_slab_journals(9)Replay recovery journal entries in the slab journals of slabs owned by a given block_allocator.✨
- vdo_request_page_write(9)Request that a VDO page be written out as soon as it is not busy.✨
- vdo_requeue_completion_if_needed(9)Requeue a completion if not called on the specified thread.✨
- vdo_reset_completion(9)Reset a completion to a clean state, while keeping the type, vdo and parent information.✨
- vdo_reset_priority_table(9)Reset a priority table, leaving it in the same empty state as when newly constructed.✨
- vdo_resume_flusher(9)Resume a flusher which has been suspended.✨
- vdo_resume_hash_zones(9)Resume a set of hash zones.✨
- vdo_resume_if_quiescent(9)Change the state to normal operation if the current state is quiescent.✨
- vdo_resume_logical_zones(9)Resume a set of logical zones.✨
- vdo_resume_packer(9)Resume a packer which has been suspended.✨
- vdo_resume_recovery_journal(9)Resume a recovery journal which has been drained.✨
- vdo_resume_slab_depot(9)Resume a suspended slab depot.✨
- vdo_run_completion(9)Run a completion's callback or error handler on the current thread.✨
- vdo_save_components(9)Copy the current state of the VDO to the states struct and save it to the super block asynchronously.✨
- vdo_save_geometry_block(9)Encode the vdo and save the geometry block asynchronously.✨
- vdo_save_super_block(9)Save the component states to the super block asynchronously.✨
- vdo_schedule_action(9)Schedule an action to be applied to all zones.✨
- vdo_schedule_default_action(9)Attempt to schedule the default action.✨
- vdo_schedule_operation(9)Schedule an operation to be applied to all zones.✨
- vdo_schedule_operation_with_context(9)Schedule an operation on all zones.✨
- vdo_scrub_all_unrecovered_slabs(9)Scrub all unrecovered slabs.✨
- vdo_select_hash_zone(9)Select the hash zone responsible for locking a given record name.✨
- vdo_set_admin_state_code(9)Set the current admin state code.✨
- vdo_set_completion_result(9)Set the result of a completion.✨
- vdo_set_compressing(9)Turn compression on or off.✨
- vdo_set_state(9)Set the current state of the vdo.✨
- vdo_share_compressed_write_lock(9)Make a data_vio's hash lock a shared holder of the PBN lock on the compressed block to which its data was just written.✨
- vdo_start_draining(9)Initiate a drain operation if the current state permits it.✨
- vdo_start_loading(9)Initiate a load operation if the current state permits it.✨
- vdo_start_operation(9)Attempt to start an operation.✨
- vdo_start_operation_with_waiter(9)Attempt to start an operation.✨
- vdo_start_resuming(9)Initiate a resume operation if the current state permits it.✨
- vdo_state_requires_read_only_rebuild(9)Check whether a vdo_state indicates that a read-only rebuild is required.✨
- vdo_state_requires_recovery(9)Check whether a vdo state indicates that recovery is needed.✨
- vdo_status_to_errno(9)Given an error code, return a value we can return to the OS.✨
- vdo_submit_data_vio(9)Submit I/O for a data_vio.✨
- vdo_submit_metadata_vio_wait(9)Submit I/O for a metadata vio and wait for completion.✨
- vdo_submit_vio(9)Submits a vio's bio to the underlying block device. May block if the device is busy. This callback should be used by vios which did not attempt to merge.✨
- vdo_synchronous_flush(9)Issue a flush request and wait for it to complete.✨
- vdo_traverse_forest(9)Walk the entire forest of a block map.✨
- vdo_unassign_pbn_lock_provisional_reference(9)Inform a PBN lock that it is no longer responsible for a provisional reference.✨
- vdo_uninitialize_layout(9)Clean up a layout.✨
- vdo_unpack_header(9)Convert a packed_header to its native in-memory representation.✨
- vdo_unpack_journal_point(9)Decode the journal location represented by a packed_journal_point into a journal_point.✨
- vdo_unpack_recovery_block_header(9)Decode the packed representation of a recovery block header.✨
- vdo_unpack_recovery_journal_entry(9)Unpack the on-disk representation of a recovery journal entry.✨
- vdo_unpack_slab_journal_block_header(9)Decode the packed representation of a slab block header.✨
- vdo_unpack_slab_journal_entry(9)Decode the packed representation of a slab journal entry.✨
- vdo_unpack_version_number(9)Convert a packed_version_number to its native in-memory representation.✨
- vdo_update_slab_depot_size(9)Update the slab depot to reflect its new size in memory.✨
- vdo_use_new_slabs(9)Use the new slabs allocated for resize.✨
- vdo_uses_bio_ack_queue(9)Indicate whether the vdo is configured to use a separate work queue for acknowledging received and processed bios.✨
- vdo_validate_component_states(9)Validate the decoded super block configuration.✨
- vdo_validate_config(9)Validate constraints on a VDO config.✨
- vdo_validate_header(9)Check whether a header matches expectations.✨
- vdo_wait_until_not_entering_read_only_mode(9)Wait until no read-only notifications are in progress and prevent any subsequent notifications.✨
- vdo_waiter_as_flush(9)Convert a vdo_flush's generic wait queue entry back to the vdo_flush.✨
- vdo_waiter_is_waiting(9)Check whether a waiter is waiting.✨
- vdo_waitq_dequeue_matching_waiters(9)Remove all waiters that match based on the specified matching method and append them to a vdo_wait_queue.✨
- vdo_waitq_dequeue_waiter(9)Remove the first (oldest) waiter from a waitq.✨
- vdo_waitq_enqueue_waiter(9)Add a waiter to the tail end of a waitq.✨
- vdo_waitq_get_first_waiter(9)Return the waiter that is at the head end of a waitq.✨
- vdo_waitq_has_waiters(9)Check whether a vdo_wait_queue has any entries waiting.✨
- vdo_waitq_init(9)Initialize a vdo_wait_queue.✨
- vdo_waitq_notify_all_waiters(9)Notify all the entries waiting in a waitq.✨
- vdo_waitq_notify_next_waiter(9)Notify the next entry waiting in a waitq.✨
- vdo_waitq_num_waiters(9)Return the number of waiters in a vdo_wait_queue.✨
- vdo_waitq_transfer_all_waiters(9)Transfer all waiters from one waitq to a second waitq, emptying the first waitq.✨
- vdpa_alloc_device(9)allocate and initilaize a vDPA device✨
- vdpa_get_config(9)Get one or more device configuration fields.✨
- vdpa_mgmtdev_register(9)register a vdpa management device✨
- vdpa_register_device(9)register a vDPA device Callers must have a succeed call of vdpa_alloc_device() before.✨
- vdpa_set_config(9)Set one or more device configuration fields.✨
- vdpa_unregister_device(9)unregister a vDPA device✨
- vdpa_unregister_driver(9)unregister a vDPA device driver✨
- vdrop(9)acquire/release a hold on a vnode✨
- vdrop(9freebsd)acquire/release a hold on a vnode✨
- vdropl(9)acquire/release a hold on a vnode✨
- vdropl(9freebsd)acquire/release a hold on a vnode✨
- vdso_sgx_enter_enclave_t(9)Prototype for __vdso_sgx_enter_enclave(), a vDSO function to enter an SGX enclave.✨
- vdso_update_begin(9)Start of a VDSO update section✨
- vdso_update_end(9)End of a VDSO update section✨
- ve_spc_cpu_in_wfi(9)Checks if the specified CPU is in WFI or not✨
- ve_spc_cpu_wakeup_irq(9)sets/clears per-CPU wake-up IRQs✨
- ve_spc_global_wakeup_irq(9)sets/clears global wakeup IRQs✨
- ve_spc_powerdown(9)enables/disables cluster powerdown✨
- ve_spc_set_resume_addr(9)set the jump address used for warm boot✨
- vec_cmp(9)label comparison for set ordering✨
- vec_find(9)find label @l in label set✨
- vega10_construct_voltage_tables(9)Create Voltage Tables.✨
- vega10_enable_fan_control_feature(9)Enables the SMC Fan Control Feature.✨
- vega10_fan_ctrl_reset_fan_speed_to_default(9)Reset Fan Speed to default.✨
- vega10_fan_ctrl_set_default_mode(9)Reset Fan Speed Control to default mode.✨
- vega10_fan_ctrl_set_fan_speed_pwm(9)Set Fan Speed in PWM.✨
- vega10_fan_ctrl_set_fan_speed_rpm(9)Set Fan Speed in RPM.✨
- vega10_fan_ctrl_set_static_mode(9)Set Fan Speed Control to static mode, so that the user can decide what speed to use.✨
- vega10_get_evv_voltages(9)Get Leakage VDDC based on leakage ID.✨
- vega10_ih_enable_ring(9)enable an ih ring buffer✨
- vega10_ih_get_wptr(9)get the IH ring buffer wptr✨
- vega10_ih_init_register_offset(9)Initialize register offset for ih rings✨
- vega10_ih_irq_disable(9)disable interrupts✨
- vega10_ih_irq_init(9)init and enable the interrupt ring✨
- vega10_ih_irq_rearm(9)rearm IRQ if lost✨
- vega10_ih_self_irq(9)dispatch work for ring 1 and 2✨
- vega10_ih_set_rptr(9)set the IH ring buffer rptr✨
- vega10_ih_toggle_interrupts(9)Toggle all the available interrupt ring buffers✨
- vega10_ih_toggle_ring_interrupts(9)toggle the interrupt ring buffer✨
- vega10_init_smc_table(9)Initializes the SMC table and uploads it✨
- vega10_patch_lookup_table_with_leakage(9)Patch voltage lookup table by EVV leakages.✨
- vega10_patch_with_vdd_leakage(9)Change virtual leakage voltage to actual value.✨
- vega10_populate_all_graphic_levels(9)Populates all SMC SCLK levels' structure based on the trimmed allowed dpm engine clock states✨
- vega10_populate_all_memory_levels(9)Populates all SMC MCLK levels' structure based on the trimmed allowed dpm memory clock states.✨
- vega10_populate_single_gfx_level(9)Populates single SMC GFXSCLK structure using the provided engine clock✨
- vega10_populate_single_soc_level(9)Populates single SMC SOCCLK structure using the provided clock.✨
- vega10_start_dpm(9)Tell SMC to enabled the supported DPMs.✨
- vega10_thermal_disable_alert(9)Disable thermal alerts on the RV770 thermal controller.✨
- vega10_thermal_enable_alert(9)Enable thermal alerts on the RV770 thermal controller.✨
- vega10_thermal_get_temperature(9)Reads the remote temperature from the SIslands thermal controller.✨
- vega10_thermal_initialize(9)Programs thermal controller one-time setting registers✨
- vega10_thermal_set_temperature_range(9)Set the requested temperature range for high and low alert signals✨
- vega10_thermal_setup_fan_table(9)Set up the fan table to control the fan using the SMC.✨
- vega10_thermal_start_smc_fan_control(9)Start the fan control on the SMC.✨
- vega10_thermal_stop_thermal_controller(9)Uninitialize the thermal controller. Currently just disables alerts.✨
- vega10_trim_voltage_table(9)Remove repeated voltage values and create table with unique values.✨
- vega12_enable_fan_control_feature(9)Enables the SMC Fan Control Feature.✨
- vega12_fan_ctrl_reset_fan_speed_to_default(9)Reset Fan Speed to default.✨
- vega12_init_smc_table(9)Initializes the SMC table and uploads it✨
- vega12_thermal_disable_alert(9)Disable thermal alerts on the RV770 thermal controller.✨
- vega12_thermal_enable_alert(9)Enable thermal alerts on the RV770 thermal controller.✨
- vega12_thermal_get_temperature(9)Reads the remote temperature from the SIslands thermal controller.✨
💅
getting it ready, bestie…