HomeSort by relevance Sort by last modified time
    Searched refs:nchunks (Results 1 - 14 of 14) sorted by null

  /external/ltp/testcases/kernel/fs/ftest/
ftest01.c 249 int nchunks; variable
265 nchunks = max_size / csize;
267 if ((bits = calloc((nchunks + 7) / 8, 1)) == 0) {
273 if ((hold_bits = calloc((nchunks + 7) / 8, 1)) == 0) {
312 * repeat until count = nchunks.
325 memset(bits, 0, (nchunks + 7) / 8);
326 memset(hold_bits, 0, (nchunks + 7) / 8);
331 while (count < nchunks) {
332 chunk = rand() % nchunks;
378 ft_dumpbits(bits, (nchunks + 7) / 8)
    [all...]
ftest05.c 250 int nchunks; variable
265 nchunks = max_size / csize;
267 if ((bits = calloc((nchunks + 7) / 8, 1)) == NULL) {
272 if ((hold_bits = calloc((nchunks + 7) / 8, 1)) == NULL) {
308 * repeat until count = nchunks.
320 memset(bits, 0, (nchunks + 7) / 8);
321 memset(hold_bits, 0, (nchunks + 7) / 8);
326 while (count < nchunks) {
327 chunk = rand() % nchunks;
370 ft_dumpbits(bits, (nchunks + 7) / 8)
    [all...]
ftest03.c 269 int nchunks; variable
293 nchunks = max_size / csize;
296 if ((bits = malloc((nchunks + 7) / 8)) == 0) {
300 if ((hold_bits = malloc((nchunks + 7) / 8)) == 0) {
360 * repeat unitl count = nchunks.
376 memset(bits, 0, (nchunks + 7) / 8);
377 memset(hold_bits, 0, (nchunks + 7) / 8);
392 while (count < nchunks) {
393 chunk = rand() % nchunks;
443 (nchunks + 7) / 8)
    [all...]
ftest07.c 266 int nchunks; variable
294 nchunks = max_size / csize;
297 if ((bits = malloc((nchunks + 7) / 8)) == NULL) {
300 if ((hold_bits = malloc((nchunks + 7) / 8)) == NULL) {
360 * repeat unitl count = nchunks.
373 memset(bits, 0, (nchunks + 7) / 8);
374 memset(hold_bits, 0, (nchunks + 7) / 8);
387 while (count < nchunks) {
388 chunk = rand() % nchunks;
438 (nchunks + 7) / 8)
    [all...]
ftest04.c 206 int nchunks; variable
227 nchunks = max_size / (testers * csize);
230 if ((bits = malloc((nchunks + 7) / 8)) == NULL) {
293 * repeat until count = nchunks.
304 memset(bits, 0, (nchunks + 7) / 8);
315 while (count < nchunks) {
316 chunk = rand() % nchunks;
361 (nchunks + 7) / 8);
390 (nchunks + 7) / 8);
425 if (count + collide > 2 * nchunks)
    [all...]
ftest08.c 219 int nchunks; variable
240 nchunks = max_size / (testers * csize);
243 if ((bits = malloc((nchunks + 7) / 8)) == NULL) {
303 * repeat until count = nchunks.
314 memset(bits, 0, (nchunks + 7) / 8);
328 while (count < nchunks) {
329 chunk = rand() % nchunks;
376 (nchunks + 7) / 8);
407 (nchunks + 7) / 8);
442 if (count + collide > 2 * nchunks)
    [all...]
  /external/ltp/testcases/kernel/mem/vmtests/
stack_space.c 201 int nchunks; variable
217 nchunks = MAXSIZE / csize;
218 bits = malloc((nchunks + 7) / 8);
243 * repeat until count = nchunks.
253 bfill(bits, 0, (nchunks + 7) / 8);
257 while (count < nchunks) {
258 chunk = rand() % nchunks;
277 dumpbits(bits, (nchunks + 7) / 8);
294 dumpbits(bits, (nchunks + 7) / 8);
305 if (count + collide > 2 * nchunks)
    [all...]
data_space.c 214 int nchunks; variable
242 nchunks = max_size / csize;
243 bits = malloc((nchunks + 7) / 8);
275 * repeat until count = nchunks.
285 bfill(bits, 0, (nchunks + 7) / 8);
289 while (count < nchunks) {
290 chunk = rand() % nchunks;
309 dumpbits(bits, (nchunks + 7) / 8);
326 dumpbits(bits, (nchunks + 7) / 8);
337 if (count + collide > 2 * nchunks)
    [all...]
  /external/python/cpython3/Lib/test/
test_file.py 224 nchunks = dataoffset // len(filler)
238 bag.write(filler * nchunks)
257 for i in range(nchunks):
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_file.py 237 nchunks = dataoffset // len(filler)
252 bag.write(filler * nchunks)
272 for i in range(nchunks):
test_file2k.py 310 nchunks = dataoffset // len(filler)
325 bag.write(filler * nchunks)
351 for i in range(nchunks):
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
libbitmask.c 223 int nchunks = 0, chunk; local
231 nchunks++;
233 chunk = nchunks - 1;
  /external/python/cpython2/Lib/test/
test_file.py 230 nchunks = dataoffset // len(filler)
244 bag.write(filler * nchunks)
263 for i in range(nchunks):
test_file2k.py 334 nchunks = dataoffset // len(filler)
349 bag.write(filler * nchunks)
375 for i in range(nchunks):
    [all...]

Completed in 321 milliseconds