LCOV - code coverage report
Current view: top level - avtg/fs/ext2/ext2.ko/linux:drivers:clk2/weaver - xattr_user.c.aux (source / functions) Hit Total Coverage
Test: coverage.info Lines: 12 12 100.0 %
Date: 2017-01-25 Functions: 6 6 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/cdev.h>
      29             : #include <linux/miscdevice.h>
      30             : #include <linux/seq_file.h>
      31             : #include <linux/fs.h>
      32             : #include <linux/pagemap.h>
      33             : 
      34             : 
      35             : struct ldv_struct_insmod_10 {
      36             :  int signal_pending;
      37             : };
      38             : 
      39             : struct ldv_struct_random_containerless_scenario_5 {
      40             :  struct file_system_type *arg0;
      41             :  int signal_pending;
      42             : };
      43             : 
      44             : /* EMG Function declarations */
      45             : void ldv_random_containerless_scenario_callback_7_14(int (*)(struct dentry *, char *, void *, size_t , int), struct dentry *, char *, void *, long unsigned int, int);
      46             : void ldv_random_containerless_scenario_callback_7_23(size_t (*)(struct dentry *, char *, size_t , char *, size_t , int), struct dentry *, char *, long unsigned int, char *, long unsigned int, int);
      47             : void ldv_random_containerless_scenario_callback_7_47(int (*)(struct dentry *, char *, void *, size_t , int, int), struct dentry *, char *, void *, long unsigned int, int, int);
      48             : void ldv_random_containerless_scenario_callback_9_14(int (*)(struct dentry *, char *, void *, size_t , int), struct dentry *, char *, void *, long unsigned int, int);
      49             : void ldv_random_containerless_scenario_callback_9_23(size_t (*)(struct dentry *, char *, size_t , char *, size_t , int), struct dentry *, char *, long unsigned int, char *, long unsigned int, int);
      50             : void ldv_random_containerless_scenario_callback_9_47(int (*)(struct dentry *, char *, void *, size_t , int, int), struct dentry *, char *, void *, long unsigned int, int, int);
      51             : 
      52             : /* EMG variable declarations */
      53             : 
      54             : /* EMG variable initialization */
      55             : 
      56             : /* EMG function definitions */
      57             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_7_14 */
      58             : void ldv_random_containerless_scenario_callback_7_14(int (*arg0)(struct dentry *, char *, void *, size_t , int), struct dentry *arg1, char *arg2, void *arg3, long unsigned int arg4, int arg5) {
      59           4 :  ((& ext2_xattr_user_get))(arg1, arg2, arg3, arg4, arg5);
      60           1 : }
      61             : 
      62             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_7_23 */
      63             : void ldv_random_containerless_scenario_callback_7_23(size_t (*arg0)(struct dentry *, char *, size_t , char *, size_t , int), struct dentry *arg1, char *arg2, long unsigned int arg3, char *arg4, long unsigned int arg5, int arg6) {
      64           2 :  ((& ext2_xattr_user_list))(arg1, arg2, arg3, arg4, arg5, arg6);
      65           1 : }
      66             : 
      67             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_7_47 */
      68             : void ldv_random_containerless_scenario_callback_7_47(int (*arg0)(struct dentry *, char *, void *, size_t , int, int), struct dentry *arg1, char *arg2, void *arg3, long unsigned int arg4, int arg5, int arg6) {
      69           4 :  ((& ext2_xattr_user_set))(arg1, arg2, arg3, arg4, arg5, arg6);
      70           1 : }
      71             : 
      72             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_9_14 */
      73             : void ldv_random_containerless_scenario_callback_9_14(int (*arg0)(struct dentry *, char *, void *, size_t , int), struct dentry *arg1, char *arg2, void *arg3, long unsigned int arg4, int arg5) {
      74           4 :  ((& ext2_xattr_user_get))(arg1, arg2, arg3, arg4, arg5);
      75           1 : }
      76             : 
      77             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_9_23 */
      78             : void ldv_random_containerless_scenario_callback_9_23(size_t (*arg0)(struct dentry *, char *, size_t , char *, size_t , int), struct dentry *arg1, char *arg2, long unsigned int arg3, char *arg4, long unsigned int arg5, int arg6) {
      79           2 :  ((& ext2_xattr_user_list))(arg1, arg2, arg3, arg4, arg5, arg6);
      80           1 : }
      81             : 
      82             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_9_47 */
      83             : void ldv_random_containerless_scenario_callback_9_47(int (*arg0)(struct dentry *, char *, void *, size_t , int, int), struct dentry *arg1, char *arg2, void *arg3, long unsigned int arg4, int arg5, int arg6) {
      84           4 :  ((& ext2_xattr_user_set))(arg1, arg2, arg3, arg4, arg5, arg6);
      85           1 : }
      86             : 
      87             : 
      88             : /* AUX_FUNC  ERR_PTR */
      89             : static inline void *ERR_PTR (long int error)
      90             : {
      91             : 
      92             :  return ldv_err_ptr(error);
      93             : }
      94             : 
      95             : /* AUX_FUNC  PTR_ERR */
      96             : static inline long int PTR_ERR (void const *ptr)
      97             : {
      98             : 
      99             :  return ldv_ptr_err(ptr);
     100             : }
     101             : 
     102             : /* AUX_FUNC  IS_ERR */
     103             : static inline long int IS_ERR (void const *ptr)
     104             : {
     105             : 
     106             :  return ldv_is_err(ptr);
     107             : }
     108             : 
     109             : /* AUX_FUNC  IS_ERR_OR_NULL */
     110             : static inline long int IS_ERR_OR_NULL (void const *ptr)
     111             : {
     112             : 
     113             :  return ldv_is_err_or_null(ptr);
     114             : }
     115             : 
     116             : /* AUX_FUNC  kzalloc */
     117             : static inline void *kzalloc (size_t size, gfp_t flags)
     118             : {
     119             : 
     120             :  return ldv_kzalloc(size, flags);
     121             : }

Generated by: LCOV version 1.10