HomeSort by relevance Sort by last modified time
    Searched refs:iop (Results 1 - 25 of 46) sorted by null

1 2

  /external/blktrace/btt/
trace.c 23 static void __add_trace(struct io *iop)
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); break
    [all...]
inlines.h 124 static inline void dip_update_q(struct d_info *dip, struct io *iop)
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)
151 struct io *iop; local
    [all...]
trace_complete.c 35 static void display_io_track(FILE *ofp, struct io *iop)
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->t),1)
    [all...]
dip_rb.c 24 int rb_insert(struct rb_root *root, struct io *iop)
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,
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, fnc, head)
    [all...]
bno_dump.c 45 static inline void bno_dump_write(FILE *fp, struct io *iop)
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)
75 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp;
78 bno_dump_write(fp, iop);
80 bno_dump_write(bdp->cfp, iop);
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...]
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)
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)
    [all...]
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);
proc.c 222 void pip_update_q(struct io *iop)
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->pip->regions, iop->t.time)
    [all...]
iostat.c 242 void iostat_getrq(struct io *iop)
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)
250 INC_STAT(iop->dip, rqm[IOP_RW(iop)]);
253 void iostat_issue(struct io *iop)
255 int rw = IOP_RW(iop);
256 struct d_info *dip = iop->dip
    [all...]
seek.c 184 long long seek_dist(struct seeki *sip, struct io *iop)
187 long long start = BIT_START(iop), end = BIT_END(iop);
251 void seeki_add(void *handle, struct io *iop)
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/
vfprintf.c 27 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->_base = NULL
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
fsetpos.c 40 fsetpos(FILE *iop, const fpos_t *pos)
42 return (fseeko(iop, (off_t)*pos, SEEK_SET));
  /external/strace/
ioctl.c 45 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)
65 code = iop->code;
66 iop++
    [all...]
  /bootable/recovery/minzip/
Android.mk 13 external/safe-iop/include
  /bionic/libc/upstream-netbsd/lib/libc/gen/
popen.c 84 FILE *iop; local
162 iop = fdopen(pdes[0], xtype);
168 iop = fdopen(pdes[1], xtype);
176 cur->fp = iop;
182 return (iop);
191 pclose(FILE *iop)
197 _DIAGASSERT(iop != NULL);
203 if (cur->fp == iop)
210 (void)fclose(iop);
  /external/blktrace/
blktrace.c 1439 static int net_sendfile(struct io_info *iop)
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)
1458 struct devpath *dpp = iop->dpp;
1460 if (net_send_header(iop->ofd, tp->cpu, dpp->buts_name, iop->ready)
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/
tree.c 221 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)
249 int flag = iop->flag;
255 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop->unit
730 struct ioword **iop; local
905 struct ioword **ioact, *iop; local
    [all...]
syn.c 179 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...]
lex.c 915 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); local
918 iop->unit = c == '<' ? 0 : 1;
919 else for (iop->unit = 0, c2 = 0; c2 < Xlength(ws, wp); c2 += 2) {
924 iop->unit = (iop->unit * 10) + dp[c2 + 1] - '0';
927 if (iop->unit >= FDBASE)
936 iop->flag = IOBASH;
938 iop->flag = 0;
943 iop->flag |= c == c2 ?
945 if (iop->flag == IOHERE)
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
TokenRewriteStream.as 325 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.index == rop.index )
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
TokenRewriteStream.cs 582 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.text = CatOpText( iop.text, prevIop.text )
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
TokenRewriteStream.java 468 InsertBeforeOp iop = (InsertBeforeOp) inserts.get(j); local
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); local
520 if ( prevIop.index == iop.index ) { // combine objects
523 iop.text = catOpText(iop.text,prevIop.text)
    [all...]
  /bionic/libc/kernel/uapi/linux/
i2o-dev.h 45 unsigned int iop; member in struct:i2o_cmd_passthru32
50 unsigned int iop; member in struct:i2o_cmd_passthru
55 unsigned int iop; member in struct:i2o_cmd_hrtlct
61 unsigned int iop; member in struct:i2o_cmd_psetget
71 unsigned int iop; member in struct:i2o_sw_xfer
84 unsigned int iop; member in struct:i2o_html
96 unsigned int iop; member in struct:i2o_evt_id
  /development/ndk/platforms/android-L/include/linux/
i2o-dev.h 45 unsigned int iop; member in struct:i2o_cmd_passthru32
50 unsigned int iop; member in struct:i2o_cmd_passthru
55 unsigned int iop; member in struct:i2o_cmd_hrtlct
61 unsigned int iop; member in struct:i2o_cmd_psetget
71 unsigned int iop; member in struct:i2o_sw_xfer
84 unsigned int iop; member in struct:i2o_html
96 unsigned int iop; member in struct:i2o_evt_id

Completed in 279 milliseconds

1 2