Home
last modified time | relevance | path

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

12

/xnu-12377.1.9/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-12377.1.9/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-12377.1.9/osfmk/kern/
H A Dtrap_telemetry.c645 written += scnprintf(buf + written, buf_len - written, in backtrace_to_offset_bt_string()
654 written += scnprintf(buf + written, buf_len - written, in backtrace_to_offset_bt_string()
664 written += scnprintf(buf + written, buf_len - written, in backtrace_to_offset_bt_string()
781 (void)scnprintf(event->trap_uuid, CA_UUID_LEN, "error:%d\n", in rsb_entry_submit()
811 (void)scnprintf(event->violation_cpu_type, 2, "%c", in rsb_entry_submit()
H A Dmisc_protos.h198 extern int scnprintf(char *, size_t, const char *, ...) __printflike(3, 4);
H A Dtelemetry.c1565 rc += scnprintf(buf, buflen, "%s@%lx:%lx\n", in telemetry_backtrace_add_kernel()
1568 rc += scnprintf(buf, buflen, "%s@0:%lx\n", in telemetry_backtrace_add_kernel()
1606 l += scnprintf(buf + l, buflen - l, "%lx\n", in telemetry_backtrace_to_string()
H A Dkalloc.c403 len = scnprintf(buf, MAX_ZONE_NAME, "%s.%u", kheap_name, size); in kalloc_zone_init()
/xnu-12377.1.9/bsd/kern/
H A Duipc_mbuf_mcache.c130 k = scnprintf(c, clen, "\ntcp reass qlen %d\n", tcp_reass_total_qlen); in dump_tcp_reass_qlen()
147 k = scnprintf(c, clen, "\nmptcp reass qlen %d\n", mptcp_reass_total_qlen); in dump_mptcp_reass_qlen()
5612 k = scnprintf(c, clen, "%lu/%u mbufs in use:\n", totmbufs, m_mbufs);
5619 k = scnprintf(c, clen, "\t%u mbufs allocated to %s\n",
5627 k = scnprintf(c, clen, "\t%u mbufs allocated to "
5633 k = scnprintf(c, clen, "\t%lu mbufs allocated to caches\n",
5637 k = scnprintf(c, clen, "%u/%u mbuf 2KB clusters in use\n"
5645 k = scnprintf(c, clen, "%u/%u mbuf %uKB clusters in use\n",
5659 k = scnprintf(c, clen, "%lu KB allocated to network (approx. %lu%% "
5662 k = scnprintf(c, clen, "%lu KB returned to the system\n",
[all …]
H A Dsubr_prf.c544 scnprintf(char *buf, size_t size, const char *fmt, ...) in scnprintf() function
H A Dkern_exec.c6346 int len = scnprintf(str, sizeof(str), "%s0x%llx", key, entropy[0]); in exec_add_entropy_key()
6350 len = scnprintf(&str[start], remaining, ",0x%llx", entropy[i]); in exec_add_entropy_key()
/xnu-12377.1.9/libkern/net/
H A Dinet_ntop.c175 tp += scnprintf(tp, sizeof(tmp), "%x", words[i]); in inet_ntop6()
/xnu-12377.1.9/bsd/libkern/
H A Dlibkern.h167 int scnprintf(char *__counted_by(count), size_t count, const char *, ...) __printflike(3, 4);
/xnu-12377.1.9/bsd/sys/
H A Dpersona.h334 p += scnprintf(p, end - p, "%s/%d", in persona_desc()
/xnu-12377.1.9/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.c239 namelen = scnprintf(workbuf, sizeof(workbuf), "%s", in dlil_alloc_lladdr()
H A Ddlil.c7890 k = scnprintf(c, clen, "\ntop ifcq_len %u packets by %s\n", in dlil_dump_top_if_qlen()
7895 k = scnprintf(c, clen, "\ntop inq_len %u packets by %s\n", in dlil_dump_top_if_qlen()
H A Dif_utun.c2664 *len = scnprintf(data, *len, "%s", pcb->utun_if_xname) + 1; in utun_ctl_getopt()
H A Dif_ipsec.c3468 *len = scnprintf(data, *len, "%s", pcb->ipsec_if_xname) + 1; in ipsec_ctl_getopt()
/xnu-12377.1.9/osfmk/ipc/
H A Dipc_importance.c3620 pos += scnprintf(buf + pos, size - pos, "Importance for "); in ipc_importance_extract_content()
3633 pos += scnprintf(buf + pos, size - pos, "%s[%d]", in ipc_importance_extract_content()
3639 pos += scnprintf(buf + pos, size - pos, "pid %d", pid); in ipc_importance_extract_content()
3645 pos += scnprintf(buf + pos, size - pos, in ipc_importance_extract_content()
/xnu-12377.1.9/bsd/skywalk/core/
H A Dskywalk.c733 n = scnprintf(o, lim, "%s %p len %d lim %d\n", label, in __counted_by()
739 n = scnprintf(o, size, "%5d: ", i); in __counted_by()
/xnu-12377.1.9/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c631 dp->d_namlen = (__uint8_t)scnprintf(dp->d_name, sizeof(dp->d_name), in devfs_devfd_readdir()
/xnu-12377.1.9/doc/primitives/
H A Dstring-handling.md202 build a string with successive calls to `scnprintf`, you would use
/xnu-12377.1.9/bsd/vm/
H A Dvm_unix.c3407 len = scnprintf(str, sizeof(str), "0x%llx:0x%llx 0x%llx:0x%llx",

12