Lines Matching refs:s
1302 static void blk_log_dump_pdu(struct trace_seq *s, in blk_log_dump_pdu() argument
1321 trace_seq_putc(s, '('); in blk_log_dump_pdu()
1325 trace_seq_printf(s, "%s%02x", in blk_log_dump_pdu()
1333 trace_seq_puts(s, " ..) "); in blk_log_dump_pdu()
1338 trace_seq_puts(s, ") "); in blk_log_dump_pdu()
1341 static void blk_log_generic(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_generic() argument
1348 trace_seq_printf(s, "%u ", t_bytes(ent)); in blk_log_generic()
1349 blk_log_dump_pdu(s, ent, has_cg); in blk_log_generic()
1350 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_generic()
1353 trace_seq_printf(s, "%llu + %u [%s]\n", in blk_log_generic()
1356 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_generic()
1360 static void blk_log_with_error(struct trace_seq *s, in blk_log_with_error() argument
1364 blk_log_dump_pdu(s, ent, has_cg); in blk_log_with_error()
1365 trace_seq_printf(s, "[%d]\n", t_error(ent)); in blk_log_with_error()
1368 trace_seq_printf(s, "%llu + %u [%d]\n", in blk_log_with_error()
1372 trace_seq_printf(s, "%llu [%d]\n", in blk_log_with_error()
1377 static void blk_log_remap(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_remap() argument
1381 trace_seq_printf(s, "%llu + %u <- (%d,%d) %llu\n", in blk_log_remap()
1388 static void blk_log_plug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_plug() argument
1394 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_plug()
1397 static void blk_log_unplug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_unplug() argument
1403 trace_seq_printf(s, "[%s] %llu\n", cmd, get_pdu_int(ent, has_cg)); in blk_log_unplug()
1406 static void blk_log_split(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_split() argument
1412 trace_seq_printf(s, "%llu / %llu [%s]\n", t_sector(ent), in blk_log_split()
1416 static void blk_log_msg(struct trace_seq *s, const struct trace_entry *ent, in blk_log_msg() argument
1420 trace_seq_putmem(s, pdu_start(ent, has_cg), in blk_log_msg()
1422 trace_seq_putc(s, '\n'); in blk_log_msg()
1461 void (*print)(struct trace_seq *s, const struct trace_entry *ent,
1485 struct trace_seq *s = &iter->seq; in print_one_line() local
1500 blk_log_msg(s, iter->ent, has_cg); in print_one_line()
1501 return trace_handle_return(s); in print_one_line()
1505 trace_seq_printf(s, "Unknown action %x\n", what); in print_one_line()
1508 what2act[what].print(s, iter->ent, has_cg); in print_one_line()
1511 return trace_handle_return(s); in print_one_line()
1522 struct trace_seq *s = &iter->seq; in blk_trace_synthesize_old_trace() local
1530 trace_seq_putmem(s, &old, offset); in blk_trace_synthesize_old_trace()
1531 trace_seq_putmem(s, &t->sector, in blk_trace_synthesize_old_trace()
1715 char *buf, *s, *token; in blk_trace_str2mask() local
1720 s = strstrip(buf); in blk_trace_str2mask()
1723 token = strsep(&s, ","); in blk_trace_str2mask()