Lines Matching refs:uvp
989 * uvp cachefs_user_values to copy from
995 * precond(uvp)
1001 cachefs_convert_uv2cl(const struct cachefs_user_values *uvp,
1020 temp = (double)uvp->uv_maxblocks / 100.0 *
1024 temp = (double)uvp->uv_minblocks / 100.0 *
1028 temp = (double)uvp->uv_threshblocks / 100.0 *
1032 temp = (double)uvp->uv_maxfiles / 100.0 * (double)fs.f_files + .5;
1035 temp = (double)uvp->uv_minfiles / 100.0 * (double)fs.f_files + .5;
1038 temp = (double)uvp->uv_threshfiles / 100.0 * (double)fs.f_files +.5;
1042 clp->cl_maxfiles = uvp->uv_maxfilesize * ftmp + .5;
1044 clp->cl_blkhiwat = uvp->uv_hiblocks / 100.0 * clp->cl_maxblks + .5;
1045 clp->cl_blklowat = uvp->uv_lowblocks / 100.0 * clp->cl_maxblks + .5;
1047 clp->cl_filehiwat = uvp->uv_hifiles / 100.0 * clp->cl_maxinodes + .5;
1048 clp->cl_filelowat = uvp->uv_lowfiles / 100.0 * clp->cl_maxinodes + .5;
1065 * uvp cachefs_user_values to copy into
1071 * precond(uvp)
1077 struct cachefs_user_values *uvp, const char *dirp)
1102 uvp->uv_maxblocks = (int)temp;
1107 uvp->uv_minblocks = (int)temp;
1112 uvp->uv_threshblocks = (int)temp;
1116 uvp->uv_maxfiles = (int)temp;
1120 uvp->uv_minfiles = (int)temp;
1124 uvp->uv_threshfiles = (int)temp;
1127 uvp->uv_maxfilesize = (ltmp + (MAXBSIZE / 2)) / (1024 * 1024);
1131 uvp->uv_hiblocks = xx;
1135 uvp->uv_lowblocks = xx;
1139 uvp->uv_hifiles = xx;
1143 uvp->uv_lowfiles = xx;