Lines Matching refs:args

39 dlerror_run (void (*operate) (void *), void *args)  in dlerror_run()  argument
46 operate, args) in dlerror_run()
93 struct do_dlopen_args *args = (struct do_dlopen_args *) ptr; in do_dlopen() local
95 args->map = GLRO(dl_open) (args->name, args->mode, args->caller_dlopen, in do_dlopen()
103 struct do_dlsym_args *args = (struct do_dlsym_args *) ptr; in do_dlsym() local
104 args->ref = NULL; in do_dlsym()
105 args->loadbase = GLRO(dl_lookup_symbol_x) (args->name, args->map, &args->ref, in do_dlsym()
106 args->map->l_local_scope, NULL, 0, in do_dlsym()
113 struct do_dlvsym_args *args = ptr; in do_dlvsym() local
114 args->dlsym.ref = NULL; in do_dlvsym()
115 args->dlsym.loadbase in do_dlvsym()
116 = GLRO(dl_lookup_symbol_x) (args->dlsym.name, args->dlsym.map, in do_dlvsym()
117 &args->dlsym.ref, in do_dlvsym()
118 args->dlsym.map->l_local_scope, in do_dlvsym()
119 &args->version, 0, 0, NULL); in do_dlvsym()
140 struct do_dlsym_args *args = (struct do_dlsym_args *) ptr; in do_dlsym_private() local
141 args->ref = NULL; in do_dlsym_private()
142 l = GLRO(dl_lookup_symbol_x) (args->name, args->map, &args->ref, in do_dlsym_private()
143 args->map->l_scope, &vers, 0, 0, NULL); in do_dlsym_private()
144 args->loadbase = l; in do_dlsym_private()
153 struct do_dlopen_args args; in __libc_dlopen_mode() local
154 args.name = name; in __libc_dlopen_mode()
155 args.mode = mode; in __libc_dlopen_mode()
156 args.caller_dlopen = RETURN_ADDRESS (0); in __libc_dlopen_mode()
162 return dlerror_run (do_dlopen, &args) ? NULL : (void *) args.map; in __libc_dlopen_mode()
182 struct do_dlsym_args args; in __libc_dlsym() local
183 args.map = map; in __libc_dlsym()
184 args.name = name; in __libc_dlsym()
190 return (dlerror_run (do_dlsym, &args) ? NULL in __libc_dlsym()
191 : (void *) (DL_SYMBOL_ADDRESS (args.loadbase, args.ref))); in __libc_dlsym()
205 struct do_dlvsym_args args; in __libc_dlvsym() local
206 args.dlsym.map = map; in __libc_dlvsym()
207 args.dlsym.name = name; in __libc_dlvsym()
210 args.version.name = version; in __libc_dlvsym()
211 args.version.hidden = 1; in __libc_dlvsym()
212 args.version.hash = _dl_elf_hash (version); in __libc_dlvsym()
213 args.version.filename = NULL; in __libc_dlvsym()
215 return (dlerror_run (do_dlvsym, &args) ? NULL in __libc_dlvsym()
216 : (void *) (DL_SYMBOL_ADDRESS (args.dlsym.loadbase, in __libc_dlvsym()
217 args.dlsym.ref))); in __libc_dlvsym()