Displaying 1 result from an estimated 1 matches for "ctxt_buf".
Did you mean:
  cpt_buf
  
2007 May 04
0
[PATCH] 3/4 "nemesis" scheduling domains for Xen
...map) * 8;
-    
+
     if ( lock_pages(local, sizeof(local)) != 0 )
     {
         PERROR("Could not lock memory for Xen hypercall");
@@ -253,13 +253,13 @@ int xc_domain_hvm_getcontext(int xc_hand
     domctl.u.hvmcontext.size = size;
     set_xen_guest_handle(domctl.u.hvmcontext.buffer, ctxt_buf);
 
-    if ( ctxt_buf ) 
+    if ( ctxt_buf )
         if ( (ret = lock_pages(ctxt_buf, size)) != 0 )
             return ret;
 
     ret = do_domctl(xc_handle, &domctl);
 
-    if ( ctxt_buf ) 
+    if ( ctxt_buf )
         unlock_pages(ctxt_buf, size);
 
     return (ret < 0 ? -1 : domctl...