Searched refs:p_buf (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/contrib/ofed/opensm/complib/
H A Dcl_log.c65 char *p_buf; local
90 p_buf = data;
93 sprintf(p_buf, "%02x", *p_int_data++);
94 p_buf += 2;
98 sprintf(p_buf++, "\n");
104 sprintf(p_buf++, " ");
106 syslog(priority, "%s data:\n%s\n", message, p_buf);
H A Dcl_vector.c339 cl_list_item_t *p_buf; local
378 p_buf = (cl_list_item_t *) malloc(alloc_size + sizeof(cl_list_item_t));
379 if (!p_buf)
382 memset(p_buf, 0, alloc_size + sizeof(cl_list_item_t));
384 cl_qlist_insert_tail(&p_vector->alloc_list, p_buf);
386 p_buf++;
389 p_vector->p_ptr_array[i] = p_buf;
391 p_buf = (void *)(((uint8_t *) p_buf) + p_vector->element_size);
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_mng_tlv.c270 struct ecore_tlv_parsed_buf *p_buf)
275 OSAL_MEM_ZERO(p_buf->data,
277 p_buf->data[0] = p_drv_buf->flags.ipv4_csum_offload ?
279 p_buf->data[0] |= (p_drv_buf->flags.lso_supported ?
281 p_buf->p_val = p_buf->data;
293 p_buf->p_val = p_drv_buf->mac[idx];
301 p_buf->p_val = (u8 *)&p_drv_buf->rx_frames;
307 p_buf->p_val = (u8 *)&p_drv_buf->rx_bytes;
313 p_buf
268 ecore_mfw_get_gen_tlv_value(struct ecore_drv_tlv_hdr *p_tlv, struct ecore_mfw_tlv_generic *p_drv_buf, struct ecore_tlv_parsed_buf *p_buf) argument
331 ecore_mfw_get_eth_tlv_value(struct ecore_drv_tlv_hdr *p_tlv, struct ecore_mfw_tlv_eth *p_drv_buf, struct ecore_tlv_parsed_buf *p_buf) argument
434 ecore_mfw_get_tlv_time_value(struct ecore_mfw_tlv_time *p_time, struct ecore_tlv_parsed_buf *p_buf) argument
465 ecore_mfw_get_fcoe_tlv_value(struct ecore_drv_tlv_hdr *p_tlv, struct ecore_mfw_tlv_fcoe *p_drv_buf, struct ecore_tlv_parsed_buf *p_buf) argument
1139 ecore_mfw_get_iscsi_tlv_value(struct ecore_drv_tlv_hdr *p_tlv, struct ecore_mfw_tlv_iscsi *p_drv_buf, struct ecore_tlv_parsed_buf *p_buf) argument
[all...]
H A Decore_mcp_api.h936 * @param p_buf - nvm write buffer
942 u32 addr, u8 *p_buf, u32 len);
950 * @param p_buf - nvm write buffer
956 u32 addr, u8 *p_buf, u32 len);
984 * @param p_buf - nvm write buffer
988 enum _ecore_status_t ecore_mcp_nvm_resp(struct ecore_dev *p_dev, u8 *p_buf);
996 * @param p_buf - nvm read buffer
1002 u32 addr, u8 *p_buf, u32 len);
1009 * @param p_buf - nvm read buffer
1015 u8 *p_buf, u3
[all...]
H A Decore_mcp.c3121 u8 *p_buf = OSAL_NULL; local
3141 p_buf = OSAL_VZALLOC(p_hwfn->p_dev, size);
3142 if (!p_buf) {
3147 rc = ecore_mcp_nvm_read(p_hwfn->p_dev, addr, p_buf, size);
3149 OSAL_VFREE(p_hwfn->p_dev, p_buf);
3153 p_npiv_table = (struct dci_fc_npiv_tbl *)p_buf;
3163 OSAL_VFREE(p_hwfn->p_dev, p_buf);
3341 u8 *p_buf, u32 len)
3363 (u32 *)(p_buf + offset));
3397 u32 addr, u8 *p_buf, u3
3340 ecore_mcp_nvm_read(struct ecore_dev *p_dev, u32 addr, u8 *p_buf, u32 len) argument
3396 ecore_mcp_phy_read(struct ecore_dev *p_dev, u32 cmd, u32 addr, u8 *p_buf, u32 len) argument
3422 ecore_mcp_nvm_resp(struct ecore_dev *p_dev, u8 *p_buf) argument
3478 ecore_mcp_nvm_write(struct ecore_dev *p_dev, u32 cmd, u32 addr, u8 *p_buf, u32 len) argument
3554 ecore_mcp_phy_write(struct ecore_dev *p_dev, u32 cmd, u32 addr, u8 *p_buf, u32 len) argument
3598 ecore_mcp_phy_sfp_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 port, u32 addr, u32 offset, u32 len, u8 *p_buf) argument
3644 ecore_mcp_phy_sfp_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 port, u32 addr, u32 offset, u32 len, u8 *p_buf) argument
[all...]
H A Decore_init_ops.c190 u32 size, const u32 *p_buf,
202 const u32 *data = p_buf + dmae_data_offset;
209 (osal_uintptr_t)(p_buf +
187 ecore_init_array_dmae(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 addr, u32 dmae_data_offset, u32 size, const u32 *p_buf, bool b_must_dmae, bool b_can_dmae) argument
/freebsd-11-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_sar.c71 IN uint32_t seg_idx, OUT void *p_buf)
89 memset(p_buf, 0, MAD_BLOCK_SIZE);
92 memcpy(p_buf, p_sar->p_arbt_mad, p_sar->hdr_sz);
100 memcpy((char *)p_buf + p_sar->hdr_sz, (char *)p_seg,
103 memcpy((char *)p_buf + p_sar->hdr_sz, (char *)p_seg, sz_left);
70 osmv_rmpp_sar_get_mad_seg(IN osmv_rmpp_sar_t * p_sar, IN uint32_t seg_idx, OUT void *p_buf) argument
H A Dosm_vendor_mlx_rmpp_ctx.c117 IN uint32_t resp_timeout, OUT void *p_buf)
126 st = osmv_rmpp_sar_get_mad_seg(&p_send_ctx->sar, seg_idx, p_buf);
131 p_rmpp_mad = (ib_rmpp_mad_t *) p_buf;
115 osmv_rmpp_send_ctx_get_seg(IN osmv_rmpp_send_ctx_t * p_send_ctx, IN uint32_t seg_idx, IN uint32_t resp_timeout, OUT void *p_buf) argument
/freebsd-11-stable/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor_mlx_sar.h99 void *p_buf);
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dload.c97 * arg: + char * + p_buf + The result buffer +
145 optionMakePath(char * p_buf, int b_sz, char const * fname, char const * prg_path) argument
159 char * dst = p_buf;
180 if (! add_prog_path(p_buf, b_sz, fname, prg_path))
188 if (snprintf(p_buf, (size_t)b_sz, "%s%s",
194 if (! add_env_val(p_buf, b_sz, fname))
198 return get_realpath(p_buf, b_sz);
/freebsd-11-stable/sys/libkern/
H A Dcrc32.c688 const unsigned char *p_buf,
701 crc = sctp_crc_tableil8_o32[(crc ^ *p_buf++) & 0x000000FF] ^
705 crc ^= *p_buf++;
706 crc ^= (*p_buf++) << 8;
707 crc ^= (*p_buf++) << 16;
708 crc ^= (*p_buf++) << 24;
710 crc ^= *(const uint32_t *) p_buf;
711 p_buf += 4;
721 crc ^= sctp_crc_tableil8_o56[*p_buf++];
722 crc ^= sctp_crc_tableil8_o48[*p_buf
687 crc32c_sb8_64_bit(uint32_t crc, const unsigned char *p_buf, uint32_t length, uint32_t init_bytes) argument
[all...]
/freebsd-11-stable/stand/common/
H A Dbcache.c218 caddr_t p_buf; local
260 p_buf = bc->bcache_data + (bcache_blksize * BHASH(bc, p_blk));
316 p_size * bcache_blksize, p_buf, &r_size);
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_log.c341 IN const char *p_buf)
345 printf("%s", p_buf);
340 osm_log_raw(IN osm_log_t * p_log, IN osm_log_level_t verbosity, IN const char *p_buf) argument
H A Dosm_helper.c592 static void dbg_get_capabilities_str(IN char *p_buf, IN uint32_t buf_size, argument
597 char *p_local = p_buf;
796 static void dbg_get_capabilities2_str(IN char *p_buf, IN uint32_t buf_size, argument
801 char *p_local = p_buf;
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_log.h491 IN const char *p_buf);
/freebsd-11-stable/contrib/ofed/opensm/include/iba/
H A Dib_types.h11363 IN OUT void *p_buf OPTIONAL;
11373 * p_buf
11375 * provider must not access pointers in the p_buf between user-mode and
11376 * kernel-mode. Any pointers embedded in the p_buf are invalidated by
11396 * structure are expected to know the format of data in the p_buf based

Completed in 203 milliseconds