Lines Matching refs:has_cg

1188 static inline const void *pdu_start(const struct trace_entry *ent, bool has_cg)  in pdu_start()  argument
1190 return (void *)(te_blk_io_trace(ent) + 1) + (has_cg ? sizeof(u64) : 0); in pdu_start()
1198 static inline int pdu_real_len(const struct trace_entry *ent, bool has_cg) in pdu_real_len() argument
1200 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0); in pdu_real_len()
1228 static __u64 get_pdu_int(const struct trace_entry *ent, bool has_cg) in get_pdu_int() argument
1230 const __be64 *val = pdu_start(ent, has_cg); in get_pdu_int()
1235 bool has_cg);
1238 bool has_cg) in blk_log_action_classic() argument
1255 bool has_cg) in blk_log_action() argument
1261 if (has_cg) { in blk_log_action()
1297 const struct trace_entry *ent, bool has_cg) in blk_log_dump_pdu() argument
1303 pdu_buf = pdu_start(ent, has_cg); in blk_log_dump_pdu()
1304 pdu_len = pdu_real_len(ent, has_cg); in blk_log_dump_pdu()
1335 static void blk_log_generic(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_generic() argument
1343 blk_log_dump_pdu(s, ent, has_cg); in blk_log_generic()
1355 const struct trace_entry *ent, bool has_cg) in blk_log_with_error() argument
1358 blk_log_dump_pdu(s, ent, has_cg); in blk_log_with_error()
1371 static void blk_log_remap(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_remap() argument
1373 const struct blk_io_trace_remap *__r = pdu_start(ent, has_cg); in blk_log_remap()
1382 static void blk_log_plug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_plug() argument
1391 static void blk_log_unplug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_unplug() argument
1397 trace_seq_printf(s, "[%s] %llu\n", cmd, get_pdu_int(ent, has_cg)); in blk_log_unplug()
1400 static void blk_log_split(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_split() argument
1407 get_pdu_int(ent, has_cg), cmd); in blk_log_split()
1411 bool has_cg) in blk_log_msg() argument
1414 trace_seq_putmem(s, pdu_start(ent, has_cg), in blk_log_msg()
1415 pdu_real_len(ent, has_cg)); in blk_log_msg()
1456 bool has_cg);
1484 bool has_cg; in print_one_line() local
1490 has_cg = t->action & __BLK_TA_CGROUP; in print_one_line()
1493 log_action(iter, long_act ? "message" : "m", has_cg); in print_one_line()
1494 blk_log_msg(s, iter->ent, has_cg); in print_one_line()
1501 log_action(iter, what2act[what].act[long_act], has_cg); in print_one_line()
1502 what2act[what].print(s, iter->ent, has_cg); in print_one_line()