Lines Matching refs:attr
65 #include <sys/attr.h>
2276 makenfsnode(fhandle_t *fh, struct nfsfattr *attr, struct vfs *vfsp,
2294 if (attr != NULL) {
2297 (void) nfs_cache_fattr(vp, attr, &va, t, cr);
2299 if (attr->na_type < NFNON || attr->na_type > NFSOC)
2302 vp->v_type = n2v_type(attr);
2306 * with `attr' that has come from the wire,
2312 if ((attr->na_rdev & 0xffff0000) == 0)
2313 vp->v_rdev = nfsv2_expdev(attr->na_rdev);
2315 vp->v_rdev = expldev(n2v_rdev(attr));
2316 nfs_attrcache(vp, attr, t);
2380 makenfs3node(nfs_fh3 *fh, fattr3 *attr, struct vfs *vfsp, hrtime_t t,
2395 if (attr == NULL) {
2405 (void) nfs3_cache_fattr3(vp, attr, &va, t, cr);
2407 if (attr->type < NF3REG || attr->type > NF3FIFO)
2410 vp->v_type = nf3_to_vt[attr->type];
2411 vp->v_rdev = makedevice(attr->rdev.specdata1,
2412 attr->rdev.specdata2);
2413 nfs3_attrcache(vp, attr, t);