Lines Matching refs:s
1307 static void blk_log_dump_pdu(struct trace_seq *s, in blk_log_dump_pdu() argument
1326 trace_seq_putc(s, '('); in blk_log_dump_pdu()
1330 trace_seq_printf(s, "%s%02x", in blk_log_dump_pdu()
1338 trace_seq_puts(s, " ..) "); in blk_log_dump_pdu()
1343 trace_seq_puts(s, ") "); in blk_log_dump_pdu()
1346 static void blk_log_generic(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_generic() argument
1353 trace_seq_printf(s, "%u ", t_bytes(ent)); in blk_log_generic()
1354 blk_log_dump_pdu(s, ent, has_cg); in blk_log_generic()
1355 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_generic()
1358 trace_seq_printf(s, "%llu + %u [%s]\n", in blk_log_generic()
1361 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_generic()
1365 static void blk_log_with_error(struct trace_seq *s, in blk_log_with_error() argument
1369 blk_log_dump_pdu(s, ent, has_cg); in blk_log_with_error()
1370 trace_seq_printf(s, "[%d]\n", t_error(ent)); in blk_log_with_error()
1373 trace_seq_printf(s, "%llu + %u [%d]\n", in blk_log_with_error()
1377 trace_seq_printf(s, "%llu [%d]\n", in blk_log_with_error()
1382 static void blk_log_remap(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_remap() argument
1386 trace_seq_printf(s, "%llu + %u <- (%d,%d) %llu\n", in blk_log_remap()
1393 static void blk_log_plug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_plug() argument
1399 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_plug()
1402 static void blk_log_unplug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_unplug() argument
1408 trace_seq_printf(s, "[%s] %llu\n", cmd, get_pdu_int(ent, has_cg)); in blk_log_unplug()
1411 static void blk_log_split(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_split() argument
1417 trace_seq_printf(s, "%llu / %llu [%s]\n", t_sector(ent), in blk_log_split()
1421 static void blk_log_msg(struct trace_seq *s, const struct trace_entry *ent, in blk_log_msg() argument
1425 trace_seq_putmem(s, pdu_start(ent, has_cg), in blk_log_msg()
1427 trace_seq_putc(s, '\n'); in blk_log_msg()
1466 void (*print)(struct trace_seq *s, const struct trace_entry *ent,
1490 struct trace_seq *s = &iter->seq; in print_one_line() local
1505 blk_log_msg(s, iter->ent, has_cg); in print_one_line()
1506 return trace_handle_return(s); in print_one_line()
1510 trace_seq_printf(s, "Unknown action %x\n", what); in print_one_line()
1513 what2act[what].print(s, iter->ent, has_cg); in print_one_line()
1516 return trace_handle_return(s); in print_one_line()
1527 struct trace_seq *s = &iter->seq; in blk_trace_synthesize_old_trace() local
1535 trace_seq_putmem(s, &old, offset); in blk_trace_synthesize_old_trace()
1536 trace_seq_putmem(s, &t->sector, in blk_trace_synthesize_old_trace()
1720 char *buf, *s, *token; in blk_trace_str2mask() local
1725 s = strstrip(buf); in blk_trace_str2mask()
1728 token = strsep(&s, ","); in blk_trace_str2mask()