/external/blktrace/btt/ |
D | trace.c | 23 static void __add_trace(struct io *iop) in __add_trace() argument 28 iostat_check_time(iop->t.time); in __add_trace() 37 switch (iop->t.action & 0xffff) { in __add_trace() 38 case __BLK_TA_QUEUE: trace_queue(iop); break; in __add_trace() 39 case __BLK_TA_REMAP: trace_remap(iop); break; in __add_trace() 40 case __BLK_TA_INSERT: trace_insert(iop); break; in __add_trace() 41 case __BLK_TA_GETRQ: trace_getrq(iop); break; in __add_trace() 42 case __BLK_TA_BACKMERGE: trace_merge(iop); break; in __add_trace() 43 case __BLK_TA_FRONTMERGE: trace_merge(iop); break; in __add_trace() 44 case __BLK_TA_REQUEUE: trace_requeue(iop); break; in __add_trace() [all …]
|
D | inlines.h | 124 static inline void dip_update_q(struct d_info *dip, struct io *iop) in dip_update_q() argument 127 update_lq(&dip->last_q, &dip->avgs.q2q_dm, iop->t.time); in dip_update_q() 129 update_lq(&dip->last_q, &dip->avgs.q2q, iop->t.time); in dip_update_q() 130 update_qregion(&dip->regions, iop->t.time); in dip_update_q() 135 struct io *iop = malloc(sizeof(*iop)); in io_alloc() local 137 memset(iop, 0, sizeof(struct io)); in io_alloc() 138 list_add_tail(&iop->a_head, &all_ios); in io_alloc() 140 return iop; in io_alloc() 143 static inline void io_free(struct io *iop) in io_free() argument 145 list_del(&iop->a_head); in io_free() [all …]
|
D | trace_complete.c | 35 static void display_io_track(FILE *ofp, struct io *iop) in display_io_track() argument 37 fprintf(ofp, "%3d,%-3d: ", MAJOR(iop->t.device), MINOR(iop->t.device)); in display_io_track() 38 __out(ofp, iop->t.time, IOP_Q, iop->t.sector, t_sec(&iop->t), 0); in display_io_track() 40 if (iop->g_time != (__u64)-1) in display_io_track() 41 __out(ofp, iop->g_time, IOP_G, iop->t.sector, t_sec(&iop->t),1); in display_io_track() 42 if (iop->i_time != (__u64)-1) in display_io_track() 43 __out(ofp, iop->i_time, IOP_I, iop->t.sector, t_sec(&iop->t),1); in display_io_track() 44 if (iop->m_time != (__u64)-1) in display_io_track() 45 __out(ofp, iop->m_time, IOP_M, iop->t.sector, t_sec(&iop->t),1); in display_io_track() 47 __out(ofp, iop->d_time, IOP_D, iop->d_sec, iop->d_nsec, 1); in display_io_track() [all …]
|
D | globals.h | 41 #define BIT_START(iop) ((iop)->t.sector) argument 42 #define BIT_END(iop) ((iop)->t.sector + ((iop)->t.bytes >> 9)) argument 43 #define IOP_READ(iop) ((iop)->t.action & BLK_TC_ACT(BLK_TC_READ)) argument 44 #define IOP_RW(iop) (IOP_READ(iop) ? 1 : 0) argument 71 struct io *iop; member 208 struct d_info *dip_alloc(__u32 device, struct io *iop); 209 void iop_rem_dip(struct io *iop); 211 void dip_foreach_list(struct io *iop, enum iop_type type, struct list_head *hd); 212 void dip_foreach(struct io *iop, enum iop_type type, 213 void (*fnc)(struct io *iop, struct io *this), int rm_after); [all …]
|
D | devs.c | 37 struct io *iop = rb_entry(n, struct io, rb_node); in __destroy() local 41 io_release(iop); in __destroy() 125 struct d_info *dip_alloc(__u32 device, struct io *iop) in dip_alloc() argument 153 dip->start_time = BIT_TIME(iop->t.time); in dip_alloc() 164 if (iop->type == IOP_Q || iop->type == IOP_A) in dip_alloc() 170 iop->linked = dip_rb_ins(dip, iop); in dip_alloc() 171 dip->end_time = BIT_TIME(iop->t.time); in dip_alloc() 176 void iop_rem_dip(struct io *iop) in iop_rem_dip() argument 178 if (iop->linked) { in iop_rem_dip() 179 dip_rb_rem(iop); in iop_rem_dip() [all …]
|
D | dip_rb.c | 24 int rb_insert(struct rb_root *root, struct io *iop) in rb_insert() argument 29 __u64 __s, s = BIT_START(iop); in rb_insert() 44 rb_link_node(&iop->rb_node, parent, p); in rb_insert() 45 rb_insert_color(&iop->rb_node, root); in rb_insert() 67 void rb_foreach(struct rb_node *n, struct io *iop, in rb_foreach() argument 68 void (*fnc)(struct io *iop, struct io *this), in rb_foreach() argument 73 __u64 iop_s = BIT_START(iop), iop_e = BIT_END(iop); in rb_foreach() 77 if (fnc) fnc(iop, this); in rb_foreach() 82 rb_foreach(n->rb_left, iop, fnc, head); in rb_foreach() 84 rb_foreach(n->rb_right, iop, fnc, head); in rb_foreach()
|
D | bno_dump.c | 45 static inline void bno_dump_write(FILE *fp, struct io *iop) in bno_dump_write() argument 47 fprintf(fp, "%15.9lf %lld %lld\n", BIT_TIME(iop->t.time), in bno_dump_write() 48 (long long)BIT_START(iop), (long long)BIT_END(iop)); in bno_dump_write() 70 void bno_dump_add(void *handle, struct io *iop) in bno_dump_add() argument 75 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp; in bno_dump_add() 78 bno_dump_write(fp, iop); in bno_dump_add() 80 bno_dump_write(bdp->cfp, iop); in bno_dump_add()
|
D | proc.c | 222 void pip_update_q(struct io *iop) in pip_update_q() argument 224 if (iop->pip) { in pip_update_q() 225 if (remapper_dev(iop->dip->device)) in pip_update_q() 226 update_lq(&iop->pip->last_q, &iop->pip->avgs.q2q_dm, in pip_update_q() 227 iop->t.time); in pip_update_q() 229 update_lq(&iop->pip->last_q, &iop->pip->avgs.q2q, in pip_update_q() 230 iop->t.time); in pip_update_q() 231 update_qregion(&iop->pip->regions, iop->t.time); in pip_update_q()
|
D | bt_timeline.c | 101 struct io *iop = io_alloc(); in process() local 106 while (!done && next_trace(&iop->t, &iop->pdu)) { in process() 107 add_trace(iop); in process() 108 iop = io_alloc(); in process() 111 io_release(iop); in process()
|
D | iostat.c | 242 void iostat_getrq(struct io *iop) in iostat_getrq() argument 244 update_tot_qusz(iop->dip, TO_SEC(iop->t.time)); in iostat_getrq() 245 INC_STAT(iop->dip, cur_qusz); in iostat_getrq() 248 void iostat_merge(struct io *iop) in iostat_merge() argument 250 INC_STAT(iop->dip, rqm[IOP_RW(iop)]); in iostat_merge() 253 void iostat_issue(struct io *iop) in iostat_issue() argument 255 int rw = IOP_RW(iop); in iostat_issue() 256 struct d_info *dip = iop->dip; in iostat_issue() 257 double now = TO_SEC(iop->t.time); in iostat_issue() 260 ADD_STAT(dip, sec[rw], iop->t.bytes >> 9); in iostat_issue()
|
D | seek.c | 184 long long seek_dist(struct seeki *sip, struct io *iop) in seek_dist() argument 187 long long start = BIT_START(iop), end = BIT_END(iop); in seek_dist() 251 void seeki_add(void *handle, struct io *iop) in seeki_add() argument 254 char rw = IOP_READ(iop) ? 'r' : 'w'; in seeki_add() 255 long long dist = seek_dist(sip, iop); in seeki_add() 256 double tstamp = BIT_TIME(iop->t.time); in seeki_add() 257 FILE *fp = IOP_READ(iop) ? sip->rfp : sip->wfp; in seeki_add()
|
/external/e2fsprogs/lib/et/ |
D | vfprintf.c | 27 vfprintf(iop, fmt, ap) in vfprintf() argument 28 FILE *iop; in vfprintf() 35 if (iop->_flag & _IONBF) { 36 iop->_flag &= ~_IONBF; 37 iop->_ptr = iop->_base = localbuf; 38 len = _doprnt(fmt, ap, iop); 39 (void) fflush(iop); 40 iop->_flag |= _IONBF; 41 iop->_base = NULL; 42 iop->_bufsiz = 0; [all …]
|
/external/strace/ |
D | ioctl.c | 53 struct_ioctlent *iop; in ioctl_lookup() local 55 iop = bsearch((const void *) (const unsigned long) code, ioctlent, in ioctl_lookup() 57 while (iop > ioctlent) { in ioctl_lookup() 58 iop--; in ioctl_lookup() 59 if (iop->code != code) { in ioctl_lookup() 60 iop++; in ioctl_lookup() 64 return iop; in ioctl_lookup() 68 ioctl_next_match(const struct_ioctlent *iop) in ioctl_next_match() argument 70 const unsigned int code = iop->code; in ioctl_next_match() 71 iop++; in ioctl_next_match() [all …]
|
/external/blktrace/ |
D | blktrace.c | 1439 static int net_sendfile(struct io_info *iop) in net_sendfile() argument 1443 ret = sendfile(iop->ofd, iop->ifd, NULL, iop->ready); in net_sendfile() 1447 } else if (ret < (int)iop->ready) { in net_sendfile() 1449 ret, iop->ready); in net_sendfile() 1456 static inline int net_sendfile_data(struct tracer *tp, struct io_info *iop) in net_sendfile_data() argument 1458 struct devpath *dpp = iop->dpp; in net_sendfile_data() 1460 if (net_send_header(iop->ofd, tp->cpu, dpp->buts_name, iop->ready)) in net_sendfile_data() 1462 return net_sendfile(iop); in net_sendfile_data() 1465 static int fill_ofname(struct io_info *iop, int cpu) in fill_ofname() argument 1469 char *dst = iop->ofn; in fill_ofname() [all …]
|
/external/mksh/src/ |
D | tree.c | 221 struct ioword *iop = *ioact++; in ptree() local 224 if ((iop->ioflag & (IOTYPE | IOHERESTR)) == IOHERE && in ptree() 225 iop->heredoc) { in ptree() 227 shf_puts(iop->heredoc, shf); in ptree() 229 evalstr(iop->delim, 0)); in ptree() 246 pioact(struct shf *shf, struct ioword *iop) in pioact() argument 248 unsigned short flag = iop->ioflag; in pioact() 254 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop->unit : in pioact() 255 iop->unit + 1; in pioact() 256 if (iop->unit != expected) in pioact() [all …]
|
D | syn.c | 180 struct ioword *iop; in synio() local 185 iop = nextiop; in synio() 187 return (iop); in synio() 193 iop = yylval.iop; in synio() 194 ishere = (iop->ioflag & IOTYPE) == IOHERE; in synio() 195 if (iop->ioflag & IOHERESTR) { in synio() 200 iop->ioflag |= IOEVAL | IONDELIM; in synio() 204 iop->delim = yylval.cp; in synio() 205 if (*ident != 0 && !(iop->ioflag & IOHERESTR)) { in synio() 207 iop->ioflag |= IOEVAL; in synio() [all …]
|
D | lex.c | 911 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); in yylex() local 914 iop->unit = c == '<' ? 0 : 1; in yylex() 915 else for (iop->unit = 0, c2 = 0; c2 < Xlength(ws, wp); c2 += 2) { in yylex() 920 iop->unit = iop->unit * 10 + ksh_numdig(dp[c2 + 1]); in yylex() 921 if (iop->unit >= FDBASE) in yylex() 931 iop->ioflag = IOBASH; in yylex() 933 iop->ioflag = 0; in yylex() 938 iop->ioflag |= c == c2 ? in yylex() 940 if (iop->ioflag == IOHERE) { in yylex() 942 iop->ioflag |= IOSKIP; in yylex() [all …]
|
D | exec.c | 1361 iosetup(struct ioword *iop, struct tbl *tp) in iosetup() argument 1364 char *cp = iop->ioname; in iosetup() 1365 int iotype = iop->ioflag & IOTYPE; in iosetup() 1375 iotmp = *iop; in iosetup() 1395 if (Flag(FNOCLOBBER) && !(iop->ioflag & IOCLOB)) { in iosetup() 1425 u = herein(iop, NULL); in iosetup() 1438 X_OK | ((iop->ioflag & IORDUP) ? R_OK : W_OK), in iosetup() 1447 if (u == (int)iop->unit) in iosetup() 1482 if (e->savefd[iop->unit] == 0) { in iosetup() 1484 if (u == (int)iop->unit) in iosetup() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | TokenRewriteStream.cs | 582 InsertBeforeOp iop = (InsertBeforeOp)inserts[j]; in ReduceToSingleOperationPerIndex() 583 if (iop.index == rop.index) in ReduceToSingleOperationPerIndex() 587 rewrites[iop.instructionIndex] = null; in ReduceToSingleOperationPerIndex() 588 … rop.text = iop.text.ToString() + (rop.text != null ? rop.text.ToString() : string.Empty); in ReduceToSingleOperationPerIndex() 590 else if (iop.index > rop.index && iop.index <= rop.lastIndex) in ReduceToSingleOperationPerIndex() 593 rewrites[iop.instructionIndex] = null; in ReduceToSingleOperationPerIndex() 638 InsertBeforeOp iop = (InsertBeforeOp)rewrites[i]; in ReduceToSingleOperationPerIndex() 644 if ( prevIop.index == iop.index ) in ReduceToSingleOperationPerIndex() 648 iop.text = CatOpText( iop.text, prevIop.text ); in ReduceToSingleOperationPerIndex() 658 if ( iop.index == rop.index ) in ReduceToSingleOperationPerIndex() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | TokenRewriteStream.java | 468 InsertBeforeOp iop = (InsertBeforeOp) inserts.get(j); in reduceToSingleOperationPerIndex() local 469 if ( iop.index == rop.index ) { in reduceToSingleOperationPerIndex() 472 rewrites.set(iop.instructionIndex, null); in reduceToSingleOperationPerIndex() 473 rop.text = iop.text.toString() + (rop.text!=null?rop.text.toString():""); in reduceToSingleOperationPerIndex() 475 else if ( iop.index > rop.index && iop.index <= rop.lastIndex ) { in reduceToSingleOperationPerIndex() 477 rewrites.set(iop.instructionIndex, null); in reduceToSingleOperationPerIndex() 515 InsertBeforeOp iop = (InsertBeforeOp)rewrites.get(i); in reduceToSingleOperationPerIndex() local 520 if ( prevIop.index == iop.index ) { // combine objects in reduceToSingleOperationPerIndex() 523 iop.text = catOpText(iop.text,prevIop.text); in reduceToSingleOperationPerIndex() 532 if ( iop.index == rop.index ) { in reduceToSingleOperationPerIndex() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | TokenRewriteStream.cs | 504 InsertBeforeOp iop = (InsertBeforeOp)inserts[j]; in ReduceToSingleOperationPerIndex() 505 if (iop.index >= rop.index && iop.index <= rop.lastIndex) { in ReduceToSingleOperationPerIndex() 507 rewrites[iop.instructionIndex] = null; in ReduceToSingleOperationPerIndex() 538 InsertBeforeOp iop = (InsertBeforeOp)rewrites[i]; in ReduceToSingleOperationPerIndex() 543 if (prevIop.index == iop.index) { // combine objects in ReduceToSingleOperationPerIndex() 546 iop.text = CatOpText(iop.text, prevIop.text); in ReduceToSingleOperationPerIndex() 555 if (iop.index == rop.index) { in ReduceToSingleOperationPerIndex() 556 rop.text = CatOpText(iop.text, rop.text); in ReduceToSingleOperationPerIndex() 560 if (iop.index >= rop.index && iop.index <= rop.lastIndex) { in ReduceToSingleOperationPerIndex() 561 throw new ArgumentException("insert op " + iop + in ReduceToSingleOperationPerIndex()
|
/external/kernel-headers/original/uapi/linux/ |
D | i2o-dev.h | 49 unsigned int iop; /* IOP unit number */ member 54 unsigned int iop; /* IOP unit number */ member 59 unsigned int iop; /* IOP unit number */ member 65 unsigned int iop; /* IOP unit number */ member 74 unsigned int iop; /* IOP unit number */ member 85 unsigned int iop; /* IOP unit number */ member 97 unsigned int iop; member
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | streams.py | 1401 for j, iop in self.getKindOfOps(rewrites, InsertBeforeOp, i): 1402 if iop.index == rop.index: 1405 rewrites[iop.instructionIndex] = None 1406 rop.text = self.catOpText(iop.text, rop.text) 1408 elif iop.index > rop.index and iop.index <= rop.lastIndex: 1442 for i, iop in enumerate(rewrites): 1443 if iop is None: 1446 if not isinstance(iop, InsertBeforeOp): 1451 if prevIop.index == iop.index: # combine objects 1455 iop.text = self.catOpText(iop.text, prevIop.text) [all …]
|
/external/safe-iop/ |
D | README.version | 1 URL: https://code.google.com/p/safe-iop/downloads/detail?name=safe-iop-0.3.1.tgz&can=2&q=
|
/external/autotest/client/site_tests/hardware_StorageFio/ |
D | surfing | 6 ; should be measures in terms of iop/s, a minimum of 6 iop/s combined read
|