Lines Matching defs:sp
128 const kernel_section_t *sp;
131 sp = getsectbynamefromheader(mhp, segname, sectname);
132 if(sp == (kernel_section_t *)0){
136 *size = sp->size;
137 result = (void *)sp->addr;
180 kernel_section_t *sp;
189 sp = (kernel_section_t *)((uintptr_t)sgp +
192 if(strncmp(sp->sectname, sectname,
193 sizeof(sp->sectname)) == 0 &&
194 strncmp(sp->segname, segname,
195 sizeof(sp->segname)) == 0)
196 return(sp);
197 sp = (kernel_section_t *)((uintptr_t)sp +
332 nextsect(kernel_segment_command_t *sgp, kernel_section_t *sp)
336 if (((uintptr_t)(sp - fsp) + 1) >= sgp->nsects)
339 return sp+1;