Lines Matching refs:dirp
103 int update_cachelabel(char *dirp, char *optionp);
106 int cache_stats(char *dirp);
107 int resource_file_grow(char *dirp, int oldcnt, int newcnt);
108 int resource_file_dirty(char *dirp);
585 update_cachelabel(char *dirp, char *optionp) in update_cachelabel() argument
594 if (cachefs_inuse(dirp)) { in update_cachelabel()
596 dirp); in update_cachelabel()
601 if (strlen(dirp) > (size_t)PATH_MAX) { in update_cachelabel()
603 dirp); in update_cachelabel()
608 sprintf(path, "%s/%s", dirp, CACHELABEL_NAME); in update_cachelabel()
623 xx = cachefs_convert_cl2uv(&clabel_orig, &uv_orig, dirp); in update_cachelabel()
652 xx = cachefs_convert_uv2cl(&uv_new, &clabel_new, dirp); in update_cachelabel()
679 sprintf(path, "%s/%s.dup", dirp, CACHELABEL_NAME); in update_cachelabel()
689 xx = resource_file_grow(dirp, clabel_orig.cl_maxinodes, in update_cachelabel()
781 cache_stats(char *dirp) in cache_stats() argument
793 if (strlen(dirp) > (size_t)PATH_MAX) { in cache_stats()
794 pr_err(gettext("path name %s is too long."), dirp); in cache_stats()
799 sprintf(path, "%s/%s", dirp, CACHELABEL_NAME); in cache_stats()
812 xx = cachefs_convert_cl2uv(&clabel, &uv, dirp); in cache_stats()
830 if ((dp = opendir(dirp)) == NULL) { in cache_stats()
831 pr_err(gettext("opendir %s failed: %s"), dirp, in cache_stats()
845 sprintf(path, "%s/%s", dirp, dep->d_name); in cache_stats()
891 resource_file_grow(char *dirp, int oldcnt, int newcnt) in resource_file_grow() argument
910 sprintf(path, "%s/%s", dirp, RESOURCE_NAME); in resource_file_grow()
1063 resource_file_dirty(char *dirp) in resource_file_dirty() argument
1072 sprintf(path, "%s/%s", dirp, RESOURCE_NAME); in resource_file_dirty()
1139 char *dirp; in issue_cod() local
1171 dirp = mt.mnt_mountp; in issue_cod()
1174 dirp = name; in issue_cod()
1178 fd = open(dirp, O_RDONLY); in issue_cod()
1181 dirp, strerror(errno)); in issue_cod()
1190 dirp); in issue_cod()
1195 " mounted demandconst."), dirp); in issue_cod()
1198 " on %s\n %s."), dirp, strerror(errno)); in issue_cod()