Searched refs:file_max (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/kernel/fs/ftest/ |
D | ftest01.c | 248 int file_max; /* file-max size */ variable 324 file_max = 0; in dotest() 353 if (CHUNK(chunk) >= file_max) { in dotest() 368 xfr, file_max, zero_buf[0]); in dotest() 401 xfr, file_max); in dotest() 442 if (CHUNK(chunk) + csize > file_max) in dotest() 443 file_max = CHUNK(chunk) + csize; in dotest() 488 chunk = rand() % (file_max / csize); in domisc() 489 file_max = CHUNK(chunk); in domisc() 490 last_trunc = file_max; in domisc() [all …]
|
D | ftest05.c | 249 int file_max; /* file-max size */ variable 319 file_max = 0; in dotest() 347 if (CHUNK(chunk) >= file_max) { in dotest() 360 xfr, file_max, zero_buf[0]); in dotest() 391 xfr, file_max); in dotest() 431 if (CHUNK(chunk) + csize > file_max) in dotest() 432 file_max = CHUNK(chunk) + csize; in dotest() 478 chunk = rand() % (file_max / csize); in domisc() 479 file_max = CHUNK(chunk); in domisc() 480 last_trunc = file_max; in domisc() [all …]
|
D | ftest03.c | 268 int file_max; /* file-max size */ variable 375 file_max = 0; in dotest() 414 if (CHUNK(chunk) >= file_max) { in dotest() 432 count, xfr, file_max); in dotest() 470 count, xfr, file_max); in dotest() 514 if (CHUNK(chunk) + csize > file_max) in dotest() 515 file_max = CHUNK(chunk) + csize; in dotest() 562 chunk = rand() % (file_max / csize); in domisc() 563 file_max = CHUNK(chunk); in domisc() 564 last_trunc = file_max; in domisc() [all …]
|
D | ftest07.c | 265 long long unsigned int file_max; /* file-max size */ variable 372 file_max = 0; in dotest() 409 if (CHUNK(chunk) >= file_max) { in dotest() 427 count, xfr, file_max); in dotest() 465 count, xfr, file_max); in dotest() 509 if (CHUNK(chunk) + csize > file_max) in dotest() 510 file_max = CHUNK(chunk) + csize; in dotest() 556 chunk = rand() % (file_max / csize); in domisc() 557 file_max = CHUNK(chunk); in domisc() 558 last_trunc = file_max; in domisc() [all …]
|
/third_party/littlefs/ |
D | lfs.h | 253 lfs_size_t file_max; member 376 lfs_size_t file_max; member 413 lfs_size_t file_max; member
|
D | lfs.c | 416 superblock->file_max = lfs_fromle32(superblock->file_max); in lfs_superblock_fromle32() 425 superblock->file_max = lfs_tole32(superblock->file_max); in lfs_superblock_tole32() 2960 if (file->pos + size > lfs->file_max) { 3075 if (npos > lfs->file_max) { 3559 LFS_ASSERT(lfs->cfg->file_max <= LFS_FILE_MAX); 3560 lfs->file_max = lfs->cfg->file_max; 3561 if (!lfs->file_max) { 3562 lfs->file_max = LFS_FILE_MAX; 3639 .file_max = lfs->file_max, 3744 if (superblock.file_max) { [all …]
|