"Fossies" - the Fresh Open Source Software Archive

Member "drbd-9.0.20-1/drbd/drbd-kernel-compat/cocci/blk_check_plugged__no_present.cocci" (24 Sep 2019, 280 Bytes) of package /linux/misc/drbd-9.0.20-1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @@
    2 @@
    3 -struct drbd_plug_cb {
    4 -...
    5 -};
    6 
    7 @@
    8 @@
    9 -void drbd_unplug(...)
   10 -{
   11 -...
   12 -}
   13 
   14 @@
   15 @@
   16 -struct drbd_plug_cb* drbd_check_plugged(...)
   17 -{
   18 -...
   19 -}
   20 
   21 @@
   22 @@
   23 -void drbd_update_plug(...)
   24 -{
   25 -...
   26 -}
   27 
   28 @@
   29 identifier pl;
   30 @@
   31 -if(...) {
   32 -	struct drbd_plug_cb *pl = ...;
   33 -	if(pl) {
   34 -		...
   35 -	}
   36 -}