Home
last modified time | relevance | path

Searched refs:sms_size (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c879 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 …]
H A Dstmf_sbd.h101 uint32_t sms_size; /* Includes the header and padding */ member
H A Dsbd_impl.h86 uint64_t sms_size; /* Includes the header and padding */ member
H A Dsbd_pgr.c291 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()