Go to the source code of this file.
◆ follower_fom_phase
| Enumerator | 
|---|
| FIRST_PHASE |  | 
| FINISH_PHASE |  | 
| SECOND_PHASE |  | 
| THIRD_PHASE |  | 
Definition at line 48 of file ms_fom_ut.c.
 
 
◆ leader_fom_phase
| Enumerator | 
|---|
| START_FOLLOWER |  | 
| FINISH |  | 
| CHECK_RESULT |  | 
Definition at line 42 of file ms_fom_ut.c.
 
 
◆ fake_wait()
  
  | 
        
          | static void fake_wait | ( | struct ms_fom * | fom | ) |  |  | static | 
 
 
◆ follower_fom_create()
  
  | 
        
          | static void follower_fom_create | ( | struct m0_fom ** | out, |  
          |  |  | struct m0_reqh * | reqh |  
          |  | ) |  |  |  | static | 
 
 
◆ follower_fom_tick()
  
  | 
        
          | static int follower_fom_tick | ( | struct m0_fom * | fom | ) |  |  | static | 
 
 
◆ leader_follower()
  
  | 
        
          | static void leader_follower | ( | void |  | ) |  |  | static | 
 
 
◆ leader_follower_diff_loc()
  
  | 
        
          | static void leader_follower_diff_loc | ( | void |  | ) |  |  | static | 
 
 
◆ leader_follower_same_loc()
  
  | 
        
          | static void leader_follower_same_loc | ( | void |  | ) |  |  | static | 
 
 
◆ leader_fom_create()
  
  | 
        
          | static void leader_fom_create | ( | struct m0_fom ** | out, |  
          |  |  | struct m0_reqh * | reqh |  
          |  | ) |  |  |  | static | 
 
 
◆ leader_fom_tick()
  
  | 
        
          | static int leader_fom_tick | ( | struct m0_fom * | fom | ) |  |  | static | 
 
 
◆ ms_fini()
  
  | 
        
          | static void ms_fini | ( | void |  | ) |  |  | static | 
 
 
◆ ms_fom_create()
  
  | 
        
          | static void ms_fom_create | ( | struct m0_fom ** | out, |  
          |  |  | struct m0_reqh * | reqh, |  
          |  |  | bool | follower |  
          |  | ) |  |  |  | static | 
 
 
◆ ms_fom_fini()
  
  | 
        
          | static void ms_fom_fini | ( | struct m0_fom * | fom | ) |  |  | static | 
 
 
◆ ms_fom_home_locality()
  
  | 
        
          | static size_t ms_fom_home_locality | ( | const struct m0_fom * | fom | ) |  |  | static | 
 
 
◆ ms_init()
  
  | 
        
          | static void ms_init | ( | void |  | ) |  |  | static | 
 
 
◆ mssvc_fini()
◆ mssvc_start()
◆ mssvc_stop()
◆ mssvc_type_allocate()
◆ reqh_fini()
  
  | 
        
          | static void reqh_fini | ( | void |  | ) |  |  | static | 
 
 
◆ reqh_init()
  
  | 
        
          | static void reqh_init | ( | void |  | ) |  |  | static | 
 
 
◆ reqh_start()
  
  | 
        
          | static void reqh_start | ( | void |  | ) |  |  | static | 
 
 
◆ reqh_stop()
  
  | 
        
          | static void reqh_stop | ( | void |  | ) |  |  | static | 
 
 
◆ wakeup()
◆ follower_fom_ops
Initial value:= {
}
static size_t ms_fom_home_locality(const struct m0_fom *fom)
static int follower_fom_tick(struct m0_fom *fom)
static void ms_fom_fini(struct m0_fom *fom)
Ops object for follower fom 
Definition at line 186 of file ms_fom_ut.c.
 
 
◆ follower_fom_phases
Initial value:= {
                .sd_name    = "first-phase",
        },
                .sd_name    = "second-phase",
        },
                .sd_name    = "third-phase",
        },
                .sd_name    = "finish-phase",
        }
}
Definition at line 71 of file ms_fom_ut.c.
 
 
◆ follower_fomt
◆ follower_sm_conf
Initial value:= {
        .scf_name      = "follower_fom",
}
static struct m0_sm_state_descr follower_fom_phases[]
Definition at line 97 of file ms_fom_ut.c.
 
 
◆ leader_fom_ops
Initial value:= {
}
static size_t ms_fom_home_locality(const struct m0_fom *fom)
static int leader_fom_tick(struct m0_fom *fom)
static void ms_fom_fini(struct m0_fom *fom)
Ops object for leader fom 
Definition at line 180 of file ms_fom_ut.c.
 
 
◆ leader_fom_phases
Initial value:= {
                .sd_name    = "start-follower",
        },
                .sd_name    = "check-result",
        },
                .sd_name    = "finish",
        }
}
Definition at line 55 of file ms_fom_ut.c.
 
 
◆ leader_fomt
◆ leader_sm_conf
Initial value:= {
        .scf_name      = "leader_fom",
}
static struct m0_sm_state_descr leader_fom_phases[]
Definition at line 91 of file ms_fom_ut.c.
 
 
◆ ms_fom_type_ops
◆ ms_fom_ut
Initial value:= {
        .ts_name  = "ms-fom-ut",
        .ts_tests = {
        }
}
static void leader_follower_same_loc(void)
static void leader_follower_diff_loc(void)
Definition at line 402 of file ms_fom_ut.c.
 
 
◆ msfom_id
◆ msreqh
◆ mssvc
◆ mssvc_ops
Initial value:= {
}
static int mssvc_start(struct m0_reqh_service *svc)
int m0_reqh_service_async_start_simple(struct m0_reqh_service_start_async_ctx *asc)
static void mssvc_fini(struct m0_reqh_service *svc)
static void mssvc_stop(struct m0_reqh_service *svc)
Definition at line 133 of file ms_fom_ut.c.
 
 
◆ mssvc_type_ops
Initial value:= {
}
static int mssvc_type_allocate(struct m0_reqh_service **svc, const struct m0_reqh_service_type *stype)
Definition at line 164 of file ms_fom_ut.c.
 
 
◆ sem
◆ test_counter
◆ thrall
◆ use_same_locality
  
  | 
        
          | bool use_same_locality = false |  | static | 
 
 
◆ ut_ms_service_type
Initial value:= {
        .rst_name     = "ms_ut",
        .rst_typecode = M0_CST_DS1
}
static const struct m0_reqh_service_type_ops mssvc_type_ops
Definition at line 168 of file ms_fom_ut.c.