Lines Matching refs:data
21 static void test_hashmap_sanity(int i, void *data) in test_hashmap_sanity() argument
92 static void test_arraymap_sanity(int i, void *data) in test_arraymap_sanity() argument
186 static void run_parallel(int tasks, void (*fn)(int i, void *data), void *data) in run_parallel() argument
194 fn(i, data); in run_parallel()
218 static void do_work(int fn, void *data) in do_work() argument
220 int map_fd = ((int *)data)[0]; in do_work()
221 int do_update = ((int *)data)[1]; in do_work()
237 int data[2]; in test_map_parallel() local
247 data[0] = map_fd; in test_map_parallel()
248 data[1] = DO_UPDATE; in test_map_parallel()
254 run_parallel(TASKS, do_work, data); in test_map_parallel()
274 data[1] = DO_DELETE; in test_map_parallel()
275 run_parallel(TASKS, do_work, data); in test_map_parallel()