Home
last modified time | relevance | path

Searched refs:centry (Results 1 – 13 of 13) sorted by relevance

/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_bcache.c366 static void _sd_ins_queue(_sd_queue_t *, _sd_cctl_t *centry);
823 _sd_cctl_t *centry; in _sdbc_mem_configure() local
870 centry = _sd_cctl[(blk/_sd_cctl_groupsz)] + in _sdbc_mem_configure()
872 centry->cc_sync = &_sd_ccent_sync[blk % _sd_ccsync_cnt]; in _sdbc_mem_configure()
873 centry->cc_next = centry->cc_prev = NULL; in _sdbc_mem_configure()
874 centry->cc_dirty_next = centry->cc_dirty_link = NULL; in _sdbc_mem_configure()
875 centry->cc_await_use = centry->cc_await_page = 0; in _sdbc_mem_configure()
876 centry->cc_inuse = centry->cc_pageio = 0; in _sdbc_mem_configure()
877 centry->cc_flag = 0; in _sdbc_mem_configure()
878 centry->cc_iocount = 0; in _sdbc_mem_configure()
[all …]
H A Dsd_bcache.h656 #define CENTRY_INUSE(centry) ((centry)->cc_inuse) argument
657 #define SET_CENTRY_INUSE(centry) \ argument
658 ((centry)->cc_inuse || atomic_swap(CC_INUSE, &(centry)->cc_inuse))
659 #define CLEAR_CENTRY_INUSE(centry) { \ argument
660 (centry)->cc_inuse = 0; \
662 if ((centry)->cc_await_use) { \
663 mutex_enter(&(centry)->cc_lock); \
664 cv_broadcast(&(centry)->cc_blkcv); \
665 mutex_exit(&(centry)->cc_lock); \
675 #define CENTRY_PAGEIO(centry) ((centry)->cc_pageio) argument
[all …]
H A Dsafestore_ram.c359 ss_ram_getcdirent(ss_cdir_t *cdir, ss_centry_info_t *centry) in ss_ram_getcdirent() argument
365 if (centry == NULL) in ss_ram_getcdirent()
378 centry->sc_res = (ss_resource_t *) in ss_ram_getcdirent()
382 rc = ss_ram_getcentry(centry); in ss_ram_getcdirent()
433 ss_ram_getcentry(ss_centry_info_t *centry) in ss_ram_getcentry() argument
436 ss_centry_info_impl_t *ramcentry = (ss_centry_info_impl_t *)centry; in ss_ram_getcentry()
438 if (centry == NULL) in ss_ram_getcentry()
441 wctl = (ss_wr_cctl_t *)centry->sc_res; in ss_ram_getcentry()
456 ss_ram_setcentry(const ss_centry_info_t *centry) in ss_ram_setcentry() argument
459 ss_centry_info_impl_t *ramcentry = (ss_centry_info_impl_t *)centry; in ss_ram_setcentry()
[all …]
H A Dsd_misc.c1238 _sd_data_log(int num, _sd_cctl_t *centry, nsc_off_t st, nsc_size_t len) in _sd_data_log() argument
1244 blk = BLK_TO_FBA_NUM(CENTRY_BLK(centry)); in _sd_data_log()
1246 SDTRACE(num, CENTRY_CD(centry), 1, blk + i, in _sd_data_log()
1247 *(int *)(centry->cc_data + FBA_SIZE(i)), in _sd_data_log()
1248 *(int *)(centry->cc_data + FBA_SIZE(i) + 4)); in _sd_data_log()
1254 _sd_data_log_chain(int num, _sd_cctl_t *centry, nsc_off_t fba_pos, in _sd_data_log_chain() argument
1262 while (CENTRY_BLK(centry) != FBA_TO_BLK_NUM(fba_pos)) in _sd_data_log_chain()
1263 centry = centry->cc_chain; in _sd_data_log_chain()
1274 DATA_LOG(num, centry, st_cblk_off, st_cblk_len); in _sd_data_log_chain()
1277 centry = centry->cc_chain; in _sd_data_log_chain()
[all …]
H A Dsd_misc.h45 extern void _sd_data_log(int num, _sd_cctl_t *centry, nsc_off_t st,
47 extern void _sd_data_log_chain(int num, _sd_cctl_t *centry, nsc_off_t fba_pos,
H A Ddynmem_readme.txt88 examines the entire centry list. If an entry is available (i.e. not in use
90 possession and ages the centry by one tick. It then determines if the
91 centry has aged sufficiently to have its memory deallocated and for it to
95 whether the centry is a single page allocation centry or it is a member
98 2.3.1 The behavior for a single page allocation centry is as follows:
100 If the given centry is selected as a 'holdover' it will age normally
121 entire chain is removed - i.e memory is deallocated from the host centry
122 and all centry fields are cleared and each entry requeued on to the lru.
134 adjust sleep time to centry load.
H A Dsd_ft.c1000 ss_centry_info_t centry; in sdbc_recover_vol() local
1020 if ((err = SSOP_GETCDIRENT(sdbc_safestore, &cdir, &centry)) in sdbc_recover_vol()
1024 cd_gl->sv_volname, (void *)centry.sc_res); in sdbc_recover_vol()
1038 if ((cinfo = sdbc_get_cinfo_byres(centry.sc_res)) == NULL) { in sdbc_recover_vol()
1041 "invalid ss resource %p", (void *)centry.sc_res); in sdbc_recover_vol()
1044 bcopy(&centry, cinfo, sizeof (ss_centry_info_t)); in sdbc_recover_vol()
H A Dsafestore.h467 #define SSOP_GETCDIRENT(ssp, cdir, centry) \ argument
468 ((ssp)->ssop_getcdirent(cdir, centry))
H A Dsd_io.c108 _sd_cctl_t *centry; in sdbc_alloc_static_cache() local
111 if (centry = sdbc_centry_alloc_blks(_CD_NOHASH, 0, reqblks, in sdbc_alloc_static_cache()
114 while (centry) { in sdbc_alloc_static_cache()
115 next_centry = centry->cc_chain; in sdbc_alloc_static_cache()
116 _sd_centry_release(centry); in sdbc_alloc_static_cache()
117 centry = next_centry; in sdbc_alloc_static_cache()
/titanic_50/usr/src/cmd/mdb/common/modules/sdbc/
H A Dsdbc.c805 _sd_cctl_t centry; in sdbc_cctl_wstep() local
821 if (mdb_vread(&centry, sizeof (_sd_cctl_t), wsp->walk_addr) == -1) { in sdbc_cctl_wstep()
825 wsp->walk_addr = (uintptr_t)(centry.cc_link_list_dm); in sdbc_cctl_wstep()
909 _sd_cctl_t centry; in sdbc_dchain_wstep() local
919 if (mdb_vread(&centry, sizeof (_sd_cctl_t), wsp->walk_addr) in sdbc_dchain_wstep()
927 (uintptr_t)(centry.cc_dirty_next); in sdbc_dchain_wstep()
980 _sd_cctl_t centry; in sdbc_dmchain_wstep() local
986 if (mdb_vread(&centry, sizeof (_sd_cctl_t), wsp->walk_addr) in sdbc_dmchain_wstep()
997 wsp->walk_addr = (uintptr_t)centry.cc_head_dm; in sdbc_dmchain_wstep()
1000 wsp->walk_addr = (uintptr_t)centry.cc_next_dm; in sdbc_dmchain_wstep()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_hca.c127 llist_head_t *entry, *centry, *tmp; in sol_uverbs_ib_unregister_client() local
143 centry = hca->client_data_list.nxt; in sol_uverbs_ib_unregister_client()
144 tmp = centry->nxt; in sol_uverbs_ib_unregister_client()
146 while (centry != &hca->client_data_list) { in sol_uverbs_ib_unregister_client()
147 ASSERT(centry); in sol_uverbs_ib_unregister_client()
148 context = (sol_uverbs_hca_client_data_t *)centry->ptr; in sol_uverbs_ib_unregister_client()
152 llist_del(centry); in sol_uverbs_ib_unregister_client()
155 centry = tmp; in sol_uverbs_ib_unregister_client()
156 tmp = centry->nxt; in sol_uverbs_ib_unregister_client()
/titanic_50/usr/src/cmd/setfacl/
H A Dsetfacl.c409 aclent_t *taclp, *centry = NULL, *gentry = NULL; in convert_to_aclent_t() local
506 centry = taclp; in convert_to_aclent_t()
520 if (centry != NULL && gentry != NULL && trivial == B_TRUE) in convert_to_aclent_t()
521 centry->a_perm = gentry->a_perm; in convert_to_aclent_t()
/titanic_50/usr/src/cmd/print/scripts/
H A Dppdmgr372 for centry in $(/bin/cat "${1}" 2>/dev/null) ; do
379 if [[ -n "${centry}" ]] ; then
383 echo "${centry}"