Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c424 size_t avail_file; in map_addr_to_offset() local
439 avail_file = phdr->p_filesz - offset; in map_addr_to_offset()
449 if (size > avail_file) in map_addr_to_offset()
452 *zero_bytes = (size > avail_file) ? in map_addr_to_offset()
453 (size - avail_file) : 0; in map_addr_to_offset()
483 size_t avail_file; in map_offset_to_addr() local
498 avail_file = phdr->p_filesz - offset; in map_offset_to_addr()
508 if (size > avail_file) in map_offset_to_addr()
511 *zero_bytes = (size > avail_file) ? in map_offset_to_addr()
512 (size - avail_file) : 0; in map_offset_to_addr()