tag | line | file | source code |
nh | 2 | fs/nfs/cache.c | void nfs_bl_cache_invalidate(nfs_cache *nh) |
nh | 7 | fs/nfs/cache.c | if(nh->inuse) |
nh | 8 | fs/nfs/cache.c | nh->dead=1; |
nh | 11 | fs/nfs/cache.c | kfree_s(nh->data); |
nh | 12 | fs/nfs/cache.c | nh->data=NULL; |
nh | 13 | fs/nfs/cache.c | nh->free=1; |
nh | 17 | fs/nfs/cache.c | void nfs_bl_cache_revalidate(nfs_cache *nh, struct fattr fa) |
nh | 19 | fs/nfs/cache.c | nh->fattr=fattr; |
nh | 20 | fs/nfs/cache.c | nh->time=jiffies; |
nh | 30 | fs/nfs/cache.c | nfs_cache *nh=&nfs_cache_slot[0]; |
nh | 36 | fs/nfs/cache.c | if(nh->inode_num==inode->i_no && !nh->dead&&!nh->free&&nh->file_pos==pos) |
nh | 38 | fs/nfs/cache.c | if(abs(jiffies-nh->time)<EXPIRE_CACHE) |
nh | 39 | fs/nfs/cache.c | return nh; |
nh | 46 | fs/nfs/cache.c | nfs_bl_cache_invalidate(nh); |
nh | 49 | fs/nfs/cache.c | if(nh->fattr.modified!=fattr.modified) |
nh | 51 | fs/nfs/cache.c | nfs_bl_cache_invalidate(nh); |
nh | 55 | fs/nfs/cache.c | nh->fattr=fattr; |
nh | 56 | fs/nfs/cache.c | nfs_bl_cache_revalidate(nh); |
nh | 57 | fs/nfs/cache.c | return nh; |
nh | 59 | fs/nfs/cache.c | if(nh->free) |
nh | 60 | fs/nfs/cache.c | ffree=nh; |