Searched refs:namebuf (Results 1 – 7 of 7) sorted by relevance
| /xnu-8019.80.24/bsd/net/ |
| H A D | necp_client.c | 1707 char namebuf[MAXCOMLEN + 1]; in necp_process_defunct_list() local 1708 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_process_defunct_list() 1709 proc_name(flow_defunct->proc_pid, namebuf, sizeof(namebuf)); in necp_process_defunct_list() 1710 …ate_client abort nexus error (%d) for pid %d %s", netagent_error, flow_defunct->proc_pid, namebuf); in necp_process_defunct_list() 6008 char namebuf[MAXCOMLEN + 1]; in necp_request_tcp_netstats() local 6009 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_request_tcp_netstats() 6010 proc_name(client->proc_pid, namebuf, sizeof(namebuf)); in necp_request_tcp_netstats() 6012 client->proc_pid, namebuf, proc_pid(current_proc()), proc_best_name(current_proc())); in necp_request_tcp_netstats() 6152 char namebuf[MAXCOMLEN + 1]; in necp_request_udp_netstats() local 6153 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_request_udp_netstats() [all …]
|
| H A D | if.c | 1650 char namebuf[IFNAMSIZ + 1]; in ifunit_common() local 1654 if (ifunit_extract(name, namebuf, sizeof(namebuf), &unit) < 0) { in ifunit_common() 1659 namebuf[sizeof(namebuf) - 1] = '\0'; in ifunit_common() 1670 if (strcmp(ifp->if_name, namebuf)) { in ifunit_common()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | kern_credential.c | 2558 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 D | kern_prot.c | 1622 return copyout((caddr_t)buffer, uap->namebuf, uap->namelen); in getlogin() 1669 error = copyinstr(uap->namebuf, in setlogin()
|
| /xnu-8019.80.24/bsd/nfs/ |
| H A D | nfs_gss.c | 1815 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-8019.80.24/bsd/vfs/ |
| H A D | vfs_attrlist.c | 3656 caddr_t namebuf, vfs_context_t ctx) in get_error_attributes() argument 3698 namelen = strlen(namebuf); in get_error_attributes() 3748 attrlist_pack_string(&ab, namebuf, namelen); in get_error_attributes()
|
| H A D | vfs_syscalls.c | 12538 if (uap->namebuf != 0 && uap->bufsize > 0) { in listxattr() 12541 uio_addiov(auio, uap->namebuf, uap->bufsize); in listxattr() 12580 if (uap->namebuf != 0 && uap->bufsize > 0) { in flistxattr() 12583 uio_addiov(auio, uap->namebuf, uap->bufsize); in flistxattr()
|