/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, 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)
|
iolog.h | 108 extern int __must_check read_iolog_get(struct thread_data *, struct io_u *); 109 extern void log_io_u(struct thread_data *, struct io_u *); 110 extern void log_file(struct thread_data *, struct fio_file *, enum file_log_act); 111 extern int __must_check init_iolog(struct thread_data *td); 112 extern void log_io_piece(struct thread_data *, struct io_u *); 113 extern void unlog_io_piece(struct thread_data *, struct io_u *); 114 extern void trim_io_piece(struct thread_data *, struct io_u *); 115 extern void queue_io_piece(struct thread_data *, struct io_piece *); 116 extern void prune_io_piece_log(struct thread_data *); 117 extern void write_iolog_close(struct thread_data *); [all...] |
file.h | 59 * Each thread_data structure has a number of files associated with it, 159 struct thread_data; 160 extern void close_files(struct thread_data *); 161 extern void close_and_free_files(struct thread_data *); 162 extern uint64_t get_start_offset(struct thread_data *, struct fio_file *); 163 extern int __must_check setup_files(struct thread_data *); 164 extern int __must_check file_invalidate_cache(struct thread_data *, struct fio_file *); 165 extern int __must_check generic_open_file(struct thread_data *, struct fio_file *); 166 extern int __must_check generic_close_file(struct thread_data *, struct fio_file *); 167 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 | 12 extern void usec_sleep(struct thread_data *, unsigned long); 15 extern int ramp_time_over(struct thread_data *); 16 extern int in_ramp_time(struct thread_data *);
|
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 *);
|
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);
|
fio.h | 97 struct thread_data { struct 399 extern struct thread_data *threads; 401 static inline void fio_ro_check(struct thread_data *td, struct io_u *io_u) 408 static inline int should_fsync(struct thread_data *td) 427 extern void clear_io_state(struct thread_data *); 428 extern int fio_options_parse(struct thread_data *, char **, int, int); 430 extern int fio_cmd_option_parse(struct thread_data *, const char *, char *); 431 extern int fio_cmd_ioengine_option_parse(struct thread_data *, const char *, char *); 432 extern void fio_fill_default_options(struct thread_data *); 434 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) 109 static void free_mem_shm(struct thread_data *td) 118 static int alloc_mem_mmap(struct thread_data *td, size_t total_mem) 173 static void free_mem_mmap(struct thread_data *td, size_t total_mem) 185 static int alloc_mem_malloc(struct thread_data *td, size_t total_mem) 194 static void free_mem_malloc(struct thread_data *td) 203 int allocate_io_mem(struct thread_data *td) 239 void free_io_mem(struct thread_data *td [all...] |
iolog.c | 17 void queue_io_piece(struct thread_data *td, struct io_piece *ipo) 23 void log_io_u(struct thread_data *td, struct io_u *io_u) 38 void log_file(struct thread_data *td, struct fio_file *f, 58 static void iolog_delay(struct thread_data *td, unsigned long delay) 84 static int ipo_special(struct thread_data *td, struct io_piece *ipo) 118 int read_iolog_get(struct thread_data *td, struct io_u *io_u) 165 void prune_io_piece_log(struct thread_data *td) 190 void log_io_piece(struct thread_data *td, struct io_u *io_u) 271 void unlog_io_piece(struct thread_data *td, struct io_u *io_u) 288 void trim_io_piece(struct thread_data *td, struct io_u *io_u [all...] |
flow.c | 16 int flow_threshold_exceeded(struct thread_data *td) 92 void flow_init_job(struct thread_data *td) 98 void flow_exit_job(struct thread_data *td)
|
profile.c | 89 void profile_add_hooks(struct thread_data *td) 106 int profile_td_init(struct thread_data *td) 116 void profile_td_exit(struct thread_data *td)
|
/external/fio/engines/ |
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)
|
cpu.c | 11 struct thread_data *td; 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,
|
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)
|
rbd.c | 25 struct thread_data *td; 64 static int _fio_setup_rbd_data(struct thread_data *td, 93 static int _fio_rbd_connect(struct thread_data *td) 196 static struct io_u *fio_rbd_event(struct thread_data *td, int event) 203 static int fio_rbd_getevents(struct thread_data *td, unsigned int min, 236 static int fio_rbd_queue(struct thread_data *td, struct io_u *io_u) 303 static int fio_rbd_init(struct thread_data *td) 320 static void fio_rbd_cleanup(struct thread_data *td) 332 static int fio_rbd_setup(struct thread_data *td) 400 static int fio_rbd_open(struct thread_data *td, struct fio_file *f [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
pipe_barrier_test.c | 50 static PIPE_THREAD_ROUTINE(thread_function, thread_data) 52 int thread_id = *((int *) thread_data);
|
/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);
|
/external/lldb/source/Plugins/Process/elf-core/ |
ProcessElfCore.cpp | 440 ParseFreeBSDPrStatus(ThreadData *thread_data, DataExtractor &data, 457 thread_data->signo = data.GetU32(&offset); // pr_cursig 463 thread_data->gpregset = DataExtractor(data, offset, len); 467 ParseFreeBSDThrMisc(ThreadData *thread_data, DataExtractor &data) 470 thread_data->name = data.GetCStr(&offset, 20); 498 ThreadData *thread_data = new ThreadData(); local 518 assert(thread_data->gpregset.GetByteSize() > 0); 520 m_thread_data.push_back(*thread_data); 521 thread_data = new ThreadData(); 538 ParseFreeBSDPrStatus(thread_data, note_data, arch) [all...] |