fh_partition_get_status(9)
π fh_partition_get_status(9) β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is fh_partition_get_status β literally the girl whose whole job is telling you how a partition is doing. no cap.
β¨ NAME β¨
fh_partition_get_status β gets the status of a partition π
like, that's it. that's the gig.
π¦ SYNOPSIS π¦
unsigned int fh_partition_get_status (unsigned int partition , unsigned
int *status );
so she takes two things and hands you back an unsigned int. iconic behavior honestly.
πΈ ARGUMENTS πΈ
partitionβ partition ID π« (which partition are we checking on? that one.)statusβ returned status code π«Ά (this is where the answer lands, bestie β it's a pointer, so she writes through it.)
π DESCRIPTION π
Returns 0 for success, or an error code. periodt. that's the whole vibe β zero means slay, anything else means something went sideways and you got an error code instead π
π₯ SEE ALSO π₯
Kernel file ./arch/powerpc/include/asm/fsl_hcalls.h β go read her, she's right there π
and then the whole friend group, fr fr:
fh_send_nmi(9)fh_partition_get_dtprop(9)fh_partition_restart(9)fh_partition_start(9)fh_partition_stop(9)struct fh_sg_list(9)fh_partition_memcpy(9)fh_dma_enable(9)fh_dma_disable(9)fh_vmpic_get_msir(9)fh_system_reset(9)fh_err_get_info(9)fh_get_core_state(9)fh_enter_nap(9)fh_exit_nap(9)fh_claim_device(9)
ngl bestie, if you're poking at partitions on powerpc, this is the glow-up reference you keep in your tabs π
and that's the whole page! π brought to you from ./arch/powerpc/include/asm, dated October 2026, and yeah β fh_partition_get_status(9) said what she said. mwah π
β¨π
π¦ 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