ref 32 file.c if(f->ref == 0){ ref 33 file.c f->ref = 1; ref 47 file.c if(f->ref < 1) ref 49 file.c f->ref++; ref 61 file.c if(f->ref < 1) ref 63 file.c if(--f->ref > 0){ ref 68 file.c f->ref = 0; ref 3 file.h int ref; // reference count ref 16 file.h int ref; // Reference count ref 230 fs.c if(ip->ref > 0 && ip->dev == dev && ip->inum == inum){ ref 231 fs.c ip->ref++; ref 235 fs.c if(empty == 0 && ip->ref == 0) // Remember empty slot. ref 246 fs.c ip->ref = 1; ref 259 fs.c ip->ref++; ref 272 fs.c if(ip == 0 || ip->ref < 1) ref 301 fs.c if(ip == 0 || !(ip->flags & I_BUSY) || ip->ref < 1) ref 321 fs.c if(ip->ref == 1 && (ip->flags & I_VALID) && ip->nlink == 0){ ref 334 fs.c ip->ref--;