Home
last modified time | relevance | path

Searched refs:TMP_FILELEN (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/fs/dmapi/
Dhole.c38 #define TMP_FILELEN 500000 macro
91 for (i = 0; i < (TMP_FILELEN / DUMMY_STRLEN); i++) { in main()
451 dm_off_t off = TMP_FILELEN + 1; in main()
737 TMP_FILELEN) in main()
794 lseek(fd, TMP_FILELEN - DUMMY_STRLEN, in main()
795 SEEK_SET)) != TMP_FILELEN - DUMMY_STRLEN) in main()
803 ((TMP_FILELEN / 2) & (~(BLK_SIZE - 1))))) == in main()
809 if (fd == -1 || off != (TMP_FILELEN - DUMMY_STRLEN) || rc == -1) { in main()
831 ((TMP_FILELEN / in main()
889 lseek(fd, TMP_FILELEN - DUMMY_STRLEN, in main()
[all …]
Dmmap.c38 #define TMP_FILELEN 50000 macro
120 for (i = 0; i < TMP_FILELEN / DUMMY_STRLEN; i++) { in main()
514 Regions[0].rg_offset = TMP_FILELEN / 2; in main()
568 off_t inoff = PAGEALIGN(TMP_FILELEN / 4); in main()
579 Regions[0].rg_offset = TMP_FILELEN / 2; in main()
633 off_t inoff = PAGEALIGN(TMP_FILELEN / 4); in main()
645 Regions[0].rg_offset = TMP_FILELEN / 4; in main()
713 off_t inoff = PAGEALIGN(TMP_FILELEN / 4); in main()
1133 Regions[0].rg_offset = TMP_FILELEN / 2; in main()
1187 off_t inoff = PAGEALIGN(TMP_FILELEN / 4); in main()
[all …]
Dinvis.c38 #define TMP_FILELEN 1000 macro
172 for (i = 0; i < TMP_FILELEN / DUMMY_STRLEN; i++) { in main()
412 dm_off_t inoff = TMP_FILELEN + 1; in main()
618 dm_off_t inoff = (TMP_FILELEN / 2) - ((TMP_FILELEN / 2) % 10); in main()
739 dm_off_t inoff = TMP_FILELEN - DUMMY_STRLEN; in main()
859 dm_off_t inoff = TMP_FILELEN - (DUMMY_STRLEN / 2); in main()
1345 dm_size_t outlen = TMP_FILELEN; in main()
1561 dm_off_t outoff = (TMP_FILELEN / 2) - ((TMP_FILELEN / 2) % 10); in main()
1691 dm_off_t outoff = TMP_FILELEN - DUMMY_STRLEN; in main()
1952 dm_off_t outoff = (TMP_FILELEN / 2) - ((TMP_FILELEN / 2) % 10); in main()
[all …]
Devent_sd.c45 #define TMP_FILELEN 10000 macro
129 for (i = 0; i < TMP_FILELEN / DUMMY_STRLEN; i++) { in main()
4763 lseek(fd, TMP_FILELEN + DUMMY_STRLEN, in main()
4764 SEEK_SET)) != TMP_FILELEN + DUMMY_STRLEN) { in main()
4768 if (rc == -1 || fd == -1 || off != TMP_FILELEN + DUMMY_STRLEN) { in main()
4798 } else if (offset != TMP_FILELEN + DUMMY_STRLEN) { in main()
4836 Regions[0].rg_size = TMP_FILELEN; in main()
4850 lseek(fd, TMP_FILELEN + DUMMY_STRLEN, in main()
4851 SEEK_SET)) != TMP_FILELEN + DUMMY_STRLEN) { in main()
4855 if (rc == -1 || fd == -1 || off != TMP_FILELEN + DUMMY_STRLEN) { in main()
[all …]
Dpmr_post.c50 #define TMP_FILELEN 10000 macro
127 for (i = 0; i < (TMP_FILELEN / DUMMY_STRLEN); i++) { in main()
Ddisp.c41 #define TMP_FILELEN 1000 macro
121 for (i = 0; i < TMP_FILELEN / DUMMY_STRLEN; i++) { in main()
3580 { TMP_FILELEN - 10, 0, DM_REGION_TRUNCATE }; in main()
3670 { TMP_FILELEN - 10, 0, DM_REGION_TRUNCATE }; in main()
Dpmr_pre.c44 #define TMP_FILELEN 10000 /* must be > 2*PAGE_SIZE */ macro
119 for (i = 0; i < (TMP_FILELEN / DUMMY_STRLEN); i++) {
Dattr.c45 #define TMP_FILELEN 1000 macro
217 for (i = 0; i < (TMP_FILELEN / DUMMY_STRLEN); i++) { in main()
5489 fileattr.fa_size = TMP_FILELEN / 2; in main()
5516 && (statfs2.st_size == TMP_FILELEN / 2)) { in main()
5561 fileattr.fa_size = TMP_FILELEN * 2; in main()
5588 && (statfs2.st_size == TMP_FILELEN * 2)) { in main()