• Home
  • Raw
  • Download

Lines Matching refs:tst_count

155 	int fd, dirfd, len = 0, i = 0, test_num = 0, tst_count = 0;  in do_test()  local
189 event_set[tst_count].mask = FAN_CREATE | FAN_ONDIR; in do_test()
190 event_set[tst_count].fid = &root_fid; in do_test()
191 event_set[tst_count].child_fid = NULL; in do_test()
192 strcpy(event_set[tst_count].name, DIR_NAME1); in do_test()
193 tst_count++; in do_test()
215 event_set[tst_count].mask = FAN_CREATE | FAN_MOVED_FROM; in do_test()
216 event_set[tst_count].fid = &dir_fid; in do_test()
217 event_set[tst_count].child_fid = NULL; in do_test()
218 strcpy(event_set[tst_count].name, FILE_NAME1); in do_test()
219 tst_count++; in do_test()
228 event_set[tst_count].mask = FAN_OPEN; in do_test()
229 event_set[tst_count].fid = &dir_fid; in do_test()
230 event_set[tst_count].child_fid = &file_fid; in do_test()
231 strcpy(event_set[tst_count].name, FILE_NAME1); in do_test()
232 tst_count++; in do_test()
235 event_set[tst_count].mask = FAN_DELETE | FAN_MOVED_TO; in do_test()
236 event_set[tst_count].fid = &dir_fid; in do_test()
237 event_set[tst_count].child_fid = NULL; in do_test()
238 strcpy(event_set[tst_count].name, FILE_NAME2); in do_test()
239 tst_count++; in do_test()
245 event_set[tst_count].mask = FAN_OPEN | FAN_CLOSE_WRITE; in do_test()
246 event_set[tst_count].fid = &dir_fid; in do_test()
247 event_set[tst_count].child_fid = &file_fid; in do_test()
248 strcpy(event_set[tst_count].name, ""); in do_test()
249 tst_count++; in do_test()
257 event_set[tst_count].mask = FAN_DELETE_SELF | FAN_MOVE_SELF; in do_test()
258 event_set[tst_count].fid = &file_fid; in do_test()
259 event_set[tst_count].child_fid = NULL; in do_test()
260 strcpy(event_set[tst_count].name, ""); in do_test()
261 tst_count++; in do_test()
269 event_set[tst_count].mask = FAN_CLOSE_WRITE; in do_test()
270 event_set[tst_count].fid = &dir_fid; in do_test()
271 event_set[tst_count].child_fid = &file_fid; in do_test()
272 strcpy(event_set[tst_count].name, FILE_NAME2); in do_test()
273 tst_count++; in do_test()
285 event_set[tst_count].mask = FAN_OPEN | FAN_CLOSE_NOWRITE | FAN_ONDIR; in do_test()
286 event_set[tst_count].fid = &dir_fid; in do_test()
287 event_set[tst_count].child_fid = NULL; in do_test()
288 strcpy(event_set[tst_count].name, "."); in do_test()
289 tst_count++; in do_test()
294 event_set[tst_count].mask = FAN_DELETE_SELF | FAN_MOVE_SELF | FAN_ONDIR; in do_test()
295 event_set[tst_count].fid = &dir_fid; in do_test()
296 event_set[tst_count].child_fid = NULL; in do_test()
297 strcpy(event_set[tst_count].name, "."); in do_test()
298 tst_count++; in do_test()
306 event_set[tst_count].mask = FAN_MOVED_FROM | FAN_ONDIR; in do_test()
307 event_set[tst_count].fid = &root_fid; in do_test()
308 event_set[tst_count].child_fid = NULL; in do_test()
309 strcpy(event_set[tst_count].name, DIR_NAME1); in do_test()
310 tst_count++; in do_test()
311 event_set[tst_count].mask = FAN_DELETE | FAN_MOVED_TO | FAN_ONDIR; in do_test()
312 event_set[tst_count].fid = &root_fid; in do_test()
313 event_set[tst_count].child_fid = NULL; in do_test()
314 strcpy(event_set[tst_count].name, DIR_NAME2); in do_test()
315 tst_count++; in do_test()
317 event_set[tst_count].mask = 0; in do_test()
383 if (test_num >= tst_count) { in do_test()
523 if (test_num < tst_count) in do_test()
538 for (; test_num < tst_count; test_num++) { in do_test()