_copy_to_pages(9)
okay bestie, welcome to _copy_to_pages(9) from the Kernel API Manual πΈ β this is the group chat for copying data into pages, and weβre keeping every detail fr fr π
β¨ NAME β¨
_copy_to_pages β the original leaves this description blank, bestie; we are not inventing one π«Ά
π¦ SYNOPSIS π¦
hereβs the signature, exactly as it appears β no edits, no vibes-based rewriting:
void _copy_to_pages (struct page **pages , size_t pgbase , const char *p
, size_t len );
π ARGUMENTS π
pagesβ array of pages. The destination squad, basically πpgbaseβ page vector address of destination. Thatβs the exact phrase, and yes itβs giving very βkernel address energyβ β¨pβ pointer to source data. The source dataβs home base πlenβ length. The original just says length, so weβre keeping it vague and iconic π
π₯ DESCRIPTION π₯
Bestie, this one copies data from an arbitrary memory location into an array of pages π«Ά The copy is assumed to be non-overlapping. Thatβs the whole deal: arbitrary source memory β array of pages, non-overlapping assumed. No cap, thatβs it πβ¨
π SEE ALSO π
the whole xdr.c bestie reunion is here, and yes, every single reference made the cut π
- Kernel file:
./net/sunrpc/xdr.c xdr_encode_opaque_fixed(9)xdr_encode_opaque(9)xdr_terminate_string(9)xdr_buf_to_bvec(9)xdr_buf_to_sg(9)xdr_buf_to_sg_alloc(9)xdr_inline_pages(9)_shift_data_left_pages(9)_shift_data_right_pages(9)_copy_from_pages(9)xdr_buf_pages_zero(9)xdr_shrink_bufhead(9)xdr_shrink_pagelen(9)xdr_stream_pos(9)xdr_page_pos(9)xdr_init_encode(9)xdr_init_encode_pages(9)__xdr_commit_encode(9)xdr_reserve_space(9)xdr_reserve_space_vec(9)xdr_truncate_encode(9)xdr_truncate_decode(9)xdr_restrict_buflen(9)xdr_write_pages(9)xdr_init_decode(9)xdr_init_decode_pages(9)xdr_finish_decode(9)xdr_inline_decode(9)xdr_read_pages(9)xdr_set_pagelen(9)xdr_enter_page(9)xdr_buf_subsegment(9)xdr_stream_subsegment(9)xdr_stream_move_subsegment(9)xdr_stream_zero(9)xdr_buf_trim(9)xdr_stream_decode_string_dup(9)xdr_stream_decode_opaque_auth(9)xdr_stream_encode_opaque_auth(9)
mwah π β source/version: ./net/sunrpc; date: October 2026; page: _copy_to_pages(9). Thatβs the footer vibe, bestie, and itβs lowkey iconic ππ«Ά
π¦ 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