Lines Matching refs:pdu_len
104 t->pdu_len = len + cgid_len; in trace_note()
217 int pdu_len, void *pdu_data, u64 cgid) in __blk_add_trace() argument
259 sizeof(*t) + pdu_len + cgid_len, in __blk_add_trace()
276 t = relay_reserve(bt->rchan, sizeof(*t) + pdu_len + cgid_len); in __blk_add_trace()
298 t->pdu_len = pdu_len + cgid_len; in __blk_add_trace()
302 if (pdu_len) in __blk_add_trace()
303 memcpy((void *)t + sizeof(*t) + cgid_len, pdu_data, pdu_len); in __blk_add_trace()
1206 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0); in pdu_real_len()
1306 int pdu_len; in blk_log_dump_pdu() local
1310 pdu_len = pdu_real_len(ent, has_cg); in blk_log_dump_pdu()
1312 if (!pdu_len) in blk_log_dump_pdu()
1316 for (end = pdu_len - 1; end >= 0; end--) in blk_log_dump_pdu()
1323 for (i = 0; i < pdu_len; i++) { in blk_log_dump_pdu()
1332 if (i == end && end != pdu_len - 1) { in blk_log_dump_pdu()
1532 sizeof(old) - offset + t->pdu_len); in blk_trace_synthesize_old_trace()