/openbmc/linux/fs/xfs/scrub/ |
H A D | bitmap.c | 59 #define for_each_xbitmap_extent(bn, bitmap) \ in INTERVAL_TREE_DEFINE() argument 60 for ((bn) = rb_entry_safe(rb_first(&(bitmap)->xb_root.rb_root), \ in INTERVAL_TREE_DEFINE() 62 (bn) != NULL; \ 63 (bn) = rb_entry_safe(rb_next(&(bn)->bn_rbnode), \ 73 struct xbitmap_node *bn; local 77 while ((bn = xbitmap_tree_iter_first(&bitmap->xb_root, start, last))) { 78 if (bn->bn_start < start && bn->bn_last > last) { 79 uint64_t old_last = bn->bn_last; 82 xbitmap_tree_remove(bn, &bitmap->xb_root); 83 bn->bn_last = start - 1; [all …]
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_procfs.c | 286 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry() local 288 if (bn->proc_dir) { in bond_create_proc_entry() 290 bn->proc_dir, &bond_info_seq_ops, bond); in bond_create_proc_entry() 302 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry() local 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() [all …]
|
H A D | bond_sysfs.c | 38 const struct bond_net *bn = in bonding_show_bonds() local 45 list_for_each_entry(bond, &bn->dev_list, bond_list) { in bonding_show_bonds() 62 static struct net_device *bond_get_by_name(const struct bond_net *bn, const char *ifname) in bond_get_by_name() argument 66 list_for_each_entry(bond, &bn->dev_list, bond_list) { in bond_get_by_name() 82 const 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 __net_init bond_create_sysfs(struct bond_net *bn) in bond_create_sysfs() argument 810 bn->class_attr_bonding_masters = class_attr_bonding_masters; in bond_create_sysfs() 811 sysfs_attr_init(&bn->class_attr_bonding_masters.attr); in bond_create_sysfs() [all …]
|
/openbmc/linux/drivers/char/ |
H A D | bsr.c | 169 static int bsr_add_node(struct device_node *bn) in bsr_add_node() argument 177 bsr_stride = of_get_property(bn, "ibm,lock-stride", &bsr_stride_len); in bsr_add_node() 178 bsr_bytes = of_get_property(bn, "ibm,#lock-bytes", &bsr_bytes_len); in bsr_add_node() 200 result = of_address_to_resource(bn, i, &res); in bsr_add_node() 274 static int bsr_create_devs(struct device_node *bn) in bsr_create_devs() argument 278 while (bn) { in bsr_create_devs() 279 ret = bsr_add_node(bn); in bsr_create_devs() 281 of_node_put(bn); in bsr_create_devs() 284 bn = of_find_compatible_node(bn, NULL, "ibm,bsr"); in bsr_create_devs()
|
/openbmc/linux/fs/freevxfs/ |
H 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()
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_fp0_div.S | 8 .macro divs_seq q, a, b, r, y, y0, an, bn, e, ex 10 nexp01.s \bn, \b 12 maddn.s \e, \bn, \y0 20 maddn.s \e, \bn, \y 24 maddn.s \r, \bn, \q 26 maddn.s \e, \bn, \y 30 maddn.s \r, \bn, \q
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_dtree.c | 321 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot) in add_index() argument 359 DTSaddress(dirtab_slot, bn); in add_index() 464 DTSaddress(dirtab_slot, bn); in add_index() 511 static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn, in modify_index() argument 521 DTSaddress(dirtab_slot, bn); in modify_index() 572 s64 bn; in dtSearch() local 621 for (bn = 0;;) { in dtSearch() 623 DT_GETPAGE(ip, bn, mp, psize, p, rc); in dtSearch() 698 btsp->bn = bn; in dtSearch() 747 btsp->bn = bn; in dtSearch() [all …]
|
H A D | jfs_xtree.c | 128 s64 bn; in xtLookup() local 164 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup() 221 s64 bn; /* block number */ in xtSearch() local 253 for (bn = 0;;) { in xtSearch() 255 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearch() 336 btsp->bn = bn; in xtSearch() 383 btsp->bn = bn; in xtSearch() 441 btsp->bn = bn; in xtSearch() 483 BT_PUSH(btstack, bn, index); in xtSearch() 486 bn = addressXAD(&p->xad[index]); in xtSearch() [all …]
|
H 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;\
|
/openbmc/linux/lib/ |
H A D | maple_tree.c | 147 struct maple_big_node *bn; member 1873 struct maple_big_node *bn, unsigned char *mid_split, unsigned long min) in mab_calc_split() argument 1875 unsigned char b_end = bn->b_end; in mab_calc_split() 1877 unsigned char slot_min, slot_count = mt_slots[bn->type]; in mab_calc_split() 1887 split = b_end - mt_min_slots[bn->type]; in mab_calc_split() 1889 if (!ma_is_leaf(bn->type)) in mab_calc_split() 1893 if (!bn->slot[split]) in mab_calc_split() 1906 if (unlikely(mab_middle_node(bn, split, slot_count))) { in mab_calc_split() 1910 slot_min = mt_min_slots[bn->type]; in mab_calc_split() 1919 ((bn->pivot[split] - min) < slot_count - 1) && in mab_calc_split() [all …]
|
/openbmc/linux/drivers/usb/storage/ |
H A D | ene_ub6250.c | 678 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | in sd_scsi_read() local 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() 718 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | in sd_scsi_write() local 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() 877 u32 bn = PhyBlockAddr * 0x20 + PageNum; in ms_read_readpage() local 892 bcb->CDB[5] = (unsigned char)(bn); in ms_read_readpage() [all …]
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | main.c | 864 static int bn; variable 869 bn = currbuf; in say_sentence_num() 871 if (prev && --bn == -1) in say_sentence_num() 872 bn = 1; in say_sentence_num() 874 if (num > numsentences[bn]) 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() [all …]
|
/openbmc/linux/fs/gfs2/ |
H A D | xattr.c | 149 u64 bn; in ea_foreach() local 153 bn = be64_to_cpu(*eablk); in ea_foreach() 155 error = gfs2_meta_read(ip->i_gl, bn, DIO_WAIT, 0, &eabh); in ea_foreach() 238 u64 bn = 0; in ea_dealloc_unstuffed() local 256 bn = be64_to_cpu(*dataptrs); in ea_dealloc_unstuffed() 262 rgd = gfs2_blk2rgrpd(sdp, bn, 1); in ea_dealloc_unstuffed() 284 bn = be64_to_cpu(*dataptrs); in ea_dealloc_unstuffed() 286 if (bstart + blen == bn) in ea_dealloc_unstuffed() 291 bstart = bn; in ea_dealloc_unstuffed() 1295 u64 bn; in ea_dealloc_indirect() local [all …]
|
H 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 705 ret = gfs2_alloc_blocks(ip, &bn, &n, 0); in __gfs2_iomap_alloc() 710 gfs2_trans_remove_revoke(sdp, bn, n); in __gfs2_iomap_alloc() 721 gfs2_indirect_init(mp, ip->i_gl, i, 0, bn++); in __gfs2_iomap_alloc() 750 mp->mp_list[i-1], bn++); in __gfs2_iomap_alloc() 762 iomap->addr = bn << inode->i_blkbits; in __gfs2_iomap_alloc() 765 *ptr++ = cpu_to_be64(bn++); in __gfs2_iomap_alloc() [all …]
|
H A D | dir.c | 864 u64 bn; in new_leaf() local 871 error = gfs2_alloc_blocks(ip, &bn, &n, 0); in new_leaf() 874 bh = gfs2_meta_new(ip->i_gl, bn); in new_leaf() 878 gfs2_trans_remove_revoke(GFS2_SB(inode), bn, 1); 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() [all …]
|
H A D | rgrp.h | 44 int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *n,
|
/openbmc/linux/fs/reiserfs/ |
H A D | journal.c | 138 struct reiserfs_bitmap_node *bn; in allocate_bitmap_node() local 141 bn = kmalloc(sizeof(struct reiserfs_bitmap_node), GFP_NOFS); in allocate_bitmap_node() 142 if (!bn) { in allocate_bitmap_node() 145 bn->data = kzalloc(sb->s_blocksize, GFP_NOFS); 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() 151 INIT_LIST_HEAD(&bn->list); in allocate_bitmap_node() 152 return bn; in allocate_bitmap_node() 158 struct reiserfs_bitmap_node *bn = NULL; in get_bitmap_node() local [all …]
|
/openbmc/linux/drivers/md/persistent-data/ |
H 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() 1479 memcpy(&value_le, value_ptr(bn, i), sizeof(value_le)); 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() 1534 if (n->index < le32_to_cpu(bn->header.nr_entries)) in inc_or_backtrack() 1547 struct btree_node *bn; in find_leaf() local 1552 bn = dm_block_data(n->b); in find_leaf() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | bareudp.c | 622 static struct bareudp_dev *bareudp_find_dev(struct bareudp_net *bn, in bareudp_find_dev() argument 627 list_for_each_entry(bareudp, &bn->bareudp_list, next) { in bareudp_find_dev() 638 struct bareudp_net *bn = net_generic(net, bareudp_net_id); in bareudp_configure() local 644 t = bareudp_find_dev(bn, conf); in bareudp_configure() 666 list_add(&bareudp->next, &bn->bareudp_list); in bareudp_configure() 761 struct bareudp_net *bn = net_generic(net, bareudp_net_id); in bareudp_init_net() local 763 INIT_LIST_HEAD(&bn->bareudp_list); in bareudp_init_net() 769 struct bareudp_net *bn = net_generic(net, bareudp_net_id); in bareudp_destroy_tunnels() local 772 list_for_each_entry_safe(bareudp, next, &bn->bareudp_list, next) in bareudp_destroy_tunnels()
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/ |
H A D | 0001-target.h-define-proper-macro-for-ppc-ppc64.patch | 8 third_party/boringssl-with-bazel/src/include/openssl/bn.h:172:2: error: #error "Must define either … 9 third_party/boringssl-with-bazel/src/include/openssl/bn.h:230:44: error: 'BN_ULONG' has not been de…
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | vsc7326_reg.h | 87 #define REG_TRAFFIC_SHAPER_BUCKET(ie,bn) CRA(0x2,ie&1,0x0a + (bn>7) | ((bn&7)<<4)) argument
|
/openbmc/linux/drivers/nvme/target/ |
H 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()
|
/openbmc/linux/include/net/ |
H 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
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | buildstats.py | 16 bn = d.getVar('BUILDNAME') 17 bsdir = os.path.join(d.getVar('BUILDSTATS_BASE'), bn)
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H 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()
|