Searched refs:softc (Results 1 - 25 of 201) sorted by relevance

123456789

/freebsd-13-stable/sys/dev/bnxt/
H A Dbnxt_sysctl.h34 int bnxt_init_sysctl_ctx(struct bnxt_softc *softc);
35 int bnxt_free_sysctl_ctx(struct bnxt_softc *softc);
36 int bnxt_create_port_stats_sysctls(struct bnxt_softc *softc);
37 int bnxt_create_tx_sysctls(struct bnxt_softc *softc, int txr);
38 int bnxt_create_rx_sysctls(struct bnxt_softc *softc, int rxr);
39 int bnxt_create_ver_sysctls(struct bnxt_softc *softc);
41 int bnxt_create_config_sysctls_pre(struct bnxt_softc *softc);
42 int bnxt_create_config_sysctls_post(struct bnxt_softc *softc);
43 int bnxt_create_hw_lro_sysctls(struct bnxt_softc *softc);
44 int bnxt_create_pause_fc_sysctls(struct bnxt_softc *softc);
[all...]
H A Dbnxt_hwrm.h42 int bnxt_alloc_hwrm_dma_mem(struct bnxt_softc *softc);
43 void bnxt_free_hwrm_dma_mem(struct bnxt_softc *softc);
44 int bnxt_hwrm_ring_alloc(struct bnxt_softc *softc, uint8_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);
53 int bnxt_hwrm_func_reset(struct bnxt_softc *softc);
[all...]
H A Dbnxt_sysctl.c53 bnxt_init_sysctl_ctx(struct bnxt_softc *softc) argument
57 sysctl_ctx_init(&softc->hw_stats);
58 ctx = device_get_sysctl_ctx(softc->dev);
59 softc->hw_stats_oid = SYSCTL_ADD_NODE(ctx,
60 SYSCTL_CHILDREN(device_get_sysctl_tree(softc->dev)), OID_AUTO,
62 if (!softc->hw_stats_oid) {
63 sysctl_ctx_free(&softc->hw_stats);
67 sysctl_ctx_init(&softc->ver_info->ver_ctx);
68 ctx = device_get_sysctl_ctx(softc->dev);
69 softc
115 bnxt_free_sysctl_ctx(struct bnxt_softc *softc) argument
161 bnxt_create_tx_sysctls(struct bnxt_softc *softc, int txr) argument
205 bnxt_create_port_stats_sysctls(struct bnxt_softc *softc) argument
654 bnxt_create_rx_sysctls(struct bnxt_softc *softc, int rxr) argument
721 struct bnxt_softc *softc = arg1; local
780 struct bnxt_softc *softc = arg1; local
803 bnxt_create_ver_sysctls(struct bnxt_softc *softc) argument
904 struct bnxt_softc *softc = arg1; local
950 struct bnxt_softc *softc = arg1; local
991 struct bnxt_softc *softc = arg1; local
1016 struct bnxt_softc *softc = arg1; local
1041 struct bnxt_softc *softc = arg1; local
1061 struct bnxt_softc *softc = arg1; local
1081 struct bnxt_softc *softc = arg1; local
1101 struct bnxt_softc *softc = arg1; local
1121 struct bnxt_softc *softc = arg1; local
1141 struct bnxt_softc *softc = arg1; local
1161 struct bnxt_softc *softc = arg1; local
1181 struct bnxt_softc *softc = arg1; local
1200 bnxt_create_config_sysctls_pre(struct bnxt_softc *softc) argument
1341 bnxt_create_hw_lro_sysctls(struct bnxt_softc *softc) argument
1379 struct bnxt_softc *softc = arg1; local
1405 bnxt_create_config_sysctls_post(struct bnxt_softc *softc) argument
[all...]
H A Dif_bnxt.c201 static int bnxt_probe_phy(struct bnxt_softc *softc);
202 static void bnxt_add_media_types(struct bnxt_softc *softc);
203 static int bnxt_pci_mapping(struct bnxt_softc *softc);
204 static void bnxt_pci_mapping_free(struct bnxt_softc *softc);
205 static int bnxt_update_link(struct bnxt_softc *softc, bool chng_link_state);
208 static void bnxt_clear_ids(struct bnxt_softc *softc);
213 static void bnxt_handle_async_event(struct bnxt_softc *softc,
215 static uint8_t get_phy_type(struct bnxt_softc *softc);
217 static void bnxt_get_wol_settings(struct bnxt_softc *softc);
349 struct bnxt_softc *softc; local
420 struct bnxt_softc *softc = iflib_get_softc(ctx); local
444 struct bnxt_softc *softc; local
647 bnxt_free_hwrm_short_cmd_req(struct bnxt_softc *softc) argument
654 bnxt_alloc_hwrm_short_cmd_req(struct bnxt_softc *softc) argument
668 struct bnxt_softc *softc = iflib_get_softc(ctx); local
944 struct bnxt_softc *softc = iflib_get_softc(ctx); local
970 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1015 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1177 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1201 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1231 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1243 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1288 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1375 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1415 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1432 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1467 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1481 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1490 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1500 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1518 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1564 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1578 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1594 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1637 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1646 struct bnxt_softc *softc = iflib_get_softc(ctx); local
1974 bnxt_probe_phy(struct bnxt_softc *softc) argument
1999 bnxt_add_media_types(struct bnxt_softc *softc) argument
2109 bnxt_map_bar(struct bnxt_softc *softc, struct bnxt_bar_info *bar, int bar_num, bool shareable) argument
2140 bnxt_pci_mapping(struct bnxt_softc *softc) argument
2154 bnxt_pci_mapping_free(struct bnxt_softc *softc) argument
2168 bnxt_update_link(struct bnxt_softc *softc, bool chng_link_state) argument
2197 bnxt_report_link(struct bnxt_softc *softc) argument
2258 struct bnxt_softc *softc = arg; local
2266 bnxt_clear_ids(struct bnxt_softc *softc) argument
2304 bnxt_handle_async_event(struct bnxt_softc *softc, struct cmpl_base *cmpl) argument
2343 struct bnxt_softc *softc = iflib_get_softc(ctx); local
2398 get_phy_type(struct bnxt_softc *softc) argument
2429 bnxt_check_hwrm_version(struct bnxt_softc *softc) argument
2495 bnxt_get_wol_settings(struct bnxt_softc *softc) argument
[all...]
H A Dbnxt_hwrm.c42 static void bnxt_hwrm_set_link_common(struct bnxt_softc *softc,
44 static void bnxt_hwrm_set_pause_common(struct bnxt_softc *softc,
46 static void bnxt_hwrm_set_eee(struct bnxt_softc *softc,
85 bnxt_alloc_hwrm_dma_mem(struct bnxt_softc *softc) argument
89 rc = iflib_dma_alloc(softc->ctx, PAGE_SIZE, &softc->hwrm_cmd_resp,
95 bnxt_free_hwrm_dma_mem(struct bnxt_softc *softc) argument
97 if (softc->hwrm_cmd_resp.idi_vaddr)
98 iflib_dma_free(&softc->hwrm_cmd_resp);
99 softc
104 bnxt_hwrm_cmd_hdr_init(struct bnxt_softc *softc, void *request, uint16_t req_type) argument
116 _hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len) argument
220 hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len) argument
231 bnxt_hwrm_queue_qportcfg(struct bnxt_softc *softc) argument
267 bnxt_hwrm_ver_get(struct bnxt_softc *softc) argument
362 bnxt_hwrm_func_drv_rgtr(struct bnxt_softc *softc) argument
380 bnxt_hwrm_func_drv_unrgtr(struct bnxt_softc *softc, bool shutdown) argument
414 bnxt_hwrm_func_qcaps(struct bnxt_softc *softc) argument
470 bnxt_hwrm_func_qcfg(struct bnxt_softc *softc) argument
495 bnxt_hwrm_func_reset(struct bnxt_softc *softc) argument
506 bnxt_hwrm_set_link_common(struct bnxt_softc *softc, struct hwrm_port_phy_cfg_input *req) argument
530 bnxt_hwrm_set_pause_common(struct bnxt_softc *softc, struct hwrm_port_phy_cfg_input *req) argument
560 bnxt_hwrm_set_eee(struct bnxt_softc *softc, struct hwrm_port_phy_cfg_input *req) argument
585 bnxt_hwrm_set_link_setting(struct bnxt_softc *softc, bool set_pause, bool set_eee, bool set_link) argument
627 bnxt_hwrm_vnic_cfg(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic) argument
653 bnxt_hwrm_vnic_alloc(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic) argument
684 bnxt_hwrm_vnic_ctx_alloc(struct bnxt_softc *softc, uint16_t *ctx_id) argument
712 bnxt_hwrm_ring_grp_alloc(struct bnxt_softc *softc, struct bnxt_grp_info *grp) argument
747 bnxt_hwrm_ring_alloc(struct bnxt_softc *softc, uint8_t type, struct bnxt_ring *ring, uint16_t cmpl_ring_id, uint32_t stat_ctx_id, bool irq) argument
799 bnxt_hwrm_stat_ctx_alloc(struct bnxt_softc *softc, struct bnxt_cp_ring *cpr, uint64_t paddr) argument
833 bnxt_hwrm_port_qstats(struct bnxt_softc *softc) argument
852 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic) argument
903 bnxt_hwrm_set_filter(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic) argument
943 bnxt_hwrm_rss_cfg(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic, uint32_t hash_type) argument
959 bnxt_cfg_async_cr(struct bnxt_softc *softc) argument
988 bnxt_validate_hw_lro_settings(struct bnxt_softc *softc) argument
1004 bnxt_hwrm_vnic_tpa_cfg(struct bnxt_softc *softc) argument
1043 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
1091 bnxt_hwrm_nvm_read(struct bnxt_softc *softc, uint16_t index, uint32_t offset, uint32_t length, struct iflib_dma_info *data) argument
1124 bnxt_hwrm_nvm_modify(struct bnxt_softc *softc, uint16_t index, uint32_t offset, void *data, bool cpyin, uint32_t length) argument
1166 bnxt_hwrm_fw_reset(struct bnxt_softc *softc, uint8_t processor, uint8_t *selfreset) argument
1192 bnxt_hwrm_fw_qstatus(struct bnxt_softc *softc, uint8_t type, uint8_t *selfreset) argument
1216 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
1283 bnxt_hwrm_nvm_erase_dir_entry(struct bnxt_softc *softc, uint16_t index) argument
1301 bnxt_hwrm_nvm_get_dir_info(struct bnxt_softc *softc, uint32_t *entries, uint32_t *entry_length) argument
1331 bnxt_hwrm_nvm_get_dir_entries(struct bnxt_softc *softc, uint32_t *entries, uint32_t *entry_length, struct iflib_dma_info *dma_data) argument
1376 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
1415 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
1451 bnxt_hwrm_nvm_verify_update(struct bnxt_softc *softc, uint16_t type, uint16_t ordinal, uint16_t ext) argument
1474 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
1513 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
1533 bnxt_hwrm_port_phy_qcfg(struct bnxt_softc *softc) argument
1619 bnxt_hwrm_get_wol_fltrs(struct bnxt_softc *softc, uint16_t handle) argument
1645 bnxt_hwrm_alloc_wol_fltr(struct bnxt_softc *softc) argument
1666 bnxt_hwrm_free_wol_fltr(struct bnxt_softc *softc) argument
1678 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
1693 bnxt_hwrm_set_coal(struct bnxt_softc *softc) argument
1762 bnxt_hwrm_func_rgtr_async_events(struct bnxt_softc *softc, unsigned long *bmap, int bmap_size) argument
[all...]
/freebsd-13-stable/sys/cam/ctl/
H A Dctl_ha.c103 ctl_ha_conn_wake(struct ha_softc *softc) argument
106 mtx_lock(&softc->ha_lock);
107 softc->ha_wakeup = 1;
108 mtx_unlock(&softc->ha_lock);
109 wakeup(&softc->ha_wakeup);
115 struct ha_softc *softc = arg; local
117 ctl_ha_conn_wake(softc);
124 struct ha_softc *softc = arg; local
126 wakeup(&softc->ha_receiving);
133 struct ha_softc *softc local
140 ctl_ha_evt(struct ha_softc *softc, ctl_ha_channel ch, ctl_ha_event evt, int param) argument
157 ctl_ha_close(struct ha_softc *softc) argument
194 ctl_ha_lclose(struct ha_softc *softc) argument
211 struct ha_softc *softc = arg; local
271 ctl_ha_send(struct ha_softc *softc) argument
304 ctl_ha_sock_setup(struct ha_softc *softc) argument
368 ctl_ha_connect(struct ha_softc *softc) argument
400 ctl_ha_accept(struct ha_softc *softc) argument
436 ctl_ha_listen(struct ha_softc *softc) argument
502 struct ha_softc *softc = arg; local
565 struct ha_softc *softc = (struct ha_softc *)arg1; local
613 struct ha_softc *softc = &ha_softc; local
624 struct ha_softc *softc = &ha_softc; local
639 struct ha_softc *softc = &ha_softc; local
678 struct ha_softc *softc = &ha_softc; local
751 struct ha_softc *softc = &ha_softc; local
787 struct ha_softc *softc = &ha_softc; local
816 struct ha_softc *softc = &ha_softc; local
880 struct ha_softc *softc = &ha_softc; local
913 struct ha_softc *softc = &ha_softc; local
932 struct ha_softc *softc = &ha_softc; local
[all...]
H A Dctl_backend.c70 struct ctl_softc *softc = control_softc; local
75 mtx_lock(&softc->ctl_lock);
76 STAILQ_FOREACH(be_tmp, &softc->be_list, links) {
78 mtx_unlock(&softc->ctl_lock);
82 mtx_unlock(&softc->ctl_lock);
96 mtx_lock(&softc->ctl_lock);
97 STAILQ_INSERT_TAIL(&softc->be_list, be, links);
98 softc->num_backends++;
99 mtx_unlock(&softc->ctl_lock);
106 struct ctl_softc *softc local
128 struct ctl_softc *softc = control_softc; local
[all...]
H A Dctl_frontend.c75 struct ctl_softc *softc = control_softc; local
79 KASSERT(softc != NULL, ("CTL is not initialized"));
82 mtx_lock(&softc->ctl_lock);
83 STAILQ_FOREACH(fe_tmp, &softc->fe_list, links) {
85 mtx_unlock(&softc->ctl_lock);
89 mtx_unlock(&softc->ctl_lock);
101 mtx_lock(&softc->ctl_lock);
102 softc->num_frontends++;
103 STAILQ_INSERT_TAIL(&softc->fe_list, fe, links);
104 mtx_unlock(&softc
111 struct ctl_softc *softc = control_softc; local
133 struct ctl_softc *softc = control_softc; local
150 struct ctl_softc *softc = control_softc; local
229 struct ctl_softc *softc = port->ctl_softc; local
316 struct ctl_softc *softc = port->ctl_softc; local
359 struct ctl_softc *softc = port->ctl_softc; local
[all...]
/freebsd-13-stable/sys/cam/ata/
H A Data_da.c840 static void adasetflags(struct ada_softc *softc,
842 static void adasetgeom(struct ada_softc *softc,
845 static void ada_dsmtrim(struct ada_softc *softc, struct bio *bp,
847 static void ada_cfaerase(struct ada_softc *softc, struct bio *bp,
892 #define ADA_RA (softc->read_ahead >= 0 ? \
893 softc->read_ahead : ada_read_ahead)
894 #define ADA_WC (softc->write_cache >= 0 ? \
895 softc->write_cache : ada_write_cache)
957 struct ada_softc *softc; local
975 softc
987 struct ada_softc *softc; local
1039 struct ada_softc *softc = (struct ada_softc *)periph->softc; local
1056 struct ada_softc *softc; local
1100 struct ada_softc *softc; local
1221 struct ada_softc *softc; local
1246 struct ada_softc *softc; local
1275 adasetdeletemethod(struct ada_softc *softc) argument
1294 struct ada_softc *softc; local
1350 struct ada_softc *softc; local
1392 struct ada_softc *softc; local
1422 struct ada_softc *softc; local
1458 struct ada_softc *softc; local
1619 struct ada_softc *softc; local
1670 struct ada_softc *softc = arg1; local
1685 adasetflags(struct ada_softc *softc, struct ccb_getdev *cgd) argument
1787 struct ada_softc *softc; local
1966 ada_dsmtrim_req_create(struct ada_softc *softc, struct bio *bp, struct trim_request *req) argument
2032 ada_dsmtrim(struct ada_softc *softc, struct bio *bp, struct ccb_ataio *ataio) argument
2051 ada_ncq_dsmtrim(struct ada_softc *softc, struct bio *bp, struct ccb_ataio *ataio) argument
2075 ada_cfaerase(struct ada_softc *softc, struct bio *bp, struct ccb_ataio *ataio) argument
2120 struct ada_softc *softc; local
2305 struct ada_softc *softc = (struct ada_softc *)periph->softc; local
2671 struct ada_softc *softc; local
2832 struct ada_softc *softc; local
3374 struct ada_softc *softc; local
3401 adasetgeom(struct ada_softc *softc, struct ccb_getdev *cgd) argument
3499 struct ada_softc *softc = arg; local
3522 struct ada_softc *softc; local
3575 struct ada_softc *softc; local
3663 struct ada_softc *softc; local
[all...]
H A Data_pmp.c180 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; local
184 mask &= ~softc->frozen;
191 softc->frozen |= (1 << i);
202 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; local
206 mask &= softc->frozen;
213 softc->frozen &= ~(1 << i);
246 struct pmp_softc *softc; local
248 softc
269 struct pmp_softc *softc; local
342 struct pmp_softc *softc; local
370 struct pmp_softc *softc; local
425 struct pmp_softc *softc; local
586 struct pmp_softc *softc; local
[all...]
/freebsd-13-stable/sys/amd64/vmm/amd/
H A Damdvi_hw.c71 static void amdvi_dump_cmds(struct amdvi_softc *softc, int count);
72 static void amdvi_print_dev_cap(struct amdvi_softc *softc);
127 amdvi_pci_read(struct amdvi_softc *softc, int off) argument
130 return (pci_cfgregread(PCI_RID2BUS(softc->pci_rid),
131 PCI_RID2SLOT(softc->pci_rid), PCI_RID2FUNC(softc->pci_rid),
175 amdvi_dev_support_iotlb(struct amdvi_softc *softc, uint16_t devid) argument
185 KASSERT(softc, ("softc is NULL"));
186 cfg = softc
210 amdvi_hw_enable_iotlb(struct amdvi_softc *softc) argument
236 amdvi_init_cmd(struct amdvi_softc *softc) argument
267 amdvi_get_cmd_tail(struct amdvi_softc *softc) argument
288 amdvi_update_cmd_tail(struct amdvi_softc *softc) argument
316 amdvi_cmd_cmp(struct amdvi_softc *softc, const uint64_t data) argument
335 amdvi_cmd_inv_dte(struct amdvi_softc *softc, uint16_t devid) argument
351 amdvi_cmd_inv_iommu_pages(struct amdvi_softc *softc, uint16_t domain_id, uint64_t addr, bool guest_nested, bool pde, bool page) argument
375 amdvi_cmd_inv_iotlb(struct amdvi_softc *softc, uint16_t devid) argument
406 amdvi_cmd_inv_intr_map(struct amdvi_softc *softc, uint16_t devid) argument
424 amdvi_inv_domain(struct amdvi_softc *softc, uint16_t domain_id) argument
445 amdvi_cmp_wait(struct amdvi_softc *softc) argument
473 amdvi_wait(struct amdvi_softc *softc) argument
499 amdvi_dump_cmds(struct amdvi_softc *softc, int count) argument
523 amdvi_init_event(struct amdvi_softc *softc) argument
689 amdvi_print_events(struct amdvi_softc *softc) argument
710 amdvi_init_dte(struct amdvi_softc *softc) argument
728 struct amdvi_softc *softc; local
755 struct amdvi_softc *softc; local
774 struct amdvi_softc *softc; local
784 amdvi_alloc_intr_resources(struct amdvi_softc *softc) argument
805 amdvi_print_dev_cap(struct amdvi_softc *softc) argument
825 struct amdvi_softc *softc; local
861 amdvi_add_sysctl(struct amdvi_softc *softc) argument
896 amdvi_setup_hw(struct amdvi_softc *softc) argument
931 amdvi_teardown_hw(struct amdvi_softc *softc) argument
991 struct amdvi_softc *softc; local
1206 struct amdvi_softc *softc; local
1233 struct amdvi_softc *softc; local
1274 struct amdvi_softc *softc; local
1320 struct amdvi_softc *softc; local
1355 struct amdvi_softc *softc; local
[all...]
H A Divrs_drv.c180 ivhd_dev_add_entry(struct amdvi_softc *softc, uint32_t start_id, argument
189 dev_cfg = &softc->dev_cfg[softc->dev_cfg_cnt++];
200 ivhd_dev_parse(ACPI_IVRS_HARDWARE1 *ivhd, struct amdvi_softc *softc) argument
209 softc->start_dev_rid = ~0;
210 softc->end_dev_rid = 0;
223 device_printf(softc->dev,
232 softc->start_dev_rid = MIN(softc->start_dev_rid, de->Id);
233 softc
596 ivhd_print_cap(struct amdvi_softc *softc, ACPI_IVRS_HARDWARE1 * ivhd) argument
628 struct amdvi_softc *softc; local
697 struct amdvi_softc *softc; local
[all...]
/freebsd-13-stable/sys/cam/scsi/
H A Dscsi_target.c73 TARG_STATE_OPENED = 0x01, /* Device opened, softc initialized */
130 static cam_status targenable(struct targ_softc *softc,
133 static cam_status targdisable(struct targ_softc *softc);
137 static int targusermerge(struct targ_softc *softc,
140 static int targsendccb(struct targ_softc *softc, union ccb *ccb,
144 static int targreturnccb(struct targ_softc *softc,
146 static union ccb * targgetccb(struct targ_softc *softc, xpt_opcode type,
148 static void targfreeccb(struct targ_softc *softc, union ccb *ccb);
150 targgetdescr(struct targ_softc *softc);
154 static void abort_all_pending(struct targ_softc *softc);
172 struct targ_softc *softc; local
207 struct targ_softc *softc; local
230 struct targ_softc *softc; local
299 struct targ_softc *softc; local
325 struct targ_softc *softc; local
337 struct targ_softc *softc; local
347 struct targ_softc *softc; local
383 targenable(struct targ_softc *softc, struct cam_path *path, int grp6_len, int grp7_len) argument
457 targdisable(struct targ_softc *softc) argument
484 struct targ_softc *softc; local
497 struct targ_softc *softc; local
527 struct targ_softc *softc; local
618 struct targ_softc *softc; local
653 targusermerge(struct targ_softc *softc, struct targ_cmd_descr *descr, union ccb *ccb) argument
710 targsendccb(struct targ_softc *softc, union ccb *ccb, struct targ_cmd_descr *descr) argument
763 struct targ_softc *softc; local
806 struct targ_softc *softc; local
901 targreturnccb(struct targ_softc *softc, union ccb *ccb) argument
933 targgetccb(struct targ_softc *softc, xpt_opcode type, int priority) argument
956 targfreeccb(struct targ_softc *softc, union ccb *ccb) argument
985 targgetdescr(struct targ_softc *softc) argument
1016 abort_all_pending(struct targ_softc *softc) argument
1068 notify_user(struct targ_softc *softc) argument
[all...]
H A Dscsi_pt.c140 struct pt_softc *softc; local
147 softc = (struct pt_softc *)periph->softc;
150 if (softc->flags & PT_FLAG_DEVICE_INVALID) {
156 if ((softc->flags & PT_FLAG_OPEN) == 0)
157 softc->flags |= PT_FLAG_OPEN;
174 struct pt_softc *softc; local
177 softc = (struct pt_softc *)periph->softc;
181 softc
196 struct pt_softc *softc; local
250 struct pt_softc *softc; local
326 struct pt_softc *softc; local
348 struct pt_softc *softc; local
401 struct pt_softc *softc; local
423 struct pt_softc *softc; local
476 struct pt_softc *softc; local
564 struct pt_softc *softc; local
577 struct pt_softc *softc; local
[all...]
H A Dscsi_sa.c315 #define SA_PROT_ENABLED(softc) ((softc->flags & SA_FLAG_PROTECT_SUPP) \
316 && (softc->prot_info.cur_prot_state.initialized != 0) \
317 && (softc->prot_info.cur_prot_state.prot_method != 0))
319 #define SA_PROT_LEN(softc) softc->prot_info.cur_prot_state.pi_length
568 static void safillprot(struct sa_softc *softc, int *indent,
582 static int saparamget(struct sa_softc *softc, struct sbuf *sb);
588 static void sasetupdev(struct sa_softc *softc, struct cdev *dev);
604 static void safilldensitysb(struct sa_softc *softc, in
653 struct sa_softc *softc; local
729 struct sa_softc *softc; local
898 struct sa_softc *softc; local
1015 struct sa_softc *softc; local
1075 struct sa_softc *softc; local
1105 safillprot(struct sa_softc *softc, int *indent, struct sbuf *sb) argument
1182 struct sa_softc *softc; local
1448 struct sa_softc *softc; local
1499 struct sa_softc *softc; local
2133 struct sa_softc *softc; local
2176 struct sa_softc *softc; local
2208 struct sa_softc *softc; local
2272 sasetupdev(struct sa_softc *softc, struct cdev *dev) argument
2290 struct sa_softc *softc; local
2336 struct sa_softc *softc; local
2568 struct sa_softc *softc; local
2778 struct sa_softc *softc; local
2868 struct sa_softc *softc; local
3326 struct sa_softc *softc; local
3361 struct sa_softc *softc; local
3577 struct sa_softc *softc; local
3896 struct sa_softc *softc; local
4081 struct sa_softc *softc; local
4396 struct sa_softc *softc; local
4576 saparamget(struct sa_softc *softc, struct sbuf *sb) argument
4595 struct sa_softc *softc; local
4635 struct sa_softc *softc; local
4666 struct sa_softc *softc; local
4741 struct sa_softc *softc; local
4763 struct sa_softc *softc = (struct sa_softc *)periph->softc; local
4803 struct sa_softc *softc = (struct sa_softc *)periph->softc; local
4899 struct sa_softc *softc = (struct sa_softc *)periph->softc; local
4941 struct sa_softc *softc; local
5054 struct sa_softc *softc; local
5082 struct sa_softc *softc; local
5112 struct sa_softc *softc; local
5143 struct sa_softc *softc; local
5413 safilldensitysb(struct sa_softc *softc, int *indent, struct sbuf *sb) argument
[all...]
H A Dscsi_da.c399 #define dadeleteflag(softc, delete_method, enable) \
401 softc->delete_available |= (1 << delete_method); \
403 softc->delete_available &= ~(1 << delete_method); \
1482 static void dadeletemethodset(struct da_softc *softc,
1484 static off_t dadeletemaxsize(struct da_softc *softc,
1486 static void dadeletemethodchoose(struct da_softc *softc,
1658 struct da_softc *softc = periph->softc; local
1660 cnt = atomic_fetchadd_int(&softc->ref_flags[token], 1);
1671 struct da_softc *softc local
1692 struct da_softc *softc = periph->softc; local
1705 struct da_softc *softc = periph->softc; local
1720 struct da_softc *softc = periph->softc; local
1749 struct da_softc *softc; local
1801 struct da_softc *softc; local
1854 struct da_softc *softc = (struct da_softc *)periph->softc; local
1871 struct da_softc *softc; local
1915 struct da_softc *softc; local
2032 struct da_softc *softc; local
2064 struct da_softc *softc; local
2098 struct da_softc *softc; local
2144 struct da_softc *softc; local
2239 struct da_softc *softc; local
2434 struct da_softc *softc; local
2505 dadeletemethodset(struct da_softc *softc, da_delete_methods delete_method) argument
2519 dadeletemaxsize(struct da_softc *softc, da_delete_methods delete_method) argument
2548 struct da_softc *softc; local
2605 dadeletemethodchoose(struct da_softc *softc, da_delete_methods default_method) argument
2650 struct da_softc *softc = arg1; local
2669 struct da_softc *softc; local
2698 struct da_softc *softc; local
2728 struct da_softc *softc; local
2763 struct da_softc *softc; local
3023 struct da_softc *softc; local
3299 struct da_softc *softc; local
3982 struct da_softc *softc = (struct da_softc *)periph->softc; local
4122 struct da_softc *softc = (struct da_softc *)periph->softc; local
4211 struct da_softc *softc; local
4268 struct da_softc *softc; local
4370 struct da_softc *softc; local
4517 struct da_softc *softc; local
4678 struct da_softc *softc; local
4745 struct da_softc *softc; local
5032 struct da_softc *softc; local
5090 struct da_softc *softc; local
5184 struct da_softc *softc; local
5285 struct da_softc *softc; local
5425 struct da_softc *softc; local
5506 struct da_softc *softc; local
5597 struct da_softc *softc; local
5710 struct da_softc *softc; local
5804 struct da_softc *softc; local
5881 struct da_softc *softc; local
5911 struct da_softc *softc; local
5932 struct da_softc *softc; local
6019 struct da_softc *softc = periph->softc; local
6038 struct da_softc *softc; local
6080 struct da_softc *softc; local
6205 struct da_softc *softc = periph->softc; local
6230 struct da_softc *softc; local
[all...]
H A Dscsi_pass.c174 static void passiocleanup(struct pass_softc *softc,
237 struct pass_softc *softc; local
239 softc = (struct pass_softc *)periph->softc;
245 TAILQ_FOREACH_SAFE(io_req, &softc->done_queue, links, io_req2) {
246 TAILQ_REMOVE(&softc->done_queue, io_req, links);
247 passiocleanup(softc, io_req);
248 uma_zfree(softc->pass_zone, io_req);
256 TAILQ_FOREACH_SAFE(io_req, &softc->incoming_queue, links, io_req2) {
257 TAILQ_REMOVE(&softc
292 struct pass_softc *softc; local
340 struct pass_softc *softc; local
361 struct pass_softc *softc; local
410 struct pass_softc *softc; local
428 struct pass_softc *softc; local
520 struct pass_softc *softc; local
546 struct pass_softc *softc; local
703 struct pass_softc *softc; local
760 struct pass_softc *softc; local
838 struct pass_softc *softc; local
886 struct pass_softc *softc; local
1027 struct pass_softc *softc; local
1108 passiocleanup(struct pass_softc *softc, struct pass_io_req *io_req) argument
1275 struct pass_softc *softc; local
1668 struct pass_softc *softc; local
1744 struct pass_softc *softc; local
2091 struct pass_softc *softc; local
2116 struct pass_softc *softc; local
2132 struct pass_softc *softc; local
2144 struct pass_softc *softc; local
2167 struct pass_softc *softc; local
2244 struct pass_softc *softc; local
[all...]
H A Dscsi_ch.c248 struct ch_softc *softc; local
257 softc = (struct ch_softc *)periph->softc;
258 KASSERT(softc->open_count >= 0, ("Negative open count %d",
259 softc->open_count));
266 for (i = 0; i < softc->open_count; i++)
269 softc->open_count = 0;
289 struct ch_softc *softc; local
291 softc = (struct ch_softc *)periph->softc;
310 struct ch_softc *softc; local
369 struct ch_softc *softc; local
464 struct ch_softc *softc; local
510 struct ch_softc *softc; local
542 struct ch_softc *softc; local
600 struct ch_softc *softc; local
738 struct ch_softc *softc; local
751 struct ch_softc *softc; local
869 struct ch_softc *softc; local
923 struct ch_softc *softc; local
986 struct ch_softc *softc; local
1055 copy_element_status(struct ch_softc *softc, u_int16_t flags, struct read_element_status_descriptor *desc, struct changer_element_status *ces, int scsi_version) argument
1200 struct ch_softc *softc; local
1415 struct ch_softc *softc; local
1450 struct ch_softc *softc; local
1537 struct ch_softc *softc; local
[all...]
H A Dscsi_cd.c373 struct cd_softc *softc; local
375 softc = (struct cd_softc *)periph->softc;
382 softc->flags |= CD_FLAG_INVALID;
389 bioq_flush(&softc->bio_queue, NULL, ENXIO);
391 disk_gone(softc->disk);
397 struct cd_softc *softc; local
399 softc = (struct cd_softc *)periph->softc;
402 if ((softc
418 struct cd_softc *softc; local
512 struct cd_softc *softc; local
589 struct cd_softc *softc; local
751 struct cd_softc *softc; local
796 struct cd_softc *softc; local
838 struct cd_softc *softc; local
860 struct cd_softc *softc; local
899 struct cd_softc *softc; local
1142 struct cd_softc *softc; local
1747 struct cd_softc *softc; local
2622 struct cd_softc *softc; local
2662 struct cd_softc *softc; local
2682 struct cd_softc *softc; local
2920 struct cd_softc *softc; local
3067 struct cd_softc *softc; local
3116 struct cd_softc *softc = periph->softc; local
3225 struct cd_softc *softc; local
3324 struct cd_softc *softc; local
[all...]
H A Dscsi_targ_bh.c235 struct targbh_softc *softc; local
239 softc = (struct targbh_softc *)periph->softc;
241 if ((softc->flags & TARGBH_FLAG_LUN_ENABLED) != 0)
260 softc->flags |= TARGBH_FLAG_LUN_ENABLED;
288 softc->accept_tio_list;
289 softc->accept_tio_list = atio;
322 SLIST_INSERT_HEAD(&softc->immed_notify_slist, &inot->ccb_h,
345 struct targbh_softc *softc; local
349 softc
393 struct targbh_softc *softc; local
420 struct targbh_softc *softc; local
444 struct targbh_softc *softc; local
528 struct targbh_softc *softc; local
[all...]
/freebsd-13-stable/sys/contrib/ipfilter/netinet/
H A Dip_lookup.c94 /* Parameters: softc(I) - pointer to soft context main structure */
99 ipf_lookup_soft_create(softc)
100 ipf_main_softc_t *softc;
113 softl->ipf_back[i] = (*(*l)->ipfl_create)(softc);
115 ipf_lookup_soft_destroy(softc, softl);
127 /* Parameters: softc(I) - pointer to soft context main structure */
133 ipf_lookup_soft_init(softc, arg)
134 ipf_main_softc_t *softc;
142 err = (*backends[i]->ipfl_init)(softc, softl->ipf_back[i]);
154 /* Parameters: softc(
[all...]
H A Dip_frag.c160 /* Parameters: softc(I) - pointer to soft context main structure */
166 ipf_frag_soft_create(softc)
167 ipf_main_softc_t *softc;
185 ipf_frag_soft_destroy(softc, softf);
188 if (ipf_tune_array_link(softc, softf->ipf_frag_tune) == -1) {
189 ipf_frag_soft_destroy(softc, softf);
207 /* Parameters: softc(I) - pointer to soft context main structure */
213 ipf_frag_soft_destroy(softc, arg)
214 ipf_main_softc_t *softc;
224 ipf_tune_array_unlink(softc, soft
605 ipf_main_softc_t *softc = fin->fin_main_soft; local
819 ipf_main_softc_t *softc = fin->fin_main_soft; local
860 ipf_main_softc_t *softc = fin->fin_main_soft; local
899 ipf_main_softc_t *softc = fin->fin_main_soft; local
[all...]
H A Dfil.c120 #define LBUMP(x) softc->x++
121 #define LBUMPD(x, y) do { softc->x.y++; DT(y); } while (0)
578 ipf_main_softc_t *softc = fin->fin_main_soft; local
591 ipf_main_softc_t *softc = fin->fin_main_soft; local
621 ipf_main_softc_t *softc = fin->fin_main_soft; local
755 ipf_main_softc_t *softc = fin->fin_main_soft; local
805 ipf_main_softc_t *softc = fin->fin_main_soft; local
864 ipf_main_softc_t *softc = fin->fin_main_soft; local
893 ipf_main_softc_t *softc = fin->fin_main_soft; local
1030 ipf_main_softc_t *softc local
1058 ipf_main_softc_t *softc = fin->fin_main_soft; local
1088 ipf_main_softc_t *softc = fin->fin_main_soft; local
1124 ipf_main_softc_t *softc = fin->fin_main_soft; local
1200 ipf_main_softc_t *softc = fin->fin_main_soft; local
1320 ipf_main_softc_t *softc = fin->fin_main_soft; local
1503 ipf_main_softc_t *softc = fin->fin_main_soft; local
1579 ipf_main_softc_t *softc = fin->fin_main_soft; local
1600 ipf_main_softc_t *softc = fin->fin_main_soft; local
1649 ipf_main_softc_t *softc = fin->fin_main_soft; local
1937 ipf_main_softc_t *softc = fin->fin_main_soft; local
2039 ipf_main_softc_t *softc = fin->fin_main_soft; local
2390 ipf_main_softc_t *softc = fin->fin_main_soft; local
2645 ipf_main_softc_t *softc = fin->fin_main_soft; local
2688 ipf_main_softc_t *softc = fin->fin_main_soft; local
2824 ipf_main_softc_t *softc = ctx; local
3297 ipf_main_softc_t *softc = fin->fin_main_soft; local
6915 ipf_main_softc_t *softc = fin->fin_main_soft; local
9278 ipf_main_softc_t *softc; local
9548 ipf_main_softc_t *softc; local
[all...]
/freebsd-13-stable/sys/cam/nvme/
H A Dnvme_da.c221 nda_nvme_flush(struct nda_softc *softc, struct ccb_nvmeio *nvmeio) argument
230 nvme_ns_flush_cmd(&nvmeio->cmd, softc->nsid);
234 nda_nvme_trim(struct nda_softc *softc, struct ccb_nvmeio *nvmeio, argument
244 nvme_ns_trim_cmd(&nvmeio->cmd, softc->nsid, num_ranges);
248 nda_nvme_write(struct nda_softc *softc, struct ccb_nvmeio *nvmeio, argument
258 nvme_ns_write_cmd(&nvmeio->cmd, softc->nsid, lba, count);
262 nda_nvme_rw_bio(struct nda_softc *softc, struct ccb_nvmeio *nvmeio, argument
278 count = bp->bio_bcount / softc->disk->d_sectorsize;
287 nvme_ns_rw_cmd(&nvmeio->cmd, rwcmd, softc->nsid, lba, count);
294 struct nda_softc *softc; local
324 struct nda_softc *softc; local
365 struct nda_softc *softc = (struct nda_softc *)periph->softc; local
378 struct nda_softc *softc; local
468 struct nda_softc *softc; local
507 struct nda_softc *softc; local
593 struct nda_softc *softc; local
618 struct nda_softc *softc; local
688 struct nda_softc *softc; local
707 struct nda_softc *softc; local
806 struct nda_softc *softc = arg1; local
842 struct nda_softc *softc; local
1006 struct nda_softc *softc = (struct nda_softc *)periph->softc; local
1155 struct nda_softc *softc; local
1272 struct nda_softc *softc; local
1309 struct nda_softc *softc; local
[all...]
/freebsd-13-stable/sys/fs/nfsserver/
H A Dnfs_fha_new.c72 struct fha_params *softc; local
75 softc = &fhanew_softc;
77 bzero(softc, sizeof(*softc));
79 snprintf(softc->server_name, sizeof(softc->server_name),
82 softc->pool = &nfsrvd_pool;
87 sysctl_ctx_init(&softc->sysctl_ctx);
88 softc->sysctl_tree = SYSCTL_ADD_NODE(&softc
147 struct fha_params *softc; local
410 fha_hash_entry_lookup(struct fha_params *softc, u_int64_t fh) argument
470 fha_hash_entry_choose_thread(struct fha_params *softc, struct fha_hash_entry *fhe, struct fha_info *i, SVCTHREAD *this_thread) argument
562 struct fha_params *softc = &fhanew_softc; local
649 struct fha_params *softc = &fhanew_softc; local
[all...]

Completed in 228 milliseconds

123456789