Searched defs:iop (Results 1 - 24 of 24) sorted by relevance

/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 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 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 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 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 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 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 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;
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 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...]
/external/strace/
H A Dioctl.c53 struct_ioctlent *iop; local
55 iop = bsearch((const void *) (const uintptr_t) code, ioctlent,
57 while (iop > ioctlent) {
58 iop--;
59 if (iop->code != code) {
60 iop++;
64 return iop;
68 ioctl_next_match(const struct_ioctlent *iop) argument
70 const unsigned int code = iop->code;
71 iop
295 const struct_ioctlent *iop; local
[all...]
/external/syslinux/com32/lib/sys/
H A Dfile.h81 const struct input_dev *iop; /* Input operations */ member in struct:file_info
/external/mksh/src/
H A Dtree.c223 struct ioword *iop = *ioact++; local
226 if ((iop->ioflag & (IOTYPE | IOHERESTR)) == IOHERE &&
227 iop->heredoc) {
229 shf_puts(iop->heredoc, shf);
231 evalstr(iop->delim, 0));
248 pioact(struct shf *shf, struct ioword *iop) argument
250 unsigned short flag = iop->ioflag;
256 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop->unit :
257 iop
735 struct ioword **iop; local
914 struct ioword **ioact, *iop; local
[all...]
H A Dexec.c1340 iosetup(struct ioword *iop, struct tbl *tp) argument
1343 char *cp = iop->ioname;
1344 int iotype = iop->ioflag & IOTYPE;
1354 iotmp = *iop;
1374 if (Flag(FNOCLOBBER) && !(iop->ioflag & IOCLOB)) {
1404 u = herein(iop, NULL);
1417 X_OK | ((iop->ioflag & IORDUP) ? R_OK : W_OK),
1426 if (u == (int)iop->unit)
1461 if (e->savefd[iop->unit] == 0) {
1463 if (u == (int)iop
1519 hereinval(struct ioword *iop, int sub, char **resbuf, struct shf *shf) argument
1555 herein(struct ioword *iop, char **resbuf) argument
[all...]
H A Dlex.c901 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); local
903 iop->unit = c2 == 2 ? ksh_numdig(dp[1]) : c == '<' ? 0 : 1;
911 iop->ioflag = IOBASH;
913 iop->ioflag = 0;
918 iop->ioflag |= c == c2 ?
920 if (iop->ioflag == IOHERE) {
922 iop->ioflag |= IOSKIP;
924 iop->ioflag |= IOHERESTR;
929 iop->ioflag |= IODUP | (c == '<' ? IORDUP : 0);
931 iop
1108 readhere(struct ioword *iop) argument
[all...]
H A Dsyn.c181 struct ioword *iop; local
186 iop = nextiop;
188 return (iop);
194 iop = yylval.iop;
195 ishere = (iop->ioflag & IOTYPE) == IOHERE;
196 if (iop->ioflag & IOHERESTR) {
201 iop->ioflag |= IOEVAL | IONDELIM;
205 iop->delim = yylval.cp;
206 if (*ident != 0 && !(iop
265 struct ioword *iop, **iops; local
[all...]
H A Dsh.h1901 struct ioword *iop; member in union:__anon15369
/external/blktrace/btreplay/
H A Dbtrecord.c273 struct io_pkt iop = { local
283 cur->pkts[cur->hdr.npkts++] = iop; // Struct copy
H A Dbtreplay.c715 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 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/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/valgrind/VEX/priv/
H A Dguest_arm64_toIR.c3396 IROp iop = Iop_INVALID; local
3403 case BITS2(0,0): iop = mkSHL(ty); break;
3404 case BITS2(0,1): iop = mkSHR(ty); break;
3405 case BITS2(1,0): iop = mkSAR(ty); break;
3408 assign(res, binop(iop, mkexpr(srcL),
10110 IROp iop = isU ? (isD ? Iop_I64UtoF64 : Iop_I32UtoF32) local
10113 putQRegLO(dd, binop(iop, mkexpr(rm), getQRegLO(nn, tyI)));
11860 IROp iop = isH ? Iop_Reverse16sIn32_x4 : Iop_Reverse8sIn32_x4; local
11861 assign(res, unop(iop, getQReg128(nn)));
12433 IROp iop local
13212 IROp iop = Iop_INVALID; local
13244 IROp iop = mkMULF(ity); local
13576 IROp iop = iops[ix]; local
[all...]
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...

Completed in 523 milliseconds