fsl_mc_object_allocate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fsl_mc_object_allocate πŸ’…

okay bestie, welcome to the Kernel API Manual moment β€” this page is all about fsl_mc_object_allocate(9), and it's lowkey iconic. let's get into it πŸ¦‹βœ¨

🌸 NAME 🌸

fsl_mc_object_allocate β€” allocates an fsl-mc object of the given pool type from a given fsl-mc bus instance.

πŸ¦‹ SYNOPSIS πŸ¦‹

       int fsl_mc_object_allocate (struct fsl_mc_device *mc_dev , enum
       fsl_mc_pool_type pool_type , struct fsl_mc_device **new_mc_adev );

πŸŽ€ ARGUMENTS πŸŽ€

  • mc_dev β€” the fsl-mc device that is used in conjunction with the allocated object. bestie, they're a package deal 🫢
  • pool_type β€” the pool type. that's it, that's the whole vibe πŸ’…
  • new_mc_adev β€” pointer to the area where the pointer to the allocated device is to be returned. yes, pointer-to-pointer realness 😭

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea: allocatable objects are always used in conjunction with some functional device β€” no solo main character energy for them, periodt. this function allocates an object of the specified type from the DPRC containing the functional device. slay πŸ’–

⚠️ NOTE ⚠️

bestie, important: pool_type must be different from FSL_MC_POOL_MCP, since MC portals are allocated using fsl_mc_portal_allocate, instead of this function. this is not a drill πŸ™ˆ

🌈 SEE ALSO 🌈


this cutie came from ./drivers/bus/fsl-mc, dated October 2026, and it's the fsl_mc_object_allocate(9) page β€” mwah, bye bestie πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from