/freebsd-13-stable/sys/contrib/ck/include/ |
H A D | ck_pflock.h | 58 ck_pflock_init(struct ck_pflock *pf) argument 61 pf->rin = 0; 62 pf->rout = 0; 63 pf->win = 0; 64 pf->wout = 0; 71 ck_pflock_write_unlock(ck_pflock_t *pf) argument 77 ck_pr_and_32(&pf->rin, CK_PFLOCK_LSB); 80 ck_pr_faa_32(&pf->wout, 1); 85 ck_pflock_write_lock(ck_pflock_t *pf) argument 90 ticket = ck_pr_faa_32(&pf 111 ck_pflock_read_unlock(ck_pflock_t *pf) argument 120 ck_pflock_read_lock(ck_pflock_t *pf) argument [all...] |
/freebsd-13-stable/contrib/file/src/ |
H A D | fmtcheck.c | 57 #define RETURN(pf,f,r) do { \ 58 *(pf) = (f); \ 63 get_next_format_from_precision(const char **pf) argument 70 f = *pf; 78 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); 97 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); 114 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); 117 RETURN(pf,f,FMTCHECK_UNKNOWN); 119 RETURN(pf,f,FMTCHECK_LONG); 121 RETURN(pf, 167 get_next_format_from_width(const char **pf) argument 186 get_next_format(const char **pf, EFT eft) argument [all...] |
/freebsd-13-stable/lib/libc/gen/ |
H A D | fmtcheck.c | 86 #define RETURN(pf,f,r) do { \ 87 *(pf) = (f); \ 92 get_next_format_from_precision(const char **pf) argument 97 f = *pf; 101 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); 115 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); 143 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); 147 RETURN(pf,f,FMTCHECK_LONG); 149 RETURN(pf,f,FMTCHECK_QUAD); 151 RETURN(pf, 244 get_next_format_from_width(const char **pf) argument 263 get_next_format(const char **pf, EFT eft) argument [all...] |
/freebsd-13-stable/sys/dev/ixl/ |
H A D | ixl_iw_int.h | 44 enum ixl_iw_pf_state pf; member in struct:ixl_iw_pf_entry_state 51 struct ixl_pf *pf; member in struct:ixl_iw_pf_entry 66 int ixl_iw_pf_init(struct ixl_pf *pf); 67 void ixl_iw_pf_stop(struct ixl_pf *pf); 68 int ixl_iw_pf_attach(struct ixl_pf *pf); 69 int ixl_iw_pf_detach(struct ixl_pf *pf);
|
H A D | ixl_pf_i2c.c | 52 static s32 ixl_set_i2c_data(struct ixl_pf *pf, u32 *i2cctl, bool data); 53 static bool ixl_get_i2c_data(struct ixl_pf *pf, u32 *i2cctl); 54 static void ixl_raise_i2c_clk(struct ixl_pf *pf, u32 *i2cctl); 55 static void ixl_lower_i2c_clk(struct ixl_pf *pf, u32 *i2cctl); 56 static s32 ixl_clock_out_i2c_bit(struct ixl_pf *pf, bool data); 57 static s32 ixl_get_i2c_ack(struct ixl_pf *pf); 58 static s32 ixl_clock_out_i2c_byte(struct ixl_pf *pf, u8 data); 59 static s32 ixl_clock_in_i2c_bit(struct ixl_pf *pf, bool *data); 60 static s32 ixl_clock_in_i2c_byte(struct ixl_pf *pf, u8 *data); 61 static void ixl_i2c_bus_clear(struct ixl_pf *pf); 75 ixl_i2c_bus_clear(struct ixl_pf *pf) argument 112 ixl_i2c_stop(struct ixl_pf *pf) argument 140 ixl_clock_in_i2c_byte(struct ixl_pf *pf, u8 *data) argument 163 ixl_clock_in_i2c_bit(struct ixl_pf *pf, bool *data) argument 198 ixl_get_i2c_ack(struct ixl_pf *pf) argument 249 ixl_clock_out_i2c_bit(struct ixl_pf *pf, bool data) argument 284 ixl_clock_out_i2c_byte(struct ixl_pf *pf, u8 data) argument 320 ixl_lower_i2c_clk(struct ixl_pf *pf, u32 *i2cctl) argument 342 ixl_raise_i2c_clk(struct ixl_pf *pf, u32 *i2cctl) argument 372 ixl_get_i2c_data(struct ixl_pf *pf, u32 *i2cctl) argument 393 ixl_set_i2c_data(struct ixl_pf *pf, u32 *i2cctl, bool data) argument 427 ixl_i2c_start(struct ixl_pf *pf) argument 457 ixl_read_i2c_byte_bb(struct ixl_pf *pf, u8 byte_offset, u8 dev_addr, u8 *data) argument 546 ixl_write_i2c_byte_bb(struct ixl_pf *pf, u8 byte_offset, u8 dev_addr, u8 data) argument 612 ixl_read_i2c_byte_reg(struct ixl_pf *pf, u8 byte_offset, u8 dev_addr, u8 *data) argument 642 ixl_write_i2c_byte_reg(struct ixl_pf *pf, u8 byte_offset, u8 dev_addr, u8 data) argument 700 ixl_read_i2c_byte_aq(struct ixl_pf *pf, u8 byte_offset, u8 dev_addr, u8 *data) argument 726 ixl_write_i2c_byte_aq(struct ixl_pf *pf, u8 byte_offset, u8 dev_addr, u8 data) argument [all...] |
H A D | ixl_pf_iov.c | 46 static int ixl_vf_alloc_vsi(struct ixl_pf *pf, struct ixl_vf *vf); 47 static int ixl_vf_setup_vsi(struct ixl_pf *pf, struct ixl_vf *vf); 48 static void ixl_vf_map_queues(struct ixl_pf *pf, struct ixl_vf *vf); 49 static void ixl_vf_vsi_release(struct ixl_pf *pf, struct ixl_vsi *vsi); 50 static void ixl_vf_release_resources(struct ixl_pf *pf, struct ixl_vf *vf); 51 static int ixl_flush_pcie(struct ixl_pf *pf, struct ixl_vf *vf); 52 static void ixl_reset_vf(struct ixl_pf *pf, struct ixl_vf *vf); 53 static void ixl_reinit_vf(struct ixl_pf *pf, struct ixl_vf *vf); 54 static void ixl_send_vf_msg(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op, enum i40e_status_code status, void *msg, uint16_t len); 55 static void ixl_send_vf_ack(struct ixl_pf *pf, struc 90 ixl_initialize_sriov(struct ixl_pf *pf) argument 125 ixl_vf_alloc_vsi(struct ixl_pf *pf, struct ixl_vf *vf) argument 198 ixl_vf_setup_vsi(struct ixl_pf *pf, struct ixl_vf *vf) argument 245 ixl_vf_map_queues(struct ixl_pf *pf, struct ixl_vf *vf) argument 292 ixl_vf_vsi_release(struct ixl_pf *pf, struct ixl_vsi *vsi) argument 322 ixl_vf_release_resources(struct ixl_pf *pf, struct ixl_vf *vf) argument 353 ixl_flush_pcie(struct ixl_pf *pf, struct ixl_vf *vf) argument 376 ixl_reset_vf(struct ixl_pf *pf, struct ixl_vf *vf) argument 396 ixl_reinit_vf(struct ixl_pf *pf, struct ixl_vf *vf) argument 451 ixl_send_vf_msg(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op, enum i40e_status_code status, void *msg, uint16_t len) argument 468 ixl_send_vf_ack(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op) argument 475 ixl_send_vf_nack_msg(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op, enum i40e_status_code status, const char *file, int line) argument 487 ixl_vf_version_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 517 ixl_vf_reset_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 526 ixl_vf_get_resources_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 559 ixl_vf_config_tx_queue(struct ixl_pf *pf, struct ixl_vf *vf, struct virtchnl_txq_info *info) argument 604 ixl_vf_config_rx_queue(struct ixl_pf *pf, struct ixl_vf *vf, struct virtchnl_rxq_info *info) argument 671 ixl_vf_config_vsi_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 725 ixl_vf_set_qctl(struct ixl_pf *pf, const struct virtchnl_vector_map *vector, enum i40e_queue_type cur_type, uint16_t cur_queue, enum i40e_queue_type *last_type, uint16_t *last_queue) argument 754 ixl_vf_config_vector(struct ixl_pf *pf, struct ixl_vf *vf, const struct virtchnl_vector_map *vector) argument 809 ixl_vf_config_irq_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 865 ixl_vf_enable_queues_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 939 ixl_vf_disable_queues_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1035 ixl_vf_add_mac_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1069 ixl_vf_del_mac_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1104 ixl_vf_enable_vlan_strip(struct ixl_pf *pf, struct ixl_vf *vf) argument 1118 ixl_vf_add_vlan_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1160 ixl_vf_del_vlan_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1195 ixl_vf_config_promisc_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1244 ixl_vf_get_stats_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1263 ixl_vf_config_rss_key_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1320 ixl_vf_config_rss_lut_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1369 ixl_vf_set_rss_hena_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1389 ixl_notify_vf_link_state(struct ixl_pf *pf, struct ixl_vf *vf) argument 1406 ixl_broadcast_link_state(struct ixl_pf *pf) argument 1415 ixl_handle_vf_msg(struct ixl_pf *pf, struct i40e_arq_event_info *event) argument 1524 ixl_handle_vflr(struct ixl_pf *pf) argument 1620 ixl_config_pf_vsi_loopback(struct ixl_pf *pf, bool enable) argument 1653 struct ixl_pf *pf = iflib_get_softc(ctx); local 1705 struct ixl_pf *pf = iflib_get_softc(ctx); local 1747 ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues) argument 1780 struct ixl_pf *pf = iflib_get_softc(ctx); local [all...] |
H A D | ixl_pf_iov.h | 58 void ixl_initialize_sriov(struct ixl_pf *pf); 59 void ixl_handle_vf_msg(struct ixl_pf *pf, struct i40e_arq_event_info *event); 60 void ixl_handle_vflr(struct ixl_pf *pf); 61 void ixl_broadcast_link_state(struct ixl_pf *pf);
|
H A D | ixl_iw.c | 42 #define IXL_IW_VEC_BASE(pf) ((pf)->msix - (pf)->iw_msix) 43 #define IXL_IW_VEC_COUNT(pf) ((pf)->iw_msix) 44 #define IXL_IW_VEC_LIMIT(pf) ((pf)->msix) 52 ixl_iw_pf_msix_reset(struct ixl_pf *pf) argument 54 struct i40e_hw *hw = &pf->hw; 58 for (vec = IXL_IW_VEC_BASE(pf); ve 140 ixl_iw_pf_init(struct ixl_pf *pf) argument 189 ixl_iw_pf_stop(struct ixl_pf *pf) argument 220 ixl_iw_pf_attach(struct ixl_pf *pf) argument 265 ixl_iw_pf_detach(struct ixl_pf *pf) argument 312 struct ixl_pf *pf = (struct ixl_pf *)pf_handle; local 327 struct ixl_pf *pf = (struct ixl_pf *)pf_handle; local [all...] |
H A D | if_ixl.c | 132 static void ixl_setup_ssctx(struct ixl_pf *pf); 362 ixl_allocate_pci_resources(struct ixl_pf *pf) argument 364 device_t dev = iflib_get_dev(pf->vsi.ctx); 365 struct i40e_hw *hw = &pf->hw; 370 pf->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, 373 if (!(pf->pci_mem)) { 391 pf->osdep.mem_bus_space_tag = 392 rman_get_bustag(pf->pci_mem); 393 pf->osdep.mem_bus_space_handle = 394 rman_get_bushandle(pf 406 ixl_setup_ssctx(struct ixl_pf *pf) argument 445 struct ixl_pf *pf = (struct ixl_pf *)arg; local 455 ixl_attach_pre_recovery_mode(struct ixl_pf *pf) argument 479 struct ixl_pf *pf; local 667 struct ixl_pf *pf; local 826 struct ixl_pf *pf = iflib_get_softc(ctx); local 920 struct ixl_pf *pf = iflib_get_softc(ctx); local 1011 struct ixl_pf *pf = iflib_get_softc(ctx); local 1043 struct ixl_pf *pf = iflib_get_softc(ctx); local 1116 struct ixl_pf *pf = iflib_get_softc(ctx); local 1136 struct ixl_pf *pf = iflib_get_softc(ctx); local 1154 struct ixl_pf *pf = iflib_get_softc(ctx); local 1166 struct ixl_pf *pf = iflib_get_softc(ctx); local 1178 struct ixl_pf *pf = iflib_get_softc(ctx); local 1228 struct ixl_pf *pf = iflib_get_softc(ctx); local 1271 struct ixl_pf *pf = iflib_get_softc(ctx); local 1301 ixl_update_link_status(struct ixl_pf *pf) argument 1329 ixl_handle_lan_overflow_event(struct ixl_pf *pf, struct i40e_arq_event_info *e) argument 1343 ixl_process_adminq(struct ixl_pf *pf, u16 *pending) argument 1402 struct ixl_pf *pf = iflib_get_softc(ctx); local 1436 struct ixl_pf *pf = iflib_get_softc(ctx); local 1461 struct ixl_pf *pf = iflib_get_softc(ctx); local 1478 struct ixl_pf *pf = iflib_get_softc(ctx); local 1633 struct ixl_pf *pf = iflib_get_softc(ctx); local 1658 struct ixl_pf *pf = iflib_get_softc(ctx); local 1669 struct ixl_pf *pf = iflib_get_softc(ctx); local 1706 struct ixl_pf *pf = iflib_get_softc(ctx); local 1731 struct ixl_pf *pf = iflib_get_softc(ctx); local 1770 struct ixl_pf *pf = iflib_get_softc(ctx); local 1779 struct ixl_pf *pf = iflib_get_softc(ctx); local 1794 struct ixl_pf *pf = iflib_get_softc(ctx); local 1847 ixl_save_pf_tunables(struct ixl_pf *pf) argument [all...] |
H A D | ixl_pf_main.c | 144 ixl_print_nvm_version(struct ixl_pf *pf) argument 146 struct i40e_hw *hw = &pf->hw; 147 device_t dev = pf->dev; 168 ixl_get_fw_mode(struct ixl_pf *pf) argument 170 struct i40e_hw *hw = &pf->hw; 175 if (pf->recovery_mode) 196 * @pf: PF structure 204 ixl_pf_reset(struct ixl_pf *pf) argument 206 struct i40e_hw *hw = &pf->hw; 210 fw_mode = ixl_get_fw_mode(pf); 249 ixl_setup_hmc(struct ixl_pf *pf) argument 280 ixl_shutdown_hmc(struct ixl_pf *pf) argument 299 ixl_configure_itr(struct ixl_pf *pf) argument 312 ixl_get_hw_capabilities(struct ixl_pf *pf) argument 407 ixl_set_initial_advertised_speeds(struct ixl_pf *pf) argument 429 ixl_teardown_hw_structs(struct ixl_pf *pf) argument 597 ixl_link_up_msg(struct ixl_pf *pf) argument 636 ixl_configure_intr0_msix(struct ixl_pf *pf) argument 759 ixl_switch_config(struct ixl_pf *pf) argument 831 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 865 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 952 ixl_set_rss_key(struct ixl_pf *pf) argument 986 ixl_set_rss_pctypes(struct ixl_pf *pf) argument 1027 ixl_config_rss(struct ixl_pf *pf) argument 1067 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 1138 struct ixl_pf *pf; local 1356 struct ixl_pf *pf; local 1450 struct ixl_pf *pf; local 1523 ixl_enable_tx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 1559 ixl_enable_rx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 1593 ixl_enable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 1609 ixl_disable_tx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 1648 ixl_disable_rx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 1681 ixl_disable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 1694 ixl_handle_tx_mdd_event(struct ixl_pf *pf) argument 1767 ixl_handle_rx_mdd_event(struct ixl_pf *pf) argument 1847 ixl_handle_mdd_event(struct ixl_pf *pf) argument 1911 ixl_handle_empr_reset(struct ixl_pf *pf) argument 1940 ixl_update_stats_counters(struct ixl_pf *pf) argument 2136 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 2192 struct ixl_pf *pf; local 2240 ixl_pf_reset_stats(struct ixl_pf *pf) argument 2314 ixl_add_sysctls_recovery_mode(struct ixl_pf *pf) argument 2372 ixl_add_device_sysctls(struct ixl_pf *pf) argument 2632 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 2693 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 2738 ixl_set_advertised_speeds(struct ixl_pf *pf, int speeds, bool from_aq) argument 2801 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 2824 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 2899 ixl_get_bus_info(struct ixl_pf *pf) argument 2953 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 2994 ixl_handle_nvmupd_cmd(struct ixl_pf *pf, struct ifdrv *ifd) argument 3106 ixl_find_i2c_interface(struct ixl_pf *pf) argument 3126 ixl_set_link(struct ixl_pf *pf, bool enable) argument 3270 ixl_aq_get_link_status(struct ixl_pf *pf, struct i40e_aqc_get_link_status *link_status) argument 3307 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 3357 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 3449 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 3569 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 3713 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 3806 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 3840 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 3930 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 3971 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 3992 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4034 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4121 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4158 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4184 ixl_get_fec_config(struct ixl_pf *pf, struct i40e_aq_get_phy_abilities_resp *abilities, u8 bit_pos, int *is_set) argument 4209 ixl_set_fec_config(struct ixl_pf *pf, struct i40e_aq_get_phy_abilities_resp *abilities, u8 bit_pos, int set) argument 4247 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4265 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4283 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4301 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4319 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4337 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4426 ixl_start_fw_lldp(struct ixl_pf *pf) argument 4458 ixl_stop_fw_lldp(struct ixl_pf *pf) argument 4497 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4520 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4557 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4577 ixl_attach_get_link_status(struct ixl_pf *pf) argument 4603 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4620 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4637 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4658 struct ixl_pf *pf = (struct ixl_pf *)arg1; local [all...] |
H A D | ixl_pf_iflib.c | 38 ixl_configure_tx_itr(struct ixl_pf *pf) argument 40 struct i40e_hw *hw = &pf->hw; 41 struct ixl_vsi *vsi = &pf->vsi; 44 vsi->tx_itr_setting = pf->tx_itr; 57 ixl_configure_rx_itr(struct ixl_pf *pf) argument 59 struct i40e_hw *hw = &pf->hw; 60 struct ixl_vsi *vsi = &pf->vsi; 63 vsi->rx_itr_setting = pf->rx_itr; 78 struct ixl_pf *pf = arg; local 79 struct i40e_hw *hw = &pf 136 struct ixl_pf *pf = arg; local 243 ixl_configure_queue_intr_msix(struct ixl_pf *pf) argument 281 ixl_configure_legacy(struct ixl_pf *pf) argument 321 ixl_free_pci_resources(struct ixl_pf *pf) argument 350 ixl_setup_interface(device_t dev, struct ixl_pf *pf) argument 402 ixl_link_event(struct ixl_pf *pf, struct i40e_arq_event_info *e) argument 436 struct ixl_pf *pf = vsi->back; local 621 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 694 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 807 ixl_add_hw_stats(struct ixl_pf *pf) argument 829 ixl_set_rss_hlut(struct ixl_pf *pf) argument 875 struct ixl_pf *pf = vsi->back; local 888 ixl_disable_rings(struct ixl_pf *pf, struct ixl_vsi *vsi, struct ixl_pf_qtag *qtag) argument 925 ixl_prepare_for_reset(struct ixl_pf *pf, bool is_up) argument 948 ixl_rebuild_hw_structs_after_reset(struct ixl_pf *pf, bool is_up) argument 1074 struct ixl_pf *pf = (struct ixl_pf *)arg1; local [all...] |
H A D | ixl_pf.h | 94 #define IXL_PF_IN_RECOVERY_MODE(pf) \ 95 ((atomic_load_acq_32(&pf->state) & IXL_PF_STATE_RECOVERY_MODE) != 0) 97 #define IXL_PF_IS_RESETTING(pf) \ 98 ((atomic_load_acq_32(&pf->state) & IXL_PF_STATE_RESETTING) != 0) 165 s32 (*read_i2c_byte)(struct ixl_pf *pf, u8 byte_offset, 167 s32 (*write_i2c_byte)(struct ixl_pf *pf, u8 byte_offset, 277 #define i40e_send_vf_nack(pf, vf, op, st) \ 278 ixl_send_vf_nack_msg((pf), (vf), (op), (st), __FILE__, __LINE__) 281 #define ixl_dbg(pf, m, s, ...) ixl_debug_core((pf) [all...] |
/freebsd-13-stable/sbin/pfctl/tests/files/ |
H A D | Makefile | 9 FILES!= echo ${.CURDIR}/pf????.in ${.CURDIR}/pf????.include ${.CURDIR}/pf????.ok
|
/freebsd-13-stable/tests/sys/netpfil/pf/ioctl/ |
H A D | Makefile | 5 TESTSDIR= ${TESTSBASE}/sys/netpfil/pf/ioctl
|
/freebsd-13-stable/sys/dev/pccard/ |
H A D | pccard.c | 90 static int pccard_ccr_read(struct pccard_function *pf, int ccr); 91 static void pccard_ccr_write(struct pccard_function *pf, int ccr, int val); 94 static void pccard_function_init(struct pccard_function *pf, int entry); 95 static void pccard_function_free(struct pccard_function *pf); 96 static int pccard_function_enable(struct pccard_function *pf); 97 static void pccard_function_disable(struct pccard_function *pf); 115 struct pccard_function *pf); 140 pccard_ccr_read(struct pccard_function *pf, int ccr) argument 142 return (bus_space_read_1(pf->pf_ccrt, pf 147 pccard_ccr_write(struct pccard_function *pf, int ccr, int val) argument 189 struct pccard_function *pf; local 259 pccard_probe_and_attach_child(device_t dev, device_t child, struct pccard_function *pf) argument 332 struct pccard_function *pf; local 456 struct pccard_function *pf = devi->pf; local 473 pccard_function_init(struct pccard_function *pf, int entry) argument 595 pccard_function_free(struct pccard_function *pf) argument 623 pccard_mfc_adjust_iobase(struct pccard_function *pf, rman_res_t addr, rman_res_t offset, rman_res_t size) argument 660 pccard_function_enable(struct pccard_function *pf) argument 775 pccard_function_disable(struct pccard_function *pf) argument 1009 struct pccard_function *pf = devi->pf; local 1029 struct pccard_function *pf = devi->pf; local 1040 struct pccard_function *pf = devi->pf; local 1061 struct pccard_function *pf = devi->pf; local 1111 struct pccard_function *pf; local 1213 struct pccard_function *pf = ivar->pf; local 1221 struct pccard_function *pf = (struct pccard_function*) arg; local 1260 struct pccard_function *pf = (struct pccard_function*) arg; local 1272 struct pccard_function *pf = ivar->pf; local 1302 struct pccard_function *pf = ivar->pf; local 1325 struct pccard_function *pf = ivar->pf; local 1356 struct pccard_function *pf = devi->pf; local 1382 struct pccard_function *pf = devi->pf; local 1421 struct pccard_function *pf = devi->pf; local [all...] |
H A D | pccard_cis_quirks.c | 284 struct pccard_function *pf, *pf_next, *pf_last; local 288 pf = NULL; 308 for (pf = STAILQ_FIRST(&sc->card.pf_head); pf != NULL; 309 pf = pf_next) { 310 for (cfe = STAILQ_FIRST(&pf->cfe_head); cfe != NULL; 315 pf_next = STAILQ_NEXT(pf, pf_list); 316 free(pf, M_DEVBUF); 323 if (pf_last == q->pf) { 330 STAILQ_INSERT_TAIL(&pf [all...] |
/freebsd-13-stable/share/examples/pf/ |
H A D | Makefile | 6 pf.conf \ 9 FILESDIR= ${SHAREDIR}/examples/pf
|
/freebsd-13-stable/sys/dev/sound/pcm/ |
H A D | sndstat.c | 111 struct sndstat_file *pf; local 113 pf = malloc(sizeof(*pf), M_DEVBUF, M_WAITOK | M_ZERO); 116 if (sbuf_new(&pf->sbuf, NULL, 4096, SBUF_AUTOEXTEND) == NULL) { 118 free(pf, M_DEVBUF); 121 TAILQ_INSERT_TAIL(&sndstat_filelist, pf, entry); 124 devfs_set_cdevpriv(pf, &sndstat_close); 132 struct sndstat_file *pf = (struct sndstat_file *)sndstat_file; local 135 sbuf_delete(&pf->sbuf); 136 TAILQ_REMOVE(&sndstat_filelist, pf, entr 145 struct sndstat_file *pf; local 183 struct sndstat_file *pf; local 342 struct sndstat_file *pf; local [all...] |
/freebsd-13-stable/lib/libutil/tests/ |
H A D | pidfile_test.c | 64 struct pidfh *pf; local 68 pf = pidfile_open(fn, 0600, &other); 69 if (pf == NULL && other != 0) 71 if (pf == NULL) 73 if (pidfile_write(pf) != 0) { 74 pidfile_close(pf); 78 pidfile_close(pf); 130 struct pidfh *pf = NULL; local 142 pf = pidfile_open(fn, 0600, &other); 143 if (pf [all...] |
/freebsd-13-stable/tests/sys/netpfil/ |
H A D | Makefile | 8 TESTS_SUBDIRS+= pf \
|
/freebsd-13-stable/sbin/pflogd/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/contrib/pf/pflogd 5 PACKAGE=pf
|
/freebsd-13-stable/usr.sbin/ftp-proxy/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/contrib/pf/ftp-proxy 10 CFLAGS+=-I${SRCTOP}/contrib/pf/libevent
|
/freebsd-13-stable/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_init.c | 108 _dwarf_producer_init(Dwarf_Debug dbg, Dwarf_Unsigned pf, Dwarf_Error *error) argument 114 if (pf & DW_DLC_SIZE_32 && pf & DW_DLC_SIZE_64) { 119 if ((pf & DW_DLC_SIZE_32) == 0 && (pf & DW_DLC_SIZE_64) == 0) 120 pf |= DW_DLC_SIZE_32; 122 if (pf & DW_DLC_SIZE_64) 127 if (pf & DW_DLC_ISA_IA64 && pf & DW_DLC_ISA_MIPS) { 132 if (pf [all...] |
/freebsd-13-stable/sbin/pfctl/ |
H A D | pfctl.c | 126 static const char *pf_device = "/dev/pf"; 262 errx(1, "pf already enabled"); 269 fprintf(stderr, "pf enabled\n"); 283 errx(1, "pf not enabled"); 288 fprintf(stderr, "pf disabled\n"); 303 fprintf(stderr, "pf: statistics cleared\n"); 351 pfctl_adjust_skip_ifaces(struct pfctl *pf) argument 360 pfctl_set_interface_flags(pf, p->pfik_name, PFI_IFLAG_SKIP, 0); 373 pfctl_set_interface_flags(pf, 384 pfctl_set_interface_flags(pf, 1342 pfctl_add_pool(struct pfctl *pf, struct pfctl_pool *p, sa_family_t af) argument 1363 pfctl_append_rule(struct pfctl *pf, struct pfctl_rule *r, const char *anchor_call) argument 1411 pfctl_ruleset_trans(struct pfctl *pf, char *path, struct pfctl_anchor *a) argument 1441 pfctl_load_ruleset(struct pfctl *pf, char *path, struct pfctl_ruleset *rs, int rs_num, int depth) argument 1501 pfctl_load_rule(struct pfctl *pf, char *path, struct pfctl_rule *r, int depth) argument 1549 pfctl_add_altq(struct pfctl *pf, struct pf_altq *a) argument 1579 struct pfctl pf; local 1731 pfctl_init_options(struct pfctl *pf) argument 1764 pfctl_load_options(struct pfctl *pf) argument 1825 pfctl_set_limit(struct pfctl *pf, const char *opt, unsigned int limit) argument 1849 pfctl_load_limit(struct pfctl *pf, unsigned int index, unsigned int limit) argument 1867 pfctl_set_timeout(struct pfctl *pf, const char *opt, int seconds, int quiet) argument 1895 pfctl_load_timeout(struct pfctl *pf, unsigned int timeout, unsigned int seconds) argument 1910 pfctl_set_optimization(struct pfctl *pf, const char *opt) argument 1940 pfctl_set_logif(struct pfctl *pf, char *ifname) argument 1963 pfctl_load_logif(struct pfctl *pf, char *ifname) argument 1981 pfctl_set_hostid(struct pfctl *pf, u_int32_t hostid) argument 1998 pfctl_load_hostid(struct pfctl *pf, u_int32_t hostid) argument 2008 pfctl_set_debug(struct pfctl *pf, char *d) argument 2042 pfctl_load_debug(struct pfctl *pf, unsigned int level) argument 2052 pfctl_set_interface_flags(struct pfctl *pf, char *ifname, int flags, int how) argument [all...] |
/freebsd-13-stable/sys/netpfil/pf/ |
H A D | pf_nv.h | 40 SDT_PROVIDER_DECLARE(pf); variable 41 SDT_PROBE_DECLARE(pf, ioctl, function, error); 42 SDT_PROBE_DECLARE(pf, ioctl, nvchk, error); 47 SDT_PROBE3(pf, ioctl, function, error, __func__, error, \ 54 SDT_PROBE2(pf, ioctl, nvchk, error, error, __LINE__); \
|