Lines Matching refs:has_cg
1194 static inline const void *pdu_start(const struct trace_entry *ent, bool has_cg) in pdu_start() argument
1196 return (void *)(te_blk_io_trace(ent) + 1) + (has_cg ? sizeof(u64) : 0); in pdu_start()
1204 static inline int pdu_real_len(const struct trace_entry *ent, bool has_cg) in pdu_real_len() argument
1206 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0); in pdu_real_len()
1234 static __u64 get_pdu_int(const struct trace_entry *ent, bool has_cg) in get_pdu_int() argument
1236 const __be64 *val = pdu_start(ent, has_cg); in get_pdu_int()
1241 bool has_cg);
1244 bool has_cg) in blk_log_action_classic() argument
1261 bool has_cg) in blk_log_action() argument
1267 if (has_cg) { in blk_log_action()
1303 const struct trace_entry *ent, bool has_cg) in blk_log_dump_pdu() argument
1309 pdu_buf = pdu_start(ent, has_cg); in blk_log_dump_pdu()
1310 pdu_len = pdu_real_len(ent, has_cg); in blk_log_dump_pdu()
1341 static void blk_log_generic(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_generic() argument
1349 blk_log_dump_pdu(s, ent, has_cg); in blk_log_generic()
1361 const struct trace_entry *ent, bool has_cg) in blk_log_with_error() argument
1364 blk_log_dump_pdu(s, ent, has_cg); in blk_log_with_error()
1377 static void blk_log_remap(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_remap() argument
1379 const struct blk_io_trace_remap *__r = pdu_start(ent, has_cg); in blk_log_remap()
1388 static void blk_log_plug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_plug() argument
1397 static void blk_log_unplug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_unplug() argument
1403 trace_seq_printf(s, "[%s] %llu\n", cmd, get_pdu_int(ent, has_cg)); in blk_log_unplug()
1406 static void blk_log_split(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_split() argument
1413 get_pdu_int(ent, has_cg), cmd); in blk_log_split()
1417 bool has_cg) in blk_log_msg() argument
1420 trace_seq_putmem(s, pdu_start(ent, has_cg), in blk_log_msg()
1421 pdu_real_len(ent, has_cg)); in blk_log_msg()
1462 bool has_cg);
1490 bool has_cg; in print_one_line() local
1496 has_cg = t->action & __BLK_TA_CGROUP; in print_one_line()
1499 log_action(iter, long_act ? "message" : "m", has_cg); in print_one_line()
1500 blk_log_msg(s, iter->ent, has_cg); in print_one_line()
1507 log_action(iter, what2act[what].act[long_act], has_cg); in print_one_line()
1508 what2act[what].print(s, iter->ent, has_cg); in print_one_line()