Home
last modified time | relevance | path

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

/illumos-gate/usr/src/common/crypto/dh/
H A Ddh_impl.c261 size_t s_alloc; in dh_key_derive() local
328 s_alloc = P2ROUNDUP_TYPED(prime_bytes, sizeof (BIG_CHUNK_TYPE), size_t); in dh_key_derive()
331 if ((s = kmem_alloc(s_alloc, flag)) == NULL) { in dh_key_derive()
336 if ((s = malloc(s_alloc)) == NULL) { in dh_key_derive()
385 kmem_free(s, s_alloc); in dh_key_derive()
/illumos-gate/usr/src/lib/libmail/common/
H A Ds_string.c50 static string *s_alloc(void);
64 s_alloc(void) in s_alloc() function
90 sp = s_alloc(); in s_new()
141 string *sp = s_alloc(); in s_array()
155 sp = s_alloc(); in s_copy()
/illumos-gate/usr/src/cmd/syseventadm/
H A Dsyseventadm.c1013 str->s_alloc = 0; in initstr()
1026 sc_free(str->s_str, str->s_alloc); in freestr()
1052 if (str->s_alloc < len) { in strcats()
1054 sc_realloc(str->s_str, str->s_alloc, len+str->s_hint); in strcats()
1056 str->s_alloc = len + str->s_hint; in strcats()
1072 if (str->s_alloc < len) { in strcatc()
1074 sc_realloc(str->s_str, str->s_alloc, len+str->s_hint); in strcatc()
1076 str->s_alloc = len + str->s_hint; in strcatc()
H A Dsyseventadm.h86 int s_alloc; member
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c308 str->s_alloc = 0; in initstr()
321 sc_free(str->s_str, str->s_alloc); in freestr()
347 if (str->s_alloc < len) { in strcopys()
350 sc_realloc(str->s_str, str->s_alloc, len+str->s_hint); in strcopys()
355 str->s_alloc = len + str->s_hint; in strcopys()
372 if (str->s_alloc < len) { in strcats()
374 sc_realloc(str->s_str, str->s_alloc, len+str->s_hint); in strcats()
379 str->s_alloc = len + str->s_hint; in strcats()
396 if (str->s_alloc < len) { in strcatc()
398 sc_realloc(str->s_str, str->s_alloc, len+str->s_hint); in strcatc()
[all …]
H A Dsysevent_conf_mod.h99 int s_alloc; member
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/
H A Dsyseventconfd.h67 int s_alloc; member