netatalk  4.6.1
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
fault_inject Struct Reference

#include <faultinject.h>

Data Fields

int open_armed
 
int open_fail_after
 
int open_errno
 
int open_calls
 
int open_last_flags
 
int close_armed
 
int close_fail_after
 
int close_errno
 
int fcntl_armed
 
int fcntl_fail_after
 
int fcntl_errno
 
int fcntl_watch
 
int getlk_calls
 
int setlk_calls
 
int lock_last_type
 
off_t lock_last_start
 
off_t lock_last_len
 
int fchdir_armed
 
int fchdir_fail_after
 
int fchdir_errno
 
int dirfd_armed
 
int dirfd_fail_after
 
int dirfd_errno
 
int dirfd_calls
 
int dirfd_failed_fd
 

Field Documentation

◆ close_armed

int fault_inject::close_armed

◆ close_errno

int fault_inject::close_errno

◆ close_fail_after

int fault_inject::close_fail_after

◆ dirfd_armed

int fault_inject::dirfd_armed

◆ dirfd_calls

int fault_inject::dirfd_calls

◆ dirfd_errno

int fault_inject::dirfd_errno

◆ dirfd_fail_after

int fault_inject::dirfd_fail_after

◆ dirfd_failed_fd

int fault_inject::dirfd_failed_fd

descriptor from the injected call

◆ fchdir_armed

int fault_inject::fchdir_armed

◆ fchdir_errno

int fault_inject::fchdir_errno

◆ fchdir_fail_after

int fault_inject::fchdir_fail_after

◆ fcntl_armed

int fault_inject::fcntl_armed

◆ fcntl_errno

int fault_inject::fcntl_errno

◆ fcntl_fail_after

int fault_inject::fcntl_fail_after

◆ fcntl_watch

int fault_inject::fcntl_watch

record lock-fcntl calls into the fields below

◆ getlk_calls

int fault_inject::getlk_calls

count of F_GETLK calls seen while watching

◆ lock_last_len

off_t fault_inject::lock_last_len

l_len of the most recent watched lock fcntl

◆ lock_last_start

off_t fault_inject::lock_last_start

l_start of the most recent watched lock fcntl

◆ lock_last_type

int fault_inject::lock_last_type

l_type of the most recent watched lock fcntl

◆ open_armed

int fault_inject::open_armed

◆ open_calls

int fault_inject::open_calls

count of armed open() calls seen

◆ open_errno

int fault_inject::open_errno

◆ open_fail_after

int fault_inject::open_fail_after

succeed this many armed opens, then fail once

◆ open_last_flags

int fault_inject::open_last_flags

flags arg of the most recent armed open()

◆ setlk_calls

int fault_inject::setlk_calls

count of F_SETLK/F_SETLKW calls seen


The documentation for this struct was generated from the following file: