Lines Matching refs:sz
86 size_t sz; in common_mutex() local
92 sz = 1 + mdb_snprintf(NULL, 0, fmt, lp->m_spin.m_spinlock, in common_mutex()
94 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_mutex()
95 (void) mdb_snprintf(s, sz, fmt, lp->m_spin.m_spinlock, in common_mutex()
107 sz = 1 + mdb_snprintf(NULL, 0, fmt, MUTEX_OWNER(lp), in common_mutex()
109 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_mutex()
110 (void) mdb_snprintf(s, sz, fmt, MUTEX_OWNER(lp), in common_mutex()
123 size_t sz; in common_rwlock() local
130 sz = 1 + mdb_snprintf(NULL, 0, "owner %p%s%s%s", o, hw, ww, wl); in common_rwlock()
131 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_rwlock()
132 (void) mdb_snprintf(s, sz, "owner %p%s%s%s", o, hw, ww, wl); in common_rwlock()
153 ssize_t sz; in common_netbuf_str() local
158 sz = 1 + mdb_snprintf(NULL, 0, "%I:%d", in->sin_addr.s_addr, in common_netbuf_str()
160 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_netbuf_str()
161 (void) mdb_snprintf(s, sz, "%I:%d", in->sin_addr.s_addr, in common_netbuf_str()
169 size_t sz; in common_netbuf_str() local
174 sz = 1 + mdb_snprintf(NULL, 0, "[%N]:%d", in common_netbuf_str()
176 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_netbuf_str()
177 (void) mdb_snprintf(s, sz, "[%N]:%d", in6->sin6_addr.s6_addr, in common_netbuf_str()