Home
last modified time | relevance | path

Searched refs:_sd_lookup_map (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_bcache.h788 #define SDBC_LOOKUP_STPOS(mask) (_sd_lookup_map[(mask)].mi_stpos)
789 #define SDBC_LOOKUP_LEN(mask) (_sd_lookup_map[(mask)].mi_len)
790 #define SDBC_LOOKUP_MASK(mask) (_sd_lookup_map[(mask)].mi_mask)
791 #define SDBC_LOOKUP_DTCOUNT(mask) (_sd_lookup_map[(mask)].mi_dirty_count)
792 #define SDBC_LOOKUP_IOCOUNT(mask) (_sd_lookup_map[(mask)].mi_io_count)
793 #define SDBC_LOOKUP_MODIFY(mask) (mask &= ~(_sd_lookup_map[(mask)].mi_mask))
1055 extern _sd_map_info_t _sd_lookup_map[];
H A Dsd_bcache.c7037 _sd_map_info_t _sd_lookup_map[_SD_MAX_MAP]; variable
7063 _sd_lookup_map[i].mi_stpos = (unsigned char)k;
7068 _sd_lookup_map[i].mi_len = (unsigned char)k;
7070 _sd_lookup_map[i].mi_mask = SDBC_GET_BITS(stpos, len);
7077 _sd_lookup_map[i].mi_dirty_count = (unsigned char)j;
7080 _sd_lookup_map[i].mi_io_count = SDBC_LOOKUP_DTCOUNT(i);
7082 _sd_lookup_map[i].mi_io_count += SDBC_LOOKUP_DTCOUNT(mask);