Searched refs:iop (Results 1 - 25 of 34) sorted by relevance

12

/external/blktrace/btt/
H A Dtrace.c23 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 Dinlines.h124 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 Dtrace_complete.c35 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 Ddip_rb.c24 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 Dbno_dump.c45 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 Dglobals.h41 #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...]
H A Ddevs.c37 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 Dbt_timeline.c101 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 Dproc.c222 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 Diostat.c242 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 Dseek.c184 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;
/external/e2fsprogs/lib/et/
H A Dvfprintf.c27 vfprintf(iop, fmt, ap)
28 FILE *iop;
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
[all...]
/external/strace/
H A Dioctl.c45 struct_ioctlent *iop; local
48 iop = bsearch((void*)code, ioctlent,
50 while (iop > ioctlent) {
51 iop--;
52 if (iop->code != code) {
53 iop++;
57 return iop;
61 ioctl_next_match(const struct_ioctlent *iop) argument
65 code = iop->code;
66 iop
[all...]
H A Dio.c383 const struct_ioctlent *iop; local
388 iop = ioctl_lookup(tcp->u_arg[1]);
389 if (iop) {
390 tprints(iop->symbol);
391 while ((iop = ioctl_next_match(iop)))
392 tprintf(" or %s", iop->symbol);
/external/blktrace/
H A Dblktrace.c1439 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/mksh/src/
H A Dtree.c221 struct ioword *iop = *ioact++; local
224 if ((iop->flag & (IOTYPE | IOHERESTR)) == IOHERE &&
225 iop->heredoc) {
227 shf_puts(iop->heredoc, shf);
229 iop->flag & IONDELIM ? "<<" :
230 evalstr(iop->delim, 0));
247 pioact(struct shf *shf, struct ioword *iop) argument
249 int flag = iop->flag;
255 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop
730 struct ioword **iop; local
906 struct ioword **ioact, *iop; local
[all...]
H A Dsyn.c179 struct ioword *iop; local
184 iop = nextiop;
186 return (iop);
192 iop = yylval.iop;
193 if (iop->flag & IONDELIM)
195 ishere = (iop->flag & IOTYPE) == IOHERE;
198 iop->delim = yylval.cp;
202 iop->flag |= IOEVAL;
205 *herep++ = iop;
263 struct ioword *iop, **iops; local
[all...]
H A Dlex.c914 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); local
917 iop->unit = c == '<' ? 0 : 1;
918 else for (iop->unit = 0, c2 = 0; c2 < Xlength(ws, wp); c2 += 2) {
923 iop->unit = (iop->unit * 10) + dp[c2 + 1] - '0';
926 if (iop->unit >= FDBASE)
935 iop->flag = IOBASH;
937 iop->flag = 0;
942 iop->flag |= c == c2 ?
944 if (iop
1126 readhere(struct ioword *iop) argument
[all...]
H A Dexec.c1291 iosetup(struct ioword *iop, struct tbl *tp) argument
1294 char *cp = iop->name;
1295 int iotype = iop->flag & IOTYPE;
1305 iotmp = *iop;
1330 if (Flag(FNOCLOBBER) && !(iop->flag & IOCLOB) &&
1342 u = herein(iop, NULL);
1355 X_OK | ((iop->flag & IORDUP) ? R_OK : W_OK),
1364 if (u == iop->unit)
1390 if (e->savefd[iop->unit] == 0) {
1392 if (u == iop
1483 herein(struct ioword *iop, char **resbuf) argument
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DTokenRewriteStream.as325 var iop:InsertBeforeOp = InsertBeforeOp(inserts[j]);
326 if ( iop.index >= rop.index && iop.index <= rop.lastIndex ) {
327 rewrites[iop.instructionIndex] = null; // delete insert as it's a no-op.
355 iop = InsertBeforeOp(rewrites[i]);
360 if ( prevIop.index == iop.index ) { // combine objects
363 iop.text = catOpText(iop.text,prevIop.text);
367 // look for replaces where iop.index is in range; error
371 if ( iop
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DTokenRewriteStream.cs504 InsertBeforeOp iop = (InsertBeforeOp)inserts[j];
505 if (iop.index >= rop.index && iop.index <= rop.lastIndex) {
507 rewrites[iop.instructionIndex] = null;
538 InsertBeforeOp iop = (InsertBeforeOp)rewrites[i];
543 if (prevIop.index == iop.index) { // combine objects
546 iop.text = CatOpText(iop.text, prevIop.text);
551 // look for replaces where iop.index is in range; error
555 if (iop
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DTokenRewriteStream.cs582 InsertBeforeOp iop = (InsertBeforeOp)inserts[j];
583 if (iop.index == rop.index)
587 rewrites[iop.instructionIndex] = null;
588 rop.text = iop.text.ToString() + (rop.text != null ? rop.text.ToString() : string.Empty);
590 else if (iop.index > rop.index && iop.index <= rop.lastIndex)
593 rewrites[iop.instructionIndex] = null;
638 InsertBeforeOp iop = (InsertBeforeOp)rewrites[i];
644 if ( prevIop.index == iop.index )
648 iop
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DTokenRewriteStream.java468 InsertBeforeOp iop = (InsertBeforeOp) inserts.get(j);
469 if ( iop.index == rop.index ) {
472 rewrites.set(iop.instructionIndex, null);
473 rop.text = iop.text.toString() + (rop.text!=null?rop.text.toString():"");
475 else if ( iop.index > rop.index && iop.index <= rop.lastIndex ) {
477 rewrites.set(iop.instructionIndex, null);
515 InsertBeforeOp iop = (InsertBeforeOp)rewrites.get(i);
520 if ( prevIop.index == iop.index ) { // combine objects
523 iop
[all...]
/external/kernel-headers/original/uapi/linux/
H A Di2o-dev.h49 unsigned int iop; /* IOP unit number */ member in struct:i2o_cmd_passthru32
54 unsigned int iop; /* IOP unit number */ member in struct:i2o_cmd_passthru
59 unsigned int iop; /* IOP unit number */ member in struct:i2o_cmd_hrtlct
65 unsigned int iop; /* IOP unit number */ member in struct:i2o_cmd_psetget
74 unsigned int iop; /* IOP unit number */ member in struct:i2o_sw_xfer
85 unsigned int iop; /* IOP unit number */ member in struct:i2o_html
97 unsigned int iop; member in struct:i2o_evt_id
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dstreams.py1401 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
[all...]

Completed in 1302 milliseconds

12