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()
128 trace_seq_printf(p, "lbaf=%u, mset=%u, pi=%u, pil=%u, ses=%u", in nvme_trace_admin_format_nvm()
131 trace_seq_putc(p, 0); in nvme_trace_admin_format_nvm()
136 static const char *nvme_trace_read_write(struct trace_seq *p, u8 *cdw10) in nvme_trace_read_write() argument
138 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_read_write()
145 trace_seq_printf(p, in nvme_trace_read_write()
148 trace_seq_putc(p, 0); in nvme_trace_read_write()
153 static const char *nvme_trace_dsm(struct trace_seq *p, u8 *cdw10) in nvme_trace_dsm() argument
155 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_dsm()
157 trace_seq_printf(p, "nr=%u, attributes=%u", in nvme_trace_dsm()
160 trace_seq_putc(p, 0); in nvme_trace_dsm()
165 static const char *nvme_trace_zone_mgmt_send(struct trace_seq *p, u8 *cdw10) in nvme_trace_zone_mgmt_send() argument
167 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_zone_mgmt_send()
172 trace_seq_printf(p, "slba=%llu, zsa=%u, all=%u", slba, zsa, all); in nvme_trace_zone_mgmt_send()
173 trace_seq_putc(p, 0); in nvme_trace_zone_mgmt_send()
178 static const char *nvme_trace_zone_mgmt_recv(struct trace_seq *p, u8 *cdw10) in nvme_trace_zone_mgmt_recv() argument
180 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_zone_mgmt_recv()
187 trace_seq_printf(p, "slba=%llu, numd=%u, zra=%u, zrasf=%u, pr=%u", in nvme_trace_zone_mgmt_recv()
189 trace_seq_putc(p, 0); in nvme_trace_zone_mgmt_recv()
194 static const char *nvme_trace_common(struct trace_seq *p, u8 *cdw10) in nvme_trace_common() argument
196 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_common()
198 trace_seq_printf(p, "cdw10=%*ph", 24, cdw10); in nvme_trace_common()
199 trace_seq_putc(p, 0); in nvme_trace_common()
204 const char *nvme_trace_parse_admin_cmd(struct trace_seq *p, in nvme_trace_parse_admin_cmd() argument
209 return nvme_trace_delete_sq(p, cdw10); in nvme_trace_parse_admin_cmd()
211 return nvme_trace_create_sq(p, cdw10); in nvme_trace_parse_admin_cmd()
213 return nvme_trace_delete_cq(p, cdw10); in nvme_trace_parse_admin_cmd()
215 return nvme_trace_create_cq(p, cdw10); in nvme_trace_parse_admin_cmd()
217 return nvme_trace_admin_identify(p, cdw10); in nvme_trace_parse_admin_cmd()
219 return nvme_trace_admin_set_features(p, cdw10); in nvme_trace_parse_admin_cmd()
221 return nvme_trace_admin_get_features(p, cdw10); in nvme_trace_parse_admin_cmd()
223 return nvme_trace_get_lba_status(p, cdw10); in nvme_trace_parse_admin_cmd()
225 return nvme_trace_admin_format_nvm(p, cdw10); in nvme_trace_parse_admin_cmd()
227 return nvme_trace_common(p, cdw10); in nvme_trace_parse_admin_cmd()
231 const char *nvme_trace_parse_nvm_cmd(struct trace_seq *p, in nvme_trace_parse_nvm_cmd() argument
239 return nvme_trace_read_write(p, cdw10); in nvme_trace_parse_nvm_cmd()
241 return nvme_trace_dsm(p, cdw10); in nvme_trace_parse_nvm_cmd()
243 return nvme_trace_zone_mgmt_send(p, cdw10); in nvme_trace_parse_nvm_cmd()
245 return nvme_trace_zone_mgmt_recv(p, cdw10); in nvme_trace_parse_nvm_cmd()
247 return nvme_trace_common(p, cdw10); in nvme_trace_parse_nvm_cmd()
251 static const char *nvme_trace_fabrics_property_set(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_property_set() argument
253 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_property_set()
258 trace_seq_printf(p, "attrib=%u, ofst=0x%x, value=0x%llx", in nvme_trace_fabrics_property_set()
260 trace_seq_putc(p, 0); in nvme_trace_fabrics_property_set()
264 static const char *nvme_trace_fabrics_connect(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_connect() argument
266 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_connect()
273 trace_seq_printf(p, "recfmt=%u, qid=%u, sqsize=%u, cattr=%u, kato=%u", in nvme_trace_fabrics_connect()
275 trace_seq_putc(p, 0); in nvme_trace_fabrics_connect()
279 static const char *nvme_trace_fabrics_property_get(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_property_get() argument
281 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_property_get()
285 trace_seq_printf(p, "attrib=%u, ofst=0x%x", attrib, ofst); in nvme_trace_fabrics_property_get()
286 trace_seq_putc(p, 0); in nvme_trace_fabrics_property_get()
290 static const char *nvme_trace_fabrics_auth_send(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_auth_send() argument
292 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_auth_send()
298 trace_seq_printf(p, "spsp0=%02x, spsp1=%02x, secp=%02x, tl=%u", in nvme_trace_fabrics_auth_send()
300 trace_seq_putc(p, 0); in nvme_trace_fabrics_auth_send()
304 static const char *nvme_trace_fabrics_auth_receive(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_auth_receive() argument
306 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_auth_receive()
312 trace_seq_printf(p, "spsp0=%02x, spsp1=%02x, secp=%02x, al=%u", in nvme_trace_fabrics_auth_receive()
314 trace_seq_putc(p, 0); in nvme_trace_fabrics_auth_receive()
318 static const char *nvme_trace_fabrics_common(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_common() argument
320 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_fabrics_common()
322 trace_seq_printf(p, "specific=%*ph", 24, spc); in nvme_trace_fabrics_common()
323 trace_seq_putc(p, 0); in nvme_trace_fabrics_common()
327 const char *nvme_trace_parse_fabrics_cmd(struct trace_seq *p, in nvme_trace_parse_fabrics_cmd() argument
332 return nvme_trace_fabrics_property_set(p, spc); in nvme_trace_parse_fabrics_cmd()
334 return nvme_trace_fabrics_connect(p, spc); in nvme_trace_parse_fabrics_cmd()
336 return nvme_trace_fabrics_property_get(p, spc); in nvme_trace_parse_fabrics_cmd()
338 return nvme_trace_fabrics_auth_send(p, spc); in nvme_trace_parse_fabrics_cmd()
340 return nvme_trace_fabrics_auth_receive(p, spc); in nvme_trace_parse_fabrics_cmd()
342 return nvme_trace_fabrics_common(p, spc); in nvme_trace_parse_fabrics_cmd()
346 const char *nvme_trace_disk_name(struct trace_seq *p, char *name) in nvme_trace_disk_name() argument
348 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_disk_name()
351 trace_seq_printf(p, "disk=%s, ", name); in nvme_trace_disk_name()
352 trace_seq_putc(p, 0); in nvme_trace_disk_name()