Searched refs:total_tlv_len (Results 1 – 1 of 1) sorted by relevance
| /xnu-8019.80.24/bsd/net/ |
| H A D | necp.c | 2651 u_int32_t total_tlv_len = 0; in necp_handle_policy_dump_all() local 3027 total_tlv_len += sizeof(u_int8_t) + sizeof(u_int32_t) + (cursor - tlv_buffer); in necp_handle_policy_dump_all() 3035 if (out_buffer_length < total_tlv_len + sizeof(u_int32_t)) { in necp_handle_policy_dump_all() 3036 …NECPLOG(LOG_DEBUG, "out_buffer_length too small (%lu < %lu)", out_buffer_length, total_tlv_len + s… in necp_handle_policy_dump_all() 3041 result_buf = (u_int8_t *)kalloc_data(total_tlv_len + sizeof(u_int32_t), Z_WAITOK | Z_ZERO); in necp_handle_policy_dump_all() 3043 …NECPLOG(LOG_DEBUG, "Failed to allocate result_buffer (%lu bytes)", total_tlv_len + sizeof(u_int32_… in necp_handle_policy_dump_all() 3048 memcpy(result_buf, &total_tlv_len, sizeof(u_int32_t)); in necp_handle_policy_dump_all() 3055 result_buf, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all() 3059 int copy_error = copyout(result_buf, out_buffer, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all() 3061 …NECPLOG(LOG_DEBUG, "Failed to copy out result_buffer (%lu bytes)", total_tlv_len + sizeof(u_int32_… in necp_handle_policy_dump_all() [all …]
|