s/contigous/contiguous/ in comment.
This commit is contained in:
parent
5142f02961
commit
a11cd6f1fb
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: advnops.c,v 1.59 2022/04/04 19:33:45 andvar Exp $ */
|
/* $NetBSD: advnops.c,v 1.60 2024/05/13 00:24:18 msaitoh Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994 Christian E. Hopps
|
* Copyright (c) 1994 Christian E. Hopps
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.59 2022/04/04 19:33:45 andvar Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.60 2024/05/13 00:24:18 msaitoh Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -273,7 +273,7 @@ adosfs_read(void *v)
|
||||||
/*
|
/*
|
||||||
* read ahead could possibly be worth something
|
* read ahead could possibly be worth something
|
||||||
* but not much as ados makes little attempt to
|
* but not much as ados makes little attempt to
|
||||||
* make things contigous
|
* make things contiguous
|
||||||
*/
|
*/
|
||||||
error = bread(sp->a_vp, lbn, amp->bsize, 0, &bp);
|
error = bread(sp->a_vp, lbn, amp->bsize, 0, &bp);
|
||||||
if (error) {
|
if (error) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: msdosfs_fat.c,v 1.36 2021/10/23 16:58:17 thorpej Exp $ */
|
/* $NetBSD: msdosfs_fat.c,v 1.37 2024/05/13 00:24:19 msaitoh Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
|
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: msdosfs_fat.c,v 1.36 2021/10/23 16:58:17 thorpej Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: msdosfs_fat.c,v 1.37 2024/05/13 00:24:19 msaitoh Exp $");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* kernel include files.
|
* kernel include files.
|
||||||
|
@ -765,7 +765,7 @@ chainlength(struct msdosfsmount *pmp, u_long start, u_long count)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate contigous free clusters.
|
* Allocate contiguous free clusters.
|
||||||
*
|
*
|
||||||
* pmp - mount point.
|
* pmp - mount point.
|
||||||
* start - start of cluster chain.
|
* start - start of cluster chain.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: nfs_bootdhcp.c,v 1.57 2022/12/24 15:37:50 andvar Exp $ */
|
/* $NetBSD: nfs_bootdhcp.c,v 1.58 2024/05/13 00:24:19 msaitoh Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
|
* Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: nfs_bootdhcp.c,v 1.57 2022/12/24 15:37:50 andvar Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: nfs_bootdhcp.c,v 1.58 2024/05/13 00:24:19 msaitoh Exp $");
|
||||||
|
|
||||||
#ifdef _KERNEL_OPT
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_nfs_boot.h"
|
#include "opt_nfs_boot.h"
|
||||||
|
@ -309,7 +309,7 @@ bootpset(struct mbuf *m, void *context, int waited)
|
||||||
{
|
{
|
||||||
struct bootp *bootp;
|
struct bootp *bootp;
|
||||||
|
|
||||||
/* we know it's contigous (in 1 mbuf cluster) */
|
/* we know it's contiguous (in 1 mbuf cluster) */
|
||||||
bootp = mtod(m, struct bootp*);
|
bootp = mtod(m, struct bootp*);
|
||||||
|
|
||||||
bootp->bp_secs = htons(waited);
|
bootp->bp_secs = htons(waited);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ext2fs_alloc.c,v 1.56 2023/08/26 22:08:22 christos Exp $ */
|
/* $NetBSD: ext2fs_alloc.c,v 1.57 2024/05/13 00:24:19 msaitoh Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1982, 1986, 1989, 1993
|
* Copyright (c) 1982, 1986, 1989, 1993
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ext2fs_alloc.c,v 1.56 2023/08/26 22:08:22 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ext2fs_alloc.c,v 1.57 2024/05/13 00:24:19 msaitoh Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -240,7 +240,7 @@ ext2fs_dirpref(struct m_ext2fs *fs)
|
||||||
* If no blocks have been allocated in the first section, the policy is to
|
* If no blocks have been allocated in the first section, the policy is to
|
||||||
* request a block in the same cylinder group as the inode that describes
|
* request a block in the same cylinder group as the inode that describes
|
||||||
* the file. Otherwise, the policy is to try to allocate the blocks
|
* the file. Otherwise, the policy is to try to allocate the blocks
|
||||||
* contigously. The two fields of the ext2 inode extension (see
|
* contiguously. The two fields of the ext2 inode extension (see
|
||||||
* ufs/ufs/inode.h) help this.
|
* ufs/ufs/inode.h) help this.
|
||||||
*/
|
*/
|
||||||
daddr_t
|
daddr_t
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ffs_alloc.c,v 1.172 2023/01/07 19:41:30 chs Exp $ */
|
/* $NetBSD: ffs_alloc.c,v 1.173 2024/05/13 00:24:19 msaitoh Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
|
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.172 2023/01/07 19:41:30 chs Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.173 2024/05/13 00:24:19 msaitoh Exp $");
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#include "opt_ffs.h"
|
#include "opt_ffs.h"
|
||||||
|
@ -763,7 +763,7 @@ ffs_dirpref(struct inode *pip)
|
||||||
* If a section is already partially allocated, the policy is to
|
* If a section is already partially allocated, the policy is to
|
||||||
* contiguously allocate fs_maxcontig blocks. The end of one of these
|
* contiguously allocate fs_maxcontig blocks. The end of one of these
|
||||||
* contiguous blocks and the beginning of the next is laid out
|
* contiguous blocks and the beginning of the next is laid out
|
||||||
* contigously if possible.
|
* contiguously if possible.
|
||||||
*
|
*
|
||||||
* => um_lock held on entry and exit
|
* => um_lock held on entry and exit
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ffs_wapbl.c,v 1.48 2022/05/22 11:27:36 andvar Exp $ */
|
/* $NetBSD: ffs_wapbl.c,v 1.49 2024/05/13 00:24:19 msaitoh Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc.
|
* Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc.
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.48 2022/05/22 11:27:36 andvar Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.49 2024/05/13 00:24:19 msaitoh Exp $");
|
||||||
|
|
||||||
#define WAPBL_INTERNAL
|
#define WAPBL_INTERNAL
|
||||||
|
|
||||||
|
@ -753,7 +753,7 @@ wapbl_allocate_log_file(struct mount *mp, struct vnode *vp,
|
||||||
* at least "logfile" MB in size (plus room for any indirect blocks).
|
* at least "logfile" MB in size (plus room for any indirect blocks).
|
||||||
* We start at the middle of the filesystem and check each cylinder
|
* We start at the middle of the filesystem and check each cylinder
|
||||||
* group working outwards. If "logfile" MB is not available as a
|
* group working outwards. If "logfile" MB is not available as a
|
||||||
* single contigous chunk, then return the address and size of the
|
* single contiguous chunk, then return the address and size of the
|
||||||
* largest chunk found.
|
* largest chunk found.
|
||||||
*
|
*
|
||||||
* XXX
|
* XXX
|
||||||
|
|
Loading…
Reference in New Issue