Searched refs:MAP_PREFAULT_READ (Results 1 – 7 of 7) sorted by relevance
/freebsd/usr.bin/grep/ |
H A D | file.c | 191 #ifdef MAP_PREFAULT_READ in grep_open() 192 flags |= MAP_PREFAULT_READ; in grep_open()
|
/freebsd/libexec/rtld-elf/ |
H A D | map_object.c | 239 MAP_PREFAULT_READ, fd, data_offset) == MAP_FAILED) { in map_object() 404 hdr = mmap(NULL, page_size, PROT_READ, MAP_PRIVATE | MAP_PREFAULT_READ, in get_elf_header() 424 MAP_PRIVATE | MAP_PREFAULT_READ, fd, hdr->e_phoff); in get_elf_header()
|
/freebsd/usr.bin/dtc/ |
H A D | input_buffer.cc | 53 #ifndef MAP_PREFAULT_READ 54 #define MAP_PREFAULT_READ 0 macro 115 MAP_PREFAULT_READ, fd, 0); in mmap_input_buffer()
|
/freebsd/sys/sys/ |
H A D | mman.h | 103 #define MAP_PREFAULT_READ 0x00040000 /* prefault mapping for reading */ macro
|
/freebsd/usr.bin/sort/ |
H A D | file.c | 625 #if defined(MAP_PREFAULT_READ) in file_reader_init() 626 flags |= MAP_PREFAULT_READ; in file_reader_init()
|
/freebsd/sys/vm/ |
H A D | vm_mmap.c | 245 MAP_PREFAULT_READ | MAP_GUARD | MAP_32BIT | MAP_ALIGNMENT_MASK)) != 0) in kern_mmap() 1550 } else if (flags & MAP_PREFAULT_READ) in vm_mmap_object()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 5188 #elif defined(MAP_PREFAULT_READ) in zpool_load_compat() 5189 #define ZC_MMAP_FLAGS (MAP_PRIVATE | MAP_PREFAULT_READ) in zpool_load_compat()
|