The OpenD Programming Language

core.sys.linux.fs

D header file for the linux/fs.h interface.

This file has definitions for some important file table structures and constants and structures used by various generic file system ioctl's.

Public Imports

core.sys.posix.sys.ioctl
public import core.sys.posix.sys.ioctl;
Undocumented in source.

Members

Enums

FILE_DEDUPE_RANGE_SAME
anonymousenum FILE_DEDUPE_RANGE_SAME

extent-same (dedupe) ioctls; these MUST match the btrfs ioctl definitions

FS_SECRM_FL
anonymousenum FS_SECRM_FL

Inode flags (FS_IOC_GETFLAGS / FS_IOC_SETFLAGS)

RWF_HIPRI
anonymousenum RWF_HIPRI

Flags for preadv2/pwritev2:

Manifest constants

BLKFLSBUF
enum BLKFLSBUF;

flush buffer cache

BLKFRAGET
enum BLKFRAGET;

get filesystem

BLKFRASET
enum BLKFRASET;

set filesystem

BLKGETSIZE
enum BLKGETSIZE;

return device size

BLKRAGET
enum BLKRAGET;

get current read ahead setting

BLKRASET
enum BLKRASET;

set read ahead for block device

BLKROGET
enum BLKROGET;

get read-only status

BLKROSET
enum BLKROSET;

set device read-only

BLKRRPART
enum BLKRRPART;

re-read partition table

BLKSECTGET
enum BLKSECTGET;

get max sectors per request

BLKSECTSET
enum BLKSECTSET;

set max sectors per request

BLKSSZGET
enum BLKSSZGET;

get block device sector size

BLOCK_SIZE
enum BLOCK_SIZE;
BLOCK_SIZE_BITS
enum BLOCK_SIZE_BITS;
BMAP_IOCTL
enum BMAP_IOCTL;

obsolete - kept for compatibility

FIBMAP
enum FIBMAP;

bmap access

FIGETBSZ
enum FIGETBSZ;

get the block size used for bmap

FSLABEL_MAX
enum FSLABEL_MAX;

Max chars for the interface; each fs may differ

FS_FL_USER_MODIFIABLE
enum FS_FL_USER_MODIFIABLE;

User modifiable flags

FS_FL_USER_VISIBLE
enum FS_FL_USER_VISIBLE;

User visible flags

INR_OPEN_CUR
enum INR_OPEN_CUR;

Initial setting for nfile rlimits

INR_OPEN_MAX
enum INR_OPEN_MAX;

Hard limit for nfile rlimits

RWF_SUPPORTED
enum RWF_SUPPORTED;

mask of flags supported by the kernel

Structs

file_dedupe_range
struct file_dedupe_range

from struct btrfs_ioctl_file_extent_same_args

file_dedupe_range_info
struct file_dedupe_range_info

from struct btrfs_ioctl_file_extent_same_info

files_stat_struct
struct files_stat_struct

And dynamically-tunable limits and defaults:

fsxattr
struct fsxattr

Structure for FS_IOC_FSGETXATTRA and FS_IOC_FSSETXATTR.

inodes_stat_t
struct inodes_stat_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta