Home
last modified time | relevance | path

Searched refs:BLK_TC_ACT (Results 1 – 12 of 12) sorted by relevance

/external/blktrace/
Dblktrace_api.h30 #define BLK_TC_ACT(act) ((act) << BLK_TC_SHIFT) macro
67 #define BLK_TA_QUEUE (__BLK_TA_QUEUE | BLK_TC_ACT(BLK_TC_QUEUE))
68 #define BLK_TA_BACKMERGE (__BLK_TA_BACKMERGE | BLK_TC_ACT(BLK_TC_QUEUE))
69 #define BLK_TA_FRONTMERGE (__BLK_TA_FRONTMERGE | BLK_TC_ACT(BLK_TC_QUEUE))
70 #define BLK_TA_GETRQ (__BLK_TA_GETRQ | BLK_TC_ACT(BLK_TC_QUEUE))
71 #define BLK_TA_SLEEPRQ (__BLK_TA_SLEEPRQ | BLK_TC_ACT(BLK_TC_QUEUE))
72 #define BLK_TA_REQUEUE (__BLK_TA_REQUEUE | BLK_TC_ACT(BLK_TC_REQUEUE))
73 #define BLK_TA_ISSUE (__BLK_TA_ISSUE | BLK_TC_ACT(BLK_TC_ISSUE))
74 #define BLK_TA_COMPLETE (__BLK_TA_COMPLETE| BLK_TC_ACT(BLK_TC_COMPLETE))
75 #define BLK_TA_PLUG (__BLK_TA_PLUG | BLK_TC_ACT(BLK_TC_QUEUE))
[all …]
Dblkparse_fmt.c55 int w = t->action & BLK_TC_ACT(BLK_TC_WRITE); in fill_rwbs()
56 int a = t->action & BLK_TC_ACT(BLK_TC_AHEAD); in fill_rwbs()
57 int b = t->action & BLK_TC_ACT(BLK_TC_BARRIER); in fill_rwbs()
58 int s = t->action & BLK_TC_ACT(BLK_TC_SYNC); in fill_rwbs()
59 int m = t->action & BLK_TC_ACT(BLK_TC_META); in fill_rwbs()
60 int d = t->action & BLK_TC_ACT(BLK_TC_DISCARD); in fill_rwbs()
315 if (t->action & BLK_TC_ACT(BLK_TC_PC)) { in process_default()
347 if (t->action & BLK_TC_ACT(BLK_TC_PC)) { in process_default()
Dblkiomon.c363 return a & (BLK_TC_ACT(bits)); in action()
415 if (t_old->bit.action & BLK_TC_ACT(BLK_TC_ISSUE) && in blkiomon_do_trace()
416 t_young->bit.action & BLK_TC_ACT(BLK_TC_COMPLETE)) { in blkiomon_do_trace()
500 if (bit->action & BLK_TC_ACT(BLK_TC_DRV_DATA)) { in blkiomon_do_fifo()
509 if (!(bit->action & BLK_TC_ACT(BLK_TC_ISSUE | BLK_TC_COMPLETE))) in blkiomon_do_fifo()
Dblkparse.c1054 int w = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0; in log_track_insert()
1074 if ((t->action & BLK_TC_ACT(BLK_TC_FS)) == 0) in log_track_issue()
1091 int w = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0; in log_track_issue()
1126 int w = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0; in log_track_complete()
1475 int w = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0; in dump_trace_pc()
1524 int w = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0; in dump_trace_fs()
1610 else if (t->action & BLK_TC_ACT(BLK_TC_PC)) in dump_trace()
1622 !(t->action & BLK_TC_ACT(BLK_TC_NOTIFY) && in dump_trace()
2212 if (bit->action & BLK_TC_ACT(BLK_TC_NOTIFY) && bit->action != BLK_TN_MESSAGE) { in read_events()
2355 if (bit->action & BLK_TC_ACT(BLK_TC_NOTIFY) && bit->action != BLK_TN_MESSAGE) { in ms_prime()
Dblkrawverify.c217 if (bit->action & BLK_TC_ACT(BLK_TC_NOTIFY)) in process()
/external/kernel-headers/original/uapi/linux/
Dblktrace_api.h32 #define BLK_TC_ACT(act) ((act) << BLK_TC_SHIFT) macro
70 #define BLK_TA_QUEUE (__BLK_TA_QUEUE | BLK_TC_ACT(BLK_TC_QUEUE))
71 #define BLK_TA_BACKMERGE (__BLK_TA_BACKMERGE | BLK_TC_ACT(BLK_TC_QUEUE))
72 #define BLK_TA_FRONTMERGE (__BLK_TA_FRONTMERGE | BLK_TC_ACT(BLK_TC_QUEUE))
73 #define BLK_TA_GETRQ (__BLK_TA_GETRQ | BLK_TC_ACT(BLK_TC_QUEUE))
74 #define BLK_TA_SLEEPRQ (__BLK_TA_SLEEPRQ | BLK_TC_ACT(BLK_TC_QUEUE))
75 #define BLK_TA_REQUEUE (__BLK_TA_REQUEUE | BLK_TC_ACT(BLK_TC_REQUEUE))
76 #define BLK_TA_ISSUE (__BLK_TA_ISSUE | BLK_TC_ACT(BLK_TC_ISSUE))
77 #define BLK_TA_COMPLETE (__BLK_TA_COMPLETE| BLK_TC_ACT(BLK_TC_COMPLETE))
78 #define BLK_TA_PLUG (__BLK_TA_PLUG | BLK_TC_ACT(BLK_TC_QUEUE))
[all …]
/external/fio/
Dblktrace_api.h30 #define BLK_TC_ACT(act) ((act) << BLK_TC_SHIFT) macro
67 #define BLK_TA_QUEUE (__BLK_TA_QUEUE | BLK_TC_ACT(BLK_TC_QUEUE))
68 #define BLK_TA_BACKMERGE (__BLK_TA_BACKMERGE | BLK_TC_ACT(BLK_TC_QUEUE))
69 #define BLK_TA_FRONTMERGE (__BLK_TA_FRONTMERGE | BLK_TC_ACT(BLK_TC_QUEUE))
70 #define BLK_TA_GETRQ (__BLK_TA_GETRQ | BLK_TC_ACT(BLK_TC_QUEUE))
71 #define BLK_TA_SLEEPRQ (__BLK_TA_SLEEPRQ | BLK_TC_ACT(BLK_TC_QUEUE))
72 #define BLK_TA_REQUEUE (__BLK_TA_REQUEUE | BLK_TC_ACT(BLK_TC_REQUEUE))
73 #define BLK_TA_ISSUE (__BLK_TA_ISSUE | BLK_TC_ACT(BLK_TC_ISSUE))
74 #define BLK_TA_COMPLETE (__BLK_TA_COMPLETE| BLK_TC_ACT(BLK_TC_COMPLETE))
75 #define BLK_TA_PLUG (__BLK_TA_PLUG | BLK_TC_ACT(BLK_TC_QUEUE))
[all …]
Dblktrace.c269 rw = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0; in handle_trace_fs()
292 if (!(t->action & BLK_TC_ACT(BLK_TC_NOTIFY))) { in handle_trace()
302 if (t->action & BLK_TC_ACT(BLK_TC_NOTIFY)) in handle_trace()
304 else if (t->action & BLK_TC_ACT(BLK_TC_DISCARD)) in handle_trace()
327 return (t->action & BLK_TC_ACT(BLK_TC_WRITE | BLK_TC_DISCARD)) != 0; in t_is_write()
393 if ((t.action & BLK_TC_ACT(BLK_TC_NOTIFY)) == 0) { in load_blktrace()
/external/blktrace/btt/
Dtrace.c76 if (iop->t.action & BLK_TC_ACT(BLK_TC_NOTIFY)) { in add_trace()
90 } else if (iop->t.action & BLK_TC_ACT(BLK_TC_PC)) { in add_trace()
Dglobals.h43 #define IOP_READ(iop) ((iop)->t.action & BLK_TC_ACT(BLK_TC_READ))
/external/fio/t/
Dbtrace2fio.c320 if (t->action & BLK_TC_ACT(BLK_TC_DISCARD)) in t_to_rwdir()
323 return (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0; in t_to_rwdir()
351 rw = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0; in handle_trace_fs()
368 if (t->action & BLK_TC_ACT(BLK_TC_NOTIFY)) in handle_queue_trace()
370 else if (t->action & BLK_TC_ACT(BLK_TC_DISCARD)) in handle_queue_trace()
/external/blktrace/btreplay/
Dbtrecord.c208 (action & BLK_TC_ACT(BLK_TC_QUEUE)); in match()
546 spec->rw = (action & BLK_TC_ACT(BLK_TC_READ)) ? 1 : 0; in next_io()