HomeSort by relevance Sort by last modified time
    Searched refs:thread_data (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/fio/
flow.h 4 int flow_threshold_exceeded(struct thread_data *td);
5 void flow_init_job(struct thread_data *td);
6 void flow_exit_job(struct thread_data *td);
profile.h 10 int (*td_init)(struct thread_data *);
11 void (*td_exit)(struct thread_data *);
13 int (*fill_io_u_off)(struct thread_data *, struct io_u *, unsigned int *);
14 int (*fill_io_u_size)(struct thread_data *, struct io_u *, unsigned int);
15 struct fio_file *(*get_next_file)(struct thread_data *);
17 int (*io_u_lat)(struct thread_data *, uint64_t);
49 void profile_add_hooks(struct thread_data *);
51 int profile_td_init(struct thread_data *);
52 void profile_td_exit(struct thread_data *);
ioengine.h 93 int (*end_io)(struct thread_data *, struct io_u **);
135 int (*setup)(struct thread_data *);
136 int (*init)(struct thread_data *);
137 int (*prep)(struct thread_data *, struct io_u *);
138 int (*queue)(struct thread_data *, struct io_u *);
139 int (*commit)(struct thread_data *);
140 int (*getevents)(struct thread_data *, unsigned int, unsigned int, const struct timespec *);
141 struct io_u *(*event)(struct thread_data *, int);
142 int (*cancel)(struct thread_data *, struct io_u *);
143 void (*cleanup)(struct thread_data *);
    [all...]
cgroup.h 6 int cgroup_setup(struct thread_data *, struct flist_head *, char **);
7 void cgroup_shutdown(struct thread_data *, char **);
13 static inline int cgroup_setup(struct thread_data *td, struct flist_head *list,
20 static inline void cgroup_shutdown(struct thread_data *td, char **mnt)
file.h 61 * Each thread_data structure has a number of files associated with it,
167 struct thread_data;
168 extern void close_files(struct thread_data *);
169 extern void close_and_free_files(struct thread_data *);
170 extern uint64_t get_start_offset(struct thread_data *, struct fio_file *);
171 extern int __must_check setup_files(struct thread_data *);
172 extern int __must_check file_invalidate_cache(struct thread_data *, struct fio_file *);
173 extern int __must_check generic_open_file(struct thread_data *, struct fio_file *);
174 extern int __must_check generic_close_file(struct thread_data *, struct fio_file *);
175 extern int __must_check generic_get_file_size(struct thread_data *, struct fio_file *)
    [all...]
trim.h 7 extern int __must_check get_next_trim(struct thread_data *td, struct io_u *io_u);
8 extern int io_u_should_trim(struct thread_data *td, struct io_u *io_u);
14 static inline void remove_trim_entry(struct thread_data *td, struct io_piece *ipo)
23 static inline int get_next_trim(struct thread_data *td, struct io_u *io_u)
27 static inline int io_u_should_trim(struct thread_data *td, struct io_u *io_u)
31 static inline void remove_trim_entry(struct thread_data *td, struct io_piece *ipo)
fio_time.h 4 struct thread_data;
14 extern uint64_t usec_sleep(struct thread_data *, unsigned long);
17 extern int ramp_time_over(struct thread_data *);
18 extern int in_ramp_time(struct thread_data *);
iolog.h 59 struct thread_data *td;
176 extern int __must_check read_iolog_get(struct thread_data *, struct io_u *);
177 extern void log_io_u(const struct thread_data *, const struct io_u *);
178 extern void log_file(struct thread_data *, struct fio_file *, enum file_log_act);
179 extern int __must_check init_iolog(struct thread_data *td);
180 extern void log_io_piece(struct thread_data *, struct io_u *);
181 extern void unlog_io_piece(struct thread_data *, struct io_u *);
182 extern void trim_io_piece(struct thread_data *, const struct io_u *);
183 extern void queue_io_piece(struct thread_data *, struct io_piece *);
184 extern void prune_io_piece_log(struct thread_data *);
    [all...]
td_error.h 23 int td_non_fatal_error(struct thread_data *td, enum error_type_bit etype,
25 void update_error_count(struct thread_data *td, int err);
verify.h 77 extern void populate_verify_io_u(struct thread_data *, struct io_u *);
78 extern int __must_check get_next_verify(struct thread_data *td, struct io_u *);
79 extern int __must_check verify_io_u(struct thread_data *, struct io_u **);
80 extern int verify_io_u_async(struct thread_data *, struct io_u **);
81 extern void fill_verify_pattern(struct thread_data *td, void *p, unsigned int len, struct io_u *io_u, unsigned long seed, int use_seed);
82 extern void fill_buffer_pattern(struct thread_data *td, void *p, unsigned int len);
83 extern void fio_verify_init(struct thread_data *td);
88 extern int verify_async_init(struct thread_data *);
89 extern void verify_async_exit(struct thread_data *);
125 extern int verify_load_state(struct thread_data *, const char *)
    [all...]
fio.h 100 struct thread_data { struct
409 extern struct thread_data *threads;
411 static inline void fio_ro_check(const struct thread_data *td, struct io_u *io_u)
418 static inline int should_fsync(struct thread_data *td)
437 extern void clear_io_state(struct thread_data *);
438 extern int fio_options_parse(struct thread_data *, char **, int, int);
440 extern int fio_cmd_option_parse(struct thread_data *, const char *, char *);
441 extern int fio_cmd_ioengine_option_parse(struct thread_data *, const char *, char *);
442 extern void fio_fill_default_options(struct thread_data *);
444 extern void fio_options_set_ioengine_opts(struct option *long_options, struct thread_data *td)
    [all...]
cgroup.c 22 static char *find_cgroup_mnt(struct thread_data *td)
50 static void add_cgroup(struct thread_data *td, const char *name,
100 static char *get_cgroup_root(struct thread_data *td, char *mnt)
112 static int write_int_to_file(struct thread_data *td, const char *path,
132 static int cgroup_write_pid(struct thread_data *td, const char *root)
142 static int cgroup_del_pid(struct thread_data *td, char *mnt)
147 int cgroup_setup(struct thread_data *td, struct flist_head *clist, char **mnt)
189 void cgroup_shutdown(struct thread_data *td, char **mnt)
td_error.c 16 int td_non_fatal_error(struct thread_data *td, enum error_type_bit etype,
36 void update_error_count(struct thread_data *td, int err)
memory.c 15 void fio_unpin_memory(struct thread_data *td)
26 int fio_pin_memory(struct thread_data *td)
64 static int alloc_mem_shm(struct thread_data *td, unsigned int total_mem)
114 static void free_mem_shm(struct thread_data *td)
125 static int alloc_mem_mmap(struct thread_data *td, size_t total_mem)
180 static void free_mem_mmap(struct thread_data *td, size_t total_mem)
193 static int alloc_mem_malloc(struct thread_data *td, size_t total_mem)
202 static void free_mem_malloc(struct thread_data *td)
211 int allocate_io_mem(struct thread_data *td)
247 void free_io_mem(struct thread_data *td
    [all...]
io_u.c 36 static void mark_random_map(struct thread_data *td, struct io_u *io_u)
53 static uint64_t last_block(struct thread_data *td, struct fio_file *f,
86 static int __get_next_rand_offset(struct thread_data *td, struct fio_file *f,
136 static int __get_next_rand_offset_zipf(struct thread_data *td,
144 static int __get_next_rand_offset_pareto(struct thread_data *td,
160 static int get_off_from_method(struct thread_data *td, struct fio_file *f,
178 static inline int should_sort_io(struct thread_data *td)
192 static int should_do_random(struct thread_data *td, enum fio_ddir ddir)
206 static int get_next_rand_offset(struct thread_data *td, struct fio_file *f,
244 static int get_next_rand_block(struct thread_data *td, struct fio_file *f
    [all...]
  /external/fio/engines/
gfapi.h 17 extern int fio_gf_setup(struct thread_data *td);
18 extern void fio_gf_cleanup(struct thread_data *td);
19 extern int fio_gf_get_file_size(struct thread_data *td, struct fio_file *f);
20 extern int fio_gf_open_file(struct thread_data *td, struct fio_file *f);
21 extern int fio_gf_close_file(struct thread_data *td, struct fio_file *f);
22 extern int fio_gf_unlink_file(struct thread_data *td, struct fio_file *f);
skeleton_external.c 29 static struct io_u *fio_skeleton_event(struct thread_data *td, int event)
40 static int fio_skeleton_getevents(struct thread_data *td, unsigned int min,
50 static int fio_skeleton_cancel(struct thread_data *td, struct io_u *io_u)
65 static int fio_skeleton_queue(struct thread_data *td, struct io_u *io_u)
86 static int fio_skeleton_prep(struct thread_data *td, struct io_u *io_u)
96 static int fio_skeleton_init(struct thread_data *td)
106 static void fio_skeleton_cleanup(struct thread_data *td)
114 static int fio_skeleton_open(struct thread_data *td, struct fio_file *f)
122 static int fio_skeleton_close(struct thread_data *td, struct fio_file *f)
null.c 26 static struct io_u *fio_null_event(struct thread_data *td, int event)
33 static int fio_null_getevents(struct thread_data *td, unsigned int min_events,
48 static int fio_null_commit(struct thread_data *td)
63 static int fio_null_queue(struct thread_data *td, struct io_u *io_u)
78 static int fio_null_open(struct thread_data fio_unused *td,
84 static void fio_null_cleanup(struct thread_data *td)
95 static int fio_null_init(struct thread_data *td)
glusterfs_async.c 14 static struct io_u *fio_gf_event(struct thread_data *td, int event)
22 static int fio_gf_getevents(struct thread_data *td, unsigned int min,
59 static void fio_gf_io_u_free(struct thread_data *td, struct io_u *io_u)
71 static int fio_gf_io_u_init(struct thread_data *td, struct io_u *io_u)
99 static int fio_gf_async_queue(struct thread_data fio_unused * td,
140 int fio_gf_async_setup(struct thread_data *td)
cpu.c 55 static int fio_cpuio_queue(struct thread_data *td, struct io_u fio_unused *io_u)
68 static int fio_cpuio_init(struct thread_data *td)
96 static int fio_cpuio_open(struct thread_data fio_unused *td,
  /system/extras/memory_replay/tests/
ThreadTest.cpp 37 thread_data_t* thread_data = reinterpret_cast<thread_data_t*>(data); local
38 Thread* thread = thread_data->first;
39 volatile bool* finish = thread_data->second;
50 thread_data_t thread_data = std::make_pair(&thread, &finish); local
55 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForReady, &thread_data) == 0);
67 thread_data_t* thread_data = reinterpret_cast<thread_data_t*>(data); local
68 Thread* thread = thread_data->first;
69 volatile bool* finish = thread_data->second;
80 thread_data_t thread_data = std::make_pair(&thread, &finish); local
83 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForPending, &thread_data) == 0)
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_ethread.c 35 static int enc_worker_hook(EncWorkerData *const thread_data, void *unused) {
36 VP9_COMP *const cpi = thread_data->cpi;
44 for (t = thread_data->start; t < tile_rows * tile_cols;
49 vp9_encode_tile(cpi, thread_data->td, tile_row, tile_col);
96 EncWorkerData *thread_data = &cpi->tile_thr_data[i]; local
102 thread_data->cpi = cpi;
105 CHECK_MEM_ERROR(cm, thread_data->td,
106 vpx_memalign(32, sizeof(*thread_data->td)));
107 vp9_zero(*thread_data->td);
110 thread_data->td->leaf_tree = NULL
134 EncWorkerData *thread_data; local
172 EncWorkerData *const thread_data = (EncWorkerData*)worker->data1; local
191 EncWorkerData *const thread_data = (EncWorkerData*)worker->data1; local
    [all...]
  /external/curl/lib/
nwlib.c 162 libthreaddata_t *thread_data; local
167 thread_data = (libthreaddata_t *) NULL;
241 && !(err = NXKeyGetValue(key, (void **) &thread_data))
242 && !thread_data) {
250 thread_data = malloc(sizeof(libthreaddata_t));
252 if(thread_data) {
253 thread_data->_errno = 0;
254 thread_data->twentybytes = malloc(20);
256 if(!thread_data->twentybytes) {
257 free(thread_data);
    [all...]
  /external/mesa3d/src/gallium/tests/unit/
pipe_barrier_test.c 50 static PIPE_THREAD_ROUTINE(thread_function, thread_data)
52 int thread_id = *((int *) thread_data);
  /hardware/qcom/gps/msm8960/utils/
loc_timer.c 45 static void *timer_thread(void *thread_data)
52 t.callback_func = ((timer_data *)thread_data)->callback_func;
53 t.user_data = ((timer_data *)thread_data)->user_data;
54 t.time_msec = ((timer_data *)thread_data)->time_msec;
60 free(thread_data);

Completed in 461 milliseconds

1 2 3 4