Home
last modified time | relevance | path

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

/titanic_41/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()
/titanic_41/usr/src/tools/ctf/cvt/
H A Doutput.c456 off_t new_offset = 0; in write_file() local
520 new_offset = (off_t)dehdr.e_phoff; in write_file()
544 pad = new_offset % shdr.sh_addralign; in write_file()
547 new_offset += shdr.sh_addralign - pad; in write_file()
548 shdr.sh_offset = new_offset; in write_file()
613 new_offset = (off_t)shdr.sh_offset; in write_file()
615 new_offset += shdr.sh_size; in write_file()
632 pad = new_offset % shdr.sh_addralign; in write_file()
635 new_offset += shdr.sh_addralign - pad; in write_file()
637 shdr.sh_offset = new_offset; in write_file()
[all …]
/titanic_41/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_die_deliv.c280 Dwarf_Unsigned new_offset = 0; in dwarf_next_cu_header_b() local
295 new_offset = 0; in dwarf_next_cu_header_b()
305 new_offset = dbg->de_cu_context->cc_debug_info_offset + in dwarf_next_cu_header_b()
316 if ((new_offset + _dwarf_length_of_cu_header_simple(dbg)) >= in dwarf_next_cu_header_b()
323 cu_context = _dwarf_find_CU_Context(dbg, new_offset); in dwarf_next_cu_header_b()
327 cu_context = _dwarf_make_CU_Context(dbg, new_offset, error); in dwarf_next_cu_header_b()
355 new_offset = new_offset + cu_context->cc_length + in dwarf_next_cu_header_b()
357 *next_cu_offset = new_offset; in dwarf_next_cu_header_b()
/titanic_41/usr/src/cmd/sgs/mcs/common/
H A Dfile.c691 GElf_Off new_offset = 0, r; in build_file() local
767 new_offset = (GElf_Off)src_ehdr->e_ehsize; in build_file()
1003 r = new_offset % in build_file()
1006 new_offset += in build_file()
1010 dst_shdr.sh_offset = new_offset; in build_file()
1014 new_offset = in build_file()
1018 new_offset += dst_shdr.sh_size; in build_file()
1045 dst_shdr.sh_offset = new_offset; in build_file()
1070 new_offset += string_size + 1; in build_file()
1110 dst_shdr.sh_offset = new_offset; /* UPDATE fields */ in build_file()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c2428 uint32_t new_offset; in adjust_packets() local
2432 new_offset = free_obj->u.pkt_obj->payload_offset in adjust_packets()
2448 hash_ptr->u.pkt_obj->tag_size, new_offset); in adjust_packets()
2453 new_offset += hash_ptr->u.pkt_obj->tag_size; in adjust_packets()
2454 hash_ptr->u.pkt_obj->payload_offset = new_offset; in adjust_packets()
2456 hash_ptr->u.pkt_obj->paylen, new_offset); in adjust_packets()
2461 new_offset += hash_ptr->u.pkt_obj->paylen; in adjust_packets()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c2538 uint32_t new_offset; in adjust_packets() local
2541 new_offset = free_obj->u.pkt_obj->payload_offset - in adjust_packets()
2546 hash_ptr->u.pkt_obj->tag_size, new_offset); in adjust_packets()
2550 new_offset += hash_ptr->u.pkt_obj->tag_size; in adjust_packets()
2551 hash_ptr->u.pkt_obj->payload_offset = new_offset; in adjust_packets()
2553 hash_ptr->u.pkt_obj->paylen, new_offset); in adjust_packets()
2557 new_offset += hash_ptr->u.pkt_obj->paylen; in adjust_packets()
/titanic_41/usr/src/uts/i86pc/io/
H A Drootnex.c4071 off_t new_offset; in rootnex_sgllen_window_boundary() local
4134 new_offset = (*windowp)->wd_offset + (*windowp)->wd_size; in rootnex_sgllen_window_boundary()
4147 rootnex_init_win(hp, dma, *windowp, cookie, new_offset); in rootnex_sgllen_window_boundary()
4185 new_offset = (*windowp)->wd_offset + (*windowp)->wd_size; in rootnex_sgllen_window_boundary()
4189 rootnex_init_win(hp, dma, *windowp, cookie, new_offset); in rootnex_sgllen_window_boundary()
4212 off_t new_offset; in rootnex_copybuf_window_boundary() local
4340 new_offset = (*windowp)->wd_offset + (*windowp)->wd_size; in rootnex_copybuf_window_boundary()
4353 rootnex_init_win(hp, dma, *windowp, cookie, new_offset); in rootnex_copybuf_window_boundary()
4453 off_t new_offset; in rootnex_maxxfer_window_boundary() local
4494 new_offset = (*windowp)->wd_offset + (*windowp)->wd_size; in rootnex_maxxfer_window_boundary()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c2738 uint32_t new_offset; in adjust_packets() local
2754 new_offset = free_obj->u.pkt_obj->payload_offset in adjust_packets()
2759 hash_ptr->u.pkt_obj->tag_size, new_offset, &format); in adjust_packets()
2763 new_offset += hash_ptr->u.pkt_obj->tag_size; in adjust_packets()
2764 hash_ptr->u.pkt_obj->payload_offset = new_offset; in adjust_packets()
2766 hash_ptr->u.pkt_obj->paylen, new_offset, &format); in adjust_packets()
2770 new_offset += hash_ptr->u.pkt_obj->paylen; in adjust_packets()
/titanic_41/usr/src/uts/common/io/lvm/softpart/
H A Dsp.c597 sp_ext_offset_t new_offset; in sp_mapbuf() local
629 new_offset = voff - un->un_ext[mid].un_voff; in sp_mapbuf()
630 new_blkno = un->un_ext[mid].un_poff + new_offset; in sp_mapbuf()
/titanic_41/usr/src/uts/common/io/i40e/core/
H A Di40e_adminq_cmd.h2234 __le16 new_offset; member
H A Di40e_common.c4169 cmd->new_offset = CPU_TO_LE16(offset); in i40e_aq_update_lldp_tlv()
/titanic_41/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c13673 int new_offset; in sfmmu_copy_tsb() local
13722 new_offset = va & (new_entries - 1); in sfmmu_copy_tsb()
13723 new = new_base + new_offset; in sfmmu_copy_tsb()