Lines Matching refs:p

10 static const char *nvme_trace_delete_sq(struct trace_seq *p, u8 *cdw10)  in nvme_trace_delete_sq()  argument
12 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_delete_sq()
15 trace_seq_printf(p, "sqid=%u", sqid); in nvme_trace_delete_sq()
16 trace_seq_putc(p, 0); in nvme_trace_delete_sq()
21 static const char *nvme_trace_create_sq(struct trace_seq *p, u8 *cdw10) in nvme_trace_create_sq() argument
23 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_create_sq()
30 trace_seq_printf(p, "sqid=%u, qsize=%u, sq_flags=0x%x, cqid=%u", in nvme_trace_create_sq()
32 trace_seq_putc(p, 0); in nvme_trace_create_sq()
37 static const char *nvme_trace_delete_cq(struct trace_seq *p, u8 *cdw10) in nvme_trace_delete_cq() argument
39 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_delete_cq()
42 trace_seq_printf(p, "cqid=%u", cqid); in nvme_trace_delete_cq()
43 trace_seq_putc(p, 0); in nvme_trace_delete_cq()
48 static const char *nvme_trace_create_cq(struct trace_seq *p, u8 *cdw10) in nvme_trace_create_cq() argument
50 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_create_cq()
56 trace_seq_printf(p, "cqid=%u, qsize=%u, cq_flags=0x%x, irq_vector=%u", in nvme_trace_create_cq()
58 trace_seq_putc(p, 0); in nvme_trace_create_cq()
63 static const char *nvme_trace_admin_identify(struct trace_seq *p, u8 *cdw10) in nvme_trace_admin_identify() argument
65 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_admin_identify()
69 trace_seq_printf(p, "cns=%u, ctrlid=%u", cns, ctrlid); in nvme_trace_admin_identify()
70 trace_seq_putc(p, 0); in nvme_trace_admin_identify()
75 static const char *nvme_trace_admin_set_features(struct trace_seq *p, in nvme_trace_admin_set_features() argument
78 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_admin_set_features()
83 trace_seq_printf(p, "fid=0x%x, sv=0x%x, cdw11=0x%x", fid, sv, cdw11); in nvme_trace_admin_set_features()
84 trace_seq_putc(p, 0); in nvme_trace_admin_set_features()
89 static const char *nvme_trace_admin_get_features(struct trace_seq *p, in nvme_trace_admin_get_features() argument
92 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_admin_get_features()
97 trace_seq_printf(p, "fid=0x%x, sel=0x%x, cdw11=0x%x", fid, sel, cdw11); in nvme_trace_admin_get_features()
98 trace_seq_putc(p, 0); in nvme_trace_admin_get_features()
103 static const char *nvme_trace_get_lba_status(struct trace_seq *p, in nvme_trace_get_lba_status() argument
106 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_get_lba_status()
112 trace_seq_printf(p, "slba=0x%llx, mndw=0x%x, rl=0x%x, atype=%u", in nvme_trace_get_lba_status()
114 trace_seq_putc(p, 0); in nvme_trace_get_lba_status()
119 static const char *nvme_trace_admin_format_nvm(struct trace_seq *p, u8 *cdw10) in nvme_trace_admin_format_nvm() argument
121 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_admin_format_nvm()
131 trace_seq_printf(p, "lbaf=%u, mset=%u, pi=%u, pil=%u, ses=%u", in nvme_trace_admin_format_nvm()
134 trace_seq_putc(p, 0); in nvme_trace_admin_format_nvm()
139 static const char *nvme_trace_read_write(struct trace_seq *p, u8 *cdw10) in nvme_trace_read_write() argument
141 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_read_write()
148 trace_seq_printf(p, in nvme_trace_read_write()
151 trace_seq_putc(p, 0); in nvme_trace_read_write()
156 static const char *nvme_trace_dsm(struct trace_seq *p, u8 *cdw10) in nvme_trace_dsm() argument
158 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_dsm()
160 trace_seq_printf(p, "nr=%u, attributes=%u", in nvme_trace_dsm()
163 trace_seq_putc(p, 0); in nvme_trace_dsm()
168 static const char *nvme_trace_zone_mgmt_send(struct trace_seq *p, u8 *cdw10) in nvme_trace_zone_mgmt_send() argument
178 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_zone_mgmt_send()
189 trace_seq_printf(p, "slba=%llu, zsa=%u:%s, all=%u", in nvme_trace_zone_mgmt_send()
191 trace_seq_putc(p, 0); in nvme_trace_zone_mgmt_send()
196 static const char *nvme_trace_zone_mgmt_recv(struct trace_seq *p, u8 *cdw10) in nvme_trace_zone_mgmt_recv() argument
209 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_zone_mgmt_recv()
222 trace_seq_printf(p, "slba=%llu, numd=%u, zra=%u, zrasf=%u:%s, pr=%u", in nvme_trace_zone_mgmt_recv()
224 trace_seq_putc(p, 0); in nvme_trace_zone_mgmt_recv()
229 static const char *nvme_trace_resv_reg(struct trace_seq *p, u8 *cdw10) in nvme_trace_resv_reg() argument
231 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_resv_reg()
236 trace_seq_printf(p, "rrega=%u, iekey=%u, ptpl=%u", in nvme_trace_resv_reg()
238 trace_seq_putc(p, 0); in nvme_trace_resv_reg()
243 static const char *nvme_trace_resv_acq(struct trace_seq *p, u8 *cdw10) in nvme_trace_resv_acq() argument
245 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_resv_acq()
250 trace_seq_printf(p, "racqa=%u, iekey=%u, rtype=%u", in nvme_trace_resv_acq()
252 trace_seq_putc(p, 0); in nvme_trace_resv_acq()
257 static const char *nvme_trace_resv_rel(struct trace_seq *p, u8 *cdw10) in nvme_trace_resv_rel() argument
259 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_resv_rel()
264 trace_seq_printf(p, "rrela=%u, iekey=%u, rtype=%u", in nvme_trace_resv_rel()
266 trace_seq_putc(p, 0); in nvme_trace_resv_rel()
271 static const char *nvme_trace_resv_report(struct trace_seq *p, u8 *cdw10) in nvme_trace_resv_report() argument
273 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_resv_report()
277 trace_seq_printf(p, "numd=%u, eds=%u", numd, eds); in nvme_trace_resv_report()
278 trace_seq_putc(p, 0); in nvme_trace_resv_report()
283 static const char *nvme_trace_common(struct trace_seq *p, u8 *cdw10) in nvme_trace_common() argument
285 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_common()
287 trace_seq_printf(p, "cdw10=%*ph", 24, cdw10); in nvme_trace_common()
288 trace_seq_putc(p, 0); in nvme_trace_common()
293 const char *nvme_trace_parse_admin_cmd(struct trace_seq *p, in nvme_trace_parse_admin_cmd() argument
298 return nvme_trace_delete_sq(p, cdw10); in nvme_trace_parse_admin_cmd()
300 return nvme_trace_create_sq(p, cdw10); in nvme_trace_parse_admin_cmd()
302 return nvme_trace_delete_cq(p, cdw10); in nvme_trace_parse_admin_cmd()
304 return nvme_trace_create_cq(p, cdw10); in nvme_trace_parse_admin_cmd()
306 return nvme_trace_admin_identify(p, cdw10); in nvme_trace_parse_admin_cmd()
308 return nvme_trace_admin_set_features(p, cdw10); in nvme_trace_parse_admin_cmd()
310 return nvme_trace_admin_get_features(p, cdw10); in nvme_trace_parse_admin_cmd()
312 return nvme_trace_get_lba_status(p, cdw10); in nvme_trace_parse_admin_cmd()
314 return nvme_trace_admin_format_nvm(p, cdw10); in nvme_trace_parse_admin_cmd()
316 return nvme_trace_common(p, cdw10); in nvme_trace_parse_admin_cmd()
320 const char *nvme_trace_parse_nvm_cmd(struct trace_seq *p, in nvme_trace_parse_nvm_cmd() argument
328 return nvme_trace_read_write(p, cdw10); in nvme_trace_parse_nvm_cmd()
330 return nvme_trace_dsm(p, cdw10); in nvme_trace_parse_nvm_cmd()
332 return nvme_trace_zone_mgmt_send(p, cdw10); in nvme_trace_parse_nvm_cmd()
334 return nvme_trace_zone_mgmt_recv(p, cdw10); in nvme_trace_parse_nvm_cmd()
336 return nvme_trace_resv_reg(p, cdw10); in nvme_trace_parse_nvm_cmd()
338 return nvme_trace_resv_acq(p, cdw10); in nvme_trace_parse_nvm_cmd()
340 return nvme_trace_resv_rel(p, cdw10); in nvme_trace_parse_nvm_cmd()
342 return nvme_trace_resv_report(p, cdw10); in nvme_trace_parse_nvm_cmd()
344 return nvme_trace_common(p, cdw10); in nvme_trace_parse_nvm_cmd()
348 static const char *nvme_trace_fabrics_property_set(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_property_set() argument
350 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_property_set()
355 trace_seq_printf(p, "attrib=%u, ofst=0x%x, value=0x%llx", in nvme_trace_fabrics_property_set()
357 trace_seq_putc(p, 0); in nvme_trace_fabrics_property_set()
361 static const char *nvme_trace_fabrics_connect(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_connect() argument
363 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_connect()
370 trace_seq_printf(p, "recfmt=%u, qid=%u, sqsize=%u, cattr=%u, kato=%u", in nvme_trace_fabrics_connect()
372 trace_seq_putc(p, 0); in nvme_trace_fabrics_connect()
376 static const char *nvme_trace_fabrics_property_get(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_property_get() argument
378 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_property_get()
382 trace_seq_printf(p, "attrib=%u, ofst=0x%x", attrib, ofst); in nvme_trace_fabrics_property_get()
383 trace_seq_putc(p, 0); in nvme_trace_fabrics_property_get()
387 static const char *nvme_trace_fabrics_auth_send(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_auth_send() argument
389 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_auth_send()
395 trace_seq_printf(p, "spsp0=%02x, spsp1=%02x, secp=%02x, tl=%u", in nvme_trace_fabrics_auth_send()
397 trace_seq_putc(p, 0); in nvme_trace_fabrics_auth_send()
401 static const char *nvme_trace_fabrics_auth_receive(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_auth_receive() argument
403 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_auth_receive()
409 trace_seq_printf(p, "spsp0=%02x, spsp1=%02x, secp=%02x, al=%u", in nvme_trace_fabrics_auth_receive()
411 trace_seq_putc(p, 0); in nvme_trace_fabrics_auth_receive()
415 static const char *nvme_trace_fabrics_common(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_common() argument
417 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_common()
419 trace_seq_printf(p, "specific=%*ph", 24, spc); in nvme_trace_fabrics_common()
420 trace_seq_putc(p, 0); in nvme_trace_fabrics_common()
424 const char *nvme_trace_parse_fabrics_cmd(struct trace_seq *p, in nvme_trace_parse_fabrics_cmd() argument
429 return nvme_trace_fabrics_property_set(p, spc); in nvme_trace_parse_fabrics_cmd()
431 return nvme_trace_fabrics_connect(p, spc); in nvme_trace_parse_fabrics_cmd()
433 return nvme_trace_fabrics_property_get(p, spc); in nvme_trace_parse_fabrics_cmd()
435 return nvme_trace_fabrics_auth_send(p, spc); in nvme_trace_parse_fabrics_cmd()
437 return nvme_trace_fabrics_auth_receive(p, spc); in nvme_trace_parse_fabrics_cmd()
439 return nvme_trace_fabrics_common(p, spc); in nvme_trace_parse_fabrics_cmd()
443 const char *nvme_trace_disk_name(struct trace_seq *p, char *name) in nvme_trace_disk_name() argument
445 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_disk_name()
448 trace_seq_printf(p, "disk=%s, ", name); in nvme_trace_disk_name()
449 trace_seq_putc(p, 0); in nvme_trace_disk_name()