/external/fio/ |
memory.c | 15 void fio_unpin_memory(struct thread_data *td) 17 if (td->pinned_mem) { 18 dprint(FD_MEM, "unpinning %llu bytes\n", td->o.lockmem); 19 if (munlock(td->pinned_mem, td->o.lockmem) < 0) 21 munmap(td->pinned_mem, td->o.lockmem); 22 td->pinned_mem = NULL; 26 int fio_pin_memory(struct thread_data *td) 30 if (!td->o.lockmem [all...] |
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);
|
ioengines.c | 88 static struct ioengine_ops *dlopen_ioengine(struct thread_data *td, 99 td_vmsg(td, -1, dlerror(), "dlopen"); 125 td_vmsg(td, -1, dlerror(), "dlsym"); 134 struct ioengine_ops *load_ioengine(struct thread_data *td, const char *name) 151 ops = dlopen_ioengine(td, name); 174 void free_ioengine(struct thread_data *td) 176 dprint(FD_IO, "free ioengine %s\n", td->io_ops->name); 178 if (td->eo && td->io_ops->options) { 179 options_free(td->io_ops->options, td->eo) 577 struct thread_data td; local [all...] |
backend.c | 140 static int __check_min_rate(struct thread_data *td, struct timeval *now, 153 if (!td->o.ratemin[ddir] && !td->o.rate_iops_min[ddir]) 159 if (mtime_since(&td->start, now) < 2000) 162 iops += td->this_io_blocks[ddir]; 163 bytes += td->this_io_bytes[ddir]; 164 ratemin += td->o.ratemin[ddir]; 165 rate_iops += td->o.rate_iops[ddir]; 166 rate_iops_min += td->o.rate_iops_min[ddir]; 171 if (td->rate_bytes[ddir] || td->rate_blocks[ddir]) 1261 struct thread_data *td = data; local 1580 struct thread_data *td; local 1610 struct thread_data *td; local 1715 struct thread_data *td; local 2015 struct thread_data *td; local [all...] |
io_u.c | 36 static void mark_random_map(struct thread_data *td, struct io_u *io_u) 38 unsigned int min_bs = td->o.rw_min_bs; 53 static uint64_t last_block(struct thread_data *td, struct fio_file *f, 68 if (td->o.zone_range) 69 max_size = td->o.zone_range; 71 max_blocks = max_size / (uint64_t) td->o.ba[ddir]; 83 static int __get_next_rand_offset(struct thread_data *td, struct fio_file *f, 88 lastb = last_block(td, f, ddir); 92 if (td->o.random_generator == FIO_RAND_GEN_TAUSWORTHE) { 95 rmax = td->o.use_os_rand ? OS_RAND_MAX : FRAND_MAX [all...] |
td_error.c | 16 int td_non_fatal_error(struct thread_data *td, enum error_type_bit etype, 21 if (!td->o.ignore_error[etype]) { 22 td->o.ignore_error[etype] = __NON_FATAL_ERR; 23 td->o.ignore_error_nr[etype] = sizeof(__NON_FATAL_ERR) 27 if (!(td->o.continue_on_error & (1 << etype))) 29 for (i = 0; i < td->o.ignore_error_nr[etype]; i++) 30 if (td->o.ignore_error[etype][i] == err) 36 void update_error_count(struct thread_data *td, int err) 38 td->total_err_count++; 39 if (td->total_err_count == 1 [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) 18 td->trim_entries--; 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)
|
libfio.c | 79 static void reset_io_counters(struct thread_data *td) 84 td->stat_io_bytes[ddir] = 0; 85 td->this_io_bytes[ddir] = 0; 86 td->stat_io_blocks[ddir] = 0; 87 td->this_io_blocks[ddir] = 0; 88 td->rate_bytes[ddir] = 0; 89 td->rate_blocks[ddir] = 0; 91 td->zone_bytes = 0; 93 td->last_was_sync = 0; 94 td->rwmix_issues = 0 192 struct thread_data *td; local 224 struct thread_data *td; local [all...] |
iolog.c | 17 void queue_io_piece(struct thread_data *td, struct io_piece *ipo) 19 flist_add_tail(&ipo->list, &td->io_log_list); 20 td->total_io_size += ipo->len; 23 void log_io_u(struct thread_data *td, struct io_u *io_u) 30 if (!td->o.write_iolog_file) 33 fprintf(td->iolog_f, "%s %s %llu %lu\n", io_u->file->file_name, 38 void log_file(struct thread_data *td, struct fio_file *f, 45 if (!td->o.write_iolog_file) 52 if (!td->iolog_f) 55 fprintf(td->iolog_f, "%s %s\n", f->file_name, act[what]) [all...] |
filesetup.c | 27 static inline void clear_error(struct thread_data *td) 29 td->error = 0; 30 td->verror[0] = '\0'; 36 static int extend_file(struct thread_data *td, struct fio_file *f) 53 if (td_read(td) || 54 (td_write(td) && td->o.overwrite && !td->o.file_append) || 55 (td_write(td) && td->io_ops->flags & FIO_NOEXTEND) [all...] |
flow.c | 16 int flow_threshold_exceeded(struct thread_data *td) 18 struct fio_flow *flow = td->flow; 24 sign = td->o.flow > 0 ? 1 : -1; 25 if (sign * flow->flow_counter > td->o.flow_watermark) { 26 if (td->o.flow_sleep) { 27 io_u_quiesce(td); 28 usleep(td->o.flow_sleep); 36 flow->flow_counter += td->o.flow; 92 void flow_init_job(struct thread_data *td) 94 if (td->o.flow [all...] |
cgroup.h | 13 static inline int cgroup_setup(struct thread_data *td, struct flist_head *list, 16 td_verror(td, EINVAL, "cgroup_setup"); 20 static inline void cgroup_shutdown(struct thread_data *td, char **mnt)
|
io_ddir.h | 28 #define td_read(td) ((td)->o.td_ddir & TD_DDIR_READ) 29 #define td_write(td) ((td)->o.td_ddir & TD_DDIR_WRITE) 30 #define td_trim(td) ((td)->o.td_ddir & TD_DDIR_TRIM) 31 #define td_rw(td) (((td)->o.td_ddir & TD_DDIR_RW) == TD_DDIR_RW) 32 #define td_random(td) ((td)->o.td_ddir & TD_DDIR_RAND [all...] |
trim.c | 14 int get_next_trim(struct thread_data *td, struct io_u *io_u) 23 if (flist_empty(&td->trim_list)) 26 assert(td->trim_entries); 27 ipo = flist_entry(td->trim_list.next, struct io_piece, trim_list); 28 remove_trim_entry(td, ipo); 38 if (!td->o.trim_zero) { 43 rb_erase(&ipo->rb_node, &td->io_hist_tree); 45 td->io_hist_len--; 51 int r = td_io_open_file(td, io_u->file); 70 int io_u_should_trim(struct thread_data *td, struct io_u *io_u [all...] |
cgroup.c | 22 static char *find_cgroup_mnt(struct thread_data *td) 31 td_verror(td, errno, "setmntent /proc/mounts"); 50 static void add_cgroup(struct thread_data *td, const char *name, 71 if (td->o.cgroup_nodelete) 100 static char *get_cgroup_root(struct thread_data *td, char *mnt) 104 if (td->o.cgroup) 105 sprintf(str, "%s%s%s", mnt, FIO_OS_PATH_SEPARATOR, td->o.cgroup); 107 sprintf(str, "%s%s%s", mnt, FIO_OS_PATH_SEPARATOR, td->o.name); 112 static int write_int_to_file(struct thread_data *td, const char *path, 122 td_verror(td, errno, onerr) [all...] |
time.c | 21 void usec_sleep(struct thread_data *td, unsigned long usec) 53 } while (!td->terminate); 66 int in_ramp_time(struct thread_data *td) 68 return td->o.ramp_time && !td->ramp_time_over; 71 int ramp_time_over(struct thread_data *td) 75 if (!td->o.ramp_time || td->ramp_time_over) 79 if (utime_since(&td->epoch, &tv) >= td->o.ramp_time) [all...] |
/external/compiler-rt/test/msan/ |
textdomain.cc | 7 const char *td = textdomain("abcd"); local 8 if (td[0] == 0) {
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/processes/process_monitor/ |
popup.js | 10 "<tr><td><b>Process</b></td>" + 11 "<td>OS ID</td>" + 12 "<td>Title</td>" + 13 "<td>Type</td>" + 14 "<td>Tabs</td>" [all...] |
/art/compiler/sea_ir/types/ |
type_data_test.cc | 25 TypeData td; local 29 EXPECT_TRUE(NULL == td.FindTypeOf(first_instruction_id)); 32 td.SetTypeOf(first_instruction_id, int_type); 33 EXPECT_TRUE(int_type == td.FindTypeOf(first_instruction_id)); 34 EXPECT_TRUE(NULL == td.FindTypeOf(second_instruction_id)); 35 td.SetTypeOf(second_instruction_id, byte_type); 36 EXPECT_TRUE(int_type == td.FindTypeOf(first_instruction_id)); 37 EXPECT_TRUE(byte_type == td.FindTypeOf(second_instruction_id));
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
Makefile | 21 HAVE_LLVM_INTRINSICS = $(shell grep IntrinsicsR600.td $(LLVM_INCLUDEDIR)/llvm/Intrinsics.td) 23 SIRegisterInfo.td: SIGenRegisterInfo.pl 29 R600Intrinsics.td: R600IntrinsicsNoOpenCL.td R600IntrinsicsOpenCL.td 31 cp R600IntrinsicsNoOpenCL.td R600Intrinsics.td 33 cp R600IntrinsicsOpenCL.td R600Intrinsics.td [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
Makefile | 21 HAVE_LLVM_INTRINSICS = $(shell grep IntrinsicsR600.td $(LLVM_INCLUDEDIR)/llvm/Intrinsics.td) 23 SIRegisterInfo.td: SIGenRegisterInfo.pl 29 R600Intrinsics.td: R600IntrinsicsNoOpenCL.td R600IntrinsicsOpenCL.td 31 cp R600IntrinsicsNoOpenCL.td R600Intrinsics.td 33 cp R600IntrinsicsOpenCL.td R600Intrinsics.td [all...] |
/external/clang/include/clang/Driver/ |
Makefile | 8 $(ObjDir)/Options.inc.tmp : Options.td CC1Options.td CLCompatOptions.td $(LLVM_TBLGEN) $(ObjDir)/.dir
|
/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) 70 fio_ro_check(td, 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) 116 return generic_file_open(td, f) [all...] |
/external/chromium_org/third_party/re2/doc/ |
mksyntaxwiki | 15 ,s!(^[^ ]+) (.*)\n!<tr><td>\1</td><td>\2</td></tr>\n!g 17 ,s!^$!<tr><td></td></tr>!g 18 ,x v/<tr>/ s!.*!<tr><td colspan="2">&</td></tr>! 27 <tr><td colspan="2">This page lists the regular expression syntax accepted by RE2.</td></tr [all...] |
/external/llvm/ |
llvm-tblgen-rules.mk | 2 ## Commands for running tblgen to compile a td file 4 define transform-td-to-out 6 $(call transform-host-td-to-out,$(1)), \ 7 $(call transform-device-td-to-out,$(1))) 11 ## TableGen: Compile .td files to .inc. 32 tblgen_td_deps := $(tblgen_source_dir)/../*.td 34 tblgen_td_deps := $(tblgen_source_dir)/*.td 39 # The directory and the .td directory is not the same. 43 $(generated_sources)/%GenRegisterInfo.inc: $(tblgen_source_dir)/../%.td \ 45 $(call transform-td-to-out, register-info [all...] |