Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c130 size_t len, cur_size = 0; in vrrp_cmd_request() local
158 while (cur_size < csize) { in vrrp_cmd_request()
159 len = write(sock, (char *)cmd + cur_size, csize - cur_size); in vrrp_cmd_request()
163 cur_size += len; in vrrp_cmd_request()
173 cur_size = 0; in vrrp_cmd_request()
174 while (cur_size < sizeof (vrrp_err_t)) { in vrrp_cmd_request()
175 len = read(sock, (char *)&ret + cur_size, in vrrp_cmd_request()
176 sizeof (vrrp_err_t) - cur_size); in vrrp_cmd_request()
181 cur_size += len; in vrrp_cmd_request()
462 size_t len, cur_size = 0; in vrrp_list_func() local
[all …]
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_utils.c1706 int cur_size = 0; /* size of item copied */ in ibcm_dump_conn_trbuf() local
1728 cur_size = snprintf(&buf[next_data], rem_size, "%s%s0x%p\n%s%s0x%p\n" in ibcm_dump_conn_trbuf()
1740 rem_size = rem_size - cur_size; in ibcm_dump_conn_trbuf()
1746 next_data = next_data + cur_size; in ibcm_dump_conn_trbuf()
1749 cur_size = snprintf(&buf[next_data], rem_size, in ibcm_dump_conn_trbuf()
1753 rem_size = rem_size - cur_size; in ibcm_dump_conn_trbuf()
1758 next_data = next_data + cur_size; in ibcm_dump_conn_trbuf()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c1099 int count, mem_err, cur_idx, cur_size; member
1139 data->cur_size = 1 + data->count + data->cur_idx; in allocate()
1298 if (datap->cur_idx + count >= datap->cur_size) { in krb5_os_localaddr_profile()
1304 datap->cur_size = datap->cur_idx + count; in krb5_os_localaddr_profile()
1308 if (datap->cur_idx < datap->cur_size) in krb5_os_localaddr_profile()
/titanic_41/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c3817 g_verify_neg_token_init(unsigned char **buf_in, unsigned int cur_size) in g_verify_neg_token_init() argument
3820 unsigned char *endptr = buf + cur_size; in g_verify_neg_token_init()
3830 if (g_get_tag_and_length(&buf, CONTEXT, cur_size, &seqsize) < 0) in g_verify_neg_token_init()
3833 cur_size = seqsize; /* should indicate bytes remaining */ in g_verify_neg_token_init()
3840 if ((seqsize = gssint_get_der_length(&buf, cur_size, &bytes)) < 0) in g_verify_neg_token_init()
3851 cur_size = seqsize; /* should indicate bytes remaining */ in g_verify_neg_token_init()
3857 if ((seqsize = gssint_get_der_length(&buf, cur_size, &bytes)) < 0) in g_verify_neg_token_init()
/titanic_41/usr/src/uts/common/io/
H A Dstream.c682 ptrdiff_t cur_size; in reallocb() local
687 cur_size = mp->b_wptr - mp->b_rptr; in reallocb()
710 bcopy(old_rptr, mp1->b_rptr, cur_size); in reallocb()
711 mp1->b_wptr = mp1->b_rptr + cur_size; in reallocb()