Lines Matching refs:has_cg
1442 static inline const void *pdu_start(const struct trace_entry *ent, bool has_cg) in pdu_start() argument
1444 return (void *)(te_blk_io_trace(ent) + 1) + (has_cg ? sizeof(u64) : 0); in pdu_start()
1452 static inline int pdu_real_len(const struct trace_entry *ent, bool has_cg) in pdu_real_len() argument
1454 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0); in pdu_real_len()
1482 static __u64 get_pdu_int(const struct trace_entry *ent, bool has_cg) in get_pdu_int() argument
1484 const __be64 *val = pdu_start(ent, has_cg); in get_pdu_int()
1489 bool has_cg);
1492 bool has_cg) in blk_log_action_classic() argument
1509 bool has_cg) in blk_log_action() argument
1515 if (has_cg) { in blk_log_action()
1551 const struct trace_entry *ent, bool has_cg) in blk_log_dump_pdu() argument
1557 pdu_buf = pdu_start(ent, has_cg); in blk_log_dump_pdu()
1558 pdu_len = pdu_real_len(ent, has_cg); in blk_log_dump_pdu()
1589 static void blk_log_generic(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_generic() argument
1597 blk_log_dump_pdu(s, ent, has_cg); in blk_log_generic()
1609 const struct trace_entry *ent, bool has_cg) in blk_log_with_error() argument
1612 blk_log_dump_pdu(s, ent, has_cg); in blk_log_with_error()
1625 static void blk_log_remap(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_remap() argument
1627 const struct blk_io_trace_remap *__r = pdu_start(ent, has_cg); in blk_log_remap()
1636 static void blk_log_plug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_plug() argument
1645 static void blk_log_unplug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_unplug() argument
1651 trace_seq_printf(s, "[%s] %llu\n", cmd, get_pdu_int(ent, has_cg)); in blk_log_unplug()
1654 static void blk_log_split(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_split() argument
1661 get_pdu_int(ent, has_cg), cmd); in blk_log_split()
1665 bool has_cg) in blk_log_msg() argument
1668 trace_seq_putmem(s, pdu_start(ent, has_cg), in blk_log_msg()
1669 pdu_real_len(ent, has_cg)); in blk_log_msg()
1710 bool has_cg);
1737 bool has_cg; in print_one_line() local
1743 has_cg = t->action & __BLK_TA_CGROUP; in print_one_line()
1746 log_action(iter, long_act ? "message" : "m", has_cg); in print_one_line()
1747 blk_log_msg(s, iter->ent, has_cg); in print_one_line()
1754 log_action(iter, what2act[what].act[long_act], has_cg); in print_one_line()
1755 what2act[what].print(s, iter->ent, has_cg); in print_one_line()