LCOV - code coverage report
Current view: top level - avtg/drivers/mmc/core/mmc_core.ko/linux:drivers:clk2/weaver - sdio.c.aux (source / functions) Hit Total Coverage
Test: coverage.info Lines: 8 8 100.0 %
Date: 2017-01-25 Functions: 4 4 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             : #include <linux/device.h>
      29             : #include <linux/platform_device.h>
      30             : #include <linux/pm.h>
      31             : #include <linux/rtc.h>
      32             : #include <linux/timer.h>
      33             : 
      34             : 
      35             : struct ldv_struct_platform_instance_2 {
      36             :  int signal_pending;
      37             : };
      38             : 
      39             : struct ldv_struct_timer_scenario_24 {
      40             :  struct timer_list *arg0;
      41             :  int signal_pending;
      42             : };
      43             : 
      44             : /* EMG Function declarations */
      45             : void ldv_random_containerless_scenario_callback_22_10(void (*)(struct mmc_host *), struct mmc_host *);
      46             : void ldv_random_containerless_scenario_callback_22_11(int (*)(struct mmc_host *), struct mmc_host *);
      47             : void ldv_random_containerless_scenario_callback_23_13(int (*)(struct mmc_host *), struct mmc_host *);
      48             : void ldv_random_containerless_scenario_callback_23_8(void (*)(struct mmc_host *), struct mmc_host *);
      49             : 
      50             : /* EMG variable declarations */
      51             : 
      52             : /* EMG variable initialization */
      53             : 
      54             : /* EMG function definitions */
      55             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_22_10 */
      56             : void ldv_random_containerless_scenario_callback_22_10(void (*arg0)(struct mmc_host *), struct mmc_host *arg1) {
      57           2 :  ((& mmc_sdio_remove))(arg1);
      58           1 : }
      59             : 
      60             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_22_11 */
      61             : void ldv_random_containerless_scenario_callback_22_11(int (*arg0)(struct mmc_host *), struct mmc_host *arg1) {
      62           2 :  ((& mmc_sdio_resume))(arg1);
      63           1 : }
      64             : 
      65             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_23_13 */
      66             : void ldv_random_containerless_scenario_callback_23_13(int (*arg0)(struct mmc_host *), struct mmc_host *arg1) {
      67           2 :  ((& mmc_sdio_suspend))(arg1);
      68           1 : }
      69             : 
      70             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_23_8 */
      71             : void ldv_random_containerless_scenario_callback_23_8(void (*arg0)(struct mmc_host *), struct mmc_host *arg1) {
      72           3 :  ((& mmc_sdio_detect))(arg1);
      73           1 : }
      74             : 
      75             : 
      76             : /* AUX_FUNC  ERR_PTR */
      77             : static inline void *ERR_PTR (long int error)
      78             : {
      79             : 
      80             :  return ldv_err_ptr(error);
      81             : }
      82             : 
      83             : /* AUX_FUNC  PTR_ERR */
      84             : static inline long int PTR_ERR (void const *ptr)
      85             : {
      86             : 
      87             :  return ldv_ptr_err(ptr);
      88             : }
      89             : 
      90             : /* AUX_FUNC  IS_ERR */
      91             : static inline long int IS_ERR (void const *ptr)
      92             : {
      93             : 
      94             :  return ldv_is_err(ptr);
      95             : }
      96             : 
      97             : /* AUX_FUNC  IS_ERR_OR_NULL */
      98             : static inline long int IS_ERR_OR_NULL (void const *ptr)
      99             : {
     100             : 
     101             :  return ldv_is_err_or_null(ptr);
     102             : }
     103             : 
     104             : /* AUX_FUNC  kzalloc */
     105             : static inline void *kzalloc (size_t size, gfp_t flags)
     106             : {
     107             : 
     108             :  return ldv_kzalloc(size, flags);
     109             : }

Generated by: LCOV version 1.10