/external/fio/ |
D | 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 …]
|
D | file.h | 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 *); 177 extern int __must_check pre_read_files(struct thread_data *); [all …]
|
D | 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 …]
|
D | 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) in fio_ro_check() 418 static inline int should_fsync(struct thread_data *td) in should_fsync() 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 …]
|
D | 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 *);
|
D | 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_… 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 …]
|
D | 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) in remove_trim_entry() 23 static inline int get_next_trim(struct thread_data *td, struct io_u *io_u) in get_next_trim() 27 static inline int io_u_should_trim(struct thread_data *td, struct io_u *io_u) in io_u_should_trim() 31 static inline void remove_trim_entry(struct thread_data *td, struct io_piece *ipo) in remove_trim_entry()
|
D | io_u.c | 36 static void mark_random_map(struct thread_data *td, struct io_u *io_u) in mark_random_map() 53 static uint64_t last_block(struct thread_data *td, struct fio_file *f, in last_block() 86 static int __get_next_rand_offset(struct thread_data *td, struct fio_file *f, in __get_next_rand_offset() 136 static int __get_next_rand_offset_zipf(struct thread_data *td, in __get_next_rand_offset_zipf() 144 static int __get_next_rand_offset_pareto(struct thread_data *td, in __get_next_rand_offset_pareto() 160 static int get_off_from_method(struct thread_data *td, struct fio_file *f, in get_off_from_method() 178 static inline int should_sort_io(struct thread_data *td) in should_sort_io() 192 static int should_do_random(struct thread_data *td, enum fio_ddir ddir) in should_do_random() 206 static int get_next_rand_offset(struct thread_data *td, struct fio_file *f, in get_next_rand_offset() 244 static int get_next_rand_block(struct thread_data *td, struct fio_file *f, in get_next_rand_block() [all …]
|
D | cgroup.c | 22 static char *find_cgroup_mnt(struct thread_data *td) in find_cgroup_mnt() 50 static void add_cgroup(struct thread_data *td, const char *name, in add_cgroup() 100 static char *get_cgroup_root(struct thread_data *td, char *mnt) in get_cgroup_root() 112 static int write_int_to_file(struct thread_data *td, const char *path, in write_int_to_file() 132 static int cgroup_write_pid(struct thread_data *td, const char *root) in cgroup_write_pid() 142 static int cgroup_del_pid(struct thread_data *td, char *mnt) in cgroup_del_pid() 147 int cgroup_setup(struct thread_data *td, struct flist_head *clist, char **mnt) in cgroup_setup() 189 void cgroup_shutdown(struct thread_data *td, char **mnt) in cgroup_shutdown()
|
D | ioengines.c | 88 static struct ioengine_ops *dlopen_ioengine(struct thread_data *td, in dlopen_ioengine() 134 struct ioengine_ops *load_ioengine(struct thread_data *td, const char *name) in load_ioengine() 174 void free_ioengine(struct thread_data *td) in free_ioengine() 191 void close_ioengine(struct thread_data *td) in close_ioengine() 203 int td_io_prep(struct thread_data *td, struct io_u *io_u) in td_io_prep() 222 int td_io_getevents(struct thread_data *td, unsigned int min, unsigned int max, in td_io_getevents() 265 int td_io_queue(struct thread_data *td, struct io_u *io_u) in td_io_queue() 371 int td_io_init(struct thread_data *td) in td_io_init() 391 int td_io_commit(struct thread_data *td) in td_io_commit() 417 int td_io_open_file(struct thread_data *td, struct fio_file *f) in td_io_open_file() [all …]
|
D | libfio.c | 80 static void reset_io_counters(struct thread_data *td) in reset_io_counters() 104 void clear_io_state(struct thread_data *td) in clear_io_state() 123 void reset_all_stats(struct thread_data *td) in reset_all_stats() 170 void td_set_runstate(struct thread_data *td, int runstate) in td_set_runstate() 180 int td_bump_runstate(struct thread_data *td, int new_state) in td_bump_runstate() 188 void td_restore_runstate(struct thread_data *td, int old_state) in td_restore_runstate() 193 void fio_mark_td_terminate(struct thread_data *td) in fio_mark_td_terminate() 202 struct thread_data *td; in fio_terminate_threads() 238 struct thread_data *td; in fio_running_or_pending_io_threads()
|
D | 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, in cgroup_setup() 20 static inline void cgroup_shutdown(struct thread_data *td, char **mnt) in cgroup_shutdown()
|
D | filesetup.c | 27 static inline void clear_error(struct thread_data *td) in clear_error() 36 static int extend_file(struct thread_data *td, struct fio_file *f) in extend_file() 201 static int pre_read_file(struct thread_data *td, struct fio_file *f) in pre_read_file() 259 static unsigned long long get_rand_file_size(struct thread_data *td) in get_rand_file_size() 272 static int file_size(struct thread_data *td, struct fio_file *f) in file_size() 285 static int bdev_size(struct thread_data *td, struct fio_file *f) in bdev_size() 315 static int char_size(struct thread_data *td, struct fio_file *f) in char_size() 350 static int get_file_size(struct thread_data *td, struct fio_file *f) in get_file_size() 380 static int __file_invalidate_cache(struct thread_data *td, struct fio_file *f, in __file_invalidate_cache() 433 int file_invalidate_cache(struct thread_data *td, struct fio_file *f) in file_invalidate_cache() [all …]
|
D | 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 *);
|
D | memory.c | 15 void fio_unpin_memory(struct thread_data *td) in fio_unpin_memory() 26 int fio_pin_memory(struct thread_data *td) in fio_pin_memory() 64 static int alloc_mem_shm(struct thread_data *td, unsigned int total_mem) in alloc_mem_shm() 114 static void free_mem_shm(struct thread_data *td) in free_mem_shm() 125 static int alloc_mem_mmap(struct thread_data *td, size_t total_mem) in alloc_mem_mmap() 180 static void free_mem_mmap(struct thread_data *td, size_t total_mem) in free_mem_mmap() 193 static int alloc_mem_malloc(struct thread_data *td, size_t total_mem) in alloc_mem_malloc() 202 static void free_mem_malloc(struct thread_data *td) in free_mem_malloc() 211 int allocate_io_mem(struct thread_data *td) in allocate_io_mem() 247 void free_io_mem(struct thread_data *td) in free_io_mem()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_ethread.c | 34 static int enc_worker_hook(EncWorkerData *const thread_data, void *unused) { in enc_worker_hook() argument 35 VP9_COMP *const cpi = thread_data->cpi; in enc_worker_hook() 43 for (t = thread_data->start; t < tile_rows * tile_cols; in enc_worker_hook() 48 vp9_encode_tile(cpi, thread_data->td, tile_row, tile_col); in enc_worker_hook() 95 EncWorkerData *thread_data = &cpi->tile_thr_data[i]; in vp9_encode_tiles_mt() local 101 thread_data->cpi = cpi; in vp9_encode_tiles_mt() 104 CHECK_MEM_ERROR(cm, thread_data->td, in vp9_encode_tiles_mt() 105 vpx_memalign(32, sizeof(*thread_data->td))); in vp9_encode_tiles_mt() 106 vp9_zero(*thread_data->td); in vp9_encode_tiles_mt() 109 thread_data->td->leaf_tree = NULL; in vp9_encode_tiles_mt() [all …]
|
/external/fio/engines/ |
D | skeleton_external.c | 29 static struct io_u *fio_skeleton_event(struct thread_data *td, int event) in fio_skeleton_event() 40 static int fio_skeleton_getevents(struct thread_data *td, unsigned int min, in fio_skeleton_getevents() 50 static int fio_skeleton_cancel(struct thread_data *td, struct io_u *io_u) in fio_skeleton_cancel() 65 static int fio_skeleton_queue(struct thread_data *td, struct io_u *io_u) in fio_skeleton_queue() 86 static int fio_skeleton_prep(struct thread_data *td, struct io_u *io_u) in fio_skeleton_prep() 96 static int fio_skeleton_init(struct thread_data *td) in fio_skeleton_init() 106 static void fio_skeleton_cleanup(struct thread_data *td) in fio_skeleton_cleanup() 114 static int fio_skeleton_open(struct thread_data *td, struct fio_file *f) in fio_skeleton_open() 122 static int fio_skeleton_close(struct thread_data *td, struct fio_file *f) in fio_skeleton_close()
|
D | 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);
|
D | windowsaio.c | 39 static int fio_windowsaio_getevents(struct thread_data *td, unsigned int min, 41 static struct io_u *fio_windowsaio_event(struct thread_data *td, int event); 42 static int fio_windowsaio_queue(struct thread_data *td, 44 static void fio_windowsaio_cleanup(struct thread_data *td); 46 static int fio_windowsaio_init(struct thread_data *td); 47 static int fio_windowsaio_open_file(struct thread_data *td, struct fio_file *f); 48 static int fio_windowsaio_close_file(struct thread_data fio_unused *td, struct fio_file *f); 50 static int fio_windowsaio_init(struct thread_data *td) in fio_windowsaio_init() 130 static void fio_windowsaio_cleanup(struct thread_data *td) in fio_windowsaio_cleanup() 151 static int fio_windowsaio_open_file(struct thread_data *td, struct fio_file *f) in fio_windowsaio_open_file() [all …]
|
D | net.c | 39 struct thread_data *td; 225 static int set_window_size(struct thread_data *td, int fd) in set_window_size() 260 static int set_mss(struct thread_data *td, int fd) in set_mss() 288 static int poll_wait(struct thread_data *td, int fd, short events) in poll_wait() 329 static int fio_netio_prep(struct thread_data *td, struct io_u *io_u) in fio_netio_prep() 374 static int splice_in(struct thread_data *td, struct io_u *io_u) in splice_in() 384 static int splice_out(struct thread_data *td, struct io_u *io_u, in splice_out() 422 static int vmsplice_io_u_out(struct thread_data *td, struct io_u *io_u, in vmsplice_io_u_out() 433 static int vmsplice_io_u_in(struct thread_data *td, struct io_u *io_u) in vmsplice_io_u_in() 444 static int fio_netio_splice_in(struct thread_data *td, struct io_u *io_u) in fio_netio_splice_in() [all …]
|
D | binject.c | 62 static unsigned int binject_read_commands(struct thread_data *td, void *p, in binject_read_commands() 93 static int fio_binject_getevents(struct thread_data *td, unsigned int min, in fio_binject_getevents() 173 static int fio_binject_doio(struct thread_data *td, struct io_u *io_u) in fio_binject_doio() 186 static int fio_binject_prep(struct thread_data *td, struct io_u *io_u) in fio_binject_prep() 216 static int fio_binject_queue(struct thread_data *td, struct io_u *io_u) in fio_binject_queue() 235 static struct io_u *fio_binject_event(struct thread_data *td, int event) in fio_binject_event() 242 static int binject_open_ctl(struct thread_data *td) in binject_open_ctl() 253 static void binject_unmap_dev(struct thread_data *td, struct binject_file *bf) in binject_unmap_dev() 275 static int binject_map_dev(struct thread_data *td, struct binject_file *bf, in binject_map_dev() 330 static int fio_binject_close_file(struct thread_data *td, struct fio_file *f) in fio_binject_close_file() [all …]
|
D | null.c | 26 static struct io_u *fio_null_event(struct thread_data *td, int event) in fio_null_event() 33 static int fio_null_getevents(struct thread_data *td, unsigned int min_events, in fio_null_getevents() 48 static int fio_null_commit(struct thread_data *td) in fio_null_commit() 63 static int fio_null_queue(struct thread_data *td, struct io_u *io_u) in fio_null_queue() 78 static int fio_null_open(struct thread_data fio_unused *td, in fio_null_open() 84 static void fio_null_cleanup(struct thread_data *td) in fio_null_cleanup() 95 static int fio_null_init(struct thread_data *td) in fio_null_init()
|
D | sync.c | 34 static int fio_syncio_prep(struct thread_data *td, struct io_u *io_u) in fio_syncio_prep() 52 static int fio_io_end(struct thread_data *td, struct io_u *io_u, int ret) in fio_io_end() 75 static int fio_pvsyncio_queue(struct thread_data *td, struct io_u *io_u) in fio_pvsyncio_queue() 101 static int fio_psyncio_queue(struct thread_data *td, struct io_u *io_u) in fio_psyncio_queue() 121 static int fio_syncio_queue(struct thread_data *td, struct io_u *io_u) in fio_syncio_queue() 141 static int fio_vsyncio_getevents(struct thread_data *td, unsigned int min, in fio_vsyncio_getevents() 158 static struct io_u *fio_vsyncio_event(struct thread_data *td, int event) in fio_vsyncio_event() 165 static int fio_vsyncio_append(struct thread_data *td, struct io_u *io_u) in fio_vsyncio_append() 192 static int fio_vsyncio_queue(struct thread_data *td, struct io_u *io_u) in fio_vsyncio_queue() 232 static int fio_vsyncio_end(struct thread_data *td, ssize_t bytes) in fio_vsyncio_end() [all …]
|
/external/lldb/source/Plugins/Process/elf-core/ |
D | ProcessElfCore.cpp | 440 ParseFreeBSDPrStatus(ThreadData *thread_data, DataExtractor &data, in ParseFreeBSDPrStatus() argument 457 thread_data->signo = data.GetU32(&offset); // pr_cursig in ParseFreeBSDPrStatus() 463 thread_data->gpregset = DataExtractor(data, offset, len); in ParseFreeBSDPrStatus() 467 ParseFreeBSDThrMisc(ThreadData *thread_data, DataExtractor &data) in ParseFreeBSDThrMisc() argument 470 thread_data->name = data.GetCStr(&offset, 20); in ParseFreeBSDThrMisc() 498 ThreadData *thread_data = new ThreadData(); in ParseThreadContextsFromNoteSegment() local 518 assert(thread_data->gpregset.GetByteSize() > 0); in ParseThreadContextsFromNoteSegment() 520 m_thread_data.push_back(*thread_data); in ParseThreadContextsFromNoteSegment() 521 thread_data = new ThreadData(); in ParseThreadContextsFromNoteSegment() 538 ParseFreeBSDPrStatus(thread_data, note_data, arch); in ParseThreadContextsFromNoteSegment() [all …]
|
/external/google-breakpad/src/common/linux/tests/ |
D | crash_generator.cc | 82 ThreadData* thread_data = reinterpret_cast<ThreadData*>(data); in thread_function() local 84 *(thread_data->thread_id_ptr) = thread_id; in thread_function() 85 int result = pthread_barrier_wait(thread_data->barrier); in thread_function() 283 ThreadData* thread_data = new ThreadData[num_threads]; in CreateThreadsInChildProcess() local 302 thread_data[i].barrier = &thread_barrier; in CreateThreadsInChildProcess() 303 thread_data[i].thread_id_ptr = GetThreadIdPointer(i); in CreateThreadsInChildProcess() 304 if (pthread_create(&thread_data[i].thread, &thread_attributes, in CreateThreadsInChildProcess() 305 thread_function, &thread_data[i]) != 0) { in CreateThreadsInChildProcess() 319 delete[] thread_data; in CreateThreadsInChildProcess()
|