/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 51 off_t new_offset = 0; in ctf_write_elf() local 153 new_offset = (off_t)dehdr.e_phoff; in ctf_write_elf() 184 pad = new_offset % shdr.sh_addralign; in ctf_write_elf() 187 new_offset += shdr.sh_addralign - pad; in ctf_write_elf() 188 shdr.sh_offset = new_offset; in ctf_write_elf() 274 new_offset = (off_t)shdr.sh_offset; in ctf_write_elf() 276 new_offset += shdr.sh_size; in ctf_write_elf() 299 pad = new_offset % shdr.sh_addralign; in ctf_write_elf() 302 new_offset += shdr.sh_addralign - pad; in ctf_write_elf() 304 shdr.sh_offset = new_offset; in ctf_write_elf() [all …]
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | stdio.c | 283 off_t new_offset, result; in fseek() local 290 new_offset = (off_t)offset; in fseek() 293 new_offset = stream->_offset + (off_t)offset; in fseek() 296 new_offset = (off_t)stream->_len + (off_t)offset; in fseek() 303 if (new_offset > (off_t)stream->_len) { in fseek() 305 } else if (new_offset < 0L) { in fseek() 311 result = lseek(stream->_file, new_offset, SEEK_SET); in fseek()
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 699 GElf_Off new_offset = 0, r; in build_file() local 775 new_offset = (GElf_Off)src_ehdr->e_ehsize; in build_file() 1011 r = new_offset % in build_file() 1014 new_offset += in build_file() 1018 dst_shdr.sh_offset = new_offset; in build_file() 1022 new_offset = in build_file() 1026 new_offset += dst_shdr.sh_size; in build_file() 1053 dst_shdr.sh_offset = new_offset; in build_file() 1078 new_offset += string_size + 1; in build_file() 1118 dst_shdr.sh_offset = new_offset; /* UPDATE fields */ in build_file() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_die_deliv.c | 1482 Dwarf_Unsigned new_offset = 0; in _dwarf_next_cu_header_internal() local 1503 new_offset = 0; in _dwarf_next_cu_header_internal() 1557 new_offset = dis->de_cu_context->cc_debug_offset + in _dwarf_next_cu_header_internal() 1571 if ((new_offset + _dwarf_length_of_cu_header_simple(dbg,is_info)) >= in _dwarf_next_cu_header_internal() 1578 cu_context = _dwarf_find_CU_Context(dbg, new_offset,is_info); in _dwarf_next_cu_header_internal() 1582 res = _dwarf_make_CU_Context(dbg, new_offset,is_info, in _dwarf_next_cu_header_internal() 1590 res = finish_up_cu_context_from_cudie(dbg,new_offset, in _dwarf_next_cu_header_internal() 1639 new_offset = new_offset + cu_context->cc_length + in _dwarf_next_cu_header_internal() 1643 *next_cu_offset = new_offset; in _dwarf_next_cu_header_internal()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | abd.c | 479 size_t new_offset = sabd->abd_u.abd_scatter.abd_offset + off; in abd_get_offset_impl() local 481 (new_offset / zfs_abd_chunk_size); in abd_get_offset_impl() 493 new_offset % zfs_abd_chunk_size; in abd_get_offset_impl() 498 &sabd->abd_u.abd_scatter.abd_chunks[new_offset / in abd_get_offset_impl()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | rootnex.c | 3852 off_t new_offset; in rootnex_sgllen_window_boundary() local 3915 new_offset = (*windowp)->wd_offset + (*windowp)->wd_size; in rootnex_sgllen_window_boundary() 3928 rootnex_init_win(hp, dma, *windowp, cookie, new_offset); in rootnex_sgllen_window_boundary() 3966 new_offset = (*windowp)->wd_offset + (*windowp)->wd_size; in rootnex_sgllen_window_boundary() 3970 rootnex_init_win(hp, dma, *windowp, cookie, new_offset); in rootnex_sgllen_window_boundary() 3993 off_t new_offset; in rootnex_copybuf_window_boundary() local 4108 new_offset = (*windowp)->wd_offset + (*windowp)->wd_size; in rootnex_copybuf_window_boundary() 4121 rootnex_init_win(hp, dma, *windowp, cookie, new_offset); in rootnex_copybuf_window_boundary() 4214 off_t new_offset; in rootnex_maxxfer_window_boundary() local 4255 new_offset = (*windowp)->wd_offset + (*windowp)->wd_size; in rootnex_maxxfer_window_boundary() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 2536 uint32_t new_offset; in adjust_packets() local 2539 new_offset = free_obj->u.pkt_obj->payload_offset - in adjust_packets() 2544 hash_ptr->u.pkt_obj->tag_size, new_offset); in adjust_packets() 2548 new_offset += hash_ptr->u.pkt_obj->tag_size; in adjust_packets() 2549 hash_ptr->u.pkt_obj->payload_offset = new_offset; in adjust_packets() 2551 hash_ptr->u.pkt_obj->paylen, new_offset); in adjust_packets() 2555 new_offset += hash_ptr->u.pkt_obj->paylen; in adjust_packets()
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_adminq_cmd.h | 2600 __le16 new_offset; member
|
/illumos-gate/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 13481 int new_offset; in sfmmu_copy_tsb() local 13530 new_offset = va & (new_entries - 1); in sfmmu_copy_tsb() 13531 new = new_base + new_offset; in sfmmu_copy_tsb()
|