Lines Matching refs:mmap
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13641 $as_echo_n "checking for working mmap... " >&6; }
13655 Here is a matrix of mmap possibilities:
13656 mmap private not fixed
13657 mmap private fixed at somewhere currently unmapped
13658 mmap private fixed at somewhere already mapped
13659 mmap shared not fixed
13660 mmap shared fixed at somewhere currently unmapped
13661 mmap shared fixed at somewhere already mapped
13663 back from the file, nor mmap's back from the file at a different
13672 The main things grep needs to know about mmap are:
13673 * does it exist and is it safe to write into the mmap'd area
13732 fd = creat ("conftest.mmap", 0600);
13747 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13757 /* Next, try to mmap the file at a fixed address which already has
13760 fd = open ("conftest.mmap", O_RDWR);
13763 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13804 rm -f conftest.mmap conftest.txt