tag | line | file | source code |
i_sb | 196 | arch/alpha/kernel/osf_sys.c | if (!inode->i_sb->s_op->statfs) { |
i_sb | 200 | arch/alpha/kernel/osf_sys.c | inode->i_sb->s_op->statfs(inode->i_sb, buffer, bufsiz); |
i_sb | 220 | arch/alpha/kernel/osf_sys.c | if (!inode->i_sb->s_op->statfs) |
i_sb | 222 | arch/alpha/kernel/osf_sys.c | inode->i_sb->s_op->statfs(inode->i_sb, buffer, bufsiz); |
i_sb | 285 | fs/binfmt_aout.c | (fd_offset < bprm->inode->i_sb->s_blocksize)) { |
i_sb | 445 | fs/binfmt_aout.c | (N_TXTOFF(ex) < inode->i_sb->s_blocksize)) { |
i_sb | 1265 | fs/buffer.c | i = PAGE_SIZE >> inode->i_sb->s_blocksize_bits; |
i_sb | 1266 | fs/buffer.c | block = page->offset >> inode->i_sb->s_blocksize_bits; |
i_sb | 1276 | fs/buffer.c | brw_page(READ, address, inode->i_dev, nr, inode->i_sb->s_blocksize, 1); |
i_sb | 455 | fs/exec.c | if (!bprm->inode->i_sb) |
i_sb | 198 | fs/ext/freelists.c | if (!inode->i_sb) { |
i_sb | 202 | fs/ext/freelists.c | sb = 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 | 247 | fs/ext/inode.c | tmp = ext_new_block(inode->i_sb); |
i_sb | 252 | fs/ext/inode.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 295 | fs/ext/inode.c | tmp = ext_new_block(inode->i_sb); |
i_sb | 302 | fs/ext/inode.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 171 | fs/ext/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 545 | fs/ext/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 598 | fs/ext/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 790 | fs/ext/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
i_sb | 800 | fs/ext/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode,0); /* don't cross mnt-points */ |
i_sb | 58 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 107 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 120 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 170 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 217 | fs/ext/truncate.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 181 | fs/ext2/balloc.c | sb = inode->i_sb; |
i_sb | 272 | fs/ext2/balloc.c | sb = inode->i_sb; |
i_sb | 87 | fs/ext2/dir.c | dir->i_sb->s_blocksize) |
i_sb | 89 | fs/ext2/dir.c | else if (dir && de->inode > dir->i_sb->u.ext2_sb.s_es->s_inodes_count) |
i_sb | 93 | fs/ext2/dir.c | ext2_error (dir->i_sb, function, "bad entry in directory #%lu: %s - " |
i_sb | 113 | fs/ext2/dir.c | sb = inode->i_sb; |
i_sb | 102 | fs/ext2/file.c | sb = inode->i_sb; |
i_sb | 27 | fs/ext2/fsync.c | #define blocksize (EXT2_BLOCK_SIZE(inode->i_sb)) |
i_sb | 28 | fs/ext2/fsync.c | #define addr_per_block (EXT2_ADDR_PER_BLOCK(inode->i_sb)) |
i_sb | 167 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) / |
i_sb | 168 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 169 | fs/ext2/ialloc.c | bh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize); |
i_sb | 171 | fs/ext2/ialloc.c | ext2_panic (inode->i_sb, "set_inode_dtime", |
i_sb | 177 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) % |
i_sb | 178 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 216 | fs/ext2/ialloc.c | if (!inode->i_sb) { |
i_sb | 223 | fs/ext2/ialloc.c | sb = inode->i_sb; |
i_sb | 277 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) / |
i_sb | 278 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 279 | fs/ext2/ialloc.c | bh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize); |
i_sb | 281 | fs/ext2/ialloc.c | ext2_error (inode->i_sb, "inc_inode_version", |
i_sb | 290 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) % |
i_sb | 291 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 322 | fs/ext2/ialloc.c | sb = dir->i_sb; |
i_sb | 323 | fs/ext2/ialloc.c | inode->i_sb = sb; |
i_sb | 453 | fs/ext2/ialloc.c | inode->i_sb = sb; |
i_sb | 83 | fs/ext2/inode.c | wait_on_super (inode->i_sb); |
i_sb | 98 | fs/ext2/inode.c | if (!(bh = getblk (inode->i_sb->s_dev, result, |
i_sb | 99 | fs/ext2/inode.c | inode->i_sb->s_blocksize))) { |
i_sb | 100 | fs/ext2/inode.c | ext2_error (inode->i_sb, "ext2_alloc_block", |
i_sb | 104 | fs/ext2/inode.c | memset(bh->b_data, 0, inode->i_sb->s_blocksize); |
i_sb | 130 | fs/ext2/inode.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 131 | fs/ext2/inode.c | int addr_per_block_bits = EXT2_ADDR_PER_BLOCK_BITS(inode->i_sb); |
i_sb | 134 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_bmap", "block < 0"); |
i_sb | 140 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_bmap", "block > big"); |
i_sb | 151 | fs/ext2/inode.c | inode->i_sb->s_blocksize), block); |
i_sb | 159 | fs/ext2/inode.c | inode->i_sb->s_blocksize), |
i_sb | 164 | fs/ext2/inode.c | inode->i_sb->s_blocksize), |
i_sb | 171 | fs/ext2/inode.c | i = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize), |
i_sb | 175 | fs/ext2/inode.c | i = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize), |
i_sb | 179 | fs/ext2/inode.c | return block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize), |
i_sb | 189 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 195 | fs/ext2/inode.c | result = getblk (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 203 | fs/ext2/inode.c | EXT2_BLOCK_SIZE_BITS(inode->i_sb))) { |
i_sb | 221 | fs/ext2/inode.c | EXT2_BLOCKS_PER_GROUP(inode->i_sb)) + |
i_sb | 222 | fs/ext2/inode.c | inode->i_sb->u.ext2_sb.s_es->s_first_data_block; |
i_sb | 230 | fs/ext2/inode.c | result = getblk (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 256 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 282 | fs/ext2/inode.c | EXT2_BLOCK_SIZE_BITS(inode->i_sb))) { |
i_sb | 338 | fs/ext2/inode.c | if((nr & ((PAGE_SIZE >> EXT2_BLOCK_SIZE_BITS(inode->i_sb)) - 1)) != 0) |
i_sb | 340 | fs/ext2/inode.c | if(nr + 3 > EXT2_ADDR_PER_BLOCK(inode->i_sb)) goto out; |
i_sb | 342 | fs/ext2/inode.c | for(i=0; i< (PAGE_SIZE >> EXT2_BLOCK_SIZE_BITS(inode->i_sb)); i++) { |
i_sb | 366 | fs/ext2/inode.c | unsigned long addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 367 | fs/ext2/inode.c | int addr_per_block_bits = EXT2_ADDR_PER_BLOCK_BITS(inode->i_sb); |
i_sb | 371 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_getblk", "block < 0"); |
i_sb | 377 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_getblk", "block > big"); |
i_sb | 403 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
i_sb | 409 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
i_sb | 411 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
i_sb | 416 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
i_sb | 418 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
i_sb | 420 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
i_sb | 428 | fs/ext2/inode.c | unsigned long addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 429 | fs/ext2/inode.c | int addr_per_block_bits = EXT2_ADDR_PER_BLOCK_BITS(inode->i_sb); |
i_sb | 434 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_getblk", "block < 0"); |
i_sb | 440 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_getblk", "block > big"); |
i_sb | 453 | fs/ext2/inode.c | inode->i_sb->s_blocksize); |
i_sb | 459 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
i_sb | 461 | fs/ext2/inode.c | inode->i_sb->s_blocksize); |
i_sb | 466 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
i_sb | 468 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
i_sb | 470 | fs/ext2/inode.c | inode->i_sb->s_blocksize); |
i_sb | 502 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
i_sb | 503 | fs/ext2/inode.c | ext2_error (inode->i_sb, "ext2_read_inode", |
i_sb | 507 | fs/ext2/inode.c | block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); |
i_sb | 508 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
i_sb | 509 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_read_inode", |
i_sb | 511 | fs/ext2/inode.c | group_desc = block_group >> EXT2_DESC_PER_BLOCK_BITS(inode->i_sb); |
i_sb | 512 | fs/ext2/inode.c | desc = block_group & (EXT2_DESC_PER_BLOCK(inode->i_sb) - 1); |
i_sb | 513 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
i_sb | 515 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_read_inode", |
i_sb | 519 | fs/ext2/inode.c | (((inode->i_ino - 1) % EXT2_INODES_PER_GROUP(inode->i_sb)) |
i_sb | 520 | fs/ext2/inode.c | >> EXT2_INODES_PER_BLOCK_BITS(inode->i_sb)); |
i_sb | 521 | fs/ext2/inode.c | if (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize))) |
i_sb | 522 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_read_inode", |
i_sb | 526 | fs/ext2/inode.c | ((inode->i_ino - 1) & (EXT2_INODES_PER_BLOCK(inode->i_sb) - 1)); |
i_sb | 551 | fs/ext2/inode.c | ext2_error (inode->i_sb, "ext2_read_inode", |
i_sb | 593 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
i_sb | 594 | fs/ext2/inode.c | ext2_error (inode->i_sb, "ext2_write_inode", |
i_sb | 598 | fs/ext2/inode.c | block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); |
i_sb | 599 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
i_sb | 600 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_write_inode", |
i_sb | 602 | fs/ext2/inode.c | group_desc = block_group >> EXT2_DESC_PER_BLOCK_BITS(inode->i_sb); |
i_sb | 603 | fs/ext2/inode.c | desc = block_group & (EXT2_DESC_PER_BLOCK(inode->i_sb) - 1); |
i_sb | 604 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
i_sb | 606 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_write_inode", |
i_sb | 610 | fs/ext2/inode.c | (((inode->i_ino - 1) % EXT2_INODES_PER_GROUP(inode->i_sb)) |
i_sb | 611 | fs/ext2/inode.c | >> EXT2_INODES_PER_BLOCK_BITS(inode->i_sb)); |
i_sb | 612 | fs/ext2/inode.c | if (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize))) |
i_sb | 613 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_write_inode", |
i_sb | 617 | fs/ext2/inode.c | (inode->i_ino - 1) % EXT2_INODES_PER_BLOCK(inode->i_sb); |
i_sb | 81 | fs/ext2/namei.c | sb = dir->i_sb; |
i_sb | 184 | fs/ext2/namei.c | if (!(*result = iget (dir->i_sb, ino))) { |
i_sb | 201 | fs/ext2/namei.c | if (!(*result = iget (dir->i_sb, ino))) { |
i_sb | 234 | fs/ext2/namei.c | sb = dir->i_sb; |
i_sb | 497 | fs/ext2/namei.c | inode->i_size = inode->i_sb->s_blocksize; |
i_sb | 506 | fs/ext2/namei.c | inode->i_blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 514 | fs/ext2/namei.c | de->rec_len = inode->i_sb->s_blocksize - EXT2_DIR_REC_LEN(1); |
i_sb | 559 | fs/ext2/namei.c | sb = inode->i_sb; |
i_sb | 562 | fs/ext2/namei.c | ext2_warning (inode->i_sb, "empty_dir", |
i_sb | 571 | fs/ext2/namei.c | ext2_warning (inode->i_sb, "empty_dir", |
i_sb | 623 | fs/ext2/namei.c | if (!(inode = iget (dir->i_sb, de->inode))) |
i_sb | 625 | fs/ext2/namei.c | if (inode->i_sb->dq_op) |
i_sb | 626 | fs/ext2/namei.c | inode->i_sb->dq_op->initialize (inode, -1); |
i_sb | 674 | fs/ext2/namei.c | ext2_warning (inode->i_sb, "ext2_rmdir", |
i_sb | 705 | fs/ext2/namei.c | if (!(inode = iget (dir->i_sb, de->inode))) |
i_sb | 707 | fs/ext2/namei.c | if (inode->i_sb->dq_op) |
i_sb | 708 | fs/ext2/namei.c | inode->i_sb->dq_op->initialize (inode, -1); |
i_sb | 726 | fs/ext2/namei.c | ext2_warning (inode->i_sb, "ext2_unlink", |
i_sb | 770 | fs/ext2/namei.c | for (l = 0; l < inode->i_sb->s_blocksize - 1 && |
i_sb | 793 | fs/ext2/namei.c | while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++))) |
i_sb | 959 | fs/ext2/namei.c | old_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
i_sb | 971 | fs/ext2/namei.c | new_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */ |
i_sb | 976 | fs/ext2/namei.c | if (new_inode->i_sb->dq_op) |
i_sb | 977 | fs/ext2/namei.c | new_inode->i_sb->dq_op->initialize (new_inode, -1); |
i_sb | 1106 | fs/ext2/namei.c | while (old_dir->i_sb->u.ext2_sb.s_rename_lock) |
i_sb | 1107 | fs/ext2/namei.c | sleep_on (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
i_sb | 1108 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 1; |
i_sb | 1111 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 0; |
i_sb | 1112 | fs/ext2/namei.c | wake_up (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
i_sb | 109 | fs/ext2/symlink.c | if (buflen > inode->i_sb->s_blocksize - 1) |
i_sb | 110 | fs/ext2/symlink.c | buflen = inode->i_sb->s_blocksize - 1; |
i_sb | 67 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 68 | fs/ext2/truncate.c | #define DIRECT_BLOCK ((inode->i_size + inode->i_sb->s_blocksize - 1) / \ |
i_sb | 69 | fs/ext2/truncate.c | inode->i_sb->s_blocksize) |
i_sb | 79 | fs/ext2/truncate.c | inode->i_sb->s_blocksize); |
i_sb | 119 | fs/ext2/truncate.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 120 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 127 | fs/ext2/truncate.c | ind_bh = bread (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 147 | fs/ext2/truncate.c | inode->i_sb->s_blocksize); |
i_sb | 205 | fs/ext2/truncate.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 206 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 213 | fs/ext2/truncate.c | dind_bh = bread (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 264 | fs/ext2/truncate.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 265 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 274 | fs/ext2/truncate.c | tind_bh = bread (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 335 | fs/ext2/truncate.c | EXT2_ADDR_PER_BLOCK(inode->i_sb), |
i_sb | 351 | fs/ext2/truncate.c | offset = inode->i_size & (inode->i_sb->s_blocksize - 1); |
i_sb | 354 | fs/ext2/truncate.c | inode->i_size >> EXT2_BLOCK_SIZE_BITS(inode->i_sb), |
i_sb | 358 | fs/ext2/truncate.c | inode->i_sb->s_blocksize - offset); |
i_sb | 234 | fs/fat/cache.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
i_sb | 247 | fs/fat/cache.c | sb = MSDOS_SB(inode->i_sb); |
i_sb | 271 | fs/fat/cache.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
i_sb | 278 | fs/fat/cache.c | fat_access(inode->i_sb,last,MSDOS_SB(inode->i_sb)->fat_bits == |
i_sb | 284 | fs/fat/cache.c | lock_fat(inode->i_sb); |
i_sb | 286 | fs/fat/cache.c | if (!(nr = fat_access(inode->i_sb,nr,0))) { |
i_sb | 287 | fs/fat/cache.c | fat_fs_panic(inode->i_sb,"fat_free: deleting beyond EOF"); |
i_sb | 290 | fs/fat/cache.c | if (MSDOS_SB(inode->i_sb)->free_clusters != -1) |
i_sb | 291 | fs/fat/cache.c | MSDOS_SB(inode->i_sb)->free_clusters++; |
i_sb | 292 | fs/fat/cache.c | inode->i_blocks -= MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 294 | fs/fat/cache.c | unlock_fat(inode->i_sb); |
i_sb | 104 | fs/fat/dir.c | struct super_block *sb = inode->i_sb; |
i_sb | 128 | fs/fat/file.c | struct super_block *sb = inode->i_sb; |
i_sb | 160 | fs/fat/file.c | struct super_block *sb = inode->i_sb; |
i_sb | 274 | fs/fat/file.c | struct super_block *sb = inode->i_sb; |
i_sb | 373 | fs/fat/file.c | cluster = SECTOR_SIZE*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 41 | fs/fat/inode.c | sb = inode->i_sb; |
i_sb | 341 | fs/fat/inode.c | sb = MSDOS_SB(inode->i_sb); |
i_sb | 363 | fs/fat/inode.c | struct super_block *sb = inode->i_sb; |
i_sb | 372 | fs/fat/inode.c | inode->i_uid = MSDOS_SB(inode->i_sb)->options.fs_uid; |
i_sb | 373 | fs/fat/inode.c | inode->i_gid = MSDOS_SB(inode->i_sb)->options.fs_gid; |
i_sb | 376 | fs/fat/inode.c | inode->i_mode = (S_IRWXUGO & ~MSDOS_SB(inode->i_sb)->options.fs_umask) | |
i_sb | 381 | fs/fat/inode.c | inode->i_size = MSDOS_SB(inode->i_sb)->dir_entries* |
i_sb | 383 | fs/fat/inode.c | inode->i_blksize = MSDOS_SB(inode->i_sb)->cluster_size* |
i_sb | 386 | fs/fat/inode.c | inode->i_blksize*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 402 | fs/fat/inode.c | ~MSDOS_SB(inode->i_sb)->options.fs_umask) | S_IFDIR; |
i_sb | 418 | fs/fat/inode.c | i_sb)->cluster_size; |
i_sb | 419 | fs/fat/inode.c | if (!(nr = fat_access(inode->i_sb,nr,-1))) { |
i_sb | 428 | fs/fat/inode.c | (MSDOS_SB(inode->i_sb)->options.showexec && |
i_sb | 431 | fs/fat/inode.c | & ~MSDOS_SB(inode->i_sb)->options.fs_umask) | S_IFREG; |
i_sb | 440 | fs/fat/inode.c | if (MSDOS_SB(inode->i_sb)->options.sys_immutable) |
i_sb | 442 | fs/fat/inode.c | MSDOS_I(inode)->i_binary = is_binary(MSDOS_SB(inode->i_sb)->options.conversion, |
i_sb | 446 | fs/fat/inode.c | inode->i_blksize = MSDOS_SB(inode->i_sb)->cluster_size*SECTOR_SIZE; |
i_sb | 448 | fs/fat/inode.c | inode->i_blksize*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 452 | fs/fat/inode.c | MSDOS_SB(inode->i_sb)->options.isvfat |
i_sb | 461 | fs/fat/inode.c | struct super_block *sb = inode->i_sb; |
i_sb | 508 | fs/fat/inode.c | (attr->ia_uid != MSDOS_SB(inode->i_sb)->options.fs_uid)) || |
i_sb | 510 | fs/fat/inode.c | (attr->ia_gid != MSDOS_SB(inode->i_sb)->options.fs_gid)) || |
i_sb | 516 | fs/fat/inode.c | return MSDOS_SB(inode->i_sb)->options.quiet ? 0 : error; |
i_sb | 526 | fs/fat/inode.c | & ~MSDOS_SB(inode->i_sb)->options.fs_umask) | S_IRUSR) >> 6)*S_IXUGO)) & |
i_sb | 527 | fs/fat/inode.c | ~MSDOS_SB(inode->i_sb)->options.fs_umask; |
i_sb | 118 | fs/fat/misc.c | struct super_block *sb = inode->i_sb; |
i_sb | 121 | fs/fat/misc.c | int cluster_size = MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 124 | fs/fat/misc.c | if (!MSDOS_SB(inode->i_sb)->free_clusters) return -ENOSPC; |
i_sb | 125 | fs/fat/misc.c | lock_fat(inode->i_sb); |
i_sb | 126 | fs/fat/misc.c | limit = MSDOS_SB(inode->i_sb)->clusters; |
i_sb | 129 | fs/fat/misc.c | nr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2; |
i_sb | 130 | fs/fat/misc.c | if (fat_access(inode->i_sb,nr,-1) == 0) break; |
i_sb | 136 | fs/fat/misc.c | MSDOS_SB(inode->i_sb)->prev_free = (count+MSDOS_SB(inode->i_sb)-> |
i_sb | 139 | fs/fat/misc.c | MSDOS_SB(inode->i_sb)->free_clusters = 0; |
i_sb | 140 | fs/fat/misc.c | unlock_fat(inode->i_sb); |
i_sb | 143 | fs/fat/misc.c | fat_access(inode->i_sb,nr,MSDOS_SB(inode->i_sb)->fat_bits == 12 ? |
i_sb | 145 | fs/fat/misc.c | if (MSDOS_SB(inode->i_sb)->free_clusters != -1) |
i_sb | 146 | fs/fat/misc.c | MSDOS_SB(inode->i_sb)->free_clusters--; |
i_sb | 147 | fs/fat/misc.c | unlock_fat(inode->i_sb); |
i_sb | 149 | fs/fat/misc.c | printk("set to %x\n",fat_access(inode->i_sb,nr,-1)); |
i_sb | 169 | fs/fat/misc.c | if (!(curr = fat_access(inode->i_sb, |
i_sb | 171 | fs/fat/misc.c | fat_fs_panic(inode->i_sb,"File without EOF"); |
i_sb | 180 | fs/fat/misc.c | if (last) fat_access(inode->i_sb,last,nr); |
i_sb | 186 | fs/fat/misc.c | if (last) printk("next set to %d\n",fat_access(inode->i_sb,last,-1)); |
i_sb | 188 | fs/fat/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size; |
i_sb | 212 | fs/fat/misc.c | fat_fs_panic(inode->i_sb,"Odd directory size"); |
i_sb | 286 | fs/fat/misc.c | struct super_block *sb = dir->i_sb; |
i_sb | 493 | fs/fat/misc.c | if ((curr = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,MSDOS_DOTDOT, |
i_sb | 500 | fs/fat/misc.c | if ((prev = raw_scan(dir->i_sb,curr,MSDOS_DOTDOT,&zero,NULL, |
i_sb | 505 | fs/fat/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,&curr,&nr,NULL, |
i_sb | 527 | fs/fat/misc.c | (void) raw_scan_root(dir->i_sb,NULL,&count,NULL,NULL,NULL,SCAN_ANY); |
i_sb | 530 | fs/fat/misc.c | else (void) raw_scan_nonroot(dir->i_sb,MSDOS_I(dir)->i_start, |
i_sb | 548 | fs/fat/misc.c | ? raw_scan(dir->i_sb,MSDOS_I(dir)->i_start, |
i_sb | 550 | fs/fat/misc.c | : raw_scan(dir->i_sb,MSDOS_I(dir)->i_start, |
i_sb | 98 | fs/fat/mmap.c | if (vma->vm_offset & (inode->i_sb->s_blocksize - 1)) |
i_sb | 100 | fs/fat/mmap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_sb | 135 | fs/file_table.c | if (filp->f_mode & FMODE_WRITE && filp->f_inode->i_sb->dq_op) { |
i_sb | 136 | fs/file_table.c | filp->f_inode->i_sb->dq_op->initialize(filp->f_inode, type); |
i_sb | 636 | fs/hpfs/hpfs_fs.c | struct super_block *s = inode->i_sb; |
i_sb | 644 | fs/hpfs/hpfs_fs.c | || ino_secno(inode->i_ino) >= inode->i_sb->s_hpfs_fs_size) { |
i_sb | 1169 | fs/hpfs/hpfs_fs.c | if (!(inode = iget(dir->i_sb, ino))) |
i_sb | 1378 | fs/hpfs/hpfs_fs.c | || inode->i_sb == 0 |
i_sb | 1386 | fs/hpfs/hpfs_fs.c | lc = inode->i_sb->s_hpfs_lowercase; |
i_sb | 176 | fs/inode.c | if (inode->i_sb && inode->i_sb->dq_op) |
i_sb | 177 | fs/inode.c | inode->i_sb->dq_op->drop(inode); |
i_sb | 247 | fs/inode.c | if (!inode->i_sb || !inode->i_sb->s_op || !inode->i_sb->s_op->write_inode) { |
i_sb | 252 | fs/inode.c | inode->i_sb->s_op->write_inode(inode); |
i_sb | 259 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->read_inode) |
i_sb | 260 | fs/inode.c | inode->i_sb->s_op->read_inode(inode); |
i_sb | 351 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && |
i_sb | 352 | fs/inode.c | inode->i_sb->s_op->notify_change) |
i_sb | 353 | fs/inode.c | return inode->i_sb->s_op->notify_change(inode, attr); |
i_sb | 440 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->put_inode) { |
i_sb | 441 | fs/inode.c | inode->i_sb->s_op->put_inode(inode); |
i_sb | 453 | fs/inode.c | if (inode->i_sb && inode->i_sb->dq_op) { |
i_sb | 458 | fs/inode.c | inode->i_sb->dq_op->drop(inode); |
i_sb | 601 | fs/inode.c | inode->i_sb = sb; |
i_sb | 36 | fs/ioctl.c | if (filp->f_inode->i_sb == NULL) |
i_sb | 41 | fs/ioctl.c | put_fs_long(filp->f_inode->i_sb->s_blocksize, |
i_sb | 67 | fs/isofs/dir.c | if ((inode->i_sb->u.isofs_sb.s_firstdatazone) != inode->i_ino) |
i_sb | 214 | fs/isofs/dir.c | if (inode->i_sb->u.isofs_sb.s_unhide == 'n') { |
i_sb | 216 | fs/isofs/dir.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
i_sb | 240 | fs/isofs/dir.c | if (inode->i_sb->u.isofs_sb.s_mapping == 'n') { |
i_sb | 474 | fs/isofs/inode.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
i_sb | 508 | fs/isofs/inode.c | inode->i_mode = inode->i_sb->u.isofs_sb.s_mode; /* Everybody gets to read the file. */ |
i_sb | 518 | fs/isofs/inode.c | inode->i_uid = inode->i_sb->u.isofs_sb.s_uid; |
i_sb | 519 | fs/isofs/inode.c | inode->i_gid = inode->i_sb->u.isofs_sb.s_gid; |
i_sb | 525 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft == 'n') { |
i_sb | 527 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
i_sb | 534 | fs/isofs/inode.c | if(inode->i_sb->u.isofs_sb.s_cruft == 'y' && |
i_sb | 570 | fs/isofs/inode.c | << inode -> i_sb -> u.isofs_sb.s_log_zone_size; |
i_sb | 573 | fs/isofs/inode.c | switch (inode->i_sb->u.isofs_sb.s_conversion){ |
i_sb | 610 | fs/isofs/inode.c | if (inode->i_sb->u.isofs_sb.s_cruft == 'n' && |
i_sb | 613 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
i_sb | 616 | fs/isofs/inode.c | if (inode->i_sb->u.isofs_sb.s_cruft != 'y' && |
i_sb | 143 | fs/isofs/namei.c | dir->i_sb->s_firstdatazone, |
i_sb | 146 | fs/isofs/namei.c | if((dir->i_sb->u.isofs_sb.s_firstdatazone) != dir->i_ino) |
i_sb | 160 | fs/isofs/namei.c | if(dir->i_sb->u.isofs_sb.s_mapping == 'n') { |
i_sb | 181 | fs/isofs/namei.c | if( !(de->flags[-dir->i_sb->u.isofs_sb.s_high_sierra] & 5) |
i_sb | 182 | fs/isofs/namei.c | || dir->i_sb->u.isofs_sb.s_unhide == 'y' ) |
i_sb | 245 | fs/isofs/namei.c | if (dir->i_sb->u.isofs_sb.s_name_check == 'r' |
i_sb | 269 | fs/isofs/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 280 | fs/isofs/namei.c | if (ino_back && !(*result)->i_pipe && (*result)->i_sb == dir->i_sb) { |
i_sb | 113 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return retval; |
i_sb | 179 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
i_sb | 260 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
i_sb | 373 | fs/isofs/rock.c | inode -> i_sb -> u.isofs_sb.s_log_zone_size; |
i_sb | 374 | fs/isofs/rock.c | reloc = iget(inode->i_sb, inode->u.isofs_i.i_first_extent); |
i_sb | 419 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) |
i_sb | 117 | fs/minix/bitmap.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 122 | fs/minix/bitmap.c | block = (2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
i_sb | 123 | fs/minix/bitmap.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
i_sb | 145 | fs/minix/bitmap.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 150 | fs/minix/bitmap.c | block = (2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
i_sb | 151 | fs/minix/bitmap.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
i_sb | 197 | fs/minix/bitmap.c | if (!inode->i_sb) { |
i_sb | 201 | fs/minix/bitmap.c | if (inode->i_ino < 1 || inode->i_ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 206 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) { |
i_sb | 226 | fs/minix/bitmap.c | sb = dir->i_sb; |
i_sb | 227 | fs/minix/bitmap.c | inode->i_sb = sb; |
i_sb | 228 | fs/minix/bitmap.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 231 | fs/minix/bitmap.c | if ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL) |
i_sb | 245 | fs/minix/bitmap.c | if (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 68 | fs/minix/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
i_sb | 70 | fs/minix/dir.c | info = &inode->i_sb->u.minix_sb; |
i_sb | 279 | fs/minix/inode.c | if (block >= (inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE)) { |
i_sb | 325 | fs/minix/inode.c | if (block >= (inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE)) { |
i_sb | 394 | fs/minix/inode.c | tmp = minix_new_block(inode->i_sb); |
i_sb | 399 | fs/minix/inode.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 442 | fs/minix/inode.c | tmp = minix_new_block(inode->i_sb); |
i_sb | 449 | fs/minix/inode.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 468 | fs/minix/inode.c | if (block >= inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE) { |
i_sb | 507 | fs/minix/inode.c | tmp = minix_new_block(inode->i_sb); |
i_sb | 512 | fs/minix/inode.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 555 | fs/minix/inode.c | tmp = minix_new_block(inode->i_sb); |
i_sb | 562 | fs/minix/inode.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 581 | fs/minix/inode.c | if (block >= inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE) { |
i_sb | 643 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 649 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
i_sb | 650 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
i_sb | 697 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 703 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
i_sb | 704 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
i_sb | 762 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 769 | 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 | 803 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 810 | 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 | 72 | fs/minix/namei.c | if (!dir || !dir->i_sb) |
i_sb | 74 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
i_sb | 127 | fs/minix/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 158 | fs/minix/namei.c | if (!dir || !dir->i_sb) |
i_sb | 160 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
i_sb | 311 | fs/minix/namei.c | if (!dir || !dir->i_sb) { |
i_sb | 315 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
i_sb | 381 | fs/minix/namei.c | if (!inode || !inode->i_sb) |
i_sb | 383 | fs/minix/namei.c | info = &inode->i_sb->u.minix_sb; |
i_sb | 443 | fs/minix/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 500 | fs/minix/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 683 | fs/minix/namei.c | info = &old_dir->i_sb->u.minix_sb; |
i_sb | 700 | fs/minix/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
i_sb | 710 | fs/minix/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
i_sb | 65 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 113 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 125 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 170 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 227 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 275 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 287 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 332 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 377 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 157 | fs/msdos/namei.c | dotsOK = MSDOS_SB(dir->i_sb)->options.dotsOK; |
i_sb | 158 | fs/msdos/namei.c | res = msdos_format_name(MSDOS_SB(dir->i_sb)->options.name_check, |
i_sb | 179 | fs/msdos/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 202 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb,ino))) return -EACCES; |
i_sb | 208 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb, ino))) |
i_sb | 222 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 227 | fs/msdos/namei.c | if (!(*result)->i_sb || |
i_sb | 228 | fs/msdos/namei.c | ((*result)->i_sb->s_magic != MSDOS_SUPER_MAGIC)) { |
i_sb | 242 | fs/msdos/namei.c | if (!(*result = iget(next->i_sb,next->i_ino))) { |
i_sb | 243 | fs/msdos/namei.c | fat_fs_panic(dir->i_sb,"msdos_lookup: Can't happen"); |
i_sb | 259 | fs/msdos/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 283 | fs/msdos/namei.c | if ((*result = iget(dir->i_sb,ino)) != NULL) |
i_sb | 298 | fs/msdos/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 305 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->options.name_check, |
i_sb | 307 | fs/msdos/namei.c | MSDOS_SB(dir->i_sb)->options.dotsOK)) < 0) { |
i_sb | 359 | fs/msdos/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 385 | fs/msdos/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 398 | fs/msdos/namei.c | if (!(inode = iget(dir->i_sb,ino))) goto rmdir_done; |
i_sb | 424 | fs/msdos/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 431 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->options.name_check, |
i_sb | 433 | fs/msdos/namei.c | MSDOS_SB(dir->i_sb)->options.dotsOK)) < 0) { |
i_sb | 477 | fs/msdos/namei.c | fat_fs_panic(dir->i_sb,"rmdir in mkdir failed"); |
i_sb | 489 | fs/msdos/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 499 | fs/msdos/namei.c | if (!(inode = iget(dir->i_sb,ino))) { |
i_sb | 542 | fs/msdos/namei.c | struct super_block *sb = old_dir->i_sb; |
i_sb | 555 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
i_sb | 592 | fs/msdos/namei.c | if ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) { |
i_sb | 607 | fs/msdos/namei.c | struct super_block *sb = old_dir->i_sb; |
i_sb | 616 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
i_sb | 623 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
i_sb | 634 | fs/msdos/namei.c | if (!(old_inode = iget(old_dir->i_sb,old_ino))) { |
i_sb | 647 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
i_sb | 677 | fs/msdos/namei.c | if (!(free_inode = iget(new_dir->i_sb,free_ino))) { |
i_sb | 710 | fs/msdos/namei.c | if (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) { |
i_sb | 737 | fs/msdos/namei.c | struct super_block *sb = old_dir->i_sb; |
i_sb | 744 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(old_dir->i_sb)->options.name_check, |
i_sb | 746 | fs/msdos/namei.c | MSDOS_SB(old_dir->i_sb)->options.dotsOK)) |
i_sb | 748 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->options.name_check, |
i_sb | 750 | fs/msdos/namei.c | MSDOS_SB(new_dir->i_sb)->options.dotsOK)) |
i_sb | 168 | fs/namei.c | } else if ((sb = dir->i_sb) && (dir == sb->s_mounted)) { |
i_sb | 374 | fs/namei.c | if (dir->i_sb && dir->i_sb->dq_op) |
i_sb | 375 | fs/namei.c | dir->i_sb->dq_op->initialize(dir, -1); |
i_sb | 433 | fs/namei.c | if (inode->i_sb && inode->i_sb->dq_op) |
i_sb | 434 | fs/namei.c | inode->i_sb->dq_op->initialize(inode, -1); |
i_sb | 444 | fs/namei.c | if (inode->i_sb && inode->i_sb->dq_op) |
i_sb | 445 | fs/namei.c | inode->i_sb->dq_op->initialize(inode, -1); |
i_sb | 477 | fs/namei.c | if (dir->i_sb && dir->i_sb->dq_op) |
i_sb | 478 | fs/namei.c | dir->i_sb->dq_op->initialize(dir, -1); |
i_sb | 536 | fs/namei.c | if (dir->i_sb && dir->i_sb->dq_op) |
i_sb | 537 | fs/namei.c | dir->i_sb->dq_op->initialize(dir, -1); |
i_sb | 590 | fs/namei.c | if (dir->i_sb && dir->i_sb->dq_op) |
i_sb | 591 | fs/namei.c | dir->i_sb->dq_op->initialize(dir, -1); |
i_sb | 640 | fs/namei.c | if (dir->i_sb && dir->i_sb->dq_op) |
i_sb | 641 | fs/namei.c | dir->i_sb->dq_op->initialize(dir, -1); |
i_sb | 684 | fs/namei.c | if (dir->i_sb && dir->i_sb->dq_op) |
i_sb | 685 | fs/namei.c | dir->i_sb->dq_op->initialize(dir, -1); |
i_sb | 755 | fs/namei.c | if (dir->i_sb && dir->i_sb->dq_op) |
i_sb | 756 | fs/namei.c | dir->i_sb->dq_op->initialize(dir, -1); |
i_sb | 843 | fs/namei.c | if (new_dir->i_sb && new_dir->i_sb->dq_op) |
i_sb | 844 | fs/namei.c | new_dir->i_sb->dq_op->initialize(new_dir, -1); |
i_sb | 581 | fs/ncpfs/dir.c | if (!(inode = iget(dir->i_sb, ncp_info_ino(NCP_SERVER(dir), |
i_sb | 776 | fs/ncpfs/dir.c | *result = iget(dir->i_sb, ncp_info_ino(server, parent)); |
i_sb | 802 | fs/ncpfs/dir.c | *result = iget(dir->i_sb, ncp_info_ino(server, result_info)); |
i_sb | 144 | fs/ncpfs/mmap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_sb | 362 | fs/nfs/dir.c | if (!(*result = nfs_fhget(dir->i_sb, &fhandle, &fattr))) { |
i_sb | 396 | fs/nfs/dir.c | if (!(*result = nfs_fhget(dir->i_sb, &fhandle, &fattr))) { |
i_sb | 36 | fs/open.c | if (!inode->i_sb->s_op->statfs) { |
i_sb | 40 | fs/open.c | inode->i_sb->s_op->statfs(inode->i_sb, buf, sizeof(struct statfs)); |
i_sb | 58 | fs/open.c | if (!inode->i_sb->s_op->statfs) |
i_sb | 60 | fs/open.c | inode->i_sb->s_op->statfs(inode->i_sb, buf, sizeof(struct statfs)); |
i_sb | 400 | fs/open.c | if (inode->i_sb && inode->i_sb->dq_op) { |
i_sb | 401 | fs/open.c | inode->i_sb->dq_op->initialize(inode, -1); |
i_sb | 402 | fs/open.c | if (inode->i_sb->dq_op->transfer(inode, &newattrs, 0)) |
i_sb | 406 | fs/open.c | inode->i_sb->dq_op->transfer(inode, &newattrs, 1); |
i_sb | 452 | fs/open.c | if (inode->i_sb->dq_op) { |
i_sb | 453 | fs/open.c | inode->i_sb->dq_op->initialize(inode, -1); |
i_sb | 454 | fs/open.c | if (inode->i_sb->dq_op->transfer(inode, &newattrs, 0)) |
i_sb | 458 | fs/open.c | inode->i_sb->dq_op->transfer(inode, &newattrs, 1); |
i_sb | 69 | fs/proc/fd.c | sb = dir->i_sb; |
i_sb | 216 | fs/proc/root.c | *res_inode = proc_get_inode(inode->i_sb, (current->pid << 16) + PROC_PID_INO, &proc_pid); |
i_sb | 416 | fs/proc/root.c | inode = proc_get_inode(dir->i_sb, de->parent->low_ino, de->parent); |
i_sb | 437 | fs/proc/root.c | if (!(*result = proc_get_inode(dir->i_sb, ino, de))) { |
i_sb | 481 | fs/proc/root.c | if (!(*result = proc_get_inode(dir->i_sb, ino, &proc_pid))) { |
i_sb | 485 | fs/smbfs/dir.c | error = smb_proc_getattr(&(SMB_SBP(dir->i_sb)->s_server), |
i_sb | 526 | fs/smbfs/dir.c | if (!(inode = iget(dir->i_sb, (int)new_inode_info))) { |
i_sb | 701 | fs/smbfs/dir.c | *result = iget(dir->i_sb, (int)result_info); |
i_sb | 111 | fs/smbfs/mmap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_sb | 571 | fs/super.c | if (!inode->i_sb || inode != inode->i_sb->s_mounted) { |
i_sb | 575 | fs/super.c | dev = inode->i_sb->s_dev; |
i_sb | 692 | fs/super.c | if (dir_i != dir_i->i_sb->s_mounted) { |
i_sb | 696 | fs/super.c | retval = do_remount_sb(dir_i->i_sb, flags, data); |
i_sb | 980 | fs/super.c | vfsmnt->mnt_sb = old_root->i_sb; |
i_sb | 76 | fs/sysv/dir.c | if (!inode || !(sb = inode->i_sb) || !S_ISDIR(inode->i_mode)) |
i_sb | 96 | fs/sysv/dir.c | if (sde.inode > inode->i_sb->sv_ninodes) |
i_sb | 77 | fs/sysv/file.c | struct super_block * sb = inode->i_sb; |
i_sb | 204 | fs/sysv/file.c | struct super_block * sb = inode->i_sb; |
i_sb | 40 | fs/sysv/fsync.c | sb = inode->i_sb; |
i_sb | 77 | fs/sysv/fsync.c | *bh = sv_bread(inode->i_sb, inode->i_dev, block); |
i_sb | 115 | fs/sysv/fsync.c | sb = inode->i_sb; |
i_sb | 141 | fs/sysv/fsync.c | sb = inode->i_sb; |
i_sb | 167 | fs/sysv/fsync.c | sb = inode->i_sb; |
i_sb | 73 | fs/sysv/ialloc.c | if (!(sb = inode->i_sb)) { |
i_sb | 113 | fs/sysv/ialloc.c | sb = dir->i_sb; |
i_sb | 114 | fs/sysv/ialloc.c | inode->i_sb = sb; |
i_sb | 115 | fs/sysv/ialloc.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 580 | fs/sysv/inode.c | struct super_block * sb = inode->i_sb; |
i_sb | 644 | fs/sysv/inode.c | sb = inode->i_sb; |
i_sb | 690 | fs/sysv/inode.c | sb = inode->i_sb; |
i_sb | 728 | fs/sysv/inode.c | struct super_block * sb = inode->i_sb; |
i_sb | 801 | fs/sysv/inode.c | struct super_block * sb = inode->i_sb; |
i_sb | 879 | fs/sysv/inode.c | if (inode->i_sb->sv_kludge_symlinks) |
i_sb | 890 | fs/sysv/inode.c | struct super_block * sb = inode->i_sb; |
i_sb | 70 | fs/sysv/namei.c | sb = dir->i_sb; |
i_sb | 123 | fs/sysv/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 156 | fs/sysv/namei.c | sb = dir->i_sb; |
i_sb | 313 | fs/sysv/namei.c | if (dir->i_nlink >= dir->i_sb->sv_link_max) { |
i_sb | 390 | fs/sysv/namei.c | sb = inode->i_sb; |
i_sb | 435 | fs/sysv/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 491 | fs/sysv/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 557 | fs/sysv/namei.c | sb = inode->i_sb; |
i_sb | 603 | fs/sysv/namei.c | if (oldinode->i_nlink >= oldinode->i_sb->sv_link_max) { |
i_sb | 694 | fs/sysv/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
i_sb | 704 | fs/sysv/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
i_sb | 747 | fs/sysv/namei.c | if (!new_inode && new_dir->i_nlink >= new_dir->i_sb->sv_link_max) |
i_sb | 98 | fs/sysv/symlink.c | if (buflen > inode->i_sb->sv_block_size_1) |
i_sb | 99 | fs/sysv/symlink.c | buflen = inode->i_sb->sv_block_size_1; |
i_sb | 49 | fs/sysv/truncate.c | sb = inode->i_sb; |
i_sb | 90 | fs/sysv/truncate.c | sb = inode->i_sb; |
i_sb | 158 | fs/sysv/truncate.c | sb = inode->i_sb; |
i_sb | 215 | fs/sysv/truncate.c | sb = inode->i_sb; |
i_sb | 261 | fs/sysv/truncate.c | sb = inode->i_sb; |
i_sb | 106 | fs/umsdos/dir.c | ,dir->i_sb->s_mounted->i_ino) == 0){ |
i_sb | 110 | fs/umsdos/dir.c | || (dir != dir->i_sb->s_mounted && filp->f_pos == 32)){ |
i_sb | 323 | fs/umsdos/dir.c | if (inode->i_sb == dir->i_sb && !umsdos_isinit(inode)){ |
i_sb | 571 | fs/umsdos/dir.c | while (dir != dir->i_sb->s_mounted){ |
i_sb | 634 | fs/umsdos/dir.c | if (pseudo_root != NULL && dir == pseudo_root->i_sb->s_mounted){ |
i_sb | 657 | fs/umsdos/dir.c | && *result != dir->i_sb->s_mounted |
i_sb | 670 | fs/umsdos/dir.c | *result = dir->i_sb->s_mounted; |
i_sb | 757 | fs/umsdos/dir.c | dir = hlink->i_sb->s_mounted; |
i_sb | 106 | fs/umsdos/emd.c | ret = iget (dir->i_sb,dir->u.umsdos_i.i_emd_dir); |
i_sb | 211 | fs/umsdos/inode.c | struct inode *dir = *result = iget(inode->i_sb,ino); |
i_sb | 288 | fs/umsdos/inode.c | if (inode == inode->i_sb->s_mounted){ |
i_sb | 308 | fs/umsdos/inode.c | struct inode *emd_owner = iget (inode->i_sb,i_emd_owner); |
i_sb | 307 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.options.fs_uid = data.umsdos_dirent.uid; |
i_sb | 308 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.options.fs_gid = data.umsdos_dirent.gid; |
i_sb | 309 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.options.fs_umask = data.umsdos_dirent.mode; |
i_sb | 965 | fs/umsdos/namei.c | struct inode *hdir = iget(inode->i_sb |
i_sb | 73 | fs/umsdos/rdir.c | && dir == dir->i_sb->s_mounted |
i_sb | 74 | fs/umsdos/rdir.c | && dir == pseudo_root->i_sb->s_mounted; |
i_sb | 96 | fs/umsdos/rdir.c | && dir == dir->i_sb->s_mounted |
i_sb | 97 | fs/umsdos/rdir.c | && dir == pseudo_root->i_sb->s_mounted){ |
i_sb | 514 | fs/vfat/namei.c | if (MSDOS_SB(dir->i_sb)->options.numtail == 0) { |
i_sb | 544 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 723 | fs/vfat/namei.c | xlate = MSDOS_SB(dir->i_sb)->options.unicode_xlate; |
i_sb | 805 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 933 | fs/vfat/namei.c | if (!(*result = iget(dir->i_sb,ino))) return -EACCES; |
i_sb | 938 | fs/vfat/namei.c | if (!(*result = iget(dir->i_sb, ino))) |
i_sb | 948 | fs/vfat/namei.c | if (!(*result = iget(dir->i_sb,sinfo.ino))) { |
i_sb | 953 | fs/vfat/namei.c | if (!(*result)->i_sb || |
i_sb | 954 | fs/vfat/namei.c | ((*result)->i_sb->s_magic != MSDOS_SUPER_MAGIC)) { |
i_sb | 968 | fs/vfat/namei.c | if (!(*result = iget(next->i_sb,next->i_ino))) { |
i_sb | 969 | fs/vfat/namei.c | fat_fs_panic(dir->i_sb,"vfat_lookup: Can't happen"); |
i_sb | 982 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 1007 | fs/vfat/namei.c | if ((*result = iget(dir->i_sb,ino)) != NULL) |
i_sb | 1041 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 1062 | fs/vfat/namei.c | if ((dot = iget(dir->i_sb,ino)) != NULL) |
i_sb | 1085 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 1124 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 1154 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 1159 | fs/vfat/namei.c | if (!(inode = iget(dir->i_sb,ino))) return -ENOENT; |
i_sb | 1188 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 1190 | fs/vfat/namei.c | if (!(inode = iget(dir->i_sb,ino))) return -ENOENT; |
i_sb | 1212 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 1245 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 1288 | fs/vfat/namei.c | struct super_block *sb = dir->i_sb; |
i_sb | 1336 | fs/vfat/namei.c | fat_fs_panic(dir->i_sb,"rmdir in mkdir failed"); |
i_sb | 1355 | fs/vfat/namei.c | struct super_block *sb = old_dir->i_sb; |
i_sb | 1384 | fs/vfat/namei.c | if (!(old_inode = iget(old_dir->i_sb,old_ino))) goto rename_done; |
i_sb | 1392 | fs/vfat/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
i_sb | 1405 | fs/vfat/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) { |
i_sb | 1426 | fs/vfat/namei.c | if (!(new_inode = iget(new_dir->i_sb,res))) |
i_sb | 1465 | fs/vfat/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) goto rename_done; |
i_sb | 1506 | fs/vfat/namei.c | if (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) { |
i_sb | 287 | fs/xiafs/bitmap.c | || inode->i_nlink || !inode->i_sb || inode->i_ino < 3 |
i_sb | 288 | fs/xiafs/bitmap.c | || inode->i_ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
i_sb | 292 | fs/xiafs/bitmap.c | sb = inode->i_sb; |
i_sb | 312 | fs/xiafs/bitmap.c | sb = dir->i_sb; |
i_sb | 315 | fs/xiafs/bitmap.c | inode->i_sb = sb; |
i_sb | 316 | fs/xiafs/bitmap.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 333 | fs/xiafs/bitmap.c | inode->i_blksize = XIAFS_ZSIZE(inode->i_sb); |
i_sb | 75 | fs/xiafs/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
i_sb | 77 | fs/xiafs/dir.c | if (inode->i_size & (XIAFS_ZSIZE(inode->i_sb) - 1) ) |
i_sb | 80 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
i_sb | 81 | fs/xiafs/dir.c | bh = xiafs_bread(inode, filp->f_pos >> XIAFS_ZSIZE_BITS(inode->i_sb),0); |
i_sb | 83 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
i_sb | 86 | fs/xiafs/dir.c | for (i = 0; i < XIAFS_ZSIZE(inode->i_sb) && i < offset; ) { |
i_sb | 95 | fs/xiafs/dir.c | while (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
i_sb | 96 | fs/xiafs/dir.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
i_sb | 98 | fs/xiafs/dir.c | (char *)de+de->d_rec_len > XIAFS_ZSIZE(inode->i_sb)+bh->b_data || |
i_sb | 121 | fs/xiafs/dir.c | if (offset > XIAFS_ZSIZE(inode->i_sb)) { |
i_sb | 97 | fs/xiafs/file.c | zone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 98 | fs/xiafs/file.c | offset &= XIAFS_ZSIZE(inode->i_sb) -1 ; |
i_sb | 99 | fs/xiafs/file.c | f_zones =(inode->i_size+XIAFS_ZSIZE(inode->i_sb)-1)>>XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 100 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 103 | fs/xiafs/file.c | if(zones < read_ahead[MAJOR(inode->i_dev)] >> (1+XIAFS_ZSHIFT(inode->i_sb))) |
i_sb | 104 | fs/xiafs/file.c | zones = read_ahead[MAJOR(inode->i_dev)] >> (1+XIAFS_ZSHIFT(inode->i_sb)); |
i_sb | 155 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
i_sb | 158 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
i_sb | 218 | fs/xiafs/file.c | bh = xiafs_getblk(inode, pos >> XIAFS_ZSIZE_BITS(inode->i_sb), 1); |
i_sb | 224 | fs/xiafs/file.c | c = XIAFS_ZSIZE(inode->i_sb) - (pos & (XIAFS_ZSIZE(inode->i_sb) - 1)); |
i_sb | 227 | fs/xiafs/file.c | if (c != XIAFS_ZSIZE(inode->i_sb) && !buffer_uptodate(bh)) { |
i_sb | 237 | fs/xiafs/file.c | cp = (pos & (XIAFS_ZSIZE(inode->i_sb)-1)) + bh->b_data; |
i_sb | 26 | fs/xiafs/fsync.c | #define blocksize (XIAFS_ZSIZE(inode->i_sb)) |
i_sb | 27 | fs/xiafs/fsync.c | #define addr_per_block (XIAFS_ADDRS_PER_Z(inode->i_sb)) |
i_sb | 203 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 214 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 217 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone); |
i_sb | 220 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
i_sb | 223 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), |
i_sb | 224 | fs/xiafs/inode.c | zone >> XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)); |
i_sb | 226 | fs/xiafs/inode.c | i= zone_bmap(bread(inode->i_dev,i, XIAFS_ZSIZE(inode->i_sb)), |
i_sb | 227 | fs/xiafs/inode.c | zone & (XIAFS_ADDRS_PER_Z(inode->i_sb)-1)); |
i_sb | 239 | fs/xiafs/inode.c | random_nr=(random_nr+23)%inode->i_sb->u.xiafs_sb.s_ndatazones; |
i_sb | 240 | fs/xiafs/inode.c | return random_nr + inode->i_sb->u.xiafs_sb.s_firstdatazone; |
i_sb | 251 | fs/xiafs/inode.c | result = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 259 | fs/xiafs/inode.c | tmp = xiafs_new_zone(inode->i_sb, prev_addr); |
i_sb | 262 | fs/xiafs/inode.c | result = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 264 | fs/xiafs/inode.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 269 | fs/xiafs/inode.c | inode->i_blocks+=2 << XIAFS_ZSHIFT(inode->i_sb); |
i_sb | 294 | fs/xiafs/inode.c | result = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 306 | fs/xiafs/inode.c | tmp = xiafs_new_zone(inode->i_sb, prev_addr); |
i_sb | 311 | fs/xiafs/inode.c | result = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 313 | fs/xiafs/inode.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 318 | fs/xiafs/inode.c | inode->i_blocks+=2 << XIAFS_ZSHIFT(inode->i_sb); |
i_sb | 333 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 343 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 348 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
i_sb | 350 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), |
i_sb | 352 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), |
i_sb | 382 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
i_sb | 386 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
i_sb | 387 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
i_sb | 388 | fs/xiafs/inode.c | (ino-1)/ XIAFS_INODES_PER_Z(inode->i_sb); |
i_sb | 389 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
i_sb | 394 | fs/xiafs/inode.c | ((ino-1) & (XIAFS_INODES_PER_Z(inode->i_sb) - 1)); |
i_sb | 403 | fs/xiafs/inode.c | inode->i_blksize = XIAFS_ZSIZE(inode->i_sb); |
i_sb | 443 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
i_sb | 448 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
i_sb | 449 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
i_sb | 450 | fs/xiafs/inode.c | (ino-1) / XIAFS_INODES_PER_Z(inode->i_sb); |
i_sb | 451 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
i_sb | 457 | fs/xiafs/inode.c | ((ino-1) & (XIAFS_INODES_PER_Z(inode->i_sb) -1)); |
i_sb | 71 | fs/xiafs/namei.c | if (inode->i_size & (XIAFS_ZSIZE(inode->i_sb) - 1)) { |
i_sb | 75 | fs/xiafs/namei.c | zones=inode->i_size >> XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 88 | fs/xiafs/namei.c | while ( pos < XIAFS_ZSIZE(inode->i_sb) ) { |
i_sb | 89 | fs/xiafs/namei.c | if (dep->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
i_sb | 91 | fs/xiafs/namei.c | dep->d_rec_len+(char *)dep > bh->b_data+XIAFS_ZSIZE(inode->i_sb) || |
i_sb | 108 | fs/xiafs/namei.c | if (pos > XIAFS_ZSIZE(inode->i_sb)) { |
i_sb | 136 | fs/xiafs/namei.c | if (!(*result = iget(dir->i_sb, ino))) { |
i_sb | 166 | fs/xiafs/namei.c | if (dir->i_size & (XIAFS_ZSIZE(dir->i_sb) - 1)) { |
i_sb | 172 | fs/xiafs/namei.c | bh = xiafs_bread(dir, pos >> XIAFS_ZSIZE_BITS(dir->i_sb), pos ? 1:0); |
i_sb | 187 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(dir->i_sb)) { |
i_sb | 192 | fs/xiafs/namei.c | de->d_rec_len=XIAFS_ZSIZE(dir->i_sb); |
i_sb | 193 | fs/xiafs/namei.c | dir->i_size += XIAFS_ZSIZE(dir->i_sb); |
i_sb | 196 | fs/xiafs/namei.c | if (de->d_ino > dir->i_sb->u.xiafs_sb.s_ninodes || |
i_sb | 198 | fs/xiafs/namei.c | (char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(dir->i_sb) || |
i_sb | 236 | fs/xiafs/namei.c | if (offset > XIAFS_ZSIZE(dir->i_sb)) { |
i_sb | 240 | fs/xiafs/namei.c | pos+=XIAFS_ZSIZE(dir->i_sb); |
i_sb | 358 | 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 | 551 | 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, 0); /* don't cross mnt-points */ |
i_sb | 740 | fs/xiafs/namei.c | new_inode = __iget(new_dir->i_sb, new_de->d_ino, 0); |
i_sb | 35 | fs/xiafs/truncate.c | #define DT_ZONE ((inode->i_size + XIAFS_ZSIZE(inode->i_sb) - 1) \ |
i_sb | 36 | fs/xiafs/truncate.c | >> XIAFS_ZSIZE_BITS(inode->i_sb) ) |
i_sb | 52 | fs/xiafs/truncate.c | bh = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 62 | fs/xiafs/truncate.c | inode->i_blocks-=2 << XIAFS_ZSHIFT(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 | inode->i_blocks-= 2 << XIAFS_ZSHIFT(inode->i_sb); |
i_sb | 109 | fs/xiafs/truncate.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 114 | fs/xiafs/truncate.c | for (i = 0; i < XIAFS_ADDRS_PER_Z(inode->i_sb) && !(*indp++); i++) ; |
i_sb | 115 | fs/xiafs/truncate.c | if (i >= XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 121 | fs/xiafs/truncate.c | inode->i_blocks-= 2 << XIAFS_ZSHIFT(inode->i_sb); |
i_sb | 122 | fs/xiafs/truncate.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 133 | fs/xiafs/truncate.c | ((DT_ZONE-XIAFS_ADDRS_PER_Z(inode->i_sb)-8)>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)) |
i_sb | 143 | fs/xiafs/truncate.c | dind_bh = bread(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 153 | fs/xiafs/truncate.c | for (i=DINDT_ZONE<0?0:DINDT_ZONE ; i < XIAFS_ADDRS_PER_Z(inode->i_sb) ; i ++) { |
i_sb | 158 | fs/xiafs/truncate.c | 8+((1+i)<<XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)), |
i_sb | 163 | fs/xiafs/truncate.c | for (i = 0; i < XIAFS_ADDRS_PER_Z(inode->i_sb) && !(*dindp++); i++); |
i_sb | 164 | fs/xiafs/truncate.c | if (i >= XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 171 | fs/xiafs/truncate.c | inode->i_blocks-=2 << XIAFS_ZSHIFT(inode->i_sb); |
i_sb | 172 | fs/xiafs/truncate.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 95 | include/linux/fs.h | #define IS_RDONLY(inode) (((inode)->i_sb) && ((inode)->i_sb->s_flags & MS_RDONLY)) |
i_sb | 282 | include/linux/fs.h | struct super_block *i_sb; |
i_sb | 123 | include/linux/iso_fs.h | #define ISOFS_BUFFER_SIZE(INODE) ((INODE)->i_sb->s_blocksize) |
i_sb | 124 | include/linux/iso_fs.h | #define ISOFS_BUFFER_BITS(INODE) ((INODE)->i_sb->s_blocksize_bits) |
i_sb | 34 | include/linux/minix_fs.h | #define INODE_VERSION(inode) inode->i_sb->u.minix_sb.s_version |
i_sb | 75 | include/linux/ncp_fs.h | #define NCP_SERVER(inode) NCP_SBP((inode)->i_sb) |
i_sb | 44 | include/linux/nfs_fs.h | #define NFS_SERVER(inode) (&(inode)->i_sb->u.nfs_sb.s_server) |
i_sb | 45 | include/linux/smb_fs.h | #define SMB_SERVER(inode) (&(SMB_SBP(inode->i_sb)->s_server)) |
i_sb | 46 | include/linux/smb_fs.h | #define SMB_SERVATTR(inode) (&(SMB_SBP(inode->i_sb)->s_attr)) |
i_sb | 775 | mm/filemap.c | if (vma->vm_offset & (inode->i_sb->s_blocksize - 1)) |
i_sb | 778 | mm/filemap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_sb | 103 | mm/page_io.c | << (PAGE_SHIFT - swapf->i_sb->s_blocksize_bits); |
i_sb | 105 | mm/page_io.c | for (i=0, j=0; j< PAGE_SIZE ; i++, j +=swapf->i_sb->s_blocksize) |