/freebsd-11-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-11-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-11-stable/lib/libc/gen/ |
H A D | fmtcheck.c | 84 #define RETURN(pf,f,r) do { \ 85 *(pf) = (f); \ 90 get_next_format_from_precision(const char **pf) argument 95 f = *pf; 99 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); 113 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); 141 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); 145 RETURN(pf,f,FMTCHECK_LONG); 147 RETURN(pf,f,FMTCHECK_QUAD); 149 RETURN(pf, 242 get_next_format_from_width(const char **pf) argument 261 get_next_format(const char **pf, EFT eft) argument [all...] |
/freebsd-11-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 | if_ixl.c | 329 ixl_save_pf_tunables(struct ixl_pf *pf) argument 331 device_t dev = pf->dev; 334 pf->enable_msix = ixl_enable_msix; 335 pf->max_queues = ixl_max_queues; 336 pf->enable_tx_fc_filter = ixl_enable_tx_fc_filter; 337 pf->dynamic_rx_itr = ixl_dynamic_rx_itr; 338 pf->dynamic_tx_itr = ixl_dynamic_tx_itr; 339 pf->dbg_mask = ixl_core_debug_mask; 340 pf->hw.debug_mask = ixl_shared_debug_mask; 345 pf 386 ixl_attach_recovery_mode(struct ixl_pf *pf) argument 457 struct ixl_pf *pf; local 818 struct ixl_pf *pf = device_get_softc(dev); local 912 struct ixl_pf *pf = device_get_softc(dev); local [all...] |
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 | 49 static int ixl_vf_alloc_vsi(struct ixl_pf *pf, struct ixl_vf *vf); 50 static int ixl_vf_setup_vsi(struct ixl_pf *pf, struct ixl_vf *vf); 51 static void ixl_vf_map_queues(struct ixl_pf *pf, struct ixl_vf *vf); 52 static void ixl_vf_vsi_release(struct ixl_pf *pf, struct ixl_vsi *vsi); 53 static void ixl_vf_release_resources(struct ixl_pf *pf, struct ixl_vf *vf); 54 static int ixl_flush_pcie(struct ixl_pf *pf, struct ixl_vf *vf); 55 static void ixl_reset_vf(struct ixl_pf *pf, struct ixl_vf *vf); 56 static void ixl_reinit_vf(struct ixl_pf *pf, struct ixl_vf *vf); 57 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); 58 static void ixl_send_vf_ack(struct ixl_pf *pf, struc 84 ixl_initialize_sriov(struct ixl_pf *pf) argument 123 ixl_vf_alloc_vsi(struct ixl_pf *pf, struct ixl_vf *vf) argument 194 ixl_vf_setup_vsi(struct ixl_pf *pf, struct ixl_vf *vf) argument 236 ixl_vf_map_queues(struct ixl_pf *pf, struct ixl_vf *vf) argument 283 ixl_vf_vsi_release(struct ixl_pf *pf, struct ixl_vsi *vsi) argument 313 ixl_vf_release_resources(struct ixl_pf *pf, struct ixl_vf *vf) argument 343 ixl_flush_pcie(struct ixl_pf *pf, struct ixl_vf *vf) argument 366 ixl_reset_vf(struct ixl_pf *pf, struct ixl_vf *vf) argument 382 ixl_reinit_vf(struct ixl_pf *pf, struct ixl_vf *vf) argument 436 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 453 ixl_send_vf_ack(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op) argument 460 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 472 ixl_vf_version_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 492 ixl_vf_reset_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 508 ixl_vf_get_resources_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 551 ixl_vf_config_tx_queue(struct ixl_pf *pf, struct ixl_vf *vf, struct virtchnl_txq_info *info) argument 596 ixl_vf_config_rx_queue(struct ixl_pf *pf, struct ixl_vf *vf, struct virtchnl_rxq_info *info) argument 663 ixl_vf_config_vsi_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 733 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 762 ixl_vf_config_vector(struct ixl_pf *pf, struct ixl_vf *vf, const struct virtchnl_vector_map *vector) argument 817 ixl_vf_config_irq_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 891 ixl_vf_enable_queues_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 970 ixl_vf_disable_queues_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1086 ixl_vf_add_mac_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1132 ixl_vf_del_mac_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1176 ixl_vf_enable_vlan_strip(struct ixl_pf *pf, struct ixl_vf *vf) argument 1190 ixl_vf_add_vlan_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1242 ixl_vf_del_vlan_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1287 ixl_vf_config_promisc_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1332 ixl_vf_get_stats_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1357 ixl_vf_config_rss_key_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1420 ixl_vf_config_rss_lut_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1475 ixl_vf_set_rss_hena_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size) argument 1502 ixl_notify_vf_link_state(struct ixl_pf *pf, struct ixl_vf *vf) argument 1519 ixl_broadcast_link_state(struct ixl_pf *pf) argument 1528 ixl_handle_vf_msg(struct ixl_pf *pf, struct i40e_arq_event_info *event) argument 1628 struct ixl_pf *pf; local 1722 struct ixl_pf *pf; local 1771 struct ixl_pf *pf; local 1813 ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues) argument 1847 struct ixl_pf *pf; local [all...] |
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 | 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); 61 void ixl_broadcast_link_state(struct ixl_pf *pf);
|
H A D | ixl_pf_main.c | 119 ixl_debug_core(struct ixl_pf *pf, enum ixl_dbg_mask mask, char *fmt, ...) argument 123 if (!(mask & pf->dbg_mask)) 127 device_print_prettyname(pf->dev); 156 ixl_print_nvm_version(struct ixl_pf *pf) argument 158 struct i40e_hw *hw = &pf->hw; 159 device_t dev = pf->dev; 170 ixl_fw_recovery_mode(struct ixl_pf *pf) argument 172 return (rd32(&pf->hw, I40E_GL_FWSTS) & I40E_GL_FWSTS_FWS1B_MASK); 176 ixl_configure_tx_itr(struct ixl_pf *pf) argument 178 struct i40e_hw *hw = &pf 195 ixl_configure_rx_itr(struct ixl_pf *pf) argument 217 ixl_configure_itr(struct ixl_pf *pf) argument 234 ixl_init_locked(struct ixl_pf *pf) argument 342 ixl_get_hw_capabilities(struct ixl_pf *pf) argument 518 ixl_set_initial_advertised_speeds(struct ixl_pf *pf) argument 540 ixl_teardown_hw_structs(struct ixl_pf *pf) argument 568 ixl_reset(struct ixl_pf *pf) argument 675 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 710 struct ixl_pf *pf = arg; local 817 struct ixl_pf *pf = arg; local 1034 struct ixl_pf *pf = arg; local 1065 ixl_link_up_msg(struct ixl_pf *pf) argument 1106 ixl_update_link_status(struct ixl_pf *pf) argument 1147 ixl_stop_locked(struct ixl_pf *pf) argument 1170 ixl_stop(struct ixl_pf *pf) argument 1183 ixl_setup_legacy(struct ixl_pf *pf) argument 1219 ixl_setup_adminq_tq(struct ixl_pf *pf) argument 1279 ixl_free_adminq_tq(struct ixl_pf *pf) argument 1301 ixl_setup_adminq_msix(struct ixl_pf *pf) argument 1400 ixl_init_msix(struct ixl_pf *pf) argument 1568 ixl_configure_intr0_msix(struct ixl_pf *pf) argument 1607 ixl_configure_queue_intr_msix(struct ixl_pf *pf) argument 1639 ixl_configure_legacy(struct ixl_pf *pf) argument 1691 ixl_allocate_pci_resources(struct ixl_pf *pf) argument 1740 ixl_teardown_adminq_msix(struct ixl_pf *pf) argument 1775 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 1813 ixl_free_pci_resources(struct ixl_pf *pf) argument 1925 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 2041 ixl_link_event(struct ixl_pf *pf, struct i40e_arq_event_info *e) argument 2072 ixl_switch_config(struct ixl_pf *pf) argument 2121 struct ixl_pf *pf = vsi->back; local 2315 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 2387 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 2520 ixl_setup_stations(struct ixl_pf *pf) argument 2559 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 2633 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 2725 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 2759 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 2787 ixl_add_hw_stats(struct ixl_pf *pf) argument 2869 ixl_set_rss_key(struct ixl_pf *pf) argument 2903 ixl_set_rss_pctypes(struct ixl_pf *pf) argument 2941 ixl_set_rss_hlut(struct ixl_pf *pf) argument 2987 ixl_config_rss(struct ixl_pf *pf) argument 3006 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 3030 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 3107 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 3171 struct ixl_pf *pf; local 3268 struct ixl_pf *pf; local 3329 struct ixl_pf *pf; local 3387 ixl_enable_tx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3423 ixl_enable_rx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3457 ixl_enable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3473 struct ixl_pf *pf = vsi->back; local 3489 ixl_disable_tx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3524 ixl_disable_rx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3553 ixl_disable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3569 struct ixl_pf *pf = vsi->back; local 3588 ixl_handle_mdd_event(struct ixl_pf *pf) argument 3655 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 3719 ixl_update_stats_counters(struct ixl_pf *pf) argument 3905 ixl_prepare_for_reset(struct ixl_pf *pf, bool is_up) argument 3944 ixl_rebuild_hw_structs_after_reset(struct ixl_pf *pf, bool is_up) argument 4104 ixl_handle_empr_reset(struct ixl_pf *pf) argument 4136 struct ixl_pf *pf = context; local 4202 struct ixl_pf *pf = (struct ixl_pf *)vsi->back; local 4258 struct ixl_pf *pf; local 4302 ixl_pf_reset_stats(struct ixl_pf *pf) argument 4373 ixl_add_device_sysctls(struct ixl_pf *pf) argument 4585 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4605 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4701 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4746 ixl_set_advertised_speeds(struct ixl_pf *pf, int speeds, bool from_aq) argument 4809 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4832 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 4907 ixl_get_bus_info(struct ixl_pf *pf) argument 4961 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 5007 ixl_handle_nvmupd_cmd(struct ixl_pf *pf, struct ifdrv *ifd) argument 5114 ixl_handle_i2c_eeprom_read_cmd(struct ixl_pf *pf, struct ifreq *ifr) argument 5170 struct ixl_pf *pf = vsi->back; local 5324 struct ixl_pf *pf = arg; local 5365 struct ixl_pf *pf = vsi->back; local 5543 ixl_find_i2c_interface(struct ixl_pf *pf) argument 5626 ixl_aq_get_link_status(struct ixl_pf *pf, struct i40e_aqc_get_link_status *link_status) argument 5654 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 5704 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 5796 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 5888 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6001 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6080 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6114 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6204 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6245 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6266 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6308 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6395 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6433 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6460 ixl_get_fec_config(struct ixl_pf *pf, struct i40e_aq_get_phy_abilities_resp *abilities, u8 bit_pos, int *is_set) argument 6482 ixl_set_fec_config(struct ixl_pf *pf, struct i40e_aq_get_phy_abilities_resp *abilities, u8 bit_pos, int set) argument 6520 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6538 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6556 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6574 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6592 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6610 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6694 ixl_start_fw_lldp(struct ixl_pf *pf) argument 6726 ixl_stop_fw_lldp(struct ixl_pf *pf) argument 6765 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6788 struct ixl_pf *pf = (struct ixl_pf *)arg1; local 6823 ixl_attach_get_link_status(struct ixl_pf *pf) argument [all...] |
/freebsd-11-stable/sys/dev/pccard/ |
H A D | pccard.c | 85 static int pccard_ccr_read(struct pccard_function *pf, int ccr); 86 static void pccard_ccr_write(struct pccard_function *pf, int ccr, int val); 89 static void pccard_function_init(struct pccard_function *pf, int entry); 90 static void pccard_function_free(struct pccard_function *pf); 91 static int pccard_function_enable(struct pccard_function *pf); 92 static void pccard_function_disable(struct pccard_function *pf); 110 struct pccard_function *pf); 136 pccard_ccr_read(struct pccard_function *pf, int ccr) argument 138 return (bus_space_read_1(pf->pf_ccrt, pf 143 pccard_ccr_write(struct pccard_function *pf, int ccr, int val) argument 185 struct pccard_function *pf; local 253 pccard_probe_and_attach_child(device_t dev, device_t child, struct pccard_function *pf) argument 326 struct pccard_function *pf; local 450 struct pccard_function *pf = devi->pf; local 467 pccard_function_init(struct pccard_function *pf, int entry) argument 589 pccard_function_free(struct pccard_function *pf) argument 617 pccard_mfc_adjust_iobase(struct pccard_function *pf, rman_res_t addr, rman_res_t offset, rman_res_t size) argument 654 pccard_function_enable(struct pccard_function *pf) argument 769 pccard_function_disable(struct pccard_function *pf) argument 1002 struct pccard_function *pf = devi->pf; local 1022 struct pccard_function *pf = devi->pf; local 1033 struct pccard_function *pf = devi->pf; local 1049 struct pccard_function *pf = devi->pf; local 1099 struct pccard_function *pf; local 1201 struct pccard_function *pf = ivar->pf; local 1209 struct pccard_function *pf = (struct pccard_function*) arg; local 1248 struct pccard_function *pf = (struct pccard_function*) arg; local 1260 struct pccard_function *pf = ivar->pf; local 1287 struct pccard_function *pf = ivar->pf; local 1310 struct pccard_function *pf = ivar->pf; local 1341 struct pccard_function *pf = devi->pf; local 1367 struct pccard_function *pf = devi->pf; local 1406 struct pccard_function *pf = devi->pf; local [all...] |
H A D | pccard_cis_quirks.c | 282 struct pccard_function *pf, *pf_next, *pf_last; local 286 pf = NULL; 306 for (pf = STAILQ_FIRST(&sc->card.pf_head); pf != NULL; 307 pf = pf_next) { 308 for (cfe = STAILQ_FIRST(&pf->cfe_head); cfe != NULL; 313 pf_next = STAILQ_NEXT(pf, pf_list); 314 free(pf, M_DEVBUF); 321 if (pf_last == q->pf) { 328 STAILQ_INSERT_TAIL(&pf [all...] |
/freebsd-11-stable/share/examples/pf/ |
H A D | Makefile | 6 pf.conf \ 9 FILESDIR= ${SHAREDIR}/examples/pf
|
/freebsd-11-stable/usr.sbin/ftp-proxy/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/contrib/pf/ftp-proxy 10 CFLAGS+=-I${SRCTOP}/contrib/pf/libevent
|
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | sndstat.c | 107 struct sndstat_file *pf; local 109 pf = malloc(sizeof(*pf), M_DEVBUF, M_WAITOK | M_ZERO); 112 if (sbuf_new(&pf->sbuf, NULL, 4096, SBUF_AUTOEXTEND) == NULL) { 114 free(pf, M_DEVBUF); 117 TAILQ_INSERT_TAIL(&sndstat_filelist, pf, entry); 120 devfs_set_cdevpriv(pf, &sndstat_close); 128 struct sndstat_file *pf = (struct sndstat_file *)sndstat_file; local 131 sbuf_delete(&pf->sbuf); 132 TAILQ_REMOVE(&sndstat_filelist, pf, entr 141 struct sndstat_file *pf; local 179 struct sndstat_file *pf; local 338 struct sndstat_file *pf; local [all...] |
/freebsd-11-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-11-stable/sbin/pflogd/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/contrib/pf/pflogd 5 PACKAGE=pf
|
/freebsd-11-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-11-stable/sbin/pfctl/ |
H A D | pfctl.c | 121 char *pf_device = "/dev/pf"; 257 errx(1, "pf already enabled"); 264 fprintf(stderr, "pf enabled\n"); 278 errx(1, "pf not enabled"); 283 fprintf(stderr, "pf disabled\n"); 298 fprintf(stderr, "pf: statistics cleared\n"); 346 pfctl_adjust_skip_ifaces(struct pfctl *pf) argument 355 pfctl_set_interface_flags(pf, p->pfik_name, PFI_IFLAG_SKIP, 0); 368 pfctl_set_interface_flags(pf, 379 pfctl_set_interface_flags(pf, 1266 pfctl_add_pool(struct pfctl *pf, struct pf_pool *p, sa_family_t af) argument 1287 pfctl_add_rule(struct pfctl *pf, struct pf_rule *r, const char *anchor_call) argument 1334 pfctl_ruleset_trans(struct pfctl *pf, char *path, struct pf_anchor *a) argument 1364 pfctl_load_ruleset(struct pfctl *pf, char *path, struct pf_ruleset *rs, int rs_num, int depth) argument 1424 pfctl_load_rule(struct pfctl *pf, char *path, struct pf_rule *r, int depth) argument 1476 pfctl_add_altq(struct pfctl *pf, struct pf_altq *a) argument 1506 struct pfctl pf; local 1655 pfctl_init_options(struct pfctl *pf) argument 1688 pfctl_load_options(struct pfctl *pf) argument 1745 pfctl_set_limit(struct pfctl *pf, const char *opt, unsigned int limit) argument 1769 pfctl_load_limit(struct pfctl *pf, unsigned int index, unsigned int limit) argument 1787 pfctl_set_timeout(struct pfctl *pf, const char *opt, int seconds, int quiet) argument 1815 pfctl_load_timeout(struct pfctl *pf, unsigned int timeout, unsigned int seconds) argument 1830 pfctl_set_optimization(struct pfctl *pf, const char *opt) argument 1860 pfctl_set_logif(struct pfctl *pf, char *ifname) argument 1883 pfctl_load_logif(struct pfctl *pf, char *ifname) argument 1901 pfctl_set_hostid(struct pfctl *pf, u_int32_t hostid) argument 1918 pfctl_load_hostid(struct pfctl *pf, u_int32_t hostid) argument 1928 pfctl_set_debug(struct pfctl *pf, char *d) argument 1962 pfctl_load_debug(struct pfctl *pf, unsigned int level) argument 1972 pfctl_set_interface_flags(struct pfctl *pf, char *ifname, int flags, int how) argument [all...] |
/freebsd-11-stable/sys/modules/pf/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/sys/modules/pf/Makefile 319182 2017-05-30 04:11:12Z ngie $ 3 .PATH: ${SRCTOP}/sys/netpfil/pf 5 KMOD= pf 6 SRCS= pf.c pf_if.c pf_lb.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \
|
/freebsd-11-stable/contrib/blacklist/libexec/ |
H A D | blacklistd-helper | 12 pf= 14 pf="ipfw" 19 if [ -z "$pf" ]; then 20 for f in npf pf ipf; do 22 pf="$f" 28 if [ -z "$pf" ]; then 53 case "$pf" in 76 pf) 89 case "$pf" in 103 pf) [all...] |
/freebsd-11-stable/contrib/pjdfstest/tests/ftruncate/ |
H A D | 11.t | 17 cp -pf `which sleep` ${n0}
|
/freebsd-11-stable/libexec/tftp-proxy/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/contrib/pf/tftp-proxy
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_pf/ |
H A D | Makefile | 5 MOD= pf
|
/freebsd-11-stable/bin/sh/ |
H A D | input.c | 427 struct parsefile *pf; local 433 pf = (struct parsefile *)ckmalloc(sizeof (struct parsefile)); 434 pf->prev = parsefile; 435 pf->fd = -1; 436 pf->strpush = NULL; 437 pf->basestrpush.prev = NULL; 438 parsefile = pf; 445 struct parsefile *pf = parsefile; local 448 if (pf->fd >= 0) 449 close(pf [all...] |