/titanic_41/usr/src/uts/common/c2/ |
H A D | audit_mem.c | 153 int new_len; in au_append_buf() local 158 new_len = (uint_t)(buf->len + len) > AU_BUFSIZE ? in au_append_buf() 160 bcopy(data, (buf->buf + buf->len), (uint_t)new_len); in au_append_buf() 161 buf->len += (uchar_t)new_len; in au_append_buf() 162 len -= new_len; in au_append_buf() 165 data += new_len; in au_append_buf() 171 new_len = len > AU_BUFSIZE ? AU_BUFSIZE : len; in au_append_buf() 172 bcopy(data, buf->buf, (uint_t)new_len); in au_append_buf() 173 buf->len = (uchar_t)new_len; in au_append_buf() 174 len -= new_len; in au_append_buf()
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_buf.c | 97 size_t new_len = bp->dbu_len * 2; in dt_buf_write() local 101 while (bp->dbu_ptr + adj + len > bp->dbu_buf + new_len) { in dt_buf_write() 102 new_len *= 2; in dt_buf_write() 106 if ((new_buf = dt_zalloc(dtp, new_len)) == NULL) { in dt_buf_write() 116 bp->dbu_len = new_len; in dt_buf_write()
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | auth-pam.c | 600 size_t new_len; in message_cat() local 602 new_len = strlen(a); in message_cat() 607 *p = xrealloc(*p, new_len + len + 2); in message_cat() 610 *p = cp = xmalloc(new_len + 2); in message_cat() 612 (void) memcpy(cp, a, new_len); in message_cat() 613 cp[new_len] = '\n'; in message_cat() 614 cp[new_len + 1] = '\0'; in message_cat()
|
/titanic_41/usr/src/uts/common/inet/sctp/ |
H A D | sctp_output.c | 1205 int32_t new_len; in sctp_output() local 1235 new_len = seglen + chunklen; in sctp_output() 1239 if (new_len - new_xtralen > cansend || in sctp_output() 1240 new_len + extra > pathmax) { in sctp_output() 1249 new_len += extra; in sctp_output() 1256 seglen = new_len; in sctp_output() 1938 int32_t new_len; in sctp_rexmit() local 1977 new_len = ntohs(sdc->sdh_len); in sctp_rexmit() 1978 chunklen = new_len - sizeof (*sdc); in sctp_rexmit() 1980 if ((extra = new_len & (SCTP_ALIGN - 1)) != 0) in sctp_rexmit() [all …]
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | utility.c | 565 CK_ULONG new_len, i; in remove_leading_zeros() local 574 new_len = attr->ulValueLen - i; in remove_leading_zeros() 576 (void) memcpy(ptr, ptr + i, new_len); in remove_leading_zeros() 577 attr->ulValueLen = new_len; in remove_leading_zeros()
|
/titanic_41/usr/src/common/crypto/modes/ |
H A D | gcm.c | 376 size_t new_len; in gcm_mode_decrypt_contiguous_blocks() local 384 new_len = ctx->gcm_pt_buf_len + length; in gcm_mode_decrypt_contiguous_blocks() 386 new = kmem_alloc(new_len, ctx->gcm_kmflag); in gcm_mode_decrypt_contiguous_blocks() 390 new = malloc(new_len); in gcm_mode_decrypt_contiguous_blocks() 398 ctx->gcm_pt_buf_len = new_len; in gcm_mode_decrypt_contiguous_blocks()
|
/titanic_41/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/ |
H A D | ex_dscp.c | 308 socklen_t new_len = sizeof (struct sockaddr); in exs_accept() local 312 &new_len)) != -1) { in exs_accept() 314 if ((rv = dscpIdent((struct sockaddr *)&new_saddr, (int)new_len, in exs_accept() 339 (int)new_len)) != DSCP_OK) { in exs_accept()
|
/titanic_41/usr/src/uts/sun4/io/efcode/ |
H A D | fcpci.c | 1803 int alen, new_len, num_entries, i; in pfc_remove_assigned_prop() local 1819 new_len = alen - sizeof (pci_regspec_t); in pfc_remove_assigned_prop() 1826 if (new_len == 0) { in pfc_remove_assigned_prop() 1831 if ((new_len - (i * sizeof (pci_regspec_t))) in pfc_remove_assigned_prop() 1839 (new_len - (i * sizeof (pci_regspec_t)))); in pfc_remove_assigned_prop() 1847 (new_len/sizeof (int))); in pfc_remove_assigned_prop()
|
/titanic_41/usr/src/stand/lib/inet/ |
H A D | ipv4.c | 586 uint16_t trans_len, *transp, new_len; in make_trans_datagram() local 637 new_len = ((trans_len + sizeof (int16_t) - 1) & in make_trans_datagram() 639 if ((ngp->igm_mp = allocb(new_len, 0)) == NULL) { in make_trans_datagram()
|
/titanic_41/usr/src/lib/libpool/common/ |
H A D | pool_internal.c | 1596 int new_len; in append_char_buf() local 1603 new_len = vsnprintf(size_buf, sizeof (size_buf), fmt, ap); in append_char_buf() 1604 if (new_len + old_len >= cb->cb_size) { in append_char_buf() 1605 if (resize_char_buf(cb, old_len + new_len + 1) != in append_char_buf()
|
/titanic_41/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 2744 int len = 0, num = 0, ds_len = 0, new_len = 0, tlen = 0; in test_server_change() local 2778 new_len = len; in test_server_change() 2798 if ((snprintf(ptr, new_len, "%s%s%s%s", in test_server_change() 2800 status, DOORLINESEP)) >= new_len) { in test_server_change() 2804 new_len -= strlen(ptr); in test_server_change()
|
/titanic_41/usr/src/lib/libipsecutil/common/ |
H A D | ikedoor.h | 692 uint32_t new_len; member
|
/titanic_41/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_nvm.c | 1486 int new_len = aq_total_len - cmd->offset; in i40e_nvmupd_get_aq_result() local 1489 __func__, cmd->data_size, new_len); in i40e_nvmupd_get_aq_result() 1490 cmd->data_size = new_len; in i40e_nvmupd_get_aq_result()
|
H A D | i40e_prototype.h | 278 u16 old_len, u16 new_len, u16 offset,
|
H A D | i40e_common.c | 4145 u16 old_len, u16 new_len, u16 offset, in i40e_aq_update_lldp_tlv() argument 4155 old_len == 0 || new_len == 0) in i40e_aq_update_lldp_tlv() 4170 cmd->new_len = CPU_TO_LE16(new_len); in i40e_aq_update_lldp_tlv()
|
H A D | i40e_adminq_cmd.h | 2235 __le16 new_len; member
|
/titanic_41/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.h | 78 #define MRSAS_GET_BOUNDARY_ALIGNED_LEN(len, new_len, boundary_len) { \ argument 82 new_len = len + ((rem + 1) * boundary_len - len); \ 84 new_len = len; \
|
/titanic_41/usr/src/cmd/format/ |
H A D | ctlr_scsi.c | 1887 register int len, new_len, obfi, nbfi; local 1908 for (i = 0, new_len = 0; i < len; new_defect++, new_len++) { 1925 new_len++; 1957 list->header.count = new_len;
|
/titanic_41/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 2681 size_t new_len; in igb_multicst_add() local 2700 new_len = (igb->mcast_alloc_count + MCAST_ALLOC_COUNT) * in igb_multicst_add() 2703 new_table = kmem_alloc(new_len, KM_NOSLEEP); in igb_multicst_add() 2742 size_t new_len; in igb_multicst_remove() local 2764 new_len = (igb->mcast_alloc_count - MCAST_ALLOC_COUNT) * in igb_multicst_remove() 2767 new_table = kmem_alloc(new_len, KM_NOSLEEP); in igb_multicst_remove() 2769 bcopy(igb->mcast_table, new_table, new_len); in igb_multicst_remove()
|
/titanic_41/usr/src/uts/common/sys/crypto/ |
H A D | impl.h | 1199 #define KCF_PROV_SET_PIN(pd, session, old_pin, old_len, new_pin, new_len, \ argument 1203 session, old_pin, old_len, new_pin, new_len, req) : \ 1299 size_t old_len, char *new_pin, size_t new_len, crypto_call_req_t *req);
|
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 2598 size_t new_len; in multicst_add() local 2620 new_len = (Adapter->mcast_alloc_count + MCAST_ALLOC_SIZE) * in multicst_add() 2623 newtable = kmem_alloc(new_len, KM_NOSLEEP); in multicst_add() 2667 size_t new_len; in multicst_remove() local 2687 new_len = (Adapter->mcast_alloc_count - MCAST_ALLOC_SIZE) * in multicst_remove() 2690 newtable = kmem_alloc(new_len, KM_NOSLEEP); in multicst_remove() 2692 bcopy(Adapter->mcast_table, newtable, new_len); in multicst_remove()
|
/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | builtins.c | 3268 int new_type, new_start, new_len; in partnew_func() local 3332 if (! safe_parse_maxint (&arg, &new_len)) in partnew_func() 3341 lba_to_chs (new_start + new_len - 1, &end_cl, &end_ch, &end_dh); in partnew_func() 3352 PC_SLICE_LENGTH (mbr, entry) = new_len; in partnew_func()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 3016 new.new_len = 0; in do_new() 3044 newp->new_len = sizeof (ike_new_t) + pslen; in do_new() 3046 buflen = newp->new_len; in do_new() 3136 new.new_len = 0; in do_new()
|
/titanic_41/usr/src/uts/common/crypto/io/ |
H A D | dprov.c | 9126 size_t old_len, new_len; in dprov_create_object_from_template() local 9180 new_len = attribute_size(type, old_len); in dprov_create_object_from_template() 9190 object->do_attr[oattr].oa_value_len = new_len; in dprov_create_object_from_template() 9192 object->do_attr[oattr].oa_value = kmem_zalloc(new_len, in dprov_create_object_from_template() 9198 offset = old_len - new_len; in dprov_create_object_from_template() 9202 object->do_attr[oattr].oa_value, new_len); in dprov_create_object_from_template() 9384 size_t old_len, new_len; in dprov_object_set_attr() local 9422 new_len = attribute_size(type, old_len); in dprov_object_set_attr() 9425 object->do_attr[j].oa_value = kmem_alloc(new_len, KM_SLEEP); in dprov_object_set_attr() 9426 bcopy(&template[i].oa_value[old_len - new_len], in dprov_object_set_attr() [all …]
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_sp.c | 3568 sp_ext_length_t new_len; in meta_sp_updateunit() local 3577 new_len = old_un->un_length + grow_len; in meta_sp_updateunit() 3583 new_un->un_length = new_len; in meta_sp_updateunit() 3584 new_un->c.un_total_blocks = new_len; in meta_sp_updateunit() 3585 new_un->c.un_actual_tb = new_len; in meta_sp_updateunit()
|