Searched refs:sms_size (Results 1 – 4 of 4) sorted by relevance
847 sm->sms_size = BSWAP_32(sm->sms_size); in sbd_swap_section_hdr()894 st < sl->sl_meta_size_used; st += h.sms_size) { in sbd_load_section_hdr()903 (h.sms_offset != st) || (h.sms_size < sizeof (h)) || in sbd_load_section_hdr()904 ((st + h.sms_size) > sl->sl_meta_size_used)) { in sbd_load_section_hdr()998 sms.sms_size, KM_SLEEP); in sbd_read_meta_section()1005 ret = sbd_read_meta(sl, (*ppsms)->sms_offset, (*ppsms)->sms_size, in sbd_read_meta_section()1012 s = sbd_calc_section_sum(*ppsms, (*ppsms)->sms_size); in sbd_read_meta_section()1020 kmem_free(*ppsms, sms.sms_size); in sbd_read_meta_section()1078 if (t.sms_size == sms->sms_size) { in sbd_write_meta_section()1080 sms->sms_size, (uint8_t *)sms); in sbd_write_meta_section()[all …]
97 uint32_t sms_size; /* Includes the header and padding */ member
81 uint64_t sms_size; /* Includes the header and padding */ member
289 spi->pgr_sms_header.sms_size = sz; in sbd_pgr_meta_init()336 endoffset += spi->pgr_sms_header.sms_size; in sbd_pgr_meta_load()412 kmem_free(spi, spi->pgr_sms_header.sms_size); in sbd_pgr_meta_load()419 kmem_free(spi, spi->pgr_sms_header.sms_size); in sbd_pgr_meta_load()457 spi->pgr_sms_header.sms_size = totalsz; in sbd_pgr_meta_write()