Searched refs:name_buf (Results 1 – 2 of 2) sorted by relevance
| /xnu-11417.140.69/bsd/vfs/ |
| H A D | vfs_syscalls.c | 14357 caddr_t name_buf; in vnode_get_snapshot() local 14392 name_buf = zalloc_flags(ZV_NAMEI, Z_WAITOK); in vnode_get_snapshot() 14393 error = copyinstr(name, name_buf, MAXPATHLEN, &name_len); in vnode_get_snapshot() 14402 if ((name_len == 1) || (name_len == 2 && name_buf[0] == '.') || in vnode_get_snapshot() 14403 (name_len == 3 && name_buf[0] == '.' && name_buf[1] == '.')) { in vnode_get_snapshot() 14407 for (i = 0; i < (int)name_len && name_buf[i] != '/'; i++) { in vnode_get_snapshot() 14418 name_buf); in vnode_get_snapshot() 14421 name_buf); in vnode_get_snapshot() 14430 UIO_SYSSPACE, CAST_USER_ADDR_T(name_buf), ctx); in vnode_get_snapshot() 14435 zfree(ZV_NAMEI, name_buf); in vnode_get_snapshot() [all …]
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | proc_info.c | 978 char * name_buf = NULL; in bsd_setthreadname() local 983 name_buf = kalloc_data(MAXTHREADNAMESIZE, in bsd_setthreadname() 987 if (!OSCompareAndSwapPtr(NULL, name_buf, &ut->pth_name)) { in bsd_setthreadname() 988 kfree_data(name_buf, MAXTHREADNAMESIZE); in bsd_setthreadname() 3231 char name_buf[MAXTHREADNAMESIZE]; in proc_setcontrol() local 3270 bzero(name_buf, MAXTHREADNAMESIZE); in proc_setcontrol() 3271 error = copyin(buffer, name_buf, buffersize); in proc_setcontrol() 3274 bsd_setthreadname(ut, thread_tid(current_thread()), name_buf); in proc_setcontrol()
|