Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 11 of 11) sorted by relevance

/lib/
Doid_registry.c118 ret = count = snprintf(buffer, bufsize, "%u.%u", n / 40, n % 40); in sprint_oid()
139 ret += count = snprintf(buffer, bufsize, ".%lu", num); in sprint_oid()
149 snprintf(buffer, bufsize, "(bad)"); in sprint_oid()
Dhexdump.c138 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
149 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
160 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
Dtest_kmod.c469 len += snprintf(buf, PAGE_SIZE, in config_show()
473 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
477 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
483 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
487 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
491 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
495 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
681 len = snprintf(dst, PAGE_SIZE, "%s\n", src); in config_test_show_str()
966 return snprintf(buf, PAGE_SIZE, "%d\n", val); in test_dev_config_show_int()
979 return snprintf(buf, PAGE_SIZE, "%u\n", val); in test_dev_config_show_uint()
Dtest_printf.c222 nchars = snprintf(buf, PLAIN_BUF_SIZE, "%p", PTR); in plain_format()
261 nchars = snprintf(buf, len, "%p", p); in plain_hash_to_buffer()
585 snprintf(cmp_buffer, BUF_SIZE, "%#lx", (unsigned long) gfp); in flags()
588 snprintf(cmp_buffer, BUF_SIZE, "__GFP_ATOMIC|%#lx", in flags()
Ddynamic_debug.c530 pos += snprintf(buf + pos, remaining(pos), "<intr> "); in dynamic_emit_prefix()
532 pos += snprintf(buf + pos, remaining(pos), "[%d] ", in dynamic_emit_prefix()
537 pos += snprintf(buf + pos, remaining(pos), "%s:", in dynamic_emit_prefix()
540 pos += snprintf(buf + pos, remaining(pos), "%s:", in dynamic_emit_prefix()
543 pos += snprintf(buf + pos, remaining(pos), "%d:", in dynamic_emit_prefix()
546 pos += snprintf(buf + pos, remaining(pos), " "); in dynamic_emit_prefix()
Dtest_firmware.c291 len = snprintf(dst, PAGE_SIZE, "%s\n", src); in config_test_show_str()
322 return snprintf(buf, PAGE_SIZE, "%d\n", val); in test_dev_config_show_bool()
333 return snprintf(buf, PAGE_SIZE, "%d\n", val); in test_dev_config_show_int()
364 return snprintf(buf, PAGE_SIZE, "%u\n", val); in test_dev_config_show_u8()
Dstring_helpers.c118 snprintf(tmp, sizeof(tmp), ".%03u", remainder); in string_get_size()
128 snprintf(buf, len, "%u%s %s", (u32)size, in string_get_size()
Dtest_bitmap.c57 snprintf(pbl_buffer, sizeof(pbl_buffer), "%*pbl", nbits, bitmap); in __check_eq_pbl()
Dkobject_uevent.c690 ret = snprintf(buf, sizeof(buf), "SEQNUM=%llu", ++uevent_seqnum); in uevent_net_broadcast()
Dvsprintf.c2655 int snprintf(char *buf, size_t size, const char *fmt, ...) in snprintf() function
2666 EXPORT_SYMBOL(snprintf);
/lib/842/
D842_debugfs.h29 snprintf(name, 32, "template_%02x", i); in sw842_debugfs_create()