Lines Matching defs:lib
114 char libpath[MAXPATHLEN]; /* full pathname to lib */
295 #define LIB_PATH_MIDDLE "/lib/cfgadm/sparcv9/"
297 #define LIB_PATH_MIDDLE "/lib/cfgadm/amd64/"
299 #define LIB_PATH_MIDDLE "/lib/cfgadm/"
1174 * resolve_lib_ref - relocate to use plugin lib
1519 * see if lib exist in list, if not, allocate a new one
1560 * ensure that the lib is open and linked in
1745 char lib[MAXPATHLEN];
1770 (void) snprintf(lib, sizeof (lib), "%s%s%s%s%s",
1774 if (stat(lib, &lib_stat) == 0) {
1775 /* file exists, is it a lib */
1776 dlhandle = dlopen(lib, RTLD_LAZY);
1785 (void) snprintf(lib, sizeof (lib), "%s%s%s%s%s",
1790 if (stat(lib, &lib_stat) == 0) {
1791 /* file exists, is it a lib */
1792 dlhandle = dlopen(lib, RTLD_LAZY);
1801 (void) snprintf(lib, sizeof (lib), "%s%s%s%s%s",
1805 if (stat(lib, &lib_stat) == 0) {
1806 /* file exists, is it a lib */
1807 dlhandle = dlopen(lib, RTLD_LAZY);
1817 (void) snprintf(lib, sizeof (lib), "%s%s%s%s",
1820 if (stat(lib, &lib_stat) == 0) {
1821 /* file exists, is it a lib */
1822 dlhandle = dlopen(lib, RTLD_LAZY);
1833 lib);
2137 * If the base matches driver and instance try and find a lib for it,
2643 * try and find a lib for this node