/external/fio/ |
io_ddir.h | 17 static inline const char *io_ddir_name(enum fio_ddir ddir) 23 if (ddir < DDIR_LAST) 24 return name[ddir]; 51 static inline int ddir_sync(enum fio_ddir ddir) 53 return ddir == DDIR_SYNC || ddir == DDIR_DATASYNC || 54 ddir == DDIR_SYNC_FILE_RANGE; 57 static inline int ddir_rw(enum fio_ddir ddir) 59 return ddir == DDIR_READ || ddir == DDIR_WRITE || ddir == DDIR_TRIM [all...] |
io_u.c | 56 enum fio_ddir ddir) 61 assert(ddir_rw(ddir)); 74 if (td->o.min_bs[ddir] > td->o.ba[ddir]) 75 max_size -= td->o.min_bs[ddir] - td->o.ba[ddir]; 77 max_blocks = max_size / (uint64_t) td->o.ba[ddir]; 90 enum fio_ddir ddir, uint64_t *b, 137 struct fio_file *f, enum fio_ddir ddir, 145 struct fio_file *f, enum fio_ddir ddir, 477 enum fio_ddir ddir = io_u->ddir; local 532 int ddir = io_u->ddir; local 717 enum fio_ddir ddir; local 770 enum fio_ddir ddir = get_rw_ddir(td); local 828 enum fio_ddir ddir = acct_ddir(__io_u); local 1817 enum fio_ddir ddir = io_u->ddir; local 1903 int ddir; local 1937 int ddir; local 1963 int ret, ddir; local [all...] |
td_error.h | 22 enum error_type_bit td_error_type(enum fio_ddir ddir, int err);
|
rate-submit.c | 16 const enum fio_ddir ddir = io_u->ddir; local 38 io_queue_event(td, io_u, &ret, ddir, NULL, 0, NULL); 197 enum fio_ddir ddir) 201 sum_val(&dst->io_bytes[ddir], &src->io_bytes[ddir]); 202 sum_val(&dst->io_blocks[ddir], &src->io_blocks[ddir]); 203 sum_val(&dst->this_io_blocks[ddir], &src->this_io_blocks[ddir]); [all...] |
libfio.c | 83 int ddir; local 86 for (ddir = 0; ddir < DDIR_RWDIR_CNT; ddir++) { 87 td->stat_io_bytes[ddir] = 0; 88 td->this_io_bytes[ddir] = 0; 89 td->stat_io_blocks[ddir] = 0; 90 td->this_io_blocks[ddir] = 0; 91 td->rate_bytes[ddir] = 0; 92 td->rate_blocks[ddir] = 0 [all...] |
td_error.c | 7 enum error_type_bit td_error_type(enum fio_ddir ddir, int err) 11 if (ddir == DDIR_READ)
|
stat.c | 388 int ddir, struct buf_output *out) 397 assert(ddir_rw(ddir)); 399 if (!ts->runtime[ddir]) 403 runt = ts->runtime[ddir]; 405 bw = (1000 * ts->io_bytes[ddir]) / runt; 406 io_p = num2str(ts->io_bytes[ddir], 4, 1, i2p, N2S_BYTE); 410 iops = (1000 * (uint64_t)ts->total_io_u[ddir]) / runt; 414 rs->unified_rw_rep ? "mixed" : str[ddir], 416 (unsigned long long) ts->runtime[ddir]); 423 if (calc_lat(&ts->slat_stat[ddir], &min, &max, &mean, &dev) 1733 int ddir; local 2222 int ddir; local 2437 enum fio_ddir ddir; local [all...] |
backend.c | 140 enum fio_ddir ddir) 150 assert(ddir_rw(ddir)); 152 if (!td->o.ratemin[ddir] && !td->o.rate_iops_min[ddir]) 161 iops += td->this_io_blocks[ddir]; 162 bytes += td->this_io_bytes[ddir]; 163 ratemin += td->o.ratemin[ddir]; 164 rate_iops += td->o.rate_iops[ddir]; 165 rate_iops_min += td->o.rate_iops_min[ddir]; 170 if (td->rate_bytes[ddir] || td->rate_blocks[ddir]) 633 enum fio_ddir ddir; local 880 enum fio_ddir ddir; local 968 const enum fio_ddir ddir = acct_ddir(io_u); local [all...] |
ioengines.c | 196 lock_file(td, io_u->file, io_u->ddir); 255 const enum fio_ddir ddir = acct_ddir(io_u); local 287 if (ddir_rw(ddir)) { 288 td->io_issues[ddir]++; 289 td->io_issue_bytes[ddir] += buflen; 290 td->rate_io_issue_bytes[ddir] += buflen; 297 if (ret == FIO_Q_BUSY && ddir_rw(ddir)) { 298 td->io_issues[ddir]--; 299 td->io_issue_bytes[ddir] -= buflen; 300 td->rate_io_issue_bytes[ddir] -= buflen [all...] |
eta.c | 441 int ddir; local 443 for (ddir = 0; ddir < DDIR_RWDIR_CNT; ddir++) { 445 io_bytes[0] += td->io_bytes[ddir]; 446 io_iops[0] += td->io_blocks[ddir]; 448 io_bytes[ddir] += td->io_bytes[ddir]; 449 io_iops[ddir] += td->io_blocks[ddir]; 561 int ddir; local [all...] |
blktrace.c | 126 ipo->ddir = DDIR_INVAL; 237 ipo->ddir = DDIR_WRITE; 239 ipo->ddir = DDIR_READ; 242 dprint(FD_BLKTRACE, "store ddir=%d, off=%llu, len=%lu, delay=%lu\n", 243 ipo->ddir, ipo->offset, 294 ipo->ddir = DDIR_TRIM; 390 enum fio_ddir ddir; local 392 ddir = t_get_ddir(t); 393 if (ddir != DDIR_INVAL) 394 depth[ddir]++ 399 enum fio_ddir ddir; local 408 enum fio_ddir ddir = DDIR_INVAL; local [all...] |
io_u.h | 39 enum fio_ddir ddir; member in struct:io_u 155 dprint(FD_IO, "%s: io_u %p: off=%llu/len=%lu/ddir=%d", p, io_u, 157 io_u->buflen, io_u->ddir); 171 return io_u->ddir;
|
/external/ltp/testcases/kernel/syscalls/chdir/ |
chdir01.c | 71 DIR *ddir, *opendir(); local 90 if ((ddir = opendir(".")) == NULL) 97 ddir); 98 closedir(ddir); 161 void checknames(char **pfilnames, int fnamecount, DIR * ddir) 167 while ((dir = readdir(ddir)) != NULL) {
|
/external/fio/engines/ |
glusterfs_sync.c | 18 if (!ddir_rw(io_u->ddir)) 40 if (io_u->ddir == DDIR_READ) 42 else if (io_u->ddir == DDIR_WRITE) 44 else if (io_u->ddir == DDIR_SYNC) 46 else if (io_u->ddir == DDIR_DATASYNC) 53 if (io_u->file && ret >= 0 && ddir_rw(io_u->ddir))
|
sync.c | 61 if (!ddir_rw(io_u->ddir)) 77 if (io_u->file && ret >= 0 && ddir_rw(io_u->ddir)) 110 if (io_u->ddir == DDIR_READ) 112 else if (io_u->ddir == DDIR_WRITE) 114 else if (io_u->ddir == DDIR_TRIM) { 141 if (io_u->ddir == DDIR_READ) 143 else if (io_u->ddir == DDIR_WRITE) 145 else if (io_u->ddir == DDIR_TRIM) { 163 if (io_u->ddir == DDIR_READ) 165 else if (io_u->ddir == DDIR_WRITE [all...] |
glusterfs_async.c | 105 dprint(FD_IO, "%s op %s\n", __FUNCTION__, io_ddir_name(io_u->ddir)); 109 if (io_u->ddir == DDIR_READ) 112 else if (io_u->ddir == DDIR_WRITE) 116 else if (io_u->ddir == DDIR_TRIM) 120 else if (io_u->ddir == DDIR_DATASYNC) 122 else if (io_u->ddir == DDIR_SYNC)
|
falloc.c | 81 if (io_u->ddir == DDIR_READ) 83 else if (io_u->ddir == DDIR_WRITE) 85 else if (io_u->ddir == DDIR_TRIM)
|
ftruncate.c | 26 if (io_u->ddir != DDIR_WRITE) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
compileall.py | 21 def compile_dir(dir, maxlevels=10, ddir=None,
29 ddir: the directory that will be prepended to the path to the
45 if ddir is not None:
46 dfile = os.path.join(ddir, name)
50 if not compile_file(fullname, ddir, force, rx, quiet):
61 def compile_file(fullname, ddir=None, force=0, rx=None, quiet=0):
67 ddir: if given, the directory name compiled in to the
74 if ddir is not None:
75 dfile = os.path.join(ddir, name)
183 ddir = None [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
compileall.py | 21 def compile_dir(dir, maxlevels=10, ddir=None,
29 ddir: if given, purported directory name (this is the
45 if ddir is not None:
46 dfile = os.path.join(ddir, name)
50 if not compile_file(fullname, ddir, force, rx, quiet):
61 def compile_file(fullname, ddir=None, force=0, rx=None, quiet=0):
67 ddir: if given, purported directory name (this is the
74 if ddir is not None:
75 dfile = os.path.join(ddir, name)
170 ddir = None [all...] |
/external/python/cpython2/Lib/ |
compileall.py | 21 def compile_dir(dir, maxlevels=10, ddir=None, 29 ddir: the directory that will be prepended to the path to the 45 if ddir is not None: 46 dfile = os.path.join(ddir, name) 50 if not compile_file(fullname, ddir, force, rx, quiet): 61 def compile_file(fullname, ddir=None, force=0, rx=None, quiet=0): 67 ddir: if given, the directory name compiled in to the 74 if ddir is not None: 75 dfile = os.path.join(ddir, name) 183 ddir = Non [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
compileall.py | 21 def compile_dir(dir, maxlevels=10, ddir=None, 29 ddir: the directory that will be prepended to the path to the 47 if ddir is not None: 48 dfile = os.path.join(ddir, name) 52 if not compile_file(fullname, ddir, force, rx, quiet): 63 def compile_file(fullname, ddir=None, force=0, rx=None, quiet=0): 69 ddir: if given, the directory name compiled in to the 76 if ddir is not None: 77 dfile = os.path.join(ddir, name) 185 ddir = Non [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
compileall.py | 21 def compile_dir(dir, maxlevels=10, ddir=None, 29 ddir: the directory that will be prepended to the path to the 47 if ddir is not None: 48 dfile = os.path.join(ddir, name) 52 if not compile_file(fullname, ddir, force, rx, quiet): 63 def compile_file(fullname, ddir=None, force=0, rx=None, quiet=0): 69 ddir: if given, the directory name compiled in to the 76 if ddir is not None: 77 dfile = os.path.join(ddir, name) 185 ddir = Non [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
compileall.py | 21 def compile_dir(dir, maxlevels=10, ddir=None, 29 ddir: the directory that will be prepended to the path to the 47 if ddir is not None: 48 dfile = os.path.join(ddir, name) 52 if not compile_file(fullname, ddir, force, rx, quiet): 63 def compile_file(fullname, ddir=None, force=0, rx=None, quiet=0): 69 ddir: if given, the directory name compiled in to the 76 if ddir is not None: 77 dfile = os.path.join(ddir, name) 185 ddir = Non [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
compileall.py | 21 def compile_dir(dir, maxlevels=10, ddir=None, 29 ddir: the directory that will be prepended to the path to the 47 if ddir is not None: 48 dfile = os.path.join(ddir, name) 52 if not compile_file(fullname, ddir, force, rx, quiet): 63 def compile_file(fullname, ddir=None, force=0, rx=None, quiet=0): 69 ddir: if given, the directory name compiled in to the 76 if ddir is not None: 77 dfile = os.path.join(ddir, name) 185 ddir = Non [all...] |