Searched refs:cache_object_p (Results 1 - 6 of 6) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_cache.c65 cfsd_cache_object_t *cache_object_p; local
70 cache_object_p = cfsd_calloc(sizeof (cfsd_cache_object_t));
71 strlcpy(cache_object_p->i_cachedir, gettext("unknown"),
72 sizeof (cache_object_p->i_cachedir));
73 cache_object_p->i_refcnt = 0;
74 cache_object_p->i_nextfscacheid = 0;
75 cache_object_p->i_cacheid = 0;
76 cache_object_p->i_modify = 1;
77 cache_object_p->i_fscachelist = NULL;
78 cache_object_p
100 cfsd_cache_destroy(cfsd_cache_object_t *cache_object_p) argument
140 cache_setup(cfsd_cache_object_t *cache_object_p, const char *cachedirp, int cacheid) argument
180 cache_lock(cfsd_cache_object_t *cache_object_p) argument
199 cache_unlock(cfsd_cache_object_t *cache_object_p) argument
219 cache_fscachelist_at(cfsd_cache_object_t *cache_object_p, size_t index) argument
250 cache_fscachelist_add(cfsd_cache_object_t *cache_object_p, cfsd_fscache_object_t *fscache_object_p) argument
278 cache_fscachelist_find(cfsd_cache_object_t *cache_object_p, const char *namep) argument
[all...]
H A Dcfsd_cache.h48 void cfsd_cache_destroy(cfsd_cache_object_t *cache_object_p);
50 int cache_setup(cfsd_cache_object_t *cache_object_p, const char *cachedirp,
52 void cache_lock(cfsd_cache_object_t *cache_object_p);
53 void cache_unlock(cfsd_cache_object_t *cache_object_p);
55 cfsd_fscache_object_t *cache_fscachelist_at(cfsd_cache_object_t *cache_object_p,
57 void cache_fscachelist_add(cfsd_cache_object_t *cache_object_p,
60 cfsd_cache_object_t *cache_object_p, const char *namep);
H A Dcfsd_all.c120 cfsd_cache_object_t *cache_object_p; local
129 cache_object_p = all_object_p->i_cachelist;
131 while (cache_object_p != NULL) {
132 tmp_cache_object_p = cache_object_p->i_next;
133 cfsd_cache_destroy(cache_object_p);
134 cache_object_p = tmp_cache_object_p;
194 cfsd_cache_object_t *cache_object_p; local
200 cache_object_p = all_object_p->i_cachelist;
202 while ((cache_object_p != NULL) && (i++ < index)) {
203 cache_object_p
222 all_cachelist_add(cfsd_all_object_t *all_object_p, cfsd_cache_object_t *cache_object_p) argument
251 cfsd_cache_object_t *cache_object_p; local
281 cfsd_cache_object_t *cache_object_p; local
[all...]
H A Dcfsd_svc.c116 cfsd_cache_object_t *cache_object_p; local
141 cache_object_p = all_cachelist_at(all_object_p, index);
142 dbug_assert(cache_object_p);
145 idp->cci_cacheid = cache_object_p->i_cacheid;
146 idp->cci_name = subr_strdup(cache_object_p->i_cachedir);
181 cfsd_cache_object_t *cache_object_p; local
203 cache_object_p = all_cachelist_at(all_object_p, index);
204 dbug_assert(cache_object_p);
207 if (cache_object_p->i_cacheid == *inp) {
208 cache_lock(cache_object_p);
298 cfsd_cache_object_t *cache_object_p; local
392 cfsd_cache_object_t *cache_object_p; local
570 cfsd_cache_object_t *cache_object_p; local
667 cfsd_cache_object_t *cache_object_p; local
[all...]
H A Dcfsd_subr.c100 cfsd_cache_object_t *cache_object_p; local
113 cache_object_p = all_cachelist_find(all_object_p, dirp);
114 if (cache_object_p == NULL) {
116 cache_object_p = cfsd_cache_create();
118 xx = cache_setup(cache_object_p, dirp, xx);
121 cfsd_cache_destroy(cache_object_p);
126 all_cachelist_add(all_object_p, cache_object_p);
129 cache_lock(cache_object_p);
130 cache_object_p->i_refcnt++;
131 cache_unlock(cache_object_p);
251 cfsd_cache_object_t *cache_object_p; local
[all...]
H A Dcfsd_all.h60 cfsd_cache_object_t *cache_object_p);

Completed in 215 milliseconds