Lines Matching defs:dyncomp

29 	char *dyncomp;
48 const char *dyncomp;
60 const char *dyncomp, char **pathpp, int *l_errnop);
63 const char *dyncomp, char **pathpp, int *l_errnop);
233 * Given a bus or device ap_id <hba_phys, dyncomp>, returns the physical
241 const char *dyncomp,
252 if (dyncomp == NULL) {
268 if (strchr(dyncomp, '/') != NULL) {
269 ret = devlink_dyn_to_devpath(hba_phys, dyncomp, pathpp,
271 } else if (strstr(dyncomp, PATH_APID_DYN_SEP) != NULL) {
272 ret = path_apid_dyn_to_path(hba_phys, dyncomp, pathpp,
275 ret = drv_dyn_to_devpath(hba_phys, dyncomp, pathpp, l_errnop);
414 const char *dyncomp,
423 if (dyncomp == NULL || *pathpp != NULL) {
431 dpt.dyncomp = dyncomp;
465 assert(dptp->hba_phys != NULL && dptp->dyncomp != NULL);
510 strcmp(dptp->dyncomp, drvinst) == 0) {
542 const char *dyncomp,
556 dynt.dyncomp = (char *)dyncomp;
753 assert(dynt.dyncomp != NULL);
754 *dyncompp = dynt.dyncomp;
770 if (dyntp->dyncomp != NULL) {
782 if ((dyntp->dyncomp = strdup(cp)) == NULL) {
788 cp1 = strrchr(dyntp->dyncomp, '/');
797 S_FREE(dyntp->dyncomp);
817 assert(dyntp->dyncomp != NULL);
827 if (strncmp(dyntp->dyncomp, DSK_DIR SLASH, strlen(DSK_DIR SLASH)) != 0)
831 dyntp->dyncomp);
870 if (dyntp->dyncomp != NULL) {
879 if ((dyntp->dyncomp = strdup(cp)) == NULL) {
885 cp = strrchr(dyntp->dyncomp, '/');
909 assert(dyntp->dyncomp != NULL);
917 if (strncmp(dyntp->dyncomp, RMT_DIR SLASH, strlen(RMT_DIR SLASH))) {
923 dyntp->dyncomp);
964 if (dyntp->dyncomp != NULL) {
984 if ((dyntp->dyncomp = strdup(cp)) == NULL) {
1002 assert(dyntp->dyncomp != NULL);
1011 linklen = strlen(dyntp->dyncomp) + 1;
1017 if (strncmp(dyntp->dyncomp, DEV_DIR SLASH, prelen) == 0) {
1019 } else if (*dyntp->dyncomp != '/' && linklen > 1 &&
1020 strchr(dyntp->dyncomp + 1, '/') != NULL) {
1037 (void) strcat(dyntp->devlink, dyntp->dyncomp);