/linux-2.4.37.9/fs/udf/ |
D | dir.c | 125 if (inode_bmap(dir, nf_pos >> (dir->i_sb->s_blocksize_bits - 2), in do_udf_readdir() 128 offset >>= dir->i_sb->s_blocksize_bits; in do_udf_readdir() 130 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) in do_udf_readdir() 152 if (!(offset & ((16 >> (dir->i_sb->s_blocksize_bits - 9))-1))) in do_udf_readdir() 154 i = 16 >> (dir->i_sb->s_blocksize_bits - 9); in do_udf_readdir() 155 if (i+offset > (elen >> dir->i_sb->s_blocksize_bits)) in do_udf_readdir() 156 i = (elen >> dir->i_sb->s_blocksize_bits)-offset; in do_udf_readdir()
|
D | balloc.c | 172 block_group = block >> (sb->s_blocksize_bits + 3); in udf_bitmap_free_blocks() 243 block_group = block >> (sb->s_blocksize_bits + 3); in udf_bitmap_prealloc_blocks() 304 block_group = block >> (sb->s_blocksize_bits + 3); in udf_bitmap_new_block() 397 newblock = bit + (block_group << (sb->s_blocksize_bits + 3)) - in udf_bitmap_new_block() 470 if (((eloc.logicalBlockNum + (elen >> sb->s_blocksize_bits)) == in udf_table_free_blocks() 473 if ((0x3FFFFFFF - elen) < (count << sb->s_blocksize_bits)) in udf_table_free_blocks() 475 count -= ((0x3FFFFFFF - elen) >> sb->s_blocksize_bits); in udf_table_free_blocks() 476 start += ((0x3FFFFFFF - elen) >> sb->s_blocksize_bits); in udf_table_free_blocks() 482 (elen + (count << sb->s_blocksize_bits)); in udf_table_free_blocks() 490 if ((0x3FFFFFFF - elen) < (count << sb->s_blocksize_bits)) in udf_table_free_blocks() [all …]
|
D | directory.c | 101 if ((*offset << dir->i_sb->s_blocksize_bits) >= *elen) in udf_fileident_read() 111 if (!(*offset & ((16 >> (dir->i_sb->s_blocksize_bits - 9))-1))) in udf_fileident_read() 113 i = 16 >> (dir->i_sb->s_blocksize_bits - 9); in udf_fileident_read() 114 if (i+*offset > (*elen >> dir->i_sb->s_blocksize_bits)) in udf_fileident_read() 115 i = (*elen >> dir->i_sb->s_blocksize_bits)-*offset; in udf_fileident_read() 165 if ((*offset << dir->i_sb->s_blocksize_bits) >= *elen) in udf_fileident_read()
|
D | inode.c | 413 b_off = (uint64_t)block << inode->i_sb->s_blocksize_bits; in inode_getblk() 453 inode->i_sb->s_blocksize_bits); in inode_getblk() 459 offset = b_off >> inode->i_sb->s_blocksize_bits; in inode_getblk() 497 ((offset + 1) << inode->i_sb->s_blocksize_bits); in inode_getblk() 608 inode->i_sb->s_blocksize - 1) >> inode->i_sb->s_blocksize_bits; in udf_split_extents() 630 (offset << inode->i_sb->s_blocksize_bits); in udf_split_extents() 636 (offset << inode->i_sb->s_blocksize_bits); in udf_split_extents() 655 ((blen - (offset + 1)) << inode->i_sb->s_blocksize_bits); in udf_split_extents() 680 inode->i_sb->s_blocksize - 1) >> inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() 695 inode->i_sb->s_blocksize - 1) >> inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() [all …]
|
D | truncate.c | 39 int last_block = (elen + inode->i_sb->s_blocksize - 1) >> inode->i_sb->s_blocksize_bits; in extent_trunc() 40 int first_block = (nelen + inode->i_sb->s_blocksize - 1) >> inode->i_sb->s_blocksize_bits; in extent_trunc() 73 int first_block = inode->i_size >> inode->i_sb->s_blocksize_bits; in udf_truncate_extents() 142 inode->i_sb->s_blocksize_bits; in udf_truncate_extents()
|
D | namei.c | 164 if (inode_bmap(dir, f_pos >> (dir->i_sb->s_blocksize_bits - 2), in udf_find_entry() 167 offset >>= dir->i_sb->s_blocksize_bits; in udf_find_entry() 169 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) in udf_find_entry() 391 if (inode_bmap(dir, f_pos >> (dir->i_sb->s_blocksize_bits - 2), in udf_add_entry() 394 offset >>= dir->i_sb->s_blocksize_bits; in udf_add_entry() 396 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) in udf_add_entry() 538 dir->i_sb->s_blocksize_bits); in udf_add_entry() 555 dir->i_sb->s_blocksize_bits); in udf_add_entry() 557 if (!(fibh->ebh = udf_bread(dir, f_pos >> (dir->i_sb->s_blocksize_bits - 2), 1, err))) in udf_add_entry() 570 dir->i_sb->s_blocksize_bits); in udf_add_entry() [all …]
|
D | super.c | 369 case 512: sb->s_blocksize_bits = 9; break; in udf_set_blocksize() 370 case 1024: sb->s_blocksize_bits = 10; break; in udf_set_blocksize() 371 case 2048: sb->s_blocksize_bits = 11; break; in udf_set_blocksize() 372 case 4096: sb->s_blocksize_bits = 12; break; in udf_set_blocksize() 373 case 8192: sb->s_blocksize_bits = 13; break; in udf_set_blocksize() 407 sector += (UDF_SB_SESSION(sb) << sb->s_blocksize_bits); in udf_vrs() 410 (sector >> sb->s_blocksize_bits), sb->s_blocksize); in udf_vrs() 415 bh = udf_tread(sb, sector >> sb->s_blocksize_bits); in udf_vrs() 476 else if (sector - (UDF_SB_SESSION(sb) << sb->s_blocksize_bits) == 32768) in udf_vrs() 697 >> sb->s_blocksize_bits); in udf_find_fileset() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | quotaops.h | 242 …(inode, nr) DQUOT_PREALLOC_SPACE_NODIRTY(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits) 243 …OC_BLOCK(inode, nr) DQUOT_PREALLOC_SPACE(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits) 244 …RTY(inode, nr) DQUOT_ALLOC_SPACE_NODIRTY(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits) 245 …ALLOC_BLOCK(inode, nr) DQUOT_ALLOC_SPACE(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits) 246 …IRTY(inode, nr) DQUOT_FREE_SPACE_NODIRTY(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits) 247 …T_FREE_BLOCK(inode, nr) DQUOT_FREE_SPACE(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits)
|
/linux-2.4.37.9/fs/jfs/ |
D | xattr.c | 252 nblocks = (size + (sb->s_blocksize - 1)) >> sb->s_blocksize_bits; in ea_write() 272 ((((nb + sb->s_blocksize - 1)) >> sb->s_blocksize_bits)) in ea_write() 273 << sb->s_blocksize_bits; in ea_write() 409 ((((nb + sb->s_blocksize - 1)) >> sb->s_blocksize_bits)) in ea_read() 410 << sb->s_blocksize_bits; in ea_read() 489 sb->s_blocksize_bits; in ea_get() 517 sb->s_blocksize_bits; in ea_get() 533 blocks_needed << sb->s_blocksize_bits, in ea_get() 553 lengthDXD(&ji->ea) << sb->s_blocksize_bits, in ea_get()
|
D | jfs_filsys.h | 147 #define LBLK2PBLK(sb,b) ((b) << (sb->s_blocksize_bits - L2PBSIZE)) 148 #define PBLK2LBLK(sb,b) ((b) >> (sb->s_blocksize_bits - L2PBSIZE))
|
D | inode.c | 239 if (((lblock64 << ip->i_sb->s_blocksize_bits) < ip->i_size) && in jfs_get_block() 279 if ((rc = extHint(ip, lblock64 << ip->i_sb->s_blocksize_bits, &xad))) in jfs_get_block()
|
D | resize.c | 266 log->size = newLogSize >> (L2LOGPSIZE - sb->s_blocksize_bits); in jfs_extendfs() 509 bh2 = sb_bread(sb, SUPER2_OFF >> sb->s_blocksize_bits); in jfs_extendfs()
|
D | jfs_mount.c | 472 *bpp = sb_bread(sb, SUPER1_OFF >> sb->s_blocksize_bits); in readSuper() 477 *bpp = sb_bread(sb, SUPER2_OFF >> sb->s_blocksize_bits); in readSuper()
|
/linux-2.4.37.9/fs/adfs/ |
D | dir_f.c | 113 const int blocksize_bits = dir->sb->s_blocksize_bits; in adfs_dir_checkbyte() 171 const unsigned int blocksize_bits = sb->s_blocksize_bits; in adfs_dir_read() 269 buffer = pos >> sb->s_blocksize_bits; in __adfs_dir_get() 299 buffer = pos >> sb->s_blocksize_bits; in __adfs_dir_put() 426 const unsigned int blocksize_bits = sb->s_blocksize_bits; in adfs_f_update()
|
D | dir_fplus.c | 55 size >>= sb->s_blocksize_bits; in adfs_fplus_read() 106 buffer = offset >> sb->s_blocksize_bits; in dir_memcpy()
|
D | super.c | 350 sb->s_blocksize_bits = dr->log2secsize; in adfs_read_super() 351 sb->s_blocksize = 1 << sb->s_blocksize_bits; in adfs_read_super() 386 sb->u.adfs_sb.s_size = adfs_discsize(dr, sb->s_blocksize_bits); in adfs_read_super()
|
/linux-2.4.37.9/fs/fat/ |
D | cache.c | 56 b = MSDOS_SB(sb)->fat_start + (first >> sb->s_blocksize_bits); in default_fat_access() 61 if ((first >> sb->s_blocksize_bits) == (last >> sb->s_blocksize_bits)) { in default_fat_access() 111 b = MSDOS_SB(sb)->fat_start + (first >> sb->s_blocksize_bits) in default_fat_access() 307 >> sb->s_blocksize_bits; in default_fat_bmap()
|
D | file.c | 65 if (iblock << sb->s_blocksize_bits != MSDOS_I(inode)->mmu_private) { in fat_get_block()
|
/linux-2.4.37.9/fs/ufs/ |
D | dir.c | 75 lblk = (filp->f_pos) >> sb->s_blocksize_bits; in ufs_readdir() 209 if ((block << sb->s_blocksize_bits) >= dir->i_size) in ufs_find_entry() 272 if (((block + NAMEI_RA_SIZE) << sb->s_blocksize_bits ) >= in ufs_find_entry() 400 bh = ufs_bread (dir, offset >> sb->s_blocksize_bits, 1, &err); in ufs_add_link() 592 bh = ufs_bread (inode, offset >> sb->s_blocksize_bits, 1, &err); in ufs_empty_dir()
|
/linux-2.4.37.9/fs/hfsplus/ |
D | extents.c | 187 blk = (start >> sb->s_blocksize_bits) / 8; in hfsplus_free_blocks() 319 blk = blk1 = (HFSPLUS_SB(sb).next_alloc >> sb->s_blocksize_bits) / 8; in hfsplus_extend_file() 341 ablock = (blk << sb->s_blocksize_bits) * 8 + in hfsplus_extend_file() 473 blk_cnt = (inode->i_size + sb->s_blocksize - 1) >> sb->s_blocksize_bits; in hfsplus_truncate()
|
/linux-2.4.37.9/mm/ |
D | page_io.c | 59 << (PAGE_SHIFT - swapf->i_sb->s_blocksize_bits); in rw_swap_page_base()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | do_balan.c | 329 …h_k_offset( ih ) + (tb->lbytes << (is_indirect_le_ih(ih)?tb->tb_sb->s_blocksize_bits-UNFM_P_SHIFT:… in balance_leaf() 451 temp_l = l_n << (tb->tb_sb->s_blocksize_bits - UNFM_P_SHIFT); in balance_leaf() 569 … ih ) + ((old_len - tb->rbytes )<<(is_indirect_le_ih(ih)?tb->tb_sb->s_blocksize_bits-UNFM_P_SHIFT:… in balance_leaf() 698 temp_rem = n_rem << (tb->tb_sb->s_blocksize_bits - in balance_leaf() 858 …et(ih) + ((old_len - sbytes[i] )<<(is_indirect_le_ih(ih)?tb->tb_sb->s_blocksize_bits-UNFM_P_SHIFT:… in balance_leaf() 997 (n_rem << (tb->tb_sb->s_blocksize_bits - in balance_leaf()
|
/linux-2.4.37.9/fs/intermezzo/ |
D | file.c | 382 blocks = (size >> file->f_dentry->d_inode->i_sb->s_blocksize_bits) + 1; in presto_file_write() 385 << file->f_dentry->d_inode->i_sb->s_blocksize_bits); in presto_file_write()
|
D | journal_ext3.c | 243 inode->i_sb->s_blocksize_bits; in presto_e3_has_all_data()
|
/linux-2.4.37.9/fs/proc/ |
D | inode.c | 186 s->s_blocksize_bits = 10; in proc_read_super()
|