Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_elfwrite.c51 off_t new_offset = 0; in ctf_write_elf() local
153 new_offset = (off_t)dehdr.e_phoff; 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()
304 shdr.sh_offset = new_offset; in ctf_write_elf()
305 new_offset += shdr.sh_size; in ctf_write_elf()
341 size_t r = new_offset % align; in ctf_write_elf()
344 new_offset += align - r; in ctf_write_elf()
[all …]
/illumos-gate/usr/src/stand/lib/sa/
H A Dstdio.c283 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 Dfile.c699 GElf_Off new_offset = 0, r; in build_file() local
1011 r = new_offset % in build_file()
1014 new_offset += in build_file()
1022 new_offset = in build_file()
1078 new_offset += string_size + 1; in build_file()
1142 new_offset += data->d_size; in build_file()
1180 r = new_offset % align; in build_file()
1182 new_offset += align - r; in build_file()
1184 dst_ehdr.e_phoff = new_offset; in build_file()
1191 r = new_offset % align; in build_file()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_die_deliv.c1482 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 Dabd.c479 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 Drootnex.c3852 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 Dfru_access.c2536 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 Di40e_adminq_cmd.h2600 __le16 new_offset; member
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c13481 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()