Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/sgs/crle/common/
H A Dconfig.c79 size = S_ROUND(sizeof (Rtc_head), sizeof (Word)); in genconfig()
105 size = S_ROUND(size, sizeof (Lword)); in genconfig()
113 S_ROUND(sizeof (Rtc_obj), sizeof (Lword))); in genconfig()
119 size += S_ROUND((crle->c_filenum * sizeof (Rtc_file)), in genconfig()
126 size += S_ROUND((crle->c_dirnum * sizeof (Rtc_dir)), in genconfig()
135 size += S_ROUND(((crle->c_envnum + 1) * sizeof (Rtc_env)), in genconfig()
145 size += S_ROUND(((crle->c_fltrnum + 1) * sizeof (Rtc_fltr)), in genconfig()
148 size += S_ROUND((crle->c_fltenum * sizeof (Rtc_flte)), in genconfig()
158 size += S_ROUND(crle->c_strsize, sizeof (Word)); in genconfig()
222 objtbl = (Rtc_obj *)S_ROUND((uintptr_t)(objtbl + 1), sizeof (Lword)); in genconfig()
[all …]
/titanic_41/usr/src/cmd/sgs/tools/common/
H A Dalist.c115 bsize = S_ROUND(bsize, sizeof (void *)); in alist_insert()
136 bsize = S_ROUND(bsize, sizeof (void *)); in alist_insert()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dutil.c116 size_t hsize = (size_t)S_ROUND(sizeof (Ld_heap), HEAPALIGN); in libld_malloc()
117 size_t tsize = (size_t)S_ROUND((asize + hsize), HEAPALIGN); in libld_malloc()
146 chp->lh_free = (void *)S_ROUND((size_t)chp->lh_free + asize, in libld_malloc()
H A Doutfile.c233 size = (size_t)(S_ROUND(offset, phdr->p_align) - in pad_outfile()
258 offset = (off_t)S_ROUND(offset, shdr->sh_addralign); in pad_outfile()
669 S_ROUND(data->d_align, in ld_create_outfile()
H A Dsunwmove.c61 size_parexpn = (size_t)S_ROUND(size_parexpn, in make_mvsections()
H A Dupdate.c570 end = (Addr)S_ROUND(end, sysconf(_SC_PAGESIZE)); in update_osym()
1058 symptr->st_value = (Xword) S_ROUND( in update_osym()
1070 symptr->st_value = (Xword)S_ROUND(bssaddr, in update_osym()
1081 symptr->st_value = (Xword)S_ROUND(tlsbssaddr, in update_osym()
1100 symptr->st_value = (Xword)S_ROUND(lbssaddr, in update_osym()
3917 offset = (Off)S_ROUND(offset, shdr->sh_addralign); in ld_update_outfile()
3944 size = (Addr)S_ROUND((phdrsz + ehdrsz), in ld_update_outfile()
3984 (Addr)S_ROUND(vaddr, phdr->p_align); in ld_update_outfile()
H A Dsyms.c1524 bsssize = (Xword)S_ROUND(bsssize, in ld_sym_validate()
1530 tlssize = (Xword)S_ROUND(tlssize, in ld_sym_validate()
1547 lbsssize = (Xword)S_ROUND(lbsssize, sym->st_value) + in ld_sym_validate()
H A Dmachrel.amd.c1025 tlsstatsize = S_ROUND(ofl->ofl_tlsphdr->p_memsz, in ld_do_activerelocs()
H A Dmachrel.intel.c1000 tlsstatsize = S_ROUND(ofl->ofl_tlsphdr->p_memsz, in ld_do_activerelocs()
H A Dmachrel.sparc.c1319 S_ROUND(ofl->ofl_tlsphdr->p_memsz, M_TLSSTATALIGN); in ld_do_activerelocs()
/titanic_41/usr/src/cmd/sgs/include/
H A Dsgs.h83 #define S_ROUND(x, a) ((x) + (((a) ? (a) : 1) - 1) & ~(((a) ? (a) : 1) - 1)) macro
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c181 size_t totpage = S_ROUND(totsize, syspagsz); in malloc()
H A Dtls.c172 ulong_t memsz = S_ROUND(phdr->p_memsz, M_TLSSTATALIGN); in tls_assign()
H A Dutil.c586 strsize = S_ROUND(nsize, syspagsz); in stravl_insert()
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Dmain.c199 index_width = S_ROUND(index_width, 8); in dump_hex_bytes()
/titanic_41/usr/src/cmd/sgs/libelf/common/
H A Dxlate.m41107 namesz = S_ROUND(src->n_namesz, sizeof (Elf32_Word));
1152 descsz = S_ROUND(descsz, sizeof (Elf32_Word));
1658 field_sz = S_ROUND(nhdr->n_namesz, sizeof (Elf32_Word));
1676 field_sz = S_ROUND(field_sz, sizeof (Elf32_Word));
H A Dxlate64.m41098 namesz = S_ROUND(src->n_namesz, sizeof (Elf64_Word));
1143 descsz = S_ROUND(descsz, sizeof (Elf64_Word));
1696 field_sz = S_ROUND(nhdr->n_namesz, sizeof (Elf64_Word));
1714 field_sz = S_ROUND(field_sz, sizeof (Elf64_Word));