Struct kernel::file_operations::ToUse[][src]

pub struct ToUse {
    pub read: bool,
    pub read_iter: bool,
    pub write: bool,
    pub write_iter: bool,
    pub seek: bool,
    pub ioctl: bool,
    pub compat_ioctl: bool,
    pub fsync: bool,
    pub mmap: bool,
    pub poll: bool,
}
Expand description

Represents which fields of [struct file_operations] should be populated with pointers.

Fields

read: bool

The read field of [struct file_operations].

read_iter: bool

The read_iter field of [struct file_operations].

write: bool

The write field of [struct file_operations].

write_iter: bool

The write_iter field of [struct file_operations].

seek: bool

The llseek field of [struct file_operations].

ioctl: bool

The unlocked_ioctl field of [struct file_operations].

compat_ioctl: bool

The compat_ioctl field of [struct file_operations].

fsync: bool

The fsync field of [struct file_operations].

mmap: bool

The mmap field of [struct file_operations].

poll: bool

The poll field of [struct file_operations].

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.