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

/illumos-gate/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; local
870 centry = _sd_cctl[(blk/_sd_cctl_groupsz)] +
872 centry->cc_sync = &_sd_ccent_sync[blk % _sd_ccsync_cnt];
873 centry->cc_next = centry->cc_prev = NULL;
874 centry->cc_dirty_next = centry->cc_dirty_link = NULL;
875 centry->cc_await_use = centry
1217 _sd_ins_queue(_sd_queue_t *q, _sd_cctl_t *centry) argument
1236 _sd_requeue(_sd_cctl_t *centry) argument
1271 _sd_requeue_head(_sd_cctl_t *centry) argument
2099 _sd_cctl_t *centry = NULL; local
2456 _sd_cc_wait(int cd, nsc_off_t cblk, _sd_cctl_t *centry, int flag) argument
2536 _sd_cctl_t *centry, *lentry, *ioent = NULL; local
3175 sdbc_check_cctl_cot(_sd_cctl_t *centry) argument
3256 sdbc_mark_cctl_cot(_sd_cctl_t *header, _sd_cctl_t *centry) argument
3290 _sd_cctl_t *prev_ent, *next_ent, *centry; local
3485 _sd_cctl_t *prev_ent, *next_ent, *centry; local
3670 _sd_cctl_t *centry, *cc_chain; local
4149 _sd_cctl_t *centry = NULL; local
4235 _sd_cctl_t *centry; local
4267 _sd_cctl_t *centry = NULL; local
4752 sdbc_centry_init_dm(_sd_cctl_t *centry) argument
4795 sdbc_centry_memalloc_dm(_sd_cctl_t *centry, int alloc_request, int flag) argument
4847 _sd_centry_release(_sd_cctl_t *centry) argument
4977 _sd_alloc_write(_sd_cctl_t *centry, int *stall) argument
[all...]
H A Dsd_bcache.h253 struct _sd_cctl *cc_head_dm; /* ptr to host centry */
256 struct _sd_cctl *cc_next_dm; /* ptr to next centry */
656 #define CENTRY_INUSE(centry) ((centry)->cc_inuse)
657 #define SET_CENTRY_INUSE(centry) \
658 ((centry)->cc_inuse || atomic_swap(CC_INUSE, &(centry)->cc_inuse))
659 #define CLEAR_CENTRY_INUSE(centry) { \
660 (centry)->cc_inuse = 0; \
662 if ((centry)
[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 Dsafestore_ram.c359 ss_ram_getcdirent(ss_cdir_t *cdir, ss_centry_info_t *centry) argument
365 if (centry == NULL)
378 centry->sc_res = (ss_resource_t *)
381 /* get the centry data */
382 rc = ss_ram_getcentry(centry);
433 ss_ram_getcentry(ss_centry_info_t *centry) argument
436 ss_centry_info_impl_t *ramcentry = (ss_centry_info_impl_t *)centry;
438 if (centry == NULL)
441 wctl = (ss_wr_cctl_t *)centry->sc_res;
456 ss_ram_setcentry(const ss_centry_info_t *centry) argument
[all...]
H A Dsd_misc.c1238 _sd_data_log(int num, _sd_cctl_t *centry, nsc_off_t st, nsc_size_t len) argument
1244 blk = BLK_TO_FBA_NUM(CENTRY_BLK(centry));
1246 SDTRACE(num, CENTRY_CD(centry), 1, blk + i,
1247 *(int *)(centry->cc_data + FBA_SIZE(i)),
1248 *(int *)(centry->cc_data + FBA_SIZE(i) + 4));
1254 _sd_data_log_chain(int num, _sd_cctl_t *centry, nsc_off_t fba_pos, argument
1262 while (CENTRY_BLK(centry) != FBA_TO_BLK_NUM(fba_pos))
1263 centry = centry->cc_chain;
1274 DATA_LOG(num, centry, st_cblk_of
[all...]
H A Dsafestore.h97 /* centry directory stream types */
118 ss_resource_t *sc_res; /* token for this centry */
433 /* centry directory functions */
467 #define SSOP_GETCDIRENT(ssp, cdir, centry) \
468 ((ssp)->ssop_getcdirent(cdir, centry))
525 /* centry accessor functions */
H A Dsd_ft.c1000 ss_centry_info_t centry; local
1020 if ((err = SSOP_GETCDIRENT(sdbc_safestore, &cdir, &centry))
1024 cd_gl->sv_volname, (void *)centry.sc_res);
1038 if ((cinfo = sdbc_get_cinfo_byres(centry.sc_res)) == NULL) {
1041 "invalid ss resource %p", (void *)centry.sc_res);
1044 bcopy(&centry, cinfo, sizeof (ss_centry_info_t));
H A Dsd_io.c108 _sd_cctl_t *centry; local
111 if (centry = sdbc_centry_alloc_blks(_CD_NOHASH, 0, reqblks,
114 while (centry) {
115 next_centry = centry->cc_chain;
116 _sd_centry_release(centry);
117 centry = next_centry;
264 * examines the entire centry list. If an entry is avail. it ages it by one
266 * centry has aged sufficiently to have its memory deallocated and for it to
270 * centry is a standalone entry or it is a member of a host/parasite chain.
273 * If the given centry i
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_hca.c127 llist_head_t *entry, *centry, *tmp; local
143 centry = hca->client_data_list.nxt;
144 tmp = centry->nxt;
146 while (centry != &hca->client_data_list) {
147 ASSERT(centry);
148 context = (sol_uverbs_hca_client_data_t *)centry->ptr;
152 llist_del(centry);
155 centry = tmp;
156 tmp = centry->nxt;
/illumos-gate/usr/src/cmd/mdb/common/modules/sdbc/
H A Dsdbc.c805 _sd_cctl_t centry; local
813 * will fail, allowing the first centry to be processed
821 if (mdb_vread(&centry, sizeof (_sd_cctl_t), wsp->walk_addr) == -1) {
822 mdb_warn("failed to read centry at %p", wsp->walk_addr);
825 wsp->walk_addr = (uintptr_t)(centry.cc_link_list_dm);
863 mdb_warn("sdbc_cchain_wstep failed to read centry at %p",
898 mdb_warn("sdbc_dchain_winit failed to read centry at %p",
909 _sd_cctl_t centry; local
919 if (mdb_vread(&centry, sizeof (_sd_cctl_t), wsp->walk_addr)
921 mdb_warn("sdbc_dchain_wstep failed to read centry a
980 _sd_cctl_t centry; local
1093 _sd_cctl_t centry; local
1644 _sd_cctl_t centry; local
[all...]
/illumos-gate/usr/src/cmd/setfacl/
H A Dsetfacl.c409 aclent_t *taclp, *centry = NULL, *gentry = NULL; local
506 centry = taclp;
520 if (centry != NULL && gentry != NULL && trivial == B_TRUE)
521 centry->a_perm = gentry->a_perm;
/illumos-gate/usr/src/tools/btxld/
H A Dbtxld.c100 static uint32_t centry; /* Client entry address */ variable
148 centry = optaddr(optarg);
255 btx.btx_entry = Eflag ? centry : ihdr.entry;
/illumos-gate/usr/src/cmd/print/scripts/
H A Dppdmgr372 for centry in $(/bin/cat "${1}" 2>/dev/null) ; do
379 if [[ -n "${centry}" ]] ; then
380 ppdfile="${centry##*:}"
383 echo "${centry}"

Completed in 137 milliseconds