Searched refs:phsizep (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/uts/common/os/ |
H A D | mmapobj.c | 1921 ssize_t phsizep; in doelfwork() local 2003 phsizep = nphdrs * phentsize; in doelfwork() 2005 if (phsizep == 0) { in doelfwork() 2011 if (phsizep > mmapobj_alloc_threshold) { in doelfwork() 2013 if ((phbasep = kmem_alloc(phsizep, KM_NOSLEEP)) == NULL) { in doelfwork() 2018 phbasep = kmem_alloc(phsizep, KM_SLEEP); in doelfwork() 2021 if ((error = vn_rdwr(UIO_READ, vp, phbasep, phsizep, in doelfwork() 2024 kmem_free(phbasep, phsizep); in doelfwork() 2031 kmem_free(phbasep, phsizep); in doelfwork()
|
/titanic_50/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1072 caddr_t *phbasep, ssize_t *phsizep) in getelfphdr() argument 1093 *phsizep = nphdrs * ehdr->e_phentsize; in getelfphdr() 1095 if (*phsizep > sizeof (Phdr) * elf_nphdr_max) { in getelfphdr() 1096 if ((*phbasep = kmem_alloc(*phsizep, KM_NOSLEEP)) == NULL) in getelfphdr() 1099 *phbasep = kmem_alloc(*phsizep, KM_SLEEP); in getelfphdr() 1102 if ((err = vn_rdwr(UIO_READ, vp, *phbasep, *phsizep, in getelfphdr() 1105 kmem_free(*phbasep, *phsizep); in getelfphdr()
|