Lines Matching refs:p

18 scsi_trace_rw6(struct trace_seq *p, unsigned char *cdb, int len)  in scsi_trace_rw6()  argument
20 const char *ret = trace_seq_buffer_ptr(p); in scsi_trace_rw6()
30 trace_seq_printf(p, "lba=%u txlen=%u", lba, txlen); in scsi_trace_rw6()
31 trace_seq_putc(p, 0); in scsi_trace_rw6()
37 scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw10() argument
39 const char *ret = trace_seq_buffer_ptr(p); in scsi_trace_rw10()
45 trace_seq_printf(p, "lba=%u txlen=%u protect=%u", lba, txlen, in scsi_trace_rw10()
49 trace_seq_printf(p, " unmap=%u", cdb[1] >> 3 & 1); in scsi_trace_rw10()
51 trace_seq_putc(p, 0); in scsi_trace_rw10()
57 scsi_trace_rw12(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw12() argument
59 const char *ret = trace_seq_buffer_ptr(p); in scsi_trace_rw12()
65 trace_seq_printf(p, "lba=%u txlen=%u protect=%u", lba, txlen, in scsi_trace_rw12()
67 trace_seq_putc(p, 0); in scsi_trace_rw12()
73 scsi_trace_rw16(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw16() argument
75 const char *ret = trace_seq_buffer_ptr(p); in scsi_trace_rw16()
82 trace_seq_printf(p, "lba=%llu txlen=%u protect=%u", lba, txlen, in scsi_trace_rw16()
86 trace_seq_printf(p, " unmap=%u", cdb[1] >> 3 & 1); in scsi_trace_rw16()
88 trace_seq_putc(p, 0); in scsi_trace_rw16()
94 scsi_trace_rw32(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw32() argument
96 const char *ret = trace_seq_buffer_ptr(p), *cmd; in scsi_trace_rw32()
114 trace_seq_puts(p, "UNKNOWN"); in scsi_trace_rw32()
122 trace_seq_printf(p, "%s_32 lba=%llu txlen=%u protect=%u ei_lbrt=%u", in scsi_trace_rw32()
126 trace_seq_printf(p, " unmap=%u", cdb[10] >> 3 & 1); in scsi_trace_rw32()
129 trace_seq_putc(p, 0); in scsi_trace_rw32()
135 scsi_trace_unmap(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_unmap() argument
137 const char *ret = trace_seq_buffer_ptr(p); in scsi_trace_unmap()
140 trace_seq_printf(p, "regions=%u", (regions - 8) / 16); in scsi_trace_unmap()
141 trace_seq_putc(p, 0); in scsi_trace_unmap()
147 scsi_trace_service_action_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_service_action_in() argument
149 const char *ret = trace_seq_buffer_ptr(p), *cmd; in scsi_trace_service_action_in()
161 trace_seq_puts(p, "UNKNOWN"); in scsi_trace_service_action_in()
168 trace_seq_printf(p, "%s lba=%llu alloc_len=%u", cmd, lba, alloc_len); in scsi_trace_service_action_in()
171 trace_seq_putc(p, 0); in scsi_trace_service_action_in()
177 scsi_trace_maintenance_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_maintenance_in() argument
179 const char *ret = trace_seq_buffer_ptr(p), *cmd; in scsi_trace_maintenance_in()
208 trace_seq_puts(p, "UNKNOWN"); in scsi_trace_maintenance_in()
214 trace_seq_printf(p, "%s alloc_len=%u", cmd, alloc_len); in scsi_trace_maintenance_in()
217 trace_seq_putc(p, 0); in scsi_trace_maintenance_in()
223 scsi_trace_maintenance_out(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_maintenance_out() argument
225 const char *ret = trace_seq_buffer_ptr(p), *cmd; in scsi_trace_maintenance_out()
248 trace_seq_puts(p, "UNKNOWN"); in scsi_trace_maintenance_out()
254 trace_seq_printf(p, "%s alloc_len=%u", cmd, alloc_len); in scsi_trace_maintenance_out()
257 trace_seq_putc(p, 0); in scsi_trace_maintenance_out()
263 scsi_trace_zbc_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_zbc_in() argument
265 const char *ret = trace_seq_buffer_ptr(p), *cmd; in scsi_trace_zbc_in()
275 trace_seq_puts(p, "UNKNOWN"); in scsi_trace_zbc_in()
283 trace_seq_printf(p, "%s zone=%llu alloc_len=%u options=%u partial=%u", in scsi_trace_zbc_in()
288 trace_seq_putc(p, 0); in scsi_trace_zbc_in()
294 scsi_trace_zbc_out(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_zbc_out() argument
296 const char *ret = trace_seq_buffer_ptr(p), *cmd; in scsi_trace_zbc_out()
313 trace_seq_puts(p, "UNKNOWN"); in scsi_trace_zbc_out()
319 trace_seq_printf(p, "%s zone=%llu all=%u", cmd, in scsi_trace_zbc_out()
323 trace_seq_putc(p, 0); in scsi_trace_zbc_out()
329 scsi_trace_varlen(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_varlen() argument
336 return scsi_trace_rw32(p, cdb, len); in scsi_trace_varlen()
338 return scsi_trace_misc(p, cdb, len); in scsi_trace_varlen()
343 scsi_trace_misc(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_misc() argument
345 const char *ret = trace_seq_buffer_ptr(p); in scsi_trace_misc()
347 trace_seq_putc(p, '-'); in scsi_trace_misc()
348 trace_seq_putc(p, 0); in scsi_trace_misc()
354 scsi_trace_parse_cdb(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_parse_cdb() argument
359 return scsi_trace_rw6(p, cdb, len); in scsi_trace_parse_cdb()
364 return scsi_trace_rw10(p, cdb, len); in scsi_trace_parse_cdb()
368 return scsi_trace_rw12(p, cdb, len); in scsi_trace_parse_cdb()
373 return scsi_trace_rw16(p, cdb, len); in scsi_trace_parse_cdb()
375 return scsi_trace_unmap(p, cdb, len); in scsi_trace_parse_cdb()
377 return scsi_trace_service_action_in(p, cdb, len); in scsi_trace_parse_cdb()
379 return scsi_trace_varlen(p, cdb, len); in scsi_trace_parse_cdb()
381 return scsi_trace_maintenance_in(p, cdb, len); in scsi_trace_parse_cdb()
383 return scsi_trace_maintenance_out(p, cdb, len); in scsi_trace_parse_cdb()
385 return scsi_trace_zbc_in(p, cdb, len); in scsi_trace_parse_cdb()
387 return scsi_trace_zbc_out(p, cdb, len); in scsi_trace_parse_cdb()
389 return scsi_trace_misc(p, cdb, len); in scsi_trace_parse_cdb()