_config_all...g_dma_memory(9)
π _config_all...g_dma_memory(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β yes we're in the big-kid kernel docs now, and honestly? this one's a lil cutie. it's a tiny helper function living its best life in the mpt3sas config code and it has one job. let's get into it π
πΈ NAME πΈ
_config_alloc_config_dma_memory β literally just obtain physical memory. that's it. that's the whole vibe. lowkey iconic for how straightforward it is β¨
π¦ SYNOPSIS π¦
int _config_alloc_config_dma_memory (struct MPT3SAS_ADAPTER *ioc ,
struct config_request *mem );
it returns an int and takes two args, no cap. copy it exactly if you're typing it out, i'm not gonna let you fumble the signature π
π ARGUMENTS π
iocβ the per adapter object. think of it as the main character of this whole driver situation πmemβ astruct config_request. this is the lil container that's gonna get the memory, she's the one receiving π«Ά
β DESCRIPTION β
so basically: this function is a wrapper for obtaining dma-able memory for a config page request. that's it, that's the tweet.
it's giving "middle manager who exists so the other functions don't have to repeat themselves." not glamorous, but absolutely necessary. highkey a team player π
π₯ RETURN π₯
- returns
0for success β slay π - returns non-zero for failure β not slay, check your args π
π SEE ALSO π
okay this list is long long, but we don't skip parts in this house. every single one, coming right up:
Kernel file ./drivers/scsi/mpt3sas/mpt3sas_config.cβ the home base, the mothership, the address fr frstruct config_request(9)_config_display_some_debug(9)_config_free_config_dma_memory(9)mpt3sas_config_done(9)_config_request(9)mpt3sas_config_get_manufacturing_pg0(9)mpt3sas_config_get_manufacturing_pg1(9)mpt3sas_config_get_manufacturing_pg10(9)mpt3sas_config_get_manufacturing_pg11(9)mpt3sas_config_set_manufacturing_pg11(9)mpt3sas_config_get_bios_pg2(9)mpt3sas_config_get_bios_pg3(9)mpt3sas_config_set_bios_pg4(9)mpt3sas_config_get_bios_pg4(9)mpt3sas_config_get_iounit_pg0(9)mpt3sas_config_get_iounit_pg1(9)mpt3sas_config_set_iounit_pg1(9)mpt3sas_config_get_iounit_pg3(9)mpt3sas_config_get_iounit_pg7(9)mpt3sas_config_get_iounit_pg8(9)mpt3sas_config_get_ioc_pg8(9)mpt3sas_config_get_ioc_pg1(9)mpt3sas_config_set_ioc_pg1(9)mpt3sas_config_get_sas_device_pg0(9)mpt3sas_config_get_pcie_device_pg0(9)mpt3sas_config_get_pcie_iounit_pg1(9)mpt3sas_config_get_pcie_device_pg2(9)mpt3sas_config_get_number_hba_phys(9)mpt3sas_config_get_sas_iounit_pg0(9)mpt3sas_config_get_sas_iounit_pg1(9)mpt3sas_config_set_sas_iounit_pg1(9)mpt3sas_config_get_expander_pg0(9)mpt3sas_config_get_expander_pg1(9)mpt3sas_config_get_enclosure_pg0(9)mpt3sas_config_get_phy_pg0(9)mpt3sas_config_get_phy_pg1(9)mpt3sas_config_get_raid_volume_pg1(9)mpt3sas_config_get_number_pds(9)mpt3sas_config_get_raid_volume_pg0(9)mpt3sas_config_get_phys_disk_pg0(9)mpt3sas_config_get_driver_trigger_pg0(9)_config_set_driver_trigger_pg0(9)mpt3sas_config_update_driver_trigger_pg0(9)mpt3sas_config_get_driver_trigger_pg1(9)_config_set_driver_trigger_pg1(9)mpt3sas_config_update_driver_trigger_pg1(9)mpt3sas_config_get_driver_trigger_pg2(9)_config_set_driver_trigger_pg2(9)mpt3sas_config_update_driver_trigger_pg2(9)mpt3sas_config_get_driver_trigger_pg3(9)_config_set_driver_trigger_pg3(9)mpt3sas_config_update_driver_trigger_pg3(9)mpt3sas_config_get_driver_trigger_pg4(9)_config_set_driver_trigger_pg4(9)mpt3sas_config_update_driver_trigger_pg4(9)mpt3sas_config_get_volume_handle(9)mpt3sas_config_get_volume_wwid(9)
iykyk, the pg prefix crew is a whole family. go read the ones you need, bestie, they all live in the same file π§
and that's the whole page!! short, sweet, and to the point β honestly a palate cleanser after some of the monster manpages out there π
this masterpiece hails from ./drivers/scsi/mpt3sas and is dated October 2026 β so like, future vibes. she's ahead of her time fr fr π«π«Άβ¨
π¦ 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