/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_mng_tlv.c | 267 struct ecore_tlv_parsed_buf *p_buf) in ecore_mfw_get_gen_tlv_value() argument 272 OSAL_MEM_ZERO(p_buf->data, in ecore_mfw_get_gen_tlv_value() 274 p_buf->data[0] = p_drv_buf->flags.ipv4_csum_offload ? in ecore_mfw_get_gen_tlv_value() 276 p_buf->data[0] |= (p_drv_buf->flags.lso_supported ? in ecore_mfw_get_gen_tlv_value() 278 p_buf->p_val = p_buf->data; in ecore_mfw_get_gen_tlv_value() 290 p_buf->p_val = p_drv_buf->mac[idx]; in ecore_mfw_get_gen_tlv_value() 298 p_buf->p_val = (u8 *)&p_drv_buf->rx_frames; in ecore_mfw_get_gen_tlv_value() 304 p_buf->p_val = (u8 *)&p_drv_buf->rx_bytes; in ecore_mfw_get_gen_tlv_value() 310 p_buf->p_val = (u8 *)&p_drv_buf->tx_frames; in ecore_mfw_get_gen_tlv_value() 316 p_buf->p_val = (u8 *)&p_drv_buf->tx_bytes; in ecore_mfw_get_gen_tlv_value() [all …]
|
H A D | ecore_mcp_api.h | 940 u32 addr, u8 *p_buf, u32 len); 954 u32 addr, u8 *p_buf, u32 len); 986 enum _ecore_status_t ecore_mcp_nvm_resp(struct ecore_dev *p_dev, u8 *p_buf); 1000 u32 addr, u8 *p_buf, u32 len); 1013 u8 *p_buf, u32 len); 1117 u32 len, u8 *p_buf); 1135 u32 len, u8 *p_buf);
|
H A D | ecore_mcp.c | 3118 u8 *p_buf = OSAL_NULL; in ecore_mcp_ov_get_fc_npiv() local 3138 p_buf = OSAL_VZALLOC(p_hwfn->p_dev, size); in ecore_mcp_ov_get_fc_npiv() 3139 if (!p_buf) { in ecore_mcp_ov_get_fc_npiv() 3144 rc = ecore_mcp_nvm_read(p_hwfn->p_dev, addr, p_buf, size); in ecore_mcp_ov_get_fc_npiv() 3146 OSAL_VFREE(p_hwfn->p_dev, p_buf); in ecore_mcp_ov_get_fc_npiv() 3150 p_npiv_table = (struct dci_fc_npiv_tbl *)p_buf; in ecore_mcp_ov_get_fc_npiv() 3160 OSAL_VFREE(p_hwfn->p_dev, p_buf); in ecore_mcp_ov_get_fc_npiv() 3338 u8 *p_buf, u32 len) in ecore_mcp_nvm_read() argument 3360 (u32 *)(p_buf + offset)); in ecore_mcp_nvm_read() 3394 u32 addr, u8 *p_buf, u32 len) in ecore_mcp_phy_read() argument [all …]
|
H A D | ecore_ll2.c | 1150 struct ecore_ooo_buffer *p_buf = OSAL_NULL; in ecore_ll2_acquire_connection_ooo() local 1175 p_buf = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, sizeof(*p_buf)); in ecore_ll2_acquire_connection_ooo() 1176 if (!p_buf) { in ecore_ll2_acquire_connection_ooo() 1183 p_buf->rx_buffer_size = rx_buffer_size; in ecore_ll2_acquire_connection_ooo() 1185 &p_buf->rx_buffer_phys_addr, in ecore_ll2_acquire_connection_ooo() 1186 p_buf->rx_buffer_size); in ecore_ll2_acquire_connection_ooo() 1190 OSAL_FREE(p_hwfn->p_dev, p_buf); in ecore_ll2_acquire_connection_ooo() 1194 p_buf->rx_buffer_virt_addr = p_virt; in ecore_ll2_acquire_connection_ooo() 1195 ecore_ooo_put_free_buffer(p_hwfn->p_ooo_info, p_buf); in ecore_ll2_acquire_connection_ooo()
|
H A D | ecore_init_ops.c | 187 u32 size, const u32 *p_buf, argument 199 const u32 *data = p_buf + dmae_data_offset; 206 (osal_uintptr_t)(p_buf +
|
/freebsd/sys/libkern/ |
H A D | gsb_crc32.c | 679 const unsigned char *p_buf, 692 crc = sctp_crc_tableil8_o32[(crc ^ *p_buf++) & 0x000000FF] ^ in crc32c_sb8_64_bit() 696 crc ^= *p_buf++; in crc32c_sb8_64_bit() 697 crc ^= (*p_buf++) << 8; in crc32c_sb8_64_bit() 698 crc ^= (*p_buf++) << 16; in crc32c_sb8_64_bit() 699 crc ^= (*p_buf++) << 24; in crc32c_sb8_64_bit() 701 crc ^= *(const uint32_t *) p_buf; in crc32c_sb8_64_bit() 702 p_buf += 4; in crc32c_sb8_64_bit() 712 crc ^= sctp_crc_tableil8_o56[*p_buf++]; in crc32c_sb8_64_bit() 713 crc ^= sctp_crc_tableil8_o48[*p_buf in crc32c_sb8_64_bit() 682 crc32c_sb8_64_bit(uint32_t crc,const unsigned char * p_buf,uint32_t length,uint32_t init_bytes) crc32c_sb8_64_bit() argument [all...] |
/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_log.c | 65 char *p_buf; in cl_log_event() local 90 p_buf = data; in cl_log_event() 93 sprintf(p_buf, "%02x", *p_int_data++); in cl_log_event() 94 p_buf += 2; in cl_log_event() 98 sprintf(p_buf++, "\n"); in cl_log_event() 104 sprintf(p_buf++, " "); in cl_log_event() 106 syslog(priority, "%s data:\n%s\n", message, p_buf); in cl_log_event()
|
H A D | cl_vector.c | 339 cl_list_item_t *p_buf; in cl_vector_set_capacity() local 378 p_buf = (cl_list_item_t *) malloc(alloc_size + sizeof(cl_list_item_t)); in cl_vector_set_capacity() 379 if (!p_buf) in cl_vector_set_capacity() 382 memset(p_buf, 0, alloc_size + sizeof(cl_list_item_t)); in cl_vector_set_capacity() 384 cl_qlist_insert_tail(&p_vector->alloc_list, p_buf); in cl_vector_set_capacity() 386 p_buf++; in cl_vector_set_capacity() 389 p_vector->p_ptr_array[i] = p_buf; in cl_vector_set_capacity() 391 p_buf = (void *)(((uint8_t *) p_buf) + p_vector->element_size); in cl_vector_set_capacity()
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_sar.c | 71 IN uint32_t seg_idx, OUT void *p_buf) in osmv_rmpp_sar_get_mad_seg() argument 89 memset(p_buf, 0, MAD_BLOCK_SIZE); in osmv_rmpp_sar_get_mad_seg() 92 memcpy(p_buf, p_sar->p_arbt_mad, p_sar->hdr_sz); in osmv_rmpp_sar_get_mad_seg() 100 memcpy((char *)p_buf + p_sar->hdr_sz, (char *)p_seg, in osmv_rmpp_sar_get_mad_seg() 103 memcpy((char *)p_buf + p_sar->hdr_sz, (char *)p_seg, sz_left); in osmv_rmpp_sar_get_mad_seg()
|
H A D | osm_vendor_mlx_rmpp_ctx.c | 117 IN uint32_t resp_timeout, OUT void *p_buf) in osmv_rmpp_send_ctx_get_seg() argument 126 st = osmv_rmpp_sar_get_mad_seg(&p_send_ctx->sar, seg_idx, p_buf); in osmv_rmpp_send_ctx_get_seg() 131 p_rmpp_mad = (ib_rmpp_mad_t *) p_buf; in osmv_rmpp_send_ctx_get_seg()
|
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | load.c | 125 optionMakePath(char * p_buf, int b_sz, char const * fname, char const * prg_path) in optionMakePath() argument 139 char * dst = p_buf; in optionMakePath() 160 if (! add_prog_path(p_buf, b_sz, fname, prg_path)) in optionMakePath() 168 if (snprintf(p_buf, (size_t)b_sz, "%s%s", in optionMakePath() 174 if (! add_env_val(p_buf, b_sz, fname)) in optionMakePath() 178 return get_realpath(p_buf, b_sz); in optionMakePath()
|
/freebsd/crypto/openssl/test/ |
H A D | trace_api_test.c | 80 char *p_buf = NULL; in test_trace_channel() local 100 len = BIO_get_mem_data(bio, &p_buf); in test_trace_channel() 101 if (!TEST_strn2_eq(p_buf, len, expected, expected_len)) in test_trace_channel()
|
/freebsd/contrib/ofed/opensm/include/vendor/ |
H A D | osm_vendor_mlx_sar.h | 99 void *p_buf);
|
/freebsd/stand/common/ |
H A D | bcache.c | 219 caddr_t p_buf; in read_strategy() local 280 p_buf = bc->bcache_data + (bcache_blksize * BHASH(bc, p_blk)); in read_strategy() 349 p_size * bcache_blksize, p_buf, &r_size); in read_strategy()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_log.c | 341 IN const char *p_buf) in osm_log_raw() argument 345 printf("%s", p_buf); in osm_log_raw()
|
H A D | osm_helper.c | 592 static void dbg_get_capabilities_str(IN char *p_buf, IN uint32_t buf_size, in dbg_get_capabilities_str() argument 597 char *p_local = p_buf; in dbg_get_capabilities_str() 796 static void dbg_get_capabilities2_str(IN char *p_buf, IN uint32_t buf_size, in dbg_get_capabilities2_str() argument 801 char *p_local = p_buf; in dbg_get_capabilities2_str()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_log.h | 491 IN const char *p_buf);
|
/freebsd/contrib/ofed/opensm/include/iba/ |
H A D | ib_types.h | 11363 IN OUT void *p_buf OPTIONAL;
|