/linux-6.3-rc2/drivers/net/bonding/ |
A D | bond_procfs.c | 288 if (bn->proc_dir) { in bond_create_proc_entry() 290 bn->proc_dir, &bond_info_seq_ops, bond); in bond_create_proc_entry() 304 if (bn->proc_dir && bond->proc_entry) { in bond_remove_proc_entry() 305 remove_proc_entry(bond->proc_file_name, bn->proc_dir); in bond_remove_proc_entry() 314 void __net_init bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir() argument 316 if (!bn->proc_dir) { in bond_create_proc_dir() 317 bn->proc_dir = proc_mkdir(DRV_NAME, bn->net->proc_net); in bond_create_proc_dir() 318 if (!bn->proc_dir) in bond_create_proc_dir() 328 if (bn->proc_dir) { in bond_destroy_proc_dir() 329 remove_proc_entry(DRV_NAME, bn->net->proc_net); in bond_destroy_proc_dir() [all …]
|
A D | bond_sysfs.c | 38 struct bond_net *bn = in bonding_show_bonds() local 45 list_for_each_entry(bond, &bn->dev_list, bond_list) { in bonding_show_bonds() 66 list_for_each_entry(bond, &bn->dev_list, bond_list) { in bond_get_by_name() 82 struct bond_net *bn = in bonding_store_bonds() local 96 rv = bond_create(bn->net, ifname); in bonding_store_bonds() 108 bond_dev = bond_get_by_name(bn, ifname); in bonding_store_bonds() 806 int bond_create_sysfs(struct bond_net *bn) in bond_create_sysfs() argument 814 bn->net); in bond_create_sysfs() 827 if (netdev_name_in_use(bn->net, in bond_create_sysfs() 839 void bond_destroy_sysfs(struct bond_net *bn) in bond_destroy_sysfs() argument [all …]
|
A D | bond_main.c | 6278 list_add_tail(&bond->bond_list, &bn->dev_list); in bond_init() 6339 bn->net = net; in bond_net_init() 6340 INIT_LIST_HEAD(&bn->dev_list); in bond_net_init() 6342 bond_create_proc_dir(bn); in bond_net_init() 6343 bond_create_sysfs(bn); in bond_net_init() 6350 struct bond_net *bn; in bond_net_exit_batch() local 6355 bn = net_generic(net, bond_net_id); in bond_net_exit_batch() 6356 bond_destroy_sysfs(bn); in bond_net_exit_batch() 6364 bn = net_generic(net, bond_net_id); in bond_net_exit_batch() 6372 bn = net_generic(net, bond_net_id); in bond_net_exit_batch() [all …]
|
/linux-6.3-rc2/drivers/char/ |
A D | bsr.c | 166 static int bsr_add_node(struct device_node *bn) in bsr_add_node() argument 174 bsr_stride = of_get_property(bn, "ibm,lock-stride", &bsr_stride_len); in bsr_add_node() 175 bsr_bytes = of_get_property(bn, "ibm,#lock-bytes", &bsr_bytes_len); in bsr_add_node() 197 result = of_address_to_resource(bn, i, &res); in bsr_add_node() 271 static int bsr_create_devs(struct device_node *bn) in bsr_create_devs() argument 275 while (bn) { in bsr_create_devs() 276 ret = bsr_add_node(bn); in bsr_create_devs() 278 of_node_put(bn); in bsr_create_devs() 281 bn = of_find_compatible_node(bn, NULL, "ibm,bsr"); in bsr_create_devs()
|
/linux-6.3-rc2/fs/freevxfs/ |
A D | vxfs_bmap.c | 43 vxfs_bmap_ext4(struct inode *ip, long bn) in vxfs_bmap_ext4() argument 57 if (bn >= 0 && bn < fs32_to_cpu(sbi, d->size)) in vxfs_bmap_ext4() 58 return (bn + fs32_to_cpu(sbi, d->extent)); in vxfs_bmap_ext4() 59 bn -= fs32_to_cpu(sbi, d->size); in vxfs_bmap_ext4() 62 if ((bn / (indsize * indsize * bsize / 4)) == 0) { in vxfs_bmap_ext4() 73 bno = fs32_to_cpu(sbi, indir[(bn / indsize) % (indsize * bn)]) + in vxfs_bmap_ext4() 74 (bn % indsize); in vxfs_bmap_ext4()
|
/linux-6.3-rc2/fs/jfs/ |
A D | jfs_dtree.c | 572 s64 bn; in dtSearch() local 693 btsp->bn = bn; in dtSearch() 742 btsp->bn = bn; in dtSearch() 815 s64 bn; in dtInsert() local 2074 s64 bn; in dtDelete() local 2706 s64 bn; in jfs_readdir() local 3035 s64 bn; in dtReadFirst() local 3061 btsp->bn = bn; in dtReadFirst() 3187 bn = parent->bn; in dtReadNext() 3214 parent->bn = bn; in dtReadNext() [all …]
|
A D | jfs_xtree.c | 128 s64 bn; in xtLookup() local 336 btsp->bn = bn; in xtSearch() 383 btsp->bn = bn; in xtSearch() 441 btsp->bn = bn; in xtSearch() 521 s64 bn; in xtInsert() local 1345 s64 bn; in xtExtend() local 1504 s64 bn; in xtUpdate() local 2194 s64 bn; in xtTruncate() local 2265 bn = 0; in xtTruncate() 2508 bn = parent->bn; in xtTruncate() [all …]
|
A D | jfs_btree.h | 99 s64 bn; /* 8: */ member 120 (BTSTACK)->top->bn = BN;\ 137 (long long)btstack->stack[i].bn, in BT_STACK_DUMP() 144 BN = (LEAF)->bn;\
|
/linux-6.3-rc2/lib/ |
A D | maple_tree.c | 2834 mab_mas_cp(mast->bn, 1 + split, mast->bn->b_end, mast->r, false); in mast_cp_to_nodes() 2861 if (mast->bn->pivot[mast->bn->b_end - 1] >= mast->orig_r->max) in mast_combine_cp_right() 3002 unlikely(mast->bn->b_end <= mt_min_slots[mast->bn->type])) in mas_spanning_rebalance() 3139 mast.bn = b_node; in mas_rebalance() 3348 if (mast->bn->pivot[mast->bn->b_end - 1] == mas->max) in mast_fill_bnode() 3353 mast->bn, mast->bn->b_end); in mast_fill_bnode() 3355 mast->bn->b_end--; in mast_fill_bnode() 3373 mab_mas_cp(mast->bn, split + 1, mast->bn->b_end, mast->r, false); in mast_split_data() 3434 mas_mab_cp(&tmp_mas, 0, end, mast->bn, mast->bn->b_end); in mas_push_data() 3510 mast.bn = b_node; in mas_split() [all …]
|
/linux-6.3-rc2/drivers/usb/storage/ |
A D | ene_ub6250.c | 681 u32 bnByte = bn * 0x200; in sd_scsi_read() 684 if (bn > info->bl_num) in sd_scsi_read() 694 bnByte = bn; in sd_scsi_read() 721 u32 bnByte = bn * 0x200; in sd_scsi_write() 724 if (bn > info->bl_num) in sd_scsi_write() 734 bnByte = bn; in sd_scsi_write() 1190 u32 bn = PhyBlockAddr; in ms_read_eraseblock() local 1202 bcb->CDB[4] = (unsigned char)(bn); in ms_read_eraseblock() 1647 if (bn > info->bl_num) in ms_scsi_read() 1664 bcb->CDB[5] = (unsigned char)(bn); in ms_scsi_read() [all …]
|
/linux-6.3-rc2/drivers/accessibility/speakup/ |
A D | main.c | 864 static int bn; variable 869 bn = currbuf; in say_sentence_num() 872 bn = 1; in say_sentence_num() 877 spkup_write(sentmarks[bn][num], sentbufend[bn] - sentmarks[bn][num]); in say_sentence_num() 884 int i, bn; in get_sentence_buf() local 890 bn = currbuf; in get_sentence_buf() 894 numsentences[bn] = 0; in get_sentence_buf() 895 sentmarks[bn][0] = &sentbuf[bn][0]; in get_sentence_buf() 907 numsentences[bn]++; in get_sentence_buf() 908 sentmarks[bn][numsentences[bn]] = in get_sentence_buf() [all …]
|
/linux-6.3-rc2/fs/gfs2/ |
A D | xattr.c | 149 u64 bn; in ea_foreach() local 153 bn = be64_to_cpu(*eablk); in ea_foreach() 238 u64 bn = 0; in ea_dealloc_unstuffed() local 286 if (bstart + blen == bn) in ea_dealloc_unstuffed() 291 bstart = bn; in ea_dealloc_unstuffed() 1295 u64 bn; in ea_dealloc_indirect() local 1301 if (bstart + blen == bn) in ea_dealloc_indirect() 1306 bstart = bn; in ea_dealloc_indirect() 1340 u64 bn; in ea_dealloc_indirect() local 1346 if (bstart + blen == bn) in ea_dealloc_indirect() [all …]
|
A D | dir.c | 864 u64 bn; in new_leaf() local 874 bh = gfs2_meta_new(ip->i_gl, bn); in new_leaf() 915 u64 bn; in dir_make_exhash() local 927 bn = bh->b_blocknr; in dir_make_exhash() 974 *lp = cpu_to_be64(bn); in dir_make_exhash() 1005 u64 bn, leaf_no; in dir_split_leaf() local 1034 bn = nbh->b_blocknr; in dir_split_leaf() 1060 lp[x] = cpu_to_be64(bn); in dir_split_leaf() 1731 u64 bn; in dir_new_leaf() local 1741 if (!bn) in dir_new_leaf() [all …]
|
A D | bmap.c | 607 unsigned offset, u64 bn) in gfs2_indirect_init() argument 614 mp->mp_bh[i] = gfs2_meta_new(gl, bn); in gfs2_indirect_init() 619 *ptr = cpu_to_be64(bn); in gfs2_indirect_init() 664 u64 bn; in __gfs2_iomap_alloc() local 710 gfs2_trans_remove_revoke(sdp, bn, n); in __gfs2_iomap_alloc() 750 mp->mp_list[i-1], bn++); in __gfs2_iomap_alloc() 765 *ptr++ = cpu_to_be64(bn++); in __gfs2_iomap_alloc() 1459 u64 bn, bstart, isize_blks; in sweep_bh_for_rgrps() local 1478 bn = be64_to_cpu(*p); in sweep_bh_for_rgrps() 1556 if (bstart + blen == bn) { in sweep_bh_for_rgrps() [all …]
|
A D | rgrp.h | 44 extern int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *n,
|
/linux-6.3-rc2/drivers/net/ |
A D | bareudp.c | 600 static struct bareudp_dev *bareudp_find_dev(struct bareudp_net *bn, in bareudp_find_dev() argument 605 list_for_each_entry(bareudp, &bn->bareudp_list, next) { in bareudp_find_dev() 616 struct bareudp_net *bn = net_generic(net, bareudp_net_id); in bareudp_configure() local 622 t = bareudp_find_dev(bn, conf); in bareudp_configure() 644 list_add(&bareudp->next, &bn->bareudp_list); in bareudp_configure() 739 struct bareudp_net *bn = net_generic(net, bareudp_net_id); in bareudp_init_net() local 741 INIT_LIST_HEAD(&bn->bareudp_list); in bareudp_init_net() 747 struct bareudp_net *bn = net_generic(net, bareudp_net_id); in bareudp_destroy_tunnels() local 750 list_for_each_entry_safe(bareudp, next, &bn->bareudp_list, next) in bareudp_destroy_tunnels()
|
/linux-6.3-rc2/fs/reiserfs/ |
A D | journal.c | 142 if (!bn) { in allocate_bitmap_node() 146 if (!bn->data) { in allocate_bitmap_node() 147 kfree(bn); in allocate_bitmap_node() 150 bn->id = id++; in allocate_bitmap_node() 152 return bn; in allocate_bitmap_node() 169 return bn; in get_bitmap_node() 172 if (!bn) { in get_bitmap_node() 176 return bn; in get_bitmap_node() 185 kfree(bn); in free_bitmap_node() 199 if (bn) { in allocate_bitmap_nodes() [all …]
|
/linux-6.3-rc2/drivers/md/persistent-data/ |
A D | dm-btree.c | 1472 struct btree_node *bn = dm_block_data(n->b); in prefetch_values() local 1477 nr = le32_to_cpu(bn->header.nr_entries); in prefetch_values() 1487 struct btree_node *bn = dm_block_data(n->b); in leaf_node() local 1489 return le32_to_cpu(bn->header.flags) & LEAF_NODE; in leaf_node() 1524 struct btree_node *bn; in inc_or_backtrack() local 1531 bn = dm_block_data(n->b); in inc_or_backtrack() 1547 struct btree_node *bn; in find_leaf() local 1552 bn = dm_block_data(n->b); in find_leaf() 1554 if (le32_to_cpu(bn->header.flags) & LEAF_NODE) in find_leaf() 1625 struct btree_node *bn = dm_block_data(n->b); in dm_btree_cursor_get_value() local [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb/ |
A D | vsc7326_reg.h | 87 #define REG_TRAFFIC_SHAPER_BUCKET(ie,bn) CRA(0x2,ie&1,0x0a + (bn>7) | ((bn&7)<<4)) argument
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | nvmet.h | 425 static inline void nvmet_clear_aen_bit(struct nvmet_req *req, u32 bn) in nvmet_clear_aen_bit() argument 430 clear_bit(bn, &req->sq->ctrl->aen_masked); in nvmet_clear_aen_bit() 433 static inline bool nvmet_aen_bit_disabled(struct nvmet_ctrl *ctrl, u32 bn) in nvmet_aen_bit_disabled() argument 435 if (!(READ_ONCE(ctrl->aen_enabled) & (1 << bn))) in nvmet_aen_bit_disabled() 437 return test_and_set_bit(bn, &ctrl->aen_masked); in nvmet_aen_bit_disabled()
|
/linux-6.3-rc2/include/net/ |
A D | bonding.h | 691 void bond_create_proc_dir(struct bond_net *bn); 692 void bond_destroy_proc_dir(struct bond_net *bn); 702 static inline void bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir() argument 706 static inline void bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir() argument
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/ |
A D | mad.c | 226 u32 bn, pkey_change_bitmap; in smp_snoop() local 264 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod) & 0xFFFF; in smp_snoop() 269 i + bn*32, be16_to_cpu(base[i])); in smp_snoop() 271 dev->pkeys.phys_pkey_cache[port_num - 1][i + bn*32]) { in smp_snoop() 273 dev->pkeys.phys_pkey_cache[port_num - 1][i + bn*32] = in smp_snoop() 279 port_num, bn, pkey_change_bitmap); in smp_snoop() 285 __propagate_pkey_ev(dev, port_num, bn, in smp_snoop() 300 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod); in smp_snoop() 301 mlx4_ib_update_cache_on_guid_change(dev, bn, port_num, in smp_snoop() 303 mlx4_ib_notify_slaves_on_guid_change(dev, bn, port_num, in smp_snoop()
|
/linux-6.3-rc2/drivers/crypto/ |
A D | sa2ul.c | 786 unsigned long bn; in sa_free_ctx_info() local 788 bn = ctx->sc_id - data->sc_id_start; in sa_free_ctx_info() 790 __clear_bit(bn, data->ctx_bm); in sa_free_ctx_info() 803 unsigned long bn; in sa_init_ctx_info() local 807 bn = find_first_zero_bit(data->ctx_bm, SA_MAX_NUM_CTX); in sa_init_ctx_info() 808 __set_bit(bn, data->ctx_bm); in sa_init_ctx_info() 812 ctx->sc_id = (u16)(data->sc_id_start + bn); in sa_init_ctx_info() 825 __clear_bit(bn, data->ctx_bm); in sa_init_ctx_info()
|
/linux-6.3-rc2/drivers/pci/controller/ |
A D | pcie-mediatek.c | 367 u32 bn = bus->number; in mtk_pcie_config_read() local 373 return mtk_pcie_hw_rd_cfg(port, bn, devfn, where, size, val); in mtk_pcie_config_read() 380 u32 bn = bus->number; in mtk_pcie_config_write() local 386 return mtk_pcie_hw_wr_cfg(port, bn, devfn, where, size, val); in mtk_pcie_config_write()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cudbg_entity.h | 228 u8 bn[PN_LEN + 1]; member
|