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

1 2

  /external/blktrace/btt/
trace.c 23 static void __add_trace(struct io *iop)
27 last_t_seen = BIT_TIME(iop->t.time);
30 iostat_check_time(iop->t.time);
39 switch (iop->t.action & 0xffff) {
40 case __BLK_TA_QUEUE: trace_queue(iop); break;
41 case __BLK_TA_REMAP: trace_remap(iop); break;
42 case __BLK_TA_INSERT: trace_insert(iop); break;
43 case __BLK_TA_GETRQ: trace_getrq(iop); break;
44 case __BLK_TA_BACKMERGE: trace_merge(iop); break;
45 case __BLK_TA_FRONTMERGE: trace_merge(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);
41 rb_replace_node(parent, &iop->rb_node, root);
46 rb_link_node(&iop->rb_node, parent, p);
47 rb_insert_color(&iop->rb_node, root);
69 void rb_foreach(struct rb_node *n, struct io *iop,
70 void (*fnc)(struct io *iop, struct io *this),
75 __u64 iop_s = BIT_START(iop), iop_e = BIT_END(iop);
79 if (fnc) fnc(iop, this)
    [all...]
bno_dump.c 42 static inline void bno_dump_write(FILE *fp, struct io *iop)
44 fprintf(fp, "%15.9lf %lld %lld\n", BIT_TIME(iop->t.time),
45 (long long)BIT_START(iop), (long long)BIT_END(iop));
67 void bno_dump_add(void *handle, struct io *iop)
72 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp;
75 bno_dump_write(fp, iop);
77 bno_dump_write(bdp->cfp, iop);
devs.c 37 struct io *iop = rb_entry(n, struct io, rb_node); local
41 io_release(iop);
120 struct d_info *dip_alloc(__u32 device, struct io *iop)
132 dip->start_time = BIT_TIME(iop->t.time);
161 if (iop->type == IOP_Q || iop->type == IOP_A)
167 iop->linked = dip_rb_ins(dip, iop);
168 dip->end_time = BIT_TIME(iop->t.time);
173 void iop_rem_dip(struct io *iop)
    [all...]
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...]
bt_timeline.c 106 struct io *iop = io_alloc(); local
111 while (!done && next_trace(&iop->t, &iop->pdu)) {
112 add_trace(iop);
113 iop = io_alloc();
116 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 181 long long seek_dist(struct seeki *sip, struct io *iop)
184 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 28 vfprintf(iop, fmt, ap)
29 FILE *iop;
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
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
fsetpos.c 57 fsetpos(FILE *iop, const fpos_t *pos)
59 _DIAGASSERT(iop != NULL);
62 return (fseeko(iop, (off_t)*pos, SEEK_SET));
  /external/strace/
ioctl.c 47 struct_ioctlent *iop; local
49 iop = bsearch((const void *) (const uintptr_t) code, ioctlent,
51 while (iop > ioctlent) {
52 iop--;
53 if (iop->code != code) {
54 iop++;
58 return iop;
62 ioctl_next_match(const struct_ioctlent *iop)
64 const unsigned int code = iop->code;
65 iop++
340 const struct_ioctlent *iop; local
    [all...]
  /external/mksh/src/
tree.c 232 struct ioword *iop = *ioact++; local
235 if ((iop->ioflag & (IOTYPE | IOHERESTR)) == IOHERE &&
236 iop->heredoc) {
238 shf_puts(iop->heredoc, shf);
240 evalstr(iop->delim, 0));
257 pioact(struct shf *shf, struct ioword *iop)
259 unsigned short flag = iop->ioflag;
265 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop->unit :
266 iop->unit + 1
752 struct ioword **iop; local
938 struct ioword **ioact, *iop; local
    [all...]
syn.c 183 struct ioword *iop; local
188 iop = nextiop;
190 return (iop);
196 iop = yylval.iop;
197 ishere = (iop->ioflag & IOTYPE) == IOHERE;
198 if (iop->ioflag & IOHERESTR) {
203 iop->ioflag |= IOEVAL | IONDELIM;
207 iop->delim = yylval.cp;
208 if (*ident != 0 && !(iop->ioflag & IOHERESTR))
271 struct ioword *iop, **iops; local
    [all...]
  /external/u-boot/include/configs/
MPC8560ADS.h 307 #define MDIO_DECLARE volatile ioport_t *iop = ioport_addr ( \
311 #define MDIO_ACTIVE (iop->pdir |= 0x00400000)
312 #define MDIO_TRISTATE (iop->pdir &= ~0x00400000)
313 #define MDIO_READ ((iop->pdat & 0x00400000) != 0)
315 #define MDIO(bit) if(bit) iop->pdat |= 0x00400000; \
316 else iop->pdat &= ~0x00400000
318 #define MDC(bit) if(bit) iop->pdat |= 0x00200000; \
319 else iop->pdat &= ~0x00200000
  /external/blktrace/
blktrace.c 1484 static int net_sendfile(struct io_info *iop)
1488 ret = sendfile(iop->ofd, iop->ifd, NULL, iop->ready);
1492 } else if (ret < (int)iop->ready) {
1494 ret, iop->ready);
1631 struct io_info *iop = &tp->ios[--tp->nios]; local
1654 struct io_info *iop; local
1722 struct io_info *iop = tp->ios; local
1765 struct io_info *iop = tp->ios; local
1799 struct io_info *iop = tp->ios; local
2343 struct io_info *iop; local
2403 struct io_info *iop; local
2470 struct io_info *iop = &dpp->ios[bnh->cpu]; local
    [all...]
  /external/u-boot/board/cssi/MCR3000/
MCR3000.c 119 iop8xx_t __iomem *iop = &immr->im_ioport; local
122 clrbits_be16(&iop->iop_pcpar, 0x4);
123 clrbits_be16(&iop->iop_pcdir, 0x4);
126 if ((in_be16(&iop->iop_pcdat) & 0x0004) == 0)
  /external/antlr/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/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/runtime/Java/src/main/java/org/antlr/runtime/
TokenRewriteStream.java 472 InsertBeforeOp iop = inserts.get(j); local
473 if ( iop.index == rop.index ) {
476 rewrites.set(iop.instructionIndex, null);
477 rop.text = iop.text.toString() + (rop.text!=null?rop.text.toString():"");
479 else if ( iop.index > rop.index && iop.index <= rop.lastIndex ) {
481 rewrites.set(iop.instructionIndex, null);
519 InsertBeforeOp iop = (InsertBeforeOp)rewrites.get(i); local
524 if ( prevIop.index == iop.index ) { // combine objects
527 iop.text = catOpText(iop.text,prevIop.text)
    [all...]
  /external/mesa3d/src/mesa/main/tests/
mesa_formats.cpp 103 #define HAS_PROP(rop,gop,bop,aop,lop,iop) \
110 EXPECT_TRUE(i iop 0); \
  /bionic/libc/kernel/uapi/linux/
i2o-dev.h 40 unsigned int iop; member in struct:i2o_cmd_passthru32
44 unsigned int iop; member in struct:i2o_cmd_passthru
48 unsigned int iop; member in struct:i2o_cmd_hrtlct
53 unsigned int iop; member in struct:i2o_cmd_psetget
61 unsigned int iop; member in struct:i2o_sw_xfer
71 unsigned int iop; member in struct:i2o_html
81 unsigned int iop; member in struct:i2o_evt_id
  /external/kernel-headers/original/uapi/linux/
i2o-dev.h 50 unsigned int iop; /* IOP unit number */ member in struct:i2o_cmd_passthru32
55 unsigned int iop; /* IOP unit number */ member in struct:i2o_cmd_passthru
60 unsigned int iop; /* IOP unit number */ member in struct:i2o_cmd_hrtlct
66 unsigned int iop; /* IOP unit number */ member in struct:i2o_cmd_psetget
75 unsigned int iop; /* IOP unit number * member in struct:i2o_sw_xfer
86 unsigned int iop; \/* IOP unit number *\/ member in struct:i2o_html
98 unsigned int iop; member in struct:i2o_evt_id
    [all...]

Completed in 2023 milliseconds

1 2