/external/blktrace/btt/ |
H A D | trace.c | 23 static void __add_trace(struct io *iop) argument 28 iostat_check_time(iop->t.time); 37 switch (iop->t.action & 0xffff) { 38 case __BLK_TA_QUEUE: trace_queue(iop); break; 39 case __BLK_TA_REMAP: trace_remap(iop); break; 40 case __BLK_TA_INSERT: trace_insert(iop); break; 41 case __BLK_TA_GETRQ: trace_getrq(iop); break; 42 case __BLK_TA_BACKMERGE: trace_merge(iop); break; 43 case __BLK_TA_FRONTMERGE: trace_merge(iop); break; 44 case __BLK_TA_REQUEUE: trace_requeue(iop); brea 57 trace_message(struct io *iop) argument 74 add_trace(struct io *iop) argument [all...] |
H A D | bno_dump.c | 45 static inline void bno_dump_write(FILE *fp, struct io *iop) argument 47 fprintf(fp, "%15.9lf %lld %lld\n", BIT_TIME(iop->t.time), 48 (long long)BIT_START(iop), (long long)BIT_END(iop)); 70 void bno_dump_add(void *handle, struct io *iop) argument 75 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp; 78 bno_dump_write(fp, iop); 80 bno_dump_write(bdp->cfp, iop);
|
H A D | dip_rb.c | 24 int rb_insert(struct rb_root *root, struct io *iop) argument 29 __u64 __s, s = BIT_START(iop); 44 rb_link_node(&iop->rb_node, parent, p); 45 rb_insert_color(&iop->rb_node, root); 67 void rb_foreach(struct rb_node *n, struct io *iop, argument 68 void (*fnc)(struct io *iop, struct io *this), 73 __u64 iop_s = BIT_START(iop), iop_e = BIT_END(iop); 77 if (fnc) fnc(iop, this); 82 rb_foreach(n->rb_left, iop, fn [all...] |
H A D | trace_complete.c | 35 static void display_io_track(FILE *ofp, struct io *iop) argument 37 fprintf(ofp, "%3d,%-3d: ", MAJOR(iop->t.device), MINOR(iop->t.device)); 38 __out(ofp, iop->t.time, IOP_Q, iop->t.sector, t_sec(&iop->t), 0); 40 if (iop->g_time != (__u64)-1) 41 __out(ofp, iop->g_time, IOP_G, iop->t.sector, t_sec(&iop [all...] |
H A D | proc.c | 222 void pip_update_q(struct io *iop) argument 224 if (iop->pip) { 225 if (remapper_dev(iop->dip->device)) 226 update_lq(&iop->pip->last_q, &iop->pip->avgs.q2q_dm, 227 iop->t.time); 229 update_lq(&iop->pip->last_q, &iop->pip->avgs.q2q, 230 iop->t.time); 231 update_qregion(&iop [all...] |
H A D | bt_timeline.c | 101 struct io *iop = io_alloc(); local 106 while (!done && next_trace(&iop->t, &iop->pdu)) { 107 add_trace(iop); 108 iop = io_alloc(); 111 io_release(iop);
|
H A D | devs.c | 37 struct io *iop = rb_entry(n, struct io, rb_node); local 41 io_release(iop); 125 struct d_info *dip_alloc(__u32 device, struct io *iop) argument 153 dip->start_time = BIT_TIME(iop->t.time); 164 if (iop->type == IOP_Q || iop->type == IOP_A) 170 iop->linked = dip_rb_ins(dip, iop); 171 dip->end_time = BIT_TIME(iop->t.time); 176 void iop_rem_dip(struct io *iop) argument 184 dip_foreach(struct io *iop, enum iop_type type, void (*fnc)(struct io *iop, struct io *this), int rm_after) argument 202 dip_foreach_list(struct io *iop, enum iop_type type, struct list_head *hd) argument [all...] |
H A D | iostat.c | 242 void iostat_getrq(struct io *iop) argument 244 update_tot_qusz(iop->dip, TO_SEC(iop->t.time)); 245 INC_STAT(iop->dip, cur_qusz); 248 void iostat_merge(struct io *iop) argument 250 INC_STAT(iop->dip, rqm[IOP_RW(iop)]); 253 void iostat_issue(struct io *iop) argument 255 int rw = IOP_RW(iop); 256 struct d_info *dip = iop [all...] |
H A D | seek.c | 184 long long seek_dist(struct seeki *sip, struct io *iop) argument 187 long long start = BIT_START(iop), end = BIT_END(iop); 251 void seeki_add(void *handle, struct io *iop) argument 254 char rw = IOP_READ(iop) ? 'r' : 'w'; 255 long long dist = seek_dist(sip, iop); 256 double tstamp = BIT_TIME(iop->t.time); 257 FILE *fp = IOP_READ(iop) ? sip->rfp : sip->wfp;
|
H A D | inlines.h | 124 static inline void dip_update_q(struct d_info *dip, struct io *iop) argument 127 update_lq(&dip->last_q, &dip->avgs.q2q_dm, iop->t.time); 129 update_lq(&dip->last_q, &dip->avgs.q2q, iop->t.time); 130 update_qregion(&dip->regions, iop->t.time); 135 struct io *iop = malloc(sizeof(*iop)); local 137 memset(iop, 0, sizeof(struct io)); 138 list_add_tail(&iop->a_head, &all_ios); 140 return iop; 143 static inline void io_free(struct io *iop) argument 151 struct io *iop; local 160 io_setup(struct io *iop, enum iop_type type) argument 172 io_release(struct io *iop) argument 200 update_q2c(struct io *iop, __u64 c_time) argument 208 update_q2a(struct io *iop, __u64 a_time) argument 216 update_q2g(struct io *iop, __u64 g_time) argument 221 update_s2g(struct io *iop, __u64 g_time) argument 226 unupdate_q2g(struct io *iop, __u64 g_time) argument 231 update_g2i(struct io *iop, __u64 i_time) argument 236 unupdate_g2i(struct io *iop, __u64 i_time) argument 241 update_q2m(struct io *iop, __u64 m_time) argument 246 unupdate_q2m(struct io *iop, __u64 m_time) argument 251 update_i2d(struct io *iop, __u64 d_time) argument 256 unupdate_i2d(struct io *iop, __u64 d_time) argument 261 update_m2d(struct io *iop, __u64 d_time) argument 266 unupdate_m2d(struct io *iop, __u64 d_time) argument 271 update_d2c(struct io *iop, __u64 c_time) argument 276 update_blks(struct io *iop) argument 291 dip_rb_ins(struct d_info *dip, struct io *iop) argument 296 dip_rb_rem(struct io *iop) argument 301 dip_rb_fe(struct d_info *dip, enum iop_type type, struct io *iop, void (*fnc)(struct io *iop, struct io *this), struct list_head *head) argument 364 __dump_iop(FILE *ofp, struct io *iop, int extra_nl) argument [all...] |
H A D | globals.h | 41 #define BIT_START(iop) ((iop)->t.sector) 42 #define BIT_END(iop) ((iop)->t.sector + ((iop)->t.bytes >> 9)) 43 #define IOP_READ(iop) ((iop)->t.action & BLK_TC_ACT(BLK_TC_READ)) 44 #define IOP_RW(iop) (IOP_READ(iop) ? 1 : 0) 71 struct io *iop; member in struct:io_list [all...] |
/external/strace/ |
H A D | ioctl.c | 85 struct ioctlent *iop, ioent; local 91 iop = (struct ioctlent *) bsearch((char *) &ioent, (char *) ioctlent, 93 while (iop > ioctlent) 94 if ((--iop)->code != ioent.code) { 95 iop++; 98 return iop; 102 ioctl_next_match(iop) 103 const struct ioctlent *iop; 107 code = (iop++)->code; 108 if (iop < ioctlen [all...] |
H A D | io.c | 389 const struct ioctlent *iop; local 394 iop = ioctl_lookup(tcp->u_arg[1]); 395 if (iop) { 396 tprintf("%s", iop->symbol); 397 while ((iop = ioctl_next_match(iop))) 398 tprintf(" or %s", iop->symbol);
|
H A D | stream.c | 1041 struct ioctlent *iop; local 1056 iop = ioctl_lookup(si.ic_cmd); 1057 if (iop) { 1058 tprintf(", {ic_cmd=%s", iop->symbol); 1059 while ((iop = ioctl_next_match(iop))) 1060 tprintf(" or %s", iop->symbol);
|
/external/mksh/src/ |
H A D | tree.c | 199 struct ioword *iop = *ioact++; local 202 if ((iop->flag & (IOTYPE | IOHERESTR)) == IOHERE && 203 iop->heredoc) { 205 shf_puts(iop->heredoc, shf); 207 iop->flag & IONDELIM ? "<<" : 208 evalstr(iop->delim, 0)); 223 pioact(struct shf *shf, int indent, struct ioword *iop) argument 225 int flag = iop->flag; 231 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop 684 struct ioword **iop; local [all...] |
H A D | syn.c | 169 struct ioword *iop; local 174 iop = nextiop; 176 return (iop); 182 iop = yylval.iop; 183 if (iop->flag & IONDELIM) 185 ishere = (iop->flag & IOTYPE) == IOHERE; 188 iop->delim = yylval.cp; 192 iop->flag |= IOEVAL; 195 *herep++ = iop; 240 struct ioword *iop, **iops; local [all...] |
H A D | exec.c | 1269 iosetup(struct ioword *iop, struct tbl *tp) argument 1272 char *cp = iop->name; 1273 int iotype = iop->flag & IOTYPE; 1282 iotmp = *iop; 1306 if (Flag(FNOCLOBBER) && !(iop->flag & IOCLOB) && 1318 u = herein(iop->heredoc, iop->flag & IOEVAL, NULL); 1331 X_OK | ((iop->flag & IORDUP) ? R_OK : W_OK), 1337 if (u == iop->unit) 1363 if (e->savefd[iop [all...] |
H A D | lex.c | 919 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); local 922 iop->unit = c == '<' ? 0 : 1; 923 else for (iop->unit = 0, c2 = 0; c2 < Xlength(ws, wp); c2 += 2) { 928 iop->unit = (iop->unit * 10) + dp[c2 + 1] - '0'; 931 if (iop->unit >= FDBASE) 940 iop->flag = IOBASH; 942 iop->flag = 0; 947 iop->flag |= c == c2 ? 949 if (iop 1131 readhere(struct ioword *iop) argument [all...] |
H A D | sh.h | 1402 struct ioword *iop; member in union:__anon10125
|
/external/blktrace/btreplay/ |
H A D | btrecord.c | 273 struct io_pkt iop = { local 283 cur->pkts[cur->hdr.npkts++] = iop; // Struct copy
|
H A D | btreplay.c | 715 struct iocb *iop = &iocbp->iocb; local 723 buf = iop->u.c.buf; 727 assert(iop->u.c.buf); 728 free(iop->u.c.buf); 736 io_prep_pread(iop, iocbp->tip->ofd, buf, n, off); 739 io_prep_pwrite(iop, iocbp->tip->ofd, buf, n, off); 743 iop->data = iocbp;
|
/external/blktrace/ |
H A D | blktrace.c | 1439 static int net_sendfile(struct io_info *iop) argument 1443 ret = sendfile(iop->ofd, iop->ifd, NULL, iop->ready); 1447 } else if (ret < (int)iop->ready) { 1449 ret, iop->ready); 1456 static inline int net_sendfile_data(struct tracer *tp, struct io_info *iop) argument 1458 struct devpath *dpp = iop->dpp; 1460 if (net_send_header(iop->ofd, tp->cpu, dpp->buts_name, iop 1465 fill_ofname(struct io_info *iop, int cpu) argument 1514 set_vbuf(struct io_info *iop, int mode, size_t size) argument 1528 iop_open(struct io_info *iop, int cpu) argument 1552 close_iop(struct io_info *iop) argument 1576 struct io_info *iop = &tp->ios[--tp->nios]; local 1599 struct io_info *iop; local 1667 struct io_info *iop = tp->ios; local 1711 struct io_info *iop = tp->ios; local 1745 struct io_info *iop = tp->ios; local 2241 struct io_info *iop; local 2301 struct io_info *iop; local 2368 struct io_info *iop = &dpp->ios[bnh->cpu]; local [all...] |
/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |