Lines Matching refs:fp
64 file_t *fp, *startfp;
208 error = falloc((vnode_t *)NULL, filemode, &fp, &fd);
225 fp->f_vnode = vp;
226 mutex_exit(&fp->f_tlock);
231 setf(fd, fp);
244 unfalloc(fp);
253 if ((fp = getf(dupfd)) == NULL) {
257 mutex_enter(&fp->f_tlock);
258 fp->f_count++;
259 mutex_exit(&fp->f_tlock);
260 setf(fd, fp);
269 unfalloc(fp);