/linux-4.19.296/fs/freevxfs/ |
D | vxfs_bmap.c | 67 vxfs_bmap_ext4(struct inode *ip, long bn) in vxfs_bmap_ext4() argument 81 if (bn >= 0 && bn < fs32_to_cpu(sbi, d->size)) in vxfs_bmap_ext4() 82 return (bn + fs32_to_cpu(sbi, d->extent)); in vxfs_bmap_ext4() 83 bn -= fs32_to_cpu(sbi, d->size); in vxfs_bmap_ext4() 86 if ((bn / (indsize * indsize * bsize / 4)) == 0) { in vxfs_bmap_ext4() 97 bno = fs32_to_cpu(sbi, indir[(bn / indsize) % (indsize * bn)]) + in vxfs_bmap_ext4() 98 (bn % indsize); in vxfs_bmap_ext4()
|
/linux-4.19.296/drivers/char/ |
D | bsr.c | 180 static int bsr_add_node(struct device_node *bn) in bsr_add_node() argument 188 bsr_stride = of_get_property(bn, "ibm,lock-stride", &bsr_stride_len); in bsr_add_node() 189 bsr_bytes = of_get_property(bn, "ibm,#lock-bytes", &bsr_bytes_len); in bsr_add_node() 211 result = of_address_to_resource(bn, i, &res); in bsr_add_node() 285 static int bsr_create_devs(struct device_node *bn) in bsr_create_devs() argument 289 while (bn) { in bsr_create_devs() 290 ret = bsr_add_node(bn); in bsr_create_devs() 292 of_node_put(bn); in bsr_create_devs() 295 bn = of_find_compatible_node(bn, NULL, "ibm,bsr"); in bsr_create_devs()
|
/linux-4.19.296/fs/jfs/ |
D | jfs_dtree.c | 334 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot) in add_index() argument 372 DTSaddress(dirtab_slot, bn); in add_index() 477 DTSaddress(dirtab_slot, bn); in add_index() 524 static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn, in modify_index() argument 534 DTSaddress(dirtab_slot, bn); in modify_index() 585 s64 bn; in dtSearch() local 634 for (bn = 0;;) { in dtSearch() 636 DT_GETPAGE(ip, bn, mp, psize, p, rc); in dtSearch() 706 btsp->bn = bn; in dtSearch() 755 btsp->bn = bn; in dtSearch() [all …]
|
D | jfs_xtree.c | 152 s64 bn; in xtLookup() local 188 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup() 245 s64 bn; /* block number */ in xtSearch() local 277 for (bn = 0;;) { in xtSearch() 279 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearch() 360 btsp->bn = bn; in xtSearch() 407 btsp->bn = bn; in xtSearch() 465 btsp->bn = bn; in xtSearch() 507 BT_PUSH(btstack, bn, index); in xtSearch() 510 bn = addressXAD(&p->xad[index]); in xtSearch() [all …]
|
D | jfs_btree.h | 112 s64 bn; /* 8: */ member 133 (BTSTACK)->top->bn = BN;\ 150 (long long)btstack->stack[i].bn, in BT_STACK_DUMP() 157 BN = (LEAF)->bn;\
|
/linux-4.19.296/fs/gfs2/ |
D | xattr.c | 141 u64 bn; in ea_foreach() local 145 bn = be64_to_cpu(*eablk); in ea_foreach() 147 error = gfs2_meta_read(ip->i_gl, bn, DIO_WAIT, 0, &eabh); in ea_foreach() 235 u64 bn = 0; in ea_dealloc_unstuffed() local 253 bn = be64_to_cpu(*dataptrs); in ea_dealloc_unstuffed() 259 rgd = gfs2_blk2rgrpd(sdp, bn, 1); in ea_dealloc_unstuffed() 280 bn = be64_to_cpu(*dataptrs); in ea_dealloc_unstuffed() 282 if (bstart + blen == bn) in ea_dealloc_unstuffed() 287 bstart = bn; in ea_dealloc_unstuffed() 1281 u64 bn; in ea_dealloc_indirect() local [all …]
|
D | dir.c | 869 u64 bn; in new_leaf() local 876 error = gfs2_alloc_blocks(ip, &bn, &n, 0, NULL); in new_leaf() 879 bh = gfs2_meta_new(ip->i_gl, bn); in new_leaf() 883 gfs2_trans_add_unrevoke(GFS2_SB(inode), bn, 1); in new_leaf() 920 u64 bn; in dir_make_exhash() local 932 bn = bh->b_blocknr; in dir_make_exhash() 979 *lp = cpu_to_be64(bn); in dir_make_exhash() 1011 u64 bn, leaf_no; in dir_split_leaf() local 1040 bn = nbh->b_blocknr; in dir_split_leaf() 1066 lp[x] = cpu_to_be64(bn); in dir_split_leaf() [all …]
|
D | bmap.c | 610 unsigned offset, u64 bn) in gfs2_indirect_init() argument 617 mp->mp_bh[i] = gfs2_meta_new(gl, bn); in gfs2_indirect_init() 622 *ptr = cpu_to_be64(bn); in gfs2_indirect_init() 669 u64 bn; in gfs2_iomap_alloc() local 710 ret = gfs2_alloc_blocks(ip, &bn, &n, 0, NULL); in gfs2_iomap_alloc() 715 gfs2_trans_add_unrevoke(sdp, bn, n); in gfs2_iomap_alloc() 726 gfs2_indirect_init(mp, ip->i_gl, i, 0, bn++); in gfs2_iomap_alloc() 755 mp->mp_list[i-1], bn++); in gfs2_iomap_alloc() 767 iomap->addr = bn << inode->i_blkbits; in gfs2_iomap_alloc() 770 *ptr++ = cpu_to_be64(bn++); in gfs2_iomap_alloc() [all …]
|
D | rgrp.h | 49 extern int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *n,
|
D | rgrp.c | 2365 int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *nblocks, in gfs2_alloc_blocks() argument 2438 *bn = block; in gfs2_alloc_blocks()
|
/linux-4.19.296/fs/reiserfs/ |
D | journal.c | 140 struct reiserfs_bitmap_node *bn; in allocate_bitmap_node() local 143 bn = kmalloc(sizeof(struct reiserfs_bitmap_node), GFP_NOFS); in allocate_bitmap_node() 144 if (!bn) { in allocate_bitmap_node() 147 bn->data = kzalloc(sb->s_blocksize, GFP_NOFS); in allocate_bitmap_node() 148 if (!bn->data) { in allocate_bitmap_node() 149 kfree(bn); in allocate_bitmap_node() 152 bn->id = id++; in allocate_bitmap_node() 153 INIT_LIST_HEAD(&bn->list); in allocate_bitmap_node() 154 return bn; in allocate_bitmap_node() 160 struct reiserfs_bitmap_node *bn = NULL; in get_bitmap_node() local [all …]
|
/linux-4.19.296/include/net/ |
D | bonding.h | 644 void bond_create_proc_dir(struct bond_net *bn); 645 void bond_destroy_proc_dir(struct bond_net *bn); 655 static inline void bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir() argument 659 static inline void bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir() argument
|
/linux-4.19.296/drivers/pci/controller/ |
D | pcie-mediatek.c | 368 u32 bn = bus->number; in mtk_pcie_config_read() local 377 ret = mtk_pcie_hw_rd_cfg(port, bn, devfn, where, size, val); in mtk_pcie_config_read() 388 u32 bn = bus->number; in mtk_pcie_config_write() local 394 return mtk_pcie_hw_wr_cfg(port, bn, devfn, where, size, val); in mtk_pcie_config_write()
|
/linux-4.19.296/fs/nilfs2/ |
D | segment.c | 2167 static void nilfs_segctor_do_flush(struct nilfs_sc_info *sci, int bn) in nilfs_segctor_do_flush() argument 2170 if (!(sci->sc_flush_request & BIT(bn))) { in nilfs_segctor_do_flush() 2173 sci->sc_flush_request |= BIT(bn); in nilfs_segctor_do_flush()
|