Searched defs:ipo (Results 1 - 7 of 7) sorted by relevance

/external/fio/
H A Dtrim.c16 struct io_piece *ipo; local
27 ipo = flist_entry(td->trim_list.next, struct io_piece, trim_list);
28 remove_trim_entry(td, ipo);
30 io_u->offset = ipo->offset;
31 io_u->buflen = ipo->len;
32 io_u->file = ipo->file;
39 if (ipo->flags & IP_F_ONLIST)
40 flist_del(&ipo->list);
42 assert(ipo->flags & IP_F_ONRB);
43 rb_erase(&ipo
[all...]
H A Dtrim.h14 static inline void remove_trim_entry(struct thread_data *td, struct io_piece *ipo) argument
16 if (!flist_empty(&ipo->trim_list)) {
17 flist_del_init(&ipo->trim_list);
31 static inline void remove_trim_entry(struct thread_data *td, struct io_piece *ipo) argument
H A Dblktrace.c179 struct io_piece *ipo; local
181 ipo = calloc(1, sizeof(*ipo));
182 init_ipo(ipo);
184 ipo->ddir = DDIR_INVAL;
185 ipo->fileno = fileno;
186 ipo->file_action = action;
187 flist_add_tail(&ipo->list, &td->io_log_list);
231 * Store blk_io_trace data in an ipo for later retrieval.
237 struct io_piece *ipo local
281 struct io_piece *ipo = malloc(sizeof(*ipo)); local
[all...]
H A Diolog.h142 static inline void init_ipo(struct io_piece *ipo) argument
144 memset(ipo, 0, sizeof(*ipo));
145 INIT_FLIST_HEAD(&ipo->trim_list);
H A Dioengine.h74 struct io_piece *ipo; member in struct:io_u
H A Diolog.c17 void queue_io_piece(struct thread_data *td, struct io_piece *ipo) argument
19 flist_add_tail(&ipo->list, &td->io_log_list);
20 td->total_io_size += ipo->len;
84 static int ipo_special(struct thread_data *td, struct io_piece *ipo) argument
90 * Not a special ipo
92 if (ipo->ddir != DDIR_INVAL)
95 f = td->files[ipo->fileno];
97 switch (ipo->file_action) {
111 log_err("fio: bad file action %d\n", ipo->file_action);
120 struct io_piece *ipo; local
167 struct io_piece *ipo; local
193 struct io_piece *ipo, *__ipo; local
273 struct io_piece *ipo = io_u->ipo; local
290 struct io_piece *ipo = io_u->ipo; local
332 struct io_piece *ipo; local
[all...]
H A Dverify.c1075 struct io_piece *ipo = NULL; local
1086 ipo = rb_entry(n, struct io_piece, rb_node);
1092 if (ipo->flags & IP_F_IN_FLIGHT)
1096 assert(ipo->flags & IP_F_ONRB);
1097 ipo->flags &= ~IP_F_ONRB;
1099 ipo = flist_entry(td->io_hist_list.next, struct io_piece, list);
1105 if (ipo->flags & IP_F_IN_FLIGHT)
1108 flist_del(&ipo->list);
1109 assert(ipo->flags & IP_F_ONLIST);
1110 ipo
[all...]

Completed in 138 milliseconds