Searched refs:sms_size (Results 1 – 4 of 4) sorted by relevance
879 sm->sms_size = BSWAP_32(sm->sms_size); in sbd_swap_section_hdr()926 st < sl->sl_meta_size_used; st += h.sms_size) { in sbd_load_section_hdr()935 (h.sms_offset != st) || (h.sms_size < sizeof (h)) || in sbd_load_section_hdr()936 ((st + h.sms_size) > sl->sl_meta_size_used)) { in sbd_load_section_hdr()1030 sms.sms_size, KM_SLEEP); in sbd_read_meta_section()1037 ret = sbd_read_meta(sl, (*ppsms)->sms_offset, (*ppsms)->sms_size, in sbd_read_meta_section()1044 s = sbd_calc_section_sum(*ppsms, (*ppsms)->sms_size); in sbd_read_meta_section()1052 kmem_free(*ppsms, sms.sms_size); in sbd_read_meta_section()1110 if (t.sms_size == sms->sms_size) { in sbd_write_meta_section()1112 sms->sms_size, (uint8_t *)sms); in sbd_write_meta_section()[all …]
101 uint32_t sms_size; /* Includes the header and padding */ member
86 uint64_t sms_size; /* Includes the header and padding */ member
291 spi->pgr_sms_header.sms_size = sz; in sbd_pgr_meta_init()359 endoffset += spi->pgr_sms_header.sms_size; in sbd_pgr_meta_load()435 kmem_free(spi, spi->pgr_sms_header.sms_size); in sbd_pgr_meta_load()442 kmem_free(spi, spi->pgr_sms_header.sms_size); in sbd_pgr_meta_load()480 spi->pgr_sms_header.sms_size = totalsz; in sbd_pgr_meta_write()