• Home
  • Raw
  • Download

Lines Matching refs:s

1306 static void blk_log_dump_pdu(struct trace_seq *s,  in blk_log_dump_pdu()  argument
1325 trace_seq_putc(s, '('); in blk_log_dump_pdu()
1329 trace_seq_printf(s, "%s%02x", in blk_log_dump_pdu()
1337 trace_seq_puts(s, " ..) "); in blk_log_dump_pdu()
1342 trace_seq_puts(s, ") "); in blk_log_dump_pdu()
1345 static void blk_log_generic(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_generic() argument
1352 trace_seq_printf(s, "%u ", t_bytes(ent)); in blk_log_generic()
1353 blk_log_dump_pdu(s, ent, has_cg); in blk_log_generic()
1354 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_generic()
1357 trace_seq_printf(s, "%llu + %u [%s]\n", in blk_log_generic()
1360 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_generic()
1364 static void blk_log_with_error(struct trace_seq *s, in blk_log_with_error() argument
1368 blk_log_dump_pdu(s, ent, has_cg); in blk_log_with_error()
1369 trace_seq_printf(s, "[%d]\n", t_error(ent)); in blk_log_with_error()
1372 trace_seq_printf(s, "%llu + %u [%d]\n", in blk_log_with_error()
1376 trace_seq_printf(s, "%llu [%d]\n", in blk_log_with_error()
1381 static void blk_log_remap(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_remap() argument
1385 trace_seq_printf(s, "%llu + %u <- (%d,%d) %llu\n", in blk_log_remap()
1392 static void blk_log_plug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_plug() argument
1398 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_plug()
1401 static void blk_log_unplug(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_unplug() argument
1407 trace_seq_printf(s, "[%s] %llu\n", cmd, get_pdu_int(ent, has_cg)); in blk_log_unplug()
1410 static void blk_log_split(struct trace_seq *s, const struct trace_entry *ent, bool has_cg) in blk_log_split() argument
1416 trace_seq_printf(s, "%llu / %llu [%s]\n", t_sector(ent), in blk_log_split()
1420 static void blk_log_msg(struct trace_seq *s, const struct trace_entry *ent, in blk_log_msg() argument
1424 trace_seq_putmem(s, pdu_start(ent, has_cg), in blk_log_msg()
1426 trace_seq_putc(s, '\n'); in blk_log_msg()
1465 void (*print)(struct trace_seq *s, const struct trace_entry *ent,
1489 struct trace_seq *s = &iter->seq; in print_one_line() local
1504 blk_log_msg(s, iter->ent, has_cg); in print_one_line()
1505 return trace_handle_return(s); in print_one_line()
1509 trace_seq_printf(s, "Unknown action %x\n", what); in print_one_line()
1512 what2act[what].print(s, iter->ent, has_cg); in print_one_line()
1515 return trace_handle_return(s); in print_one_line()
1526 struct trace_seq *s = &iter->seq; in blk_trace_synthesize_old_trace() local
1534 trace_seq_putmem(s, &old, offset); in blk_trace_synthesize_old_trace()
1535 trace_seq_putmem(s, &t->sector, in blk_trace_synthesize_old_trace()
1725 char *buf, *s, *token; in blk_trace_str2mask() local
1730 s = strstrip(buf); in blk_trace_str2mask()
1733 token = strsep(&s, ","); in blk_trace_str2mask()