Home
last modified time | relevance | path

Searched defs:bp (Results 1 – 25 of 144) sorted by relevance

123456

/f-stack/freebsd/net/
H A Dbridgestp.c397 bstp_pdu_flags(struct bstp_port *bp) in bstp_pdu_flags()
783 struct bstp_port *bp, *rbp = NULL; in bstp_assign_roles() local
1179 struct bstp_port *bp; in bstp_set_all_reroot() local
1190 struct bstp_port *bp; in bstp_set_all_sync() local
1526 struct bstp_port *bp; in bstp_set_holdcount() local
1543 struct bstp_port *bp; in bstp_set_protocol() local
1866 struct bstp_port *bp; in bstp_tick() local
2025 struct bstp_port *bp; in bstp_reinit() local
2188 struct bstp_port *bp; in bstp_stop() local
2226 bstp_enable(struct bstp_port *bp) in bstp_enable()
[all …]
H A Dbpf.c298 struct bpf_if *bp; in bpfif_free() local
306 bpfif_ref(struct bpf_if *bp) in bpfif_ref()
313 bpfif_rele(struct bpf_if *bp) in bpfif_rele()
843 struct bpf_if *bp; in bpf_detachd_locked() local
1168 struct bpf_if *bp; in bpfwrite() local
2056 struct bpf_if *bp; in bpf_setif() local
2686 struct bpf_if *bp; in bpfattach2() local
2785 struct bpf_if *bp; in bpf_getdltlist() local
2825 struct bpf_if *bp; in bpf_setdlt() local
2879 struct bpf_if *bp; in bpf_zero_counters() local
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_ethdev.c3756 struct bnxt *bp = arg; in bnxt_dev_recover() local
3807 struct bnxt *bp = arg; in bnxt_dev_reset_and_resume() local
3869 struct bnxt *bp = arg; in bnxt_fw_reset_cb() local
3908 struct bnxt *bp = arg; in bnxt_check_fw_health() local
4438 struct bnxt *bp; in bnxt_get_svif() local
4462 struct bnxt *bp; in bnxt_get_vnic_id() local
4487 struct bnxt *bp; in bnxt_get_fw_func_id() local
4510 struct bnxt *bp; in bnxt_get_interface_type() local
4532 struct bnxt *bp; in bnxt_get_phy_port_id() local
4552 struct bnxt *bp; in bnxt_get_parif() local
[all …]
H A Dbnxt_hwrm.c587 int bnxt_hwrm_ptp_cfg(struct bnxt *bp) in bnxt_hwrm_ptp_cfg()
814 int bnxt_hwrm_func_qcaps(struct bnxt *bp) in bnxt_hwrm_func_qcaps()
837 int bnxt_hwrm_vnic_qcaps(struct bnxt *bp) in bnxt_hwrm_vnic_qcaps()
869 int bnxt_hwrm_func_reset(struct bnxt *bp) in bnxt_hwrm_func_reset()
1524 int bnxt_hwrm_ring_alloc(struct bnxt *bp, in bnxt_hwrm_ring_alloc()
1654 int bnxt_hwrm_ring_free(struct bnxt *bp, in bnxt_hwrm_ring_free()
2583 bnxt_free_all_hwrm_rings(struct bnxt *bp) in bnxt_free_all_hwrm_rings()
2746 bnxt_free_tunnel_ports(struct bnxt *bp) in bnxt_free_tunnel_ports()
3695 bnxt_update_pf_resources(struct bnxt *bp, in bnxt_update_pf_resources()
5325 int bnxt_hwrm_set_mac(struct bnxt *bp) in bnxt_hwrm_set_mac()
[all …]
H A Dbnxt_filter.c25 struct bnxt_filter_info *bnxt_alloc_filter(struct bnxt *bp) in bnxt_alloc_filter()
46 struct bnxt_filter_info *bnxt_alloc_vf_filter(struct bnxt *bp, uint16_t vf) in bnxt_alloc_vf_filter()
62 static void bnxt_init_filters(struct bnxt *bp) in bnxt_init_filters()
78 void bnxt_free_all_filters(struct bnxt *bp) in bnxt_free_all_filters()
109 void bnxt_free_filter_mem(struct bnxt *bp) in bnxt_free_filter_mem()
160 int bnxt_alloc_filter_mem(struct bnxt *bp) in bnxt_alloc_filter_mem()
180 struct bnxt_filter_info *bnxt_get_unused_filter(struct bnxt *bp) in bnxt_get_unused_filter()
195 void bnxt_free_filter(struct bnxt *bp, struct bnxt_filter_info *filter) in bnxt_free_filter()
H A Dbnxt_vnic.c38 static void bnxt_init_vnics(struct bnxt *bp) in bnxt_init_vnics()
62 struct bnxt_vnic_info *bnxt_alloc_vnic(struct bnxt *bp) in bnxt_alloc_vnic()
76 void bnxt_free_all_vnics(struct bnxt *bp) in bnxt_free_all_vnics()
91 void bnxt_free_vnic_attributes(struct bnxt *bp) in bnxt_free_vnic_attributes()
117 int bnxt_alloc_vnic_attributes(struct bnxt *bp) in bnxt_alloc_vnic_attributes()
181 void bnxt_free_vnic_mem(struct bnxt *bp) in bnxt_free_vnic_mem()
202 int bnxt_alloc_vnic_mem(struct bnxt *bp) in bnxt_alloc_vnic_mem()
221 int bnxt_vnic_grp_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic) in bnxt_vnic_grp_alloc()
257 int bnxt_rte_to_hwrm_hash_level(struct bnxt *bp, uint64_t hash_f, uint32_t lvl) in bnxt_rte_to_hwrm_hash_level()
301 uint64_t bnxt_hwrm_to_rte_rss_level(struct bnxt *bp, uint32_t mode) in bnxt_hwrm_to_rte_rss_level()
H A Dbnxt_cpr.c15 void bnxt_wait_for_device_shutdown(struct bnxt *bp) in bnxt_wait_for_device_shutdown()
50 bnxt_process_default_vnic_change(struct bnxt *bp, in bnxt_process_default_vnic_change()
97 void bnxt_handle_async_event(struct bnxt *bp, in bnxt_handle_async_event()
207 void bnxt_handle_fwd_req(struct bnxt *bp, struct cmpl_base *cmpl) in bnxt_handle_fwd_req()
296 int bnxt_event_hwrm_resp_handler(struct bnxt *bp, struct cmpl_base *cmp) in bnxt_event_hwrm_resp_handler()
328 bool bnxt_is_master_func(struct bnxt *bp) in bnxt_is_master_func()
336 bool bnxt_is_recovery_enabled(struct bnxt *bp) in bnxt_is_recovery_enabled()
347 void bnxt_stop_rxtx(struct bnxt *bp) in bnxt_stop_rxtx()
H A Drte_pmd_bnxt.c45 struct bnxt *bp; in rte_pmd_bnxt_set_tx_loopback() local
86 struct bnxt *bp; in rte_pmd_bnxt_set_all_queues_drop_en() local
139 struct bnxt *bp; in rte_pmd_bnxt_set_vf_mac_addr() local
179 struct bnxt *bp; in rte_pmd_bnxt_set_vf_rate_limit() local
236 struct bnxt *bp; in rte_pmd_bnxt_set_vf_mac_anti_spoof() local
295 struct bnxt *bp; in rte_pmd_bnxt_set_vf_vlan_anti_spoof() local
355 struct bnxt *bp; in rte_pmd_bnxt_set_vf_vlan_stripq() local
399 struct bnxt *bp; in rte_pmd_bnxt_set_vf_rxmode() local
497 struct bnxt *bp; in rte_pmd_bnxt_set_vf_vlan_filter() local
592 struct bnxt *bp; in rte_pmd_bnxt_get_vf_stats() local
[all …]
H A Dbnxt_irq.c23 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_int_handler() local
64 int bnxt_free_int(struct bnxt *bp) in bnxt_free_int()
105 void bnxt_disable_int(struct bnxt *bp) in bnxt_disable_int()
125 void bnxt_enable_int(struct bnxt *bp) in bnxt_enable_int()
142 int bnxt_setup_int(struct bnxt *bp) in bnxt_setup_int()
167 int bnxt_request_int(struct bnxt *bp) in bnxt_request_int()
H A Dbnxt_flow.c129 bnxt_validate_and_parse_flow_type(struct bnxt *bp, in bnxt_validate_and_parse_flow_type()
941 static int match_vnic_rss_cfg(struct bnxt *bp, in match_vnic_rss_cfg()
1015 struct bnxt *bp = dev->data->dev_private; in bnxt_validate_and_parse_flow() local
1490 struct bnxt *bp = dev->data->dev_private; in bnxt_flow_validate() local
1631 bnxt_setup_flow_counter(struct bnxt *bp) in bnxt_setup_flow_counter()
1645 struct bnxt *bp = arg; in bnxt_flow_cnt_alarm_cb() local
1682 struct bnxt *bp = dev->data->dev_private; in bnxt_flow_create() local
1916 _bnxt_flow_destroy(struct bnxt *bp, in _bnxt_flow_destroy()
1994 struct bnxt *bp = dev->data->dev_private; in bnxt_flow_destroy() local
2019 void bnxt_cancel_fc_thread(struct bnxt *bp) in bnxt_cancel_fc_thread()
[all …]
H A Dbnxt_ring.c41 static void bnxt_init_ring_grps(struct bnxt *bp) in bnxt_init_ring_grps()
50 int bnxt_alloc_ring_grps(struct bnxt *bp) in bnxt_alloc_ring_grps()
97 int bnxt_alloc_rings(struct bnxt *bp, uint16_t qidx, in bnxt_alloc_rings()
341 static void bnxt_set_db(struct bnxt *bp, in bnxt_set_db()
420 int bnxt_alloc_rxtx_nq_ring(struct bnxt *bp) in bnxt_alloc_rxtx_nq_ring()
484 void bnxt_free_rxtx_nq_ring(struct bnxt *bp) in bnxt_free_rxtx_nq_ring()
628 static void bnxt_init_all_rings(struct bnxt *bp) in bnxt_init_all_rings()
666 int bnxt_alloc_hwrm_rings(struct bnxt *bp) in bnxt_alloc_hwrm_rings()
758 int bnxt_alloc_async_cp_ring(struct bnxt *bp) in bnxt_alloc_async_cp_ring()
795 void bnxt_free_async_cp_ring(struct bnxt *bp) in bnxt_free_async_cp_ring()
[all …]
H A Dbnxt_stats.c493 void bnxt_free_stats(struct bnxt *bp) in bnxt_free_stats()
514 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_stats_get_op() local
558 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_stats_reset_op() local
584 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_dev_xstats_get_op() local
713 int bnxt_flow_stats_cnt(struct bnxt *bp) in bnxt_flow_stats_cnt()
731 struct bnxt *bp = (struct bnxt *)eth_dev->data->dev_private; in bnxt_dev_xstats_get_names_op() local
810 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_dev_xstats_reset_op() local
861 static int bnxt_update_fc_tbl(struct bnxt *bp, uint16_t ctr, in bnxt_update_fc_tbl()
907 int bnxt_flow_stats_req(struct bnxt *bp) in bnxt_flow_stats_req()
H A Dbnxt_rxq.c29 int bnxt_mq_rx_configure(struct bnxt *bp) in bnxt_mq_rx_configure()
251 void bnxt_free_rx_mbufs(struct bnxt *bp) in bnxt_free_rx_mbufs()
304 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_rx_queue_setup_op() local
403 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_rx_queue_intr_enable_op() local
426 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_rx_queue_intr_disable_op() local
448 struct bnxt *bp = dev->data->dev_private; in bnxt_rx_queue_start() local
515 struct bnxt *bp = dev->data->dev_private; in bnxt_rx_queue_stop() local
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dspa.h346 #define BPE_GET_ETYPE(bp) \ argument
354 #define BPE_GET_LSIZE(bp) \ argument
362 #define BPE_GET_PSIZE(bp) \ argument
429 #define BP_GET_LSIZE(bp) \ argument
439 #define BP_GET_PSIZE(bp) \ argument
522 #define BP_GET_IV2(bp) \ argument
534 #define BP_GET_ASIZE(bp) \ argument
543 #define BP_GET_NDVAS(bp) \ argument
570 #define BP_IS_GANG(bp) \ argument
574 #define BP_IS_HOLE(bp) \ argument
[all …]
/f-stack/freebsd/kern/
H A Dvfs_bio.c1156 struct buf *bp; in bufinit() local
1340 struct buf *bp; in bufshutdown() local
1601 struct buf *bp; in buf_import() local
1626 struct buf *bp; in buf_release() local
1650 struct buf *bp; in buf_alloc() local
1904 struct buf *bp; in bd_flush() local
2156 struct buf *bp; in breadn_flags() local
3280 struct buf *bp; in getnewbuf() local
3481 struct buf *bp; in flushbufqueues() local
3828 struct buf *bp; in getblk() local
[all …]
H A Dsubr_disk.c41 disk_err(struct bio *bp, const char *what, int blkdone, int nl) in disk_err()
165 bioq_remove(struct bio_queue_head *head, struct bio *bp) in bioq_remove()
183 struct bio *bp; in bioq_flush() local
190 bioq_insert_head(struct bio_queue_head *head, struct bio *bp) in bioq_insert_head()
201 bioq_insert_tail(struct bio_queue_head *head, struct bio *bp) in bioq_insert_tail()
221 struct bio *bp; in bioq_takefirst() local
235 bioq_bio_key(struct bio_queue_head *head, struct bio *bp) in bioq_bio_key()
249 bioq_disksort(struct bio_queue_head *head, struct bio *bp) in bioq_disksort()
H A Dvfs_cluster.c106 struct buf *bp, *rbp, *reqbp; in cluster_read() local
354 struct buf *bp, *tbp; in cluster_rbuild() local
566 cluster_callback(struct buf *bp) in cluster_callback()
654 cluster_write(struct vnode *vp, struct buf *bp, u_quad_t filesize, int seqcount, in cluster_write()
816 struct buf *bp, *tbp; in cluster_wbuild() local
1053 struct buf *bp; in cluster_collectbufs() local
/f-stack/freebsd/mips/broadcom/
H A Dbcm_pmu.c91 bcm_get_pmu(struct bcm_platform *bp) in bcm_get_pmu()
102 bcm_has_pmu(struct bcm_platform *bp) in bcm_has_pmu()
112 bcm_get_uart_clkcfg(struct bcm_platform *bp) in bcm_get_uart_clkcfg()
199 bcm_get_uart_rclk(struct bcm_platform *bp) in bcm_get_uart_rclk()
209 bcm_get_alpfreq(struct bcm_platform *bp) { in bcm_get_alpfreq()
218 bcm_get_ilpfreq(struct bcm_platform *bp) { in bcm_get_ilpfreq()
227 bcm_get_cpufreq(struct bcm_platform *bp) in bcm_get_cpufreq()
255 bcm_get_sifreq(struct bcm_platform *bp) in bcm_get_sifreq()
282 struct bcm_platform *bp = ctx; in bcm_pmu_read4() local
288 struct bcm_platform *bp = ctx; in bcm_pmu_write4() local
[all …]
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dbnxt_ulp.c52 bnxt_ulp_devid_get(struct bnxt *bp, in bnxt_ulp_devid_get()
243 ulp_ctx_session_open(struct bnxt *bp, in ulp_ctx_session_open()
481 ulp_ctx_deinit(struct bnxt *bp, in ulp_ctx_deinit()
498 ulp_ctx_init(struct bnxt *bp, in ulp_ctx_init()
547 ulp_dparms_init(struct bnxt *bp, in ulp_dparms_init()
602 ulp_ctx_attach(struct bnxt *bp, in ulp_ctx_attach()
627 ulp_ctx_detach(struct bnxt *bp) in ulp_ctx_detach()
679 ulp_session_init(struct bnxt *bp, in ulp_session_init()
852 bnxt_ulp_deinit(struct bnxt *bp, in bnxt_ulp_deinit()
908 bnxt_ulp_init(struct bnxt *bp, in bnxt_ulp_init()
[all …]
H A Dulp_def_rules.c437 bnxt_ulp_destroy_df_rules(struct bnxt *bp, bool global) in bnxt_ulp_destroy_df_rules()
479 bnxt_create_port_app_df_rule(struct bnxt *bp, uint8_t flow_type, in bnxt_create_port_app_df_rule()
501 bnxt_ulp_create_df_rules(struct bnxt *bp) in bnxt_ulp_create_df_rules()
549 bnxt_create_port_vfr_default_rule(struct bnxt *bp, in bnxt_create_port_vfr_default_rule()
576 struct bnxt *bp = parent_dev->data->dev_private; in bnxt_ulp_create_vfr_default_rules() local
638 struct bnxt *bp = parent_dev->data->dev_private; in bnxt_ulp_delete_vfr_default_rules() local
/f-stack/freebsd/sys/
H A Dbuf.h302 #define BUF_LOCKINIT(bp) \ argument
373 #define BUF_ASSERT_LOCKED(bp) argument
374 #define BUF_ASSERT_SLOCKED(bp) argument
375 #define BUF_ASSERT_XLOCKED(bp) argument
412 bwrite(struct buf *bp) in bwrite()
423 bstrategy(struct buf *bp) in bstrategy()
435 buf_start(struct buf *bp) in buf_start()
445 buf_complete(struct buf *bp) in buf_complete()
455 buf_deallocate(struct buf *bp) in buf_deallocate()
486 #define clrbuf(bp) { \ argument
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzio.c460 blkptr_t *bp = zio->io_bp; in zio_decrypt() local
1546 blkptr_t *bp = zio->io_bp; in zio_read_bp_init() local
1656 blkptr_t *bp = zio->io_bp; in zio_write_compress() local
1844 blkptr_t *bp = zio->io_bp; in zio_free_bp_init() local
2640 blkptr_t *bp = zio->io_bp; in zio_gang_tree_assemble_done() local
2706 blkptr_t *bp = zio->io_bp; in zio_gang_assemble() local
2721 blkptr_t *bp = zio->io_bp; in zio_gang_issue() local
2788 blkptr_t *bp = pio->io_bp; in zio_write_gang_block() local
2955 blkptr_t *bp = zio->io_bp; in zio_nop_write() local
3025 blkptr_t *bp = zio->io_bp; in zio_ddt_child_read_done() local
[all …]
H A Dblkptr.c48 encode_embedded_bp_compressed(blkptr_t *bp, void *data, in encode_embedded_bp_compressed()
94 decode_embedded_bp_compressed(const blkptr_t *bp, void *buf) in decode_embedded_bp_compressed()
129 decode_embedded_bp(const blkptr_t *bp, void *buf, int buflen) in decode_embedded_bp()
/f-stack/freebsd/vm/
H A Dvm_pager.c377 struct buf *bp = mem; in pbuf_ctor() local
400 struct buf *bp = mem; in pbuf_dtor() local
417 struct buf *bp = mem; in pbuf_init() local
439 pbgetvp(struct vnode *vp, struct buf *bp) in pbgetvp()
458 pbgetbo(struct bufobj *bo, struct buf *bp) in pbgetbo()
472 pbrelvp(struct buf *bp) in pbrelvp()
489 pbrelbo(struct buf *bp) in pbrelbo()
/f-stack/tools/ipfw/
H A Dipv6.c78 print_unreach6_code(struct buf_pr *bp, uint16_t code) in print_unreach6_code()
92 print_ip6(struct buf_pr *bp, const ipfw_insn_ip6 *cmd) in print_ip6()
177 print_icmp6types(struct buf_pr *bp, const ipfw_insn_u32 *cmd) in print_icmp6types()
193 print_flow6id(struct buf_pr *bp, const ipfw_insn_u32 *cmd) in print_flow6id()
269 print_ext6hdr(struct buf_pr *bp, const ipfw_insn *cmd ) in print_ext6hdr()

123456