process_one_..._config_spec(9)
π
process_one_..._config_spec(9) β Kernel API Manual, bestie edition β¨
Okay so this is the process_one_..._config_spec(9) page from the Kernel API Manual, and weβre about to make kernel config parsing make sense. Slay. π
πΈ NAME πΈ
process_one_thread_config_spec β processes one component of a thread parameter configuration string and updates the configuration data structure. Literally thatβs the whole assignment. π«Ά
β¨ SYNOPSIS β¨
int process_one_thread_config_spec (const char *thread_param_type ,
unsigned int count , struct thread_count_config *config );
π§ ARGUMENTS π§
thread_param_typeβ the type of thread specified. (const char *energy)countβ the thread count requested. (unsigned intbtw)configβ the configuration data structure to update. (struct thread_count_config *)
π DESCRIPTION π
If the thread count requested is invalid, a message is logged and -EINVAL is returned. If the thread name is unknown, a message is logged, but no error is returned.
Thatβs the whole tea: invalid count gets the error, unknown name gets the log-only treatment. No cap. π
π RETURN π
VDO_SUCCESS or -EINVAL. Thatβs it, thatβs the return-value vibe check. β¨
π₯ SEE ALSO π₯
Kernel file: ./drivers/md/dm-vdo/dm-vdo-target.c β plus all these cross-refs, zero skipped:
free_device_config(9)get_version_number(9)parse_bool(9)parse_memory(9)parse_slab_size(9)parse_one_thread_config_spec(9)parse_thread_config_string(9)process_one_key_value_pair(9)parse_one_key_value_pair(9)parse_key_value_pairs(9)parse_optional_arguments(9)handle_parse_error(9)parse_device_config(9)get_thread_id_for_phase(9)advance_phase(9)finish_operation_callback(9)decode_from_super_block(9)decode_vdo(9)pre_load_callback(9)get_bit_array_size(9)grow_bit_array(9)allocate_instance(9)check_may_grow_physical(9)grow_layout(9)validate_new_device_config(9)write_super_block_for_suspend(9)suspend_callback(9)was_new(9)requires_repair(9)get_load_type(9)load_callback(9)handle_load_error(9)write_super_block_for_resume(9)resume_callback(9)grow_logical_callback(9)handle_logical_growth_error(9)perform_grow_logical(9)copy_partition(9)grow_physical_callback(9)handle_physical_growth_error(9)perform_grow_physical(9)apply_new_vdo_configuration(9)
bye bestie π«Ά β source/version: ./drivers/md/dm-vdo, date: October 2026, manual name: Kernel API Manual, page: process_one_..._config_spec(9).
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms