LCOV - code coverage report
Current view: top level - avtg/drivers/video/fb.ko/linux:drivers:clk2/weaver - fbsysfs.c.aux (source / functions) Hit Total Coverage
Test: coverage.info Lines: 82 82 100.0 %
Date: 2017-01-25 Functions: 41 41 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/fs.h>
      31             : #include <linux/seq_file.h>
      32             : #include <linux/pagemap.h>
      33             : 
      34             : 
      35             : struct ldv_struct_character_driver_scenario_1 {
      36             :  struct file_operations *arg0;
      37             :  int signal_pending;
      38             : };
      39             : 
      40             : struct ldv_struct_insmod_17 {
      41             :  int signal_pending;
      42             : };
      43             : 
      44             : struct ldv_struct_traverse_kernel_items_scenario_3 {
      45             :  struct seq_file *arg0;
      46             :  struct seq_operations *arg1;
      47             :  int signal_pending;
      48             : };
      49             : 
      50             : /* EMG Function declarations */
      51             : void ldv_random_containerless_scenario_callback_10_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      52             : void ldv_random_containerless_scenario_callback_10_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      53             : void ldv_random_containerless_scenario_callback_11_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      54             : void ldv_random_containerless_scenario_callback_11_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      55             : void ldv_random_containerless_scenario_callback_12_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      56             : void ldv_random_containerless_scenario_callback_12_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      57             : void ldv_random_containerless_scenario_callback_13_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      58             : void ldv_random_containerless_scenario_callback_13_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      59             : void ldv_random_containerless_scenario_callback_14_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      60             : void ldv_random_containerless_scenario_callback_14_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      61             : void ldv_random_containerless_scenario_callback_15_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      62             : void ldv_random_containerless_scenario_callback_15_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      63             : void ldv_random_containerless_scenario_callback_4_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      64             : void ldv_random_containerless_scenario_callback_4_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      65             : void ldv_random_containerless_scenario_callback_5_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      66             : void ldv_random_containerless_scenario_callback_5_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      67             : void ldv_random_containerless_scenario_callback_6_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      68             : void ldv_random_containerless_scenario_callback_6_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      69             : void ldv_random_containerless_scenario_callback_7_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      70             : void ldv_random_containerless_scenario_callback_7_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      71             : void ldv_random_containerless_scenario_callback_8_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      72             : void ldv_random_containerless_scenario_callback_8_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      73             : void ldv_random_containerless_scenario_callback_9_10(ssize_t (*)(struct device *, struct device_attribute *, char *, size_t ), struct device *, struct device_attribute *, char *, long unsigned int);
      74             : void ldv_random_containerless_scenario_callback_9_4(ssize_t (*)(struct device *, struct device_attribute *, char *), struct device *, struct device_attribute *, char *);
      75             : 
      76             : /* EMG variable declarations */
      77             : 
      78             : /* EMG variable initialization */
      79             : 
      80             : /* EMG function definitions */
      81             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_10_10 */
      82             : void ldv_random_containerless_scenario_callback_10_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
      83           4 :  ((& store_modes))(arg1, arg2, arg3, arg4);
      84           1 : }
      85             : 
      86             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_10_4 */
      87             : void ldv_random_containerless_scenario_callback_10_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
      88           2 :  ((& show_modes))(arg1, arg2, arg3);
      89           1 : }
      90             : 
      91             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_11_10 */
      92             : void ldv_random_containerless_scenario_callback_11_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
      93           3 :  ((& store_virtual))(arg1, arg2, arg3, arg4);
      94           1 : }
      95             : 
      96             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_11_4 */
      97             : void ldv_random_containerless_scenario_callback_11_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
      98           2 :  ((& show_name))(arg1, arg2, arg3);
      99           1 : }
     100             : 
     101             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_12_10 */
     102             : void ldv_random_containerless_scenario_callback_12_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     103           3 :  ((& store_pan))(arg1, arg2, arg3, arg4);
     104           1 : }
     105             : 
     106             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_12_4 */
     107             : void ldv_random_containerless_scenario_callback_12_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     108           2 :  ((& show_pan))(arg1, arg2, arg3);
     109           1 : }
     110             : 
     111             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_13_10 */
     112             : void ldv_random_containerless_scenario_callback_13_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     113           2 :  ((& store_rotate))(arg1, arg2, arg3, arg4);
     114           1 : }
     115             : 
     116             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_13_4 */
     117             : void ldv_random_containerless_scenario_callback_13_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     118           2 :  ((& show_rotate))(arg1, arg2, arg3);
     119           1 : }
     120             : 
     121             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_14_10 */
     122             : void ldv_random_containerless_scenario_callback_14_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     123           3 :  ((& store_virtual))(arg1, arg2, arg3, arg4);
     124           1 : }
     125             : 
     126             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_14_4 */
     127             : void ldv_random_containerless_scenario_callback_14_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     128           2 :  ((& show_stride))(arg1, arg2, arg3);
     129           1 : }
     130             : 
     131             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_15_10 */
     132             : void ldv_random_containerless_scenario_callback_15_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     133           3 :  ((& store_virtual))(arg1, arg2, arg3, arg4);
     134           1 : }
     135             : 
     136             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_15_4 */
     137             : void ldv_random_containerless_scenario_callback_15_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     138           2 :  ((& show_virtual))(arg1, arg2, arg3);
     139           1 : }
     140             : 
     141             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_4_10 */
     142             : void ldv_random_containerless_scenario_callback_4_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     143           2 :  ((& store_blank))(arg1, arg2, arg3, arg4);
     144           1 : }
     145             : 
     146             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_4_4 */
     147             : void ldv_random_containerless_scenario_callback_4_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     148           2 :  ((& show_blank))(arg1, arg2, arg3);
     149           1 : }
     150             : 
     151             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_5_10 */
     152             : void ldv_random_containerless_scenario_callback_5_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     153           2 :  ((& store_bpp))(arg1, arg2, arg3, arg4);
     154           1 : }
     155             : 
     156             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_5_4 */
     157             : void ldv_random_containerless_scenario_callback_5_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     158           2 :  ((& show_bpp))(arg1, arg2, arg3);
     159           1 : }
     160             : 
     161             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_6_10 */
     162             : void ldv_random_containerless_scenario_callback_6_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     163           2 :  ((& store_console))(arg1, arg2, arg3, arg4);
     164           1 : }
     165             : 
     166             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_6_4 */
     167             : void ldv_random_containerless_scenario_callback_6_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     168           2 :  ((& show_console))(arg1, arg2, arg3);
     169           1 : }
     170             : 
     171             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_7_10 */
     172             : void ldv_random_containerless_scenario_callback_7_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     173           2 :  ((& store_cursor))(arg1, arg2, arg3, arg4);
     174           1 : }
     175             : 
     176             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_7_4 */
     177             : void ldv_random_containerless_scenario_callback_7_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     178           2 :  ((& show_cursor))(arg1, arg2, arg3);
     179           1 : }
     180             : 
     181             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_8_10 */
     182             : void ldv_random_containerless_scenario_callback_8_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     183           2 :  ((& store_fbstate))(arg1, arg2, arg3, arg4);
     184           1 : }
     185             : 
     186             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_8_4 */
     187             : void ldv_random_containerless_scenario_callback_8_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     188           2 :  ((& show_fbstate))(arg1, arg2, arg3);
     189           1 : }
     190             : 
     191             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_9_10 */
     192             : void ldv_random_containerless_scenario_callback_9_10(ssize_t (*arg0)(struct device *, struct device_attribute *, char *, size_t ), struct device *arg1, struct device_attribute *arg2, char *arg3, long unsigned int arg4) {
     193           3 :  ((& store_mode))(arg1, arg2, arg3, arg4);
     194           1 : }
     195             : 
     196             : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_9_4 */
     197             : void ldv_random_containerless_scenario_callback_9_4(ssize_t (*arg0)(struct device *, struct device_attribute *, char *), struct device *arg1, struct device_attribute *arg2, char *arg3) {
     198           3 :  ((& show_mode))(arg1, arg2, arg3);
     199           1 : }
     200             : 
     201             : 
     202             : /* AUX_FUNC  ERR_PTR */
     203             : static inline void *ERR_PTR (long int error)
     204             : {
     205             : 
     206             :  return ldv_err_ptr(error);
     207             : }
     208             : 
     209             : /* AUX_FUNC  PTR_ERR */
     210             : static inline long int PTR_ERR (void const *ptr)
     211             : {
     212             : 
     213             :  return ldv_ptr_err(ptr);
     214             : }
     215             : 
     216             : /* AUX_FUNC  IS_ERR */
     217             : static inline long int IS_ERR (void const *ptr)
     218             : {
     219             : 
     220             :  return ldv_is_err(ptr);
     221             : }
     222             : 
     223             : /* AUX_FUNC  IS_ERR_OR_NULL */
     224             : static inline long int IS_ERR_OR_NULL (void const *ptr)
     225             : {
     226             : 
     227             :  return ldv_is_err_or_null(ptr);
     228             : }
     229             : 
     230             : /* AUX_FUNC  kzalloc */
     231             : static inline void *kzalloc (size_t size, gfp_t flags)
     232             : {
     233             : 
     234             :  return ldv_kzalloc(size, flags);
     235             : }
     236             : 
     237             : /* AUX_FUNC  ldv_dev_get_drvdata_6 */
     238             : void *ldv_dev_get_drvdata_6 (struct device const *dev)
     239             : {
     240             : 
     241             :  return ldv_dev_get_drvdata(dev);
     242             : }
     243             : 
     244             : /* AUX_FUNC  ldv_dev_get_drvdata_7 */
     245             : void *ldv_dev_get_drvdata_7 (struct device const *dev)
     246             : {
     247             : 
     248             :  return ldv_dev_get_drvdata(dev);
     249             : }
     250             : 
     251             : /* AUX_FUNC  ldv_dev_get_drvdata_8 */
     252             : void *ldv_dev_get_drvdata_8 (struct device const *dev)
     253             : {
     254             : 
     255             :  return ldv_dev_get_drvdata(dev);
     256             : }
     257             : 
     258             : /* AUX_FUNC  ldv_dev_get_drvdata_9 */
     259             : void *ldv_dev_get_drvdata_9 (struct device const *dev)
     260             : {
     261           1 : 
     262           3 :  return ldv_dev_get_drvdata(dev);
     263             : }
     264             : 
     265             : /* AUX_FUNC  ldv_dev_get_drvdata_10 */
     266             : void *ldv_dev_get_drvdata_10 (struct device const *dev)
     267             : {
     268           1 : 
     269           3 :  return ldv_dev_get_drvdata(dev);
     270             : }
     271             : 
     272             : /* AUX_FUNC  ldv_dev_get_drvdata_11 */
     273             : void *ldv_dev_get_drvdata_11 (struct device const *dev)
     274             : {
     275           1 : 
     276           3 :  return ldv_dev_get_drvdata(dev);
     277             : }
     278             : 
     279             : /* AUX_FUNC  ldv_dev_get_drvdata_12 */
     280             : void *ldv_dev_get_drvdata_12 (struct device const *dev)
     281             : {
     282           1 : 
     283           3 :  return ldv_dev_get_drvdata(dev);
     284             : }
     285             : 
     286             : /* AUX_FUNC  ldv_dev_get_drvdata_13 */
     287             : void *ldv_dev_get_drvdata_13 (struct device const *dev)
     288             : {
     289           1 : 
     290           3 :  return ldv_dev_get_drvdata(dev);
     291             : }
     292             : 
     293             : /* AUX_FUNC  ldv_dev_get_drvdata_14 */
     294             : void *ldv_dev_get_drvdata_14 (struct device const *dev)
     295             : {
     296           1 : 
     297           3 :  return ldv_dev_get_drvdata(dev);
     298             : }
     299             : 
     300             : /* AUX_FUNC  ldv_dev_get_drvdata_15 */
     301             : void *ldv_dev_get_drvdata_15 (struct device const *dev)
     302             : {
     303           1 : 
     304           3 :  return ldv_dev_get_drvdata(dev);
     305             : }
     306             : 
     307             : /* AUX_FUNC  ldv_dev_get_drvdata_16 */
     308             : void *ldv_dev_get_drvdata_16 (struct device const *dev)
     309             : {
     310           1 : 
     311           3 :  return ldv_dev_get_drvdata(dev);
     312             : }
     313             : 
     314             : /* AUX_FUNC  ldv_dev_get_drvdata_17 */
     315             : void *ldv_dev_get_drvdata_17 (struct device const *dev)
     316             : {
     317           3 : 
     318           9 :  return ldv_dev_get_drvdata(dev);
     319             : }
     320             : 
     321             : /* AUX_FUNC  ldv_dev_get_drvdata_18 */
     322             : void *ldv_dev_get_drvdata_18 (struct device const *dev)
     323             : {
     324           1 : 
     325           3 :  return ldv_dev_get_drvdata(dev);
     326             : }
     327             : 
     328             : /* AUX_FUNC  ldv_dev_get_drvdata_19 */
     329             : void *ldv_dev_get_drvdata_19 (struct device const *dev)
     330             : {
     331           1 : 
     332           3 :  return ldv_dev_get_drvdata(dev);
     333             : }
     334             : 
     335             : /* AUX_FUNC  ldv_dev_get_drvdata_20 */
     336             : void *ldv_dev_get_drvdata_20 (struct device const *dev)
     337             : {
     338           1 : 
     339           3 :  return ldv_dev_get_drvdata(dev);
     340             : }
     341             : 
     342             : /* AUX_FUNC  ldv_dev_get_drvdata_21 */
     343             : void *ldv_dev_get_drvdata_21 (struct device const *dev)
     344             : {
     345           1 : 
     346           3 :  return ldv_dev_get_drvdata(dev);
     347             : }
     348             : 
     349             : /* AUX_FUNC  ldv_dev_get_drvdata_22 */
     350             : void *ldv_dev_get_drvdata_22 (struct device const *dev)
     351             : {
     352           1 : 
     353           3 :  return ldv_dev_get_drvdata(dev);
     354             : }
     355             : 
     356             : /* AUX_FUNC  ldv_dev_get_drvdata_23 */
     357             : void *ldv_dev_get_drvdata_23 (struct device const *dev)
     358             : {
     359           1 : 
     360           3 :  return ldv_dev_get_drvdata(dev);
     361             : }
     362             : 
     363             : /* AUX_FUNC  ldv_dev_get_drvdata_24 */
     364             : void *ldv_dev_get_drvdata_24 (struct device const *dev)
     365             : {
     366           1 : 
     367           3 :  return ldv_dev_get_drvdata(dev);
     368             : }
     369             : 
     370             : /* AUX_FUNC  ldv_dev_get_drvdata_25 */
     371             : void *ldv_dev_get_drvdata_25 (struct device const *dev)
     372             : {
     373           1 : 
     374           3 :  return ldv_dev_get_drvdata(dev);
     375             : }

Generated by: LCOV version 1.10