Lines Matching refs:has_cg

1253 static inline const void *pdu_start(const struct trace_entry *ent, bool has_cg)  in pdu_start()  argument
1255 return (void *)(te_blk_io_trace(ent) + 1) + (has_cg ? sizeof(u64) : 0); in pdu_start()
1263 static inline int pdu_real_len(const struct trace_entry *ent, bool has_cg) in pdu_real_len() argument
1265 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0); in pdu_real_len()
1293 static __u64 get_pdu_int(const struct trace_entry *ent, bool has_cg) in get_pdu_int() argument
1295 const __be64 *val = pdu_start(ent, has_cg); in get_pdu_int()
1300 bool has_cg);
1303 bool has_cg) in blk_log_action_classic() argument
1320 bool has_cg) in blk_log_action() argument
1326 if (has_cg) { in blk_log_action()
1362 const struct trace_entry *ent, bool has_cg) in blk_log_dump_pdu() argument
1368 pdu_buf = pdu_start(ent, has_cg); in blk_log_dump_pdu()
1369 pdu_len = pdu_real_len(ent, has_cg); in blk_log_dump_pdu()
1400 static void blk_log_generic(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_generic() argument
1408 blk_log_dump_pdu(s, ent, has_cg); in blk_log_generic()
1420 const struct trace_entry *ent, bool has_cg) in blk_log_with_error() argument
1423 blk_log_dump_pdu(s, ent, has_cg); in blk_log_with_error()
1436 static void blk_log_remap(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_remap() argument
1438 const struct blk_io_trace_remap *__r = pdu_start(ent, has_cg); in blk_log_remap()
1447 static void blk_log_plug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_plug() argument
1456 static void blk_log_unplug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_unplug() argument
1462 trace_seq_printf(s, "[%s] %llu\n", cmd, get_pdu_int(ent, has_cg)); in blk_log_unplug()
1465 static void blk_log_split(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_split() argument
1472 get_pdu_int(ent, has_cg), cmd); in blk_log_split()
1476 bool has_cg) in blk_log_msg() argument
1479 trace_seq_putmem(s, pdu_start(ent, has_cg), in blk_log_msg()
1480 pdu_real_len(ent, has_cg)); in blk_log_msg()
1521 bool has_cg);
1549 bool has_cg; in print_one_line() local
1555 has_cg = t->action & __BLK_TA_CGROUP; in print_one_line()
1558 log_action(iter, long_act ? "message" : "m", has_cg); in print_one_line()
1559 blk_log_msg(s, iter->ent, has_cg); in print_one_line()
1566 log_action(iter, what2act[what].act[long_act], has_cg); in print_one_line()
1567 what2act[what].print(s, iter->ent, has_cg); in print_one_line()