Module ioctl

Source
Expand description

Filesystem-oriented ioctl functions.

Structs§

Ficlone ðŸ”’
IFlags
FS_* constants for use with ioctl_getflags.

Functions§

ext4_ioc_resize_fs
ioctl(fd, EXT4_IOC_RESIZE_FS, blocks)—Resize ext4 filesystem on fd.
ioctl_blkpbszget
ioctl(fd, BLKPBSZGET)—Returns the physical block size of a block device.
ioctl_blksszget
ioctl(fd, BLKSSZGET)—Returns the logical block size of a block device.
ioctl_ficlone
ioctl(fd, FICLONE, src_fd)—Share data between open files.
ioctl_getflags
ioctl(fd, FS_IOC_GETFLAGS)—Returns the inode flags attributes
ioctl_setflags
ioctl(fd, FS_IOC_SETFLAGS)—Modify the inode flags attributes