Lines Matching refs:has_cg

1195 static inline const void *pdu_start(const struct trace_entry *ent, bool has_cg)
1197 return (void *)(te_blk_io_trace(ent) + 1) + (has_cg ? sizeof(u64) : 0);
1205 static inline int pdu_real_len(const struct trace_entry *ent, bool has_cg)
1207 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0);
1235 static __u64 get_pdu_int(const struct trace_entry *ent, bool has_cg)
1237 const __be64 *val = pdu_start(ent, has_cg);
1242 bool has_cg);
1245 bool has_cg)
1262 bool has_cg)
1268 if (has_cg) {
1304 const struct trace_entry *ent, bool has_cg)
1310 pdu_buf = pdu_start(ent, has_cg);
1311 pdu_len = pdu_real_len(ent, has_cg);
1342 static void blk_log_generic(struct trace_seq *s, const struct trace_entry *ent, bool has_cg)
1350 blk_log_dump_pdu(s, ent, has_cg);
1362 const struct trace_entry *ent, bool has_cg)
1365 blk_log_dump_pdu(s, ent, has_cg);
1378 static void blk_log_remap(struct trace_seq *s, const struct trace_entry *ent, bool has_cg)
1380 const struct blk_io_trace_remap *__r = pdu_start(ent, has_cg);
1389 static void blk_log_plug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg)
1398 static void blk_log_unplug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg)
1404 trace_seq_printf(s, "[%s] %llu\n", cmd, get_pdu_int(ent, has_cg));
1407 static void blk_log_split(struct trace_seq *s, const struct trace_entry *ent, bool has_cg)
1414 get_pdu_int(ent, has_cg), cmd);
1418 bool has_cg)
1421 trace_seq_putmem(s, pdu_start(ent, has_cg),
1422 pdu_real_len(ent, has_cg));
1463 bool has_cg);
1491 bool has_cg;
1497 has_cg = t->action & __BLK_TA_CGROUP;
1500 log_action(iter, long_act ? "message" : "m", has_cg);
1501 blk_log_msg(s, iter->ent, has_cg);
1508 log_action(iter, what2act[what].act[long_act], has_cg);
1509 what2act[what].print(s, iter->ent, has_cg);