Home
last modified time | relevance | path

Searched refs:i_sb (Results 1 – 25 of 207) sorted by relevance

123456789

/linux-2.4.37.9/fs/hpfs/
Ddir.c30 struct super_block *s = i->i_sb; in hpfs_dir_lseek()
59 if (inode->i_sb->s_hpfs_chk) { in hpfs_readdir()
60 if (hpfs_chk_sectors(inode->i_sb, inode->i_ino, 1, "dir_fnode")) in hpfs_readdir()
62 if (hpfs_chk_sectors(inode->i_sb, inode->i_hpfs_dno, 4, "dir_dnode")) in hpfs_readdir()
65 if (inode->i_sb->s_hpfs_chk >= 2) { in hpfs_readdir()
69 if (!(fno = hpfs_map_fnode(inode->i_sb, inode->i_ino, &bh))) in hpfs_readdir()
73 hpfs_error(inode->i_sb, "not a directory, fnode %08x",inode->i_ino); in hpfs_readdir()
77 …hpfs_error(inode->i_sb, "corrupted inode: i_hpfs_dno == %08x, fnode -> dnode == %08x", inode->i_hp… in hpfs_readdir()
82 lc = inode->i_sb->s_hpfs_lowercase; in hpfs_readdir()
96 if (inode->i_sb->s_hpfs_chk) in hpfs_readdir()
[all …]
Dnamei.c28 if (!(fnode = hpfs_alloc_fnode(dir->i_sb, dir->i_hpfs_dno, &fno, &bh))) goto bail; in hpfs_mkdir()
29 if (!(dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0, 1))) goto bail1; in hpfs_mkdir()
36 dee.creation_date = dee.write_date = dee.read_date = gmt_to_local(dir->i_sb, CURRENT_TIME); in hpfs_mkdir()
43 hpfs_free_sectors(dir->i_sb, fno, 1); in hpfs_mkdir()
44 hpfs_free_dnode(dir->i_sb, dno); in hpfs_mkdir()
59 de = hpfs_add_de(dir->i_sb, dnode, "\001\001", 2, 0); in hpfs_mkdir()
60 de->creation_date = de->write_date = de->read_date = gmt_to_local(dir->i_sb, CURRENT_TIME); in hpfs_mkdir()
70 hpfs_lock_iget(dir->i_sb, 1); in hpfs_mkdir()
71 if ((result = iget(dir->i_sb, fno))) { in hpfs_mkdir()
73 result->i_ctime = result->i_mtime = result->i_atime = local_to_gmt(dir->i_sb, dee.creation_date); in hpfs_mkdir()
[all …]
Dinode.c61 struct super_block *sb = i->i_sb; in hpfs_read_inode()
92 if (!i->i_sb->s_hpfs_rd_inode) in hpfs_read_inode()
93 hpfs_error(i->i_sb, "read_inode: s_hpfs_rd_inode == 0"); in hpfs_read_inode()
94 if (i->i_sb->s_hpfs_rd_inode == 2) { in hpfs_read_inode()
111 if (i->i_sb->s_hpfs_eas) { in hpfs_read_inode()
112 if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) { in hpfs_read_inode()
119 if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) { in hpfs_read_inode()
126 if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) { in hpfs_read_inode()
137 if ((ea = hpfs_get_ea(i->i_sb, fnode, "MODE", &ea_size))) { in hpfs_read_inode()
147 if ((ea = hpfs_get_ea(i->i_sb, fnode, "DEV", &ea_size))) { in hpfs_read_inode()
[all …]
Ddnode.c238 hpfs_error(i->i_sb, "hpfs_add_to_dnode: namelen == %d", namelen); in hpfs_add_to_dnode()
243 if (!(d = hpfs_map_dnode(i->i_sb, dno, &qbh))) { in hpfs_add_to_dnode()
249 if (i->i_sb->s_hpfs_chk) in hpfs_add_to_dnode()
250 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "hpfs_add_to_dnode")) { in hpfs_add_to_dnode()
258 copy_de(de=hpfs_add_de(i->i_sb, d, name, namelen, down_ptr), new_de); in hpfs_add_to_dnode()
281 copy_de(de = hpfs_add_de(i->i_sb, nd, name, namelen, down_ptr), new_de); in hpfs_add_to_dnode()
284 if (!(ad = hpfs_alloc_dnode(i->i_sb, d->up, &adno, &qbh1, 0))) { in hpfs_add_to_dnode()
285 hpfs_error(i->i_sb, "unable to alloc dnode - dnode tree will be corrupted"); in hpfs_add_to_dnode()
295 copy_de(hpfs_add_de(i->i_sb, ad, de->name, de->namelen, de->down ? de_down_pointer(de) : 0), de); in hpfs_add_to_dnode()
303 set_last_pointer(i->i_sb, ad, de->down ? de_down_pointer(de) : 0); in hpfs_add_to_dnode()
[all …]
/linux-2.4.37.9/include/linux/
Dquotaops.h48 if (!inode->i_sb) in DQUOT_INIT()
51 if (sb_any_quota_enabled(inode->i_sb) && !IS_NOQUOTA(inode)) in DQUOT_INIT()
52 inode->i_sb->dq_op->initialize(inode, -1); in DQUOT_INIT()
60 if (!inode->i_sb) in DQUOT_DROP()
62 inode->i_sb->dq_op->drop(inode); /* Ops must be set when there's any quota... */ in DQUOT_DROP()
70 if (sb_any_quota_enabled(inode->i_sb)) { in DQUOT_PREALLOC_SPACE_NODIRTY()
72 if (inode->i_sb->dq_op->alloc_space(inode, nr, 1) == NO_QUOTA) { in DQUOT_PREALLOC_SPACE_NODIRTY()
94 if (sb_any_quota_enabled(inode->i_sb)) { in DQUOT_ALLOC_SPACE_NODIRTY()
96 if (inode->i_sb->dq_op->alloc_space(inode, nr, 0) == NO_QUOTA) { in DQUOT_ALLOC_SPACE_NODIRTY()
118 if (sb_any_quota_enabled(inode->i_sb)) { in DQUOT_ALLOC_INODE()
[all …]
Dext3_jbd.h22 #define EXT3_JOURNAL(inode) (EXT3_SB((inode)->i_sb)->s_journal)
201 if (inode->i_sb->s_flags & MS_RDONLY) in ext3_journal_start()
209 ext3_abort(inode->i_sb, __FUNCTION__, in ext3_journal_start()
220 if (inode->i_sb->s_flags & MS_RDONLY) in ext3_journal_try_start()
237 inode->i_sb->s_dirt = 1; in __ext3_journal_stop()
241 __ext3_std_error(inode->i_sb, where, err); in __ext3_journal_stop()
290 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA) in ext3_should_journal_data()
299 return (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_ORDERED_DATA); in ext3_should_order_data()
/linux-2.4.37.9/fs/udf/
Ddirectory.c44 if (*offset == dir->i_sb->s_blocksize) in udf_filead_read()
47 block = udf_get_lb_pblock(dir->i_sb, fe_loc, ++*pos); in udf_filead_read()
50 if (!(*bh = udf_tread(dir->i_sb, block))) in udf_filead_read()
53 else if (*offset > dir->i_sb->s_blocksize) in udf_filead_read()
57 remainder = dir->i_sb->s_blocksize - loffset; in udf_filead_read()
61 block = udf_get_lb_pblock(dir->i_sb, fe_loc, ++*pos); in udf_filead_read()
64 if (!((*bh) = udf_tread(dir->i_sb, block))) in udf_filead_read()
87 if (fibh->eoffset == dir->i_sb->s_blocksize) in udf_fileident_read()
97 block = udf_get_lb_pblock(dir->i_sb, *eloc, *offset); in udf_fileident_read()
101 if ((*offset << dir->i_sb->s_blocksize_bits) >= *elen) in udf_fileident_read()
[all …]
Dinode.c82 if (!(inode->i_sb->s_flags & MS_RDONLY)) in udf_put_inode()
175 if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_SHORT_AD)) in udf_expand_file_adinicb()
183 block = udf_get_lb_pblock(inode->i_sb, UDF_I_LOCATION(inode), 0); in udf_expand_file_adinicb()
184 bh = udf_tread(inode->i_sb, block); in udf_expand_file_adinicb()
204 if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_SHORT_AD)) in udf_expand_file_adinicb()
232 if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_SHORT_AD)) in udf_expand_dir_adinicb()
241 *block = udf_new_block(inode->i_sb, inode, in udf_expand_dir_adinicb()
247 newblock = udf_get_pblock(inode->i_sb, *block, in udf_expand_dir_adinicb()
251 sbh = udf_tread(inode->i_sb, inode->i_ino); in udf_expand_dir_adinicb()
254 dbh = udf_tgetblk(inode->i_sb, newblock); in udf_expand_dir_adinicb()
[all …]
Dtruncate.c39 int last_block = (elen + inode->i_sb->s_blocksize - 1) >> inode->i_sb->s_blocksize_bits; in extent_trunc()
40 int first_block = (nelen + inode->i_sb->s_blocksize - 1) >> inode->i_sb->s_blocksize_bits; in extent_trunc()
46 udf_free_blocks(inode->i_sb, inode, eloc, 0, last_block); in extent_trunc()
63 udf_free_blocks(inode->i_sb, inode, eloc, first_block, last_block - first_block); in extent_trunc()
73 int first_block = inode->i_size >> inode->i_sb->s_blocksize_bits; in udf_truncate_extents()
85 offset += (inode->i_size & (inode->i_sb->s_blocksize - 1)); in udf_truncate_extents()
114 udf_free_blocks(inode->i_sb, inode, bloc, 0, lelen); in udf_truncate_extents()
127 if (!UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_STRICT) || UDF_SB_UDFREV(inode->i_sb) >= 0x0201) in udf_truncate_extents()
141 lelen = (elen + inode->i_sb->s_blocksize - 1) >> in udf_truncate_extents()
142 inode->i_sb->s_blocksize_bits; in udf_truncate_extents()
[all …]
Ddir.c124 fibh.soffset = fibh.eoffset = (nf_pos & ((dir->i_sb->s_blocksize - 1) >> 2)) << 2; in do_udf_readdir()
125 if (inode_bmap(dir, nf_pos >> (dir->i_sb->s_blocksize_bits - 2), in do_udf_readdir()
128 offset >>= dir->i_sb->s_blocksize_bits; in do_udf_readdir()
129 block = udf_get_lb_pblock(dir->i_sb, eloc, offset); in do_udf_readdir()
130 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) in do_udf_readdir()
146 if (!(fibh.sbh = fibh.ebh = udf_tread(dir->i_sb, block))) in do_udf_readdir()
152 if (!(offset & ((16 >> (dir->i_sb->s_blocksize_bits - 9))-1))) in do_udf_readdir()
154 i = 16 >> (dir->i_sb->s_blocksize_bits - 9); in do_udf_readdir()
155 if (i+offset > (elen >> dir->i_sb->s_blocksize_bits)) in do_udf_readdir()
156 i = (elen >> dir->i_sb->s_blocksize_bits)-offset; in do_udf_readdir()
[all …]
Dnamei.c163 fibh->soffset = fibh->eoffset = (f_pos & ((dir->i_sb->s_blocksize - 1) >> 2)) << 2; in udf_find_entry()
164 if (inode_bmap(dir, f_pos >> (dir->i_sb->s_blocksize_bits - 2), in udf_find_entry()
167 offset >>= dir->i_sb->s_blocksize_bits; in udf_find_entry()
168 block = udf_get_lb_pblock(dir->i_sb, eloc, offset); in udf_find_entry()
169 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) in udf_find_entry()
185 if (!(fibh->sbh = fibh->ebh = udf_tread(dir->i_sb, block))) in udf_find_entry()
229 if ( !UDF_QUERY_FLAG(dir->i_sb, UDF_FLAG_UNDELETE) ) in udf_find_entry()
235 if ( !UDF_QUERY_FLAG(dir->i_sb, UDF_FLAG_UNHIDE) ) in udf_find_entry()
242 if ((flen = udf_get_filename(dir->i_sb, nameptr, fname, lfi))) in udf_find_entry()
305 inode = udf_iget(dir->i_sb, lb); in udf_lookup()
[all …]
Dfile.c60 block = udf_get_lb_pblock(inode->i_sb, UDF_I_LOCATION(inode), 0); in udf_adinicb_readpage()
61 bh = sb_bread(inode->i_sb, block); in udf_adinicb_readpage()
91 block = udf_get_lb_pblock(inode->i_sb, UDF_I_LOCATION(inode), 0); in udf_adinicb_writepage()
92 bh = sb_bread(inode->i_sb, block); in udf_adinicb_writepage()
124 block = udf_get_lb_pblock(inode->i_sb, UDF_I_LOCATION(inode), 0); in udf_adinicb_commit_write()
125 bh = sb_bread(inode->i_sb, block); in udf_adinicb_commit_write()
171 if (inode->i_sb->s_blocksize - udf_file_entry_alloc_offset(inode) < in udf_file_write()
260 UDF_SB_VOLIDENT(inode->i_sb), 32) ? -EFAULT : 0; in udf_ioctl()
267 if ((result = udf_relocate_blocks(inode->i_sb, in udf_ioctl()
276 bh = udf_tread(inode->i_sb, in udf_ioctl()
[all …]
Dialloc.c37 struct super_block * sb = inode->i_sb; in udf_free_inode()
79 sb = dir->i_sb; in udf_new_inode()
89 block = udf_new_block(dir->i_sb, NULL, UDF_I_LOCATION(dir).partitionReferenceNum, in udf_new_inode()
133 if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_EXTENDED_FE)) in udf_new_inode()
136 UDF_UPDATE_UDFREV(inode->i_sb, UDF_VERS_USE_EXTENDED_FE); in udf_new_inode()
140 if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_AD_IN_ICB)) in udf_new_inode()
142 else if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_SHORT_AD)) in udf_new_inode()
/linux-2.4.37.9/fs/reiserfs/
Dnamei.c280 if (namelen > REISERFS_MAX_NAME (dir->i_sb->s_blocksize)) in reiserfs_find_entry()
285 get_third_component (dir->i_sb, name, namelen), TYPE_DIRENTRY, 3); in reiserfs_find_entry()
288 retval = search_by_entry_key (dir->i_sb, &key_to_search, path_to_entry, de); in reiserfs_find_entry()
290 reiserfs_warning (dir->i_sb, "zam-7001: io error in %s\n", __FUNCTION__); in reiserfs_find_entry()
319 if (REISERFS_MAX_NAME (dir->i_sb->s_blocksize) < dentry->d_name.len) in reiserfs_lookup()
326 inode = reiserfs_iget (dir->i_sb, (struct cpu_key *)&(de.de_dir_id)); in reiserfs_lookup()
366 if (namelen > REISERFS_MAX_NAME (dir->i_sb->s_blocksize)) in reiserfs_add_entry()
371 get_third_component (dir->i_sb, name, namelen), TYPE_DIRENTRY, 3); in reiserfs_add_entry()
376 buffer = reiserfs_kmalloc (buflen, GFP_NOFS, dir->i_sb); in reiserfs_add_entry()
408 reiserfs_kfree (buffer, buflen, dir->i_sb); in reiserfs_add_entry()
[all …]
Dinode.c40 journal_begin(&th, inode->i_sb, jbegin_count) ; in reiserfs_delete_inode()
47 journal_end(&th, inode->i_sb, jbegin_count) ; in reiserfs_delete_inode()
109 struct reiserfs_journal *j = SB_JOURNAL(inode->i_sb) ; in add_to_flushlist()
198 block < (1 << (31 - inode->i_sb->s_blocksize_bits))) // old file, but 'block' is inside of 2gb in file_capable()
242 (loff_t)block * inode->i_sb->s_blocksize + 1, TYPE_ANY, 3); in _get_block_create_0()
245 if (search_for_position_by_key (inode->i_sb, &key, &path) != POSITION_FOUND) { in _get_block_create_0()
315 fs_gen = get_generation(inode->i_sb) ; in _get_block_create_0()
325 if (fs_changed (fs_gen, inode->i_sb) && item_moved (&tmp_ih, &path)) { in _get_block_create_0()
330 memset (p, 0, inode->i_sb->s_blocksize); in _get_block_create_0()
364 if (search_for_position_by_key (inode->i_sb, &key, &path) != POSITION_FOUND) in _get_block_create_0()
[all …]
/linux-2.4.37.9/fs/ext2/
Dinode.c44 (inode->i_sb->s_blocksize >> 9) : 0; in ext2_inode_is_fast_symlink()
189 int ptrs = EXT2_ADDR_PER_BLOCK(inode->i_sb); in ext2_block_to_path()
190 int ptrs_bits = EXT2_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext2_block_to_path()
197 ext2_warning (inode->i_sb, "ext2_block_to_path", "block < 0"); in ext2_block_to_path()
213 ext2_warning (inode->i_sb, "ext2_block_to_path", "block > big"); in ext2_block_to_path()
253 struct super_block *sb = inode->i_sb; in ext2_get_branch()
318 EXT2_BLOCKS_PER_GROUP(inode->i_sb)) + in ext2_find_near()
319 le32_to_cpu(inode->i_sb->u.ext2_sb.s_es->s_first_data_block); in ext2_find_near()
394 int blocksize = inode->i_sb->s_blocksize; in ext2_alloc_branch()
412 bh = sb_getblk(inode->i_sb, parent); in ext2_alloc_branch()
[all …]
/linux-2.4.37.9/fs/hfsplus/
Dsuper.c50 atomic_inc(&HFSPLUS_SB(inode->i_sb).inode_cnt); in hfsplus_read_inode()
51 hfsplus_inode_check(inode->i_sb); in hfsplus_read_inode()
55 hfsplus_find_init(HFSPLUS_SB(inode->i_sb).cat_tree, &fd); in hfsplus_read_inode()
56 err = hfsplus_find_cat(inode->i_sb, inode->i_ino, &fd); in hfsplus_read_inode()
64 vhdr = HFSPLUS_SB(inode->i_sb).s_vhdr; in hfsplus_read_inode()
105 vhdr = HFSPLUS_SB(inode->i_sb).s_vhdr; in hfsplus_write_inode()
112 HFSPLUS_SB(inode->i_sb).flags |= HFSPLUS_SB_WRITEBACKUP; in hfsplus_write_inode()
113 inode->i_sb->s_dirt = 1; in hfsplus_write_inode()
116 hfsplus_write_btree(HFSPLUS_SB(inode->i_sb).ext_tree); in hfsplus_write_inode()
120 HFSPLUS_SB(inode->i_sb).flags |= HFSPLUS_SB_WRITEBACKUP; in hfsplus_write_inode()
[all …]
/linux-2.4.37.9/fs/fat/
Dcache.c37 return MSDOS_SB(inode->i_sb)->cvf_format->cvf_bmap(inode,sector); in fat_bmap()
286 if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; in fat_get_cluster()
295 struct super_block *sb = inode->i_sb; in default_fat_bmap()
331 if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; in fat_free()
338 fat_access(inode->i_sb,last,EOF_FAT(inode->i_sb)); in fat_free()
346 lock_fat(inode->i_sb); in fat_free()
348 if (!(nr = fat_access(inode->i_sb,nr,0))) { in fat_free()
349 fat_fs_panic(inode->i_sb,"fat_free: deleting beyond EOF"); in fat_free()
352 if (MSDOS_SB(inode->i_sb)->free_clusters != -1) { in fat_free()
353 MSDOS_SB(inode->i_sb)->free_clusters++; in fat_free()
[all …]
/linux-2.4.37.9/fs/isofs/
Dnamei.c122 if (dir->i_sb->u.isofs_sb.s_rock && in isofs_find_entry()
127 } else if (dir->i_sb->u.isofs_sb.s_joliet_level) { in isofs_find_entry()
131 } else if (dir->i_sb->u.isofs_sb.s_mapping == 'a') { in isofs_find_entry()
134 } else if (dir->i_sb->u.isofs_sb.s_mapping == 'n') { in isofs_find_entry()
144 (!(de->flags[-dir->i_sb->u.isofs_sb.s_high_sierra] & 5) in isofs_find_entry()
145 || dir->i_sb->u.isofs_sb.s_unhide == 'y')) in isofs_find_entry()
164 dentry->d_op = dir->i_sb->s_root->d_op; in isofs_lookup()
176 inode = iget(dir->i_sb, ino); in isofs_lookup()
Drock.c36 inode->i_sb->u.isofs_sb.s_rock_offset=rr->u.SP.skip;
56 if (inode->i_sb->u.isofs_sb.s_rock_offset!=-1) \
58 LEN-=inode->i_sb->u.isofs_sb.s_rock_offset; \
59 CHR+=inode->i_sb->u.isofs_sb.s_rock_offset; \
74 pbh = sb_bread(DEV->i_sb, block); \
111 if (!inode->i_sb->u.isofs_sb.s_rock) return retval; in find_rock_ridge_relocation()
171 if (!inode->i_sb->u.isofs_sb.s_rock) return 0; in get_rock_ridge_filename()
245 if (!inode->i_sb->u.isofs_sb.s_rock) return 0; in parse_rock_ridge_inode_internal()
284 inode->i_sb->u.isofs_sb.s_rock = 1; in parse_rock_ridge_inode_internal()
378 reloc = iget(inode->i_sb, in parse_rock_ridge_inode_internal()
[all …]
/linux-2.4.37.9/fs/intermezzo/
Djournal_ext3.c52 #define MAX_PATH_BLOCKS(inode) (PATH_MAX >> EXT3_BLOCK_SIZE_BITS((inode)->i_sb))
53 #define MAX_NAME_BLOCKS(inode) (NAME_MAX >> EXT3_BLOCK_SIZE_BITS((inode)->i_sb))
97 avail_kmlblocks = inode->i_sb->u.ext3_sb.s_es->s_free_blocks_count; in presto_e3_trans_start()
237 int ptrs = EXT3_ADDR_PER_BLOCK(inode->i_sb); in presto_e3_has_all_data()
238 int ptrs_bits = EXT3_ADDR_PER_BLOCK_BITS(inode->i_sb); in presto_e3_has_all_data()
242 long block = (inode->i_size + inode->i_sb->s_blocksize - 1) >> in presto_e3_has_all_data()
243 inode->i_sb->s_blocksize_bits; in presto_e3_has_all_data()
263 block *= (inode->i_sb->s_blocksize / 512); in presto_e3_has_all_data()
/linux-2.4.37.9/fs/ext3/
Dinode.c48 (inode->i_sb->s_blocksize >> 9) : 0; in ext3_inode_is_fast_symlink()
74 test_opt(inode->i_sb, DATA_FLAGS)); in ext3_forget()
81 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA || in ext3_forget()
96 ext3_abort(inode->i_sb, __FUNCTION__, in ext3_forget()
111 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in blocks_for_truncate()
149 ext3_std_error(inode->i_sb, PTR_ERR(result)); in start_transaction()
207 ext3_std_error(inode->i_sb, PTR_ERR(handle)); in ext3_delete_inode()
357 int ptrs = EXT3_ADDR_PER_BLOCK(inode->i_sb); in ext3_block_to_path()
358 int ptrs_bits = EXT3_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext3_block_to_path()
365 ext3_warning (inode->i_sb, "ext3_block_to_path", "block < 0"); in ext3_block_to_path()
[all …]
/linux-2.4.37.9/fs/autofs4/
Droot.c150 struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb); in autofs4_root_revalidate()
158 return try_to_fill_dentry(dentry, dir->i_sb, sbi); in autofs4_root_revalidate()
176 return try_to_fill_dentry(dentry, dir->i_sb, sbi); in autofs4_root_revalidate()
257 sbi = autofs4_sbi(dir->i_sb); in autofs4_root_lookup()
311 struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb); in autofs4_dir_symlink()
336 inode = autofs4_get_inode(dir->i_sb, ino); in autofs4_dir_symlink()
339 if (dir == dir->i_sb->s_root->d_inode) in autofs4_dir_symlink()
370 struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb); in autofs4_dir_unlink()
391 struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb); in autofs4_dir_rmdir()
420 struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb); in autofs4_dir_mkdir()
[all …]
/linux-2.4.37.9/fs/sysv/
Ditree.c26 struct super_block *sb = inode->i_sb; in block_to_path()
89 struct super_block *sb = inode->i_sb; in get_branch()
124 int blocksize = inode->i_sb->s_blocksize; in alloc_branch()
128 branch[0].key = sysv_new_block(inode->i_sb); in alloc_branch()
133 branch[n].key = sysv_new_block(inode->i_sb); in alloc_branch()
140 parent = block_to_cpu(inode->i_sb, branch[n-1].key); in alloc_branch()
141 bh = sb_getblk(inode->i_sb, parent); in alloc_branch()
158 sysv_free_block(inode->i_sb, branch[i].key); in alloc_branch()
190 sysv_free_block(inode->i_sb, where[i].key); in splice_branch()
199 struct super_block *sb = inode->i_sb; in get_block()
[all …]
/linux-2.4.37.9/fs/minix/
Dbitmap.c54 struct super_block * sb = inode->i_sb; in minix_free_block()
84 struct super_block * sb = inode->i_sb; in minix_new_block()
177 raw_inode = minix_V1_raw_inode(inode->i_sb, inode->i_ino, &bh); in minix_clear_inode()
184 raw_inode = minix_V2_raw_inode(inode->i_sb, inode->i_ino, &bh); in minix_clear_inode()
201 if (inode->i_ino < 1 || inode->i_ino > inode->i_sb->u.minix_sb.s_ninodes) { in minix_free_inode()
206 if ((ino >> 13) >= inode->i_sb->u.minix_sb.s_imap_blocks) { in minix_free_inode()
211 bh = inode->i_sb->u.minix_sb.s_imap[ino >> 13]; in minix_free_inode()
226 sb = dir->i_sb; in minix_new_inode()
237 bh = inode->i_sb->u.minix_sb.s_imap[i]; in minix_new_inode()
254 if (!j || j > inode->i_sb->u.minix_sb.s_ninodes) { in minix_new_inode()

123456789