Lines Matching refs:head

47 elf_config_validate(Addr addr, Rtc_head *head, Rt_map *lmp)  in elf_config_validate()  argument
65 if (head->ch_app) { in elf_config_validate()
69 obj = (Rtc_obj *)(head->ch_app + addr); in elf_config_validate()
112 for (dirtbl = (Rtc_dir *)(head->ch_dir + addr); in elf_config_validate()
200 Rtc_head *head; in elf_config() local
303 head = (Rtc_head *)addr; in elf_config()
308 if (head->ch_version > RTC_VER_CURRENT) in elf_config()
316 if (head->ch_cnflags & RTC_HDR_IGNORE) in elf_config()
322 if (head->ch_edlibpath) { in elf_config()
323 str = (const char *)(head->ch_edlibpath + addr); in elf_config()
324 if ((head->ch_cnflags & RTC_HDR_UPM) == 0) { in elf_config()
337 if (head->ch_eslibpath) { in elf_config()
338 str = (const char *)(head->ch_eslibpath + addr); in elf_config()
339 if ((head->ch_cnflags & RTC_HDR_UPM) == 0) { in elf_config()
358 if ((head->ch_version >= RTC_VER_THREE) && head->ch_env && in elf_config()
360 if (readenv_config((Rtc_env *)(head->ch_env + addr), in elf_config()
369 if ((head->ch_version >= RTC_VER_FOUR) && head->ch_fltr && in elf_config()
372 config->c_fltr = (Rtc_fltr *)(head->ch_fltr + addr); in elf_config()
373 config->c_flte = (Rtc_flte *)(head->ch_flte + addr); in elf_config()
380 if ((!(rtld_flags & RT_FL_NODIRCFG)) && head->ch_hash) { in elf_config()
381 config->c_hashtbl = (Word *)(head->ch_hash + addr); in elf_config()
384 config->c_objtbl = (Rtc_obj *)(head->ch_obj + addr); in elf_config()
385 config->c_strtbl = (const char *)(head->ch_str + addr); in elf_config()
399 (head->ch_cnflags & RTC_HDR_ALTER)) { in elf_config()
403 elf_config_validate(addr, head, lmp); in elf_config()
405 if (head->ch_resbgn) { in elf_config()
407 if (((config->c_bgn <= head->ch_resbgn) && in elf_config()
408 (config->c_bgn >= head->ch_resend)) || in elf_config()
410 (caddr_t)(uintptr_t)head->ch_resbgn, in elf_config()
411 (head->ch_resend - head->ch_resbgn), PROT_NONE, in elf_config()