Go to the source code of this file.
◆ __MOTR_LIB_FINJECT_INTERNAL_H__
#define __MOTR_LIB_FINJECT_INTERNAL_H__ |
◆ fp_state_func_t
◆ fi_state_enabled()
◆ fi_states_fini()
M0_INTERNAL void fi_states_fini |
( |
void |
| ) |
|
◆ fi_states_init()
M0_INTERNAL void fi_states_init |
( |
void |
| ) |
|
◆ m0_fi_add_dyn_id()
M0_INTERNAL int m0_fi_add_dyn_id |
( |
char * |
str | ) |
|
Add a dynamically allocated fault point ID string to persistent storage, which will be cleaned during m0_fi_fini() execution.
This function aimed to be used together with m0_fi_enable_xxx() functions.
Definition at line 171 of file finject.c.
◆ m0_fi_fpoint_type_name()
Returns the name of fault point type
Definition at line 357 of file finject.c.
◆ m0_fi_states_get()
A read-only "getter" of global fi_states array, which stores all FP states.
The fi_states array is a private data of lib/finject.c and it should not be modified by external code. This function deliberately returns a const pointer to emphasize this. The main purpose of this function is to provide the FP states information to m0ctl driver, which displays it via debugfs.
- Returns
- A constant pointer to global fi_states array.
Definition at line 88 of file finject.c.
◆ m0_fi_states_get_free_idx()
M0_INTERNAL uint32_t m0_fi_states_get_free_idx |
( |
void |
| ) |
|
A read-only "getter" of global fi_states_free_idx index of fi_states array.
- Returns
- Current value of fi_states_free_idx variable.
Definition at line 94 of file finject.c.
◆ m0_fi_states_get_state_info()
◆ fi_states_mutex
◆ m0_fi_states_headline
const char* m0_fi_states_headline[] |
◆ m0_fi_states_print_format
const char m0_fi_states_print_format[] |