Lines Matching refs:cgid_len
76 ssize_t cgid_len = cgid ? sizeof(*cgid) : 0; in trace_note() local
82 sizeof(*t) + len + cgid_len, in trace_note()
93 t = relay_reserve(bt->rchan, sizeof(*t) + len + cgid_len); in trace_note()
102 t->pdu_len = len + cgid_len; in trace_note()
104 memcpy((void *)t + sizeof(*t), cgid, cgid_len); in trace_note()
105 memcpy((void *) t + sizeof(*t) + cgid_len, data, len); in trace_note()
226 ssize_t cgid_len = cgid ? sizeof(*cgid) : 0; in __blk_add_trace() local
255 sizeof(*t) + pdu_len + cgid_len, in __blk_add_trace()
272 t = relay_reserve(bt->rchan, sizeof(*t) + pdu_len + cgid_len); in __blk_add_trace()
294 t->pdu_len = pdu_len + cgid_len; in __blk_add_trace()
296 if (cgid_len) in __blk_add_trace()
297 memcpy((void *)t + sizeof(*t), cgid, cgid_len); in __blk_add_trace()
299 memcpy((void *)t + sizeof(*t) + cgid_len, pdu_data, pdu_len); in __blk_add_trace()