/fs/freevxfs/ |
D | vxfs_bmap.c | 67 vxfs_bmap_ext4(struct inode *ip, long bn) in vxfs_bmap_ext4() argument 80 if (bn >= 0 && bn < d->size) in vxfs_bmap_ext4() 81 return (bn + d->extent); in vxfs_bmap_ext4() 82 bn -= d->size; in vxfs_bmap_ext4() 85 if ((bn / (indsize * indsize * bsize / 4)) == 0) { in vxfs_bmap_ext4() 95 bno = indir[(bn/indsize) % (indsize*bn)] + (bn%indsize); in vxfs_bmap_ext4()
|
/fs/jfs/ |
D | jfs_xtree.c | 151 s64 bn; in xtLookup() local 190 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup() 253 s64 bn; in xtLookupList() local 296 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookupList() 303 if ((bn = le64_to_cpu(p->header.next)) == 0) in xtLookupList() 309 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtLookupList() 447 if ((bn = le64_to_cpu(p->header.next)) == 0) in xtLookupList() 453 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtLookupList() 505 s64 bn; /* block number */ in xtSearch() local 537 for (bn = 0;;) { in xtSearch() [all …]
|
D | jfs_dtree.c | 333 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot) in add_index() argument 371 DTSaddress(dirtab_slot, bn); in add_index() 476 DTSaddress(dirtab_slot, bn); in add_index() 523 static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn, in modify_index() argument 533 DTSaddress(dirtab_slot, bn); in modify_index() 584 s64 bn; in dtSearch() local 632 for (bn = 0;;) { in dtSearch() 634 DT_GETPAGE(ip, bn, mp, psize, p, rc); in dtSearch() 704 btsp->bn = bn; in dtSearch() 753 btsp->bn = bn; in dtSearch() [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;\
|
/fs/gfs2/ |
D | bmap.c | 378 unsigned offset, u64 bn) in gfs2_indirect_init() argument 385 mp->mp_bh[i] = gfs2_meta_new(gl, bn); in gfs2_indirect_init() 390 *ptr = cpu_to_be64(bn); in gfs2_indirect_init() 434 u64 bn, dblock = 0; in gfs2_bmap_alloc() local 481 bn = gfs2_alloc_block(ip, &n); in gfs2_bmap_alloc() 484 gfs2_trans_add_unrevoke(sdp, bn, n); in gfs2_bmap_alloc() 494 gfs2_indirect_init(mp, ip->i_gl, i, 0, bn++); in gfs2_bmap_alloc() 523 mp->mp_list[i-1], bn++); in gfs2_bmap_alloc() 535 dblock = bn; in gfs2_bmap_alloc() 537 *ptr++ = cpu_to_be64(bn++); in gfs2_bmap_alloc() [all …]
|
D | eattr.c | 135 u64 bn; in ea_foreach() local 139 bn = be64_to_cpu(*eablk); in ea_foreach() 141 error = gfs2_meta_read(ip->i_gl, bn, DIO_WAIT, &eabh); in ea_foreach() 227 u64 bn = 0; in ea_dealloc_unstuffed() local 241 bn = be64_to_cpu(*dataptrs); in ea_dealloc_unstuffed() 247 rgd = gfs2_blk2rgrpd(sdp, bn); in ea_dealloc_unstuffed() 268 bn = be64_to_cpu(*dataptrs); in ea_dealloc_unstuffed() 270 if (bstart + blen == bn) in ea_dealloc_unstuffed() 275 bstart = bn; in ea_dealloc_unstuffed() 1325 u64 bn; in ea_dealloc_indirect() local [all …]
|
D | dir.c | 807 u64 bn = gfs2_alloc_block(ip, &n); in new_leaf() local 808 struct buffer_head *bh = gfs2_meta_new(ip->i_gl, bn); in new_leaf() 814 gfs2_trans_add_unrevoke(GFS2_SB(inode), bn, 1); in new_leaf() 847 u64 bn; in dir_make_exhash() local 859 bn = bh->b_blocknr; in dir_make_exhash() 906 *lp = cpu_to_be64(bn); in dir_make_exhash() 938 u64 bn, leaf_no; in dir_split_leaf() local 967 bn = nbh->b_blocknr; in dir_split_leaf() 987 lp[x] = cpu_to_be64(bn); in dir_split_leaf() 1549 u64 bn; in dir_new_leaf() local [all …]
|
/fs/reiserfs/ |
D | journal.c | 150 struct reiserfs_bitmap_node *bn; in allocate_bitmap_node() local 153 bn = kmalloc(sizeof(struct reiserfs_bitmap_node), GFP_NOFS); in allocate_bitmap_node() 154 if (!bn) { in allocate_bitmap_node() 157 bn->data = kzalloc(p_s_sb->s_blocksize, GFP_NOFS); in allocate_bitmap_node() 158 if (!bn->data) { in allocate_bitmap_node() 159 kfree(bn); in allocate_bitmap_node() 162 bn->id = id++; in allocate_bitmap_node() 163 INIT_LIST_HEAD(&bn->list); in allocate_bitmap_node() 164 return bn; in allocate_bitmap_node() 170 struct reiserfs_bitmap_node *bn = NULL; in get_bitmap_node() local [all …]
|
/fs/xfs/linux-2.6/ |
D | xfs_aops.c | 601 sector_t bn; in xfs_map_buffer() local 605 bn = (mp->iomap_bn >> (block_bits - BBSHIFT)) + in xfs_map_buffer() 608 ASSERT(bn || (mp->iomap_flags & IOMAP_REALTIME)); in xfs_map_buffer() 610 bh->b_blocknr = bn; in xfs_map_buffer()
|