Lines Matching refs:max
19 max=$2
140 start_pids_tasks2 $max
159 tmp=$((max - 1))
160 tst_res TINFO "limit the number of pid to $max"
161 ROD echo $max \> $testpath/pids.max
182 lim=$((max + 2))
184 ROD echo $lim \> $testpath/pids.max
186 start_pids_tasks2 $max
205 ROD echo 0 \> $testpath/pids.max
207 start_pids_tasks2 $max
217 echo -1 > $testpath/pids.max
229 start_pids_tasks2 $max
231 lim=$((max - 1))
232 ROD echo $lim \> $testpath/pids.max
252 lim=$((max / subcgroup_num))
253 if [ "$((lim * subcgroup_num))" -ne "$max" ]; then
258 ROD echo $max \> $testpath/pids.max
300 ROD echo $max \> $testpath/pids.max
306 lim=$((max - 1))
307 ROD echo $lim \> $testpath/child/pids.max
308 tmp=$((max - 2))
329 lim=$((max - 1))
336 ROD echo $max \> $testpath/child$i/pids.max
392 tst_res TINFO "Running testcase $caseno with $max processes"