Home
last modified time | relevance | path

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

/netbsd/src/sys/dev/
Dvnd.c1318 vnd->sc_comp_numoffs = be32toh(ch->num_blocks) + 1; in vndioctl()
1326 KASSERT(0 < vnd->sc_comp_numoffs); in vndioctl()
1334 if (SIZE_MAX/sizeof(uint64_t) < vnd->sc_comp_numoffs) { in vndioctl()
1342 sizeof(uint64_t)*vnd->sc_comp_numoffs) || in vndioctl()
1344 vnd->sc_comp_numoffs - 1)) { in vndioctl()
1351 KASSERT(vnd->sc_comp_numoffs - 1 <= in vndioctl()
1354 ((u_quad_t)vnd->sc_comp_numoffs - 1) * in vndioctl()
1360 malloc(sizeof(uint64_t) * vnd->sc_comp_numoffs, in vndioctl()
1366 sizeof(uint64_t) * vnd->sc_comp_numoffs, in vndioctl()
1378 for (i = 0; i < vnd->sc_comp_numoffs - 1; i++) { in vndioctl()
[all …]
Dvndvar.h128 u_int32_t sc_comp_numoffs;/* count of compressed block offsets */ member