-/* $OpenBSD: wctoint.h,v 1.2 2015/09/13 11:38:08 guenther Exp $ */
+/* $OpenBSD: wctoint.h,v 1.3 2022/08/29 02:58:13 jsg Exp $ */
/* $NetBSD: __wctoint.h,v 1.1 2001/09/28 11:25:37 yamt Exp $ */
/*-
*/
-inline static int
+static inline int
wctoint(wchar_t wc)
{
int n;
-/* $OpenBSD: pmap.h,v 1.80 2022/06/01 17:47:18 dv Exp $ */
+/* $OpenBSD: pmap.h,v 1.81 2022/08/29 02:58:13 jsg Exp $ */
/* $NetBSD: pmap.h,v 1.1 2003/04/26 18:39:46 fvdl Exp $ */
/*
* if hardware doesn't support one-page flushing)
*/
-inline static void
+static inline void
pmap_update_pg(vaddr_t va)
{
invlpg(va);
* unprotecting a page is done on-demand at fault time.
*/
-inline static void
+static inline void
pmap_page_protect(struct vm_page *pg, vm_prot_t prot)
{
if ((prot & PROT_WRITE) == 0) {
* unprotecting a page is done on-demand at fault time.
*/
-inline static void
+static inline void
pmap_protect(struct pmap *pmap, vaddr_t sva, vaddr_t eva, vm_prot_t prot)
{
if ((prot & PROT_WRITE) == 0) {
-/* $OpenBSD: cpu.h,v 1.178 2022/08/25 17:25:25 cheloha Exp $ */
+/* $OpenBSD: cpu.h,v 1.179 2022/08/29 02:58:13 jsg Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
static struct cpu_info *curcpu(void);
-__inline static struct cpu_info *
+static __inline struct cpu_info *
curcpu(void)
{
struct cpu_info *ci;
-/* $OpenBSD: pmap.h,v 1.90 2022/06/01 17:16:00 dv Exp $ */
+/* $OpenBSD: pmap.h,v 1.91 2022/08/29 02:58:13 jsg Exp $ */
/* $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $ */
/*
* Unprotecting a page is done on-demand at fault time.
*/
-__inline static void
+static __inline void
pmap_page_protect(struct vm_page *pg, vm_prot_t prot)
{
if ((prot & PROT_WRITE) == 0) {
* Unprotecting a page is done on-demand at fault time.
*/
-__inline static void
+static __inline void
pmap_protect(struct pmap *pmap, vaddr_t sva, vaddr_t eva, vm_prot_t prot)
{
if ((prot & PROT_WRITE) == 0) {
* modules from both uvm_pmap.h and pmap.h. Since uvm_pmap.h defines these
* as functions, inline them here to suppress linker warnings.
*/
-__inline static vaddr_t
+static __inline vaddr_t
pmap_growkernel(vaddr_t maxkvaddr)
{
return (*pmap_growkernel_p)(maxkvaddr);
}
-__inline static int
+static __inline int
pmap_enter(struct pmap *pmap, vaddr_t va, paddr_t pa, vm_prot_t prot, int flags)
{
return (*pmap_enter_p)(pmap, va, pa, prot, flags);
}
-__inline static void
+static __inline void
pmap_enter_special(vaddr_t va, paddr_t pa, vm_prot_t prot, u_int32_t flags)
{
(*pmap_enter_special_p)(va, pa, prot, flags);
}
-__inline static int
+static __inline int
pmap_extract(struct pmap *pmap, vaddr_t va, paddr_t *pa)
{
return (*pmap_extract_p)(pmap, va, pa);
-/* $OpenBSD: mb89352.c,v 1.33 2022/04/16 19:19:58 naddy Exp $ */
+/* $OpenBSD: mb89352.c,v 1.34 2022/08/29 02:58:13 jsg Exp $ */
/* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */
/* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */
#ifdef DDB
#define integrate
#else
-#define integrate __inline static
+#define integrate static __inline
#endif
/*-
-/* $OpenBSD: uvm_aobj.c,v 1.106 2022/08/01 14:15:46 mpi Exp $ */
+/* $OpenBSD: uvm_aobj.c,v 1.107 2022/08/29 02:58:13 jsg Exp $ */
/* $NetBSD: uvm_aobj.c,v 1.39 2001/02/18 21:19:08 chs Exp $ */
/*
/*
* uao_find_swslot: find the swap slot number for an aobj/pageidx
*/
-inline static int
+static inline int
uao_find_swslot(struct uvm_object *uobj, int pageidx)
{
struct uvm_aobj *aobj = (struct uvm_aobj *)uobj;
-/* $OpenBSD: uvm_page.c,v 1.169 2022/08/01 14:15:46 mpi Exp $ */
+/* $OpenBSD: uvm_page.c,v 1.170 2022/08/29 02:58:13 jsg Exp $ */
/* $NetBSD: uvm_page.c,v 1.44 2000/11/27 08:40:04 chs Exp $ */
/*
* => call should have already set pg's object and offset pointers
* and bumped the version counter
*/
-inline static void
+static inline void
uvm_pageinsert(struct vm_page *pg)
{
struct vm_page *dupe;
-/* $OpenBSD: npppd_pool.c,v 1.10 2017/05/30 17:22:00 yasuoka Exp $ */
+/* $OpenBSD: npppd_pool.c,v 1.11 2022/08/29 02:58:13 jsg Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
return (uint32_t)0;
}
-inline static int
+static inline int
npppd_is_ifcace_ip4addr(npppd *_this, uint32_t ip4addr)
{
int i;