/freebsd-current/sys/dev/bnxt/ |
H A D | bnxt_sysctl.h | 32 int bnxt_init_sysctl_ctx(struct bnxt_softc *softc); 33 int bnxt_free_sysctl_ctx(struct bnxt_softc *softc); 34 int bnxt_create_port_stats_sysctls(struct bnxt_softc *softc); 35 int bnxt_create_tx_sysctls(struct bnxt_softc *softc, int txr); 36 int bnxt_create_rx_sysctls(struct bnxt_softc *softc, int rxr); 37 int bnxt_create_ver_sysctls(struct bnxt_softc *softc); 39 int bnxt_create_config_sysctls_pre(struct bnxt_softc *softc); 40 int bnxt_create_config_sysctls_post(struct bnxt_softc *softc); 41 int bnxt_create_hw_lro_sysctls(struct bnxt_softc *softc); 42 int bnxt_create_pause_fc_sysctls(struct bnxt_softc *softc); [all...] |
H A D | bnxt_sysctl.c | 50 bnxt_init_sysctl_ctx(struct bnxt_softc *softc) argument 54 sysctl_ctx_init(&softc->hw_stats); 55 ctx = device_get_sysctl_ctx(softc->dev); 56 softc->hw_stats_oid = SYSCTL_ADD_NODE(ctx, 57 SYSCTL_CHILDREN(device_get_sysctl_tree(softc->dev)), OID_AUTO, 59 if (!softc->hw_stats_oid) { 60 sysctl_ctx_free(&softc->hw_stats); 64 sysctl_ctx_init(&softc->ver_info->ver_ctx); 65 ctx = device_get_sysctl_ctx(softc->dev); 66 softc 112 bnxt_free_sysctl_ctx(struct bnxt_softc *softc) argument 158 bnxt_create_tx_sysctls(struct bnxt_softc *softc, int txr) argument 202 bnxt_create_port_stats_sysctls(struct bnxt_softc *softc) argument 868 bnxt_create_rx_sysctls(struct bnxt_softc *softc, int rxr) argument 976 struct bnxt_softc *softc = arg1; local 1017 struct bnxt_softc *softc = arg1; local 1040 bnxt_create_ver_sysctls(struct bnxt_softc *softc) argument 1144 struct bnxt_softc *softc = arg1; local 1190 struct bnxt_softc *softc = arg1; local 1231 struct bnxt_softc *softc = arg1; local 1256 struct bnxt_softc *softc = arg1; local 1281 struct bnxt_softc *softc = arg1; local 1301 struct bnxt_softc *softc = arg1; local 1321 struct bnxt_softc *softc = arg1; local 1341 struct bnxt_softc *softc = arg1; local 1361 struct bnxt_softc *softc = arg1; local 1381 struct bnxt_softc *softc = arg1; local 1401 struct bnxt_softc *softc = arg1; local 1421 struct bnxt_softc *softc = arg1; local 1440 bnxt_create_config_sysctls_pre(struct bnxt_softc *softc) argument 1584 bnxt_create_hw_lro_sysctls(struct bnxt_softc *softc) argument 1622 bnxt_create_config_sysctls_post(struct bnxt_softc *softc) argument [all...] |
H A D | bnxt_hwrm.h | 41 int bnxt_alloc_hwrm_dma_mem(struct bnxt_softc *softc); 42 void bnxt_free_hwrm_dma_mem(struct bnxt_softc *softc); 43 int bnxt_hwrm_ring_alloc(struct bnxt_softc *softc, uint8_t type, 45 int bnxt_hwrm_ring_free(struct bnxt_softc *softc, uint32_t type, 47 int bnxt_hwrm_ver_get(struct bnxt_softc *softc); 48 int bnxt_hwrm_queue_qportcfg(struct bnxt_softc *softc); 49 int bnxt_hwrm_func_drv_rgtr(struct bnxt_softc *softc); 50 int bnxt_hwrm_func_drv_unrgtr(struct bnxt_softc *softc, bool shutdown); 51 int bnxt_hwrm_func_qcaps(struct bnxt_softc *softc); 52 int bnxt_hwrm_func_qcfg(struct bnxt_softc *softc); [all...] |
H A D | if_bnxt.c | 208 static int bnxt_probe_phy(struct bnxt_softc *softc); 209 static void bnxt_add_media_types(struct bnxt_softc *softc); 210 static int bnxt_pci_mapping(struct bnxt_softc *softc); 211 static void bnxt_pci_mapping_free(struct bnxt_softc *softc); 212 static int bnxt_update_link(struct bnxt_softc *softc, bool chng_link_state); 215 static void bnxt_clear_ids(struct bnxt_softc *softc); 220 static void bnxt_handle_async_event(struct bnxt_softc *softc, 223 static void bnxt_get_wol_settings(struct bnxt_softc *softc); 227 static void bnxt_get_port_module_status(struct bnxt_softc *softc); 353 bnxt_nq_alloc(struct bnxt_softc *softc, in argument 364 bnxt_nq_free(struct bnxt_softc *softc) argument 381 struct bnxt_softc *softc; local 487 struct bnxt_softc *softc = iflib_get_softc(ctx); local 517 struct bnxt_softc *softc; local 756 bnxt_free_hwrm_short_cmd_req(struct bnxt_softc *softc) argument 763 bnxt_alloc_hwrm_short_cmd_req(struct bnxt_softc *softc) argument 795 bnxt_alloc_ring(struct bnxt_softc *softc, struct bnxt_ring_mem_info *rmem) argument 854 bnxt_alloc_ctx_mem_blk(struct bnxt_softc *softc, struct bnxt_ctx_pg_info *ctx_pg) argument 868 bnxt_alloc_ctx_pg_tbls(struct bnxt_softc *softc, struct bnxt_ctx_pg_info *ctx_pg, uint32_t mem_size, uint8_t depth, bool use_init_val) argument 930 bnxt_free_ctx_pg_tbls(struct bnxt_softc *softc, struct bnxt_ctx_pg_info *ctx_pg) argument 959 bnxt_free_ctx_mem(struct bnxt_softc *softc) argument 989 bnxt_alloc_ctx_mem(struct bnxt_softc *softc) argument 1268 struct bnxt_softc *softc = iflib_get_softc(ctx); local 1616 struct bnxt_softc *softc = iflib_get_softc(ctx); local 1644 struct bnxt_softc *softc = iflib_get_softc(ctx); local 1694 bnxt_hwrm_resource_free(struct bnxt_softc *softc) argument 1782 bnxt_func_reset(struct bnxt_softc *softc) argument 1795 bnxt_rss_grp_tbl_init(struct bnxt_softc *softc) argument 1812 bnxt_get_port_module_status(struct bnxt_softc *softc) argument 1843 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2015 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2040 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2070 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2083 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2128 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2265 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2304 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2335 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2350 struct bnxt_softc *softc = cpr->ring.softc; local 2364 struct bnxt_softc *softc = cpr->ring.softc; local 2379 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2396 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2407 bnxt_process_cmd_cmpl(struct bnxt_softc *softc, hwrm_cmpl_t *cmd_cmpl) argument 2417 struct bnxt_softc *softc = cpr->ring.softc; local 2435 process_nq(struct bnxt_softc *softc, uint16_t nqid) argument 2465 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2479 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2499 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2560 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2574 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2590 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2643 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2652 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2955 struct bnxt_softc *softc = iflib_get_softc(ctx); local 2983 bnxt_probe_phy(struct bnxt_softc *softc) argument 3026 add_media(struct bnxt_softc *softc, uint8_t media_type, uint16_t supported, uint16_t supported_pam4) argument 3088 bnxt_add_media_types(struct bnxt_softc *softc) argument 3202 bnxt_map_bar(struct bnxt_softc *softc, struct bnxt_bar_info *bar, int bar_num, bool shareable) argument 3233 bnxt_pci_mapping(struct bnxt_softc *softc) argument 3247 bnxt_pci_mapping_free(struct bnxt_softc *softc) argument 3261 bnxt_update_link(struct bnxt_softc *softc, bool chng_link_state) argument 3290 bnxt_report_link(struct bnxt_softc *softc) argument 3363 struct bnxt_softc *softc = cpr->ring.softc; local 3376 struct bnxt_softc *softc = arg; local 3384 bnxt_clear_ids(struct bnxt_softc *softc) argument 3429 bnxt_handle_async_event(struct bnxt_softc *softc, struct cmpl_base *cmpl) argument 3471 struct bnxt_softc *softc = iflib_get_softc(ctx); local 3526 get_phy_type(struct bnxt_softc *softc) argument 3557 bnxt_check_hwrm_version(struct bnxt_softc *softc) argument 3625 bnxt_get_wol_settings(struct bnxt_softc *softc) argument [all...] |
H A D | bnxt_hwrm.c | 39 static void bnxt_hwrm_set_link_common(struct bnxt_softc *softc, 41 static void bnxt_hwrm_set_pause_common(struct bnxt_softc *softc, 43 static void bnxt_hwrm_set_eee(struct bnxt_softc *softc, 82 bnxt_alloc_hwrm_dma_mem(struct bnxt_softc *softc) argument 86 rc = iflib_dma_alloc(softc->ctx, PAGE_SIZE, &softc->hwrm_cmd_resp, 92 bnxt_free_hwrm_dma_mem(struct bnxt_softc *softc) argument 94 if (softc->hwrm_cmd_resp.idi_vaddr) 95 iflib_dma_free(&softc->hwrm_cmd_resp); 96 softc 101 bnxt_hwrm_cmd_hdr_init(struct bnxt_softc *softc, void *request, uint16_t req_type) argument 113 _hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len) argument 226 hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len) argument 237 bnxt_hwrm_queue_qportcfg(struct bnxt_softc *softc) argument 289 bnxt_hwrm_func_backing_store_qcaps(struct bnxt_softc *softc) argument 390 bnxt_hwrm_func_backing_store_cfg(struct bnxt_softc *softc, uint32_t enables) argument 492 bnxt_hwrm_func_resc_qcaps(struct bnxt_softc *softc, bool all) argument 542 bnxt_hwrm_passthrough(struct bnxt_softc *softc, void *req, uint32_t req_len, void *resp, uint32_t resp_len, uint32_t app_timeout) argument 573 bnxt_hwrm_ver_get(struct bnxt_softc *softc) argument 710 bnxt_hwrm_func_drv_rgtr(struct bnxt_softc *softc) argument 728 bnxt_hwrm_func_drv_unrgtr(struct bnxt_softc *softc, bool shutdown) argument 762 bnxt_hwrm_func_qcaps(struct bnxt_softc *softc) argument 821 bnxt_hwrm_func_qcfg(struct bnxt_softc *softc) argument 846 bnxt_hwrm_func_reset(struct bnxt_softc *softc) argument 857 bnxt_hwrm_set_link_common(struct bnxt_softc *softc, struct hwrm_port_phy_cfg_input *req) argument 901 bnxt_hwrm_set_pause_common(struct bnxt_softc *softc, struct hwrm_port_phy_cfg_input *req) argument 934 bnxt_hwrm_set_eee(struct bnxt_softc *softc, struct hwrm_port_phy_cfg_input *req) argument 959 bnxt_hwrm_set_link_setting(struct bnxt_softc *softc, bool set_pause, bool set_eee, bool set_link) argument 1001 bnxt_hwrm_vnic_set_hds(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic) argument 1024 bnxt_hwrm_vnic_cfg(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic) argument 1061 bnxt_hwrm_vnic_free(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic) argument 1084 bnxt_hwrm_vnic_alloc(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic) argument 1115 bnxt_hwrm_vnic_ctx_free(struct bnxt_softc *softc, uint16_t ctx_id) argument 1136 bnxt_hwrm_vnic_ctx_alloc(struct bnxt_softc *softc, uint16_t *ctx_id) argument 1164 bnxt_hwrm_ring_grp_alloc(struct bnxt_softc *softc, struct bnxt_grp_info *grp) argument 1199 bnxt_hwrm_ring_grp_free(struct bnxt_softc *softc, struct bnxt_grp_info *grp) argument 1224 bnxt_hwrm_ring_free(struct bnxt_softc *softc, uint32_t ring_type, struct bnxt_ring *ring, int cmpl_ring_id) argument 1260 bnxt_hwrm_ring_alloc(struct bnxt_softc *softc, uint8_t type, struct bnxt_ring *ring) argument 1356 bnxt_hwrm_stat_ctx_free(struct bnxt_softc *softc, struct bnxt_cp_ring *cpr) argument 1379 bnxt_hwrm_stat_ctx_alloc(struct bnxt_softc *softc, struct bnxt_cp_ring *cpr, uint64_t paddr) argument 1417 bnxt_hwrm_port_qstats(struct bnxt_softc *softc) argument 1436 bnxt_hwrm_port_qstats_ext(struct bnxt_softc *softc) argument 1456 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic) argument 1472 bnxt_hwrm_l2_filter_free(struct bnxt_softc *softc, uint64_t filter_id) argument 1495 bnxt_hwrm_free_filter(struct bnxt_softc *softc) argument 1517 bnxt_hwrm_l2_filter_alloc(struct bnxt_softc *softc, uint16_t vlan_tag, uint64_t *filter_id) argument 1568 bnxt_hwrm_set_filter(struct bnxt_softc *softc) argument 1590 bnxt_hwrm_rss_cfg(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic, uint32_t hash_type) argument 1611 bnxt_hwrm_reserve_pf_rings(struct bnxt_softc *softc) argument 1637 bnxt_cfg_async_cr(struct bnxt_softc *softc) argument 1660 bnxt_validate_hw_lro_settings(struct bnxt_softc *softc) argument 1676 bnxt_hwrm_vnic_tpa_cfg(struct bnxt_softc *softc) argument 1718 bnxt_hwrm_nvm_find_dir_entry(struct bnxt_softc *softc, uint16_t type, uint16_t *ordinal, uint16_t ext, uint16_t *index, bool use_index, uint8_t search_opt, uint32_t *data_length, uint32_t *item_length, uint32_t *fw_ver) argument 1766 bnxt_hwrm_nvm_read(struct bnxt_softc *softc, uint16_t index, uint32_t offset, uint32_t length, struct iflib_dma_info *data) argument 1799 bnxt_hwrm_nvm_modify(struct bnxt_softc *softc, uint16_t index, uint32_t offset, void *data, bool cpyin, uint32_t length) argument 1841 bnxt_hwrm_fw_reset(struct bnxt_softc *softc, uint8_t processor, uint8_t *selfreset) argument 1867 bnxt_hwrm_fw_qstatus(struct bnxt_softc *softc, uint8_t type, uint8_t *selfreset) argument 1891 bnxt_hwrm_nvm_write(struct bnxt_softc *softc, void *data, bool cpyin, uint16_t type, uint16_t ordinal, uint16_t ext, uint16_t attr, uint16_t option, uint32_t data_length, bool keep, uint32_t *item_length, uint16_t *index) argument 1958 bnxt_hwrm_nvm_erase_dir_entry(struct bnxt_softc *softc, uint16_t index) argument 1976 bnxt_hwrm_nvm_get_dir_info(struct bnxt_softc *softc, uint32_t *entries, uint32_t *entry_length) argument 2006 bnxt_hwrm_nvm_get_dir_entries(struct bnxt_softc *softc, uint32_t *entries, uint32_t *entry_length, struct iflib_dma_info *dma_data) argument 2051 bnxt_hwrm_nvm_get_dev_info(struct bnxt_softc *softc, uint16_t *mfg_id, uint16_t *device_id, uint32_t *sector_size, uint32_t *nvram_size, uint32_t *reserved_size, uint32_t *available_size) argument 2090 bnxt_hwrm_nvm_install_update(struct bnxt_softc *softc, uint32_t install_type, uint64_t *installed_items, uint8_t *result, uint8_t *problem_item, uint8_t *reset_required) argument 2126 bnxt_hwrm_nvm_verify_update(struct bnxt_softc *softc, uint16_t type, uint16_t ordinal, uint16_t ext) argument 2149 bnxt_hwrm_fw_get_time(struct bnxt_softc *softc, uint16_t *year, uint8_t *month, uint8_t *day, uint8_t *hour, uint8_t *minute, uint8_t *second, uint16_t *millisecond, uint16_t *zone) argument 2188 bnxt_hwrm_fw_set_time(struct bnxt_softc *softc, uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint16_t millisecond, uint16_t zone) argument 2207 bnxt_read_sfp_module_eeprom_info(struct bnxt_softc *softc, uint16_t i2c_addr, uint16_t page_number, uint8_t bank,bool bank_sel_en, uint16_t start_addr, uint16_t data_length, uint8_t *buf) argument 2246 bnxt_hwrm_port_phy_qcfg(struct bnxt_softc *softc) argument 2351 bnxt_hwrm_phy_qcaps(struct bnxt_softc *softc) argument 2400 bnxt_hwrm_get_wol_fltrs(struct bnxt_softc *softc, uint16_t handle) argument 2426 bnxt_hwrm_alloc_wol_fltr(struct bnxt_softc *softc) argument 2447 bnxt_hwrm_free_wol_fltr(struct bnxt_softc *softc) argument 2459 bnxt_hwrm_set_coal_params(struct bnxt_softc *softc, uint32_t max_frames, uint32_t buf_tmrs, uint16_t flags, struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req) argument 2474 bnxt_hwrm_set_coal(struct bnxt_softc *softc) argument 2543 bnxt_hwrm_func_rgtr_async_events(struct bnxt_softc *softc, unsigned long *bmap, int bmap_size) argument 2584 bnxt_hwrm_ring_info_get(struct bnxt_softc *softc, uint8_t ring_type, uint32_t ring_id, uint32_t *prod, uint32_t *cons) argument [all...] |
H A D | bnxt_mgmt.c | 102 struct bnxt_softc *softc = NULL; local 116 softc = bnxt_find_dev(mgmt_req.hdr.domain, mgmt_req.hdr.bus, 118 if (!softc) { 119 printf("%s: %s:%d unable to find softc reference\n", 125 device_printf(softc->dev, "%s:%d Failed to copy data from user\n", 132 device_printf(softc->dev, "%s:%d Invalid length\n", 138 device_printf(softc->dev, "%s:%d Max num_dma_indications " 145 device_printf(softc->dev, "%s:%d Memory allocation failed", 152 device_printf(softc->dev, "%s:%d Memory allocation failed", 159 device_printf(softc 257 struct bnxt_softc *softc = NULL; local [all...] |
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_ha.c | 100 ctl_ha_conn_wake(struct ha_softc *softc) argument 103 mtx_lock(&softc->ha_lock); 104 softc->ha_wakeup = 1; 105 mtx_unlock(&softc->ha_lock); 106 wakeup(&softc->ha_wakeup); 112 struct ha_softc *softc = arg; local 114 ctl_ha_conn_wake(softc); 121 struct ha_softc *softc = arg; local 123 wakeup(&softc->ha_receiving); 130 struct ha_softc *softc local 137 ctl_ha_evt(struct ha_softc *softc, ctl_ha_channel ch, ctl_ha_event evt, int param) argument 154 ctl_ha_close(struct ha_softc *softc) argument 191 ctl_ha_lclose(struct ha_softc *softc) argument 208 struct ha_softc *softc = arg; local 268 ctl_ha_send(struct ha_softc *softc) argument 301 ctl_ha_sock_setup(struct ha_softc *softc) argument 365 ctl_ha_connect(struct ha_softc *softc) argument 397 ctl_ha_accept(struct ha_softc *softc) argument 428 ctl_ha_listen(struct ha_softc *softc) argument 494 struct ha_softc *softc = arg; local 557 struct ha_softc *softc = (struct ha_softc *)arg1; local 605 struct ha_softc *softc = &ha_softc; local 616 struct ha_softc *softc = &ha_softc; local 631 struct ha_softc *softc = &ha_softc; local 670 struct ha_softc *softc = &ha_softc; local 743 struct ha_softc *softc = &ha_softc; local 779 struct ha_softc *softc = &ha_softc; local 808 struct ha_softc *softc = &ha_softc; local 872 struct ha_softc *softc = &ha_softc; local 905 struct ha_softc *softc = &ha_softc; local 927 struct ha_softc *softc = &ha_softc; local [all...] |
H A D | ctl_backend.c | 67 struct ctl_softc *softc = control_softc; local 72 mtx_lock(&softc->ctl_lock); 73 STAILQ_FOREACH(be_tmp, &softc->be_list, links) { 75 mtx_unlock(&softc->ctl_lock); 79 mtx_unlock(&softc->ctl_lock); 93 mtx_lock(&softc->ctl_lock); 94 STAILQ_INSERT_TAIL(&softc->be_list, be, links); 95 softc->num_backends++; 96 mtx_unlock(&softc->ctl_lock); 103 struct ctl_softc *softc local 125 struct ctl_softc *softc = control_softc; local [all...] |
H A D | ctl_frontend.c | 72 struct ctl_softc *softc = control_softc; local 76 KASSERT(softc != NULL, ("CTL is not initialized")); 79 mtx_lock(&softc->ctl_lock); 80 STAILQ_FOREACH(fe_tmp, &softc->fe_list, links) { 82 mtx_unlock(&softc->ctl_lock); 86 mtx_unlock(&softc->ctl_lock); 98 mtx_lock(&softc->ctl_lock); 99 softc->num_frontends++; 100 STAILQ_INSERT_TAIL(&softc->fe_list, fe, links); 101 mtx_unlock(&softc 108 struct ctl_softc *softc = control_softc; local 130 struct ctl_softc *softc = control_softc; local 147 struct ctl_softc *softc = control_softc; local 226 struct ctl_softc *softc = port->ctl_softc; local 313 struct ctl_softc *softc = port->ctl_softc; local 356 struct ctl_softc *softc = port->ctl_softc; local [all...] |
/freebsd-current/sys/cam/ata/ |
H A D | ata_da.c | 860 static void adasetflags(struct ada_softc *softc, 862 static void adasetgeom(struct ada_softc *softc, 865 static void ada_dsmtrim(struct ada_softc *softc, struct bio *bp, 867 static void ada_cfaerase(struct ada_softc *softc, struct bio *bp, 912 #define ADA_RA (softc->read_ahead >= 0 ? \ 913 softc->read_ahead : ada_read_ahead) 914 #define ADA_WC (softc->write_cache >= 0 ? \ 915 softc->write_cache : ada_write_cache) 980 struct ada_softc *softc; local 998 softc 1010 struct ada_softc *softc; local 1062 struct ada_softc *softc = (struct ada_softc *)periph->softc; local 1079 struct ada_softc *softc; local 1123 struct ada_softc *softc; local 1248 struct ada_softc *softc; local 1278 struct ada_softc *softc; local 1307 adasetdeletemethod(struct ada_softc *softc) argument 1326 struct ada_softc *softc; local 1381 struct ada_softc *softc; local 1420 struct ada_softc *softc; local 1449 struct ada_softc *softc; local 1482 struct ada_softc *softc; local 1643 struct ada_softc *softc; local 1694 struct ada_softc *softc = arg1; local 1709 adasetflags(struct ada_softc *softc, struct ccb_getdev *cgd) argument 1811 struct ada_softc *softc; local 1990 ada_dsmtrim_req_create(struct ada_softc *softc, struct bio *bp, struct trim_request *req) argument 2056 ada_dsmtrim(struct ada_softc *softc, struct bio *bp, struct ccb_ataio *ataio) argument 2075 ada_ncq_dsmtrim(struct ada_softc *softc, struct bio *bp, struct ccb_ataio *ataio) argument 2099 ada_cfaerase(struct ada_softc *softc, struct bio *bp, struct ccb_ataio *ataio) argument 2144 struct ada_softc *softc; local 2329 struct ada_softc *softc = (struct ada_softc *)periph->softc; local 2704 struct ada_softc *softc; local 2878 struct ada_softc *softc; local 3411 struct ada_softc *softc; local 3438 adasetgeom(struct ada_softc *softc, struct ccb_getdev *cgd) argument 3552 struct ada_softc *softc = arg; local 3576 struct ada_softc *softc; local 3629 struct ada_softc *softc; local 3767 struct ada_softc *softc; local [all...] |
H A D | ata_pmp.c | 177 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; local 181 mask &= ~softc->frozen; 188 softc->frozen |= (1 << i); 199 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; local 203 mask &= softc->frozen; 210 softc->frozen &= ~(1 << i); 243 struct pmp_softc *softc; local 245 softc 266 struct pmp_softc *softc; local 339 struct pmp_softc *softc; local 367 struct pmp_softc *softc; local 422 struct pmp_softc *softc; local 583 struct pmp_softc *softc; local [all...] |
/freebsd-current/sys/amd64/vmm/amd/ |
H A D | amdvi_hw.c | 68 static void amdvi_dump_cmds(struct amdvi_softc *softc, int count); 69 static void amdvi_print_dev_cap(struct amdvi_softc *softc); 124 amdvi_pci_read(struct amdvi_softc *softc, int off) argument 127 return (pci_cfgregread(softc->pci_seg, PCI_RID2BUS(softc->pci_rid), 128 PCI_RID2SLOT(softc->pci_rid), PCI_RID2FUNC(softc->pci_rid), 172 amdvi_dev_support_iotlb(struct amdvi_softc *softc, uint16_t devid) argument 182 KASSERT(softc, ("softc i 207 amdvi_hw_enable_iotlb(struct amdvi_softc *softc) argument 233 amdvi_init_cmd(struct amdvi_softc *softc) argument 264 amdvi_get_cmd_tail(struct amdvi_softc *softc) argument 285 amdvi_update_cmd_tail(struct amdvi_softc *softc) argument 313 amdvi_cmd_cmp(struct amdvi_softc *softc, const uint64_t data) argument 332 amdvi_cmd_inv_dte(struct amdvi_softc *softc, uint16_t devid) argument 348 amdvi_cmd_inv_iommu_pages(struct amdvi_softc *softc, uint16_t domain_id, uint64_t addr, bool guest_nested, bool pde, bool page) argument 372 amdvi_cmd_inv_iotlb(struct amdvi_softc *softc, uint16_t devid) argument 403 amdvi_cmd_inv_intr_map(struct amdvi_softc *softc, uint16_t devid) argument 421 amdvi_inv_domain(struct amdvi_softc *softc, uint16_t domain_id) argument 442 amdvi_cmp_wait(struct amdvi_softc *softc) argument 471 amdvi_wait(struct amdvi_softc *softc) argument 497 amdvi_dump_cmds(struct amdvi_softc *softc, int count) argument 521 amdvi_init_event(struct amdvi_softc *softc) argument 687 amdvi_print_events(struct amdvi_softc *softc) argument 708 amdvi_init_dte(struct amdvi_softc *softc) argument 726 struct amdvi_softc *softc; local 753 struct amdvi_softc *softc; local 772 struct amdvi_softc *softc; local 782 amdvi_alloc_intr_resources(struct amdvi_softc *softc) argument 803 amdvi_print_dev_cap(struct amdvi_softc *softc) argument 823 struct amdvi_softc *softc; local 859 amdvi_add_sysctl(struct amdvi_softc *softc) argument 890 amdvi_setup_hw(struct amdvi_softc *softc) argument 925 amdvi_teardown_hw(struct amdvi_softc *softc) argument 985 struct amdvi_softc *softc; local 1200 struct amdvi_softc *softc; local 1220 amdvi_set_dte(struct amdvi_domain *domain, struct amdvi_softc *softc, uint16_t devid, bool enable) argument 1259 amdvi_inv_device(struct amdvi_softc *softc, uint16_t devid) argument 1275 struct amdvi_softc *softc; local 1294 struct amdvi_softc *softc; local 1312 struct amdvi_softc *softc; local 1347 struct amdvi_softc *softc; local [all...] |
H A D | ivrs_drv.c | 180 ivhd_dev_add_entry(struct amdvi_softc *softc, uint32_t start_id, argument 185 KASSERT(softc->dev_cfg_cap >= softc->dev_cfg_cnt, 187 if (softc->dev_cfg_cap == softc->dev_cfg_cnt) { 188 if (softc->dev_cfg_cap == 0) 189 softc->dev_cfg_cap = 1; 191 softc->dev_cfg_cap <<= 2; 192 softc->dev_cfg = realloc(softc 208 ivhd_dev_parse(ACPI_IVRS_HARDWARE1 *ivhd, struct amdvi_softc *softc) argument 609 ivhd_print_cap(struct amdvi_softc *softc, ACPI_IVRS_HARDWARE1 * ivhd) argument 638 struct amdvi_softc *softc; local 712 struct amdvi_softc *softc; local [all...] |
/freebsd-current/sys/cam/scsi/ |
H A D | scsi_target.c | 70 TARG_STATE_OPENED = 0x01, /* Device opened, softc initialized */ 126 static cam_status targenable(struct targ_softc *softc, 129 static cam_status targdisable(struct targ_softc *softc); 133 static int targusermerge(struct targ_softc *softc, 136 static int targsendccb(struct targ_softc *softc, union ccb *ccb, 140 static int targreturnccb(struct targ_softc *softc, 142 static union ccb * targgetccb(struct targ_softc *softc, xpt_opcode type, 144 static void targfreeccb(struct targ_softc *softc, union ccb *ccb); 146 targgetdescr(struct targ_softc *softc); 150 static void abort_all_pending(struct targ_softc *softc); 168 struct targ_softc *softc; local 203 struct targ_softc *softc; local 226 struct targ_softc *softc; local 295 struct targ_softc *softc; local 321 struct targ_softc *softc; local 333 struct targ_softc *softc; local 343 struct targ_softc *softc; local 380 targenable(struct targ_softc *softc, struct cam_path *path, int grp6_len, int grp7_len) argument 454 targdisable(struct targ_softc *softc) argument 481 struct targ_softc *softc; local 494 struct targ_softc *softc; local 524 struct targ_softc *softc; local 615 struct targ_softc *softc; local 650 targusermerge(struct targ_softc *softc, struct targ_cmd_descr *descr, union ccb *ccb) argument 707 targsendccb(struct targ_softc *softc, union ccb *ccb, struct targ_cmd_descr *descr) argument 760 struct targ_softc *softc; local 801 struct targ_softc *softc; local 899 targreturnccb(struct targ_softc *softc, union ccb *ccb) argument 942 targgetccb(struct targ_softc *softc, xpt_opcode type, int priority) argument 965 targfreeccb(struct targ_softc *softc, union ccb *ccb) argument 994 targgetdescr(struct targ_softc *softc) argument 1025 abort_all_pending(struct targ_softc *softc) argument 1078 notify_user(struct targ_softc *softc) argument [all...] |
H A D | scsi_sa.c | 371 #define SA_PROT_ENABLED(softc) ((softc->flags & SA_FLAG_PROTECT_SUPP) \ 372 && (softc->prot_info.cur_prot_state.initialized != 0) \ 373 && (softc->prot_info.cur_prot_state.prot_method != 0)) 375 #define SA_PROT_LEN(softc) softc->prot_info.cur_prot_state.pi_length 626 static void safillprot(struct sa_softc *softc, int *indent, 640 static int saparamget(struct sa_softc *softc, struct sbuf *sb); 646 static void sasetupdev(struct sa_softc *softc, struct cdev *dev); 647 static void saloadtotunables(struct sa_softc *softc); 714 struct sa_softc *softc; local 790 struct sa_softc *softc; local 959 struct sa_softc *softc; local 1076 struct sa_softc *softc; local 1136 struct sa_softc *softc; local 1166 safillprot(struct sa_softc *softc, int *indent, struct sbuf *sb) argument 1243 struct sa_softc *softc; local 1513 struct sa_softc *softc; local 1564 struct sa_softc *softc; local 2198 struct sa_softc *softc; local 2241 struct sa_softc *softc; local 2273 struct sa_softc *softc; local 2339 sasetupdev(struct sa_softc *softc, struct cdev *dev) argument 2360 saloadtotunables(struct sa_softc *softc) argument 2391 struct sa_softc *softc; local 2464 struct sa_softc *softc; local 2755 struct sa_softc *softc; local 3020 struct sa_softc *softc; local 3172 struct sa_softc *softc; local 3637 struct sa_softc *softc; local 3672 struct sa_softc *softc; local 3888 struct sa_softc *softc; local 4209 struct sa_softc *softc; local 4395 struct sa_softc *softc; local 4711 struct sa_softc *softc; local 4892 saparamget(struct sa_softc *softc, struct sbuf *sb) argument 4911 struct sa_softc *softc; local 4951 struct sa_softc *softc; local 4982 struct sa_softc *softc; local 5057 struct sa_softc *softc; local 5080 struct sa_softc *softc = (struct sa_softc *)periph->softc; local 5120 struct sa_softc *softc = (struct sa_softc *)periph->softc; local 5217 struct sa_softc *softc = (struct sa_softc *)periph->softc; local 5260 struct sa_softc *softc; local 5375 struct sa_softc *softc; local 5404 struct sa_softc *softc; local 5435 struct sa_softc *softc; local 5467 struct sa_softc *softc; local 5737 safilldensitysb(struct sa_softc *softc, int *indent, struct sbuf *sb) argument 5782 saloadtimeouts(struct sa_softc *softc, union ccb *ccb) argument [all...] |
H A D | scsi_da.c | 396 #define dadeleteflag(softc, delete_method, enable) \ 398 softc->delete_available |= (1 << delete_method); \ 400 softc->delete_available &= ~(1 << delete_method); \ 1497 static void dadeletemethodset(struct da_softc *softc, 1499 static off_t dadeletemaxsize(struct da_softc *softc, 1501 static void dadeletemethodchoose(struct da_softc *softc, 1676 struct da_softc *softc = periph->softc; local 1678 cnt = atomic_fetchadd_int(&softc->ref_flags[token], 1); 1689 struct da_softc *softc local 1710 struct da_softc *softc = periph->softc; local 1723 struct da_softc *softc = periph->softc; local 1738 struct da_softc *softc = periph->softc; local 1767 struct da_softc *softc; local 1819 struct da_softc *softc; local 1872 struct da_softc *softc = (struct da_softc *)periph->softc; local 1889 struct da_softc *softc; local 1933 struct da_softc *softc; local 2054 struct da_softc *softc; local 2087 struct da_softc *softc; local 2121 struct da_softc *softc; local 2167 struct da_softc *softc; local 2257 struct da_softc *softc; local 2452 struct da_softc *softc; local 2523 dadeletemethodset(struct da_softc *softc, da_delete_methods delete_method) argument 2537 dadeletemaxsize(struct da_softc *softc, da_delete_methods delete_method) argument 2566 struct da_softc *softc; local 2631 dadeletemethodchoose(struct da_softc *softc, da_delete_methods default_method) argument 2676 struct da_softc *softc = arg1; local 2695 struct da_softc *softc; local 2724 struct da_softc *softc; local 2753 struct da_softc *softc; local 2785 struct da_softc *softc; local 3034 struct da_softc *softc; local 3310 struct da_softc *softc; local 4002 struct da_softc *softc = (struct da_softc *)periph->softc; local 4142 struct da_softc *softc = (struct da_softc *)periph->softc; local 4234 struct da_softc *softc; local 4294 struct da_softc *softc; local 4396 struct da_softc *softc; local 4543 struct da_softc *softc; local 4700 struct da_softc *softc; local 4782 struct da_softc *softc; local 5070 struct da_softc *softc; local 5128 struct da_softc *softc; local 5222 struct da_softc *softc; local 5323 struct da_softc *softc; local 5461 struct da_softc *softc; local 5542 struct da_softc *softc; local 5633 struct da_softc *softc; local 5746 struct da_softc *softc; local 5840 struct da_softc *softc; local 5917 struct da_softc *softc; local 5945 struct da_softc *softc; local 5966 struct da_softc *softc; local 6055 struct da_softc *softc = periph->softc; local 6077 struct da_softc *softc; local 6119 struct da_softc *softc; local 6246 struct da_softc *softc = periph->softc; local 6271 struct da_softc *softc; local [all...] |
H A D | scsi_pt.c | 136 struct pt_softc *softc; local 143 softc = (struct pt_softc *)periph->softc; 146 if (softc->flags & PT_FLAG_DEVICE_INVALID) { 152 if ((softc->flags & PT_FLAG_OPEN) == 0) 153 softc->flags |= PT_FLAG_OPEN; 170 struct pt_softc *softc; local 173 softc = (struct pt_softc *)periph->softc; 177 softc 192 struct pt_softc *softc; local 246 struct pt_softc *softc; local 322 struct pt_softc *softc; local 344 struct pt_softc *softc; local 397 struct pt_softc *softc; local 419 struct pt_softc *softc; local 472 struct pt_softc *softc; local 568 struct pt_softc *softc; local [all...] |
H A D | scsi_pass.c | 170 static void passiocleanup(struct pass_softc *softc, 235 struct pass_softc *softc; local 237 softc = (struct pass_softc *)periph->softc; 243 TAILQ_FOREACH_SAFE(io_req, &softc->done_queue, links, io_req2) { 244 TAILQ_REMOVE(&softc->done_queue, io_req, links); 245 passiocleanup(softc, io_req); 246 uma_zfree(softc->pass_zone, io_req); 254 TAILQ_FOREACH_SAFE(io_req, &softc->incoming_queue, links, io_req2) { 255 TAILQ_REMOVE(&softc 290 struct pass_softc *softc; local 338 struct pass_softc *softc; local 359 struct pass_softc *softc; local 420 struct pass_softc *softc; local 438 struct pass_softc *softc; local 531 struct pass_softc *softc; local 557 struct pass_softc *softc; local 714 struct pass_softc *softc; local 771 struct pass_softc *softc; local 849 struct pass_softc *softc; local 897 struct pass_softc *softc; local 1036 struct pass_softc *softc; local 1117 passiocleanup(struct pass_softc *softc, struct pass_io_req *io_req) argument 1281 struct pass_softc *softc; local 1674 struct pass_softc *softc; local 1750 struct pass_softc *softc; local 2097 struct pass_softc *softc; local 2122 struct pass_softc *softc; local 2138 struct pass_softc *softc; local 2150 struct pass_softc *softc; local 2173 struct pass_softc *softc; local [all...] |
H A D | scsi_ch.c | 244 struct ch_softc *softc; local 253 softc = (struct ch_softc *)periph->softc; 254 KASSERT(softc->open_count >= 0, ("Negative open count %d", 255 softc->open_count)); 262 for (i = 0; i < softc->open_count; i++) 265 softc->open_count = 0; 285 struct ch_softc *softc; local 287 softc = (struct ch_softc *)periph->softc; 306 struct ch_softc *softc; local 365 struct ch_softc *softc; local 460 struct ch_softc *softc; local 506 struct ch_softc *softc; local 538 struct ch_softc *softc; local 596 struct ch_softc *softc; local 742 struct ch_softc *softc; local 860 struct ch_softc *softc; local 914 struct ch_softc *softc; local 977 struct ch_softc *softc; local 1046 copy_element_status(struct ch_softc *softc, uint16_t flags, struct read_element_status_descriptor *desc, struct changer_element_status *ces, int scsi_version) argument 1191 struct ch_softc *softc; local 1406 struct ch_softc *softc; local 1441 struct ch_softc *softc; local 1528 struct ch_softc *softc; local [all...] |
/freebsd-current/sys/dev/enic/ |
H A D | if_enic.c | 242 struct enic_softc *softc; local 256 softc = iflib_get_softc(ctx); 257 softc->dev = dev; 258 softc->ctx = ctx; 259 softc->sctx = iflib_get_sctx(ctx); 260 softc->scctx = iflib_get_softc_ctx(ctx); 261 softc->ifp = iflib_get_ifp(ctx); 262 softc->media = iflib_get_media(ctx); 263 softc->mta = malloc(sizeof(u8) * ETHER_ADDR_LEN * 266 if (softc 440 struct enic_softc *softc; local 537 enic_free_irqs(struct enic_softc *softc) argument 561 struct enic_softc *softc; local 581 struct enic_softc *softc; local 605 struct enic_softc *softc; local 679 struct enic_softc *softc; local 748 struct enic_softc *softc; local 773 struct enic_softc *softc; local 793 struct enic_softc *softc; local 806 struct enic_softc *softc; local 839 struct enic_softc *softc; local 869 enic_del_mcast(struct enic_softc *softc) argument 882 enic_add_mcast(struct enic_softc *softc) argument 909 struct enic_softc *softc; local 938 struct enic_softc *softc; local 958 struct enic_softc *softc; local 995 struct enic_softc *softc; local 1028 struct enic_softc *softc; local 1039 struct enic_softc *softc; local 1056 enic_link_is_up(struct enic_softc *softc) argument 1062 enic_link_status(struct enic_softc *softc) argument 1086 enic_set_lladdr(struct enic_softc *softc) argument 1188 enic_setup_queue_sysctl(struct enic_softc *softc, struct sysctl_ctx_list *ctx, struct sysctl_oid_list *child) argument 1196 enic_setup_sysctl(struct enic_softc *softc) argument 1212 enic_enable_intr(struct enic_softc *softc, int irq) argument 1221 enic_disable_intr(struct enic_softc *softc, int irq) argument 1232 struct enic_softc *softc; local 1246 struct enic_softc *softc; local 1257 struct enic_softc *softc; local 1272 struct enic_softc *softc; local 1396 enic_pci_mapping(struct enic_softc *softc) argument 1410 enic_pci_mapping_free(struct enic_softc *softc) argument 1448 enic_map_bar(struct enic_softc *softc, struct enic_bar_info *bar, int bar_num, bool shareable) argument 1558 struct enic_softc *softc = enic->softc; local 1583 struct enic_softc *softc = enic->softc; local [all...] |
H A D | enic_txrx.c | 85 struct enic_softc *softc; local 104 softc = vsc; 105 enic = &softc->enic; 110 ENIC_LOCK(softc); 140 ENIC_UNLOCK(softc); 148 struct enic_softc *softc; local 153 softc = vsc; 154 enic = &softc->enic; 156 ENIC_LOCK(softc); 161 ENIC_UNLOCK(softc); 168 struct enic_softc *softc; local 209 struct enic_softc *softc; local 229 struct enic_softc *softc; local 259 struct enic_softc *softc; local 303 struct enic_softc *softc; local 353 struct enic_softc *softc = enic->softc; local [all...] |
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | ip_lookup.c | 90 /* Parameters: softc(I) - pointer to soft context main structure */ 95 ipf_lookup_soft_create(ipf_main_softc_t *softc) argument 108 softl->ipf_back[i] = (*(*l)->ipfl_create)(softc); 110 ipf_lookup_soft_destroy(softc, softl); 122 /* Parameters: softc(I) - pointer to soft context main structure */ 128 ipf_lookup_soft_init(ipf_main_softc_t *softc, void *arg) argument 135 err = (*backends[i]->ipfl_init)(softc, softl->ipf_back[i]); 147 /* Parameters: softc(I) - pointer to soft context main structure */ 153 ipf_lookup_soft_fini(ipf_main_softc_t *softc, void *arg) argument 160 (*backends[i]->ipfl_fini)(softc, 177 ipf_lookup_expire(ipf_main_softc_t *softc) argument 200 ipf_lookup_soft_destroy(ipf_main_softc_t *softc, void *arg) argument 232 ipf_lookup_ioctl(ipf_main_softc_t *softc, caddr_t data, ioctlcmd_t cmd, int mode, int uid, void *ctx) argument 312 ipf_lookup_addnode(ipf_main_softc_t *softc, caddr_t data, int uid) argument 362 ipf_lookup_delnode(ipf_main_softc_t *softc, caddr_t data, int uid) argument 410 ipf_lookup_addtable(ipf_main_softc_t *softc, caddr_t data) argument 471 ipf_lookup_deltable(ipf_main_softc_t *softc, caddr_t data) argument 518 ipf_lookup_stats(ipf_main_softc_t *softc, caddr_t data) argument 566 ipf_lookup_flush(ipf_main_softc_t *softc, caddr_t data) argument 624 ipf_lookup_deref(ipf_main_softc_t *softc, int type, void *ptr) argument 656 ipf_lookup_iterate(ipf_main_softc_t *softc, void *data, int uid, void *ctx) argument 723 ipf_lookup_iterderef(ipf_main_softc_t *softc, u_32_t type, void *data) argument 765 ipf_lookup_deltok(ipf_main_softc_t *softc, void *data, int uid, void *ctx) argument 795 ipf_lookup_res_num(ipf_main_softc_t *softc, int unit, u_int type, u_int number, lookupfunc_t *funcptr) argument 822 ipf_lookup_res_name(ipf_main_softc_t *softc, int unit, u_int type, char *name, lookupfunc_t *funcptr) argument 867 ipf_lookup_find_htable(ipf_main_softc_t *softc, int unit, char *name) argument 899 ipf_lookup_sync(ipf_main_softc_t *softc, void *ifp) argument 917 ipf_lookup_dump(ipf_main_softc_t *softc, void *arg) argument [all...] |
H A D | fil.c | 114 #define LBUMP(x) softc->x++ 115 #define LBUMPD(x, y) do { softc->x.y++; DT(y); } while (0) 569 ipf_main_softc_t *softc = fin->fin_main_soft; local 582 ipf_main_softc_t *softc = fin->fin_main_soft; local 610 ipf_main_softc_t *softc = fin->fin_main_soft; local 741 ipf_main_softc_t *softc = fin->fin_main_soft; local 790 ipf_main_softc_t *softc = fin->fin_main_soft; local 848 ipf_main_softc_t *softc = fin->fin_main_soft; local 876 ipf_main_softc_t *softc = fin->fin_main_soft; local 1010 ipf_main_softc_t *softc local 1037 ipf_main_softc_t *softc = fin->fin_main_soft; local 1066 ipf_main_softc_t *softc = fin->fin_main_soft; local 1100 ipf_main_softc_t *softc = fin->fin_main_soft; local 1176 ipf_main_softc_t *softc = fin->fin_main_soft; local 1295 ipf_main_softc_t *softc = fin->fin_main_soft; local 1477 ipf_main_softc_t *softc = fin->fin_main_soft; local 1550 ipf_main_softc_t *softc = fin->fin_main_soft; local 1570 ipf_main_softc_t *softc = fin->fin_main_soft; local 1618 ipf_main_softc_t *softc = fin->fin_main_soft; local 1901 ipf_main_softc_t *softc = fin->fin_main_soft; local 2000 ipf_main_softc_t *softc = fin->fin_main_soft; local 2342 ipf_main_softc_t *softc = fin->fin_main_soft; local 2595 ipf_main_softc_t *softc = fin->fin_main_soft; local 2636 ipf_main_softc_t *softc = fin->fin_main_soft; local 2765 ipf_main_softc_t *softc = ctx; local 3244 ipf_main_softc_t *softc = fin->fin_main_soft; local 3434 ipf_findgroup(ipf_main_softc_t *softc, char *group, minor_t unit, int set, frgroup_t ***fgpp) argument 3473 ipf_group_add(ipf_main_softc_t *softc, char *group, void *head, u_32_t flags, minor_t unit, int set) argument 3529 ipf_group_del(ipf_main_softc_t *softc, frgroup_t *group, frentry_t *fr) argument 3572 ipf_group_flush(ipf_main_softc_t *softc, frgroup_t *group) argument 3595 ipf_getrulen(ipf_main_softc_t *softc, int unit, char *group, u_32_t n) argument 3629 ipf_flushlist(ipf_main_softc_t *softc, int *nfreedp, frentry_t **listp) argument 3680 ipf_flush(ipf_main_softc_t *softc, minor_t unit, int flags) argument 3730 ipf_flush_groups(ipf_main_softc_t *softc, frgroup_t **grhead, int flags) argument 3903 ipf_synclist(ipf_main_softc_t *softc, frentry_t *fr, void *ifp) argument 4017 ipf_sync(ipf_main_softc_t *softc, void *ifp) argument 4064 copyinptr(ipf_main_softc_t *softc, void *src, void *dst, size_t size) argument 4097 copyoutptr(ipf_main_softc_t *softc, void *src, void *dst, size_t size) argument 4153 ipf_getstat(ipf_main_softc_t *softc, friostat_t *fiop, int rev) argument 4402 frrequest(ipf_main_softc_t *softc, int unit, ioctlcmd_t req, caddr_t data, int set, int makecopy) argument 5100 ipf_rule_delete(ipf_main_softc_t *softc, frentry_t *f, int unit, int set) argument 5139 ipf_rule_expire_insert(ipf_main_softc_t *softc, frentry_t *f, int set) argument 5191 ipf_findlookup(ipf_main_softc_t *softc, int unit, frentry_t *fr, i6addr_t *addrp, i6addr_t *maskp) argument 5230 ipf_funcinit(ipf_main_softc_t *softc, frentry_t *fr) argument 5260 ipf_funcfini(ipf_main_softc_t *softc, frentry_t *fr) argument 5303 ipf_resolvefunc(ipf_main_softc_t *softc, void *data) argument 5401 ipf_derefrule(ipf_main_softc_t *softc, frentry_t **frp) argument 5469 ipf_grpmapinit(ipf_main_softc_t *softc, frentry_t *fr) argument 5500 ipf_grpmapfini(ipf_main_softc_t *softc, frentry_t *fr) argument 5595 ipf_addtimeoutqueue(ipf_main_softc_t *softc, ipftq_t **parent, u_int seconds) argument 5677 ipf_freetimeoutqueue(ipf_main_softc_t *softc, ipftq_t *ifq) argument 6033 ipf_ioctlswitch(ipf_main_softc_t *softc, int unit, void *data, ioctlcmd_t cmd, int mode, int uid, void *ctx) argument 6176 ipf_inobj(ipf_main_softc_t *softc, void *data, ipfobj_t *objp, void *ptr, int type) argument 6247 ipf_inobjsz(ipf_main_softc_t *softc, void *data, void *ptr, int type, int sz) argument 6306 ipf_outobjsz(ipf_main_softc_t *softc, void *data, void *ptr, int type, int sz) argument 6362 ipf_outobj(ipf_main_softc_t *softc, void *data, void *ptr, int type) argument 6425 ipf_outobjk(ipf_main_softc_t *softc, ipfobj_t *obj, void *ptr) argument 6712 ipf_main_softc_t *softc = fin->fin_main_soft; local 6831 ipf_tune_add_array(ipf_main_softc_t *softc, ipftuneable_t *newtune) argument 6864 ipf_tune_array_link(ipf_main_softc_t *softc, ipftuneable_t *array) argument 6897 ipf_tune_array_unlink(ipf_main_softc_t *softc, ipftuneable_t *array) argument 6966 ipf_tune_add(ipf_main_softc_t *softc, ipftuneable_t *newtune) argument 6996 ipf_tune_del(ipf_main_softc_t *softc, ipftuneable_t *oldtune) argument 7030 ipf_tune_del_array(ipf_main_softc_t *softc, ipftuneable_t *oldtune) argument 7060 ipf_ipftune(ipf_main_softc_t *softc, ioctlcmd_t cmd, void *data) argument 7237 ipf_zerostats(ipf_main_softc_t *softc, caddr_t data) argument 7274 ipf_resolvedest(ipf_main_softc_t *softc, char *base, frdest_t *fdp, int v) argument 7317 ipf_resolvenic(ipf_main_softc_t *softc, char *name, int v) argument 7345 ipf_token_expire(ipf_main_softc_t *softc) argument 7372 ipf_token_flush(ipf_main_softc_t *softc) argument 7401 ipf_token_del(ipf_main_softc_t *softc, int type, int uid, void *ptr) argument 7454 ipf_token_find(ipf_main_softc_t *softc, int type, int uid, void *ptr) argument 7515 ipf_token_unlink(ipf_main_softc_t *softc, ipftoken_t *token) argument 7541 ipf_token_deref(ipf_main_softc_t *softc, ipftoken_t *token) argument 7606 ipf_nextrule(ipf_main_softc_t *softc, int active, int unit, frentry_t *fr, int out) argument 7655 ipf_getnextrule(ipf_main_softc_t *softc, ipftoken_t *t, void *ptr) argument 7798 ipf_frruleiter(ipf_main_softc_t *softc, void *data, int uid, void *ctx) argument 7834 ipf_geniter(ipf_main_softc_t *softc, ipftoken_t *token, ipfgeniter_t *itp) argument 7864 ipf_genericiter(ipf_main_softc_t *softc, void *data, int uid, void *ctx) argument 7904 ipf_ipf_ioctl(ipf_main_softc_t *softc, caddr_t data, ioctlcmd_t cmd, int mode, int uid, void *ctx) argument 8399 ipf_matcharray_load(ipf_main_softc_t *softc, caddr_t data, ipfobj_t *objp, int **arrayptr) argument 8713 ipf_queueflush(ipf_main_softc_t *softc, ipftq_delete_fn_t deletefn, ipftq_t *ipfqs, ipftq_t *userqs, u_int *activep, int size, int low) argument 8824 ipf_deliverlocal(ipf_main_softc_t *softc, int ipversion, void *ifp, i6addr_t *ipaddr) argument 8861 ipf_settimeout(struct ipf_main_softc_s *softc, ipftuneable_t *t, ipftuneval_t *p) argument 8983 ipf_main_softc_t *softc; local 9064 ipf_main_soft_init(ipf_main_softc_t *softc) argument 9083 ipf_main_soft_destroy(ipf_main_softc_t *softc) argument 9114 ipf_main_soft_fini(ipf_main_softc_t *softc) argument 9254 ipf_main_softc_t *softc; local 9326 ipf_destroy_all(ipf_main_softc_t *softc) argument 9384 ipf_init_all(ipf_main_softc_t *softc) argument 9429 ipf_fini_all(ipf_main_softc_t *softc) argument 9478 ipf_rule_expire(ipf_main_softc_t *softc) argument 9650 ipf_ht_node_add(ipf_main_softc_t *softc, host_track_t *htp, int family, i6addr_t *addr) argument 9784 ipf_slowtimer(ipf_main_softc_t *softc) argument [all...] |
H A D | ip_frag.c | 154 /* Parameters: softc(I) - pointer to soft context main structure */ 160 ipf_frag_soft_create(ipf_main_softc_t *softc) argument 178 ipf_frag_soft_destroy(softc, softf); 181 if (ipf_tune_array_link(softc, softf->ipf_frag_tune) == -1) { 182 ipf_frag_soft_destroy(softc, softf); 200 /* Parameters: softc(I) - pointer to soft context main structure */ 206 ipf_frag_soft_destroy(ipf_main_softc_t *softc, void *arg) argument 215 ipf_tune_array_unlink(softc, softf->ipf_frag_tune); 227 /* Parameters: softc(I) - pointer to soft context main structure */ 234 ipf_frag_soft_init(ipf_main_softc_t *softc, voi argument 276 ipf_frag_soft_fini(ipf_main_softc_t *softc, void *arg) argument 356 ipfr_frag_new(ipf_main_softc_t *softc, ipf_frag_softc_t *softf, fr_info_t *fin, u_32_t pass, ipfr_t *table[] , ipfrwlock_t *lock ) argument 499 ipf_frag_new(ipf_main_softc_t *softc, fr_info_t *fin, u_32_t pass) argument 533 ipf_frag_natnew(ipf_main_softc_t *softc, fr_info_t *fin, u_32_t pass, nat_t *nat) argument 574 ipf_main_softc_t *softc = fin->fin_main_soft; local 612 ipf_frag_lookup(ipf_main_softc_t *softc, ipf_frag_softc_t *softf, fr_info_t *fin, ipfr_t *table[] , ipfrwlock_t *lock ) argument 781 ipf_main_softc_t *softc = fin->fin_main_soft; local 821 ipf_main_softc_t *softc = fin->fin_main_soft; local 858 ipf_main_softc_t *softc = fin->fin_main_soft; local 914 ipf_frag_natforget(ipf_main_softc_t *softc, void *ptr) argument 940 ipf_frag_delete(ipf_main_softc_t *softc, ipfr_t *fra, ipfr_t ***tail) argument 989 ipf_frag_clear(ipf_main_softc_t *softc) argument 1028 ipf_frag_expire(ipf_main_softc_t *softc) argument 1103 ipf_frag_pkt_next(ipf_main_softc_t *softc, ipftoken_t *token, ipfgeniter_t *itp) argument 1128 ipf_frag_nat_next(ipf_main_softc_t *softc, ipftoken_t *token, ipfgeniter_t *itp) argument 1158 ipf_frag_next(ipf_main_softc_t *softc, ipftoken_t *token, ipfgeniter_t *itp, ipfr_t **top , ipfrwlock_t *lock ) argument 1225 ipf_frag_pkt_deref(ipf_main_softc_t *softc, void *data) argument 1249 ipf_frag_nat_deref(ipf_main_softc_t *softc, void *data) argument [all...] |
/freebsd-current/sys/cam/nvme/ |
H A D | nvme_da.c | 218 nda_nvme_flush(struct nda_softc *softc, struct ccb_nvmeio *nvmeio) argument 227 nvme_ns_flush_cmd(&nvmeio->cmd, softc->nsid); 231 nda_nvme_trim(struct nda_softc *softc, struct ccb_nvmeio *nvmeio, argument 241 nvme_ns_trim_cmd(&nvmeio->cmd, softc->nsid, num_ranges); 245 nda_nvme_write(struct nda_softc *softc, struct ccb_nvmeio *nvmeio, argument 255 nvme_ns_write_cmd(&nvmeio->cmd, softc->nsid, lba, count); 259 nda_nvme_rw_bio(struct nda_softc *softc, struct ccb_nvmeio *nvmeio, argument 275 count = bp->bio_bcount / softc->disk->d_sectorsize; 284 nvme_ns_rw_cmd(&nvmeio->cmd, rwcmd, softc->nsid, lba, count); 291 struct nda_softc *softc; local 321 struct nda_softc *softc; local 362 struct nda_softc *softc = (struct nda_softc *)periph->softc; local 464 struct nda_softc *softc; local 503 struct nda_softc *softc; local 589 struct nda_softc *softc; local 619 struct nda_softc *softc; local 689 struct nda_softc *softc; local 708 struct nda_softc *softc; local 807 struct nda_softc *softc = arg1; local 843 struct nda_softc *softc; local 1002 struct nda_softc *softc = (struct nda_softc *)periph->softc; local 1161 struct nda_softc *softc; local 1279 struct nda_softc *softc; local 1313 struct nda_softc *softc; local [all...] |