Lines Matching refs:file
4 * you may not use this file except in compliance with the License.
21 #include <sys/file.h>
228 * @tc.name mremap function file remap expand area test
239 char file[] = MREMAP_TESTFILE;
241 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO);
274 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno;
280 * @tc.name mremap function file remap shrink area test
291 char file[] = MREMAP_TESTFILE;
293 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO);
324 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno;
330 * @tc.name mremap function file remap and expand area to fix address test
343 char file[] = MREMAP_TESTFILE;
345 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO);
379 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno;
385 * @tc.name mremap function file remap and shrink area to fix address test
399 char file[] = MREMAP_TESTFILE;
401 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO);
433 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno;