/external/blktrace/btt/ |
D | trace.c | 23 static void __add_trace(struct io *iop) in __add_trace() argument 27 last_t_seen = BIT_TIME(iop->t.time); in __add_trace() 30 iostat_check_time(iop->t.time); in __add_trace() 39 switch (iop->t.action & 0xffff) { in __add_trace() 40 case __BLK_TA_QUEUE: trace_queue(iop); break; in __add_trace() 41 case __BLK_TA_REMAP: trace_remap(iop); break; in __add_trace() 42 case __BLK_TA_INSERT: trace_insert(iop); break; in __add_trace() 43 case __BLK_TA_GETRQ: trace_getrq(iop); break; in __add_trace() 44 case __BLK_TA_BACKMERGE: trace_merge(iop); break; in __add_trace() 45 case __BLK_TA_FRONTMERGE: trace_merge(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 | 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() 41 rb_replace_node(parent, &iop->rb_node, root); in rb_insert() 46 rb_link_node(&iop->rb_node, parent, p); in rb_insert() 47 rb_insert_color(&iop->rb_node, root); in rb_insert() 69 void rb_foreach(struct rb_node *n, struct io *iop, in rb_foreach() argument 70 void (*fnc)(struct io *iop, struct io *this), in rb_foreach() argument 75 __u64 iop_s = BIT_START(iop), iop_e = BIT_END(iop); in rb_foreach() 79 if (fnc) fnc(iop, this); in rb_foreach() 84 rb_foreach(n->rb_left, iop, fnc, head); in rb_foreach() [all …]
|
D | devs.c | 37 struct io *iop = rb_entry(n, struct io, rb_node); in __destroy() local 41 io_release(iop); in __destroy() 120 struct d_info *dip_alloc(__u32 device, struct io *iop) in dip_alloc() argument 132 dip->start_time = BIT_TIME(iop->t.time); in dip_alloc() 161 if (iop->type == IOP_Q || iop->type == IOP_A) in dip_alloc() 167 iop->linked = dip_rb_ins(dip, iop); in dip_alloc() 168 dip->end_time = BIT_TIME(iop->t.time); in dip_alloc() 173 void iop_rem_dip(struct io *iop) in iop_rem_dip() argument 175 if (iop->linked) { in iop_rem_dip() 176 dip_rb_rem(iop); in iop_rem_dip() [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 213 struct d_info *dip_alloc(__u32 device, struct io *iop); 214 void iop_rem_dip(struct io *iop); 216 void dip_foreach_list(struct io *iop, enum iop_type type, struct list_head *hd); 217 void dip_foreach(struct io *iop, enum iop_type type, 218 void (*fnc)(struct io *iop, struct io *this), int rm_after); [all …]
|
D | bno_dump.c | 42 static inline void bno_dump_write(FILE *fp, struct io *iop) in bno_dump_write() argument 44 fprintf(fp, "%15.9lf %lld %lld\n", BIT_TIME(iop->t.time), in bno_dump_write() 45 (long long)BIT_START(iop), (long long)BIT_END(iop)); in bno_dump_write() 67 void bno_dump_add(void *handle, struct io *iop) in bno_dump_add() argument 72 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp; in bno_dump_add() 75 bno_dump_write(fp, iop); in bno_dump_add() 77 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 | 106 struct io *iop = io_alloc(); in process() local 111 while (!done && next_trace(&iop->t, &iop->pdu)) { in process() 112 add_trace(iop); in process() 113 iop = io_alloc(); in process() 116 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 | 181 long long seek_dist(struct seeki *sip, struct io *iop) in seek_dist() argument 184 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 | 28 vfprintf(iop, fmt, ap) in vfprintf() argument 29 FILE *iop; in vfprintf() 36 if (iop->_flag & _IONBF) { 37 iop->_flag &= ~_IONBF; 38 iop->_ptr = iop->_base = localbuf; 39 len = _doprnt(fmt, ap, iop); 40 (void) fflush(iop); 41 iop->_flag |= _IONBF; 42 iop->_base = NULL; 43 iop->_bufsiz = 0; [all …]
|
/external/strace/ |
D | ioctl.c | 47 struct_ioctlent *iop; in ioctl_lookup() local 49 iop = bsearch((const void *) (const uintptr_t) code, ioctlent, in ioctl_lookup() 51 while (iop > ioctlent) { in ioctl_lookup() 52 iop--; in ioctl_lookup() 53 if (iop->code != code) { in ioctl_lookup() 54 iop++; in ioctl_lookup() 58 return iop; in ioctl_lookup() 62 ioctl_next_match(const struct_ioctlent *iop) in ioctl_next_match() argument 64 const unsigned int code = iop->code; in ioctl_next_match() 65 iop++; in ioctl_next_match() [all …]
|
/external/blktrace/ |
D | blktrace.c | 1484 static int net_sendfile(struct io_info *iop) in net_sendfile() argument 1488 ret = sendfile(iop->ofd, iop->ifd, NULL, iop->ready); in net_sendfile() 1492 } else if (ret < (int)iop->ready) { in net_sendfile() 1494 ret, iop->ready); in net_sendfile() 1501 static inline int net_sendfile_data(struct tracer *tp, struct io_info *iop) in net_sendfile_data() argument 1503 struct devpath *dpp = iop->dpp; in net_sendfile_data() 1505 if (net_send_header(iop->ofd, tp->cpu, dpp->buts_name, iop->ready)) in net_sendfile_data() 1507 return net_sendfile(iop); in net_sendfile_data() 1554 static int set_vbuf(struct io_info *iop, int mode, size_t size) in set_vbuf() argument 1556 iop->obuf = malloc(size); in set_vbuf() [all …]
|
/external/mksh/src/ |
D | tree.c | 232 struct ioword *iop = *ioact++; in ptree() local 235 if ((iop->ioflag & (IOTYPE | IOHERESTR)) == IOHERE && in ptree() 236 iop->heredoc) { in ptree() 238 shf_puts(iop->heredoc, shf); in ptree() 240 evalstr(iop->delim, 0)); in ptree() 257 pioact(struct shf *shf, struct ioword *iop) in pioact() argument 259 unsigned short flag = iop->ioflag; in pioact() 265 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop->unit : in pioact() 266 iop->unit + 1; in pioact() 267 if (iop->unit != expected) in pioact() [all …]
|
D | syn.c | 183 struct ioword *iop; in synio() local 188 iop = nextiop; in synio() 190 return (iop); in synio() 196 iop = yylval.iop; in synio() 197 ishere = (iop->ioflag & IOTYPE) == IOHERE; in synio() 198 if (iop->ioflag & IOHERESTR) { in synio() 203 iop->ioflag |= IOEVAL | IONDELIM; in synio() 207 iop->delim = yylval.cp; in synio() 208 if (*ident != 0 && !(iop->ioflag & IOHERESTR)) { in synio() 210 iop->ioflag |= IOEVAL; in synio() [all …]
|
D | lex.c | 915 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); in yylex() local 917 iop->unit = c2 == 2 ? ksh_numdig(dp[1]) : c == '<' ? 0 : 1; in yylex() 925 iop->ioflag = IOBASH; in yylex() 927 iop->ioflag = 0; in yylex() 933 iop->ioflag |= c == c2 ? in yylex() 935 if (iop->ioflag == IOHERE) { in yylex() 937 iop->ioflag |= IOSKIP; in yylex() 939 iop->ioflag |= IOHERESTR; in yylex() 944 iop->ioflag |= IODUP | ((unsigned int)c == ORD('<') ? IORDUP : 0); in yylex() 946 iop->ioflag |= (unsigned int)c == ORD('>') ? IOWRITE : IOREAD; in yylex() [all …]
|
D | exec.c | 1404 iosetup(struct ioword *iop, struct tbl *tp) in iosetup() argument 1407 char *cp = iop->ioname; in iosetup() 1408 int iotype = iop->ioflag & IOTYPE; in iosetup() 1418 iotmp = *iop; in iosetup() 1438 if (Flag(FNOCLOBBER) && !(iop->ioflag & IOCLOB)) { in iosetup() 1468 u = herein(iop, NULL); in iosetup() 1481 X_OK | ((iop->ioflag & IORDUP) ? R_OK : W_OK), in iosetup() 1490 if (u == (int)iop->unit) { in iosetup() 1492 iop->ioflag |= IODUPSELF; in iosetup() 1530 if (e->savefd[iop->unit] == 0) { in iosetup() [all …]
|
/external/antlr/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/runtime/Java/src/main/java/org/antlr/runtime/ |
D | TokenRewriteStream.java | 472 InsertBeforeOp iop = inserts.get(j); in reduceToSingleOperationPerIndex() local 473 if ( iop.index == rop.index ) { in reduceToSingleOperationPerIndex() 476 rewrites.set(iop.instructionIndex, null); in reduceToSingleOperationPerIndex() 477 rop.text = iop.text.toString() + (rop.text!=null?rop.text.toString():""); in reduceToSingleOperationPerIndex() 479 else if ( iop.index > rop.index && iop.index <= rop.lastIndex ) { in reduceToSingleOperationPerIndex() 481 rewrites.set(iop.instructionIndex, null); in reduceToSingleOperationPerIndex() 519 InsertBeforeOp iop = (InsertBeforeOp)rewrites.get(i); in reduceToSingleOperationPerIndex() local 524 if ( prevIop.index == iop.index ) { // combine objects in reduceToSingleOperationPerIndex() 527 iop.text = catOpText(iop.text,prevIop.text); in reduceToSingleOperationPerIndex() 536 if ( iop.index == rop.index ) { in reduceToSingleOperationPerIndex() [all …]
|
/external/antlr/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 | 50 unsigned int iop; /* IOP unit number */ member 55 unsigned int iop; /* IOP unit number */ member 60 unsigned int iop; /* IOP unit number */ member 66 unsigned int iop; /* IOP unit number */ member 75 unsigned int iop; /* IOP unit number */ member 86 unsigned int iop; /* IOP unit number */ member 98 unsigned int iop; member
|
/external/antlr/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/antlr/runtime/Python3/antlr3/ |
D | streams.py | 1341 for j, iop in self.getKindOfOps(rewrites, InsertBeforeOp, i): 1342 if iop.index == rop.index: 1345 rewrites[iop.instructionIndex] = None 1346 rop.text = self.catOpText(iop.text, rop.text) 1348 elif iop.index > rop.index and iop.index <= rop.lastIndex: 1382 for i, iop in enumerate(rewrites): 1383 if iop is None: 1386 if not isinstance(iop, InsertBeforeOp): 1391 if prevIop.index == iop.index: # combine objects 1395 iop.text = self.catOpText(iop.text, prevIop.text) [all …]
|
/external/autotest/client/cros/storage_tests/ |
D | surfing | 6 ; should be measures in terms of iop/s, a minimum of 6 iop/s combined read
|