Home
last modified time | relevance | path

Searched refs:tsnprintf (Results 1 – 22 of 22) sorted by relevance

/xnu-11417.101.15/osfmk/kern/ !
H A Dmisc_protos.h198 extern const char *tsnprintf(char *, size_t, const char *, ...) __printflike(3, 4);
/xnu-11417.101.15/bsd/skywalk/core/ !
H A Dskywalk_sysctl.c64 sko_name = tsnprintf(skoid->sko_name, sizeof(skoid->sko_name), in _skoid_oid_init()
/xnu-11417.101.15/bsd/net/ !
H A Ddlil_ctl.c148 ifp1->if_name = tsnprintf(dlifp1->dl_if_namestorage, sizeof(dlifp1->dl_if_namestorage), ""); in dlil_if_acquire()
149 ifp1->if_xname = tsnprintf(dlifp1->dl_if_xnamestorage, sizeof(dlifp1->dl_if_xnamestorage), ""); in dlil_if_acquire()
H A Ddlil_input.c103 inp->dlth_name = tsnprintf(inp->dlth_name_storage, sizeof(inp->dlth_name_storage), in dlil_create_input_thread()
111 inp->dlth_name = tsnprintf(inp->dlth_name_storage, sizeof(inp->dlth_name_storage), in dlil_create_input_thread()
119 inp->dlth_name = tsnprintf(inp->dlth_name_storage, sizeof(inp->dlth_name_storage), in dlil_create_input_thread()
1125 thread_name = tsnprintf(thread_name_storage, sizeof(thread_name_storage), in dlil_input_thread_func()
1463 thread_name = tsnprintf(thread_name_storage, sizeof(thread_name_storage), in dlil_rxpoll_input_thread_func()
H A Ddlil_subr.c598 ifp->if_name = tsnprintf(dlifp->dl_if_namestorage, sizeof(dlifp->dl_if_namestorage), in _dlil_if_release()
601 ifp->if_xname = tsnprintf(dlifp->dl_if_xnamestorage, sizeof(dlifp->dl_if_xnamestorage), in _dlil_if_release()
H A Dpf_if.c359 tblname = tsnprintf(tblnamebuf + strbuflen(tblnamebuf), in pfi_dynaddr_setup()
H A Dif.c2054 ifname = tsnprintf(netem_name, sizeof(netem_name), in ifioctl_linkparams()
H A Dnecp_client.c9813 …name_ptr = tsnprintf(name, sizeof(name), "stats-%u.%s.%d", fd_data->stats_arena_gencnt, proc_name_… in necp_arena_create()
10024 name_ptr = tsnprintf(name, sizeof(name), "sysctl.%s.%d", proc_name_address(p), fd_data->proc_pid); in necp_sysctl_arena_initialize()
/xnu-11417.101.15/doc/primitives/ !
H A Dstring-handling.md108 * `tsnprintf`: like `snprintf`, but it returns a NUL-terminated string;
190 thread_name = tsnprintf(thread_name_buf, sizeof(thread_name_buf),
195 Although `tsnprintf` and `strbuf` functions return a `__null_terminated`
197 `tsnprintf` or `strbufcpy` once. As a quick reference, with -fbounds-safety
/xnu-11417.101.15/bsd/libkern/ !
H A Dlibkern.h177 tsnprintf(char *__counted_by(count) dst, size_t count, const char *fmt, ...) __printflike(3, 4);
/xnu-11417.101.15/bsd/kern/ !
H A Dsubr_prf.c482 tsnprintf(char *__counted_by(count)dst, size_t count, const char *fmt, ...) in tsnprintf() function
/xnu-11417.101.15/bsd/skywalk/nexus/netif/ !
H A Dnx_netif_mit.c178 oid_name = tsnprintf(oid_name_buf, sizeof(oid_name_buf), in nx_netif_mit_init()
189 oid_name = tsnprintf(oid_name_buf, sizeof(oid_name_buf), in nx_netif_mit_init()
H A Dnx_netif_poll.c502 thread_name = tsnprintf(thread_name_buf, sizeof(thread_name_buf), in netif_rxpoll_compat_thread_func()
H A Dnx_netif_filter_vp.c333 filter_pp_name = tsnprintf(pp_name, sizeof(pp_name), in netif_filter_na_mem_new()
H A Dnx_netif.c842 nxadv_name = tsnprintf(name, sizeof(name), "netif_%llu", nx->nx_id); in nx_netif_prov_nx_ctor()
/xnu-11417.101.15/bsd/skywalk/mem/ !
H A Dskmem_arena.c200 name = tsnprintf(cname, sizeof(cname), "%s_ksd.%.*s", in skmem_arena_sd_setup()
658 name = tsnprintf(cname, sizeof(cname), "schema.%.*s", in skmem_arena_create_for_nexus()
672 name = tsnprintf(cname, sizeof(cname), "ring.%.*s", in skmem_arena_create_for_nexus()
997 cache_name = tsnprintf(cname, sizeof(cname), "kstats.%s", name); in skmem_arena_create_for_necp()
H A Dskmem_cache.c449 mt_cname = tsnprintf(mtp->mt_cname, sizeof(mtp->mt_cname), in skmem_cache_init()
/xnu-11417.101.15/bsd/skywalk/packet/ !
H A Dpbufpool.c1305 cache_name = tsnprintf(cname, sizeof(cname), "kmd.%s", name); in pp_create()
1326 cache_name = tsnprintf(cname, sizeof(cname), "kbft_def.%s", name); in pp_create()
1342 cache_name = tsnprintf(cname, sizeof(cname), in pp_create()
1380 cache_name = tsnprintf(cname, sizeof(cname), "buf_def.%s", name); in pp_create()
1392 cache_name = tsnprintf(cname, sizeof(cname), "buf_large.%s", name); in pp_create()
/xnu-11417.101.15/bsd/skywalk/nexus/flowswitch/ !
H A Dfsw.c577 reap_name = tsnprintf(fsw->fsw_reap_name, sizeof(fsw->fsw_reap_name), in fsw_teardown_ifp()
657 nustr = tsnprintf((char *)uuidstr, sizeof(uuidstr), "0x%llx", in fsw_ctl_attach_log()
1010 name = tsnprintf(netem_name, sizeof(netem_name), in fsw_netem_config()
H A Dfsw_dp.c2286 tname = tsnprintf(thread_name, sizeof(thread_name), "fsw_rx_%s_%d", in fsw_rps_thread_func()
4226 fsw_name = tsnprintf(name, sizeof(name), "%s_%llu", NX_FSW_NAME, nx->nx_id); in fsw_dp_ctor()
/xnu-11417.101.15/osfmk/arm64/ !
H A Dsleh.c1364 msg = tsnprintf(pr->buf, sizeof(pr->buf), in handle_kernel_breakpoint()
/xnu-11417.101.15/bsd/netinet6/ !
H A Dicmp6.c2510 return tsnprintf(buf, sizeof(buf), "(src=%s dst=%s tgt=%s)", in icmp6_redirect_diag()