003 File Manager
Current Path:
/usr/src/sys/compat/linux
usr
/
src
/
sys
/
compat
/
linux
/
π
..
π
check_error.d
(6.64 KB)
π
check_internal_locks.d
(2.76 KB)
π
linux.c
(14.39 KB)
π
linux.h
(6.4 KB)
π
linux_common.c
(2.9 KB)
π
linux_common.h
(1.92 KB)
π
linux_dtrace.h
(3.97 KB)
π
linux_dummy.c
(4.14 KB)
π
linux_emul.c
(9.98 KB)
π
linux_emul.h
(3.1 KB)
π
linux_errno.c
(756 B)
π
linux_errno.h
(5.09 KB)
π
linux_errno.inc
(9.59 KB)
π
linux_event.c
(24.96 KB)
π
linux_event.h
(2.69 KB)
π
linux_file.c
(49.59 KB)
π
linux_file.h
(5.82 KB)
π
linux_fork.c
(10.39 KB)
π
linux_futex.c
(38 KB)
π
linux_futex.h
(3.66 KB)
π
linux_getcwd.c
(2.83 KB)
π
linux_ioctl.c
(92.74 KB)
π
linux_ioctl.h
(26.02 KB)
π
linux_ipc.c
(23.99 KB)
π
linux_ipc.h
(2.92 KB)
π
linux_ipc64.h
(4.81 KB)
π
linux_mib.c
(14.93 KB)
π
linux_mib.h
(2.59 KB)
π
linux_misc.c
(59.03 KB)
π
linux_misc.h
(6.12 KB)
π
linux_mmap.c
(12.67 KB)
π
linux_mmap.h
(2.75 KB)
π
linux_persona.h
(1.36 KB)
π
linux_signal.c
(16.55 KB)
π
linux_signal.h
(2.27 KB)
π
linux_socket.c
(57.3 KB)
π
linux_socket.h
(9.15 KB)
π
linux_stats.c
(19.74 KB)
π
linux_sysctl.c
(5.6 KB)
π
linux_sysproto.h
(1.64 KB)
π
linux_time.c
(18.39 KB)
π
linux_timer.c
(4.73 KB)
π
linux_timer.h
(3.88 KB)
π
linux_uid16.c
(12.24 KB)
π
linux_util.c
(8.21 KB)
π
linux_util.h
(6.18 KB)
π
linux_vdso.c
(6.29 KB)
π
linux_vdso.h
(2.3 KB)
π
linux_videodev2_compat.h
(2.98 KB)
π
linux_videodev_compat.h
(1.07 KB)
π
stats_timing.d
(3.09 KB)
π
trace_futexes.d
(5.48 KB)
Editing: linux_mmap.h
/*- * Copyright (c) 2004 Tim J. Robbins * Copyright (c) 2002 Doug Rabson * Copyright (c) 2000 Marcel Moolenaar * Copyright (c) 1994-1995 SΓΈren Schmidt * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer * in this position and unchanged. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * $FreeBSD$ */ #ifndef _LINUX_MMAP_H_ #define _LINUX_MMAP_H_ /* mmap options */ #define LINUX_MAP_SHARED 0x0001 #define LINUX_MAP_PRIVATE 0x0002 #define LINUX_MAP_FIXED 0x0010 #define LINUX_MAP_ANON 0x0020 #define LINUX_MAP_32BIT 0x0040 #define LINUX_MAP_GROWSDOWN 0x0100 #define LINUX_PROT_GROWSDOWN 0x01000000 #define LINUX_PROT_GROWSUP 0x02000000 #define LINUX_MADV_NORMAL 0 #define LINUX_MADV_RANDOM 1 #define LINUX_MADV_SEQUENTIAL 2 #define LINUX_MADV_WILLNEED 3 #define LINUX_MADV_DONTNEED 4 #define LINUX_MADV_FREE 8 #define LINUX_MADV_REMOVE 9 #define LINUX_MADV_DONTFORK 10 #define LINUX_MADV_DOFORK 11 #define LINUX_MADV_MERGEABLE 12 #define LINUX_MADV_UNMERGEABLE 13 #define LINUX_MADV_HUGEPAGE 14 #define LINUX_MADV_NOHUGEPAGE 15 #define LINUX_MADV_DONTDUMP 16 #define LINUX_MADV_DODUMP 17 #define LINUX_MADV_WIPEONFORK 18 #define LINUX_MADV_KEEPONFORK 19 #define LINUX_MADV_HWPOISON 100 #define LINUX_MADV_SOFT_OFFLINE 101 int linux_mmap_common(struct thread *, uintptr_t, size_t, int, int, int, off_t); int linux_mprotect_common(struct thread *, uintptr_t, size_t, int); int linux_madvise_common(struct thread *, uintptr_t, size_t, int); #endif /* _LINUX_MMAP_H_ */
Upload File
Create Folder