Home
last modified time | relevance | path

Searched refs:scnprintf (Results 1 – 25 of 29) sorted by relevance

12

/xnu-11417.101.15/san/memory/
H A Dkasan-report.c66 n += scnprintf(buf + n, len - n, in kasan_dump_shadow()
75 n += scnprintf(buf + n, len - n, " %16lx:", shadow); in kasan_dump_shadow()
91 n += scnprintf(buf + n, len - n, "%s%02x%s", left, (unsigned)*x, right); in kasan_dump_shadow()
94 n += scnprintf(buf + n, len - n, "\n"); in kasan_dump_shadow()
97 n += scnprintf(buf + n, len - n, "\n"); in kasan_dump_shadow()
159 l += scnprintf(buf + l, len - l, "Backtrace: "); in kasan_log_report()
161 l += scnprintf(buf + l, len - l, "%lx,", VM_KERNEL_UNSLIDE(bt[i])); in kasan_log_report()
163 l += scnprintf(buf + l, len - l, "\n"); in kasan_log_report()
H A Dkasan-classic.c213 n += scnprintf(logbuf, bufsize, "KASan: free of corrupted/invalid object %#lx\n", p); in kasan_impl_decode_issue()
215 n += scnprintf(logbuf, bufsize, "KASan: UaF of quarantined object %#lx\n", p); in kasan_impl_decode_issue()
217 n += scnprintf(logbuf, bufsize, "KASan: invalid %lu-byte %s %#lx [%s]\n", in kasan_impl_decode_issue()
H A Dkasan-tbi.c177 n += scnprintf(logbuf, bufsize, "KASAN_TBI: invalid %lu-byte %s %#lx\n", in kasan_impl_decode_issue()
/xnu-11417.101.15/libkern/
H A DOSKextVersion.c458 cpos = scnprintf(buffer, bufferLength, "%u", (uint32_t)vers_major); in OSKextVersionGetString()
464 cpos += scnprintf(buffer + cpos, bufferLength - cpos, "%u", (uint32_t)vers_minor); in OSKextVersionGetString()
471 cpos += scnprintf(buffer + cpos, bufferLength - cpos, "%u", in OSKextVersionGetString()
H A DOSKextLib.cpp511 pos += scnprintf(buf + pos, buflen - pos, "%s@%llx:%llx\n", in telemetry_backtrace_add_kexts()
/xnu-11417.101.15/osfmk/kern/
H A Dtrap_telemetry.c625 written += scnprintf(buf + written, buf_len - written, in backtrace_to_offset_bt_string()
634 written += scnprintf(buf + written, buf_len - written, in backtrace_to_offset_bt_string()
644 written += scnprintf(buf + written, buf_len - written, in backtrace_to_offset_bt_string()
751 (void)scnprintf(event->trap_uuid, CA_UUID_LEN, "error:%d\n", in rsb_entry_submit()
H A Dmisc_protos.h197 extern int scnprintf(char *, size_t, const char *, ...) __printflike(3, 4);
H A Dtelemetry.c1581 rc += scnprintf(buf, buflen, "%s@%lx:%lx\n", in telemetry_backtrace_add_kernel()
1584 rc += scnprintf(buf, buflen, "%s@0:%lx\n", in telemetry_backtrace_add_kernel()
1622 l += scnprintf(buf + l, buflen - l, "%lx\n", in telemetry_backtrace_to_string()
H A Dkalloc.c404 len = scnprintf(buf, MAX_ZONE_NAME, "%s.%u", kheap_name, size); in kalloc_zone_init()
/xnu-11417.101.15/libkern/net/
H A Dinet_ntop.c175 tp += scnprintf(tp, sizeof(tmp), "%x", words[i]); in inet_ntop6()
/xnu-11417.101.15/bsd/kern/
H A Duipc_mbuf.c9289 k = scnprintf(c, clen, "%lu/%u mbufs in use:\n", totmbufs, m_mbufs);
9296 k = scnprintf(c, clen, "\t%u mbufs allocated to %s\n",
9304 k = scnprintf(c, clen, "\t%u mbufs allocated to "
9310 k = scnprintf(c, clen, "\t%lu mbufs allocated to caches\n",
9314 k = scnprintf(c, clen, "%u/%u mbuf 2KB clusters in use\n"
9323 k = scnprintf(c, clen, "%u/%u mbuf %uKB clusters in use\n",
9338 k = scnprintf(c, clen, "%lu KB allocated to network (approx. %lu%% "
9341 k = scnprintf(c, clen, "%lu KB returned to the system\n",
9347 k = scnprintf(c, clen,
9355 k = scnprintf(c, clen, "worker thread last run time: "
[all …]
H A Dsubr_prf.c541 scnprintf(char *buf, size_t size, const char *fmt, ...) in scnprintf() function
H A Dkern_exec.c6395 int len = scnprintf(str, sizeof(str), "%s0x%llx", key, entropy[0]); in exec_add_entropy_key()
6399 len = scnprintf(&str[start], remaining, ",0x%llx", entropy[i]); in exec_add_entropy_key()
/xnu-11417.101.15/bsd/libkern/
H A Dlibkern.h167 int scnprintf(char *__counted_by(count), size_t count, const char *, ...) __printflike(3, 4);
/xnu-11417.101.15/bsd/sys/
H A Dpersona.h334 p += scnprintf(p, end - p, "%s/%d", in persona_desc()
/xnu-11417.101.15/bsd/net/
H A Dremote_vif.c358 n = scnprintf(data, *len, "%s%u", ifnet_name(client->_ifp), in rvi_ctl_getopt()
H A Ddlil_subr.c367 namelen = scnprintf(workbuf, sizeof(workbuf), "%s", in dlil_alloc_lladdr()
H A Dif_utun.c2423 *len = scnprintf(data, *len, "%s", pcb->utun_if_xname) + 1; in utun_ctl_getopt()
H A Ddlil.c7967 k = scnprintf(c, clen, "\ntop ifcq_len %u packets by %s\n", in dlil_dump_top_if_qlen()
7972 k = scnprintf(c, clen, "\ntop inq_len %u packets by %s\n", in dlil_dump_top_if_qlen()
/xnu-11417.101.15/osfmk/ipc/
H A Dipc_importance.c3630 pos += scnprintf(buf + pos, size - pos, "Importance for "); in ipc_importance_extract_content()
3643 pos += scnprintf(buf + pos, size - pos, "%s[%d]", in ipc_importance_extract_content()
3649 pos += scnprintf(buf + pos, size - pos, "pid %d", pid); in ipc_importance_extract_content()
3655 pos += scnprintf(buf + pos, size - pos, in ipc_importance_extract_content()
/xnu-11417.101.15/bsd/skywalk/core/
H A Dskywalk.c754 n = scnprintf(o, lim, "%s 0x%llx len %d lim %d\n", label, in __counted_by()
760 n = scnprintf(o, size, "%5d: ", i); in __counted_by()
/xnu-11417.101.15/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c613 dp->d_namlen = (__uint8_t)scnprintf(dp->d_name, sizeof(dp->d_name), in devfs_devfd_readdir()
/xnu-11417.101.15/doc/primitives/
H A Dstring-handling.md202 build a string with successive calls to `scnprintf`, you would use
/xnu-11417.101.15/bsd/netinet/
H A Dmptcp.c1541 k = scnprintf(c, clen, "\nmptcp reass qlen %d\n", mptcp_reass_total_qlen); in dump_mptcp_reass_qlen()
/xnu-11417.101.15/bsd/vm/
H A Dvm_unix.c3272 len = scnprintf(str, sizeof(str), "0x%llx:0x%llx 0x%llx:0x%llx",

12