summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_extern.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/uvm/uvm_extern.h
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/uvm/uvm_extern.h')
-rw-r--r--sys/uvm/uvm_extern.h188
1 files changed, 94 insertions, 94 deletions
diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h
index b9419bff669..f2a988991f5 100644
--- a/sys/uvm/uvm_extern.h
+++ b/sys/uvm/uvm_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_extern.h,v 1.43 2002/02/28 18:50:26 provos Exp $ */
+/* $OpenBSD: uvm_extern.h,v 1.44 2002/03/14 01:27:18 millert Exp $ */
/* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -446,162 +446,162 @@ struct core;
#ifdef _KERNEL
/* vm_machdep.c */
-void vmapbuf __P((struct buf *, vsize_t));
-void vunmapbuf __P((struct buf *, vsize_t));
-void pagemove __P((caddr_t, caddr_t, size_t));
+void vmapbuf(struct buf *, vsize_t);
+void vunmapbuf(struct buf *, vsize_t);
+void pagemove(caddr_t, caddr_t, size_t);
#ifndef cpu_swapin
-void cpu_swapin __P((struct proc *));
+void cpu_swapin(struct proc *);
#endif
#ifndef cpu_swapout
-void cpu_swapout __P((struct proc *));
+void cpu_swapout(struct proc *);
#endif
void cpu_fork __P((struct proc *, struct proc *, void *, size_t,
void (*)(void *), void *));
/* uvm_aobj.c */
-struct uvm_object *uao_create __P((vsize_t, int));
-void uao_detach __P((struct uvm_object *));
-void uao_detach_locked __P((struct uvm_object *));
-void uao_reference __P((struct uvm_object *));
-void uao_reference_locked __P((struct uvm_object *));
+struct uvm_object *uao_create(vsize_t, int);
+void uao_detach(struct uvm_object *);
+void uao_detach_locked(struct uvm_object *);
+void uao_reference(struct uvm_object *);
+void uao_reference_locked(struct uvm_object *);
/* uvm_fault.c */
-int uvm_fault __P((vm_map_t, vaddr_t,
- vm_fault_t, vm_prot_t));
+int uvm_fault(vm_map_t, vaddr_t,
+ vm_fault_t, vm_prot_t);
/* handle a page fault */
/* uvm_glue.c */
#if defined(KGDB)
-void uvm_chgkprot __P((caddr_t, size_t, int));
+void uvm_chgkprot(caddr_t, size_t, int);
#endif
void uvm_fork __P((struct proc *, struct proc *, boolean_t,
void *, size_t, void (*)(void *), void *));
-void uvm_exit __P((struct proc *));
-void uvm_init_limits __P((struct proc *));
-boolean_t uvm_kernacc __P((caddr_t, size_t, int));
-__dead void uvm_scheduler __P((void));
-void uvm_swapin __P((struct proc *));
-boolean_t uvm_useracc __P((caddr_t, size_t, int));
-int uvm_vslock __P((struct proc *, caddr_t, size_t,
- vm_prot_t));
-void uvm_vsunlock __P((struct proc *, caddr_t, size_t));
+void uvm_exit(struct proc *);
+void uvm_init_limits(struct proc *);
+boolean_t uvm_kernacc(caddr_t, size_t, int);
+__dead void uvm_scheduler(void);
+void uvm_swapin(struct proc *);
+boolean_t uvm_useracc(caddr_t, size_t, int);
+int uvm_vslock(struct proc *, caddr_t, size_t,
+ vm_prot_t);
+void uvm_vsunlock(struct proc *, caddr_t, size_t);
/* uvm_init.c */
-void uvm_init __P((void));
+void uvm_init(void);
/* init the uvm system */
/* uvm_io.c */
-int uvm_io __P((vm_map_t, struct uio *));
+int uvm_io(vm_map_t, struct uio *);
/* uvm_km.c */
-vaddr_t uvm_km_alloc1 __P((vm_map_t, vsize_t, boolean_t));
-void uvm_km_free __P((vm_map_t, vaddr_t, vsize_t));
-void uvm_km_free_wakeup __P((vm_map_t, vaddr_t,
- vsize_t));
-vaddr_t uvm_km_kmemalloc __P((vm_map_t, struct uvm_object *,
- vsize_t, int));
-struct vm_map *uvm_km_suballoc __P((vm_map_t, vaddr_t *,
+vaddr_t uvm_km_alloc1(vm_map_t, vsize_t, boolean_t);
+void uvm_km_free(vm_map_t, vaddr_t, vsize_t);
+void uvm_km_free_wakeup(vm_map_t, vaddr_t,
+ vsize_t);
+vaddr_t uvm_km_kmemalloc(vm_map_t, struct uvm_object *,
+ vsize_t, int);
+struct vm_map *uvm_km_suballoc(vm_map_t, vaddr_t *,
vaddr_t *, vsize_t, int,
- boolean_t, vm_map_t));
-vaddr_t uvm_km_valloc __P((vm_map_t, vsize_t));
-vaddr_t uvm_km_valloc_align __P((vm_map_t, vsize_t, vsize_t));
-vaddr_t uvm_km_valloc_wait __P((vm_map_t, vsize_t));
-vaddr_t uvm_km_valloc_prefer_wait __P((vm_map_t, vsize_t,
- voff_t));
-vaddr_t uvm_km_alloc_poolpage1 __P((vm_map_t,
- struct uvm_object *, boolean_t));
-void uvm_km_free_poolpage1 __P((vm_map_t, vaddr_t));
+ boolean_t, vm_map_t);
+vaddr_t uvm_km_valloc(vm_map_t, vsize_t);
+vaddr_t uvm_km_valloc_align(vm_map_t, vsize_t, vsize_t);
+vaddr_t uvm_km_valloc_wait(vm_map_t, vsize_t);
+vaddr_t uvm_km_valloc_prefer_wait(vm_map_t, vsize_t,
+ voff_t);
+vaddr_t uvm_km_alloc_poolpage1(vm_map_t,
+ struct uvm_object *, boolean_t);
+void uvm_km_free_poolpage1(vm_map_t, vaddr_t);
#define uvm_km_alloc_poolpage(waitok) uvm_km_alloc_poolpage1(kmem_map, \
uvmexp.kmem_object, (waitok))
#define uvm_km_free_poolpage(addr) uvm_km_free_poolpage1(kmem_map, (addr))
/* uvm_map.c */
-int uvm_map __P((vm_map_t, vaddr_t *, vsize_t,
+int uvm_map(vm_map_t, vaddr_t *, vsize_t,
struct uvm_object *, voff_t, vsize_t,
- uvm_flag_t));
-int uvm_map_pageable __P((vm_map_t, vaddr_t,
- vaddr_t, boolean_t, int));
-int uvm_map_pageable_all __P((vm_map_t, int, vsize_t));
-boolean_t uvm_map_checkprot __P((vm_map_t, vaddr_t,
- vaddr_t, vm_prot_t));
-int uvm_map_protect __P((vm_map_t, vaddr_t,
- vaddr_t, vm_prot_t, boolean_t));
-struct vmspace *uvmspace_alloc __P((vaddr_t, vaddr_t,
- boolean_t));
-void uvmspace_init __P((struct vmspace *, struct pmap *,
- vaddr_t, vaddr_t, boolean_t));
-void uvmspace_exec __P((struct proc *, vaddr_t, vaddr_t));
-struct vmspace *uvmspace_fork __P((struct vmspace *));
-void uvmspace_free __P((struct vmspace *));
-void uvmspace_share __P((struct proc *, struct proc *));
-void uvmspace_unshare __P((struct proc *));
+ uvm_flag_t);
+int uvm_map_pageable(vm_map_t, vaddr_t,
+ vaddr_t, boolean_t, int);
+int uvm_map_pageable_all(vm_map_t, int, vsize_t);
+boolean_t uvm_map_checkprot(vm_map_t, vaddr_t,
+ vaddr_t, vm_prot_t);
+int uvm_map_protect(vm_map_t, vaddr_t,
+ vaddr_t, vm_prot_t, boolean_t);
+struct vmspace *uvmspace_alloc(vaddr_t, vaddr_t,
+ boolean_t);
+void uvmspace_init(struct vmspace *, struct pmap *,
+ vaddr_t, vaddr_t, boolean_t);
+void uvmspace_exec(struct proc *, vaddr_t, vaddr_t);
+struct vmspace *uvmspace_fork(struct vmspace *);
+void uvmspace_free(struct vmspace *);
+void uvmspace_share(struct proc *, struct proc *);
+void uvmspace_unshare(struct proc *);
/* uvm_meter.c */
-void uvm_meter __P((void));
-int uvm_sysctl __P((int *, u_int, void *, size_t *,
- void *, size_t, struct proc *));
-void uvm_total __P((struct vmtotal *));
+void uvm_meter(void);
+int uvm_sysctl(int *, u_int, void *, size_t *,
+ void *, size_t, struct proc *);
+void uvm_total(struct vmtotal *);
/* uvm_mmap.c */
-int uvm_mmap __P((vm_map_t, vaddr_t *, vsize_t,
+int uvm_mmap(vm_map_t, vaddr_t *, vsize_t,
vm_prot_t, vm_prot_t, int,
- caddr_t, voff_t, vsize_t));
+ caddr_t, voff_t, vsize_t);
/* uvm_page.c */
-struct vm_page *uvm_pagealloc_strat __P((struct uvm_object *,
- voff_t, struct vm_anon *, int, int, int));
+struct vm_page *uvm_pagealloc_strat(struct uvm_object *,
+ voff_t, struct vm_anon *, int, int, int);
#define uvm_pagealloc(obj, off, anon, flags) \
uvm_pagealloc_strat((obj), (off), (anon), (flags), \
UVM_PGA_STRAT_NORMAL, 0)
-vaddr_t uvm_pagealloc_contig __P((vaddr_t, vaddr_t,
- vaddr_t, vaddr_t));
-void uvm_pagerealloc __P((struct vm_page *,
- struct uvm_object *, voff_t));
+vaddr_t uvm_pagealloc_contig(vaddr_t, vaddr_t,
+ vaddr_t, vaddr_t);
+void uvm_pagerealloc(struct vm_page *,
+ struct uvm_object *, voff_t);
/* Actually, uvm_page_physload takes PF#s which need their own type */
-void uvm_page_physload __P((paddr_t, paddr_t,
- paddr_t, paddr_t, int));
-void uvm_setpagesize __P((void));
+void uvm_page_physload(paddr_t, paddr_t,
+ paddr_t, paddr_t, int);
+void uvm_setpagesize(void);
/* uvm_pager.c */
-void uvm_aio_biodone1 __P((struct buf *));
-void uvm_aio_biodone __P((struct buf *));
-void uvm_aio_aiodone __P((struct buf *));
+void uvm_aio_biodone1(struct buf *);
+void uvm_aio_biodone(struct buf *);
+void uvm_aio_aiodone(struct buf *);
/* uvm_pdaemon.c */
-void uvm_pageout __P((void *));
-void uvm_aiodone_daemon __P((void *));
+void uvm_pageout(void *);
+void uvm_aiodone_daemon(void *);
/* uvm_pglist.c */
-int uvm_pglistalloc __P((psize_t, paddr_t,
+int uvm_pglistalloc(psize_t, paddr_t,
paddr_t, paddr_t, paddr_t,
- struct pglist *, int, int));
-void uvm_pglistfree __P((struct pglist *));
+ struct pglist *, int, int);
+void uvm_pglistfree(struct pglist *);
/* uvm_swap.c */
-void uvm_swap_init __P((void));
+void uvm_swap_init(void);
/* uvm_unix.c */
-int uvm_coredump __P((struct proc *, struct vnode *,
- struct ucred *, struct core *));
-int uvm_grow __P((struct proc *, vaddr_t));
+int uvm_coredump(struct proc *, struct vnode *,
+ struct ucred *, struct core *);
+int uvm_grow(struct proc *, vaddr_t);
/* uvm_user.c */
-int uvm_deallocate __P((vm_map_t, vaddr_t, vsize_t));
+int uvm_deallocate(vm_map_t, vaddr_t, vsize_t);
/* uvm_vnode.c */
-void uvm_vnp_setsize __P((struct vnode *, voff_t));
-void uvm_vnp_sync __P((struct mount *));
-void uvm_vnp_terminate __P((struct vnode *));
+void uvm_vnp_setsize(struct vnode *, voff_t);
+void uvm_vnp_sync(struct mount *);
+void uvm_vnp_terminate(struct vnode *);
/* terminate a uvm/uvn object */
-boolean_t uvm_vnp_uncache __P((struct vnode *));
-struct uvm_object *uvn_attach __P((void *, vm_prot_t));
+boolean_t uvm_vnp_uncache(struct vnode *);
+struct uvm_object *uvn_attach(void *, vm_prot_t);
/* kern_malloc.c */
-void kmeminit_nkmempages __P((void));
-void kmeminit __P((void));
+void kmeminit_nkmempages(void);
+void kmeminit(void);
extern int nkmempages;
#endif /* _KERNEL */