LCOV - code coverage report
Current view: top level - home/alexey/klever/native-scheduler-work-dir/native-scheduler-work-dir/scheduler/jobs/032ed983781f2acce615a4df71b22f31/klever-core-work-dir/fcfcc6e/linux-drivers-clk2/avtg/block/deadline-iosched.ko/linux:drivers:clk2/weaver - deadline-iosched.c.aux (source / functions) Hit Total Coverage
Test: coverage.info Lines: 199 201 99.0 %
Date: 2017-01-25 Functions: 24 24 100.0 %

          Line data    Source code
       1             : 
       2             : struct device;
       3             : 
       4             : void *ldv_dev_get_drvdata(const struct device *dev);
       5             : int ldv_dev_set_drvdata(struct device *dev, void *data);
       6             : 
       7             : struct spi_master;
       8             : struct device;
       9             : struct spi_master *ldv_spi_alloc_master(struct device *host, unsigned size);
      10             : 
      11             : #include <linux/ldv/err.h>
      12             : 
      13             : #include <linux/types.h>
      14             : void *ldv_kzalloc(size_t size, gfp_t flags);
      15             : 
      16             : struct clk;
      17             : 
      18             : extern void ldv_clk_disable(struct clk *clk);
      19             : extern int ldv_clk_enable(void);
      20             : 
      21             : #include <linux/ldv/common.h>
      22             : #include <linux/ldv/irq.h>
      23             : #include <verifier/common.h>
      24             : #include <verifier/nondet.h>
      25             : #include <verifier/memory.h>
      26             : #include <verifier/thread.h>
      27             : 
      28             : 
      29             : 
      30             : struct ldv_struct_insmod_6 {
      31             :  int signal_pending;
      32             : };
      33             : 
      34             : /* EMG Function declarations */
      35             : void ldv_dispatch_default_deregister_1_6_4(void);
      36             : void ldv_dispatch_default_register_1_6_5(void);
      37             : void ldv_dispatch_insmod_deregister_7_2(void);
      38             : void ldv_dispatch_insmod_register_7_3(void);
      39             : void ldv_insmod_6(void *);
      40             : void ldv_insmod_deadline_exit_6_2(void (*)(void));
      41             : int ldv_insmod_deadline_init_6_9(int (*)(void));
      42             : void ldv_main_7(void *);
      43             : void ldv_random_containerless_scenario_1(void *);
      44             : void ldv_random_containerless_scenario_2(void *);
      45             : void ldv_random_containerless_scenario_3(void *);
      46             : void ldv_random_containerless_scenario_4(void *);
      47             : void ldv_random_containerless_scenario_5(void *);
      48             : void ldv_random_containerless_scenario_callback_1_10(ssize_t (*)(struct elevator_queue *, char *, size_t ), struct elevator_queue *, char *, long unsigned int);
      49             : void ldv_random_containerless_scenario_callback_1_4(ssize_t (*)(struct elevator_queue *, char *), struct elevator_queue *, char *);
      50             : void ldv_random_containerless_scenario_callback_2_10(ssize_t (*)(struct elevator_queue *, char *, size_t ), struct elevator_queue *, char *, long unsigned int);
      51             : void ldv_random_containerless_scenario_callback_2_4(ssize_t (*)(struct elevator_queue *, char *), struct elevator_queue *, char *);
      52             : void ldv_random_containerless_scenario_callback_3_10(ssize_t (*)(struct elevator_queue *, char *, size_t ), struct elevator_queue *, char *, long unsigned int);
      53             : void ldv_random_containerless_scenario_callback_3_4(ssize_t (*)(struct elevator_queue *, char *), struct elevator_queue *, char *);
      54             : void ldv_random_containerless_scenario_callback_4_10(ssize_t (*)(struct elevator_queue *, char *, size_t ), struct elevator_queue *, char *, long unsigned int);
      55             : void ldv_random_containerless_scenario_callback_4_4(ssize_t (*)(struct elevator_queue *, char *), struct elevator_queue *, char *);
      56             : void ldv_random_containerless_scenario_callback_5_10(ssize_t (*)(struct elevator_queue *, char *, size_t ), struct elevator_queue *, char *, long unsigned int);
      57             : void ldv_random_containerless_scenario_callback_5_4(ssize_t (*)(struct elevator_queue *, char *), struct elevator_queue *, char *);
      58             : int main(void);
      59             : 
      60             : /* EMG variable declarations */
      61           1 : struct ldv_thread ldv_thread_1;
      62           1 : struct ldv_thread ldv_thread_2;
      63           1 : struct ldv_thread ldv_thread_3;
      64           1 : struct ldv_thread ldv_thread_4;
      65           1 : struct ldv_thread ldv_thread_5;
      66           1 : struct ldv_thread ldv_thread_6;
      67           1 : struct ldv_thread ldv_thread_7;
      68             : 
      69             : /* EMG variable initialization */
      70             : 
      71             : /* EMG function definitions */
      72             : /* AUX_FUNC ldv_dispatch_default_deregister_1_6_4 */
      73             : void ldv_dispatch_default_deregister_1_6_4() {
      74             :  struct ldv_struct_insmod_6 *cf_arg_1;
      75             :  struct ldv_struct_insmod_6 *cf_arg_2;
      76             :  struct ldv_struct_insmod_6 *cf_arg_3;
      77             :  struct ldv_struct_insmod_6 *cf_arg_4;
      78             :  struct ldv_struct_insmod_6 *cf_arg_5;
      79             :  /* Skip thread join call */
      80             :  /* Skip thread join call */
      81             :  /* Skip thread join call */
      82             :  /* Skip thread join call */
      83             :  /* Skip thread join call */
      84           1 :  return;
      85             : }
      86             : 
      87             : /* AUX_FUNC ldv_dispatch_default_register_1_6_5 */
      88             : void ldv_dispatch_default_register_1_6_5() {
      89             :  struct ldv_struct_insmod_6 *cf_arg_1;
      90           1 :  struct ldv_struct_insmod_6 *cf_arg_2;
      91           1 :  struct ldv_struct_insmod_6 *cf_arg_3;
      92           1 :  struct ldv_struct_insmod_6 *cf_arg_4;
      93           1 :  struct ldv_struct_insmod_6 *cf_arg_5;
      94           4 :  cf_arg_1 = ldv_xmalloc(sizeof(struct ldv_struct_insmod_6));
      95           3 :  ldv_random_containerless_scenario_1(cf_arg_1);
      96           4 :  cf_arg_2 = ldv_xmalloc(sizeof(struct ldv_struct_insmod_6));
      97           3 :  ldv_random_containerless_scenario_2(cf_arg_2);
      98           4 :  cf_arg_3 = ldv_xmalloc(sizeof(struct ldv_struct_insmod_6));
      99           3 :  ldv_random_containerless_scenario_3(cf_arg_3);
     100           3 :  cf_arg_4 = ldv_xmalloc(sizeof(struct ldv_struct_insmod_6));
     101           2 :  ldv_random_containerless_scenario_4(cf_arg_4);
     102           3 :  cf_arg_5 = ldv_xmalloc(sizeof(struct ldv_struct_insmod_6));
     103           2 :  ldv_random_containerless_scenario_5(cf_arg_5);
     104           1 :  return;
     105             : }
     106             : 
     107             : /* AUX_FUNC ldv_dispatch_insmod_deregister_7_2 */
     108             : void ldv_dispatch_insmod_deregister_7_2() {
     109             :  struct ldv_struct_insmod_6 *cf_arg_6;
     110             :  /* Skip thread join call */
     111           1 :  return;
     112             : }
     113             : 
     114             : /* AUX_FUNC ldv_dispatch_insmod_register_7_3 */
     115             : void ldv_dispatch_insmod_register_7_3() {
     116             :  struct ldv_struct_insmod_6 *cf_arg_6;
     117           4 :  cf_arg_6 = ldv_xmalloc(sizeof(struct ldv_struct_insmod_6));
     118           4 :  ldv_insmod_6(cf_arg_6);
     119           1 :  return;
     120             : }
     121             : 
     122             : /* AUX_FUNC ldv_insmod_6 */
     123             : void ldv_insmod_6(void *arg0) {
     124             :  /* LDV {"thread": 6, "type": "CONTROL_FUNCTION_BEGIN", "comment": "Control function 'insmod(artificial)'", "function": "ldv_insmod_6"} */
     125           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_BEGIN", "comment": "Declare auxiliary variables."} */
     126           1 :  void (*ldv_6_deadline_exit_default)(void);
     127           1 :  int (*ldv_6_deadline_init_default)(void);
     128           1 :  int ldv_6_ret_default;
     129           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_END", "comment": "Declare auxiliary variables."} */
     130             :  /* LDV {"action": "INSMOD_REGISTER", "type": "RECEIVE_BEGIN", "comment": "Trigger module initialization."} */
     131           2 :  ldv_free(arg0);
     132             :  /* LDV {"action": "INSMOD_REGISTER", "type": "RECEIVE_END"} */
     133             : 
     134             :  /* LDV {"action": "DEADLINE_INIT", "type": "CALL_BEGIN", "callback": true, "comment": "Initialize the module after insmod with 'deadline_init' function. Invoke callback deadline_init from ARTIFICIAL."} */
     135             :  /* LDV {"type": "CALLBACK", "call": "ldv_6_ret_default = (deadline_init)();", "comment": "deadline_init"} */
     136           2 :  ldv_6_ret_default = ldv_insmod_deadline_init_6_9(ldv_6_deadline_init_default);
     137             :  /* Callback post-call */
     138           2 :  ldv_6_ret_default = ldv_post_init(ldv_6_ret_default);
     139             :  /* LDV {"action": "DEADLINE_INIT", "type": "CALL_END"} */
     140             : 
     141           4 :  if (ldv_undef_int()) {
     142             :   /* LDV {"action": "INIT_FAILED", "type": "CONDITION_BEGIN", "comment": "Failed to initialize the module."} */
     143           2 :   ldv_assume(ldv_6_ret_default != 0);
     144             :   /* LDV {"action": "INIT_FAILED", "type": "CONDITION_END"} */
     145             : 
     146             :   /* LDV {"action": "INSMOD_DEREGISTER", "type": "RECEIVE_BEGIN", "comment": "Trigger module exit."} */
     147             :   /* Skip a non-replicative signal receiving */
     148             :   /* LDV {"action": "INSMOD_DEREGISTER", "type": "RECEIVE_END"} */
     149             : 
     150             :   /* Exit function at a terminal state */
     151           1 :   return;
     152             :  }
     153             :  else {
     154             :   /* LDV {"action": "INIT_SUCCESS", "type": "CONDITION_BEGIN", "comment": "Module has been initialized."} */
     155           2 :   ldv_assume(ldv_6_ret_default == 0);
     156             :   /* LDV {"action": "INIT_SUCCESS", "type": "CONDITION_END"} */
     157             : 
     158           4 :   if (ldv_undef_int()) {
     159             :    /* LDV {"action": "DEFAULT_REGISTER_1", "type": "DISPATCH_BEGIN", "comment": "Register 'STRUCT_ELV_FS_ENTRY' callbacks with unknown registration function."} */
     160           2 :    ldv_dispatch_default_register_1_6_5();
     161             :    /* LDV {"action": "DEFAULT_REGISTER_1", "type": "DISPATCH_END"} */
     162             : 
     163             :    /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "DISPATCH_BEGIN", "comment": "Deregister 'STRUCT_ELV_FS_ENTRY' callbacks with unknown deregistration function."} */
     164           2 :    ldv_dispatch_default_deregister_1_6_4();
     165             :    /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "DISPATCH_END"} */
     166             : 
     167             :   }
     168             :   else {
     169             :    /* LDV {"action": "NONE", "type": "CONDITION_BEGIN", "comment": "Skip default callbacks registrations and deregistrations."} */
     170             :    /* LDV {"action": "NONE", "type": "CONDITION_END"} */
     171             : 
     172             :   }
     173             :   /* LDV {"action": "DEADLINE_EXIT", "type": "CALL_BEGIN", "callback": true, "comment": "Exit the module before its unloading with 'deadline_exit' function. Invoke callback deadline_exit from ARTIFICIAL."} */
     174             :   /* LDV {"type": "CALLBACK", "call": "(deadline_exit)();", "comment": "deadline_exit"} */
     175           4 :   ldv_insmod_deadline_exit_6_2(ldv_6_deadline_exit_default);
     176             :   /* LDV {"action": "DEADLINE_EXIT", "type": "CALL_END"} */
     177             : 
     178             :   /* LDV {"action": "INSMOD_DEREGISTER", "type": "RECEIVE_BEGIN", "comment": "Trigger module exit."} */
     179             :   /* Skip a non-replicative signal receiving */
     180             :   /* LDV {"action": "INSMOD_DEREGISTER", "type": "RECEIVE_END"} */
     181             : 
     182             :   /* Exit function at a terminal state */
     183           1 :   return;
     184             :  }
     185             :  /* End of the process */
     186             :  return;
     187             :  /* LDV {"comment": "End of control function based on process 'insmod(artificial)'", "type": "CONTROL_FUNCTION_END", "function": "ldv_insmod_6"} */
     188             : }
     189             : 
     190             : /* AUX_FUNC_CALLBACK ldv_insmod_deadline_exit_6_2 */
     191             : void ldv_insmod_deadline_exit_6_2(void (*arg0)(void)) {
     192           4 :  (deadline_exit)();
     193           2 : }
     194             : 
     195             : /* AUX_FUNC_CALLBACK ldv_insmod_deadline_init_6_9 */
     196             : int ldv_insmod_deadline_init_6_9(int (*arg0)(void)) {
     197           3 :  return (deadline_init)();
     198           1 : }
     199             : 
     200             : /* AUX_FUNC ldv_main_7 */
     201             : void ldv_main_7(void *arg0) {
     202             :  /* LDV {"thread": 7, "type": "CONTROL_FUNCTION_BEGIN", "comment": "Control function 'main(main)'", "function": "ldv_main_7"} */
     203             :  /* LDV {"type": "CONTROL_FUNCTION_INIT_BEGIN", "comment": "Declare auxiliary variables."} */
     204             :  /* LDV {"type": "CONTROL_FUNCTION_INIT_END", "comment": "Declare auxiliary variables."} */
     205             :  /* LDV {"action": "INIT", "type": "CONDITION_BEGIN", "comment": "Initialize rule models."} */
     206           1 :  ldv_initialize();
     207             :  /* LDV {"action": "INIT", "type": "CONDITION_END"} */
     208             : 
     209             :  /* LDV {"action": "INSMOD_REGISTER", "type": "DISPATCH_BEGIN", "comment": "Start environment model scenarios."} */
     210           2 :  ldv_dispatch_insmod_register_7_3();
     211             :  /* LDV {"action": "INSMOD_REGISTER", "type": "DISPATCH_END"} */
     212             : 
     213             :  /* LDV {"action": "INSMOD_DEREGISTER", "type": "DISPATCH_BEGIN", "comment": "Stop environment model scenarios."} */
     214           2 :  ldv_dispatch_insmod_deregister_7_2();
     215             :  /* LDV {"action": "INSMOD_DEREGISTER", "type": "DISPATCH_END"} */
     216             : 
     217             :  /* LDV {"action": "FINAL", "type": "CONDITION_BEGIN", "comment": "Check rule model state at the exit."} */
     218           1 :  ldv_check_final_state();
     219           1 :  ldv_stop();
     220             :  /* LDV {"action": "FINAL", "type": "CONDITION_END"} */
     221             : 
     222             :  /* Exit function at a terminal state */
     223           0 :  return;
     224             :  /* End of the process */
     225             :  return;
     226             :  /* LDV {"comment": "End of control function based on process 'main(main)'", "type": "CONTROL_FUNCTION_END", "function": "ldv_main_7"} */
     227             : }
     228             : 
     229             : /* AUX_FUNC ldv_random_containerless_scenario_1 */
     230             : void ldv_random_containerless_scenario_1(void *arg0) {
     231             :  /* LDV {"thread": 1, "type": "CONTROL_FUNCTION_BEGIN", "comment": "Control function 'random_containerless_scenario(struct_elv_fs_entry)'", "function": "ldv_random_containerless_scenario_1"} */
     232           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_BEGIN", "comment": "Declare auxiliary variables."} */
     233           1 :  ssize_t (*ldv_1_callback_show)(struct elevator_queue *, char *);
     234           1 :  ssize_t (*ldv_1_callback_store)(struct elevator_queue *, char *, size_t );
     235           1 :  struct elevator_queue *ldv_1_container_struct_elevator_queue_ptr;
     236           1 :  char *ldv_1_ldv_param_10_1_default;
     237           1 :  long unsigned int ldv_1_ldv_param_10_2_default;
     238           1 :  char *ldv_1_ldv_param_4_1_default;
     239           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_END", "comment": "Declare auxiliary variables."} */
     240           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Begin STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     241           3 :  ldv_free(arg0);
     242           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_END"} */
     243             : 
     244             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_BEGIN", "comment": "Allocate memory after default registration."} */
     245           3 :  ldv_1_container_struct_elevator_queue_ptr = ldv_xmalloc_unknown_size(0);
     246             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_END"} */
     247             : 
     248             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     249             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     250             : 
     251             :  /* Jump to a subprocess 'call' initial state */
     252           1 :  goto ldv_call_1;
     253             :  /* End of the process */
     254             :  return;
     255           1 : 
     256             :  /* Sbprocess call */
     257             :  ldv_call_1:
     258             :  /* LDV {"action": null, "type": "ARTIFICIAL", "comment": "Artificial state in scenario"} */
     259             : 
     260           4 :  if (ldv_undef_int()) {
     261             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     262           3 :   ldv_1_ldv_param_4_1_default = ldv_xmalloc_unknown_size(0);
     263             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_END"} */
     264             : 
     265           4 :   if (ldv_undef_int()) {
     266             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     267           3 :    ldv_1_ldv_param_10_1_default = ldv_xmalloc_unknown_size(0);
     268             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_END"} */
     269             : 
     270             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback store from elv_fs_entry."} */
     271             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_fifo_batch_store))(ldv_1_container_struct_elevator_queue_ptr, ldv_1_ldv_param_10_1_default, ldv_1_ldv_param_10_2_default);", "comment": "callback"} */
     272           2 :    ldv_random_containerless_scenario_callback_1_10(ldv_1_callback_store, ldv_1_container_struct_elevator_queue_ptr, ldv_1_ldv_param_10_1_default, ldv_1_ldv_param_10_2_default);
     273             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     274             : 
     275             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     276           2 :    ldv_free(ldv_1_ldv_param_10_1_default);
     277             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_END"} */
     278             : 
     279             :   }
     280             :   else {
     281             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback show from elv_fs_entry."} */
     282             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_fifo_batch_show))(ldv_1_container_struct_elevator_queue_ptr, ldv_1_ldv_param_4_1_default);", "comment": "callback"} */
     283           2 :    ldv_random_containerless_scenario_callback_1_4(ldv_1_callback_show, ldv_1_container_struct_elevator_queue_ptr, ldv_1_ldv_param_4_1_default);
     284             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     285             : 
     286             :   }
     287             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     288           4 :   ldv_free(ldv_1_ldv_param_4_1_default);
     289             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_END"} */
     290             : 
     291             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     292             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     293             : 
     294             :   /* Jump to a subprocess 'call' initial state */
     295           1 :   goto ldv_call_1;
     296             :  }
     297             :  else {
     298             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_BEGIN", "comment": "Free memory before default deregistration."} */
     299           2 :   ldv_free(ldv_1_container_struct_elevator_queue_ptr);
     300             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_END"} */
     301             : 
     302             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Finish STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     303             :   /* Skip a non-replicative signal receiving */
     304             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_END"} */
     305             : 
     306             :   /* Exit function at a terminal state */
     307           1 :   return;
     308             :  }
     309             :  /* End of the subprocess 'call' */
     310             :  return;
     311             :  /* LDV {"comment": "End of control function based on process 'random_containerless_scenario(struct_elv_fs_entry)'", "type": "CONTROL_FUNCTION_END", "function": "ldv_random_containerless_scenario_1"} */
     312             : }
     313             : 
     314             : /* AUX_FUNC ldv_random_containerless_scenario_2 */
     315             : void ldv_random_containerless_scenario_2(void *arg0) {
     316             :  /* LDV {"thread": 2, "type": "CONTROL_FUNCTION_BEGIN", "comment": "Control function 'random_containerless_scenario(struct_elv_fs_entry)'", "function": "ldv_random_containerless_scenario_2"} */
     317           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_BEGIN", "comment": "Declare auxiliary variables."} */
     318           1 :  ssize_t (*ldv_2_callback_show)(struct elevator_queue *, char *);
     319           1 :  ssize_t (*ldv_2_callback_store)(struct elevator_queue *, char *, size_t );
     320           1 :  struct elevator_queue *ldv_2_container_struct_elevator_queue_ptr;
     321           1 :  char *ldv_2_ldv_param_10_1_default;
     322           1 :  long unsigned int ldv_2_ldv_param_10_2_default;
     323           1 :  char *ldv_2_ldv_param_4_1_default;
     324           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_END", "comment": "Declare auxiliary variables."} */
     325           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Begin STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     326           3 :  ldv_free(arg0);
     327           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_END"} */
     328             : 
     329             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_BEGIN", "comment": "Allocate memory after default registration."} */
     330           3 :  ldv_2_container_struct_elevator_queue_ptr = ldv_xmalloc_unknown_size(0);
     331             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_END"} */
     332             : 
     333             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     334             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     335             : 
     336             :  /* Jump to a subprocess 'call' initial state */
     337           1 :  goto ldv_call_2;
     338             :  /* End of the process */
     339             :  return;
     340           1 : 
     341             :  /* Sbprocess call */
     342             :  ldv_call_2:
     343             :  /* LDV {"action": null, "type": "ARTIFICIAL", "comment": "Artificial state in scenario"} */
     344             : 
     345           4 :  if (ldv_undef_int()) {
     346             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     347           3 :   ldv_2_ldv_param_4_1_default = ldv_xmalloc_unknown_size(0);
     348             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_END"} */
     349             : 
     350           4 :   if (ldv_undef_int()) {
     351             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     352           3 :    ldv_2_ldv_param_10_1_default = ldv_xmalloc_unknown_size(0);
     353             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_END"} */
     354             : 
     355             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback store from elv_fs_entry."} */
     356             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_front_merges_store))(ldv_2_container_struct_elevator_queue_ptr, ldv_2_ldv_param_10_1_default, ldv_2_ldv_param_10_2_default);", "comment": "callback"} */
     357           2 :    ldv_random_containerless_scenario_callback_2_10(ldv_2_callback_store, ldv_2_container_struct_elevator_queue_ptr, ldv_2_ldv_param_10_1_default, ldv_2_ldv_param_10_2_default);
     358             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     359             : 
     360             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     361           2 :    ldv_free(ldv_2_ldv_param_10_1_default);
     362             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_END"} */
     363             : 
     364             :   }
     365             :   else {
     366             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback show from elv_fs_entry."} */
     367             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_front_merges_show))(ldv_2_container_struct_elevator_queue_ptr, ldv_2_ldv_param_4_1_default);", "comment": "callback"} */
     368           2 :    ldv_random_containerless_scenario_callback_2_4(ldv_2_callback_show, ldv_2_container_struct_elevator_queue_ptr, ldv_2_ldv_param_4_1_default);
     369             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     370             : 
     371             :   }
     372             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     373           4 :   ldv_free(ldv_2_ldv_param_4_1_default);
     374             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_END"} */
     375             : 
     376             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     377             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     378             : 
     379             :   /* Jump to a subprocess 'call' initial state */
     380           1 :   goto ldv_call_2;
     381             :  }
     382             :  else {
     383             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_BEGIN", "comment": "Free memory before default deregistration."} */
     384           2 :   ldv_free(ldv_2_container_struct_elevator_queue_ptr);
     385             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_END"} */
     386             : 
     387             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Finish STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     388             :   /* Skip a non-replicative signal receiving */
     389             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_END"} */
     390             : 
     391             :   /* Exit function at a terminal state */
     392           1 :   return;
     393             :  }
     394             :  /* End of the subprocess 'call' */
     395             :  return;
     396             :  /* LDV {"comment": "End of control function based on process 'random_containerless_scenario(struct_elv_fs_entry)'", "type": "CONTROL_FUNCTION_END", "function": "ldv_random_containerless_scenario_2"} */
     397             : }
     398             : 
     399             : /* AUX_FUNC ldv_random_containerless_scenario_3 */
     400             : void ldv_random_containerless_scenario_3(void *arg0) {
     401             :  /* LDV {"thread": 3, "type": "CONTROL_FUNCTION_BEGIN", "comment": "Control function 'random_containerless_scenario(struct_elv_fs_entry)'", "function": "ldv_random_containerless_scenario_3"} */
     402           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_BEGIN", "comment": "Declare auxiliary variables."} */
     403           1 :  ssize_t (*ldv_3_callback_show)(struct elevator_queue *, char *);
     404           1 :  ssize_t (*ldv_3_callback_store)(struct elevator_queue *, char *, size_t );
     405           1 :  struct elevator_queue *ldv_3_container_struct_elevator_queue_ptr;
     406           1 :  char *ldv_3_ldv_param_10_1_default;
     407           1 :  long unsigned int ldv_3_ldv_param_10_2_default;
     408           1 :  char *ldv_3_ldv_param_4_1_default;
     409           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_END", "comment": "Declare auxiliary variables."} */
     410           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Begin STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     411           3 :  ldv_free(arg0);
     412           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_END"} */
     413             : 
     414             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_BEGIN", "comment": "Allocate memory after default registration."} */
     415           3 :  ldv_3_container_struct_elevator_queue_ptr = ldv_xmalloc_unknown_size(0);
     416             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_END"} */
     417             : 
     418             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     419             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     420             : 
     421             :  /* Jump to a subprocess 'call' initial state */
     422           1 :  goto ldv_call_3;
     423             :  /* End of the process */
     424             :  return;
     425           1 : 
     426             :  /* Sbprocess call */
     427             :  ldv_call_3:
     428             :  /* LDV {"action": null, "type": "ARTIFICIAL", "comment": "Artificial state in scenario"} */
     429             : 
     430           4 :  if (ldv_undef_int()) {
     431             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     432           3 :   ldv_3_ldv_param_4_1_default = ldv_xmalloc_unknown_size(0);
     433             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_END"} */
     434             : 
     435           4 :   if (ldv_undef_int()) {
     436             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     437           3 :    ldv_3_ldv_param_10_1_default = ldv_xmalloc_unknown_size(0);
     438             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_END"} */
     439             : 
     440             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback store from elv_fs_entry."} */
     441             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_read_expire_store))(ldv_3_container_struct_elevator_queue_ptr, ldv_3_ldv_param_10_1_default, ldv_3_ldv_param_10_2_default);", "comment": "callback"} */
     442           2 :    ldv_random_containerless_scenario_callback_3_10(ldv_3_callback_store, ldv_3_container_struct_elevator_queue_ptr, ldv_3_ldv_param_10_1_default, ldv_3_ldv_param_10_2_default);
     443             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     444             : 
     445             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     446           2 :    ldv_free(ldv_3_ldv_param_10_1_default);
     447             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_END"} */
     448             : 
     449             :   }
     450             :   else {
     451             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback show from elv_fs_entry."} */
     452             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_read_expire_show))(ldv_3_container_struct_elevator_queue_ptr, ldv_3_ldv_param_4_1_default);", "comment": "callback"} */
     453           2 :    ldv_random_containerless_scenario_callback_3_4(ldv_3_callback_show, ldv_3_container_struct_elevator_queue_ptr, ldv_3_ldv_param_4_1_default);
     454             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     455             : 
     456             :   }
     457             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     458           4 :   ldv_free(ldv_3_ldv_param_4_1_default);
     459             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_END"} */
     460             : 
     461             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     462             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     463             : 
     464             :   /* Jump to a subprocess 'call' initial state */
     465           1 :   goto ldv_call_3;
     466             :  }
     467             :  else {
     468             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_BEGIN", "comment": "Free memory before default deregistration."} */
     469           2 :   ldv_free(ldv_3_container_struct_elevator_queue_ptr);
     470             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_END"} */
     471             : 
     472             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Finish STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     473             :   /* Skip a non-replicative signal receiving */
     474             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_END"} */
     475             : 
     476             :   /* Exit function at a terminal state */
     477           1 :   return;
     478             :  }
     479             :  /* End of the subprocess 'call' */
     480             :  return;
     481             :  /* LDV {"comment": "End of control function based on process 'random_containerless_scenario(struct_elv_fs_entry)'", "type": "CONTROL_FUNCTION_END", "function": "ldv_random_containerless_scenario_3"} */
     482             : }
     483             : 
     484             : /* AUX_FUNC ldv_random_containerless_scenario_4 */
     485             : void ldv_random_containerless_scenario_4(void *arg0) {
     486             :  /* LDV {"thread": 4, "type": "CONTROL_FUNCTION_BEGIN", "comment": "Control function 'random_containerless_scenario(struct_elv_fs_entry)'", "function": "ldv_random_containerless_scenario_4"} */
     487           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_BEGIN", "comment": "Declare auxiliary variables."} */
     488           1 :  ssize_t (*ldv_4_callback_show)(struct elevator_queue *, char *);
     489           1 :  ssize_t (*ldv_4_callback_store)(struct elevator_queue *, char *, size_t );
     490           1 :  struct elevator_queue *ldv_4_container_struct_elevator_queue_ptr;
     491           1 :  char *ldv_4_ldv_param_10_1_default;
     492           1 :  long unsigned int ldv_4_ldv_param_10_2_default;
     493           1 :  char *ldv_4_ldv_param_4_1_default;
     494           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_END", "comment": "Declare auxiliary variables."} */
     495           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Begin STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     496           3 :  ldv_free(arg0);
     497           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_END"} */
     498             : 
     499             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_BEGIN", "comment": "Allocate memory after default registration."} */
     500           3 :  ldv_4_container_struct_elevator_queue_ptr = ldv_xmalloc_unknown_size(0);
     501             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_END"} */
     502             : 
     503             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     504             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     505             : 
     506             :  /* Jump to a subprocess 'call' initial state */
     507           1 :  goto ldv_call_4;
     508             :  /* End of the process */
     509             :  return;
     510           1 : 
     511             :  /* Sbprocess call */
     512             :  ldv_call_4:
     513             :  /* LDV {"action": null, "type": "ARTIFICIAL", "comment": "Artificial state in scenario"} */
     514             : 
     515           4 :  if (ldv_undef_int()) {
     516             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     517           3 :   ldv_4_ldv_param_4_1_default = ldv_xmalloc_unknown_size(0);
     518             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_END"} */
     519             : 
     520           4 :   if (ldv_undef_int()) {
     521             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     522           3 :    ldv_4_ldv_param_10_1_default = ldv_xmalloc_unknown_size(0);
     523             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_END"} */
     524             : 
     525             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback store from elv_fs_entry."} */
     526             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_write_expire_store))(ldv_4_container_struct_elevator_queue_ptr, ldv_4_ldv_param_10_1_default, ldv_4_ldv_param_10_2_default);", "comment": "callback"} */
     527           2 :    ldv_random_containerless_scenario_callback_4_10(ldv_4_callback_store, ldv_4_container_struct_elevator_queue_ptr, ldv_4_ldv_param_10_1_default, ldv_4_ldv_param_10_2_default);
     528             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     529             : 
     530             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     531           2 :    ldv_free(ldv_4_ldv_param_10_1_default);
     532             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_END"} */
     533             : 
     534             :   }
     535             :   else {
     536             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback show from elv_fs_entry."} */
     537             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_write_expire_show))(ldv_4_container_struct_elevator_queue_ptr, ldv_4_ldv_param_4_1_default);", "comment": "callback"} */
     538           2 :    ldv_random_containerless_scenario_callback_4_4(ldv_4_callback_show, ldv_4_container_struct_elevator_queue_ptr, ldv_4_ldv_param_4_1_default);
     539             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     540             : 
     541             :   }
     542             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     543           4 :   ldv_free(ldv_4_ldv_param_4_1_default);
     544             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_END"} */
     545             : 
     546             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     547             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     548             : 
     549             :   /* Jump to a subprocess 'call' initial state */
     550           1 :   goto ldv_call_4;
     551             :  }
     552             :  else {
     553             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_BEGIN", "comment": "Free memory before default deregistration."} */
     554           2 :   ldv_free(ldv_4_container_struct_elevator_queue_ptr);
     555             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_END"} */
     556             : 
     557             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Finish STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     558             :   /* Skip a non-replicative signal receiving */
     559             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_END"} */
     560             : 
     561             :   /* Exit function at a terminal state */
     562           1 :   return;
     563             :  }
     564             :  /* End of the subprocess 'call' */
     565             :  return;
     566             :  /* LDV {"comment": "End of control function based on process 'random_containerless_scenario(struct_elv_fs_entry)'", "type": "CONTROL_FUNCTION_END", "function": "ldv_random_containerless_scenario_4"} */
     567             : }
     568             : 
     569             : /* AUX_FUNC ldv_random_containerless_scenario_5 */
     570             : void ldv_random_containerless_scenario_5(void *arg0) {
     571             :  /* LDV {"thread": 5, "type": "CONTROL_FUNCTION_BEGIN", "comment": "Control function 'random_containerless_scenario(struct_elv_fs_entry)'", "function": "ldv_random_containerless_scenario_5"} */
     572           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_BEGIN", "comment": "Declare auxiliary variables."} */
     573           1 :  ssize_t (*ldv_5_callback_show)(struct elevator_queue *, char *);
     574           1 :  ssize_t (*ldv_5_callback_store)(struct elevator_queue *, char *, size_t );
     575           1 :  struct elevator_queue *ldv_5_container_struct_elevator_queue_ptr;
     576           1 :  char *ldv_5_ldv_param_10_1_default;
     577           1 :  long unsigned int ldv_5_ldv_param_10_2_default;
     578           1 :  char *ldv_5_ldv_param_4_1_default;
     579           1 :  /* LDV {"type": "CONTROL_FUNCTION_INIT_END", "comment": "Declare auxiliary variables."} */
     580           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Begin STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     581           3 :  ldv_free(arg0);
     582           1 :  /* LDV {"action": "DEFAULT_REGISTER_1", "type": "RECEIVE_END"} */
     583             : 
     584             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_BEGIN", "comment": "Allocate memory after default registration."} */
     585           3 :  ldv_5_container_struct_elevator_queue_ptr = ldv_xmalloc_unknown_size(0);
     586             :  /* LDV {"action": "DEFAULT_ALLOC_1", "type": "CONDITION_END"} */
     587             : 
     588             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     589             :  /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     590             : 
     591             :  /* Jump to a subprocess 'call' initial state */
     592           1 :  goto ldv_call_5;
     593             :  /* End of the process */
     594             :  return;
     595           1 : 
     596             :  /* Sbprocess call */
     597             :  ldv_call_5:
     598             :  /* LDV {"action": null, "type": "ARTIFICIAL", "comment": "Artificial state in scenario"} */
     599             : 
     600           4 :  if (ldv_undef_int()) {
     601             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     602           3 :   ldv_5_ldv_param_4_1_default = ldv_xmalloc_unknown_size(0);
     603             :   /* LDV {"action": "PRE_CALL_4", "type": "CONDITION_END"} */
     604             : 
     605           4 :   if (ldv_undef_int()) {
     606             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_BEGIN", "comment": "Allocate memory for adhoc callback parameters."} */
     607           3 :    ldv_5_ldv_param_10_1_default = ldv_xmalloc_unknown_size(0);
     608             :    /* LDV {"action": "PRE_CALL_10", "type": "CONDITION_END"} */
     609             : 
     610             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback store from elv_fs_entry."} */
     611             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_writes_starved_store))(ldv_5_container_struct_elevator_queue_ptr, ldv_5_ldv_param_10_1_default, ldv_5_ldv_param_10_2_default);", "comment": "callback"} */
     612           2 :    ldv_random_containerless_scenario_callback_5_10(ldv_5_callback_store, ldv_5_container_struct_elevator_queue_ptr, ldv_5_ldv_param_10_1_default, ldv_5_ldv_param_10_2_default);
     613             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     614             : 
     615             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     616           2 :    ldv_free(ldv_5_ldv_param_10_1_default);
     617             :    /* LDV {"action": "POST_CALL_10", "type": "CONDITION_END"} */
     618             : 
     619             :   }
     620             :   else {
     621             :    /* LDV {"action": "CALLBACK", "type": "CALL_BEGIN", "callback": true, "comment": "Call any random callback. Invoke callback show from elv_fs_entry."} */
     622             :    /* LDV {"type": "CALLBACK", "call": "((& deadline_writes_starved_show))(ldv_5_container_struct_elevator_queue_ptr, ldv_5_ldv_param_4_1_default);", "comment": "callback"} */
     623           2 :    ldv_random_containerless_scenario_callback_5_4(ldv_5_callback_show, ldv_5_container_struct_elevator_queue_ptr, ldv_5_ldv_param_4_1_default);
     624             :    /* LDV {"action": "CALLBACK", "type": "CALL_END"} */
     625             : 
     626             :   }
     627             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_BEGIN", "comment": "Free memory of adhoc callback parameters."} */
     628           4 :   ldv_free(ldv_5_ldv_param_4_1_default);
     629             :   /* LDV {"action": "POST_CALL_4", "type": "CONDITION_END"} */
     630             : 
     631             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_BEGIN", "comment": "Prepare to call a random callback or deregister the callbacks."} */
     632             :   /* LDV {"action": "CALL", "type": "SUBPROCESS_END"} */
     633             : 
     634             :   /* Jump to a subprocess 'call' initial state */
     635           1 :   goto ldv_call_5;
     636             :  }
     637             :  else {
     638             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_BEGIN", "comment": "Free memory before default deregistration."} */
     639           2 :   ldv_free(ldv_5_container_struct_elevator_queue_ptr);
     640             :   /* LDV {"action": "DEFAULT_FREE_1", "type": "CONDITION_END"} */
     641             : 
     642             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_BEGIN", "comment": "Finish STRUCT_ELV_FS_ENTRY callbacks invocations scenario."} */
     643             :   /* Skip a non-replicative signal receiving */
     644             :   /* LDV {"action": "DEFAULT_DEREGISTER_1", "type": "RECEIVE_END"} */
     645             : 
     646             :   /* Exit function at a terminal state */
     647           1 :   return;
     648             :  }
     649             :  /* End of the subprocess 'call' */
     650             :  return;
     651             :  /* LDV {"comment": "End of control function based on process 'random_containerless_scenario(struct_elv_fs_entry)'", "type": "CONTROL_FUNCTION_END", "function": "ldv_random_containerless_scenario_5"} */
     652             : }
     653             : 
     654             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_1_10 */
     655             : void ldv_random_containerless_scenario_callback_1_10(ssize_t (*arg0)(struct elevator_queue *, char *, size_t ), struct elevator_queue *arg1, char *arg2, long unsigned int arg3) {
     656           2 :  ((& deadline_fifo_batch_store))(arg1, arg2, arg3);
     657           1 : }
     658             : 
     659             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_1_4 */
     660             : void ldv_random_containerless_scenario_callback_1_4(ssize_t (*arg0)(struct elevator_queue *, char *), struct elevator_queue *arg1, char *arg2) {
     661           2 :  ((& deadline_fifo_batch_show))(arg1, arg2);
     662           1 : }
     663             : 
     664             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_2_10 */
     665             : void ldv_random_containerless_scenario_callback_2_10(ssize_t (*arg0)(struct elevator_queue *, char *, size_t ), struct elevator_queue *arg1, char *arg2, long unsigned int arg3) {
     666           2 :  ((& deadline_front_merges_store))(arg1, arg2, arg3);
     667           1 : }
     668             : 
     669             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_2_4 */
     670             : void ldv_random_containerless_scenario_callback_2_4(ssize_t (*arg0)(struct elevator_queue *, char *), struct elevator_queue *arg1, char *arg2) {
     671           2 :  ((& deadline_front_merges_show))(arg1, arg2);
     672           1 : }
     673             : 
     674             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_3_10 */
     675             : void ldv_random_containerless_scenario_callback_3_10(ssize_t (*arg0)(struct elevator_queue *, char *, size_t ), struct elevator_queue *arg1, char *arg2, long unsigned int arg3) {
     676           2 :  ((& deadline_read_expire_store))(arg1, arg2, arg3);
     677           1 : }
     678             : 
     679             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_3_4 */
     680             : void ldv_random_containerless_scenario_callback_3_4(ssize_t (*arg0)(struct elevator_queue *, char *), struct elevator_queue *arg1, char *arg2) {
     681           2 :  ((& deadline_read_expire_show))(arg1, arg2);
     682           1 : }
     683             : 
     684             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_4_10 */
     685             : void ldv_random_containerless_scenario_callback_4_10(ssize_t (*arg0)(struct elevator_queue *, char *, size_t ), struct elevator_queue *arg1, char *arg2, long unsigned int arg3) {
     686           2 :  ((& deadline_write_expire_store))(arg1, arg2, arg3);
     687           1 : }
     688             : 
     689             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_4_4 */
     690             : void ldv_random_containerless_scenario_callback_4_4(ssize_t (*arg0)(struct elevator_queue *, char *), struct elevator_queue *arg1, char *arg2) {
     691           2 :  ((& deadline_write_expire_show))(arg1, arg2);
     692           1 : }
     693             : 
     694             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_5_10 */
     695             : void ldv_random_containerless_scenario_callback_5_10(ssize_t (*arg0)(struct elevator_queue *, char *, size_t ), struct elevator_queue *arg1, char *arg2, long unsigned int arg3) {
     696           2 :  ((& deadline_writes_starved_store))(arg1, arg2, arg3);
     697           1 : }
     698             : 
     699             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_5_4 */
     700             : void ldv_random_containerless_scenario_callback_5_4(ssize_t (*arg0)(struct elevator_queue *, char *), struct elevator_queue *arg1, char *arg2) {
     701           2 :  ((& deadline_writes_starved_show))(arg1, arg2);
     702           1 : }
     703             : 
     704             : /* AUX_FUNC main */
     705             : int main() {
     706           1 :  ldv_main_7(0);
     707           0 :  return 0;
     708             : }
     709             : 
     710             : 
     711             : /* AUX_FUNC  ERR_PTR */
     712             : static inline void *ERR_PTR (long int error)
     713             : {
     714             : 
     715             :  return ldv_err_ptr(error);
     716             : }
     717             : 
     718             : /* AUX_FUNC  PTR_ERR */
     719             : static inline long int PTR_ERR (void const *ptr)
     720             : {
     721             : 
     722             :  return ldv_ptr_err(ptr);
     723             : }
     724             : 
     725             : /* AUX_FUNC  IS_ERR */
     726             : static inline long int IS_ERR (void const *ptr)
     727             : {
     728             : 
     729             :  return ldv_is_err(ptr);
     730             : }
     731             : 
     732             : /* AUX_FUNC  IS_ERR_OR_NULL */
     733             : static inline long int IS_ERR_OR_NULL (void const *ptr)
     734             : {
     735             : 
     736             :  return ldv_is_err_or_null(ptr);
     737             : }
     738             : 
     739             : /* AUX_FUNC  kzalloc */
     740             : static inline void *kzalloc (size_t size, gfp_t flags)
     741             : {
     742             : 
     743             :  return ldv_kzalloc(size, flags);
     744             : }

Generated by: LCOV version 1.10