tag | line | file | source code |
i_sb | 197 | fs/exec.c | if (!inode->i_sb || !S_ISREG(inode->i_mode) || !permission(inode,MAY_READ)) { |
i_sb | 205 | fs/exec.c | if (!(bh = bread(inode->i_dev,bmap(inode,0),inode->i_sb->s_blocksize))) { |
i_sb | 457 | fs/exec.c | if (!inode->i_sb) { |
i_sb | 201 | fs/ext/freelists.c | if (!inode->i_sb) { |
i_sb | 205 | fs/ext/freelists.c | lock_super (inode->i_sb); |
i_sb | 206 | fs/ext/freelists.c | if (inode->i_ino < 1 || inode->i_ino > inode->i_sb->u.ext_sb.s_ninodes) { |
i_sb | 208 | fs/ext/freelists.c | unlock_super (inode->i_sb); |
i_sb | 211 | fs/ext/freelists.c | if (inode->i_sb->u.ext_sb.s_firstfreeinodeblock) |
i_sb | 212 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) inode->i_sb->u.ext_sb.s_firstfreeinodeblock->b_data) + |
i_sb | 213 | fs/ext/freelists.c | (inode->i_sb->u.ext_sb.s_firstfreeinodenumber-1)%EXT_INODES_PER_BLOCK; |
i_sb | 214 | fs/ext/freelists.c | if (!inode->i_sb->u.ext_sb.s_firstfreeinodeblock || efi->count == 14) { |
i_sb | 218 | fs/ext/freelists.c | if (inode->i_sb->u.ext_sb.s_firstfreeinodeblock) |
i_sb | 219 | fs/ext/freelists.c | brelse (inode->i_sb->u.ext_sb.s_firstfreeinodeblock); |
i_sb | 221 | fs/ext/freelists.c | if (!(bh = bread(inode->i_dev, block, inode->i_sb->s_blocksize))) |
i_sb | 225 | fs/ext/freelists.c | efi->next = inode->i_sb->u.ext_sb.s_firstfreeinodenumber; |
i_sb | 227 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_firstfreeinodenumber = inode->i_ino; |
i_sb | 228 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_firstfreeinodeblock = bh; |
i_sb | 232 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_freeinodescount ++; |
i_sb | 233 | fs/ext/freelists.c | inode->i_sb->s_dirt = 1; |
i_sb | 234 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_firstfreeinodeblock->b_dirt = 1; |
i_sb | 235 | fs/ext/freelists.c | unlock_super (inode->i_sb); |
i_sb | 249 | fs/ext/freelists.c | sb = dir->i_sb; |
i_sb | 250 | fs/ext/freelists.c | inode->i_sb = sb; |
i_sb | 232 | fs/ext/inode.c | tmp = ext_new_block(inode->i_sb); |
i_sb | 237 | fs/ext/inode.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 280 | fs/ext/inode.c | tmp = ext_new_block(inode->i_sb); |
i_sb | 287 | fs/ext/inode.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 177 | fs/ext/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 542 | fs/ext/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 594 | fs/ext/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 785 | fs/ext/namei.c | old_inode = iget(old_dir->i_sb, old_de->inode); |
i_sb | 795 | fs/ext/namei.c | new_inode = iget(new_dir->i_sb, new_de->inode); |
i_sb | 59 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 108 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 121 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 171 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 218 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 78 | fs/ext2/dir.c | sb = inode->i_sb; |
i_sb | 88 | fs/ext2/file.c | sb = inode->i_sb; |
i_sb | 211 | fs/ext2/file.c | sb = inode->i_sb; |
i_sb | 180 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) / |
i_sb | 181 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 182 | fs/ext2/ialloc.c | bh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize); |
i_sb | 189 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) % |
i_sb | 190 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 225 | fs/ext2/ialloc.c | if (!inode->i_sb) { |
i_sb | 232 | fs/ext2/ialloc.c | sb = inode->i_sb; |
i_sb | 288 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) / |
i_sb | 289 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 290 | fs/ext2/ialloc.c | bh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize); |
i_sb | 300 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) % |
i_sb | 301 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 327 | fs/ext2/ialloc.c | sb = dir->i_sb; |
i_sb | 328 | fs/ext2/ialloc.c | inode->i_sb = sb; |
i_sb | 383 | fs/ext2/ialloc.c | inode->i_sb = sb; |
i_sb | 348 | fs/ext2/inode.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 368 | fs/ext2/inode.c | inode->i_sb->s_blocksize), block); |
i_sb | 376 | fs/ext2/inode.c | inode->i_sb->s_blocksize), |
i_sb | 381 | fs/ext2/inode.c | inode->i_sb->s_blocksize), |
i_sb | 388 | fs/ext2/inode.c | i = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize), |
i_sb | 392 | fs/ext2/inode.c | i = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize), |
i_sb | 396 | fs/ext2/inode.c | return block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize), |
i_sb | 406 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 412 | fs/ext2/inode.c | result = getblk (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 420 | fs/ext2/inode.c | tmp = ext2_new_block (inode->i_sb, inode->u.ext2_i.i_block_group); |
i_sb | 423 | fs/ext2/inode.c | result = getblk (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 425 | fs/ext2/inode.c | ext2_free_block (inode->i_sb, tmp); |
i_sb | 443 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 471 | fs/ext2/inode.c | tmp = ext2_new_block (inode->i_sb, inode->u.ext2_i.i_block_group); |
i_sb | 481 | fs/ext2/inode.c | ext2_free_block (inode->i_sb, tmp); |
i_sb | 497 | fs/ext2/inode.c | unsigned long addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 515 | fs/ext2/inode.c | inode->i_sb->s_blocksize); |
i_sb | 521 | fs/ext2/inode.c | inode->i_sb->s_blocksize); |
i_sb | 523 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize); |
i_sb | 528 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize); |
i_sb | 530 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize); |
i_sb | 532 | fs/ext2/inode.c | inode->i_sb->s_blocksize); |
i_sb | 561 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_inodes_count) { |
i_sb | 566 | fs/ext2/inode.c | block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); |
i_sb | 567 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
i_sb | 569 | fs/ext2/inode.c | group_desc = block_group / EXT2_DESC_PER_BLOCK(inode->i_sb); |
i_sb | 570 | fs/ext2/inode.c | desc = block_group % EXT2_DESC_PER_BLOCK(inode->i_sb); |
i_sb | 571 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
i_sb | 576 | fs/ext2/inode.c | (((inode->i_ino - 1) % EXT2_INODES_PER_GROUP(inode->i_sb)) |
i_sb | 577 | fs/ext2/inode.c | / EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 578 | fs/ext2/inode.c | if (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize))) |
i_sb | 581 | fs/ext2/inode.c | (inode->i_ino - 1) % EXT2_INODES_PER_BLOCK(inode->i_sb); |
i_sb | 591 | fs/ext2/inode.c | inode->i_blksize = inode->i_sb->s_blocksize; |
i_sb | 638 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_inodes_count) { |
i_sb | 643 | fs/ext2/inode.c | block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); |
i_sb | 644 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
i_sb | 646 | fs/ext2/inode.c | group_desc = block_group / EXT2_DESC_PER_BLOCK(inode->i_sb); |
i_sb | 647 | fs/ext2/inode.c | desc = block_group % EXT2_DESC_PER_BLOCK(inode->i_sb); |
i_sb | 648 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
i_sb | 653 | fs/ext2/inode.c | (((inode->i_ino - 1) % EXT2_INODES_PER_GROUP(inode->i_sb)) |
i_sb | 654 | fs/ext2/inode.c | / EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 655 | fs/ext2/inode.c | if (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize))) |
i_sb | 658 | fs/ext2/inode.c | (inode->i_ino - 1) % EXT2_INODES_PER_BLOCK(inode->i_sb); |
i_sb | 82 | fs/ext2/namei.c | sb = dir->i_sb; |
i_sb | 161 | fs/ext2/namei.c | if (!(*result = iget (dir->i_sb, ino))) { |
i_sb | 193 | fs/ext2/namei.c | sb = dir->i_sb; |
i_sb | 394 | fs/ext2/namei.c | inode->i_size = inode->i_sb->s_blocksize; |
i_sb | 404 | fs/ext2/namei.c | inode->i_blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 412 | fs/ext2/namei.c | de->rec_len = inode->i_sb->s_blocksize - EXT2_DIR_REC_LEN(1); |
i_sb | 453 | fs/ext2/namei.c | sb = inode->i_sb; |
i_sb | 514 | fs/ext2/namei.c | if (!(inode = iget (dir->i_sb, de->inode))) |
i_sb | 570 | fs/ext2/namei.c | if (!(inode = iget (dir->i_sb, de->inode))) |
i_sb | 622 | fs/ext2/namei.c | for (l = 0; l < inode->i_sb->s_blocksize - 1 && |
i_sb | 645 | fs/ext2/namei.c | while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname ++))) |
i_sb | 795 | fs/ext2/namei.c | old_inode = iget (old_dir->i_sb, old_de->inode); |
i_sb | 804 | fs/ext2/namei.c | new_inode = iget (new_dir->i_sb, new_de->inode); |
i_sb | 910 | fs/ext2/namei.c | while (old_dir->i_sb->u.ext2_sb.s_rename_lock) |
i_sb | 911 | fs/ext2/namei.c | sleep_on (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
i_sb | 912 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 1; |
i_sb | 915 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 0; |
i_sb | 916 | fs/ext2/namei.c | wake_up (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
i_sb | 103 | fs/ext2/symlink.c | if (buflen > inode->i_sb->s_blocksize - 1) |
i_sb | 104 | fs/ext2/symlink.c | buflen = inode->i_sb->s_blocksize - 1; |
i_sb | 39 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 40 | fs/ext2/truncate.c | #define DIRECT_BLOCK ((inode->i_size + inode->i_sb->s_blocksize - 1) / \ |
i_sb | 41 | fs/ext2/truncate.c | inode->i_sb->s_blocksize) |
i_sb | 50 | fs/ext2/truncate.c | bh = getblk (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 64 | fs/ext2/truncate.c | ext2_free_block (inode->i_sb, tmp); |
i_sb | 76 | fs/ext2/truncate.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 77 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 84 | fs/ext2/truncate.c | ind_bh = bread (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 103 | fs/ext2/truncate.c | bh = getblk (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 116 | fs/ext2/truncate.c | ext2_free_block (inode->i_sb, tmp); |
i_sb | 132 | fs/ext2/truncate.c | ext2_free_block (inode->i_sb, tmp); |
i_sb | 145 | fs/ext2/truncate.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 146 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 153 | fs/ext2/truncate.c | dind_bh = bread (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 188 | fs/ext2/truncate.c | ext2_free_block (inode->i_sb, tmp); |
i_sb | 200 | fs/ext2/truncate.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 201 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 210 | fs/ext2/truncate.c | tind_bh = bread (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 245 | fs/ext2/truncate.c | ext2_free_block (inode->i_sb, tmp); |
i_sb | 263 | fs/ext2/truncate.c | EXT2_ADDR_PER_BLOCK(inode->i_sb), |
i_sb | 107 | fs/inode.c | if (!inode->i_sb || !inode->i_sb->s_op || !inode->i_sb->s_op->write_inode) { |
i_sb | 112 | fs/inode.c | inode->i_sb->s_op->write_inode(inode); |
i_sb | 119 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->read_inode) |
i_sb | 120 | fs/inode.c | inode->i_sb->s_op->read_inode(inode); |
i_sb | 134 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && |
i_sb | 135 | fs/inode.c | inode->i_sb->s_op->notify_change) |
i_sb | 136 | fs/inode.c | return inode->i_sb->s_op->notify_change(flags, inode); |
i_sb | 216 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->put_inode) { |
i_sb | 217 | fs/inode.c | inode->i_sb->s_op->put_inode(inode); |
i_sb | 349 | fs/inode.c | inode->i_sb = sb; |
i_sb | 35 | fs/ioctl.c | if (filp->f_inode->i_sb == NULL) |
i_sb | 40 | fs/ioctl.c | put_fs_long(filp->f_inode->i_sb->s_blocksize, |
i_sb | 140 | fs/isofs/dir.c | if((inode->i_sb->u.isofs_sb.s_firstdatazone << BLOCK_SIZE_BITS) != inode->i_ino) |
i_sb | 176 | fs/isofs/dir.c | if(inode->i_sb->u.isofs_sb.s_mapping == 'n') |
i_sb | 279 | fs/isofs/inode.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
i_sb | 319 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
i_sb | 326 | fs/isofs/inode.c | if(inode->i_sb->u.isofs_sb.s_cruft == 'y' && |
i_sb | 375 | fs/isofs/inode.c | switch (inode->i_sb->u.isofs_sb.s_conversion){ |
i_sb | 136 | fs/isofs/namei.c | printk("Doing .. (%d %d)",dir->i_sb->s_firstdatazone << ISOFS_BUFFER_BITS, dir->i_ino); |
i_sb | 138 | fs/isofs/namei.c | if((dir->i_sb->u.isofs_sb.s_firstdatazone << ISOFS_BUFFER_BITS) != dir->i_ino) |
i_sb | 152 | fs/isofs/namei.c | if(dir->i_sb->u.isofs_sb.s_mapping == 'n') { |
i_sb | 237 | fs/isofs/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 96 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return retval; |
i_sb | 162 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
i_sb | 242 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
i_sb | 334 | fs/isofs/rock.c | reloc = iget(inode->i_sb, inode->u.isofs_i.i_first_extent << ISOFS_BUFFER_BITS); |
i_sb | 375 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) |
i_sb | 160 | fs/minix/bitmap.c | if (!inode->i_sb) { |
i_sb | 164 | fs/minix/bitmap.c | if (inode->i_ino < 1 || inode->i_ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 168 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[inode->i_ino>>13])) { |
i_sb | 187 | fs/minix/bitmap.c | sb = dir->i_sb; |
i_sb | 188 | fs/minix/bitmap.c | inode->i_sb = sb; |
i_sb | 189 | fs/minix/bitmap.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 192 | fs/minix/bitmap.c | if ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL) |
i_sb | 206 | fs/minix/bitmap.c | if (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 66 | fs/minix/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
i_sb | 68 | fs/minix/dir.c | info = &inode->i_sb->u.minix_sb; |
i_sb | 206 | fs/minix/inode.c | tmp = minix_new_block(inode->i_sb); |
i_sb | 211 | fs/minix/inode.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 254 | fs/minix/inode.c | tmp = minix_new_block(inode->i_sb); |
i_sb | 261 | fs/minix/inode.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 320 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 325 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
i_sb | 326 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
i_sb | 374 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 380 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + inode->i_sb->u.minix_sb.s_zmap_blocks + |
i_sb | 71 | fs/minix/namei.c | if (!dir || !dir->i_sb) |
i_sb | 73 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
i_sb | 126 | fs/minix/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 154 | fs/minix/namei.c | if (!dir || !dir->i_sb) |
i_sb | 156 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
i_sb | 304 | fs/minix/namei.c | if (!dir || !dir->i_sb) { |
i_sb | 308 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
i_sb | 375 | fs/minix/namei.c | if (!inode || !inode->i_sb) |
i_sb | 377 | fs/minix/namei.c | info = &inode->i_sb->u.minix_sb; |
i_sb | 435 | fs/minix/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 486 | fs/minix/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 662 | fs/minix/namei.c | info = &old_dir->i_sb->u.minix_sb; |
i_sb | 679 | fs/minix/namei.c | old_inode = iget(old_dir->i_sb, old_de->inode); |
i_sb | 689 | fs/minix/namei.c | new_inode = iget(new_dir->i_sb, new_de->inode); |
i_sb | 53 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 102 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 114 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 161 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 226 | fs/msdos/fat.c | if ((this = fat_access(inode->i_sb,this,-1)) == -1) return 0; |
i_sb | 242 | fs/msdos/fat.c | sb = MSDOS_SB(inode->i_sb); |
i_sb | 266 | fs/msdos/fat.c | if ((this = fat_access(inode->i_sb,this,-1)) == -1) return 0; |
i_sb | 273 | fs/msdos/fat.c | fat_access(inode->i_sb,last,MSDOS_SB(inode->i_sb)->fat_bits == |
i_sb | 279 | fs/msdos/fat.c | lock_fat(inode->i_sb); |
i_sb | 281 | fs/msdos/fat.c | if (!(this = fat_access(inode->i_sb,this,0))) |
i_sb | 283 | fs/msdos/fat.c | if (MSDOS_SB(inode->i_sb)->free_clusters != -1) |
i_sb | 284 | fs/msdos/fat.c | MSDOS_SB(inode->i_sb)->free_clusters++; |
i_sb | 285 | fs/msdos/fat.c | inode->i_blocks -= MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 287 | fs/msdos/fat.c | unlock_fat(inode->i_sb); |
i_sb | 211 | fs/msdos/file.c | cluster = SECTOR_SIZE*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 221 | fs/msdos/inode.c | sb = MSDOS_SB(inode->i_sb); |
i_sb | 244 | fs/msdos/inode.c | inode->i_uid = MSDOS_SB(inode->i_sb)->fs_uid; |
i_sb | 245 | fs/msdos/inode.c | inode->i_gid = MSDOS_SB(inode->i_sb)->fs_gid; |
i_sb | 247 | fs/msdos/inode.c | inode->i_mode = (0777 & ~MSDOS_SB(inode->i_sb)->fs_umask) | |
i_sb | 252 | fs/msdos/inode.c | inode->i_size = MSDOS_SB(inode->i_sb)->dir_entries* |
i_sb | 254 | fs/msdos/inode.c | inode->i_blksize = MSDOS_SB(inode->i_sb)->cluster_size* |
i_sb | 257 | fs/msdos/inode.c | inode->i_blksize*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 270 | fs/msdos/inode.c | ~MSDOS_SB(inode->i_sb)->fs_umask) | S_IFDIR; |
i_sb | 285 | fs/msdos/inode.c | i_sb)->cluster_size; |
i_sb | 286 | fs/msdos/inode.c | if (!(this = fat_access(inode->i_sb,this,-1))) |
i_sb | 293 | fs/msdos/inode.c | ~MSDOS_SB(inode->i_sb)->fs_umask) | S_IFREG; |
i_sb | 294 | fs/msdos/inode.c | inode->i_op = MSDOS_CAN_BMAP(MSDOS_SB(inode->i_sb)) ? |
i_sb | 301 | fs/msdos/inode.c | MSDOS_I(inode)->i_binary = is_binary(MSDOS_SB(inode->i_sb)->conversion, |
i_sb | 305 | fs/msdos/inode.c | inode->i_blksize = MSDOS_SB(inode->i_sb)->cluster_size*SECTOR_SIZE; |
i_sb | 307 | fs/msdos/inode.c | inode->i_blksize*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 89 | fs/msdos/misc.c | if (!MSDOS_SB(inode->i_sb)->free_clusters) return -ENOSPC; |
i_sb | 92 | fs/msdos/misc.c | lock_fat(inode->i_sb); |
i_sb | 93 | fs/msdos/misc.c | limit = MSDOS_SB(inode->i_sb)->clusters; |
i_sb | 97 | fs/msdos/misc.c | if (fat_access(inode->i_sb,this,-1) == 0) break; |
i_sb | 104 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->free_clusters = 0; |
i_sb | 105 | fs/msdos/misc.c | unlock_fat(inode->i_sb); |
i_sb | 110 | fs/msdos/misc.c | fat_access(inode->i_sb,this,MSDOS_SB(inode->i_sb)->fat_bits == 12 ? |
i_sb | 112 | fs/msdos/misc.c | if (MSDOS_SB(inode->i_sb)->free_clusters != -1) |
i_sb | 113 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->free_clusters--; |
i_sb | 114 | fs/msdos/misc.c | unlock_fat(inode->i_sb); |
i_sb | 118 | fs/msdos/misc.c | printk("set to %x\n",fat_access(inode->i_sb,this,-1)); |
i_sb | 124 | fs/msdos/misc.c | if (!(current = fat_access(inode->i_sb, |
i_sb | 131 | fs/msdos/misc.c | if (last) fat_access(inode->i_sb,last,this); |
i_sb | 137 | fs/msdos/misc.c | if (last) printk("next set to %d\n",fat_access(inode->i_sb,last,-1)); |
i_sb | 139 | fs/msdos/misc.c | for (current = 0; current < MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 141 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(this-2)* |
i_sb | 142 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->cluster_size+current; |
i_sb | 146 | fs/msdos/misc.c | if (current < MSDOS_SB(inode->i_sb)->cluster_size-1 && |
i_sb | 166 | fs/msdos/misc.c | inode->i_blocks += MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 170 | fs/msdos/misc.c | inode->i_size += SECTOR_SIZE*MSDOS_SB(inode->i_sb)-> |
i_sb | 285 | fs/msdos/misc.c | if (!(inode = iget(dir->i_sb,*ino))) break; |
i_sb | 397 | fs/msdos/misc.c | if ((current = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,MSDOS_DOTDOT,0, |
i_sb | 404 | fs/msdos/misc.c | if ((prev = raw_scan(dir->i_sb,current,MSDOS_DOTDOT,0,NULL)) < |
i_sb | 409 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,current,&this)) < 0) { |
i_sb | 425 | fs/msdos/misc.c | (void) raw_scan_root(dir->i_sb,NULL,&count,NULL); |
i_sb | 428 | fs/msdos/misc.c | else (void) raw_scan_nonroot(dir->i_sb,MSDOS_I(dir)->i_start, |
i_sb | 105 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
i_sb | 134 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb,ino))) return -EACCES; |
i_sb | 143 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 155 | fs/msdos/namei.c | if (!(*result = iget(next->i_sb,next->i_ino))) |
i_sb | 183 | fs/msdos/namei.c | if ((*result = iget(dir->i_sb,ino)) != NULL) |
i_sb | 203 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
i_sb | 250 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
i_sb | 312 | fs/msdos/namei.c | if (!(inode = iget(dir->i_sb,ino))) goto rmdir_done; |
i_sb | 355 | fs/msdos/namei.c | if (!(inode = iget(dir->i_sb,ino))) { |
i_sb | 393 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
i_sb | 412 | fs/msdos/namei.c | if (MSDOS_SB(old_dir->i_sb)->conversion == 'a') /* update binary info */ |
i_sb | 413 | fs/msdos/namei.c | if ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) { |
i_sb | 433 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
i_sb | 439 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
i_sb | 446 | fs/msdos/namei.c | if (!(old_inode = iget(old_dir->i_sb,old_ino))) { |
i_sb | 459 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
i_sb | 478 | fs/msdos/namei.c | if (!(free_inode = iget(new_dir->i_sb,free_ino))) { |
i_sb | 506 | fs/msdos/namei.c | if (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) { |
i_sb | 538 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(old_dir->i_sb)->name_check, |
i_sb | 540 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->name_check, |
i_sb | 114 | fs/namei.c | } else if ((sb = dir->i_sb) && (dir == sb->s_mounted)) { |
i_sb | 115 | fs/namei.c | sb = dir->i_sb; |
i_sb | 316 | fs/nfs/dir.c | if (!(*result = nfs_fhget(dir->i_sb, &fhandle, &fattr))) { |
i_sb | 350 | fs/nfs/dir.c | if (!(*result = nfs_fhget(dir->i_sb, &fhandle, &fattr))) { |
i_sb | 40 | fs/open.c | if (!inode->i_sb->s_op->statfs) { |
i_sb | 44 | fs/open.c | inode->i_sb->s_op->statfs(inode->i_sb, buf); |
i_sb | 62 | fs/open.c | if (!inode->i_sb->s_op->statfs) |
i_sb | 64 | fs/open.c | inode->i_sb->s_op->statfs(inode->i_sb, buf); |
i_sb | 123 | fs/proc/base.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 68 | fs/proc/fd.c | sb = dir->i_sb; |
i_sb | 115 | fs/proc/root.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 249 | fs/super.c | if (!inode || !inode->i_sb || inode != inode->i_sb->s_mounted) { |
i_sb | 253 | fs/super.c | dev = inode->i_sb->s_dev; |
i_sb | 336 | fs/super.c | if (dir_i != dir_i->i_sb->s_mounted) { |
i_sb | 340 | fs/super.c | dir_i->i_sb->s_flags = (dir_i->i_sb->s_flags & ~MS_RMT_MASK) | |
i_sb | 290 | fs/xiafs/bitmap.c | if (!inode->i_dev || inode->i_count!=1 || inode->i_nlink || !inode->i_sb || |
i_sb | 291 | fs/xiafs/bitmap.c | inode->i_ino < 3 || inode->i_ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
i_sb | 295 | fs/xiafs/bitmap.c | bh = get_imap_zone(inode->i_sb, inode->i_ino, NULL); |
i_sb | 298 | fs/xiafs/bitmap.c | tmp = inode->i_ino & (XIAFS_BITS_PER_Z(inode->i_sb)-1); |
i_sb | 303 | fs/xiafs/bitmap.c | xiafs_unlock_super(inode->i_sb, inode->i_sb->u.xiafs_sb.s_imap_cached); |
i_sb | 313 | fs/xiafs/bitmap.c | sb = dir->i_sb; |
i_sb | 316 | fs/xiafs/bitmap.c | inode->i_sb = sb; |
i_sb | 317 | fs/xiafs/bitmap.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 72 | fs/xiafs/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
i_sb | 74 | fs/xiafs/dir.c | if (inode->i_size & (XIAFS_ZSIZE(inode->i_sb) - 1) ) |
i_sb | 77 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
i_sb | 78 | fs/xiafs/dir.c | bh = xiafs_bread(inode, filp->f_pos >> XIAFS_ZSIZE_BITS(inode->i_sb),0); |
i_sb | 80 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
i_sb | 84 | fs/xiafs/dir.c | while (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
i_sb | 85 | fs/xiafs/dir.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
i_sb | 87 | fs/xiafs/dir.c | (char *)de+de->d_rec_len > XIAFS_ZSIZE(inode->i_sb)+bh->b_data || |
i_sb | 111 | fs/xiafs/dir.c | if (offset > XIAFS_ZSIZE(inode->i_sb)) { |
i_sb | 94 | fs/xiafs/file.c | zone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 95 | fs/xiafs/file.c | offset &= XIAFS_ZSIZE(inode->i_sb) -1 ; |
i_sb | 96 | fs/xiafs/file.c | f_zones =(inode->i_size+XIAFS_ZSIZE(inode->i_sb)-1)>>XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 97 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 100 | fs/xiafs/file.c | zones += read_ahead[MAJOR(inode->i_dev)] >> (1+XIAFS_ZSHIFT(inode->i_sb)); |
i_sb | 148 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
i_sb | 151 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
i_sb | 210 | fs/xiafs/file.c | bh = xiafs_getblk(inode, pos >> XIAFS_ZSIZE_BITS(inode->i_sb), 1); |
i_sb | 216 | fs/xiafs/file.c | c = XIAFS_ZSIZE(inode->i_sb) - (pos & (XIAFS_ZSIZE(inode->i_sb) - 1)); |
i_sb | 219 | fs/xiafs/file.c | if (c != XIAFS_ZSIZE(inode->i_sb) && !bh->b_uptodate) { |
i_sb | 229 | fs/xiafs/file.c | cp = (pos & (XIAFS_ZSIZE(inode->i_sb)-1)) + bh->b_data; |
i_sb | 175 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 184 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 187 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone); |
i_sb | 190 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
i_sb | 193 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), |
i_sb | 194 | fs/xiafs/inode.c | zone >> XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)); |
i_sb | 196 | fs/xiafs/inode.c | i= zone_bmap(bread(inode->i_dev,i, XIAFS_ZSIZE(inode->i_sb)), |
i_sb | 197 | fs/xiafs/inode.c | zone & (XIAFS_ADDRS_PER_Z(inode->i_sb)-1)); |
i_sb | 209 | fs/xiafs/inode.c | random_nr=(random_nr+23)%inode->i_sb->u.xiafs_sb.s_ndatazones; |
i_sb | 210 | fs/xiafs/inode.c | return random_nr + inode->i_sb->u.xiafs_sb.s_firstdatazone; |
i_sb | 221 | fs/xiafs/inode.c | result = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 229 | fs/xiafs/inode.c | tmp = xiafs_new_zone(inode->i_sb, prev_addr); |
i_sb | 232 | fs/xiafs/inode.c | result = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 234 | fs/xiafs/inode.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 263 | fs/xiafs/inode.c | result = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 275 | fs/xiafs/inode.c | tmp = xiafs_new_zone(inode->i_sb, prev_addr); |
i_sb | 280 | fs/xiafs/inode.c | result = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 282 | fs/xiafs/inode.c | xiafs_free_zone(inode->i_sb,tmp); |
i_sb | 301 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 311 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 316 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
i_sb | 318 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), |
i_sb | 320 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), |
i_sb | 350 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
i_sb | 354 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
i_sb | 355 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
i_sb | 356 | fs/xiafs/inode.c | (ino-1)/ XIAFS_INODES_PER_Z(inode->i_sb); |
i_sb | 357 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
i_sb | 362 | fs/xiafs/inode.c | ((ino-1) & (XIAFS_INODES_PER_Z(inode->i_sb) - 1)); |
i_sb | 410 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
i_sb | 415 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
i_sb | 416 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
i_sb | 417 | fs/xiafs/inode.c | (ino-1) / XIAFS_INODES_PER_Z(inode->i_sb); |
i_sb | 418 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
i_sb | 424 | fs/xiafs/inode.c | ((ino-1) & (XIAFS_INODES_PER_Z(inode->i_sb) -1)); |
i_sb | 70 | fs/xiafs/namei.c | if (inode->i_size & (XIAFS_ZSIZE(inode->i_sb) - 1)) { |
i_sb | 74 | fs/xiafs/namei.c | zones=inode->i_size >> XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 87 | fs/xiafs/namei.c | while ( pos < XIAFS_ZSIZE(inode->i_sb) ) { |
i_sb | 88 | fs/xiafs/namei.c | if (dep->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
i_sb | 90 | fs/xiafs/namei.c | dep->d_rec_len+(char *)dep > bh->b_data+XIAFS_ZSIZE(inode->i_sb) || |
i_sb | 107 | fs/xiafs/namei.c | if (pos > XIAFS_ZSIZE(inode->i_sb)) { |
i_sb | 135 | fs/xiafs/namei.c | if (!(*result = iget(dir->i_sb, ino))) { |
i_sb | 165 | fs/xiafs/namei.c | if (dir->i_size & (XIAFS_ZSIZE(dir->i_sb) - 1)) { |
i_sb | 171 | fs/xiafs/namei.c | bh = xiafs_bread(dir, pos >> XIAFS_ZSIZE_BITS(dir->i_sb), pos ? 1:0); |
i_sb | 186 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(dir->i_sb)) { |
i_sb | 191 | fs/xiafs/namei.c | de->d_rec_len=XIAFS_ZSIZE(dir->i_sb); |
i_sb | 192 | fs/xiafs/namei.c | dir->i_size += XIAFS_ZSIZE(dir->i_sb); |
i_sb | 195 | fs/xiafs/namei.c | if (de->d_ino > dir->i_sb->u.xiafs_sb.s_ninodes || |
i_sb | 197 | fs/xiafs/namei.c | (char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(dir->i_sb) || |
i_sb | 231 | fs/xiafs/namei.c | if (offset > XIAFS_ZSIZE(dir->i_sb)) { |
i_sb | 235 | fs/xiafs/namei.c | pos+=XIAFS_ZSIZE(dir->i_sb); |
i_sb | 359 | fs/xiafs/namei.c | inode->i_size = XIAFS_ZSIZE(dir->i_sb); |
i_sb | 378 | fs/xiafs/namei.c | de->d_rec_len=XIAFS_ZSIZE(dir->i_sb)-12; |
i_sb | 412 | fs/xiafs/namei.c | if (inode->i_size & (XIAFS_ZSIZE(inode->i_sb)-1) ) { |
i_sb | 417 | fs/xiafs/namei.c | zones=inode->i_size >> XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 444 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(inode->i_sb)) { |
i_sb | 446 | fs/xiafs/namei.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
i_sb | 448 | fs/xiafs/namei.c | (char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(inode->i_sb) || |
i_sb | 499 | fs/xiafs/namei.c | if (!(inode = iget(dir->i_sb, de->d_ino))) |
i_sb | 550 | fs/xiafs/namei.c | if (!(inode = iget(dir->i_sb, de->d_ino))) |
i_sb | 730 | fs/xiafs/namei.c | old_inode = iget(old_dir->i_sb, old_de->d_ino); |
i_sb | 740 | fs/xiafs/namei.c | new_inode = iget(new_dir->i_sb, new_de->d_ino); |
i_sb | 36 | fs/xiafs/truncate.c | #define DT_ZONE ((inode->i_size + XIAFS_ZSIZE(inode->i_sb) - 1) \ |
i_sb | 37 | fs/xiafs/truncate.c | >> XIAFS_ZSIZE_BITS(inode->i_sb) ) |
i_sb | 53 | fs/xiafs/truncate.c | bh = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 63 | fs/xiafs/truncate.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 82 | fs/xiafs/truncate.c | ind_bh = bread(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 92 | fs/xiafs/truncate.c | for (i = INDT_ZONE<0?0:INDT_ZONE; i < XIAFS_ADDRS_PER_Z(inode->i_sb); i++) { |
i_sb | 98 | fs/xiafs/truncate.c | bh = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 108 | fs/xiafs/truncate.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 113 | fs/xiafs/truncate.c | for (i = 0; i < XIAFS_ADDRS_PER_Z(inode->i_sb) && !(*indp++); i++) ; |
i_sb | 114 | fs/xiafs/truncate.c | if (i >= XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 120 | fs/xiafs/truncate.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 131 | fs/xiafs/truncate.c | ((DT_ZONE-XIAFS_ADDRS_PER_Z(inode->i_sb)-8)>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)) |
i_sb | 141 | fs/xiafs/truncate.c | dind_bh = bread(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 151 | fs/xiafs/truncate.c | for (i=DINDT_ZONE<0?0:DINDT_ZONE ; i < XIAFS_ADDRS_PER_Z(inode->i_sb) ; i ++) { |
i_sb | 156 | fs/xiafs/truncate.c | 8+((1+i)<<XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)), |
i_sb | 161 | fs/xiafs/truncate.c | for (i = 0; i < XIAFS_ADDRS_PER_Z(inode->i_sb) && !(*dindp++); i++); |
i_sb | 162 | fs/xiafs/truncate.c | if (i >= XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 169 | fs/xiafs/truncate.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 112 | include/linux/fs.h | #define IS_RDONLY(inode) (((inode)->i_sb) && ((inode)->i_sb->s_flags & MS_RDONLY)) |
i_sb | 181 | include/linux/fs.h | struct super_block * i_sb; |
i_sb | 53 | include/linux/nfs_fs.h | #define NFS_SERVER(inode) (&(inode)->i_sb->u.nfs_sb.s_server) |