comment yamt-pagecache
authoryamt <yamt@NetBSD.org>
Wed, 18 Apr 2012 13:39:28 +0000
branchyamt-pagecache
changeset 280362 2da882a2c598
parent 280361 a5a690086952
child 280363 302bfe01008c
comment
sys/uvm/uvm_page_array.h
--- a/sys/uvm/uvm_page_array.h	Wed Apr 18 13:38:27 2012 +0000
+++ b/sys/uvm/uvm_page_array.h	Wed Apr 18 13:39:28 2012 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_page_array.h,v 1.1.2.4 2011/11/26 15:19:06 yamt Exp $	*/
+/*	$NetBSD: uvm_page_array.h,v 1.1.2.5 2012/04/18 13:39:28 yamt Exp $	*/
 
 /*-
  * Copyright (c)2011 YAMAMOTO Takashi,
@@ -38,16 +38,16 @@
  *
  * typical usage:
  *
- *	struct uvm_page_array ar;
+ *	struct uvm_page_array a;
  *
- *	uvm_page_array_init(&ar);
- *	while ((pg = uvm_page_array_fill_and_peek(&ar, uobj, off, ....))
+ *	uvm_page_array_init(&a);
+ *	while ((pg = uvm_page_array_fill_and_peek(&a, uobj, off, ....))
  *	    != NULL) {
  *		off = pg->offset + PAGE_SIZE;
  *		do_something(pg);
- *		uvm_page_array_advance(&ar);
+ *		uvm_page_array_advance(&a);
  *	}
- *	uvm_page_array_fini(&it);
+ *	uvm_page_array_fini(&a);
  */
 
 struct vm_page;