Home
last modified time | relevance | path

Searched refs:maximum_size (Results 1 – 21 of 21) sorted by relevance

/third_party/elfutils/libelf/
Delf_update.c60 && (elf->maximum_size == ~((size_t) 0) in write_file()
61 || (size_t) size > elf->maximum_size) in write_file()
93 && (elf->maximum_size == ~((size_t) 0) in write_file()
94 || (size_t) size > elf->maximum_size)) in write_file()
105 && (size_t) size > elf->maximum_size) in write_file()
108 if (mremap (elf->map_address, elf->maximum_size, in write_file()
115 elf->maximum_size = size; in write_file()
140 && elf->maximum_size != ~((size_t) 0) in write_file()
141 && (size_t) size < elf->maximum_size in write_file()
161 elf->maximum_size = size; in write_file()
Delf_readall.c89 if (elf->maximum_size == ~((size_t) 0)) in __libelf_readall()
99 elf->maximum_size = (size_t) st.st_size; in __libelf_readall()
108 mem = malloc (elf->maximum_size); in __libelf_readall()
113 elf->maximum_size, in __libelf_readall()
115 != elf->maximum_size)) in __libelf_readall()
Delf_getphdrnum.c109 if (unlikely (off >= elf->maximum_size)) in __elf_getphdrnum_chk_rdlock()
125 if (unlikely (elf->maximum_size - off < *dst * phdr_size)) in __elf_getphdrnum_chk_rdlock()
126 *dst = (elf->maximum_size - off) / phdr_size; in __elf_getphdrnum_chk_rdlock()
Delf32_getphdr.c86 || ehdr->e_phoff > elf->maximum_size in ElfW2()
87 || elf->maximum_size - ehdr->e_phoff < size) in ElfW2()
97 if (unlikely (ehdr->e_phoff >= elf->maximum_size) in ElfW2()
98 || unlikely (elf->maximum_size - ehdr->e_phoff < size)) in ElfW2()
Delf_getarsym.c125 if (SARMAG + sizeof (struct ar_hdr) > elf->maximum_size) in elf_getarsym()
182 if (index_size > elf->maximum_size in elf_getarsym()
183 || elf->maximum_size - index_size < SARMAG + sizeof (struct ar_hdr) in elf_getarsym()
Delf_getdata_rawchunk.c55 if (unlikely (offset < 0 || (uint64_t) offset > elf->maximum_size in elf_getdata_rawchunk()
56 || elf->maximum_size - (uint64_t) offset < size)) in elf_getdata_rawchunk()
Delf_getdata.c307 if (unlikely (offset > elf->maximum_size in __libelf_set_rawdata_wrlock()
308 || elf->maximum_size - offset < size)) in __libelf_set_rawdata_wrlock()
323 if (unlikely (offset > elf->maximum_size in __libelf_set_rawdata_wrlock()
324 || elf->maximum_size - offset < size)) in __libelf_set_rawdata_wrlock()
Delf_getshdrstrndx.c116 if (unlikely (elf->maximum_size - offset in elf_getshdrstrndx()
181 if (unlikely (elf->maximum_size - offset in elf_getshdrstrndx()
Delf_rawfile.c61 *ptr = elf->maximum_size; in elf_rawfile()
Delf_begin.c737 if ((size_t) offset > elf->maximum_size in read_long_names()
738 || elf->maximum_size - offset < sizeof (struct ar_hdr)) in read_long_names()
781 if (len > elf->maximum_size - offset - sizeof (struct ar_hdr)) in read_long_names()
857 > elf->start_offset + elf->maximum_size in __libelf_next_arhdr_wrlock()
858 || (elf->start_offset + elf->maximum_size in __libelf_next_arhdr_wrlock()
1032 maxsize = (elf->start_offset + elf->maximum_size in __libelf_next_arhdr_wrlock()
Delf_clone.c57 elf->maximum_size, elf->cmd, elf->parent, elf->kind, in elf_clone()
Delf32_getshdr.c81 if (unlikely (ehdr->e_shoff >= elf->maximum_size) in ElfW2()
82 || unlikely (elf->maximum_size - ehdr->e_shoff < size)) in ElfW2()
Dcommon.h81 result->maximum_size = maxsize; in allocate_elf()
Delf_end.c226 munmap (elf->map_address, elf->maximum_size); in elf_end()
Delf32_updatefile.c249 + elf->maximum_size)); in __elfw2()
273 + elf->maximum_size)) in __elfw2()
DlibelfP.h302 size_t maximum_size; member
/third_party/elfutils/libdwfl/
Dcore-file.c65 || unlikely (offset >= (off_t) parent->maximum_size)) in elf_begin_rand()
80 if (unlikely (parent->maximum_size - offset < sizeof (struct ar_hdr))) in elf_begin_rand()
98 || unlikely ((off_t) parent->maximum_size - offset < size)) in elf_begin_rand()
102 if (unlikely ((off_t) parent->maximum_size - offset < size)) in elf_begin_rand()
110 && unlikely (size == (off_t) parent->maximum_size)) in elf_begin_rand()
324 if (elf->map_address != NULL && start < elf->maximum_size) in dwfl_elf_phdr_memory_callback()
325 (void) more (elf->maximum_size - start); in dwfl_elf_phdr_memory_callback()
329 if (unlikely (end > elf->maximum_size)) in dwfl_elf_phdr_memory_callback()
330 end = elf->maximum_size; in dwfl_elf_phdr_memory_callback()
566 elf->maximum_size, in dwfl_core_file_report()
Dopen.c64 const size_t mapped_size = (*elf)->maximum_size; in decompress()
147 elf->maximum_size); in libdw_open_elf()
153 elf->state.ar.elf_ar_hdr.ar_size = elf->maximum_size - offset; in libdw_open_elf()
DChangeLog129 elf->maximum_size and end - start < minread.
177 * core-file.c (dwfl_core_file_report): Pass elf->maximum_size to
/third_party/ltp/testcases/kernel/fs/mongo/
Dreiser_fract_tree.c277 long maximum_size) in fill_this_directory() argument
285 size = determine_size(median_file_size, maximum_size); in fill_this_directory()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.cpp4057 uint32_t maximum_size = spirv_offset_next - spirv_offset; in validate_member_packing_rules_msl() local
4059 if (msl_mbr_size > maximum_size) in validate_member_packing_rules_msl()