/freebsd/sys/netlink/ |
H A D | netlink_message_writer.h | 69 bool _nlmsg_get_unicast_writer(struct nl_writer *nw, int expected_size, struct nlpcb *nlp); 70 bool _nlmsg_get_group_writer(struct nl_writer *nw, int expected_size, int proto, int group_id); 84 nlmsg_get_unicast_writer(struct nl_writer *nw, int expected_size, struct nlpcb *nlp) in nlmsg_get_unicast_writer() argument 86 return (_nlmsg_get_unicast_writer(nw, expected_size, nlp)); in nlmsg_get_unicast_writer() 90 nlmsg_get_group_writer(struct nl_writer *nw, int expected_size, int proto, int group_id) in nlmsg_get_group_writer() argument 92 return (_nlmsg_get_group_writer(nw, expected_size, proto, group_id)); in nlmsg_get_group_writer() 141 bool nlmsg_get_unicast_writer(struct nl_writer *nw, int expected_size, struct nlpcb *nlp); 142 bool nlmsg_get_group_writer(struct nl_writer *nw, int expected_size, int proto, int group_id); 143 bool nlmsg_get_chain_writer(struct nl_writer *nw, int expected_size, struct mbuf **pm);
|
/freebsd/contrib/unbound/util/ |
H A D | proxy_protocol.c | 95 size_t expected_size; in pp2_write_to_buf() local 98 expected_size = PP2_HEADER_SIZE + (af==AF_INET?12:36); in pp2_write_to_buf() 99 if(buflen < expected_size) { in pp2_write_to_buf() 161 return expected_size; in pp2_write_to_buf()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fallocate/ |
H A D | fallocate_punch-hole.ksh | 80 typeset expected_size=$1 83 if [ "$apparent_size" != "$expected_size" ]; then 85 "Incorrect apparent size: $apparent_size != $expected_size"
|
H A D | fallocate_zero-range.ksh | 70 typeset expected_size=$1 73 if [ "$apparent_size" != "$expected_size" ]; then 75 "Incorrect apparent size: $apparent_size != $expected_size"
|
/freebsd/crypto/openssl/test/ |
H A D | cmp_ctx_test.c | 142 int base_err_msg_size, expected_size; in execute_CTX_print_errors_test() local 165 expected_size = base_err_msg_size; in execute_CTX_print_errors_test() 167 expected_size += strlen(":" "data1"); in execute_CTX_print_errors_test() 169 expected_size += strlen(" : " "data2"); in execute_CTX_print_errors_test() 171 expected_size += strlen("\n" "new line"); in execute_CTX_print_errors_test() 173 if (!TEST_int_eq(msg_total_size, expected_size)) in execute_CTX_print_errors_test() 178 expected_size = base_err_msg_size; in execute_CTX_print_errors_test() 179 while (expected_size < 4096) { /* force split */ in execute_CTX_print_errors_test() 181 expected_size += strlen(STR_SEP) + strlen(max_str_literal); in execute_CTX_print_errors_test() 183 expected_size += base_err_msg_size - 2 * strlen(STR_SEP); in execute_CTX_print_errors_test() [all …]
|
H A D | asn1_encode_test.c | 485 const EXPECTED *expected, size_t expected_size, in do_decode() argument 503 && memcmp(enctst, expected, expected_size) == 0) in do_decode() 670 const EXPECTED *expected, size_t expected_size, in do_decode_custom() argument 684 ret = do_decode(encoding, encoding_length, expected, expected_size, in do_decode_custom()
|
/freebsd/tests/sys/cddl/zfs/tests/zil/ |
H A D | zil_002_pos.ksh | 67 typeset -i expected_size="$2" 70 log_must test $expected_size == $(size_of_file $fname)
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | rx.c | 851 u32 expected_size) in iwl_mvm_handle_rx_statistics_tlv() 855 if (WARN_ONCE(iwl_rx_packet_payload_len(pkt) < expected_size, in iwl_mvm_handle_rx_statistics_tlv() 856 "received invalid statistics size (%d)!, expected_size: %d\n", in iwl_mvm_handle_rx_statistics_tlv() 857 iwl_rx_packet_payload_len(pkt), expected_size)) in iwl_mvm_handle_rx_statistics_tlv() 869 if (WARN_ONCE(le16_to_cpu(hdr->size) != expected_size, in iwl_mvm_handle_rx_statistics_tlv() 870 "received invalid statistics size in header (%d)!, expected_size: %d\n", in iwl_mvm_handle_rx_statistics_tlv() 871 le16_to_cpu(hdr->size), expected_size)) in iwl_mvm_handle_rx_statistics_tlv() 1197 int expected_size; 1214 expected_size = sizeof(struct iwl_notif_statistics_v11); 1216 expected_size 818 iwl_mvm_verify_stats_len(struct iwl_mvm * mvm,struct iwl_rx_packet * pkt,u32 expected_size) iwl_mvm_verify_stats_len() argument 931 int expected_size; iwl_mvm_handle_rx_statistics() local [all...] |
/freebsd/usr.bin/sockstat/ |
H A D | sockstat.c | 209 _check_ksize(size_t received_size, size_t expected_size, const char *struct_name) in _check_ksize() argument 211 if (received_size != expected_size) { in _check_ksize() 213 struct_name, expected_size, received_size); in _check_ksize() 221 _enforce_ksize(size_t received_size, size_t expected_size, const char *struct_name) in _enforce_ksize() argument 223 if (received_size != expected_size) { in _enforce_ksize() 225 struct_name, expected_size, received_size); in _enforce_ksize()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | Trace.cpp | 207 uint64_t expected_size) { in GetLiveTraceBinaryData() argument 221 if (data->size() != expected_size) in GetLiveTraceBinaryData() 226 request.kind, expected_size, data->size(), request.tid, in GetLiveTraceBinaryData()
|
H A D | RegisterContextUnwind.cpp | 2098 if (auto expected_size = in GetReturnAddressHint() local 2101 hint += *expected_size; in GetReturnAddressHint() 2104 llvm::toString(expected_size.takeError()).c_str()); in GetReturnAddressHint()
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | acpi.c | 108 size_t expected_size) in iwl_acpi_get_object() 126 if (WARN_ON_ONCE(expected_size > sizeof(le_value))) in iwl_acpi_get_dsm_object() 130 if (obj->buffer.length != expected_size) in iwl_acpi_get_dsm_object() 137 min_t(size_t, expected_size, (size_t)obj->buffer.length)); in iwl_acpi_get_dsm_object() 163 size_t expected_size; in iwl_acpi_get_dsm_integer() 172 expected_size = acpi_dsm_size[func]; in iwl_acpi_get_dsm_integer() 175 if (expected_size != sizeof(u8) && expected_size != sizeof(u32)) in iwl_acpi_get_dsm_integer() 179 &iwl_guid, &tmp, expected_size); in iwl_acpi_get_dsm_integer() 183 if ((expected_size in iwl_acpi_get_dsm_integer() 150 iwl_acpi_get_dsm_integer(struct device * dev,int rev,int func,const guid_t * guid,u64 * value,size_t expected_size) iwl_acpi_get_dsm_integer() argument [all...] |
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | Trace.h | 352 uint64_t expected_size);
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_nv.c | 113 size_t expected_size) in pf_nvbinary() argument 118 bzero(data, expected_size); in pf_nvbinary() 124 if (len > expected_size) in pf_nvbinary()
|