Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/net/
H A Ddlil_ctl.c144 ifp1->if_name = tsnprintf(dlifp1->dl_if_namestorage, sizeof(dlifp1->dl_if_namestorage), ""); in dlil_if_acquire()
145 ifp1->if_xname = tsnprintf(dlifp1->dl_if_xnamestorage, sizeof(dlifp1->dl_if_xnamestorage), ""); in dlil_if_acquire()
H A Ddlil_input.c104 inp->dlth_name = tsnprintf(inp->dlth_name_storage, sizeof(inp->dlth_name_storage), in dlil_create_input_thread()
112 inp->dlth_name = tsnprintf(inp->dlth_name_storage, sizeof(inp->dlth_name_storage), in dlil_create_input_thread()
120 inp->dlth_name = tsnprintf(inp->dlth_name_storage, sizeof(inp->dlth_name_storage), in dlil_create_input_thread()
1129 thread_name = tsnprintf(thread_name_storage, sizeof(thread_name_storage), in dlil_input_thread_func()
1473 thread_name = tsnprintf(thread_name_storage, sizeof(thread_name_storage), in dlil_rxpoll_input_thread_func()
H A Ddlil_subr.c464 ifp->if_name = tsnprintf(dlifp->dl_if_namestorage, sizeof(dlifp->dl_if_namestorage), in _dlil_if_release()
467 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.c2032 ifname = tsnprintf(netem_name, sizeof(netem_name), in ifioctl_linkparams()
H A Dnecp_client.c10634 …name_ptr = tsnprintf(name, sizeof(name), "stats-%u.%s.%d", fd_data->stats_arena_gencnt, proc_name_… in necp_arena_create()
10845 name_ptr = tsnprintf(name, sizeof(name), "sysctl.%s.%d", proc_name_address(p), fd_data->proc_pid); in necp_sysctl_arena_initialize()
/xnu-12377.1.9/osfmk/kern/
H A Dmisc_protos.h199 extern const char *tsnprintf(char *, size_t, const char *, ...) __printflike(3, 4);
/xnu-12377.1.9/bsd/skywalk/core/
H A Dskywalk_sysctl.c64 sko_name = tsnprintf(skoid->sko_name, sizeof(skoid->sko_name), in _skoid_oid_init()
/xnu-12377.1.9/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-12377.1.9/bsd/libkern/
H A Dlibkern.h177 tsnprintf(char *__counted_by(count) dst, size_t count, const char *fmt, ...) __printflike(3, 4);
/xnu-12377.1.9/bsd/kern/
H A Dsubr_prf.c485 tsnprintf(char *__counted_by(count)dst, size_t count, const char *fmt, ...) in tsnprintf() function
/xnu-12377.1.9/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.c841 nxadv_name = tsnprintf(name, sizeof(name), "netif_%llu", nx->nx_id); in nx_netif_prov_nx_ctor()
/xnu-12377.1.9/bsd/skywalk/mem/
H A Dskmem_arena.c202 name = tsnprintf(cname, sizeof(cname), "%s_ksd.%.*s", in skmem_arena_sd_setup()
660 name = tsnprintf(cname, sizeof(cname), "schema.%.*s", in skmem_arena_create_for_nexus()
673 name = tsnprintf(cname, sizeof(cname), "ring.%.*s", in skmem_arena_create_for_nexus()
990 cache_name = tsnprintf(cname, sizeof(cname), "kstats.%s", name); in skmem_arena_create_for_necp()
H A Dskmem_cache.c450 mt_cname = tsnprintf(mtp->mt_cname, sizeof(mtp->mt_cname), in skmem_cache_init()
/xnu-12377.1.9/bsd/skywalk/packet/
H A Dpbufpool.c1231 cache_name = tsnprintf(cname, sizeof(cname), "kmd.%s", name); in pp_create()
1252 cache_name = tsnprintf(cname, sizeof(cname), "kbft_def.%s", name); in pp_create()
1268 cache_name = tsnprintf(cname, sizeof(cname), in pp_create()
1306 cache_name = tsnprintf(cname, sizeof(cname), "buf_def.%s", name); in pp_create()
1318 cache_name = tsnprintf(cname, sizeof(cname), "buf_large.%s", name); in pp_create()
/xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/
H A Dfsw.c580 reap_name = tsnprintf(fsw->fsw_reap_name, sizeof(fsw->fsw_reap_name), in fsw_teardown_ifp()
660 nustr = tsnprintf((char *)uuidstr, sizeof(uuidstr), "%p", in fsw_ctl_attach_log()
1013 name = tsnprintf(netem_name, sizeof(netem_name), in fsw_netem_config()
H A Dfsw_dp.c2362 tname = tsnprintf(thread_name, sizeof(thread_name), "fsw_rx_%s_%d", in fsw_rps_thread_func()
4315 fsw_name = tsnprintf(name, sizeof(name), "%s_%llu", NX_FSW_NAME, nx->nx_id); in fsw_dp_ctor()
/xnu-12377.1.9/osfmk/arm64/
H A Dsleh.c1373 msg = tsnprintf(pr->buf, sizeof(pr->buf), in handle_kernel_breakpoint()
1376 msg = tsnprintf(pr->buf, sizeof(pr->buf), in handle_kernel_breakpoint()
/xnu-12377.1.9/bsd/netinet6/
H A Dicmp6.c2512 return tsnprintf(buf, sizeof(buf), "(src=%s dst=%s tgt=%s)", in icmp6_redirect_diag()