Lines Matching refs:lib

272 	struct library *lib;
273 for (lib = proc->libraries; lib != NULL; ) {
274 struct library *next = lib->next;
275 library_destroy(lib);
276 free(lib);
277 lib = next;
377 struct library *lib;
379 for (lib = proc->leader->libraries; lib != NULL; lib = lib->next) {
383 || library_clone(*nlibp, lib) < 0) {
391 for (lib = retp->libraries; lib != NULL; ) {
392 struct library *next = lib->next;
393 library_destroy(lib);
394 free(lib);
395 lib = next;
518 is_main(struct process *proc, struct library *lib, void *data)
520 return CBS_STOP_IF(lib->type == LT_LIBTYPE_MAIN);
869 activate_latent_in(struct process *proc, struct library *lib, void *data)
874 while ((libsym = library_each_symbol(lib, libsym,
886 proc_add_library(struct process *proc, struct library *lib)
888 assert(lib->next == NULL);
889 lib->next = proc->libraries;
890 proc->libraries = lib;
892 lib->soname, lib->base, lib->pathname, proc->pid);
914 if (dwfl_report_elf(dwfl, lib->soname,
915 lib->pathname, -1,
916 (GElf_Addr) lib->base,
920 lib->soname, lib->base, lib->pathname,
949 while ((libsym = library_each_symbol(lib, libsym,
961 lib->exported_names)) != NULL)
968 proc_remove_library(struct process *proc, struct library *lib)
972 if (*libp == lib) {
973 *libp = lib->next;
982 struct library *lib, void *data),
1087 struct library *lib = sym->lib;
1088 assert(lib != NULL);
1091 = proc_each_library(proc, NULL, library_with_key_cb, &lib->key);
1114 struct library *lib;
1115 for (lib = start_after != NULL ? start_after->lib : proc->libraries;
1116 lib != NULL; lib = lib->next) {
1117 start_after = library_each_symbol(lib, start_after, cb, data);