Lines Matching refs:bf

35 static int ins__raw_scnprintf(struct ins *ins, char *bf, size_t size,
38 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->raw);
41 int ins__scnprintf(struct ins *ins, char *bf, size_t size,
45 return ins->ops->scnprintf(ins, bf, size, ops);
47 return ins__raw_scnprintf(ins, bf, size, ops);
87 static int call__scnprintf(struct ins *ins, char *bf, size_t size,
91 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->target.name);
94 return ins__raw_scnprintf(ins, bf, size, ops);
96 return scnprintf(bf, size, "%-6.6s *%" PRIx64, ins->name, ops->target.addr);
123 static int jump__scnprintf(struct ins *ins, char *bf, size_t size,
126 return scnprintf(bf, size, "%-6.6s %" PRIx64, ins->name, ops->target.offset);
193 static int lock__scnprintf(struct ins *ins, char *bf, size_t size,
199 return ins__raw_scnprintf(ins, bf, size, ops);
201 printed = scnprintf(bf, size, "%-6.6s ", ins->name);
202 return printed + ins__scnprintf(ops->locked.ins, bf + printed,
264 static int mov__scnprintf(struct ins *ins, char *bf, size_t size,
267 return scnprintf(bf, size, "%-6.6s %s,%s", ins->name,
306 static int dec__scnprintf(struct ins *ins, char *bf, size_t size,
309 return scnprintf(bf, size, "%-6.6s %s", ins->name,
318 static int nop__scnprintf(struct ins *ins __maybe_unused, char *bf, size_t size,
321 return scnprintf(bf, size, "%-6.6s", "nop");
584 int disasm_line__scnprintf(struct disasm_line *dl, char *bf, size_t size, bool raw)
587 return scnprintf(bf, size, "%-6.6s %s", dl->name, dl->ops.raw);
589 return ins__scnprintf(dl->ins, bf, size, &dl->ops);
913 char bf[BUILD_ID_SIZE * 2 + 16] = " with build id ";
921 sizeof(dso->build_id), bf + 15);
922 build_id_msg = bf;