/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_io.c | 54 static int _sd_entry_availability_dm(_sd_cctl_t *cc_ent, int *nodata); 57 extern void sdbc_ins_dmqueue_front(_sd_queue_t *q, _sd_cctl_t *cc_ent); 58 extern void sdbc_remq_dmchain(_sd_queue_t *q, _sd_cctl_t *cc_ent); 85 static void _sd_process_reflush(_sd_cctl_t *cc_ent); 200 _sd_cctl_t *cc_ent; local 203 cc_ent = _sd_cctl[0]; 205 if (!cc_ent) 209 if (cc_ent->cc_alloc_size_dm) { 212 if (cc_ent->cc_data) 213 kmem_free(cc_ent 317 _sd_cctl_t *cc_ent, *next_ccentry, *cur_ent, *nxt_ent; local 687 _sd_entry_availability_dm(_sd_cctl_t *cc_ent, int *nodata) argument 754 _sd_cc_iostatus_initiate(_sd_cctl_t *cc_ent) argument 773 sdbc_alloc_io_mem(_sd_cctl_t *cc_ent, int first_dirty, int last_dirty) argument 877 _sd_cctl_t *cc_ent, *cc_prev = NULL; local 1069 _sd_async_flcent(_sd_cctl_t *cc_ent, dev_t rdev) argument 1147 _sd_cctl_t *cc_ent, *cc_next; local 1326 _sd_cctl_t *cc_ent = (_sd_cctl_t *)xcc_ent; local 1400 _sd_cctl_t *cc_ent = (_sd_cctl_t *)xcc_ent; local 1510 _sd_cctl_t *cc_ent; local 1529 _sd_process_failure(_sd_cctl_t *cc_ent) argument 1580 _sd_process_reflush(_sd_cctl_t *cc_ent) argument 1762 _sd_ccent_rd(_sd_cctl_t *cc_ent, uint_t wanted, struct buf *bp) argument [all...] |
H A D | sd_io.h | 56 extern void _sd_async_flcent(_sd_cctl_t *cc_ent, dev_t rdev); 57 extern int _sd_process_failure(_sd_cctl_t *cc_ent); 59 extern void _sd_ccent_rd(_sd_cctl_t *cc_ent, uint_t wanted, buf_t *bp);
|
H A D | sd_bcache.c | 370 static int _sd_doread(_sd_buf_handle_t *handle, _sd_cctl_t *cc_ent, 378 static int _sd_remote_store(_sd_cctl_t *cc_ent, nsc_off_t fba_pos, 394 static int sdbc_doread_prefetch(_sd_cctl_t *cc_ent, nsc_off_t fba_pos, 396 static _sd_bitmap_t update_dirty(_sd_cctl_t *cc_ent, sdbc_cblk_fba_t st_off, 1659 _sd_cctl_t *cc_ent, *cc_list; local 1670 cc_ent = cc_list = cdi->cd_fail_head; 1671 while (cc_ent) { 1677 cc_ent->cc_write->sc_res, cc_ent->cc_data, 1684 CENTRY_SET_FTPOS(cc_ent); 2022 _sd_cctl_t *cc_list, *cc_ent; local 3771 _sd_cctl_t *cc_ent; local 3880 sdbc_dmchain_avail(_sd_cctl_t *cc_ent) argument 3957 _sd_cctl_t *cc_ent = cc_ent_start; local 3979 sdbc_ins_dmqueue_front(_sd_queue_t *q, _sd_cctl_t *cc_ent) argument 4003 sdbc_ins_dmqueue_back(_sd_queue_t *q, _sd_cctl_t *cc_ent) argument 4028 sdbc_remq_dmchain(_sd_queue_t *q, _sd_cctl_t *cc_ent) argument 4052 sdbc_requeue_dmchain(_sd_queue_t *q, _sd_cctl_t *cc_ent, int mru, int getlock) argument 4104 sdbc_dmchain_dirty(_sd_cctl_t *cc_ent) argument 4118 sdbc_requeue_head_dm_try(_sd_cctl_t *cc_ent) argument 4315 _sd_cctl_t *cc_ent, *old_ent; local 4527 _sd_cctl_t *cc_ent, *old_ent, *ccnext; local 5070 _sd_cctl_t *cc_ent = NULL; local 5189 sdbc_doread_prefetch(_sd_cctl_t *cc_ent, nsc_off_t fba_pos, nsc_size_t fba_len) argument 5270 _sd_doread(_sd_buf_handle_t *handle, _sd_cctl_t *cc_ent, nsc_off_t fba_pos, nsc_size_t fba_len, int flag) argument 5598 update_dirty(_sd_cctl_t *cc_ent, sdbc_cblk_fba_t st_off, sdbc_cblk_fba_t st_len) argument 5669 _sd_cctl_t *cc_ent = NULL; local 5889 _sd_cctl_t *cc_ent; local 5948 _sd_remote_store(_sd_cctl_t *cc_ent, nsc_off_t fba_pos, nsc_size_t fba_len) argument 6219 _sd_cctl_t *cc_ent; local 6828 _sd_cctl_t *cc_ent, **cc_lst, **cc_tmp, *nxt; local [all...] |
H A D | sd_ft.c | 95 extern void sdbc_requeue_head_dm_try(_sd_cctl_t *cc_ent); 695 _sd_cctl_t *cc_ent, *ent; local 705 cc_ent = (_sd_cctl_t *)hptr; 706 cd = CENTRY_CD(cc_ent); 707 blk = CENTRY_BLK(cc_ent); 714 if ((CD != -1 && (cd != CD || CENTRY_PINNED(cc_ent))) || 721 ent = cc_ent; 778 _sd_cctl_t *cc_ent, *cc_next, *cc_last, *cc_first, *cc_next_chain; local 811 cc_ent = cdi->cd_fail_head; 819 if (cc_ent 1110 _sd_cctl_t *cc_ent; local [all...] |
H A D | sd_tdaemon.c | 771 _sd_cctl_t *cc_ent; local 773 cc_ent = handle->bh_centry; 774 while (CENTRY_BLK(cc_ent) != FBA_TO_BLK_NUM(fba_pos)) 775 cc_ent = cc_ent->cc_chain; 787 *((uint_t *)(void *)(cc_ent->cc_data + FBA_SIZE(st_cblk_off) + 790 cc_ent = cc_ent->cc_chain; 795 bcopy(&usec, cc_ent->cc_data + i, 4); 797 cc_ent 821 _sd_cctl_t *cc_ent, *cc_ent1; local 884 _sd_cctl_t *cc_ent, *cc_ent1; local [all...] |
H A D | sd_pcu.c | 412 _sd_cctl_t *cc_ent; local 429 cc_ent = dirty; 432 cc_ent = cc_ent->cc_dirty_next; 433 } while (cc_ent); 438 cc_ent = dirty; 440 sd_add_fba(bp, &cc_ent->cc_addr, 0, BLK_FBAS); 442 cc_ent->cc_dirty | cc_ent->cc_toflush, failed, 443 BLK_TO_FBA_NUM(CENTRY_BLK(cc_ent))); [all...] |
H A D | sd_misc.c | 814 _sd_cctl_t *cc_ent; local 861 &cc_ent, &data, &lookup_file)) { 870 info.ci_write = cc_ent->cc_write ? 1 : 0; 871 info.ci_dirty = cc_ent->cc_dirty; 872 info.ci_valid = cc_ent->cc_valid; 873 info.ci_cd = CENTRY_CD(cc_ent); 874 info.ci_dblk = BLK_TO_FBA_NUM(CENTRY_BLK(cc_ent)); 881 if (cc_ent->cc_write) { 886 (void *)cc_ent->cc_write, 887 (void *)cc_ent 1356 _sd_cctl_t *cc_ent; local [all...] |