tag | line | file | source code |
i_sb | 624 | fs/exec.c | if (!bprm.inode->i_sb) { |
i_sb | 819 | fs/exec.c | (fd_offset < bprm->inode->i_sb->s_blocksize)) { |
i_sb | 935 | fs/exec.c | (N_TXTOFF(ex) < inode->i_sb->s_blocksize)) { |
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 | 239 | fs/ext/inode.c | tmp = ext_new_block(inode->i_sb); |
i_sb | 244 | fs/ext/inode.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 287 | fs/ext/inode.c | tmp = ext_new_block(inode->i_sb); |
i_sb | 294 | fs/ext/inode.c | ext_free_block(inode->i_sb,tmp); |
i_sb | 169 | fs/ext/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 536 | fs/ext/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 589 | fs/ext/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 780 | fs/ext/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
i_sb | 790 | 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 | 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 directory entry: %s\n" |
i_sb | 112 | fs/ext2/dir.c | sb = inode->i_sb; |
i_sb | 97 | fs/ext2/file.c | sb = inode->i_sb; |
i_sb | 248 | 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 | 166 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) / |
i_sb | 167 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 168 | fs/ext2/ialloc.c | bh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize); |
i_sb | 170 | fs/ext2/ialloc.c | ext2_panic (inode->i_sb, "set_inode_dtime", |
i_sb | 176 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) % |
i_sb | 177 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 215 | fs/ext2/ialloc.c | if (!inode->i_sb) { |
i_sb | 222 | fs/ext2/ialloc.c | sb = inode->i_sb; |
i_sb | 274 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) / |
i_sb | 275 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 276 | fs/ext2/ialloc.c | bh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize); |
i_sb | 278 | fs/ext2/ialloc.c | ext2_error (inode->i_sb, "inc_inode_version", |
i_sb | 287 | fs/ext2/ialloc.c | EXT2_INODES_PER_GROUP(inode->i_sb)) % |
i_sb | 288 | fs/ext2/ialloc.c | EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 319 | fs/ext2/ialloc.c | sb = dir->i_sb; |
i_sb | 320 | fs/ext2/ialloc.c | inode->i_sb = sb; |
i_sb | 449 | fs/ext2/ialloc.c | inode->i_sb = sb; |
i_sb | 66 | fs/ext2/inode.c | ext2_free_blocks (inode->i_sb, |
i_sb | 81 | fs/ext2/inode.c | wait_on_super (inode->i_sb); |
i_sb | 96 | fs/ext2/inode.c | if (!(bh = getblk (inode->i_sb->s_dev, result, |
i_sb | 97 | fs/ext2/inode.c | inode->i_sb->s_blocksize))) { |
i_sb | 98 | fs/ext2/inode.c | ext2_error (inode->i_sb, "ext2_alloc_block", |
i_sb | 102 | fs/ext2/inode.c | memset(bh->b_data, 0, inode->i_sb->s_blocksize); |
i_sb | 112 | fs/ext2/inode.c | (inode->i_sb, goal, |
i_sb | 116 | fs/ext2/inode.c | result = ext2_new_block (inode->i_sb, goal, 0, 0); |
i_sb | 119 | fs/ext2/inode.c | result = ext2_new_block (inode->i_sb, goal, 0, 0); |
i_sb | 129 | fs/ext2/inode.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 132 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_bmap", "block < 0"); |
i_sb | 138 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_bmap", "block > big"); |
i_sb | 149 | fs/ext2/inode.c | inode->i_sb->s_blocksize), block); |
i_sb | 157 | fs/ext2/inode.c | inode->i_sb->s_blocksize), |
i_sb | 162 | fs/ext2/inode.c | inode->i_sb->s_blocksize), |
i_sb | 169 | fs/ext2/inode.c | i = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize), |
i_sb | 173 | fs/ext2/inode.c | i = block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize), |
i_sb | 177 | fs/ext2/inode.c | return block_bmap (bread (inode->i_dev, i, inode->i_sb->s_blocksize), |
i_sb | 187 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 193 | fs/ext2/inode.c | result = getblk (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 201 | fs/ext2/inode.c | EXT2_BLOCK_SIZE_BITS(inode->i_sb))) { |
i_sb | 219 | fs/ext2/inode.c | EXT2_BLOCKS_PER_GROUP(inode->i_sb)) + |
i_sb | 220 | fs/ext2/inode.c | inode->i_sb->u.ext2_sb.s_es->s_first_data_block; |
i_sb | 228 | fs/ext2/inode.c | result = getblk (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 230 | fs/ext2/inode.c | ext2_free_blocks (inode->i_sb, tmp, 1); |
i_sb | 254 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 280 | fs/ext2/inode.c | EXT2_BLOCK_SIZE_BITS(inode->i_sb))) { |
i_sb | 304 | fs/ext2/inode.c | ext2_free_blocks (inode->i_sb, tmp, 1); |
i_sb | 336 | fs/ext2/inode.c | if(nr % (PAGE_SIZE / inode->i_sb->s_blocksize) != 0) goto out; |
i_sb | 337 | fs/ext2/inode.c | if(nr + 3 > EXT2_ADDR_PER_BLOCK(inode->i_sb)) goto out; |
i_sb | 339 | fs/ext2/inode.c | for(i=0; i< (PAGE_SIZE / inode->i_sb->s_blocksize); i++) { |
i_sb | 363 | fs/ext2/inode.c | unsigned long addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 367 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_getblk", "block < 0"); |
i_sb | 373 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_getblk", "block > big"); |
i_sb | 399 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
i_sb | 405 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
i_sb | 407 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
i_sb | 412 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
i_sb | 414 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
i_sb | 416 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
i_sb | 424 | fs/ext2/inode.c | unsigned long addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 429 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_getblk", "block < 0"); |
i_sb | 435 | fs/ext2/inode.c | ext2_warning (inode->i_sb, "ext2_getblk", "block > big"); |
i_sb | 448 | fs/ext2/inode.c | inode->i_sb->s_blocksize); |
i_sb | 454 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, &err); |
i_sb | 456 | fs/ext2/inode.c | inode->i_sb->s_blocksize); |
i_sb | 461 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
i_sb | 463 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
i_sb | 465 | fs/ext2/inode.c | inode->i_sb->s_blocksize); |
i_sb | 497 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
i_sb | 498 | fs/ext2/inode.c | ext2_error (inode->i_sb, "ext2_read_inode", |
i_sb | 502 | fs/ext2/inode.c | block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); |
i_sb | 503 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
i_sb | 504 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_read_inode", |
i_sb | 506 | fs/ext2/inode.c | group_desc = block_group / EXT2_DESC_PER_BLOCK(inode->i_sb); |
i_sb | 507 | fs/ext2/inode.c | desc = block_group % EXT2_DESC_PER_BLOCK(inode->i_sb); |
i_sb | 508 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
i_sb | 510 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_read_inode", |
i_sb | 514 | fs/ext2/inode.c | (((inode->i_ino - 1) % EXT2_INODES_PER_GROUP(inode->i_sb)) |
i_sb | 515 | fs/ext2/inode.c | / EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 516 | fs/ext2/inode.c | if (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize))) |
i_sb | 517 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_read_inode", |
i_sb | 521 | fs/ext2/inode.c | (inode->i_ino - 1) % EXT2_INODES_PER_BLOCK(inode->i_sb); |
i_sb | 531 | fs/ext2/inode.c | inode->i_blksize = inode->i_sb->s_blocksize; |
i_sb | 546 | fs/ext2/inode.c | ext2_error (inode->i_sb, "ext2_read_inode", |
i_sb | 588 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
i_sb | 589 | fs/ext2/inode.c | ext2_error (inode->i_sb, "ext2_write_inode", |
i_sb | 593 | fs/ext2/inode.c | block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); |
i_sb | 594 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
i_sb | 595 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_write_inode", |
i_sb | 597 | fs/ext2/inode.c | group_desc = block_group / EXT2_DESC_PER_BLOCK(inode->i_sb); |
i_sb | 598 | fs/ext2/inode.c | desc = block_group % EXT2_DESC_PER_BLOCK(inode->i_sb); |
i_sb | 599 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
i_sb | 601 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_write_inode", |
i_sb | 605 | fs/ext2/inode.c | (((inode->i_ino - 1) % EXT2_INODES_PER_GROUP(inode->i_sb)) |
i_sb | 606 | fs/ext2/inode.c | / EXT2_INODES_PER_BLOCK(inode->i_sb)); |
i_sb | 607 | fs/ext2/inode.c | if (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize))) |
i_sb | 608 | fs/ext2/inode.c | ext2_panic (inode->i_sb, "ext2_write_inode", |
i_sb | 612 | fs/ext2/inode.c | (inode->i_ino - 1) % EXT2_INODES_PER_BLOCK(inode->i_sb); |
i_sb | 80 | fs/ext2/namei.c | sb = dir->i_sb; |
i_sb | 181 | fs/ext2/namei.c | if (!(*result = iget (dir->i_sb, ino))) { |
i_sb | 198 | fs/ext2/namei.c | if (!(*result = iget (dir->i_sb, ino))) { |
i_sb | 231 | fs/ext2/namei.c | sb = dir->i_sb; |
i_sb | 494 | fs/ext2/namei.c | inode->i_size = inode->i_sb->s_blocksize; |
i_sb | 503 | fs/ext2/namei.c | inode->i_blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 511 | fs/ext2/namei.c | de->rec_len = inode->i_sb->s_blocksize - EXT2_DIR_REC_LEN(1); |
i_sb | 556 | fs/ext2/namei.c | sb = inode->i_sb; |
i_sb | 559 | fs/ext2/namei.c | ext2_warning (inode->i_sb, "empty_dir", |
i_sb | 567 | fs/ext2/namei.c | ext2_warning (inode->i_sb, "empty_dir", |
i_sb | 615 | fs/ext2/namei.c | if (!(inode = iget (dir->i_sb, de->inode))) |
i_sb | 664 | fs/ext2/namei.c | ext2_warning (inode->i_sb, "ext2_rmdir", |
i_sb | 695 | fs/ext2/namei.c | if (!(inode = iget (dir->i_sb, de->inode))) |
i_sb | 714 | fs/ext2/namei.c | ext2_warning (inode->i_sb, "ext2_unlink", |
i_sb | 758 | fs/ext2/namei.c | for (l = 0; l < inode->i_sb->s_blocksize - 1 && |
i_sb | 781 | fs/ext2/namei.c | while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++))) |
i_sb | 946 | fs/ext2/namei.c | old_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
i_sb | 958 | fs/ext2/namei.c | new_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */ |
i_sb | 1090 | fs/ext2/namei.c | while (old_dir->i_sb->u.ext2_sb.s_rename_lock) |
i_sb | 1091 | fs/ext2/namei.c | sleep_on (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
i_sb | 1092 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 1; |
i_sb | 1095 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 0; |
i_sb | 1096 | fs/ext2/namei.c | wake_up (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
i_sb | 106 | fs/ext2/symlink.c | if (buflen > inode->i_sb->s_blocksize - 1) |
i_sb | 107 | fs/ext2/symlink.c | buflen = inode->i_sb->s_blocksize - 1; |
i_sb | 54 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 55 | fs/ext2/truncate.c | #define DIRECT_BLOCK ((inode->i_size + inode->i_sb->s_blocksize - 1) / \ |
i_sb | 56 | fs/ext2/truncate.c | inode->i_sb->s_blocksize) |
i_sb | 67 | fs/ext2/truncate.c | inode->i_sb->s_blocksize); |
i_sb | 70 | fs/ext2/truncate.c | inode->i_sb->s_blocksize); |
i_sb | 84 | fs/ext2/truncate.c | memset(bh->b_data, RANDOM_INT, inode->i_sb->s_blocksize); |
i_sb | 94 | fs/ext2/truncate.c | ext2_free_blocks (inode->i_sb, block_to_free, free_count); |
i_sb | 101 | fs/ext2/truncate.c | ext2_free_blocks (inode->i_sb, block_to_free, free_count); |
i_sb | 114 | fs/ext2/truncate.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 115 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 122 | fs/ext2/truncate.c | ind_bh = bread (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 143 | fs/ext2/truncate.c | inode->i_sb->s_blocksize); |
i_sb | 146 | fs/ext2/truncate.c | inode->i_sb->s_blocksize); |
i_sb | 159 | fs/ext2/truncate.c | memset(bh->b_data, RANDOM_INT, inode->i_sb->s_blocksize); |
i_sb | 169 | fs/ext2/truncate.c | ext2_free_blocks (inode->i_sb, block_to_free, free_count); |
i_sb | 178 | fs/ext2/truncate.c | ext2_free_blocks (inode->i_sb, block_to_free, free_count); |
i_sb | 191 | fs/ext2/truncate.c | ext2_free_blocks (inode->i_sb, tmp, 1); |
i_sb | 208 | fs/ext2/truncate.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 209 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 216 | fs/ext2/truncate.c | dind_bh = bread (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 251 | fs/ext2/truncate.c | ext2_free_blocks (inode->i_sb, tmp, 1); |
i_sb | 267 | fs/ext2/truncate.c | int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); |
i_sb | 268 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
i_sb | 277 | fs/ext2/truncate.c | tind_bh = bread (inode->i_dev, tmp, inode->i_sb->s_blocksize); |
i_sb | 310 | fs/ext2/truncate.c | ext2_free_blocks (inode->i_sb, tmp, 1); |
i_sb | 336 | fs/ext2/truncate.c | EXT2_ADDR_PER_BLOCK(inode->i_sb), |
i_sb | 623 | fs/hpfs/hpfs_fs.c | struct super_block *s = inode->i_sb; |
i_sb | 631 | fs/hpfs/hpfs_fs.c | || ino_secno(inode->i_ino) >= inode->i_sb->s_hpfs_fs_size) { |
i_sb | 1154 | fs/hpfs/hpfs_fs.c | if (!(inode = iget(dir->i_sb, ino))) |
i_sb | 1341 | fs/hpfs/hpfs_fs.c | || inode->i_sb == 0 |
i_sb | 1345 | fs/hpfs/hpfs_fs.c | lc = inode->i_sb->s_hpfs_lowercase; |
i_sb | 219 | fs/inode.c | if (!inode->i_sb || !inode->i_sb->s_op || !inode->i_sb->s_op->write_inode) { |
i_sb | 224 | fs/inode.c | inode->i_sb->s_op->write_inode(inode); |
i_sb | 231 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->read_inode) |
i_sb | 232 | fs/inode.c | inode->i_sb->s_op->read_inode(inode); |
i_sb | 311 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && |
i_sb | 312 | fs/inode.c | inode->i_sb->s_op->notify_change) |
i_sb | 313 | fs/inode.c | return inode->i_sb->s_op->notify_change(inode, attr); |
i_sb | 398 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->put_inode) { |
i_sb | 399 | fs/inode.c | inode->i_sb->s_op->put_inode(inode); |
i_sb | 523 | 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 | 161 | fs/isofs/dir.c | if((inode->i_sb->u.isofs_sb.s_firstdatazone) != inode->i_ino) |
i_sb | 183 | fs/isofs/dir.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
i_sb | 206 | fs/isofs/dir.c | if(inode->i_sb->u.isofs_sb.s_mapping == 'n') { |
i_sb | 368 | fs/isofs/inode.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
i_sb | 415 | fs/isofs/inode.c | inode->i_uid = inode->i_sb->u.isofs_sb.s_uid; |
i_sb | 416 | fs/isofs/inode.c | inode->i_gid = inode->i_sb->u.isofs_sb.s_gid; |
i_sb | 422 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft == 'n') { |
i_sb | 424 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
i_sb | 431 | fs/isofs/inode.c | if(inode->i_sb->u.isofs_sb.s_cruft == 'y' && |
i_sb | 467 | fs/isofs/inode.c | << inode -> i_sb -> u.isofs_sb.s_log_zone_size; |
i_sb | 470 | fs/isofs/inode.c | switch (inode->i_sb->u.isofs_sb.s_conversion){ |
i_sb | 500 | fs/isofs/inode.c | if (inode->i_sb->u.isofs_sb.s_cruft == 'n' && |
i_sb | 503 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
i_sb | 506 | fs/isofs/inode.c | if (inode->i_sb->u.isofs_sb.s_cruft != 'y' && |
i_sb | 144 | fs/isofs/namei.c | dir->i_sb->s_firstdatazone, |
i_sb | 147 | fs/isofs/namei.c | if((dir->i_sb->u.isofs_sb.s_firstdatazone) != dir->i_ino) |
i_sb | 155 | fs/isofs/namei.c | high_sierra = dir->i_sb->u.isofs_sb.s_high_sierra; |
i_sb | 171 | fs/isofs/namei.c | if(dir->i_sb->u.isofs_sb.s_mapping == 'n') { |
i_sb | 251 | fs/isofs/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 262 | 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 | 362 | fs/isofs/rock.c | inode -> i_sb -> u.isofs_sb.s_log_zone_size; |
i_sb | 363 | fs/isofs/rock.c | reloc = iget(inode->i_sb, inode->u.isofs_i.i_first_extent); |
i_sb | 408 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) |
i_sb | 140 | fs/minix/bitmap.c | if (!inode->i_sb) { |
i_sb | 144 | fs/minix/bitmap.c | if (inode->i_ino < 1 || inode->i_ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 149 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) { |
i_sb | 168 | fs/minix/bitmap.c | sb = dir->i_sb; |
i_sb | 169 | fs/minix/bitmap.c | inode->i_sb = sb; |
i_sb | 170 | fs/minix/bitmap.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 173 | fs/minix/bitmap.c | if ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL) |
i_sb | 187 | fs/minix/bitmap.c | if (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 70 | fs/minix/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
i_sb | 72 | fs/minix/dir.c | info = &inode->i_sb->u.minix_sb; |
i_sb | 293 | fs/minix/inode.c | tmp = minix_new_block(inode->i_sb); |
i_sb | 298 | fs/minix/inode.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 341 | fs/minix/inode.c | tmp = minix_new_block(inode->i_sb); |
i_sb | 348 | fs/minix/inode.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 407 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 412 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
i_sb | 413 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
i_sb | 455 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 461 | 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 | 310 | fs/minix/namei.c | if (!dir || !dir->i_sb) { |
i_sb | 314 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
i_sb | 380 | fs/minix/namei.c | if (!inode || !inode->i_sb) |
i_sb | 382 | fs/minix/namei.c | info = &inode->i_sb->u.minix_sb; |
i_sb | 441 | fs/minix/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 498 | fs/minix/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 680 | fs/minix/namei.c | info = &old_dir->i_sb->u.minix_sb; |
i_sb | 697 | fs/minix/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
i_sb | 707 | fs/minix/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
i_sb | 52 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 101 | 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 | 160 | fs/minix/truncate.c | minix_free_block(inode->i_sb,tmp); |
i_sb | 228 | fs/msdos/fat.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
i_sb | 241 | fs/msdos/fat.c | sb = MSDOS_SB(inode->i_sb); |
i_sb | 265 | fs/msdos/fat.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
i_sb | 272 | fs/msdos/fat.c | fat_access(inode->i_sb,last,MSDOS_SB(inode->i_sb)->fat_bits == |
i_sb | 278 | fs/msdos/fat.c | lock_fat(inode->i_sb); |
i_sb | 280 | fs/msdos/fat.c | if (!(nr = fat_access(inode->i_sb,nr,0))) { |
i_sb | 281 | fs/msdos/fat.c | fs_panic(inode->i_sb,"fat_free: deleting beyond EOF"); |
i_sb | 284 | fs/msdos/fat.c | if (MSDOS_SB(inode->i_sb)->free_clusters != -1) |
i_sb | 285 | fs/msdos/fat.c | MSDOS_SB(inode->i_sb)->free_clusters++; |
i_sb | 286 | fs/msdos/fat.c | inode->i_blocks -= MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 288 | fs/msdos/fat.c | unlock_fat(inode->i_sb); |
i_sb | 311 | fs/msdos/file.c | cluster = SECTOR_SIZE*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 39 | fs/msdos/inode.c | sb = inode->i_sb; |
i_sb | 311 | fs/msdos/inode.c | sb = MSDOS_SB(inode->i_sb); |
i_sb | 332 | fs/msdos/inode.c | inode->i_uid = MSDOS_SB(inode->i_sb)->fs_uid; |
i_sb | 333 | fs/msdos/inode.c | inode->i_gid = MSDOS_SB(inode->i_sb)->fs_gid; |
i_sb | 335 | fs/msdos/inode.c | inode->i_mode = (S_IRWXUGO & ~MSDOS_SB(inode->i_sb)->fs_umask) | |
i_sb | 340 | fs/msdos/inode.c | inode->i_size = MSDOS_SB(inode->i_sb)->dir_entries* |
i_sb | 342 | fs/msdos/inode.c | inode->i_blksize = MSDOS_SB(inode->i_sb)->cluster_size* |
i_sb | 345 | fs/msdos/inode.c | inode->i_blksize*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 360 | fs/msdos/inode.c | ~MSDOS_SB(inode->i_sb)->fs_umask) | S_IFDIR; |
i_sb | 375 | fs/msdos/inode.c | i_sb)->cluster_size; |
i_sb | 376 | fs/msdos/inode.c | if (!(nr = fat_access(inode->i_sb,nr,-1))) { |
i_sb | 385 | fs/msdos/inode.c | ? S_IRUGO|S_IWUGO : S_IRWXUGO) & ~MSDOS_SB(inode->i_sb)->fs_umask) | |
i_sb | 392 | fs/msdos/inode.c | MSDOS_I(inode)->i_binary = is_binary(MSDOS_SB(inode->i_sb)->conversion, |
i_sb | 396 | fs/msdos/inode.c | inode->i_blksize = MSDOS_SB(inode->i_sb)->cluster_size*SECTOR_SIZE; |
i_sb | 398 | fs/msdos/inode.c | inode->i_blksize*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 447 | fs/msdos/inode.c | (attr->ia_uid != MSDOS_SB(inode->i_sb)->fs_uid)) || |
i_sb | 449 | fs/msdos/inode.c | (attr->ia_gid != MSDOS_SB(inode->i_sb)->fs_gid)) || |
i_sb | 455 | fs/msdos/inode.c | return MSDOS_SB(inode->i_sb)->quiet ? 0 : error; |
i_sb | 465 | fs/msdos/inode.c | & ~MSDOS_SB(inode->i_sb)->fs_umask) | S_IRUSR) >> 6)*S_IXUGO)) & |
i_sb | 466 | fs/msdos/inode.c | ~MSDOS_SB(inode->i_sb)->fs_umask; |
i_sb | 116 | fs/msdos/misc.c | int cluster_size = MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 119 | fs/msdos/misc.c | if (!MSDOS_SB(inode->i_sb)->free_clusters) return -ENOSPC; |
i_sb | 120 | fs/msdos/misc.c | lock_fat(inode->i_sb); |
i_sb | 121 | fs/msdos/misc.c | limit = MSDOS_SB(inode->i_sb)->clusters; |
i_sb | 124 | fs/msdos/misc.c | nr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2; |
i_sb | 125 | fs/msdos/misc.c | if (fat_access(inode->i_sb,nr,-1) == 0) break; |
i_sb | 130 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->prev_free = (count+MSDOS_SB(inode->i_sb)-> |
i_sb | 133 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->free_clusters = 0; |
i_sb | 134 | fs/msdos/misc.c | unlock_fat(inode->i_sb); |
i_sb | 137 | fs/msdos/misc.c | fat_access(inode->i_sb,nr,MSDOS_SB(inode->i_sb)->fat_bits == 12 ? |
i_sb | 139 | fs/msdos/misc.c | if (MSDOS_SB(inode->i_sb)->free_clusters != -1) |
i_sb | 140 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->free_clusters--; |
i_sb | 141 | fs/msdos/misc.c | unlock_fat(inode->i_sb); |
i_sb | 143 | fs/msdos/misc.c | printk("set to %x\n",fat_access(inode->i_sb,nr,-1)); |
i_sb | 149 | fs/msdos/misc.c | if (!(current = fat_access(inode->i_sb, |
i_sb | 151 | fs/msdos/misc.c | fs_panic(inode->i_sb,"File without EOF"); |
i_sb | 158 | fs/msdos/misc.c | if (last) fat_access(inode->i_sb,last,nr); |
i_sb | 164 | fs/msdos/misc.c | if (last) printk("next set to %d\n",fat_access(inode->i_sb,last,-1)); |
i_sb | 166 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size; |
i_sb | 184 | fs/msdos/misc.c | fs_panic(inode->i_sb,"Odd directory size"); |
i_sb | 455 | fs/msdos/misc.c | if ((current = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,MSDOS_DOTDOT, |
i_sb | 462 | fs/msdos/misc.c | if ((prev = raw_scan(dir->i_sb,current,MSDOS_DOTDOT,&zero,NULL, |
i_sb | 467 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,¤t,&nr,NULL, |
i_sb | 489 | fs/msdos/misc.c | (void) raw_scan_root(dir->i_sb,NULL,&count,NULL,NULL,NULL); |
i_sb | 492 | fs/msdos/misc.c | else (void) raw_scan_nonroot(dir->i_sb,MSDOS_I(dir)->i_start, |
i_sb | 510 | fs/msdos/misc.c | res = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,name,NULL,ino, |
i_sb | 512 | fs/msdos/misc.c | else res = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,NULL,NULL,ino, |
i_sb | 88 | fs/msdos/mmap.c | if (vma->vm_offset & (inode->i_sb->s_blocksize - 1)) |
i_sb | 90 | fs/msdos/mmap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_sb | 101 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
i_sb | 132 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb,ino))) return -EACCES; |
i_sb | 144 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 158 | fs/msdos/namei.c | if (!(*result = iget(next->i_sb,next->i_ino))) { |
i_sb | 159 | fs/msdos/namei.c | fs_panic(dir->i_sb,"msdos_lookup: Can't happen"); |
i_sb | 198 | fs/msdos/namei.c | if ((*result = iget(dir->i_sb,ino)) != NULL) |
i_sb | 218 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
i_sb | 265 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
i_sb | 308 | fs/msdos/namei.c | fs_panic(dir->i_sb,"rmdir in mkdir failed"); |
i_sb | 353 | fs/msdos/namei.c | if (!(inode = iget(dir->i_sb,ino))) goto rmdir_done; |
i_sb | 391 | fs/msdos/namei.c | if (!(inode = iget(dir->i_sb,ino))) { |
i_sb | 440 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
i_sb | 466 | fs/msdos/namei.c | if (MSDOS_SB(old_dir->i_sb)->conversion == 'a') /* update binary info */ |
i_sb | 467 | fs/msdos/namei.c | if ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) { |
i_sb | 487 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
i_sb | 493 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
i_sb | 503 | fs/msdos/namei.c | if (!(old_inode = iget(old_dir->i_sb,old_ino))) { |
i_sb | 516 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
i_sb | 538 | fs/msdos/namei.c | if (!(free_inode = iget(new_dir->i_sb,free_ino))) { |
i_sb | 570 | fs/msdos/namei.c | if (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) { |
i_sb | 602 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(old_dir->i_sb)->name_check, |
i_sb | 604 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->name_check, |
i_sb | 172 | fs/namei.c | } else if ((sb = dir->i_sb) && (dir == sb->s_mounted)) { |
i_sb | 173 | fs/namei.c | sb = dir->i_sb; |
i_sb | 323 | fs/nfs/dir.c | if (!(*result = nfs_fhget(dir->i_sb, &fhandle, &fattr))) { |
i_sb | 357 | fs/nfs/dir.c | if (!(*result = nfs_fhget(dir->i_sb, &fhandle, &fattr))) { |
i_sb | 97 | fs/nfs/mmap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
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 | 115 | fs/proc/base.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 67 | fs/proc/fd.c | sb = dir->i_sb; |
i_sb | 152 | fs/proc/net.c | *result = iget(dir->i_sb, de->low_ino); |
i_sb | 128 | fs/proc/root.c | if (!(*result = iget(dir->i_sb,ino))) { |
i_sb | 391 | fs/super.c | if (!inode || !inode->i_sb || inode != inode->i_sb->s_mounted) { |
i_sb | 395 | fs/super.c | dev = inode->i_sb->s_dev; |
i_sb | 500 | fs/super.c | if (dir_i != dir_i->i_sb->s_mounted) { |
i_sb | 504 | fs/super.c | retval = do_remount_sb(dir_i->i_sb, flags, data); |
i_sb | 77 | fs/sysv/dir.c | if (!inode || !(sb = inode->i_sb) || !S_ISDIR(inode->i_mode)) |
i_sb | 107 | fs/sysv/dir.c | if (sde.inode > inode->i_sb->sv_ninodes) |
i_sb | 74 | fs/sysv/file.c | struct super_block * sb = inode->i_sb; |
i_sb | 199 | 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 | 112 | fs/sysv/ialloc.c | sb = dir->i_sb; |
i_sb | 113 | fs/sysv/ialloc.c | inode->i_sb = sb; |
i_sb | 114 | fs/sysv/ialloc.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 563 | fs/sysv/inode.c | struct super_block * sb = inode->i_sb; |
i_sb | 627 | fs/sysv/inode.c | sb = inode->i_sb; |
i_sb | 673 | fs/sysv/inode.c | sb = inode->i_sb; |
i_sb | 711 | fs/sysv/inode.c | struct super_block * sb = inode->i_sb; |
i_sb | 784 | fs/sysv/inode.c | struct super_block * sb = inode->i_sb; |
i_sb | 860 | fs/sysv/inode.c | if (inode->i_sb->sv_kludge_symlinks) |
i_sb | 871 | fs/sysv/inode.c | struct super_block * sb = inode->i_sb; |
i_sb | 72 | fs/sysv/mmap.c | if (vma->vm_offset & (inode->i_sb->s_blocksize - 1)) |
i_sb | 74 | fs/sysv/mmap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
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 | 312 | fs/sysv/namei.c | if (dir->i_nlink >= dir->i_sb->sv_link_max) { |
i_sb | 389 | fs/sysv/namei.c | sb = inode->i_sb; |
i_sb | 433 | fs/sysv/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 489 | fs/sysv/namei.c | if (!(inode = iget(dir->i_sb, de->inode))) |
i_sb | 554 | fs/sysv/namei.c | sb = inode->i_sb; |
i_sb | 600 | fs/sysv/namei.c | if (oldinode->i_nlink >= oldinode->i_sb->sv_link_max) { |
i_sb | 691 | fs/sysv/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
i_sb | 701 | fs/sysv/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
i_sb | 744 | fs/sysv/namei.c | if (!new_inode && new_dir->i_nlink >= new_dir->i_sb->sv_link_max) |
i_sb | 96 | fs/sysv/symlink.c | if (buflen > inode->i_sb->sv_block_size_1) |
i_sb | 97 | 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 | 212 | fs/sysv/truncate.c | sb = inode->i_sb; |
i_sb | 255 | fs/sysv/truncate.c | sb = inode->i_sb; |
i_sb | 70 | fs/umsdos/dir.c | put_fs_long(dir->i_sb->s_mounted->i_ino,&dirent->d_ino); |
i_sb | 78 | fs/umsdos/dir.c | || (dir != dir->i_sb->s_mounted && filp->f_pos == 32)){ |
i_sb | 277 | fs/umsdos/dir.c | if (inode->i_sb == dir->i_sb && !umsdos_isinit(inode)){ |
i_sb | 449 | fs/umsdos/dir.c | while (dir != dir->i_sb->s_mounted){ |
i_sb | 512 | fs/umsdos/dir.c | if (pseudo_root != NULL && dir == pseudo_root->i_sb->s_mounted){ |
i_sb | 535 | fs/umsdos/dir.c | && *result != dir->i_sb->s_mounted |
i_sb | 548 | fs/umsdos/dir.c | *result = dir->i_sb->s_mounted; |
i_sb | 635 | fs/umsdos/dir.c | dir = hlink->i_sb->s_mounted; |
i_sb | 116 | fs/umsdos/emd.c | ret = iget (dir->i_sb,dir->u.umsdos_i.i_emd_dir); |
i_sb | 221 | fs/umsdos/inode.c | struct inode *dir = *result = iget(inode->i_sb,ino); |
i_sb | 298 | fs/umsdos/inode.c | if (inode == inode->i_sb->s_mounted){ |
i_sb | 318 | fs/umsdos/inode.c | struct inode *emd_owner = iget (inode->i_sb,i_emd_owner); |
i_sb | 247 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.fs_uid = data.umsdos_dirent.uid; |
i_sb | 248 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.fs_gid = data.umsdos_dirent.gid; |
i_sb | 249 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.fs_umask = data.umsdos_dirent.mode; |
i_sb | 919 | fs/umsdos/namei.c | struct inode *hdir = iget(inode->i_sb |
i_sb | 38 | fs/umsdos/rdir.c | && dir->i_sb->s_mounted == pseudo_root->i_sb->s_mounted){ |
i_sb | 49 | fs/umsdos/rdir.c | && dir == dir->i_sb->s_mounted |
i_sb | 50 | fs/umsdos/rdir.c | && dir == pseudo_root->i_sb->s_mounted){ |
i_sb | 74 | fs/umsdos/rdir.c | && dir == dir->i_sb->s_mounted |
i_sb | 75 | fs/umsdos/rdir.c | && dir == pseudo_root->i_sb->s_mounted){ |
i_sb | 286 | fs/xiafs/bitmap.c | if (!inode->i_dev || inode->i_count!=1 || inode->i_nlink || !inode->i_sb || |
i_sb | 287 | fs/xiafs/bitmap.c | inode->i_ino < 3 || inode->i_ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
i_sb | 291 | fs/xiafs/bitmap.c | sb = inode->i_sb; |
i_sb | 311 | fs/xiafs/bitmap.c | sb = dir->i_sb; |
i_sb | 314 | fs/xiafs/bitmap.c | inode->i_sb = sb; |
i_sb | 315 | fs/xiafs/bitmap.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 332 | 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 | 81 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
i_sb | 82 | fs/xiafs/dir.c | bh = xiafs_bread(inode, filp->f_pos >> XIAFS_ZSIZE_BITS(inode->i_sb),0); |
i_sb | 84 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
i_sb | 87 | fs/xiafs/dir.c | for (i = 0; i < XIAFS_ZSIZE(inode->i_sb) && i < offset; ) { |
i_sb | 96 | fs/xiafs/dir.c | while (!ret && offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
i_sb | 97 | fs/xiafs/dir.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
i_sb | 99 | fs/xiafs/dir.c | (char *)de+de->d_rec_len > XIAFS_ZSIZE(inode->i_sb)+bh->b_data || |
i_sb | 125 | 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 | if(zones < read_ahead[MAJOR(inode->i_dev)] >> (1+XIAFS_ZSHIFT(inode->i_sb))) |
i_sb | 101 | fs/xiafs/file.c | zones = read_ahead[MAJOR(inode->i_dev)] >> (1+XIAFS_ZSHIFT(inode->i_sb)); |
i_sb | 152 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
i_sb | 155 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
i_sb | 215 | fs/xiafs/file.c | bh = xiafs_getblk(inode, pos >> XIAFS_ZSIZE_BITS(inode->i_sb), 1); |
i_sb | 221 | fs/xiafs/file.c | c = XIAFS_ZSIZE(inode->i_sb) - (pos & (XIAFS_ZSIZE(inode->i_sb) - 1)); |
i_sb | 224 | fs/xiafs/file.c | if (c != XIAFS_ZSIZE(inode->i_sb) && !bh->b_uptodate) { |
i_sb | 234 | 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 | 193 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 204 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 207 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone); |
i_sb | 210 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
i_sb | 213 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), |
i_sb | 214 | fs/xiafs/inode.c | zone >> XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)); |
i_sb | 216 | fs/xiafs/inode.c | i= zone_bmap(bread(inode->i_dev,i, XIAFS_ZSIZE(inode->i_sb)), |
i_sb | 217 | fs/xiafs/inode.c | zone & (XIAFS_ADDRS_PER_Z(inode->i_sb)-1)); |
i_sb | 229 | fs/xiafs/inode.c | random_nr=(random_nr+23)%inode->i_sb->u.xiafs_sb.s_ndatazones; |
i_sb | 230 | fs/xiafs/inode.c | return random_nr + inode->i_sb->u.xiafs_sb.s_firstdatazone; |
i_sb | 241 | fs/xiafs/inode.c | result = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 249 | fs/xiafs/inode.c | tmp = xiafs_new_zone(inode->i_sb, prev_addr); |
i_sb | 252 | fs/xiafs/inode.c | result = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 254 | fs/xiafs/inode.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 259 | fs/xiafs/inode.c | inode->i_blocks+=2 << XIAFS_ZSHIFT(inode->i_sb); |
i_sb | 284 | fs/xiafs/inode.c | result = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 296 | fs/xiafs/inode.c | tmp = xiafs_new_zone(inode->i_sb, prev_addr); |
i_sb | 301 | fs/xiafs/inode.c | result = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb)); |
i_sb | 303 | fs/xiafs/inode.c | xiafs_free_zone(inode->i_sb, tmp); |
i_sb | 308 | fs/xiafs/inode.c | inode->i_blocks+=2 << XIAFS_ZSHIFT(inode->i_sb); |
i_sb | 323 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 333 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
i_sb | 338 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
i_sb | 340 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), |
i_sb | 342 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), |
i_sb | 372 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
i_sb | 376 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
i_sb | 377 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
i_sb | 378 | fs/xiafs/inode.c | (ino-1)/ XIAFS_INODES_PER_Z(inode->i_sb); |
i_sb | 379 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
i_sb | 384 | fs/xiafs/inode.c | ((ino-1) & (XIAFS_INODES_PER_Z(inode->i_sb) - 1)); |
i_sb | 393 | fs/xiafs/inode.c | inode->i_blksize = XIAFS_ZSIZE(inode->i_sb); |
i_sb | 433 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
i_sb | 438 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
i_sb | 439 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
i_sb | 440 | fs/xiafs/inode.c | (ino-1) / XIAFS_INODES_PER_Z(inode->i_sb); |
i_sb | 441 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
i_sb | 447 | 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 | 235 | fs/xiafs/namei.c | if (offset > XIAFS_ZSIZE(dir->i_sb)) { |
i_sb | 239 | fs/xiafs/namei.c | pos+=XIAFS_ZSIZE(dir->i_sb); |
i_sb | 357 | fs/xiafs/namei.c | inode->i_size = XIAFS_ZSIZE(dir->i_sb); |
i_sb | 376 | fs/xiafs/namei.c | de->d_rec_len=XIAFS_ZSIZE(dir->i_sb)-12; |
i_sb | 410 | fs/xiafs/namei.c | if (inode->i_size & (XIAFS_ZSIZE(inode->i_sb)-1) ) { |
i_sb | 415 | fs/xiafs/namei.c | zones=inode->i_size >> XIAFS_ZSIZE_BITS(inode->i_sb); |
i_sb | 442 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(inode->i_sb)) { |
i_sb | 444 | fs/xiafs/namei.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
i_sb | 446 | fs/xiafs/namei.c | (char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(inode->i_sb) || |
i_sb | 497 | fs/xiafs/namei.c | if (!(inode = iget(dir->i_sb, de->d_ino))) |
i_sb | 549 | fs/xiafs/namei.c | if (!(inode = iget(dir->i_sb, de->d_ino))) |
i_sb | 728 | fs/xiafs/namei.c | old_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */ |
i_sb | 738 | 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 | 220 | 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 | 45 | include/linux/nfs_fs.h | #define NFS_SERVER(inode) (&(inode)->i_sb->u.nfs_sb.s_server) |
i_sb | 40 | mm/filemap.c | block >>= inode->i_sb->s_blocksize_bits; |
i_sb | 41 | mm/filemap.c | i = PAGE_SIZE >> inode->i_sb->s_blocksize_bits; |
i_sb | 49 | mm/filemap.c | return bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, no_share); |
i_sb | 208 | mm/filemap.c | if (vma->vm_offset & (inode->i_sb->s_blocksize - 1)) |
i_sb | 210 | mm/filemap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_sb | 169 | mm/swap.c | << (12 - swapf->i_sb->s_blocksize_bits); |
i_sb | 171 | mm/swap.c | for (i=0, j=0; j< PAGE_SIZE ; i++, j +=swapf->i_sb->s_blocksize) |