Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/idm/
H A Didm_text.c154 int itb_mem_len; member
761 *textbuflen = itb.itb_mem_len; in idm_nvlist_to_textbuf()
1011 itb->itb_mem_len = MAX(TEXTBUF_CHUNKSIZE, size); in textbuf_makeroom()
1012 itb->itb_mem = kmem_alloc(itb->itb_mem_len, KM_SLEEP); in textbuf_makeroom()
1013 } else if ((itb->itb_offset + size) > itb->itb_mem_len) { in textbuf_makeroom()
1014 new_mem_len = itb->itb_mem_len + MAX(TEXTBUF_CHUNKSIZE, size); in textbuf_makeroom()
1016 bcopy(itb->itb_mem, new_mem, itb->itb_mem_len); in textbuf_makeroom()
1017 kmem_free(itb->itb_mem, itb->itb_mem_len); in textbuf_makeroom()
1019 itb->itb_mem_len = new_mem_len; in textbuf_makeroom()
1331 str = kmem_alloc(itb.itb_mem_len, KM_SLEEP); in idm_nvpair_value_to_textbuf()
[all …]