Searched refs:all_object_p (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_all.c | 71 cfsd_all_object_t *all_object_p; in cfsd_all_create() local 77 all_object_p = in cfsd_all_create() 83 strlcpy(all_object_p->i_machname, gettext("unknown"), in cfsd_all_create() 84 sizeof (all_object_p->i_machname)); in cfsd_all_create() 86 strlcpy(all_object_p->i_machname, info.nodename, in cfsd_all_create() 87 sizeof (all_object_p->i_machname)); in cfsd_all_create() 91 xx = mutex_init(&all_object_p->i_lock, USYNC_THREAD, NULL); in cfsd_all_create() 94 all_object_p->i_nextcacheid = 0; in cfsd_all_create() 95 all_object_p->i_modify = 1; in cfsd_all_create() 96 all_object_p->i_cachelist = NULL; in cfsd_all_create() [all …]
|
H A D | cfsd_subr.c | 94 subr_add_mount(cfsd_all_object_t *all_object_p, in subr_add_mount() argument 105 dbug_precond(all_object_p); in subr_add_mount() 112 all_lock(all_object_p); in subr_add_mount() 113 cache_object_p = all_cachelist_find(all_object_p, dirp); in subr_add_mount() 117 xx = all_object_p->i_nextcacheid; in subr_add_mount() 122 all_unlock(all_object_p); in subr_add_mount() 126 all_cachelist_add(all_object_p, cache_object_p); in subr_add_mount() 127 all_cachefstab_update(all_object_p); in subr_add_mount() 132 all_unlock(all_object_p); in subr_add_mount() 249 subr_cache_setup(cfsd_all_object_t *all_object_p) in subr_cache_setup() argument [all …]
|
H A D | cfsd_svc.c | 66 extern cfsd_all_object_t *all_object_p; 129 all_lock(all_object_p); in cachefsd_caches_1_svc() 133 cnt = all_object_p->i_cachecount; in cachefsd_caches_1_svc() 141 cache_object_p = all_cachelist_at(all_object_p, index); in cachefsd_caches_1_svc() 151 outp->ccr_modify = all_object_p->i_modify; in cachefsd_caches_1_svc() 155 all_unlock(all_object_p); in cachefsd_caches_1_svc() 199 all_lock(all_object_p); in cachefsd_cache_status_1_svc() 200 cnt = all_object_p->i_cachecount; in cachefsd_cache_status_1_svc() 203 cache_object_p = all_cachelist_at(all_object_p, index); in cachefsd_cache_status_1_svc() 214 all_unlock(all_object_p); in cachefsd_cache_status_1_svc() [all …]
|
H A D | cfsd_all.h | 54 void all_lock(cfsd_all_object_t *all_object_p); 55 void all_unlock(cfsd_all_object_t *all_object_p); 57 cfsd_cache_object_t *all_cachelist_at(cfsd_all_object_t *all_object_p, 59 void all_cachelist_add(cfsd_all_object_t *all_object_p, 61 cfsd_cache_object_t *all_cachelist_find(cfsd_all_object_t *all_object_p, 64 void all_cachefstab_update(cfsd_all_object_t *all_object_p);
|
H A D | cfsd_subr.h | 35 void subr_add_mount(cfsd_all_object_t *all_object_p, const char *dirp, 38 void subr_cache_setup(cfsd_all_object_t *all_object_p);
|
H A D | cfsd_main.c | 75 cfsd_all_object_t *all_object_p = NULL; variable 353 all_object_p = cfsd_all_create(); in main() 354 subr_cache_setup(all_object_p); in main() 360 cfsd_all_destroy(all_object_p); in main()
|