Home
last modified time | relevance | path

Searched refs:ns_inherits (Results 1 – 3 of 3) sorted by relevance

/third_party/musl/porting/linux/user/ldso/
Dnamespace.c160 nsinherits_free(ns->ns_inherits); in ns_free()
370 if (ns->ns_inherits) { in find_ns_inherit()
371 for (size_t i = 0; i < ns->ns_inherits->num; i++) { in find_ns_inherit()
372 … if (ns->ns_inherits->inherits[i]->inherited_ns == inherited) return ns->ns_inherits->inherits[i]; in find_ns_inherit()
421 if (!ns->ns_inherits) { in ns_add_inherit()
422 ns->ns_inherits = nsinherits_alloc(); in ns_add_inherit()
425 if (!ns->ns_inherits) { in ns_add_inherit()
434 if (ns->ns_inherits->num == ns->ns_inherits->size) { in ns_add_inherit()
439 nsinherits_realloc(ns->ns_inherits); in ns_add_inherit()
442 if (ns->ns_inherits->num < ns->ns_inherits->size) { in ns_add_inherit()
[all …]
Dnamespace.h48 struct _ns_inherit_list_ *ns_inherits; /* inherit list in this namespace */ member
Ddynlink.c1740 if (check_inherited && ns->ns_inherits) { in find_library_by_name()
1741 for (size_t i = 0; i < ns->ns_inherits->num; i++){ in find_library_by_name()
1742 ns_inherit * inherit = ns->ns_inherits->inherits[i]; in find_library_by_name()
1756 if (check_inherited && ns->ns_inherits) { in find_library_by_fstat()
1757 for (size_t i = 0; i < ns->ns_inherits->num; i++){ in find_library_by_fstat()
1758 ns_inherit *inherit = ns->ns_inherits->inherits[i]; in find_library_by_fstat()
1871 if (!check_inherited || !namespace->ns_inherits) return 0; in load_library()
1873 for (size_t i = 0; i < namespace->ns_inherits->num; i++) { in load_library()
1874 ns_inherit *inherit = namespace->ns_inherits->inherits[i]; in load_library()
4650 if (!check_inherited || !namespace->ns_inherits) { in load_library_header()
[all …]