Home
last modified time | relevance | path

Searched defs:bn (Results 1 – 25 of 40) sorted by relevance

12

/linux/drivers/net/ethernet/broadcom/bnge/ !
H A Dbnge_netdev.c37 static void bnge_free_stats_mem(struct bnge_net *bn, in bnge_free_stats_mem()
49 static int bnge_alloc_stats_mem(struct bnge_net *bn, in bnge_alloc_stats_mem()
62 static void bnge_free_ring_stats(struct bnge_net *bn) in bnge_free_ring_stats()
78 static int bnge_alloc_ring_stats(struct bnge_net *bn) in bnge_alloc_ring_stats()
162 static void bnge_free_nq_arrays(struct bnge_net *bn) in bnge_free_nq_arrays()
174 static int bnge_alloc_nq_arrays(struct bnge_net *bn) in bnge_alloc_nq_arrays()
193 static void bnge_free_nq_tree(struct bnge_net *bn) in bnge_free_nq_tree()
225 static int alloc_one_cp_ring(struct bnge_net *bn, in alloc_one_cp_ring()
253 static int bnge_alloc_nq_tree(struct bnge_net *bn) in bnge_alloc_nq_tree()
332 static void bnge_free_one_rx_ring_bufs(struct bnge_net *bn, in bnge_free_one_rx_ring_bufs()
[all …]
H A Dbnge_txrx.h10 static inline u32 bnge_tx_avail(struct bnge_net *bn, in bnge_tx_avail()
31 static inline void bnge_db_write_relaxed(struct bnge_net *bn, in bnge_db_write_relaxed()
44 #define SET_TX_OPAQUE(bn, txr, idx, bds) \ argument
53 #define TX_OPAQUE_PROD(bn, opq) ((TX_OPAQUE_IDX(opq) + TX_OPAQUE_BDS(opq)) &\ argument
66 #define RX_RING(bn, x) (((x) & (bn)->rx_ring_mask) >> (BNGE_PAGE_SHIFT - 4)) argument
67 #define RX_AGG_RING(bn, x) (((x) & (bn)->rx_agg_ring_mask) >> \ argument
71 #define TX_RING(bn, x) (((x) & (bn)->tx_ring_mask) >> (BNGE_PAGE_SHIFT - 4)) argument
77 #define TX_CMP_VALID(bn, txcmp, raw_cons) \ argument
81 #define RX_CMP_VALID(bn, rxcmp1, raw_cons) \ argument
85 #define RX_AGG_CMP_VALID(bn, agg, raw_cons) \ argument
[all …]
H A Dbnge_txrx.c36 struct bnge_net *bn; in bnge_msix() local
48 static struct rx_agg_cmp *bnge_get_tpa_agg(struct bnge_net *bn, in bnge_get_tpa_agg()
57 static struct rx_agg_cmp *bnge_get_agg(struct bnge_net *bn, in bnge_get_agg()
73 struct bnge_net *bn = bnapi->bn; in bnge_reuse_rx_agg_bufs() local
126 static int bnge_agg_bufs_valid(struct bnge_net *bn, in bnge_agg_bufs_valid()
140 static int bnge_discard_rx(struct bnge_net *bn, struct bnge_cp_ring_info *cpr, in bnge_discard_rx()
165 static u32 __bnge_rx_agg_netmems(struct bnge_net *bn, in __bnge_rx_agg_netmems()
233 static struct sk_buff *bnge_rx_agg_netmems_skb(struct bnge_net *bn, in bnge_rx_agg_netmems_skb()
251 static void bnge_sched_reset_rxr(struct bnge_net *bn, in bnge_sched_reset_rxr()
262 static void bnge_sched_reset_txr(struct bnge_net *bn, in bnge_sched_reset_txr()
[all …]
H A Dbnge_hwrm_lib.c707 int bnge_hwrm_vnic_set_hds(struct bnge_net *bn, struct bnge_vnic_info *vnic) in bnge_hwrm_vnic_set_hds()
755 __bnge_hwrm_vnic_set_rss(struct bnge_net *bn, in __bnge_hwrm_vnic_set_rss()
770 int bnge_hwrm_vnic_set_rss(struct bnge_net *bn, in bnge_hwrm_vnic_set_rss()
806 int bnge_hwrm_vnic_cfg(struct bnge_net *bn, struct bnge_vnic_info *vnic) in bnge_hwrm_vnic_cfg()
837 void bnge_hwrm_update_rss_hash_cfg(struct bnge_net *bn) in bnge_hwrm_update_rss_hash_cfg()
984 void bnge_hwrm_stat_ctx_free(struct bnge_net *bn) in bnge_hwrm_stat_ctx_free()
1008 int bnge_hwrm_stat_ctx_alloc(struct bnge_net *bn) in bnge_hwrm_stat_ctx_alloc()
1040 int hwrm_ring_free_send_msg(struct bnge_net *bn, in hwrm_ring_free_send_msg()
1067 int hwrm_ring_alloc_send_msg(struct bnge_net *bn, in hwrm_ring_alloc_send_msg()
1195 struct bnge_net *bn = netdev_priv(bd->netdev); in bnge_hwrm_vnic_update_tunl_tpa() local
[all …]
H A Dbnge_ethtool.c18 struct bnge_net *bn = netdev_priv(dev); in bnge_get_drvinfo() local
H A Dbnge_netdev.h200 #define RX_RING(bn, x) (((x) & (bn)->rx_ring_mask) >> (BNGE_PAGE_SHIFT - 4)) argument
201 #define RX_AGG_RING(bn, x) (((x) & (bn)->rx_agg_ring_mask) >> \ argument
205 #define TX_RING(bn, x) (((x) & (bn)->tx_ring_mask) >> (BNGE_PAGE_SHIFT - 4)) argument
211 #define RING_RX(bn, idx) ((idx) & (bn)->rx_ring_mask) argument
214 #define RING_RX_AGG(bn, idx) ((idx) & (bn)->rx_agg_ring_mask) argument
470 struct bnge_net *bn; member
H A Dbnge_rmem.c442 void bnge_init_ring_struct(struct bnge_net *bn) in bnge_init_ring_struct()
/linux/fs/xfs/scrub/ !
H A Dbitmap.c62 #define for_each_xbitmap64_extent(bn, bitmap) \ in INTERVAL_TREE_DEFINE() argument
76 struct xbitmap64_node *bn; local
183 struct xbitmap64_node *bn; in xbitmap64_destroy() local
218 struct xbitmap64_node *bn; in xbitmap64_disunion() local
239 struct xbitmap64_node *bn; in xbitmap64_hweight() local
255 struct xbitmap64_node *bn; in xbitmap64_walk() local
282 struct xbitmap64_node *bn; in xbitmap64_test() local
337 #define for_each_xbitmap32_extent(bn, bitmap) \ in INTERVAL_TREE_DEFINE() argument
351 struct xbitmap32_node *bn; local
458 struct xbitmap32_node *bn; in xbitmap32_destroy() local
[all …]
/linux/drivers/net/bonding/ !
H A Dbond_procfs.c286 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry() local
302 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry() local
314 void __net_init bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir()
326 void __net_exit bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir()
H A Dbond_sysfs.c38 const struct bond_net *bn = in bonding_show_bonds() local
62 static struct net_device *bond_get_by_name(const struct bond_net *bn, const char *ifname) in bond_get_by_name()
82 const struct bond_net *bn = in bonding_store_bonds() local
803 int __net_init bond_create_sysfs(struct bond_net *bn) in bond_create_sysfs()
836 void __net_exit bond_destroy_sysfs(struct bond_net *bn) in bond_destroy_sysfs()
H A Dbond_main.c6469 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_init() local
6542 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_init() local
6559 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_pre_exit() local
6567 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_exit_rtnl() local
6581 struct bond_net *bn; in bond_net_exit_batch() local
/linux/fs/jfs/ !
H A Djfs_xtree.c111 static inline xtpage_t *xt_getpage(struct inode *ip, s64 bn, struct metapage **mp) in xt_getpage()
144 s64 bn; in xtLookup() local
236 s64 bn; /* block number */ in xtSearch() local
536 s64 bn; in xtInsert() local
1360 s64 bn; in xtExtend() local
1519 s64 bn; in xtUpdate() local
1965 s64 bn, xaddr; in xtAppend() local
2208 s64 bn; in xtTruncate() local
2760 s64 bn; in xtTruncate_pmap() local
H A Djfs_dtree.c322 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot) in add_index()
512 static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn, in modify_index()
573 s64 bn; in dtSearch() local
821 s64 bn; in dtInsert() local
2082 s64 bn; in dtDelete() local
2616 static int add_missing_indices(struct inode *inode, s64 bn) in add_missing_indices()
2725 s64 bn; in jfs_readdir() local
3063 s64 bn; in dtReadFirst() local
3148 s64 bn; in dtReadNext() local
3644 s64 bn = 0; in dtInsertEntry() local
[all …]
H A Djfs_btree.h99 s64 bn; /* 8: */ member
/linux/drivers/net/ !
H A Dbareudp.c633 static struct bareudp_dev *bareudp_find_dev(struct bareudp_net *bn, in bareudp_find_dev()
649 struct bareudp_net *bn = net_generic(net, bareudp_net_id); in bareudp_configure() local
775 struct bareudp_net *bn = net_generic(net, bareudp_net_id); in bareudp_init_net() local
784 struct bareudp_net *bn = net_generic(net, bareudp_net_id); in bareudp_exit_rtnl_net() local
/linux/drivers/char/ !
H A Dbsr.c169 static int bsr_add_node(struct device_node *bn) in bsr_add_node()
273 static int bsr_create_devs(struct device_node *bn) in bsr_create_devs()
/linux/drivers/md/persistent-data/ !
H A Ddm-btree.c1472 struct btree_node *bn = dm_block_data(n->b); in prefetch_values() local
1487 struct btree_node *bn = dm_block_data(n->b); in leaf_node() local
1524 struct btree_node *bn; in inc_or_backtrack() local
1547 struct btree_node *bn; in find_leaf() local
1625 struct btree_node *bn = dm_block_data(n->b); in dm_btree_cursor_get_value() local
/linux/fs/gfs2/ !
H A Dxattr.c153 u64 bn; in ea_foreach() local
242 u64 bn = 0; in ea_dealloc_unstuffed() local
1299 u64 bn; in ea_dealloc_indirect() local
1344 u64 bn; in ea_dealloc_indirect() local
H A Ddir.c868 u64 bn; in new_leaf() local
918 u64 bn; in dir_make_exhash() local
1006 u64 bn, leaf_no; in dir_split_leaf() local
1732 u64 bn; in dir_new_leaf() local
H A Dbmap.c610 unsigned offset, u64 bn) in gfs2_indirect_init()
667 u64 bn; in __gfs2_iomap_alloc() local
1480 u64 bn, bstart, isize_blks; in sweep_bh_for_rgrps() local
/linux/fs/freevxfs/ !
H A Dvxfs_bmap.c43 vxfs_bmap_ext4(struct inode *ip, long bn) in vxfs_bmap_ext4()
/linux/drivers/usb/storage/ !
H A Dene_ub6250.c678 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | in sd_scsi_read() local
718 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | in sd_scsi_write() local
877 u32 bn = PhyBlockAddr * 0x20 + PageNum; in ms_read_readpage() local
1189 u32 bn = PhyBlockAddr; in ms_read_eraseblock() local
1641 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | in ms_scsi_read() local
1740 u32 bn = ((cdb[2] << 24) & 0xff000000) | in ms_scsi_write() local
/linux/drivers/pci/controller/ !
H A Dpcie-mediatek.c375 u32 bn = bus->number; in mtk_pcie_config_read() local
388 u32 bn = bus->number; in mtk_pcie_config_write() local
/linux/include/net/ !
H A Dbonding.h733 static inline void bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir()
737 static inline void bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir()
/linux/drivers/accessibility/speakup/ !
H A Dmain.c864 static int bn; variable
884 int i, bn; in get_sentence_buf() local

12