Searched refs:CACHE_BLOCK_SIZE (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_pcu.c109 blks = (bytes + CACHE_BLOCK_SIZE - 1) / CACHE_BLOCK_SIZE;
113 bzero(list->cc_data, CACHE_BLOCK_SIZE);
141 blk_start = src_off / CACHE_BLOCK_SIZE;
142 blk_end = (src_off + len) / CACHE_BLOCK_SIZE;
146 src_off -= CACHE_BLOCK_SIZE;
149 nlen = min(len, CACHE_BLOCK_SIZE - src_off);
153 bcopy(src->anon_data, &dest[nlen], (size_t)CACHE_BLOCK_SIZE);
154 nlen += CACHE_BLOCK_SIZE;
184 blk_start = dest_off / CACHE_BLOCK_SIZE;
[all...]
H A Dsd_misc.c858 (void) copyout(&CACHE_BLOCK_SIZE, (void *)addr[2], sizeof (int));
878 (void) copyout(data, (void *)addr[1], CACHE_BLOCK_SIZE);
889 if ((taddr = kmem_alloc(CACHE_BLOCK_SIZE,
898 CACHE_BLOCK_SIZE, 0) == SS_ERR) {
905 CACHE_BLOCK_SIZE)) {
916 kmem_free(taddr, CACHE_BLOCK_SIZE);
H A Dsd_tdaemon.c793 for (i = 0; i < CACHE_BLOCK_SIZE; i += 4) {
862 bcopy(cc_ent->cc_data, cc_ent1->cc_data, CACHE_BLOCK_SIZE);
929 CACHE_BLOCK_SIZE) != 0)
H A Dsd_io.c798 !((prev_addr + CACHE_BLOCK_SIZE) == cc_ent->cc_data))
803 total_len_bytes += CACHE_BLOCK_SIZE;
851 CACHE_BLOCK_SIZE);
852 next_addr += CACHE_BLOCK_SIZE;
994 len += CACHE_BLOCK_SIZE;
H A Dsd_bcache.c312 int CACHE_BLOCK_SIZE; /* size in bytes of a cache block */ variable
481 CACHE_BLOCK_SIZE = BLK_SIZE(1);
482 BLK_FBAS = FBA_NUM(CACHE_BLOCK_SIZE);
538 CACHE_BLOCK_SIZE = 0;
1678 CACHE_BLOCK_SIZE, 0)) {
3060 pbufvec->buflen += CACHE_BLOCK_SIZE;
3065 bufvec->buflen = CACHE_BLOCK_SIZE;
5203 if ((fba_len <= FBA_LEN(CACHE_BLOCK_SIZE)) && (fba_pos != 0) &&
5362 file_len += CACHE_BLOCK_SIZE;
5985 CACHE_BLOCK_SIZE,
[all...]
H A Dsd_ft.c461 CACHE_BLOCK_SIZE, 0) == SS_ERR) {
464 "0x%p size 0x%x", (void *)res, CACHE_BLOCK_SIZE);
H A Dsd_bcache.h1060 extern int CACHE_BLOCK_SIZE;

Completed in 89 milliseconds