LCOV - code coverage report
Current view: top level - net/9p - trans_common.c (source / functions) Hit Total Coverage
Test: combined.info Lines: 0 6 0.0 %
Date: 2022-03-28 16:04:14 Functions: 0 1 0.0 %
Branches: 0 4 0.0 %

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * Copyright IBM Corporation, 2010
       3                 :            :  * Author Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
       4                 :            :  *
       5                 :            :  * This program is free software; you can redistribute it and/or modify it
       6                 :            :  * under the terms of version 2.1 of the GNU Lesser General Public License
       7                 :            :  * as published by the Free Software Foundation.
       8                 :            :  *
       9                 :            :  * This program is distributed in the hope that it would be useful, but
      10                 :            :  * WITHOUT ANY WARRANTY; without even the implied warranty of
      11                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      12                 :            :  *
      13                 :            :  */
      14                 :            : 
      15                 :            : #include <linux/mm.h>
      16                 :            : #include <linux/module.h>
      17                 :            : #include "trans_common.h"
      18                 :            : 
      19                 :            : /**
      20                 :            :  *  p9_release_pages - Release pages after the transaction.
      21                 :            :  */
      22                 :          0 : void p9_release_pages(struct page **pages, int nr_pages)
      23                 :            : {
      24                 :          0 :         int i;
      25                 :            : 
      26         [ #  # ]:          0 :         for (i = 0; i < nr_pages; i++)
      27         [ #  # ]:          0 :                 if (pages[i])
      28                 :          0 :                         put_page(pages[i]);
      29                 :          0 : }
      30                 :            : EXPORT_SYMBOL(p9_release_pages);

Generated by: LCOV version 1.14