Home
last modified time | relevance | path

Searched refs:i_blocks (Results 1 – 25 of 101) sorted by relevance

12345

/linux-2.4.37.9/fs/efs/
Dfile.c19 if (iblock >= inode->i_blocks) { in efs_get_block()
26 inode->i_blocks, in efs_get_block()
48 if (!(block < inode->i_blocks)) { in efs_bmap()
55 inode->i_blocks, in efs_bmap()
Dnamei.c25 for(block = 0; block < inode->i_blocks; block++) { in efs_find_entry()
Dinode.c99 inode->i_blocks = 0; in efs_read_inode()
101 inode->i_blocks = ((inode->i_size - 1) >> EFS_BLOCKSIZE_BITS) + 1; in efs_read_inode()
Ddir.c41 while (block < inode->i_blocks) { in efs_readdir()
/linux-2.4.37.9/fs/hpfs/
Dfile.c65 i->i_blocks = 1 + ((i->i_size + 511) >> 9); in hpfs_truncate()
86 if ((s = hpfs_add_sector_to_btree(inode->i_sb, inode->i_ino, 1, inode->i_blocks - 1)) == -1) { in hpfs_get_block()
87 hpfs_truncate_btree(inode->i_sb, inode->i_ino, 1, inode->i_blocks - 1); in hpfs_get_block()
90 inode->i_blocks++; in hpfs_get_block()
Dinode.c71 i->i_blocks = -1; in hpfs_read_inode()
133 i->i_blocks = 1; in hpfs_read_inode()
157 i->i_blocks = 1; in hpfs_read_inode()
176 i->i_blocks = 4 * n_dnodes; in hpfs_read_inode()
186 i->i_blocks = ((i->i_size + 511) >> 9) + 1; in hpfs_read_inode()
Dnamei.c140 if (result->i_blocks == -1) result->i_blocks = 1; in hpfs_create()
211 result->i_blocks = 1; in hpfs_mknod()
273 result->i_blocks = 1; in hpfs_symlink()
/linux-2.4.37.9/fs/ufs/
Dtruncate.c125 inode->i_blocks -= (frag2-frag1) << uspi->s_nspfshift; in ufs_trunc_direct()
149 inode->i_blocks -= uspi->s_nspb; in ufs_trunc_direct()
188 inode->i_blocks -= frag4 << uspi->s_nspfshift; in ufs_trunc_direct()
258 inode->i_blocks -= uspi->s_nspb; in ufs_trunc_indirect()
276 inode->i_blocks -= uspi->s_nspb; in ufs_trunc_indirect()
343 inode->i_blocks -= uspi->s_nspb; in ufs_trunc_dindirect()
406 inode->i_blocks -= uspi->s_nspb; in ufs_trunc_tindirect()
Dinode.c525 inode->i_blocks = fs32_to_cpu(sb, ufs_inode->ui_blocks); in ufs_read_inode()
537 else if (inode->i_blocks) { in ufs_read_inode()
555 if (!inode->i_blocks) in ufs_read_inode()
616 ufs_inode->ui_blocks = cpu_to_fs32(sb, inode->i_blocks); in ufs_update_inode()
627 else if (inode->i_blocks) { in ufs_update_inode()
669 if (inode->i_blocks) in ufs_delete_inode()
/linux-2.4.37.9/fs/hfs/
Dinode.c66 inode->i_blocks = fk->psize; in init_file_inode()
367 inode->i_blocks = 0; in hfs_cap_ifill()
382 inode->i_blocks = 0; in hfs_cap_ifill()
442 inode->i_blocks = 0; in hfs_dbl_ifill()
488 inode->i_blocks = 0; in hfs_nat_ifill()
/linux-2.4.37.9/fs/jfs/
Dresize.c394 ipbmap->i_blocks += LBLK2PBLK(sb, xlen); in jfs_extendfs()
475 ipbmap2->i_blocks = ipbmap->i_blocks; in jfs_extendfs()
Djfs_inode.c78 inode->i_blocks = 0; in ialloc()
Djfs_extent.c169 ip->i_blocks += LBLK2PBLK(ip->i_sb, nxlen); in extAlloc()
325 ip->i_blocks += LBLK2PBLK(sb, delta); in extRealloc()
/linux-2.4.37.9/fs/intermezzo/
Djournal_ext3.c265 CDEBUG(D_CACHE, "Need %ld blocks, have %ld.\n", block, inode->i_blocks); in presto_e3_has_all_data()
267 if (block > inode->i_blocks) { in presto_e3_has_all_data()
/linux-2.4.37.9/fs/devpts/
Dinode.c148 inode->i_blocks = 0; in devpts_read_super()
198 inode->i_blocks = 0; in devpts_pty_new()
/linux-2.4.37.9/fs/reiserfs/
Dinode.c58 inode->i_blocks = 0; in reiserfs_delete_inode()
664 inode->i_blocks += (inode->i_sb->s_blocksize / 512) ; in reiserfs_get_block()
725 inode->i_blocks += inode->i_sb->s_blocksize / 512; in reiserfs_get_block()
853 inode->i_blocks += inode->i_sb->s_blocksize / 512; in reiserfs_get_block()
959 inode->i_blocks = sd_v1_blocks(sd); in init_inode()
963 if (inode->i_blocks > blocks) { in init_inode()
969 inode->i_blocks = blocks; in init_inode()
990 inode->i_blocks = sd_v2_blocks(sd); in init_inode()
1022 inode->i_blocks = 0; in init_inode()
1042 set_sd_v2_blocks(sd_v2, inode->i_blocks ); in inode2sd()
[all …]
/linux-2.4.37.9/fs/fat/
Dmisc.c186 != inode->i_blocks / cluster_size / (sb->s_blocksize / 512)) { in fat_add_cluster()
189 inode->i_blocks / cluster_size / (sb->s_blocksize / 512)); in fat_add_cluster()
192 inode->i_blocks += (1 << MSDOS_SB(sb)->cluster_bits) / 512; in fat_add_cluster()
/linux-2.4.37.9/fs/ext2/
Dinode.c47 inode->i_blocks - ea_blocks == 0); in ext2_inode_is_fast_symlink()
75 if (inode->i_blocks) in ext2_delete_inode()
984 inode->i_blocks = le32_to_cpu(raw_inode->i_blocks); in ext2_read_inode()
1119 raw_inode->i_blocks = cpu_to_le32(inode->i_blocks); in ext2_update_inode()
/linux-2.4.37.9/fs/sysv/
Dinode.c133 if (inode->i_blocks) { in sysv_set_inode()
172 inode->i_blocks = inode->i_blksize = 0; in sysv_read_inode()
/linux-2.4.37.9/include/linux/
Dfs.h462 unsigned long i_blocks; member
528 inode->i_blocks += bytes >> 9; in inode_add_bytes()
532 inode->i_blocks++; in inode_add_bytes()
539 inode->i_blocks -= bytes >> 9; in inode_sub_bytes()
542 inode->i_blocks--; in inode_sub_bytes()
550 return (((loff_t)inode->i_blocks) << 9) + inode->i_bytes; in inode_get_bytes()
555 inode->i_blocks = bytes >> 9; in inode_set_bytes()
/linux-2.4.37.9/fs/adfs/
Dinode.c36 if (block >= inode->i_blocks) in adfs_get_block()
261 inode->i_blocks = (inode->i_size + sb->s_blocksize - 1) >> in adfs_iget()
/linux-2.4.37.9/fs/ext3/
Dinode.c51 inode->i_blocks - ea_blocks == 0); in ext3_inode_is_fast_symlink()
111 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in blocks_for_truncate()
215 if (inode->i_blocks) in ext3_delete_inode()
932 prev_blocks = inode->i_blocks; in ext3_bread()
945 inode->i_blocks > prev_blocks && in ext3_bread()
2148 inode->i_blocks = le32_to_cpu(raw_inode->i_blocks); in ext3_read_inode()
2262 raw_inode->i_blocks = cpu_to_le32(inode->i_blocks); in ext3_do_update_inode()
/linux-2.4.37.9/fs/
Dstat.c129 tmp.st_blocks = inode->i_blocks; in cp_new_stat()
332 tmp.st_blocks = inode->i_blocks; in cp_new_stat64()
/linux-2.4.37.9/fs/hfsplus/
Dextents.c217 if (++blk >= anode->i_blocks) in hfsplus_free_blocks()
326 if (blk == anode->i_blocks - 1) in hfsplus_extend_file()
358 if (++blk >= anode->i_blocks) in hfsplus_extend_file()
/linux-2.4.37.9/fs/bfs/
Dinode.c76 inode->i_blocks = BFS_FILEBLOCKS(di); in bfs_read_inode()
307 s->su_freeb -= inode->i_blocks; in bfs_read_super()

12345