Home
last modified time | relevance | path

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

/xnu-8796.141.3/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-8796.141.3/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-8796.141.3/bsd/net/
H A Dnecp_client.c1735 char namebuf[MAXCOMLEN + 1]; in necp_process_defunct_list() local
1736 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_process_defunct_list()
1737 proc_name(flow_defunct->proc_pid, namebuf, sizeof(namebuf)); in necp_process_defunct_list()
1738 …ate_client abort nexus error (%d) for pid %d %s", netagent_error, flow_defunct->proc_pid, namebuf); in necp_process_defunct_list()
6243 char namebuf[MAXCOMLEN + 1]; in necp_request_tcp_netstats() local
6244 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_request_tcp_netstats()
6245 proc_name(client->proc_pid, namebuf, sizeof(namebuf)); in necp_request_tcp_netstats()
6247 client->proc_pid, namebuf, proc_pid(current_proc()), proc_best_name(current_proc())); in necp_request_tcp_netstats()
6387 char namebuf[MAXCOMLEN + 1]; in necp_request_udp_netstats() local
6388 (void) strlcpy(namebuf, "unknown", sizeof(namebuf)); in necp_request_udp_netstats()
[all …]
H A Dif.c1721 char namebuf[IFNAMSIZ + 1]; in ifunit_common() local
1725 if (ifunit_extract(name, namebuf, sizeof(namebuf), &unit) < 0) { in ifunit_common()
1730 namebuf[sizeof(namebuf) - 1] = '\0'; in ifunit_common()
1741 if (strcmp(ifp->if_name, namebuf)) { in ifunit_common()
/xnu-8796.141.3/bsd/vfs/
H A Dvfs_attrlist.c3690 caddr_t namebuf, vfs_context_t ctx) in get_error_attributes() argument
3732 namelen = strlen(namebuf); in get_error_attributes()
3782 attrlist_pack_string(&ab, namebuf, namelen); in get_error_attributes()
H A Dvfs_syscalls.c13330 if (uap->namebuf != 0 && uap->bufsize > 0) { in listxattr()
13333 uio_addiov(auio, uap->namebuf, uap->bufsize); in listxattr()
13372 if (uap->namebuf != 0 && uap->bufsize > 0) { in flistxattr()
13375 uio_addiov(auio, uap->namebuf, uap->bufsize); in flistxattr()