nilfs_ioctl_wrap_copy(9)
π¦ nilfs_ioctl_wrap_copy(9) β Kernel API Manual, but make it cute β¨
okay bestie, welcome to the nilfs_ioctl_wrap_copy(9) page β yes, that's the manual-name-and-section situation, and we're gonna get through it together π
πΈ NAME πΈ
nilfs_ioctl_wrap_copy β wrapping function of get/set metadata info. short, sweet, iconic.
π SYNOPSIS π
int nilfs_ioctl_wrap_copy (struct the_nilfs *nilfs , struct nilfs_argv
*argv , int dir , ssize_t (*dofunc)(struct the_nilfs *, __u64 *, int,
void *, size_t, size_t) );
π ARGUMENTS π
these are the four besties in the function call, no cap:
nilfsβ the nilfs object. main character energy.argvβ vector of arguments from userspace. literally the receipts from userspace.dirβ set of direction flags. yeah, direction flags.dofuncβ concrete function of get/set metadata info. the actual worker bee π
β¨ DESCRIPTION β¨
nilfs_ioctl_wrap_copy gets/sets metadata info by means of calling the dofunc function on the basis of the argv argument. if it's successful, the requested metadata information is copied to userspace memory. that's the whole plot, highkey.
π₯ RETURN π₯
0 on success, or one of the following negative error codes on failure:
-EFAULTβ Failure during execution of requested operation.-EINVALβ Invalid arguments from userspace.-ENOMEMβ Insufficient memory available.
bestie, those are negative error codes β so if you see one, it's not slay, it's a fail. π
π¦ SEE ALSO π¦
Kernel file ./fs/nilfs2/ioctl.c β and the whole linked-up friend group:
nilfs_fileattr_get(9)nilfs_fileattr_set(9)nilfs_ioctl_getversion(9)nilfs_ioctl_change_cpmode(9)nilfs_ioctl_delete_checkpoint(9)nilfs_ioctl_do_get_cpinfo(9)nilfs_ioctl_get_cpstat(9)nilfs_ioctl_do_get_suinfo(9)nilfs_ioctl_get_sustat(9)nilfs_ioctl_do_get_vinfo(9)nilfs_ioctl_do_get_bdescs(9)nilfs_ioctl_get_bdescs(9)nilfs_ioctl_move_inode_block(9)nilfs_ioctl_move_blocks(9)nilfs_ioctl_delete_checkpoints(9)nilfs_ioctl_free_vblocknrs(9)nilfs_ioctl_mark_blocks_dirty(9)nilfs_ioctl_clean_segments(9)nilfs_ioctl_sync(9)nilfs_ioctl_resize(9)nilfs_ioctl_trim_fs(9)nilfs_ioctl_set_alloc_range(9)nilfs_ioctl_get_info(9)nilfs_ioctl_set_suinfo(9)nilfs_ioctl_get_fslabel(9)nilfs_ioctl_set_fslabel(9)
okay love you, bye! π source/version: ./fs/nilfs2 Β· date: October 2026 Β· page: nilfs_ioctl_wrap_copy(9)
π¦ 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