Home
last modified time | relevance | path

Searched refs:st_cblk_len (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c766 sdbc_cblk_fba_t st_cblk_len; /* FBA len of starting cache block */ in _sd_copy_pattern_to_handle() local
779 st_cblk_len = (BLK_FBAS - st_cblk_off); in _sd_copy_pattern_to_handle()
780 if ((nsc_size_t)st_cblk_len >= fba_len) { in _sd_copy_pattern_to_handle()
782 st_cblk_len = (sdbc_cblk_fba_t)fba_len; in _sd_copy_pattern_to_handle()
786 for (i = 0; i < (int)FBA_SIZE(st_cblk_len); i += 4) in _sd_copy_pattern_to_handle()
789 cur_fba_len -= st_cblk_len; in _sd_copy_pattern_to_handle()
817 sdbc_cblk_fba_t st_cblk_len; /* FBA len of starting cache block */ in _sd_copy_handle() local
844 st_cblk_len = (BLK_FBAS - st_cblk_off); in _sd_copy_handle()
845 if ((nsc_size_t)st_cblk_len >= fba_len) { in _sd_copy_handle()
847 st_cblk_len = (sdbc_cblk_fba_t)fba_len; in _sd_copy_handle()
[all …]
H A Dsd_bcache.c2093 sdbc_cblk_fba_t st_cblk_len; /* FBA len of starting cache block */ in _sd_prefetch_buf() local
2130 st_cblk_len = BLK_FBAS - st_cblk_off; in _sd_prefetch_buf()
2135 if ((nsc_size_t)st_cblk_len >= fba_len) { in _sd_prefetch_buf()
2136 st_cblk_len = (sdbc_cblk_fba_t)fba_len; in _sd_prefetch_buf()
2145 request_blocks += (fba_len - (st_cblk_len + end_cblk_len)) >> in _sd_prefetch_buf()
2160 SDBC_VALID_BITS(st_cblk_off, st_cblk_len, centry)) { in _sd_prefetch_buf()
2167 fba_len -= st_cblk_len; in _sd_prefetch_buf()
2169 st_cblk_len = (sdbc_cblk_fba_t) in _sd_prefetch_buf()
2328 fba_len -= st_cblk_len; in _sd_prefetch_buf()
2331 if (!SDBC_VALID_BITS(st_cblk_off, st_cblk_len, in _sd_prefetch_buf()
[all …]
H A Dsd_ft.c1105 sdbc_cblk_fba_t st_cblk_len; /* FBA len of starting cache block */ in _sd_uncommit() local
1135 st_cblk_len = (BLK_FBAS - st_cblk_off); in _sd_uncommit()
1136 if ((nsc_size_t)st_cblk_len >= fba_len) { in _sd_uncommit()
1138 st_cblk_len = (sdbc_cblk_fba_t)fba_len; in _sd_uncommit()
1147 bits = SDBC_GET_BITS(st_cblk_off, st_cblk_len); in _sd_uncommit()
1150 cc_len -= st_cblk_len; in _sd_uncommit()
H A Dsd_misc.c1258 sdbc_cblk_fba_t st_cblk_len; /* FBA len of starting cache block */ in _sd_data_log_chain() local
1266 st_cblk_len = BLK_FBAS - st_cblk_off; in _sd_data_log_chain()
1267 if (st_cblk_len >= fba_len) { in _sd_data_log_chain()
1269 st_cblk_len = fba_len; in _sd_data_log_chain()
1274 DATA_LOG(num, centry, st_cblk_off, st_cblk_len); in _sd_data_log_chain()
1276 fba_len -= st_cblk_len; in _sd_data_log_chain()