Lines Matching refs:strp
215 char *strp; in main() local
473 strp = strchr(servname, ':'); in main()
474 if (strp == NULL) { in main()
478 *strp = '\0'; in main()
483 strp++; in main()
484 margs.cfs_backfsname = strp; in main()
671 char *savep, *strp, *valp; in set_cfs_args() local
688 optstrp = strp = strdup(optionp); in set_cfs_args()
690 if ((strp == NULL) || (reducep == NULL)) { in set_cfs_args()
699 while (*strp) { in set_cfs_args()
700 savep = strp; in set_cfs_args()
701 switch (getsubopt(&strp, cfs_opts, &valp)) { in set_cfs_args()
1021 char *strp; in get_mount_point() local
1036 strp = specp; in get_mount_point()
1037 while (strp = strchr(strp, '/')) { in get_mount_point()
1038 *strp = '_'; in get_mount_point()
1042 strp = malloc(MAXPATHLEN); in get_mount_point()
1043 if (strp == NULL) { in get_mount_point()
1050 sprintf(strp, "%s/%s", cachedirp, BACKMNT_NAME); in get_mount_point()
1051 xx = stat64(strp, &stat1); in get_mount_point()
1053 pr_err(gettext("%s is not a valid cache."), strp); in get_mount_point()
1059 namep = strp + strlen(strp); in get_mount_point()
1069 xx = mkdir(strp, 0755); in get_mount_point()
1083 *pathpp = strp; in get_mount_point()
1629 char *strp; in cfs_nfsv4_build_opts() local
1635 optstrp = strp = strdup(optionp); in cfs_nfsv4_build_opts()
1636 if (strp == NULL) { in cfs_nfsv4_build_opts()
1642 while (*strp) { in cfs_nfsv4_build_opts()
1643 savep = strp; in cfs_nfsv4_build_opts()
1644 switch (getsubopt(&strp, cfs_opts, &valp)) { in cfs_nfsv4_build_opts()