| /dpdk/lib/cmdline/ |
| H A D | cmdline_parse_string.c | 67 sd = &tk2->string_data; in cmdline_parse_string() 70 if ((sd->str != NULL) && (strcmp(sd->str, TOKEN_STRING_MULTI) != 0)) { in cmdline_parse_string() 71 str = sd->str; in cmdline_parse_string() 122 if ((sd->str != NULL) && (strcmp(sd->str, TOKEN_STRING_MULTI) == 0)) in cmdline_parse_string() 146 sd = &tk2->string_data; in cmdline_complete_get_nb_string() 148 if (!sd->str) in cmdline_complete_get_nb_string() 151 str = sd->str; in cmdline_complete_get_nb_string() 170 sd = &tk2->string_data; in cmdline_complete_get_elt_string() 172 s = sd->str; in cmdline_complete_get_elt_string() 201 sd = &tk2->string_data; in cmdline_get_help_string() [all …]
|
| /dpdk/lib/bpf/ |
| H A D | bpf_load_elf.c | 140 Elf_Data *sd; in find_elf_code() local 167 if (sd == NULL || sd->d_size == 0 || in find_elf_code() 175 *psd = sd; in find_elf_code() 193 const Elf_Data *sd; in process_reloc() local 201 if (sd == NULL) in process_reloc() 203 sm = sd->d_buf; in process_reloc() 240 const Elf_Data *sd; in elf_reloc_code() local 254 if (sd == NULL || sd->d_size == 0 || in elf_reloc_code() 258 sd->d_buf, sd->d_size, ed->d_buf, ed->d_size, in elf_reloc_code() 270 Elf_Data *sd; in bpf_load_elf() local [all …]
|
| /dpdk/drivers/raw/ifpga/ |
| H A D | rte_pmd_ifpga.c | 89 opae_share_data *sd = NULL; in get_share_data() local 95 if (!sd) { in get_share_data() 100 return sd; in get_share_data() 107 opae_share_data *sd = NULL; in rte_pmd_ifpga_get_rsu_status() local 113 sd = get_share_data(adapter); in rte_pmd_ifpga_get_rsu_status() 114 if (!sd) in rte_pmd_ifpga_get_rsu_status() 129 opae_share_data *sd = NULL; in rte_pmd_ifpga_set_rsu_status() local 136 if (!sd) in rte_pmd_ifpga_set_rsu_status() 147 opae_share_data *sd = NULL; in ifpga_is_rebooting() local 150 if (!sd) in ifpga_is_rebooting() [all …]
|
| /dpdk/drivers/raw/ifpga/base/ |
| H A D | opae_hw_api.c | 462 opae_share_data *sd; in opae_adapter_shm_init() local 469 opae_mutex_init(&sd->spi_mutex); in opae_adapter_shm_init() 470 opae_mutex_init(&sd->i2c_mutex); in opae_adapter_shm_init() 471 sd->ref_cnt = 0; in opae_adapter_shm_init() 472 sd->dtb_size = SHM_BLK_SIZE; in opae_adapter_shm_init() 473 sd->rsu_ctrl = 0; in opae_adapter_shm_init() 474 sd->rsu_stat = 0; in opae_adapter_shm_init() 480 opae_share_data *sd; in opae_adapter_shm_alloc() local 509 sd->ref_cnt++; in opae_adapter_shm_alloc() 523 opae_share_data *sd; in opae_adapter_shm_free() local [all …]
|
| H A D | ifpga_sec_mgr.c | 590 opae_share_data *sd = NULL; in init_sec_mgr() local 605 sd = (opae_share_data *)hw->adapter->shm.ptr; in init_sec_mgr() 606 smgr->rsu_control = &sd->rsu_ctrl; in init_sec_mgr() 607 smgr->rsu_status = &sd->rsu_stat; in init_sec_mgr()
|
| H A D | ifpga_fme.c | 951 opae_share_data *sd = NULL; in init_spi_share_data() local 955 sd = (opae_share_data *)hw->adapter->shm.ptr; in init_spi_share_data() 956 spi->mutex = &sd->spi_mutex; in init_spi_share_data() 957 spi->dtb_sz_ptr = &sd->dtb_size; in init_spi_share_data() 958 spi->dtb = sd->dtb; in init_spi_share_data() 1246 opae_share_data *sd = NULL; in init_i2c_mutex() local 1252 sd = (opae_share_data *)hw->adapter->shm.ptr; in init_i2c_mutex() 1253 i2c_dev->mutex = &sd->i2c_mutex; in init_i2c_mutex()
|
| /dpdk/drivers/compress/qat/dev/ |
| H A D | qat_comp_pmd_gen4.c | 127 hw_comp_lower_csr.sd = in qat_comp_set_slice_cfg_word_gen4() 136 hw_comp_lower_csr.sd = in qat_comp_set_slice_cfg_word_gen4() 143 hw_comp_lower_csr.sd = in qat_comp_set_slice_cfg_word_gen4()
|
| /dpdk/drivers/crypto/caam_jr/ |
| H A D | caam_jr_desc.h | 107 (((struct descriptor_header_s *)(descriptor))->command.sd.ctype == \ 109 (descriptor))->command.sd.desclen : \ 144 } sd; member
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4.c | 708 struct mlx4_shared_data *sd; in mlx4_init_once() local 714 sd = mlx4_shared_data; in mlx4_init_once() 715 MLX4_ASSERT(sd); in mlx4_init_once() 716 rte_spinlock_lock(&sd->lock); in mlx4_init_once() 719 if (sd->init_done) in mlx4_init_once() 721 LIST_INIT(&sd->mem_event_cb_list); in mlx4_init_once() 722 rte_rwlock_init(&sd->mem_event_rwlock); in mlx4_init_once() 728 sd->init_done = 1; in mlx4_init_once() 736 ++sd->secondary_cnt; in mlx4_init_once() 743 rte_spinlock_unlock(&sd->lock); in mlx4_init_once()
|
| /dpdk/drivers/common/qat/qat_adf/ |
| H A D | icp_qat_hw_gen4_comp.h | 14 icp_qat_hw_comp_20_search_depth_t sd; member 33 QAT_FIELD_SET(val32, csr.sd, in ICP_QAT_FW_COMP_20_BUILD_CONFIG_LOWER()
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | sge.c | 289 sd->buf = buf; in set_rx_sw_desc() 310 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; in refill_fl_usembufs() local 345 set_rx_sw_desc(sd, mbuf, mapping); in refill_fl_usembufs() 346 sd++; in refill_fl_usembufs() 351 sd = q->sdesc; in refill_fl_usembufs() 945 struct tx_sw_desc *sd; in tx_do_packet_coalesce() local 999 sd = &q->sdesc[q->pidx + (idx >> 1)]; in tx_do_packet_coalesce() 1001 if (sd->coalesce.idx) { in tx_do_packet_coalesce() 1006 sd->coalesce.mbuf[i] = NULL; in tx_do_packet_coalesce() 1015 sd->coalesce.mbuf[idx & 1] = mbuf; in tx_do_packet_coalesce() [all …]
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_os.c | 813 struct mlx5_shared_data *sd; in mlx5_init_once() local 819 sd = mlx5_shared_data; in mlx5_init_once() 820 MLX5_ASSERT(sd); in mlx5_init_once() 821 rte_spinlock_lock(&sd->lock); in mlx5_init_once() 824 if (sd->init_done) in mlx5_init_once() 830 sd->init_done = true; in mlx5_init_once() 839 ++sd->secondary_cnt; in mlx5_init_once() 846 rte_spinlock_unlock(&sd->lock); in mlx5_init_once()
|
| /dpdk/drivers/bus/fslmc/qbman/ |
| H A D | qbman_sys.h | 412 uint8_t epm, int sd, int sp, int se, in qbman_set_swp_cfg() argument 423 sd << SWP_CFG_SD_SHIFT | in qbman_set_swp_cfg()
|