Home
last modified time | relevance | path

Searched refs:primary_index (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/fs/fscache/
Dnetfs.c32 netfs->primary_index = in __fscache_register_netfs()
35 if (!netfs->primary_index) { in __fscache_register_netfs()
41 atomic_set(&netfs->primary_index->usage, 1); in __fscache_register_netfs()
42 atomic_set(&netfs->primary_index->n_children, 0); in __fscache_register_netfs()
44 netfs->primary_index->def = &fscache_fsdef_netfs_def; in __fscache_register_netfs()
45 netfs->primary_index->parent = &fscache_fsdef_index; in __fscache_register_netfs()
46 netfs->primary_index->netfs_data = netfs; in __fscache_register_netfs()
48 atomic_inc(&netfs->primary_index->parent->usage); in __fscache_register_netfs()
49 atomic_inc(&netfs->primary_index->parent->n_children); in __fscache_register_netfs()
51 spin_lock_init(&netfs->primary_index->lock); in __fscache_register_netfs()
[all …]
/linux-3.4.99/include/linux/
Dfscache.h165 struct fscache_cookie *primary_index; member
/linux-3.4.99/fs/cifs/
Dfscache.c29 fscache_acquire_cookie(cifs_fscache_netfs.primary_index, in cifs_fscache_get_client_cookie()
/linux-3.4.99/fs/9p/
Dcache.c91 v9ses->fscache = fscache_acquire_cookie(v9fs_cache_netfs.primary_index, in v9fs_cache_session_get_cookie()
/linux-3.4.99/fs/afs/
Dcell.c180 cell->cache = fscache_acquire_cookie(afs_cache_netfs.primary_index, in afs_cell_create()
/linux-3.4.99/fs/nfs/
Dfscache.c40 clp->fscache = fscache_acquire_cookie(nfs_fscache_netfs.primary_index, in nfs_fscache_get_client_cookie()
/linux-3.4.99/Documentation/filesystems/caching/
Dnetfs-api.txt52 struct fscache_cookie *primary_index;
357 fscache_acquire_cookie(afs_cache_netfs.primary_index,