ncp 109 kern/vfs_cache.c struct namecache *ncp;
ncp 129 kern/vfs_cache.c LIST_FOREACH(ncp, ncpp, nc_hash) {
ncp 130 kern/vfs_cache.c if (ncp->nc_dvp == dvp &&
ncp 131 kern/vfs_cache.c ncp->nc_dvpid == dvp->v_id &&
ncp 132 kern/vfs_cache.c ncp->nc_nlen == cnp->cn_namelen &&
ncp 133 kern/vfs_cache.c !memcmp(ncp->nc_name, cnp->cn_nameptr, (u_int)ncp->nc_nlen))
ncp 136 kern/vfs_cache.c if (ncp == NULL) {
ncp 143 kern/vfs_cache.c } else if (ncp->nc_vp == NULL) {
ncp 151 kern/vfs_cache.c if (TAILQ_NEXT(ncp, nc_lru) != NULL) {
ncp 152 kern/vfs_cache.c TAILQ_REMOVE(&nclruhead, ncp, nc_lru);
ncp 153 kern/vfs_cache.c TAILQ_INSERT_TAIL(&nclruhead, ncp, nc_lru);
ncp 160 kern/vfs_cache.c } else if (ncp->nc_vpid != ncp->nc_vp->v_id) {
ncp 165 kern/vfs_cache.c vp = ncp->nc_vp;
ncp 225 kern/vfs_cache.c if (TAILQ_NEXT(ncp, nc_lru) != NULL) {
ncp 226 kern/vfs_cache.c TAILQ_REMOVE(&nclruhead, ncp, nc_lru);
ncp 227 kern/vfs_cache.c TAILQ_INSERT_TAIL(&nclruhead, ncp, nc_lru);
ncp 238 kern/vfs_cache.c TAILQ_REMOVE(&nclruhead, ncp, nc_lru);
ncp 239 kern/vfs_cache.c LIST_REMOVE(ncp, nc_hash);
ncp 240 kern/vfs_cache.c ncp->nc_hash.le_prev = NULL;
ncp 242 kern/vfs_cache.c if (ncp->nc_vhash.le_prev != NULL) {
ncp 243 kern/vfs_cache.c LIST_REMOVE(ncp, nc_vhash);
ncp 244 kern/vfs_cache.c ncp->nc_vhash.le_prev = NULL;
ncp 247 kern/vfs_cache.c pool_put(&nch_pool, ncp);
ncp 270 kern/vfs_cache.c struct namecache *ncp;
ncp 280 kern/vfs_cache.c LIST_FOREACH(ncp, nvcpp, nc_vhash) {
ncp 281 kern/vfs_cache.c if (ncp->nc_vp == vp &&
ncp 282 kern/vfs_cache.c ncp->nc_vpid == vp->v_id &&
ncp 283 kern/vfs_cache.c (dvp = ncp->nc_dvp) != NULL &&
ncp 285 kern/vfs_cache.c dvp != vp && ncp->nc_dvpid == dvp->v_id) {
ncp 288 kern/vfs_cache.c if (ncp->nc_nlen == 1 &&
ncp 289 kern/vfs_cache.c ncp->nc_name[0] == '.')
ncp 292 kern/vfs_cache.c if (ncp->nc_nlen == 2 &&
ncp 293 kern/vfs_cache.c ncp->nc_name[0] == '.' &&
ncp 294 kern/vfs_cache.c ncp->nc_name[1] == '.')
ncp 301 kern/vfs_cache.c bp -= ncp->nc_nlen;
ncp 306 kern/vfs_cache.c memcpy(bp, ncp->nc_name, ncp->nc_nlen);
ncp 337 kern/vfs_cache.c struct namecache *ncp;
ncp 348 kern/vfs_cache.c ncp = pool_get(&nch_pool, PR_WAITOK);
ncp 349 kern/vfs_cache.c bzero((char *)ncp, sizeof *ncp);
ncp 351 kern/vfs_cache.c } else if ((ncp = TAILQ_FIRST(&nclruhead)) != NULL) {
ncp 352 kern/vfs_cache.c TAILQ_REMOVE(&nclruhead, ncp, nc_lru);
ncp 353 kern/vfs_cache.c if (ncp->nc_hash.le_prev != NULL) {
ncp 354 kern/vfs_cache.c LIST_REMOVE(ncp, nc_hash);
ncp 355 kern/vfs_cache.c ncp->nc_hash.le_prev = NULL;
ncp 357 kern/vfs_cache.c if (ncp->nc_vhash.le_prev != NULL) {
ncp 358 kern/vfs_cache.c LIST_REMOVE(ncp, nc_vhash);
ncp 359 kern/vfs_cache.c ncp->nc_vhash.le_prev = NULL;
ncp 364 kern/vfs_cache.c ncp->nc_vp = vp;
ncp 366 kern/vfs_cache.c ncp->nc_vpid = vp->v_id;
ncp 368 kern/vfs_cache.c ncp->nc_dvp = dvp;
ncp 369 kern/vfs_cache.c ncp->nc_dvpid = dvp->v_id;
ncp 370 kern/vfs_cache.c ncp->nc_nlen = cnp->cn_namelen;
ncp 371 kern/vfs_cache.c bcopy(cnp->cn_nameptr, ncp->nc_name, (unsigned)ncp->nc_nlen);
ncp 372 kern/vfs_cache.c TAILQ_INSERT_TAIL(&nclruhead, ncp, nc_lru);
ncp 374 kern/vfs_cache.c LIST_INSERT_HEAD(ncpp, ncp, nc_hash);
ncp 381 kern/vfs_cache.c ncp->nc_vhash.le_prev = NULL;
ncp 382 kern/vfs_cache.c ncp->nc_vhash.le_next = NULL;
ncp 385 kern/vfs_cache.c (ncp->nc_nlen > 2 ||
ncp 386 kern/vfs_cache.c (ncp->nc_nlen > 1 && ncp->nc_name[1] != '.') ||
ncp 387 kern/vfs_cache.c (ncp->nc_nlen > 0 && ncp->nc_name[0] != '.'))) {
ncp 389 kern/vfs_cache.c LIST_INSERT_HEAD(nvcpp, ncp, nc_vhash);
ncp 414 kern/vfs_cache.c struct namecache *ncp;
ncp 421 kern/vfs_cache.c LIST_FOREACH(ncp, ncpp, nc_hash) {
ncp 422 kern/vfs_cache.c ncp->nc_vpid = 0;
ncp 423 kern/vfs_cache.c ncp->nc_dvpid = 0;
ncp 436 kern/vfs_cache.c struct namecache *ncp, *nxtcp;
ncp 438 kern/vfs_cache.c for (ncp = TAILQ_FIRST(&nclruhead); ncp != TAILQ_END(&nclruhead);
ncp 439 kern/vfs_cache.c ncp = nxtcp) {
ncp 440 kern/vfs_cache.c nxtcp = TAILQ_NEXT(ncp, nc_lru);
ncp 441 kern/vfs_cache.c if (ncp->nc_dvp == NULL || ncp->nc_dvp->v_mount != mp)
ncp 444 kern/vfs_cache.c ncp->nc_vp = NULL;
ncp 445 kern/vfs_cache.c ncp->nc_dvp = NULL;
ncp 446 kern/vfs_cache.c TAILQ_REMOVE(&nclruhead, ncp, nc_lru);
ncp 447 kern/vfs_cache.c if (ncp->nc_hash.le_prev != NULL) {
ncp 448 kern/vfs_cache.c LIST_REMOVE(ncp, nc_hash);
ncp 449 kern/vfs_cache.c ncp->nc_hash.le_prev = NULL;
ncp 451 kern/vfs_cache.c if (ncp->nc_vhash.le_prev != NULL) {
ncp 452 kern/vfs_cache.c LIST_REMOVE(ncp, nc_vhash);
ncp 453 kern/vfs_cache.c ncp->nc_vhash.le_prev = NULL;
ncp 455 kern/vfs_cache.c pool_put(&nch_pool, ncp);
ncp 368 lib/libsa/nfs.c char namebuf[NFS_MAXPATHLEN + 1], *cp, *ncp;
ncp 413 lib/libsa/nfs.c ncp = cp;
ncp 425 lib/libsa/nfs.c error = nfs_lookupfh(currfd, ncp, newfd);
ncp 362 lib/libsa/ufs.c char namebuf[MAXPATHLEN+1], *cp, *ncp, *buf = NULL;
ncp 435 lib/libsa/ufs.c ncp = cp;
ncp 452 lib/libsa/ufs.c rc = search_directory(ncp, f, &inumber);
ncp 988 msdosfs/msdosfs_fat.c extendfile(dep, count, bpp, ncp, flags)
ncp 992 msdosfs/msdosfs_fat.c uint32_t *ncp;
ncp 1048 msdosfs/msdosfs_fat.c if (ncp) {
ncp 1049 msdosfs/msdosfs_fat.c *ncp = cn;
ncp 1050 msdosfs/msdosfs_fat.c ncp = NULL;