Lines Matching refs:mode

382 hdl_initialize(Grp_hdl *ghp, Rt_map *nlmp, int mode, int promote)
389 * mode hasn't been promoted, there's no need to recompute the modes of
426 (void) update_mode(dlmp, MODE(dlmp), mode);
640 dlmopen_core(Lm_list *lml, Lm_list *olml, const char *path, int mode,
649 (path ? path : MSG_ORIG(MSG_STR_ZERO)), in_nfavl, mode));
655 if (((mode & (RTLD_GROUP | RTLD_WORLD)) == 0) &&
656 ((mode & RTLD_NOLOAD) == 0))
657 mode |= (RTLD_GROUP | RTLD_WORLD);
658 if ((mode & RTLD_NOW) && (rtld_flags2 & RT_FL2_BINDLAZY)) {
659 mode &= ~RTLD_NOW;
660 mode |= RTLD_LAZY;
677 * - Use of the RTLD_FIRST mode indicates that only the first
682 if (mode & RTLD_FIRST)
706 if (mode & RTLD_PARENT)
714 * Traverse the main link-map control list, updating the mode
716 * this mode promotes the existing state of any relocations.
722 if ((mode & (RTLD_NOW | RTLD_CONFGEN)) == RTLD_CONFGEN)
730 if (update_mode(nlmp, MODE(nlmp), mode))
751 if ((palp->al_arritems > 1) && ((mode & RTLD_FIRST) == 0)) {
767 nlmp = load_one(lml, nlmco, palp, clmp, mode, (flags | FLG_RT_PUBHDL),
786 * would be triggered by the mode of the caller.
856 dlmopen_intn(Lm_list *lml, const char *path, int mode, Rt_map *clmp,
909 ghp = dlmopen_core(lml, olml, path, mode, clmp, flags, orig, &in_nfavl);
921 ghp = dlmopen_core(lml, olml, path, mode, clmp, flags, orig,
937 if (ghp && ((mode & RTLD_CONFGEN) == 0))
973 dlmopen_check(Lm_list *lml, const char *path, int mode, Rt_map *clmp)
984 * Historically we've always verified the mode is either RTLD_NOW or
988 if ((mode & (RTLD_NOW | RTLD_LAZY | RTLD_NOLOAD)) == 0) {
992 if ((mode & (RTLD_NOW | RTLD_LAZY)) == (RTLD_NOW | RTLD_LAZY)) {
1000 if ((lml == (Lm_list *)LM_ID_NEWLM) && (mode & RTLD_PARENT)) {
1005 return (dlmopen_intn(lml, path, mode, clmp, 0, 0));
1016 dlopen(const char *path, int mode)
1028 ghp = dlmopen_check(lml, path, mode, clmp);
1041 dlmopen(Lmid_t lmid, const char *path, int mode)
1051 ghp = dlmopen_check((Lm_list *)lmid, path, mode, clmp);