Home
last modified time | relevance | path

Searched refs:namebuf (Results 1 – 7 of 7) sorted by relevance

/xnu-8020.140.41/bsd/net/
H A Dnecp_client.c1728 char namebuf[MAXCOMLEN + 1]; in necp_process_defunct_list() local
1729 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_process_defunct_list()
1730 proc_name(flow_defunct->proc_pid, namebuf, sizeof(namebuf)); in necp_process_defunct_list()
1731 …ate_client abort nexus error (%d) for pid %d %s", netagent_error, flow_defunct->proc_pid, namebuf); in necp_process_defunct_list()
6060 char namebuf[MAXCOMLEN + 1]; in necp_request_tcp_netstats() local
6061 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_request_tcp_netstats()
6062 proc_name(client->proc_pid, namebuf, sizeof(namebuf)); in necp_request_tcp_netstats()
6064 client->proc_pid, namebuf, proc_pid(current_proc()), proc_best_name(current_proc())); in necp_request_tcp_netstats()
6204 char namebuf[MAXCOMLEN + 1]; in necp_request_udp_netstats() local
6205 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_request_udp_netstats()
[all …]
H A Dif.c1647 char namebuf[IFNAMSIZ + 1]; in ifunit_common() local
1651 if (ifunit_extract(name, namebuf, sizeof(namebuf), &unit) < 0) { in ifunit_common()
1656 namebuf[sizeof(namebuf) - 1] = '\0'; in ifunit_common()
1667 if (strcmp(ifp->if_name, namebuf)) { in ifunit_common()
/xnu-8020.140.41/bsd/kern/
H A Dkern_credential.c2558 char *namebuf = NULL; in kauth_cred_cache_lookup() local
2573 namebuf = dst; in kauth_cred_cache_lookup()
2574 *namebuf = '\0'; in kauth_cred_cache_lookup()
2579 error = kauth_identity_find_uid(*(uid_t *)src, &ki, namebuf); in kauth_cred_cache_lookup()
2582 error = kauth_identity_find_gid(*(gid_t *)src, &ki, namebuf); in kauth_cred_cache_lookup()
2585 error = kauth_identity_find_guid((guid_t *)src, &ki, namebuf); in kauth_cred_cache_lookup()
2588 error = kauth_identity_find_ntsid((ntsid_t *)src, &ki, namebuf); in kauth_cred_cache_lookup()
H A Dkern_prot.c1622 return copyout((caddr_t)buffer, uap->namebuf, uap->namelen); in getlogin()
1669 error = copyinstr(uap->namebuf, in setlogin()
/xnu-8020.140.41/bsd/nfs/
H A Dnfs_gss.c1815 char namebuf[MAXCOMLEN + 1]; in nfs_gss_clnt_log_error() local
1823 proc_name(pid, namebuf, sizeof(namebuf)); in nfs_gss_clnt_log_error()
1824 if (*namebuf) { in nfs_gss_clnt_log_error()
1825 procn = namebuf; in nfs_gss_clnt_log_error()
/xnu-8020.140.41/bsd/vfs/
H A Dvfs_attrlist.c3660 caddr_t namebuf, vfs_context_t ctx) in get_error_attributes() argument
3702 namelen = strlen(namebuf); in get_error_attributes()
3752 attrlist_pack_string(&ab, namebuf, namelen); in get_error_attributes()
H A Dvfs_syscalls.c12635 if (uap->namebuf != 0 && uap->bufsize > 0) { in listxattr()
12638 uio_addiov(auio, uap->namebuf, uap->bufsize); in listxattr()
12677 if (uap->namebuf != 0 && uap->bufsize > 0) { in flistxattr()
12680 uio_addiov(auio, uap->namebuf, uap->bufsize); in flistxattr()