Motr  M0
m0_fi_fpoint_state Struct Reference

#include <finject_internal.h>

Collaboration diagram for m0_fi_fpoint_state:
Collaboration graph

Data Fields

struct m0_fi_fpoint_id fps_id
 
fp_state_func_t fps_trigger_func
 
struct m0_fi_fpoint_data fps_data
 
struct m0_fi_fault_pointfps_fp
 
struct m0_mutex fps_mutex
 
uint32_t fps_total_hit_cnt
 
uint32_t fps_total_trigger_cnt
 

Detailed Description

Holds information about state of a fault point.

Definition at line 47 of file finject_internal.h.

Field Documentation

◆ fps_data

struct m0_fi_fpoint_data fps_data

Input parameters for "triggering algorithm", which control it's behavior

Definition at line 59 of file finject_internal.h.

◆ fps_fp

struct m0_fi_fault_point* fps_fp

Back reference to the corresponding m0_fi_fault_point structure

Definition at line 61 of file finject_internal.h.

◆ fps_id

struct m0_fi_fpoint_id fps_id

FP identifier

Definition at line 49 of file finject_internal.h.

◆ fps_mutex

struct m0_mutex fps_mutex

Definition at line 63 of file finject_internal.h.

◆ fps_total_hit_cnt

uint32_t fps_total_hit_cnt

Counter of how many times (in total) fault point was checked/hit

Definition at line 65 of file finject_internal.h.

◆ fps_total_trigger_cnt

uint32_t fps_total_trigger_cnt

Counter of how many times (in total) fault point was triggered

Definition at line 67 of file finject_internal.h.

◆ fps_trigger_func

fp_state_func_t fps_trigger_func

State function, which implements a particular "triggering algorithm" for each FP type

Definition at line 54 of file finject_internal.h.


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