tag | line | file | source code |
i_sb | 183 | fs/exec.c | if (!inode->i_sb || !S_ISREG(inode->i_mode) || !permission(inode,MAY_READ)) { |
i_sb | 187 | fs/exec.c | if (!(bh = bread(inode->i_dev,bmap(inode,0),inode->i_sb->s_blocksize))) { |
i_sb | 362 | fs/exec.c | if (inode->i_sb) |
i_sb | 363 | fs/exec.c | block_size = inode->i_sb->s_blocksize; |
i_sb | 422 | fs/exec.c | if (!inode->i_sb) { |
i_sb | 450 | fs/exec.c | if (!(bh = bread(inode->i_dev,bmap(inode,0),inode->i_sb->s_blocksize))) { |
i_sb | 175 | fs/ext/bitmap.c | if (!inode->i_sb) { |
i_sb | 179 | fs/ext/bitmap.c | if (inode->i_ino < 1 || inode->i_ino > inode->i_sb->s_ninodes) { |
i_sb | 183 | fs/ext/bitmap.c | if (!(bh=inode->i_sb->s_imap[inode->i_ino>>13])) { |
i_sb | 201 | fs/ext/bitmap.c | if (!(inode->i_sb = get_super(dev))) { |
i_sb | 206 | fs/ext/bitmap.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 209 | fs/ext/bitmap.c | if (bh=inode->i_sb->s_imap[i]) |
i_sb | 212 | fs/ext/bitmap.c | if (!bh || j >= 8192 || j+i*8192 > inode->i_sb->s_ninodes) { |
i_sb | 203 | fs/ext/freelists.c | if (!inode->i_sb) { |
i_sb | 207 | fs/ext/freelists.c | lock_super (inode->i_sb); |
i_sb | 208 | fs/ext/freelists.c | if (inode->i_ino < 1 || inode->i_ino > inode->i_sb->u.ext_sb.s_ninodes) { |
i_sb | 210 | fs/ext/freelists.c | free_super (inode->i_sb); |
i_sb | 213 | fs/ext/freelists.c | if (inode->i_sb->u.ext_sb.s_imap[1]) |
i_sb | 214 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) inode->i_sb->u.ext_sb.s_imap[1]->b_data) + |
i_sb | 215 | fs/ext/freelists.c | (((unsigned long) inode->i_sb->u.ext_sb.s_imap[0])-1)%EXT_INODES_PER_BLOCK; |
i_sb | 216 | fs/ext/freelists.c | if (!inode->i_sb->u.ext_sb.s_imap[1] || efi->count == 14) { |
i_sb | 220 | fs/ext/freelists.c | if (inode->i_sb->u.ext_sb.s_imap[1]) |
i_sb | 221 | fs/ext/freelists.c | brelse (inode->i_sb->u.ext_sb.s_imap[1]); |
i_sb | 223 | fs/ext/freelists.c | if (!(bh = bread(inode->i_dev, block, inode->i_sb->s_blocksize))) |
i_sb | 227 | fs/ext/freelists.c | efi->next = (unsigned long) inode->i_sb->u.ext_sb.s_imap[0]; |
i_sb | 229 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[0] = (struct buffer_head *) inode->i_ino; |
i_sb | 230 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[1] = bh; |
i_sb | 234 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[2] = (struct buffer_head *) (((unsigned long) inode->i_sb->u.ext_sb.s_imap[2]) + 1); |
i_sb | 235 | fs/ext/freelists.c | inode->i_sb->s_dirt = 1; |
i_sb | 236 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[1]->b_dirt = 1; |
i_sb | 237 | fs/ext/freelists.c | free_super (inode->i_sb); |
i_sb | 250 | fs/ext/freelists.c | if (!(inode->i_sb = get_super(dev))) { |
i_sb | 255 | fs/ext/freelists.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 256 | fs/ext/freelists.c | if (!inode->i_sb->u.ext_sb.s_imap[1]) |
i_sb | 258 | fs/ext/freelists.c | lock_super (inode->i_sb); |
i_sb | 259 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) inode->i_sb->u.ext_sb.s_imap[1]->b_data) + |
i_sb | 260 | fs/ext/freelists.c | (((unsigned long) inode->i_sb->u.ext_sb.s_imap[0])-1)%EXT_INODES_PER_BLOCK; |
i_sb | 263 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[1]->b_dirt = 1; |
i_sb | 268 | fs/ext/freelists.c | j = (unsigned long) inode->i_sb->u.ext_sb.s_imap[0]; |
i_sb | 269 | fs/ext/freelists.c | if (efi->next > inode->i_sb->u.ext_sb.s_ninodes) { |
i_sb | 273 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[0] = (struct buffer_head *) efi->next; |
i_sb | 275 | fs/ext/freelists.c | brelse (inode->i_sb->u.ext_sb.s_imap[1]); |
i_sb | 276 | fs/ext/freelists.c | if (!inode->i_sb->u.ext_sb.s_imap[0]) { |
i_sb | 277 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[1] = NULL; |
i_sb | 279 | fs/ext/freelists.c | if (!(inode->i_sb->u.ext_sb.s_imap[1] = bread (dev, block, inode->i_sb->s_blocksize))) |
i_sb | 283 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[2] = (struct buffer_head *) (((unsigned long) inode->i_sb->u.ext_sb.s_imap[2]) - 1); |
i_sb | 284 | fs/ext/freelists.c | inode->i_sb->s_dirt = 1; |
i_sb | 297 | fs/ext/freelists.c | free_super (inode->i_sb); |
i_sb | 345 | fs/ext/inode.c | block = 2 + inode->i_sb->u.ext_sb.s_imap_blocks + inode->i_sb->u.ext_sb.s_zmap_blocks + |
i_sb | 393 | fs/ext/inode.c | block = 2 + inode->i_sb->u.ext_sb.s_imap_blocks + inode->i_sb->u.ext_sb.s_zmap_blocks + |
i_sb | 46 | fs/inode.c | if (inode->i_dev && inode->i_sb && |
i_sb | 47 | fs/inode.c | inode->i_sb->s_op && inode->i_sb->s_op->write_inode) |
i_sb | 48 | fs/inode.c | inode->i_sb->s_op->write_inode(inode); |
i_sb | 55 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->read_inode) |
i_sb | 56 | fs/inode.c | inode->i_sb->s_op->read_inode(inode); |
i_sb | 137 | fs/inode.c | if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->put_inode) { |
i_sb | 138 | fs/inode.c | inode->i_sb->s_op->put_inode(inode); |
i_sb | 248 | fs/inode.c | if (!(inode->i_sb = get_super(dev))) { |
i_sb | 255 | fs/inode.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 163 | fs/minix/bitmap.c | if (!inode->i_sb) { |
i_sb | 167 | fs/minix/bitmap.c | if (inode->i_ino < 1 || inode->i_ino > inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 171 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[inode->i_ino>>13])) { |
i_sb | 189 | fs/minix/bitmap.c | if (!(inode->i_sb = get_super(dev))) { |
i_sb | 194 | fs/minix/bitmap.c | inode->i_flags = inode->i_sb->s_flags; |
i_sb | 197 | fs/minix/bitmap.c | if (bh=inode->i_sb->u.minix_sb.s_imap[i]) |
i_sb | 200 | fs/minix/bitmap.c | if (!bh || j >= 8192 || j+i*8192 > inode->i_sb->u.minix_sb.s_ninodes) { |
i_sb | 221 | 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 | 264 | 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 | 219 | fs/msdos/fat.c | if ((this = fat_access(inode->i_sb,this,-1)) == -1) return 0; |
i_sb | 232 | fs/msdos/fat.c | sb = MSDOS_SB(inode->i_sb); |
i_sb | 256 | fs/msdos/fat.c | if ((this = fat_access(inode->i_sb,this,-1)) == -1) |
i_sb | 264 | fs/msdos/fat.c | fat_access(inode->i_sb,last,MSDOS_SB(inode->i_sb)->fat_bits == |
i_sb | 271 | fs/msdos/fat.c | if (!(this = fat_access(inode->i_sb,this,0))) |
i_sb | 204 | fs/msdos/file.c | cluster = SECTOR_SIZE*MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 181 | fs/msdos/inode.c | sb = MSDOS_SB(inode->i_sb); |
i_sb | 204 | fs/msdos/inode.c | inode->i_uid = MSDOS_SB(inode->i_sb)->fs_uid; |
i_sb | 205 | fs/msdos/inode.c | inode->i_gid = MSDOS_SB(inode->i_sb)->fs_gid; |
i_sb | 207 | fs/msdos/inode.c | inode->i_mode = (0777 & ~MSDOS_SB(inode->i_sb)->fs_umask) | |
i_sb | 211 | fs/msdos/inode.c | inode->i_size = MSDOS_SB(inode->i_sb)->dir_entries* |
i_sb | 224 | fs/msdos/inode.c | ~MSDOS_SB(inode->i_sb)->fs_umask) | S_IFDIR; |
i_sb | 229 | fs/msdos/inode.c | fat_access(inode->i_sb,this,-1)) |
i_sb | 230 | fs/msdos/inode.c | inode->i_size += SECTOR_SIZE*MSDOS_SB(inode->i_sb)-> |
i_sb | 235 | fs/msdos/inode.c | ~MSDOS_SB(inode->i_sb)->fs_umask) | S_IFREG; |
i_sb | 236 | fs/msdos/inode.c | inode->i_op = MSDOS_CAN_BMAP(MSDOS_SB(inode->i_sb)) ? |
i_sb | 242 | fs/msdos/inode.c | inode->i_data[D_BINARY] = is_binary(MSDOS_SB(inode->i_sb)->conversion, |
i_sb | 72 | fs/msdos/misc.c | limit = MSDOS_SB(inode->i_sb)->clusters; |
i_sb | 76 | fs/msdos/misc.c | if (fat_access(inode->i_sb,this,-1) == 0) break; |
i_sb | 87 | fs/msdos/misc.c | fat_access(inode->i_sb,this,MSDOS_SB(inode->i_sb)->fat_bits == 12 ? |
i_sb | 92 | fs/msdos/misc.c | printk("set to %x\r\n",fat_access(inode->i_sb,this,-1)); |
i_sb | 96 | fs/msdos/misc.c | SECTOR_SIZE/MSDOS_SB(inode->i_sb)->cluster_size) : 0; |
i_sb | 103 | fs/msdos/misc.c | if (!(current = fat_access(inode->i_sb, |
i_sb | 111 | fs/msdos/misc.c | if (last) fat_access(inode->i_sb,last,this); |
i_sb | 117 | fs/msdos/misc.c | if (last) printk("next set to %d\r\n",fat_access(inode->i_sb,last,-1)); |
i_sb | 119 | fs/msdos/misc.c | for (current = 0; current < MSDOS_SB(inode->i_sb)->cluster_size; |
i_sb | 121 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(this-2)* |
i_sb | 122 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->cluster_size+current; |
i_sb | 126 | fs/msdos/misc.c | if (current < MSDOS_SB(inode->i_sb)->cluster_size-1 && |
i_sb | 149 | fs/msdos/misc.c | inode->i_size += SECTOR_SIZE*MSDOS_SB(inode->i_sb)-> |
i_sb | 347 | fs/msdos/misc.c | if ((current = raw_scan(dir->i_sb,dir->i_data[D_START],MSDOS_DOTDOT,0, |
i_sb | 354 | fs/msdos/misc.c | if ((prev = raw_scan(dir->i_sb,current,MSDOS_DOTDOT,0,NULL)) < |
i_sb | 359 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,current,&this)) < 0) { |
i_sb | 96 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
i_sb | 193 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
i_sb | 220 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
i_sb | 376 | fs/msdos/namei.c | if (MSDOS_SB(old_dir->i_sb)->conversion == 'a') /* update binary info */ |
i_sb | 497 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(old_dir->i_sb)->name_check, |
i_sb | 499 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->name_check, |
i_sb | 70 | fs/namei.c | else if ((sb = dir->i_sb) && (dir == sb->s_mounted)) { |
i_sb | 71 | fs/namei.c | sb = dir->i_sb; |
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 | 59 | fs/open.c | if (!inode->i_sb->s_op->statfs) |
i_sb | 61 | fs/open.c | inode->i_sb->s_op->statfs(inode->i_sb, buf); |
i_sb | 128 | include/linux/fs.h | struct super_block * i_sb; |