/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-pci-defs.h | 624 uint32_t bn:8; member in struct:cvmx_pci_cfg57::cvmx_pci_cfg57_s 630 uint32_t bn:8;
|
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | vsc7326_reg.h | 84 * bn = bucket number 0-10 (yes, 11 buckets) 87 #define REG_TRAFFIC_SHAPER_BUCKET(ie,bn) CRA(0x2,ie&1,0x0a + (bn>7) | ((bn&7)<<4))
|
/linux-master/fs/jfs/ |
H A D | jfs_btree.h | 18 s64 next; right sibling bn 19 s64 prev; left sibling bn 99 s64 bn; /* 8: */ member in struct:btframe 120 (BTSTACK)->top->bn = BN;\ 136 printk(KERN_ERR "bn = %Lx, index = %d\n", 137 (long long)btstack->stack[i].bn, 144 BN = (LEAF)->bn;\
|
/linux-master/drivers/accessibility/speakup/ |
H A D | main.c | 864 static int bn; variable 869 bn = currbuf; 871 if (prev && --bn == -1) 872 bn = 1; 874 if (num > numsentences[bn]) 877 spkup_write(sentmarks[bn][num], sentbufend[bn] - sentmarks[bn][num]); 884 int i, bn; local 890 bn [all...] |
/linux-master/drivers/char/ |
H A D | bsr.c | 169 static int bsr_add_node(struct device_node *bn) argument 177 bsr_stride = of_get_property(bn, "ibm,lock-stride", &bsr_stride_len); 178 bsr_bytes = of_get_property(bn, "ibm,#lock-bytes", &bsr_bytes_len); 200 result = of_address_to_resource(bn, i, &res); 274 static int bsr_create_devs(struct device_node *bn) argument 278 while (bn) { 279 ret = bsr_add_node(bn); 281 of_node_put(bn); 284 bn = of_find_compatible_node(bn, NUL [all...] |
/linux-master/drivers/crypto/ |
H A D | sa2ul.c | 787 unsigned long bn; local 789 bn = ctx->sc_id - data->sc_id_start; 791 __clear_bit(bn, data->ctx_bm); 804 unsigned long bn; local 808 bn = find_first_zero_bit(data->ctx_bm, SA_MAX_NUM_CTX); 809 __set_bit(bn, data->ctx_bm); 813 ctx->sc_id = (u16)(data->sc_id_start + bn); 826 __clear_bit(bn, data->ctx_bm);
|
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_buddy_test.c | 397 struct drm_buddy_block *block, *bn; local 455 list_for_each_entry_safe(block, bn, &blocks, link) {
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 226 u32 bn, pkey_change_bitmap; local 264 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod) & 0xFFFF; 269 i + bn*32, be16_to_cpu(base[i])); 271 dev->pkeys.phys_pkey_cache[port_num - 1][i + bn*32]) { 273 dev->pkeys.phys_pkey_cache[port_num - 1][i + bn*32] = 279 port_num, bn, pkey_change_bitmap); 285 __propagate_pkey_ev(dev, port_num, bn, 300 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod); 301 mlx4_ib_update_cache_on_guid_change(dev, bn, port_num, 303 mlx4_ib_notify_slaves_on_guid_change(dev, bn, port_nu [all...] |
/linux-master/drivers/md/persistent-data/ |
H A D | dm-btree.c | 1472 struct btree_node *bn = dm_block_data(n->b); local 1477 nr = le32_to_cpu(bn->header.nr_entries); 1479 memcpy(&value_le, value_ptr(bn, i), sizeof(value_le)); 1487 struct btree_node *bn = dm_block_data(n->b); local 1489 return le32_to_cpu(bn->header.flags) & LEAF_NODE; 1524 struct btree_node *bn; local 1531 bn = dm_block_data(n->b); 1534 if (n->index < le32_to_cpu(bn->header.nr_entries)) 1547 struct btree_node *bn; local 1552 bn 1625 struct btree_node *bn = dm_block_data(n->b); local [all...] |
/linux-master/drivers/md/ |
H A D | raid5.c | 4591 sector_t bn = raid5_compute_blocknr(sh, i, 1); local 4592 sector_t s = raid5_compute_sector(conf, bn, 0,
|
/linux-master/drivers/net/ |
H A D | bareudp.c | 603 static struct bareudp_dev *bareudp_find_dev(struct bareudp_net *bn, argument 608 list_for_each_entry(bareudp, &bn->bareudp_list, next) { 619 struct bareudp_net *bn = net_generic(net, bareudp_net_id); local 625 t = bareudp_find_dev(bn, conf); 647 list_add(&bareudp->next, &bn->bareudp_list); 742 struct bareudp_net *bn = net_generic(net, bareudp_net_id); local 744 INIT_LIST_HEAD(&bn->bareudp_list); 750 struct bareudp_net *bn = net_generic(net, bareudp_net_id); local 753 list_for_each_entry_safe(bareudp, next, &bn->bareudp_list, next)
|
/linux-master/drivers/net/bonding/ |
H A D | bond_main.c | 6337 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); local 6350 list_add_tail(&bond->bond_list, &bn->dev_list); 6409 struct bond_net *bn = net_generic(net, bond_net_id); local 6411 bn->net = net; 6412 INIT_LIST_HEAD(&bn->dev_list); 6414 bond_create_proc_dir(bn); 6415 bond_create_sysfs(bn); 6426 struct bond_net *bn = net_generic(net, bond_net_id); local 6428 bond_destroy_sysfs(bn); 6434 struct bond_net *bn; local 6453 struct bond_net *bn; local [all...] |
H A D | bond_procfs.c | 286 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); local 288 if (bn->proc_dir) { 290 bn->proc_dir, &bond_info_seq_ops, bond); 302 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); local 304 if (bn->proc_dir && bond->proc_entry) { 305 remove_proc_entry(bond->proc_file_name, bn->proc_dir); 314 void __net_init bond_create_proc_dir(struct bond_net *bn) argument 316 if (!bn->proc_dir) { 317 bn->proc_dir = proc_mkdir(DRV_NAME, bn 326 bond_destroy_proc_dir(struct bond_net *bn) argument [all...] |
H A D | bond_sysfs.c | 38 const struct bond_net *bn = local 45 list_for_each_entry(bond, &bn->dev_list, bond_list) { 62 static struct net_device *bond_get_by_name(const struct bond_net *bn, const char *ifname) argument 66 list_for_each_entry(bond, &bn->dev_list, bond_list) { 82 const struct bond_net *bn = local 96 rv = bond_create(bn->net, ifname); 108 bond_dev = bond_get_by_name(bn, ifname); 806 int __net_init bond_create_sysfs(struct bond_net *bn) argument 810 bn->class_attr_bonding_masters = class_attr_bonding_masters; 811 sysfs_attr_init(&bn 839 bond_destroy_sysfs(struct bond_net *bn) argument [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_entity.h | 228 u8 bn[PN_LEN + 1]; member in struct:cudbg_vpd_data
|
H A D | cudbg_lib.c | 2735 memcpy(vpd_data->bn, vpd.pn, PN_LEN + 1);
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mae.c | 1853 unsigned int bn = field.lbn + i * 8; local 1854 unsigned int wn = bn / 32; 1858 v <<= (bn % 32);
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | channel.c | 147 .country = LOCALES(bn, 11n),
|
/linux-master/drivers/nvme/target/ |
H A D | nvmet.h | 438 static inline void nvmet_clear_aen_bit(struct nvmet_req *req, u32 bn) argument 443 clear_bit(bn, &req->sq->ctrl->aen_masked); 446 static inline bool nvmet_aen_bit_disabled(struct nvmet_ctrl *ctrl, u32 bn) argument 448 if (!(READ_ONCE(ctrl->aen_enabled) & (1 << bn))) 450 return test_and_set_bit(bn, &ctrl->aen_masked);
|
/linux-master/drivers/pci/controller/ |
H A D | pcie-mediatek.c | 367 u32 bn = bus->number; local 373 return mtk_pcie_hw_rd_cfg(port, bn, devfn, where, size, val); 380 u32 bn = bus->number; local 386 return mtk_pcie_hw_wr_cfg(port, bn, devfn, where, size, val);
|
/linux-master/drivers/usb/storage/ |
H A D | ene_ub6250.c | 678 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | local 681 u32 bnByte = bn * 0x200; 684 if (bn > info->bl_num) 694 bnByte = bn; 718 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | local 721 u32 bnByte = bn * 0x200; 724 if (bn > info->bl_num) 734 bnByte = bn; 877 u32 bn = PhyBlockAddr * 0x20 + PageNum; local 892 bcb->CDB[5] = (unsigned char)(bn); 1190 u32 bn = PhyBlockAddr; local 1642 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | local 1741 u32 bn = ((cdb[2] << 24) & 0xff000000) | local [all...] |
/linux-master/fs/bcachefs/ |
H A D | btree_io.c | 740 struct btree_node *bn = local 749 btree_err_on(bp->seq != bn->keys.seq, 756 btree_err_on(BTREE_NODE_ID(bn) != b->c.btree_id, 762 btree_err_on(BTREE_NODE_LEVEL(bn) != b->c.level, 770 BSET_BIG_ENDIAN(i), write, bn); 787 bch2_bpos_to_text(&buf1, bn->min_key), buf1.buf), 792 btree_err_on(!bpos_eq(bn->max_key, b->key.k.p), 798 bch2_bpos_to_text(&buf1, bn->max_key), buf1.buf)); 802 BSET_BIG_ENDIAN(i), write, bn); 804 btree_err_on(bch2_bkey_format_invalid(c, &bn 1386 struct btree_node *bn = data; local 1409 struct btree_node *bn = data; local 1441 struct btree_node *bn = ra->buf[i]; local 1482 struct btree_node *bn = ra->buf[i]; local 1974 struct btree_node *bn = NULL; local [all...] |
H A D | btree_io.h | 109 struct btree_node *bn = container_of(i, struct btree_node, keys); local 110 unsigned bytes = (void *) &bn->keys - (void *) &bn->flags; 113 &bn->flags, bytes); 197 struct btree_node *bn) 201 !bpos_eq(bn->min_key, POS_MIN) && 203 bn->min_key = bpos_nosnap_predecessor(bn->min_key); 207 bn->max_key.snapshot = 0; 209 compat_bpos(level, btree_id, version, big_endian, write, &bn 194 compat_btree_node(unsigned level, enum btree_id btree_id, unsigned version, unsigned big_endian, int write, struct btree_node *bn) argument [all...] |
H A D | btree_node_scan.c | 122 struct bio *bio, struct btree_node *bn, u64 offset) 128 bch2_bio_map(bio, bn, PAGE_SIZE); 136 if (le64_to_cpu(bn->magic) != bset_magic(c)) 139 if (bch2_csum_type_is_encryption(BSET_CSUM_TYPE(&bn->keys))) { 140 struct nonce nonce = btree_nonce(&bn->keys, 0); 141 unsigned bytes = (void *) &bn->keys - (void *) &bn->flags; 143 bch2_encrypt(c, BSET_CSUM_TYPE(&bn->keys), nonce, &bn->flags, bytes); 146 if (btree_id_is_alloc(BTREE_NODE_ID(bn))) 121 try_read_btree_node(struct find_btree_nodes *f, struct bch_dev *ca, struct bio *bio, struct btree_node *bn, u64 offset) argument [all...] |
/linux-master/fs/freevxfs/ |
H A D | vxfs_bmap.c | 32 * @bn: logical block. 43 vxfs_bmap_ext4(struct inode *ip, long bn) argument 57 if (bn >= 0 && bn < fs32_to_cpu(sbi, d->size)) 58 return (bn + fs32_to_cpu(sbi, d->extent)); 59 bn -= fs32_to_cpu(sbi, d->size); 62 if ((bn / (indsize * indsize * bsize / 4)) == 0) { 73 bno = fs32_to_cpu(sbi, indir[(bn / indsize) % (indsize * bn)]) + 74 (bn [all...] |