Searched refs:shsizep (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1124 int nshdrs, int shstrndx, caddr_t *shbasep, ssize_t *shsizep, in getelfshdr() argument 1144 *shsizep = nshdrs * ehdr->e_shentsize; in getelfshdr() 1146 if (*shsizep > sizeof (Shdr) * elf_nshdr_max) { in getelfshdr() 1147 if ((*shbasep = kmem_alloc(*shsizep, KM_NOSLEEP)) == NULL) in getelfshdr() 1150 *shbasep = kmem_alloc(*shsizep, KM_SLEEP); in getelfshdr() 1153 if ((err = vn_rdwr(UIO_READ, vp, *shbasep, *shsizep, in getelfshdr() 1156 kmem_free(*shbasep, *shsizep); in getelfshdr() 1166 kmem_free(*shbasep, *shsizep); in getelfshdr() 1173 kmem_free(*shbasep, *shsizep); in getelfshdr() 1183 kmem_free(*shbasep, *shsizep); in getelfshdr()
|