SMBSTAT_SNAPSHOT_MASK
idx = (smbstat_snapshot_idx - 1) & SMBSTAT_SNAPSHOT_MASK;
smbstat_snapshot_idx &= SMBSTAT_SNAPSHOT_MASK;