s/sharable/shareable in comments and documentation.

This commit is contained in:
andvar 2024-02-08 20:11:55 +00:00
parent cb7270a436
commit a5175f1e98
9 changed files with 25 additions and 25 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sticky.7,v 1.6 2011/05/10 17:00:44 jruoho Exp $
.\" $NetBSD: sticky.7,v 1.7 2024/02/08 20:11:55 andvar Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -73,10 +73,10 @@ for details about modifying file modes.
.Sh HISTORY
The sticky bit first appeared in V7, and this manual page appeared
in section 8.
Its initial use was to mark sharable executables
Its initial use was to mark shareable executables
that were frequently used so that they would stay in swap after
the process exited.
Sharable executables were compiled in a special way so their text
Shareable executables were compiled in a special way so their text
and read-only data could be shared amongst processes.
.Xr vi 1
and

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcib.c,v 1.28 2021/08/07 16:18:40 thorpej Exp $ */
/* $NetBSD: pcib.c,v 1.29 2024/02/08 20:11:55 andvar Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.28 2021/08/07 16:18:40 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.29 2024/02/08 20:11:55 andvar Exp $");
#include "opt_algor_p5064.h"
#include "opt_algor_p6032.h"
@ -540,7 +540,7 @@ pcib_isa_intr_alloc(void *v, int mask, int type, int *irq)
if (type != sc->sc_intrtab[i].intr_type)
continue;
/*
* If the IRQ is sharable, count the number of
* If the IRQ is shareable, count the number of
* other handlers, and if it's smaller than the
* last IRQ like this, remember it.
*/
@ -555,7 +555,7 @@ pcib_isa_intr_alloc(void *v, int mask, int type, int *irq)
break;
case IST_PULSE:
/* This just isn't sharable. */
/* This just isn't shareable. */
continue;
}
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcib.c,v 1.24 2022/01/22 15:10:31 skrll Exp $ */
/* $NetBSD: pcib.c,v 1.25 2024/02/08 20:11:56 andvar Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.24 2022/01/22 15:10:31 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.25 2024/02/08 20:11:56 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -585,7 +585,7 @@ pcib_isa_intr_alloc(void *v, int mask, int type, int *irq)
if (type != my_sc->sc_intrtab[i].intr_type)
continue;
/*
* If the IRQ is sharable, count the number of
* If the IRQ is shareable, count the number of
* other handlers, and if it's smaller than the
* last IRQ like this, remember it.
*/
@ -600,7 +600,7 @@ pcib_isa_intr_alloc(void *v, int mask, int type, int *irq)
break;
case IST_PULSE:
/* This just isn't sharable. */
/* This just isn't shareable. */
continue;
}
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.8 2024/01/19 20:55:42 thorpej Exp $ */
/* $NetBSD: intr.h,v 1.9 2024/02/08 20:11:56 andvar Exp $ */
/*-
* Copyright (c) 2023, 2024 The NetBSD Foundation, Inc.
@ -178,7 +178,7 @@ do { \
* m68k interrupt priroity level (this is NOT an IPL_* value). Otherwise.
* the handler is registered at the specified vector.
*
* Vectored interrupts are not sharable. The interrupt vector must be
* Vectored interrupts are not shareable. The interrupt vector must be
* within the platform's "user vector" region, which is generally defined
* as vectors 64-255, although some platforms may use vectors that start
* below 64 (in which case, that platform must define MACHINE_USERVEC_START

View File

@ -1,4 +1,4 @@
/* $NetBSD: mmu_51.h,v 1.3 2024/01/09 07:28:26 thorpej Exp $ */
/* $NetBSD: mmu_51.h,v 1.4 2024/02/08 20:11:56 andvar Exp $ */
/*-
* Copyright (c) 1997, 2023 The NetBSD Foundation, Inc.
@ -260,7 +260,7 @@ struct mmu51_rootptr {
#define PSR51_I __BIT(10) /* Invalid */
#define PSR51_M __BIT(9) /* Modified */
#define PSR51_G __BIT(8) /* Gate */
#define PSR51_C __BIT(7) /* Globally Sharable */
#define PSR51_C __BIT(7) /* Globally Shareable */
#define PSR51_N __BITS(0,2) /* Number of levels */
#ifdef _KERNEL

View File

@ -1,7 +1,7 @@
/* $NetBSD: aic79xxvar.h,v 1.29 2021/10/15 22:32:28 andvar Exp $ */
/* $NetBSD: aic79xxvar.h,v 1.30 2024/02/08 20:11:56 andvar Exp $ */
/*
* Core definitions and data structures sharable across OS platforms.
* Core definitions and data structures shareable across OS platforms.
*
* Copyright (c) 1994-2002 Justin T. Gibbs.
* Copyright (c) 2000-2002 Adaptec Inc.

View File

@ -1,7 +1,7 @@
/* $NetBSD: aic7xxxvar.h,v 1.58 2021/08/22 19:56:15 andvar Exp $ */
/* $NetBSD: aic7xxxvar.h,v 1.59 2024/02/08 20:11:56 andvar Exp $ */
/*
* Core definitions and data structures sharable across OS platforms.
* Core definitions and data structures shareable across OS platforms.
*
* Copyright (c) 1994-2001 Justin T. Gibbs.
* Copyright (c) 2000-2001 Adaptec Inc.
@ -39,7 +39,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
* $Id: aic7xxxvar.h,v 1.58 2021/08/22 19:56:15 andvar Exp $
* $Id: aic7xxxvar.h,v 1.59 2024/02/08 20:11:56 andvar Exp $
*
* $FreeBSD: /repoman/r/ncvs/src/sys/dev/aic7xxx/aic7xxx.h,v 1.44 2003/01/20 20:44:55 gibbs Exp $
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: mii.c,v 1.58 2022/08/14 20:34:26 riastradh Exp $ */
/* $NetBSD: mii.c,v 1.59 2024/02/08 20:11:55 andvar Exp $ */
/*-
* Copyright (c) 1998, 2000, 2020 The NetBSD Foundation, Inc.
@ -31,12 +31,12 @@
*/
/*
* MII bus layer, glues MII-capable network interface drivers to sharable
* MII bus layer, glues MII-capable network interface drivers to shareable
* PHY drivers.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mii.c,v 1.58 2022/08/14 20:34:26 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: mii.c,v 1.59 2024/02/08 20:11:55 andvar Exp $");
#define __IFMEDIA_PRIVATE

View File

@ -1,4 +1,4 @@
/* $NetBSD: elf2ecoff.c,v 1.34 2023/03/06 21:39:06 andvar Exp $ */
/* $NetBSD: elf2ecoff.c,v 1.35 2024/02/08 20:11:56 andvar Exp $ */
/*
* Copyright (c) 1997 Jonathan Stone
@ -314,7 +314,7 @@ usage:
ep.f.f_symptr = 0;
ep.f.f_nsyms = sizeof(struct ecoff32_symhdr);
ep.f.f_opthdr = sizeof ep.a;
ep.f.f_flags = 0x100f; /* Stripped, not sharable. */
ep.f.f_flags = 0x100f; /* Stripped, not shareable. */
memset(esecs, 0, sizeof(esecs));