summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-05-02 13:13:22 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-05-02 13:13:22 +0000
commitd833fd94b1437c6ff2bf59e4b7f223e0f5f347f9 (patch)
tree65da96eee124f89965e534a7b2427932f5aaeef5 /sys
parent7bbb8f0c68bc240ad5e99691d91ae67876a09706 (diff)
quadradically -> quadratically, lots of
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/ext2fs/ext2fs_alloc.c12
-rw-r--r--sys/ufs/ffs/ffs_alloc.c12
2 files changed, 12 insertions, 12 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_alloc.c b/sys/ufs/ext2fs/ext2fs_alloc.c
index 8c3e3e2dc64..45adc200a12 100644
--- a/sys/ufs/ext2fs/ext2fs_alloc.c
+++ b/sys/ufs/ext2fs/ext2fs_alloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_alloc.c,v 1.17 2004/09/18 22:01:18 tedu Exp $ */
+/* $OpenBSD: ext2fs_alloc.c,v 1.18 2005/05/02 13:13:21 pedro Exp $ */
/* $NetBSD: ext2fs_alloc.c,v 1.10 2001/07/05 08:38:27 toshii Exp $ */
/*
@@ -70,13 +70,13 @@ static ufs1_daddr_t ext2fs_mapsearch(struct m_ext2fs *, char *, ufs1_daddr_t);
* 1) allocate the requested block.
* 2) allocate a rotationally optimal block in the same cylinder.
* 3) allocate a block in the same cylinder group.
- * 4) quadradically rehash into other cylinder groups, until an
+ * 4) quadratically rehash into other cylinder groups, until an
* available block is located.
* If no block preference is given the following hierarchy is used
* to allocate a block:
* 1) allocate a block in the cylinder group that contains the
* inode for the file.
- * 2) quadradically rehash into other cylinder groups, until an
+ * 2) quadratically rehash into other cylinder groups, until an
* available block is located.
*/
int
@@ -127,12 +127,12 @@ nospace:
* If allocating in a directory, the following hierarchy is followed:
* 1) allocate the preferred inode.
* 2) allocate an inode in the same cylinder group.
- * 3) quadradically rehash into other cylinder groups, until an
+ * 3) quadratically rehash into other cylinder groups, until an
* available inode is located.
* If no inode preference is given the following hierarchy is used
* to allocate an inode:
* 1) allocate an inode in cylinder group 0.
- * 2) quadradically rehash into other cylinder groups, until an
+ * 2) quadratically rehash into other cylinder groups, until an
* available inode is located.
*/
int
@@ -267,7 +267,7 @@ ext2fs_blkpref(ip, lbn, indx, bap)
*
* The policy implemented by this algorithm is:
* 1) allocate the block in its requested cylinder group.
- * 2) quadradically rehash on the cylinder group number.
+ * 2) quadratically rehash on the cylinder group number.
* 3) brute force search for a free block.
*/
static u_long
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
index bbe970eba6d..ca532fcf018 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_alloc.c,v 1.53 2004/11/29 06:20:02 jsg Exp $ */
+/* $OpenBSD: ffs_alloc.c,v 1.54 2005/05/02 13:13:21 pedro Exp $ */
/* $NetBSD: ffs_alloc.c,v 1.11 1996/05/11 18:27:09 mycroft Exp $ */
/*
@@ -81,13 +81,13 @@ static int ffs_checkblk(struct inode *, daddr_t, long);
* 1) allocate the requested block.
* 2) allocate a rotationally optimal block in the same cylinder.
* 3) allocate a block in the same cylinder group.
- * 4) quadradically rehash into other cylinder groups, until an
+ * 4) quadratically rehash into other cylinder groups, until an
* available block is located.
* If no block preference is given the following hierarchy is used
* to allocate a block:
* 1) allocate a block in the cylinder group that contains the
* inode for the file.
- * 2) quadradically rehash into other cylinder groups, until an
+ * 2) quadratically rehash into other cylinder groups, until an
* available block is located.
*/
int
@@ -556,12 +556,12 @@ fail:
* If allocating in a directory, the following hierarchy is followed:
* 1) allocate the preferred inode.
* 2) allocate an inode in the same cylinder group.
- * 3) quadradically rehash into other cylinder groups, until an
+ * 3) quadratically rehash into other cylinder groups, until an
* available inode is located.
* If no inode preference is given the following hierarchy is used
* to allocate an inode:
* 1) allocate an inode in cylinder group 0.
- * 2) quadradically rehash into other cylinder groups, until an
+ * 2) quadratically rehash into other cylinder groups, until an
* available inode is located.
*/
int
@@ -849,7 +849,7 @@ ffs_blkpref(ip, lbn, indx, bap)
*
* The policy implemented by this algorithm is:
* 1) allocate the block in its requested cylinder group.
- * 2) quadradically rehash on the cylinder group number.
+ * 2) quadratically rehash on the cylinder group number.
* 3) brute force search for a free block.
*/
/*VARARGS5*/