Lines Matching refs:lim
535 # define dtime(tp) (((double)times(tp))/sh.lim.clk_tck)
805 if(!sh.lim.fs3d) in vpath_set()
1103 shp->lim.clk_tck = getconf("CLK_TCK"); in sh_init()
1104 shp->lim.arg_max = getconf("ARG_MAX"); in sh_init()
1105 shp->lim.open_max = getconf("OPEN_MAX"); in sh_init()
1106 shp->lim.child_max = getconf("CHILD_MAX"); in sh_init()
1107 shp->lim.ngroups_max = getconf("NGROUPS_MAX"); in sh_init()
1108 shp->lim.posix_version = getconf("VERSION"); in sh_init()
1109 shp->lim.posix_jobcontrol = getconf("JOB_CONTROL"); in sh_init()
1110 if(shp->lim.arg_max <=0) in sh_init()
1111 shp->lim.arg_max = ARG_MAX; in sh_init()
1112 if(shp->lim.child_max <=0) in sh_init()
1113 shp->lim.child_max = CHILD_MAX; in sh_init()
1114 if((v = getconf("PID_MAX")) > 0 && shp->lim.child_max > v) in sh_init()
1115 shp->lim.child_max = v; in sh_init()
1116 if(shp->lim.open_max <0) in sh_init()
1117 shp->lim.open_max = OPEN_MAX; in sh_init()
1118 if(shp->lim.open_max > (SHRT_MAX-2)) in sh_init()
1119 shp->lim.open_max = SHRT_MAX-2; in sh_init()
1120 if(shp->lim.clk_tck <=0) in sh_init()
1121 shp->lim.clk_tck = CLK_TCK; in sh_init()
1124 shp->lim.fs3d = 1; in sh_init()