Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgelf.c471 size_t entsize; in gelf_getsym() local
478 entsize = sizeof (Elf32_Sym); in gelf_getsym()
480 entsize = sizeof (GElf_Sym); in gelf_getsym()
488 if ((entsize * ndx) >= data->d_size) { in gelf_getsym()
513 size_t entsize; in gelf_update_sym() local
520 entsize = sizeof (Elf32_Sym); in gelf_update_sym()
522 entsize = sizeof (GElf_Sym); in gelf_update_sym()
530 if ((entsize * ndx) >= dst->d_size) { in gelf_update_sym()
558 size_t entsize; in gelf_getsyminfo() local
565 entsize = sizeof (Elf32_Syminfo); in gelf_getsyminfo()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_dfs.c404 uint16_t entsize, rep_bufsize; in smb_dfs_encode_refv1()
422 entsize = DFS_REFV1_ENTSZ + smb_wcequiv_strlen(target) + 2; in smb_dfs_encode_refv1()
423 if (entsize > rep_bufsize) in smb_dfs_encode_refv1()
427 DFS_REFERRAL_V1, entsize, server_type, flags, target); in smb_dfs_encode_refv1()
428 rep_bufsize -= entsize; in smb_dfs_encode_refv1()
473 uint16_t entsize, rep_bufsize; in smb_dfs_encode_refv2()
484 entsize = DFS_REFV2_ENTSZ + dfs_pathsz + dfs_pathsz + in smb_dfs_encode_refv2()
487 if (entsize > rep_bufsize) { in smb_dfs_encode_refv2()
495 rep_bufsize -= entsize; in smb_dfs_encode_refv2()
496 entsize = DFS_REFV2_ENTSZ; in smb_dfs_encode_refv2()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil.c734 size_t entsize, size_t num_ent, size_t start_ndx, size_t cnt) in elfedit_array_elts_delete() argument
755 bcopy(data + ((start_ndx + cnt) * entsize), in elfedit_array_elts_delete()
756 data + (start_ndx * entsize), ncpy * entsize); in elfedit_array_elts_delete()
772 bzero(data + ((num_ent - cnt) * entsize), entsize * cnt); in elfedit_array_elts_delete()
808 size_t entsize, size_t num_ent, size_t srcndx, in elfedit_array_elts_move() argument
865 bcopy(data + (srcndx * entsize), scr_item, entsize); in elfedit_array_elts_move()
874 bcopy(data + ((srcndx + 1) * entsize), in elfedit_array_elts_move()
875 data + (srcndx * entsize), in elfedit_array_elts_move()
876 (dstndx - srcndx) * entsize); in elfedit_array_elts_move()
883 bcopy(scr_item, data + (dstndx * entsize), entsize); in elfedit_array_elts_move()
[all …]
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddynamic.c41 Xword entsize, Xword checksum) in update_dynamic() argument
146 dyn->d_un.d_val = ((data + func) * entsize); in update_dynamic()
151 dyn->d_un.d_ptr = (addr + off + (null * entsize)); in update_dynamic()
164 dyn->d_un.d_val = (func * entsize); in update_dynamic()
169 ((null + data) * entsize)); in update_dynamic()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dnetdfs.c514 size_t entsize; in netdfs_s_enum() local
557 entsize = sizeof (netdfs_info1_t); in netdfs_s_enum()
558 de.de_nmax = MAX((de.de_prefmaxlen / entsize), 1); in netdfs_s_enum()
569 entsize = sizeof (netdfs_info2_t); in netdfs_s_enum()
570 de.de_nmax = MAX((de.de_prefmaxlen / entsize), 1); in netdfs_s_enum()
581 entsize = sizeof (netdfs_info3_t) + in netdfs_s_enum()
583 de.de_nmax = MAX((de.de_prefmaxlen / entsize), 1); in netdfs_s_enum()
594 entsize = sizeof (netdfs_info4_t) + in netdfs_s_enum()
596 de.de_nmax = MAX((de.de_prefmaxlen / entsize), 1); in netdfs_s_enum()
608 entsize = sizeof (netdfs_info5_t); in netdfs_s_enum()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_elf_load_headers.c354 Dwarf_Unsigned entsize,
366 pph = (dw_elf32_phdr *)calloc(count , entsize);
380 res = RRMOA(ep->f_fd,pph,offset,count*entsize,
415 Dwarf_Unsigned entsize,
427 pph = (dw_elf64_phdr *)calloc(count , entsize);
441 res = RRMOA(ep->f_fd,pph,offset,count*entsize,
476 Dwarf_Unsigned entsize, in generic_shdr_from_shdr32() argument
488 psh = (dw_elf32_shdr *)calloc(count , entsize); in generic_shdr_from_shdr32()
502 res = RRMOA(ep->f_fd,psh,offset,count*entsize, in generic_shdr_from_shdr32()
541 Dwarf_Unsigned entsize, in generic_shdr_from_shdr64() argument
[all …]
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dps.c75 uint_t entsize; in get_ldbase() local
96 entsize = sizeof (auxv32_t); in get_ldbase()
99 entsize = sizeof (auxv_t); in get_ldbase()
122 auxvptr = (void *)((uintptr_t)auxvptr + entsize); in get_ldbase()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Drelocate.c122 Xword rsize, entsize; in is_disp_copied() local
126 entsize = irel->is_shdr->sh_entsize; in is_disp_copied()
132 if ((entsize == 0) || (entsize > rsize)) { in is_disp_copied()
134 entsize = sizeof (Rela); in is_disp_copied()
136 entsize = sizeof (Rel); in is_disp_copied()
144 reloc = (Rel *)((uintptr_t)reloc + (uintptr_t)entsize)) { in is_disp_copied()
2130 Xword entsize; /* size of relocation entry */ in reloc_section() local
2144 if (((entsize = shdr->sh_entsize) == 0) || (entsize > rsize)) { in reloc_section()
2146 entsize = sizeof (Rela); in reloc_section()
2148 entsize = sizeof (Rel); in reloc_section()
[all …]
H A Dsections.c361 uint_t flags, entsize; in ignore_section_processing() local
380 entsize = sizeof (Rela); in ignore_section_processing()
382 entsize = sizeof (Rel); in ignore_section_processing()
385 osp->os_szoutrels -= entsize; in ignore_section_processing()
/illumos-gate/usr/src/cmd/ps/
H A Ducbps.c152 int entsize; in ucbmain() local
342 entsize = 1024; in ucbmain()
343 psent = malloc(entsize * sizeof (struct psent)); in ucbmain()
497 if (nent >= entsize) { in ucbmain()
498 entsize *= 2; in ucbmain()
500 entsize * sizeof (struct psent)); in ucbmain()
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/
H A Dtopo_zen.c763 size_t entsize; in topo_zen_cleanup() local
767 entsize = sizeof (amdzen_topo_df_ent_t) * in topo_zen_cleanup()
770 entsize); in topo_zen_cleanup()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dof.c140 uint32_t align, uint32_t flags, uint32_t entsize, uint64_t size) in dof_add_lsect() argument
148 s.dofs_entsize = entsize; in dof_add_lsect()
167 uint32_t align, uint32_t flags, uint32_t entsize, uint64_t size) in dof_add_usect() argument
175 s.dofs_entsize = entsize; in dof_add_usect()
/illumos-gate/usr/src/cmd/sgs/include/
H A Delfedit.h863 size_t entsize, size_t num_ent, size_t start_ndx, size_t cnt);
866 size_t entsize, size_t num_ent, size_t srcndx,
/illumos-gate/usr/src/lib/libproc/common/
H A DPgcore.c646 uintptr_t addralign, uintptr_t entsize) in write_shdr() argument
663 shdr.sh_entsize = entsize; in write_shdr()
686 shdr.sh_entsize = entsize; in write_shdr()
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c12887 int entsize; in dtrace_dof_difo() member
12970 if (difo[i].entsize != subsec->dofs_entsize) { in dtrace_dof_difo()
13536 uint32_t entsize; in dtrace_dof_options() local
13553 if ((entsize = sec->dofs_entsize) == 0) { in dtrace_dof_options()
13558 if (entsize < sizeof (dof_optdesc_t)) { in dtrace_dof_options()
13563 for (offs = 0; offs < sec->dofs_size; offs += entsize) { in dtrace_dof_options()