ppc440spe_desc_is_aligned(9)
okay so bestie, we're doing ppc440spe_desc_is_aligned(9) today, and yes it's from the Kernel API Manual β we're in the kernel docs now, main character energy only π
. Don't be scared, it's literally a one-job function and we're gonna get through it together π«Ά
π NAME
ppc440spe_desc_is_aligned β check alignment β¨
That's it. That's the whole vibe. She checks alignment. No cap.
β¨ SYNOPSIS
int ppc440spe_desc_is_aligned (struct ppc440spe_adma_desc_slot *desc ,
int num_slots );
Look at her go π two args, one int coming back at you, iconic behavior honestly.
πΈ ARGUMENTS
descβ the manpage literally just says-- undescribed --π like okay gatekeep your struct king. It's astruct ppc440spe_adma_desc_slot *, and that's genuinely all the docs are giving us. Not me being lazy, that's just what the page says πnum_slotsβ also-- undescribed --π« anint, and the docs said "figure it out bestie". So I'm telling you exactly what the source tells you: nothing more, nothing invented.
fr fr, when the manpage says -- undescribed --, I'm not gonna make up lore for it. That's a no from me. We report, we don't invent π
π¦ SEE ALSO
The kernel file this bad girl lives in is ./drivers/dma/ppc4xx/adma.c β that's the home base π π
And the whole extended friend group, all of these, exactly as listed:
ppc440spe_desc_init_interrupt(9)ppc440spe_desc_init_null_xor(9)ppc440spe_desc_init_xor(9)ppc440spe_desc_init_dma2pq(9)ppc440spe_desc_init_dma01pq(9)ppc440spe_desc_init_dma01pqzero_sum(9)ppc440spe_desc_init_memcpy(9)ppc440spe_desc_set_src_addr(9)ppc440spe_desc_set_src_mult(9)ppc440spe_desc_set_dest_addr(9)ppc440spe_desc_set_byte_count(9)ppc440spe_desc_set_rxor_block_size(9)ppc440spe_desc_set_dcheck(9)ppc440spe_xor_set_link(9)ppc440spe_desc_set_link(9)ppc440spe_desc_get_link(9)ppc440spe_chan_xor_slot_count(9)ppc440spe_dma2_pq_slot_count(9)ppc440spe_adma_device_clear_eot_status(9)ppc440spe_chan_is_busy(9)ppc440spe_chan_set_first_xor_descriptor(9)ppc440spe_dma_put_desc(9)ppc440spe_chan_append(9)ppc440spe_chan_get_current_descriptor(9)ppc440spe_chan_run(9)ppc440spe_can_rxor(9)ppc440spe_get_group_entry(9)ppc440spe_adma_free_slots(9)ppc440spe_adma_run_tx_complete_actions(9)ppc440spe_adma_clean_slot(9)__ppc440spe_adma_slot_cleanup(9)ppc440spe_adma_tasklet(9)ppc440spe_adma_slot_cleanup(9)ppc440spe_adma_alloc_slots(9)ppc440spe_adma_alloc_chan_resources(9)ppc440spe_rxor_set_src(9)ppc440spe_rxor_set_mult(9)ppc440spe_adma_check_threshold(9)ppc440spe_adma_tx_submit(9)ppc440spe_adma_prep_dma_interrupt(9)ppc440spe_adma_prep_dma_memcpy(9)ppc440spe_adma_prep_dma_xor(9)ppc440spe_adma_init_dma2rxor_slot(9)ppc440spe_dma01_prep_mult(9)ppc440spe_dma01_prep_sum_product(9)ppc440spe_adma_prep_dma_pq(9)ppc440spe_adma_prep_dma_pqzero_sum(9)ppc440spe_adma_prep_dma_xor_zero_sum(9)ppc440spe_adma_set_dest(9)ppc440spe_adma_pq_set_dest(9)ppc440spe_desc_set_xor_src_cnt(9)ppc440spe_adma_pq_set_src(9)ppc440spe_adma_memcpy_xor_set_src(9)ppc440spe_adma_dma2rxor_inc_addr(9)ppc440spe_adma_dma2rxor_prep_src(9)ppc440spe_adma_dma2rxor_set_src(9)ppc440spe_adma_dma2rxor_set_mult(9)ppc440spe_init_rxor_cursor(9)ppc440spe_adma_pq_set_src_mult(9)ppc440spe_adma_free_chan_resources(9)ppc440spe_adma_tx_status(9)ppc440spe_adma_eot_handler(9)ppc440spe_adma_err_handler(9)ppc440spe_test_callback(9)ppc440spe_adma_issue_pending(9)ppc440spe_chan_start_null_xor(9)ppc440spe_test_raid6(9)ppc440spe_adma_probe(9)ppc440spe_adma_remove(9)
That's the whole squad, nobody left behind π
aaaand that's the page!! short and sweet, just like she is π
Sign-off time π this one lives under ./drivers/dma/ppc4xx and the page is dated October 2026 β that's the version/date tea, and no I will not be explaining why a kernel page is timestamped in the future, we simply don't ask those questions πβ¨
k byeeee, go check some alignment π¦π
π¦ 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