Searched refs:pathlen (Results 1 - 8 of 8) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | posix_shm.c | 380 size_t pathlen, plen; local 401 pathlen = MAXPATHLEN; 402 error = copyinstr(uap->name, (void *)pnbuf, MAXPATHLEN, &pathlen); 407 if (pathlen > PSHMNAMLEN) { 425 plen = pathlen; 502 bcopy(pnbuf, &pinfo->pshm_name[0], pathlen); 503 pinfo->pshm_name[pathlen]=0; 1010 size_t pathlen, plen; local 1021 pathlen = MAXPATHLEN; 1022 error = copyinstr(uap->name, (void *)pnbuf, MAXPATHLEN, &pathlen); [all...] |
H A D | posix_sem.c | 364 size_t pathlen, plen; local 388 pathlen = MAXPATHLEN; 389 error = copyinstr(uap->name, pnbuf, MAXPATHLEN, &pathlen); 394 if ( (pathlen > PSEMNAMLEN) ) { 413 plen = pathlen; 666 size_t pathlen, plen; local 676 pathlen = MAXPATHLEN; 677 error = copyinstr(uap->name, pnbuf, MAXPATHLEN, &pathlen); 682 if (pathlen > PSEMNAMLEN) { 702 plen = pathlen; [all...] |
H A D | kern_descrip.c | 1317 int pathlen; local 1326 pathlen = MAXPATHLEN; 1327 MALLOC(pathbufp, char *, pathlen, M_TEMP, M_WAITOK); 1333 error = vn_getpath(vp, pathbufp, &pathlen); 1337 error = copyout((caddr_t)pathbufp, argp, pathlen); 1345 size_t pathlen; local 1354 pathlen = MAXPATHLEN; 1357 if ( (error = copyinstr(argp, pathbufp, MAXPATHLEN, &pathlen)) == 0 ) { 1360 error = vn_path_package_check(vp, pathbufp, pathlen, retval); 1978 int pathlen; local [all...] |
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_subs.c | 2676 size_t pathlen; local 2688 error = copyinstr(unxa->nxa_fspath, path, MAXPATHLEN, &pathlen); 2757 error = copyinstr(unxa->nxa_fspath, path, MAXPATHLEN, &pathlen); 2856 MALLOC(nxfs->nxfs_path, char*, pathlen, M_TEMP, M_WAITOK); 2862 bcopy(path, nxfs->nxfs_path, pathlen); 2883 error = copyinstr(unxa->nxa_exppath, path, MAXPATHLEN, &pathlen); 2912 MALLOC(nx->nx_path, char*, pathlen, M_TEMP, M_WAITOK); 2919 bcopy(path, nx->nx_path, pathlen); 2944 if ((nx3 && !strncmp(nx3->nx_path, nx->nx_path, pathlen - 1) && 2945 (nx3->nx_path[pathlen [all...] |
H A D | nfs_syscalls.c | 416 size_t pathlen; local 427 error = copyinstr(uap->fname, path, MAXPATHLEN, &pathlen);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | vnode.h | 1775 @param pathlen Size of path buffer. 1781 int vn_path_package_check(vnode_t vp, char *path, int pathlen, int *component);
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_xattr.c | 2635 int pathlen; local 2642 pathlen = MAXPATHLEN; 2643 error = vn_getpath(xvp, path, &pathlen);
|
H A D | vfs_subr.c | 2653 vn_path_package_check(__unused vnode_t vp, char *path, int pathlen, int *component) argument 2664 while(end < path + pathlen && *end != '\0') { 2665 while(end < path + pathlen && *end == '/' && *end != '\0') { 2671 while(end < path + pathlen && *end != '/' && *end != '\0') { 2675 if (end > path + pathlen) {
|
Completed in 162 milliseconds