Home
last modified time | relevance | path

Searched refs:descsz (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/sgs/libelf/common/
H A Dxlate64.m41092 Elf64_Word descsz, namesz;
1099 descsz = src->n_descsz;
1136 if ((descsz + (char *) src) > (char *) end) {
1137 descsz = (char *) end - (char *) src;
1138 if (descsz == 0)
1141 (void)memcpy(dst, src, descsz);
1143 descsz = S_ROUND(descsz, sizeof (Elf64_Word));
1144 dst += descsz;
1145 src = (Elf64_Nhdr *)((uintptr_t)src + descsz);
H A Dxlate.m41101 Elf32_Word descsz, namesz;
1108 descsz = src->n_descsz;
1145 if ((descsz + (char *) src) > (char *) end) {
1146 descsz = (char *) end - (char *) src;
1147 if (descsz == 0)
1150 (void)memcpy(dst, src, descsz);
1152 descsz = S_ROUND(descsz, sizeof (Elf32_Word));
1153 dst += descsz;
1154 src = (Elf32_Nhdr *)((uintptr_t)src + descsz);
/titanic_50/usr/src/cmd/sgs/elfdump/common/
H A Dcorenote.c1705 const char *desc, Word descsz) in corenote() argument
1721 state.ns_len = descsz; in corenote()
1746 dbg_print(0, MSG_ORIG(MSG_FMT_INDENT), safe_str(desc, descsz)); in corenote()
1823 if (sizeof (core_content_t) > descsz) in corenote()
1843 dbg_print(0, MSG_ORIG(MSG_FMT_INDENT), safe_str(desc, descsz)); in corenote()
H A Delfdump.msg451 @ MSG_NOTE_DESCSZ " descsz: %#x"
/titanic_50/usr/src/lib/libproc/common/
H A DPcore.c2420 off64_t off, namesz, descsz; local
2481 descsz = P2ROUNDUP((off64_t)nhdr.n_descsz, (off64_t)4);
2482 if (lseek64(P->asfd, off + descsz, SEEK_SET) == (off64_t)-1) {
2492 nleft -= sizeof (nhdr) + namesz + descsz;
H A DPgcore.c426 write_note(int fd, uint_t type, const void *desc, size_t descsz, off64_t *offp) in write_note() argument
441 n.nhdr.n_descsz = roundup(descsz, 4); in write_note()
/titanic_50/usr/src/uts/common/fs/doorfs/
H A Ddoor_sys.c1126 size_t descsz; in door_layout() local
1145 descsz = ndesc * sizeof (door_desc_t); in door_layout()
1164 if (data_size >= SIZE_MAX - (size_t)65535UL - descsz) in door_layout()
1167 descp = P2ALIGN(base_sp - descsz, align); in door_layout()
/titanic_50/usr/src/uts/common/exec/elf/
H A Delf.c1388 elfnote(vnode_t *vp, offset_t *offsetp, int type, int descsz, void *desc, in elfnote() argument
1408 note.nhdr.n_descsz = roundup(descsz, sizeof (Word)); in elfnote()