Lines Matching refs:fp
746 struct filefork *fp;
756 fp = VTOF(vp);
758 leof = fp->ff_size;
760 if ((hfsmp->hfs_flags & HFS_READ_ONLY) || (fp->ff_blocks == 0))
800 while ((invalid_range = TAILQ_FIRST(&fp->ff_invalidranges))) {
808 rl_remove(start, end, &fp->ff_invalidranges);
825 if (blks < fp->ff_blocks) {
853 struct filefork *fp = NULL;
897 fp = cp->c_datafork;
903 fp = cp->c_rsrcfork;
930 if (fp) {
932 if (vnode_islnk(vp) && (fp->ff_symlinkptr != NULL)) {
933 FREE(fp->ff_symlinkptr, M_TEMP);
935 FREE_ZONE(fp, sizeof(struct filefork), M_HFSFORK);
991 struct filefork *fp = NULL;
1253 MALLOC_ZONE(fp, struct filefork *, sizeof(struct filefork),
1255 fp->ff_cp = cp;
1257 bcopy(forkp, &fp->ff_data, sizeof(struct cat_fork));
1259 bzero(&fp->ff_data, sizeof(struct cat_fork));
1260 rl_init(&fp->ff_invalidranges);
1261 fp->ff_sysfileinfo = 0;
1268 cp->c_rsrcfork = fp;
1277 cp->c_datafork = fp;
1363 if (fp) {
1364 if (fp == cp->c_datafork)
1369 FREE_ZONE(fp, sizeof(struct filefork), M_HFSFORK);