Searched refs:file_size (Results 1 – 6 of 6) sorted by relevance
/bionic/tests/ |
D | unistd_test.cpp | 1182 constexpr off64_t file_size = 32*1024LL; in TEST() local 1185 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST() 1189 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, file_size)); in TEST() 1193 ASSERT_EQ(0, lockf64(tf.fd, F_TLOCK, file_size)); in TEST() 1197 ASSERT_EQ(0, lockf64(tf.fd, F_TEST, file_size)); in TEST() 1201 ASSERT_EQ(0, lockf64(tf.fd, F_ULOCK, file_size)); in TEST() 1205 constexpr off64_t file_size = 32*1024LL; in TEST() local 1208 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST() 1216 ASSERT_EQ(0, lockf64(tf.fd, F_TEST, file_size)); in TEST() 1219 ASSERT_EQ(0, ftruncate(tf.fd, 2*file_size)); in TEST() [all …]
|
/bionic/linker/ |
D | linker_phdr.cpp | 147 bool ElfReader::Read(const char* name, int fd, off64_t file_offset, off64_t file_size) { in Read() argument 154 file_size_ = file_size; in Read() 938 off_t file_size = file_stat.st_size; in phdr_table_map_gnu_relro() local 940 if (file_size > 0) { in phdr_table_map_gnu_relro() 941 temp_mapping = mmap(nullptr, file_size, PROT_READ, MAP_PRIVATE, fd, 0); in phdr_table_map_gnu_relro() 964 if (file_size - *file_offset < size) { in phdr_table_map_gnu_relro() 990 munmap(temp_mapping, file_size); in phdr_table_map_gnu_relro() 1001 munmap(temp_mapping, file_size); in phdr_table_map_gnu_relro()
|
D | linker_phdr.h | 45 bool Read(const char* name, int fd, off64_t file_offset, off64_t file_size);
|
D | linker.cpp | 589 bool read(const char* realpath, off64_t file_size) { in read() argument 591 return elf_reader.Read(realpath, fd_, file_offset_, file_size); in read()
|
/bionic/libc/kernel/uapi/sound/sof/ |
D | fw.h | 61 __u32 file_size; member
|
/bionic/libc/kernel/uapi/linux/ |
D | hyperv.h | 83 __u64 file_size; member
|