Home
last modified time | relevance | path

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

/xnu-10063.141.1/tests/vfs/ !
H A Do_search.c50 char namebuf[(sizeof(struct dirent) * (NUMDIRS + 2))]; variable
74 …T_ASSERT_POSIX_SUCCESS(retval = (int)__getdirentries64(tmpdir_fd, namebuf, sizeof(namebuf), &dirby…
78 retval = (int)__getdirentries64(tmpdir_fd, namebuf, sizeof(namebuf), &dirbyte);
/xnu-10063.141.1/bsd/kern/ !
H A Dkern_credential.c2479 char *namebuf = NULL; in kauth_cred_cache_lookup() local
2494 namebuf = dst; in kauth_cred_cache_lookup()
2495 *namebuf = '\0'; in kauth_cred_cache_lookup()
2500 error = kauth_identity_find_uid(*(uid_t *)src, &ki, namebuf); in kauth_cred_cache_lookup()
2503 error = kauth_identity_find_gid(*(gid_t *)src, &ki, namebuf); in kauth_cred_cache_lookup()
2506 error = kauth_identity_find_guid((guid_t *)src, &ki, namebuf); in kauth_cred_cache_lookup()
2509 error = kauth_identity_find_ntsid((ntsid_t *)src, &ki, namebuf); in kauth_cred_cache_lookup()
H A Dkern_prot.c1580 return copyout((caddr_t)buffer, uap->namebuf, uap->namelen); in getlogin()
1627 error = copyinstr(uap->namebuf, in setlogin()
/xnu-10063.141.1/bsd/net/ !
H A Dnecp_client.c1759 char namebuf[MAXCOMLEN + 1]; in necp_process_defunct_list() local
1760 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_process_defunct_list()
1761 proc_name(flow_defunct->proc_pid, namebuf, sizeof(namebuf)); in necp_process_defunct_list()
1762 …ate_client abort nexus error (%d) for pid %d %s", netagent_error, flow_defunct->proc_pid, namebuf); in necp_process_defunct_list()
6427 char namebuf[MAXCOMLEN + 1]; in necp_request_tcp_netstats() local
6428 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_request_tcp_netstats()
6429 proc_name(client->proc_pid, namebuf, sizeof(namebuf)); in necp_request_tcp_netstats()
6431 client->proc_pid, namebuf, proc_pid(current_proc()), proc_best_name(current_proc())); in necp_request_tcp_netstats()
6577 char namebuf[MAXCOMLEN + 1]; in necp_request_udp_netstats() local
6578 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_request_udp_netstats()
[all …]
H A Dif.c1752 char namebuf[IFNAMSIZ + 1]; in ifunit_common() local
1756 if (ifunit_extract(name, namebuf, sizeof(namebuf), &unit) < 0) { in ifunit_common()
1761 namebuf[sizeof(namebuf) - 1] = '\0'; in ifunit_common()
1772 if (strcmp(ifp->if_name, namebuf)) { in ifunit_common()
/xnu-10063.141.1/bsd/vfs/ !
H A Dvfs_attrlist.c3723 caddr_t namebuf, vfs_context_t ctx) in get_error_attributes() argument
3765 namelen = strlen(namebuf); in get_error_attributes()
3815 attrlist_pack_string(&ab, namebuf, namelen); in get_error_attributes()
H A Dvfs_syscalls.c13523 if (uap->namebuf != 0 && uap->bufsize > 0) { in listxattr()
13526 uio_addiov(auio, uap->namebuf, uap->bufsize); in listxattr()
13565 if (uap->namebuf != 0 && uap->bufsize > 0) { in flistxattr()
13568 uio_addiov(auio, uap->namebuf, uap->bufsize); in flistxattr()