Searched refs:pad_len (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_net.c | 501 uint32_t pad_len; in iscsi_net_sendpdu() local 550 pad_len = ((ISCSI_PAD_WORD_LEN - in iscsi_net_sendpdu() 555 if (pad_len) { in iscsi_net_sendpdu() 560 iovec[iovlen].iov_len = pad_len; in iscsi_net_sendpdu() 561 total_len += pad_len; in iscsi_net_sendpdu() 576 (char *)&pad, pad_len, crc_data); in iscsi_net_sendpdu() 742 int pad_len = 0; in iscsi_net_recvdata() local 767 pad_len = ((ISCSI_PAD_WORD_LEN - in iscsi_net_recvdata() 777 if (pad_len) { in iscsi_net_recvdata() 779 iov[iovlen].iov_len = pad_len; in iscsi_net_recvdata() [all …]
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | utility.c | 530 UINT32 i, pad_len; in add_pkcs_padding() local 533 pad_len = block_size - (data_len % block_size); in add_pkcs_padding() 534 pad_value = (CK_BYTE)pad_len; in add_pkcs_padding() 536 if (data_len + pad_len > total_len) { in add_pkcs_padding() 539 for (i = 0; i < pad_len; i++) in add_pkcs_padding()
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 1275 uint_t pad_len; in tsol_prepend_option_v6() local 1292 pad_len = optlen - rawlen; in tsol_prepend_option_v6() 1312 pad_len = hbhlen - (2 + rawlen); in tsol_prepend_option_v6() 1328 if (pad_len == 1) { in tsol_prepend_option_v6() 1330 } else if (pad_len > 1) { in tsol_prepend_option_v6() 1332 pad_position[1] = pad_len - 2; in tsol_prepend_option_v6() 1333 if (pad_len > 2) in tsol_prepend_option_v6() 1334 bzero(pad_position + 2, pad_len - 2); in tsol_prepend_option_v6()
|
/titanic_50/usr/src/uts/common/io/idm/ |
H A D | idm_so.c | 1803 int pad_len; in idm_sorecvdata() local 1811 pad_len = ((ISCSI_PAD_WORD_LEN - in idm_sorecvdata() 1819 if (pad_len) { in idm_sorecvdata() 1821 pdu->isp_iov[pdu->isp_iovlen].iov_len = pad_len; in idm_sorecvdata() 1822 total_len += pad_len; in idm_sorecvdata() 1846 if (pad_len) { in idm_sorecvdata() 1848 pad_len, crc_calculated); in idm_sorecvdata() 2164 int pad_len; in idm_i_so_tx() local 2230 pad_len = ((ISCSI_PAD_WORD_LEN - in idm_i_so_tx() 2234 if (pad_len) { in idm_i_so_tx() [all …]
|
/titanic_50/usr/src/lib/libsec/common/ |
H A D | acltext.c | 271 int pad_len; in split_line() local 275 pad_len = 0; in split_line() 280 if ((i + pad_len + 4) >= cols) { in split_line() 285 pad_len = 4; in split_line()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | mmapobj.c | 904 size_t pad_len; in mmapobj_map_flat() local 946 pad_len = len + (2 * padding); in mmapobj_map_flat() 949 map_addr(&addr, pad_len, 0, 1, ma_flags); in mmapobj_map_flat() 950 error = as_map(as, addr, pad_len, segvn_create, &crargs); in mmapobj_map_flat() 983 (void) as_unmap(as, start_addr, pad_len); in mmapobj_map_flat()
|