/linux-2.4.37.9/fs/hpfs/ |
D | buffer.c | 62 if (i1->i_ino < i2->i_ino) { in hpfs_lock_2inodes() 65 } else if (i1->i_ino > i2->i_ino) { in hpfs_lock_2inodes() 75 if (i1->i_ino < i2->i_ino) { in hpfs_unlock_2inodes() 78 } else if (i1->i_ino > i2->i_ino) { in hpfs_unlock_2inodes() 89 if (i1->i_ino < i2->i_ino && i1->i_ino < i3->i_ino) { in hpfs_lock_3inodes() 92 } else if (i2->i_ino < i1->i_ino && i2->i_ino < i3->i_ino) { in hpfs_lock_3inodes() 95 } else if (i3->i_ino < i1->i_ino && i3->i_ino < i2->i_ino) { in hpfs_lock_3inodes() 98 } else if (i1->i_ino != i2->i_ino) hpfs_lock_2inodes(i1, i2); in hpfs_lock_3inodes() 107 if (i1->i_ino < i2->i_ino && i1->i_ino < i3->i_ino) { in hpfs_unlock_3inodes() 110 } else if (i2->i_ino < i1->i_ino && i2->i_ino < i3->i_ino) { in hpfs_unlock_3inodes() [all …]
|
D | inode.c | 102 if (!(fnode = hpfs_map_fnode(sb, i->i_ino, &bh))) { in hpfs_read_inode() 238 if (i->i_ino == i->i_sb->s_hpfs_root) return; in hpfs_write_inode() 260 if (i->i_ino == i->i_sb->s_hpfs_root) return; in hpfs_write_inode_nolock() 261 if (!(fnode = hpfs_map_fnode(i->i_sb, i->i_ino, &bh))) return; in hpfs_write_inode_nolock() 262 if (i->i_ino != i->i_sb->s_hpfs_root && i->i_nlink) { in hpfs_write_inode_nolock() 263 if (!(de = map_fnode_dirent(i->i_sb, i->i_ino, fnode, &qbh))) { in hpfs_write_inode_nolock() 295 } else hpfs_error(i->i_sb, "directory %08x doesn't have '.' entry", i->i_ino); in hpfs_write_inode_nolock() 307 if (inode->i_sb->s_hpfs_root == inode->i_ino) return -EINVAL; in hpfs_notify_change() 325 hpfs_remove_fnode(inode->i_sb, inode->i_ino); in hpfs_delete_inode()
|
D | file.c | 54 if (!(fnode = hpfs_map_fnode(inode->i_sb, inode->i_ino, &bh))) return 0; in hpfs_bmap() 67 hpfs_truncate_btree(i->i_sb, i->i_ino, 1, ((i->i_size + 511) >> 9)); in hpfs_truncate() 86 if ((s = hpfs_add_sector_to_btree(inode->i_sb, inode->i_ino, 1, inode->i_blocks - 1)) == -1) { in hpfs_get_block() 87 hpfs_truncate_btree(inode->i_sb, inode->i_ino, 1, inode->i_blocks - 1); in hpfs_get_block()
|
/linux-2.4.37.9/fs/affs/ |
D | inode.c | 49 pr_debug("AFFS: read_inode(%lu)\n",inode->i_ino); in affs_read_inode() 51 block = inode->i_ino; in affs_read_inode() 183 pr_debug("AFFS: write_inode(%lu)\n",inode->i_ino); in affs_write_inode() 189 bh = affs_bread(sb, inode->i_ino); in affs_write_inode() 191 affs_error(sb,"write_inode","Cannot read block %lu",inode->i_ino); in affs_write_inode() 202 if (!(inode->i_ino == AFFS_SB->s_root_block)) { in affs_write_inode() 229 pr_debug("AFFS: notify_change(%lu,0x%x)\n",inode->i_ino,attr->ia_valid); in affs_notify_change() 254 pr_debug("AFFS: put_inode(ino=%lu, nlink=%u)\n", inode->i_ino, inode->i_nlink); in affs_put_inode() 269 pr_debug("AFFS: delete_inode(ino=%lu, nlink=%u)\n", inode->i_ino, inode->i_nlink); in affs_delete_inode() 275 affs_free_block(inode->i_sb, inode->i_ino); in affs_delete_inode() [all …]
|
D | amigaffs.c | 44 pr_debug("AFFS: insert_hash(dir=%u, ino=%d)\n", (u32)dir->i_ino, ino); in affs_insert_hash() 46 dir_bh = affs_bread(sb, dir->i_ino); in affs_insert_hash() 58 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_insert_hash() 62 if (dir->i_ino == dir_bh->b_blocknr) in affs_insert_hash() 93 pr_debug("AFFS: remove_hash(dir=%d, ino=%d, hashval=%d)\n", (u32)dir->i_ino, rem_ino, offset); in affs_remove_hash() 95 bh = affs_bread(sb, dir->i_ino); in affs_remove_hash() 104 if (dir->i_ino == bh->b_blocknr) in affs_remove_hash() 163 pr_debug("AFFS: remove_link(key=%ld)\n", inode->i_ino); in affs_remove_link() 165 bh = affs_bread(sb, inode->i_ino); in affs_remove_link() 170 if (inode->i_ino == link_ino) { in affs_remove_link() [all …]
|
D | namei.c | 192 bh = affs_bread(sb, dir->i_ino); in affs_find_entry() 249 pr_debug("AFFS: unlink(dir=%d, \"%.*s\")\n", (u32)dir->i_ino, in affs_unlink() 265 pr_debug("AFFS: create(%lu,\"%.*s\",0%o)\n",dir->i_ino,(int)dentry->d_name.len, in affs_create() 294 pr_debug("AFFS: mkdir(%lu,\"%.*s\",0%o)\n",dir->i_ino, in affs_mkdir() 320 pr_debug("AFFS: rmdir(dir=%u, \"%.*s\")\n", (u32)dir->i_ino, in affs_rmdir() 339 pr_debug("AFFS: symlink(%lu,\"%.*s\" -> \"%s\")\n",dir->i_ino, in affs_symlink() 354 bh = affs_bread(sb, inode->i_ino); in affs_symlink() 408 pr_debug("AFFS: link(%u, %u, \"%.*s\")\n", (u32)inode->i_ino, (u32)dir->i_ino, in affs_link() 433 (u32)old_dir->i_ino, (int)old_dentry->d_name.len, old_dentry->d_name.name, in affs_rename() 434 (u32)new_dir->i_ino, (int)new_dentry->d_name.len, new_dentry->d_name.name); in affs_rename() [all …]
|
D | dir.c | 66 pr_debug("AFFS: readdir(ino=%lu,f_pos=%lx)\n",inode->i_ino,(unsigned long)filp->f_pos); in affs_readdir() 76 if (filldir(dirent, ".", 1, f_pos, inode->i_ino, DT_DIR) < 0) in affs_readdir() 82 if (filldir(dirent, "..", 2, f_pos, filp->f_dentry->d_parent->d_inode->i_ino, DT_DIR) < 0) in affs_readdir() 97 dir_bh = affs_bread(sb, inode->i_ino); in affs_readdir()
|
/linux-2.4.37.9/fs/hfsplus/ |
D | dir.c | 38 hfsplus_fill_cat_key(fd.search_key, dir->i_ino, &dentry->d_name); in hfsplus_lookup() 77 hfsplus_fill_cat_key(fd.search_key, HFSPLUS_SB(sb).hidden_dir->i_ino, &str); in hfsplus_lookup() 115 hfsplus_fill_cat_key(fd.search_key, inode->i_ino, NULL); in hfsplus_readdir() 123 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR)) in hfsplus_readdir() 153 if (be32_to_cpu(fd.key->cat.parent) != inode->i_ino) { in hfsplus_readdir() 171 HFSPLUS_SB(sb).hidden_dir->i_ino == be32_to_cpu(entry.folder.id)) in hfsplus_readdir() 247 res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode); in hfsplus_create() 253 dentry->d_fsdata = (void *)inode->i_ino; in hfsplus_create() 272 if (inode->i_ino == (u32)(unsigned long)src_dentry->d_fsdata) { in hfsplus_link() 278 res = hfsplus_rename_cat(inode->i_ino, in hfsplus_link() [all …]
|
D | catalog.c | 70 folder->id = cpu_to_be32(inode->i_ino); in hfsplus_fill_cat_entry() 89 if (cnid == inode->i_ino) { in hfsplus_fill_cat_entry() 157 dir->i_ino, str); in hfsplus_create_cat() 168 hfsplus_fill_cat_key(fd.search_key, dir->i_ino, str); in hfsplus_create_cat() 210 fd.search_key->cat.parent = cpu_to_be32(dir->i_ino); in hfsplus_delete_cat() 216 hfsplus_fill_cat_key(fd.search_key, dir->i_ino, str); in hfsplus_delete_cat() 273 dprint(DBG_CAT_MOD, "rename_cat: %u - %lu,%s - %lu,%s\n", cnid, src_dir->i_ino, src_name->name, in hfsplus_rename_cat() 274 dst_dir->i_ino, dst_name->name); in hfsplus_rename_cat() 280 hfsplus_fill_cat_key(src_fd.search_key, src_dir->i_ino, src_name); in hfsplus_rename_cat() 289 hfsplus_fill_cat_key(dst_fd.search_key, dst_dir->i_ino, dst_name); in hfsplus_rename_cat() [all …]
|
/linux-2.4.37.9/fs/bfs/ |
D | inode.c | 37 unsigned long ino = inode->i_ino; in bfs_read_inode() 81 inode->iu_dsk_ino = di->i_ino; /* can be 0 so we store a copy */ in bfs_read_inode() 90 unsigned long ino = inode->i_ino; in bfs_write_inode() 113 if (inode->i_ino == BFS_ROOT_INO) in bfs_write_inode() 118 di->i_ino = inode->i_ino; in bfs_write_inode() 137 unsigned long ino = inode->i_ino; in bfs_delete_inode() 144 dprintf("ino=%08lx\n", inode->i_ino); in bfs_delete_inode() 146 if (inode->i_ino < BFS_ROOT_INO || inode->i_ino > inode->i_sb->su_lasti) { in bfs_delete_inode() 147 printf("invalid ino=%08lx\n", inode->i_ino); in bfs_delete_inode() 164 if (di->i_ino) { in bfs_delete_inode() [all …]
|
D | dir.c | 37 bdevname(dev), dir->i_ino); in bfs_readdir() 101 inode->i_ino = inode->iu_dsk_ino = ino; in bfs_create() 107 err = bfs_add_entry(dir, dentry->d_name.name, dentry->d_name.len, inode->i_ino); in bfs_create() 147 err = bfs_add_entry(dir, new->d_name.name, new->d_name.len, inode->i_ino); in bfs_link() 168 if (!bh || de->ino != inode->i_ino) in bfs_unlink() 173 inode->i_ino, inode->i_nlink); in bfs_unlink() 208 if (!old_bh || old_de->ino != old_inode->i_ino) in bfs_rename() 224 new_dentry->d_name.len, old_inode->i_ino); in bfs_rename()
|
/linux-2.4.37.9/fs/intermezzo/ |
D | presto.c | 71 inode->i_dev, inode->i_ino); in presto_i2m() 136 fset->fset_dentry->d_inode->i_ino); in presto_chk() 151 dentry->d_inode->i_ino, flag); in presto_set() 309 dentry->d_inode->i_ino, __FUNCTION__); in izo_mark_dentry() 314 dentry->d_inode->i_ino, and_flag, or_flag, in izo_mark_dentry() 333 dentry->d_inode->i_ino, __FUNCTION__); in izo_mark_cache() 338 dentry->d_inode->i_ino, and_flag, or_flag, in izo_mark_cache() 470 CERROR("No alias for inode %d\n", (int) inode->i_ino); in presto_get_permit() 498 fset->fset_permit_count, inode->i_ino); in presto_get_permit() 557 "rc %d\n", fset->fset_permit_count, inode->i_ino, rc); in presto_get_permit() [all …]
|
D | inode.c | 71 inode->i_ino, inode->i_op); in presto_set_ops() 76 inode->i_ino, inode->i_op, inode->i_fop->ioctl); in presto_set_ops() 87 inode->i_ino, inode->i_op); in presto_set_ops() 106 inode->i_ino, inode->i_gid); in presto_read_inode()
|
/linux-2.4.37.9/fs/jffs2/ |
D | readinode.c | 259 D1(printk(KERN_DEBUG "jffs2_read_inode(): inode->i_ino == %lu\n", inode->i_ino)); in jffs2_read_inode() 267 f->inocache = jffs2_get_ino_cache(c, inode->i_ino); in jffs2_read_inode() 270 if (!f->inocache && inode->i_ino == 1) { in jffs2_read_inode() 285 printk(KERN_WARNING "jffs2_read_inode() on nonexistent ino %lu\n", (unsigned long)inode->i_ino); in jffs2_read_inode() 289 …D1(printk(KERN_DEBUG "jffs2_read_inode(): ino #%lu nlink is %d\n", (unsigned long)inode->i_ino, f-… in jffs2_read_inode() 293 …ret = jffs2_get_inode_nodes(c, inode->i_ino, f, &tn_list, &fd_list, &f->highest_version, &latest_m… in jffs2_read_inode() 296 printk(KERN_CRIT "jffs2_get_inode_nodes() for ino %lu returned %d\n", inode->i_ino, ret); in jffs2_read_inode() 329 if (inode->i_ino != 1) { in jffs2_read_inode() 330 printk(KERN_WARNING "jffs2_read_inode(): No data nodes found for ino #%lu\n", inode->i_ino); in jffs2_read_inode() 356 …C failed for read_inode of inode %ld at physical location 0x%x\n", inode->i_ino, fn->raw->flash_of… in jffs2_read_inode() [all …]
|
D | dir.c | 142 D1(printk(KERN_DEBUG "jffs2_readdir() for dir_i #%lu\n", filp->f_dentry->d_inode->i_ino)); in jffs2_readdir() 150 D1(printk(KERN_DEBUG "Dirent 0: \".\", ino #%lu\n", inode->i_ino)); in jffs2_readdir() 151 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR) < 0) in jffs2_readdir() 156 D1(printk(KERN_DEBUG "Dirent 1: \"..\", ino #%lu\n", filp->f_dentry->d_parent->d_inode->i_ino)); in jffs2_readdir() 157 if (filldir(dirent, "..", 2, 1, filp->f_dentry->d_parent->d_inode->i_ino, DT_DIR) < 0) in jffs2_readdir() 295 rd->pino = dir_i->i_ino; in jffs2_create() 297 rd->ino = inode->i_ino; in jffs2_create() 329 inode->i_ino, inode->i_mode, inode->i_nlink, f->inocache->nlink, inode->i_mapping->nrpages)); in jffs2_create() 365 rd->pino = dir_i->i_ino; in jffs2_do_unlink() 453 rd->pino = dir_i->i_ino; in jffs2_do_link() [all …]
|
/linux-2.4.37.9/fs/ufs/ |
D | inode.c | 135 inode->i_ino, fragment, new_fragment, required)) in ufs_inode_getfrag() 248 UFSD(("ENTER, ino %lu, fragment %u, new_fragment %u\n", inode->i_ino, fragment, new_fragment)) in ufs_block_getfrag() 339 UFSD(("ENTER, ino %lu, fragment %u\n", inode->i_ino, fragment)) in ufs_getfrag_block() 441 UFSD(("ENTER, ino %lu, fragment %u\n", inode->i_ino, fragment)) in ufs_bread() 488 UFSD(("ENTER, ino %lu\n", inode->i_ino)) in ufs_read_inode() 494 if (inode->i_ino < UFS_ROOTINO || in ufs_read_inode() 495 inode->i_ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_read_inode() 496 ufs_warning (sb, "ufs_read_inode", "bad inode number (%lu)\n", inode->i_ino); in ufs_read_inode() 500 bh = sb_bread(sb, uspi->s_sbbase + ufs_inotofsba(inode->i_ino)); in ufs_read_inode() 502 ufs_warning (sb, "ufs_read_inode", "unable to read inode %lu\n", inode->i_ino); in ufs_read_inode() [all …]
|
D | dir.c | 68 UFSD(("ENTER, ino %lu f_pos %lu\n", inode->i_ino, (unsigned long) filp->f_pos)) in ufs_readdir() 81 inode->i_ino, (unsigned long int)filp->f_pos); in ufs_readdir() 195 UFSD(("ENTER, dir_ino %lu, name %s, namlen %u\n", dir->i_ino, name, namelen)) in ufs_find_entry() 230 dir->i_ino, offset); in ufs_find_entry() 311 dir->i_ino, dir->i_size, error_msg, offset, in ufs_check_dir_entry() 350 de->d_ino = cpu_to_fs32(dir->i_sb, inode->i_ino); in ufs_set_link() 450 de->d_ino = cpu_to_fs32(sb, inode->i_ino); in ufs_add_link() 538 de->d_ino = cpu_to_fs32(sb, inode->i_ino); in ufs_make_empty() 545 de->d_ino = cpu_to_fs32(sb, dir->i_ino); in ufs_make_empty() 573 inode->i_ino); in ufs_empty_dir() [all …]
|
D | ialloc.c | 70 UFSD(("ENTER, ino %lu\n", inode->i_ino)) in ufs_free_inode() 76 ino = inode->i_ino; in ufs_free_inode() 172 i = ufs_inotocg(dir->i_ino); in ufs_new_inode() 194 i = ufs_inotocg(dir->i_ino) + 1; in ufs_new_inode() 260 inode->i_ino = cg * uspi->s_ipg + bit; in ufs_new_inode() 280 UFSD(("allocating inode %lu\n", inode->i_ino)) in ufs_new_inode()
|
/linux-2.4.37.9/fs/ext2/ |
D | inode.c | 68 inode->i_ino == EXT2_ACL_IDX_INO || in ext2_delete_inode() 69 inode->i_ino == EXT2_ACL_DATA_INO) in ext2_delete_inode() 786 inode->i_ino, nr); in ext2_free_branches() 920 if ((inode->i_ino != EXT2_ROOT_INO && inode->i_ino != EXT2_ACL_IDX_INO && in ext2_read_inode() 921 inode->i_ino != EXT2_ACL_DATA_INO && in ext2_read_inode() 922 inode->i_ino < EXT2_FIRST_INO(inode->i_sb)) || in ext2_read_inode() 923 inode->i_ino > le32_to_cpu(inode->i_sb->u.ext2_sb.s_es->s_inodes_count)) { in ext2_read_inode() 925 "bad inode number: %lu", inode->i_ino); in ext2_read_inode() 928 block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); in ext2_read_inode() 947 offset = ((inode->i_ino - 1) % EXT2_INODES_PER_GROUP(inode->i_sb)) * in ext2_read_inode() [all …]
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_rename.c | 135 inum1 = ip1->i_ino; in xfs_lock_for_rename() 189 if (i_tab[j]->i_ino < i_tab[j-1]->i_ino) { in xfs_lock_for_rename() 224 if (i_tab[i]->i_ino == inum1) { in xfs_lock_for_rename() 227 if (i_tab[i]->i_ino == inum2) { in xfs_lock_for_rename() 425 target_namelen, src_ip->i_ino, in xfs_rename() 473 target_namelen, src_ip->i_ino, &first_block, in xfs_rename() 518 target_dp->i_ino, &first_block, in xfs_rename() 559 src_ip->i_ino, &first_block, &free_list, spaceres); in xfs_rename()
|
/linux-2.4.37.9/fs/befs/ |
D | linuxvfs.c | 139 inode->i_ino, block); in befs_get_block() 144 block, inode->i_ino); in befs_get_block() 150 "block %ld in inode %lu", block, inode->i_ino); in befs_get_block() 158 "%ld ERROR", inode->i_ino, block); in befs_get_block() 169 "disk address %lu", inode->i_ino, block, disk_off); in befs_get_block() 187 "name %s inode %ld", dentry->d_name.name, dir->i_ino); in befs_lookup() 242 dirname, inode->i_ino, filp->f_pos); in befs_readdir() 250 dirname, inode->i_ino); in befs_readdir() 310 befs_debug(sb, "---> befs_read_inode() " "inode = %lu", inode->i_ino); in befs_read_inode() 315 "portion of inode %lu.", inode->i_ino); in befs_read_inode() [all …]
|
/linux-2.4.37.9/fs/ext3/ |
D | namei.c | 338 de->inode = cpu_to_le32(inode->i_ino); in ext3_add_entry() 537 de->inode = cpu_to_le32(inode->i_ino); in ext3_mkdir() 544 de->inode = cpu_to_le32(dir->i_ino); in ext3_mkdir() 591 inode->i_ino); in empty_dir() 597 if (le32_to_cpu(de->inode) != inode->i_ino || in empty_dir() 603 inode->i_ino); in empty_dir() 620 inode->i_ino, offset); in empty_dir() 685 EXT3_SB(sb)->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); in ext3_orphan_add() 702 jbd_debug(4, "superblock will point to %ld\n", inode->i_ino); in ext3_orphan_add() 704 inode->i_ino, NEXT_ORPHAN(inode)); in ext3_orphan_add() [all …]
|
/linux-2.4.37.9/fs/coda/ |
D | dir.c | 111 name, (long)length, dir->i_ino, coda_i2s(dir)); in coda_lookup() 118 dir->i_ino, atomic_read(&dir->i_count)); in coda_lookup() 179 coda_i2s(inode), inode->i_ino, mask, error); in coda_permission() 409 coda_i2s(dir), dir->i_ino); in coda_unlink() 562 ret = filldir(dirent, ".", 1, 0, dir->d_inode->i_ino, DT_DIR); in coda_venus_readdir() 568 ret = filldir(dirent, "..", 2, 1, dir->d_parent->d_inode->i_ino, DT_DIR); in coda_venus_readdir() 587 filp->f_dentry->d_inode->i_ino); in coda_venus_readdir() 595 filp->f_dentry->d_inode->i_ino); in coda_venus_readdir() 660 de->d_inode->i_ino, coda_f2s(&cii->c_fid)); in coda_dentry_revalidate() 690 dentry->d_inode->i_ino); in coda_dentry_delete() [all …]
|
D | pioctl.c | 84 target_inode->i_ino, target_inode->i_dev); in coda_pioctl() 97 CDEBUG(D_PIOCTL, "ioctl on inode %ld\n", target_inode->i_ino); in coda_pioctl() 98 CDEBUG(D_DOWNCALL, "dput on ino: %ld, icount %d, dcount %d\n", target_inode->i_ino, in coda_pioctl()
|
/linux-2.4.37.9/fs/ntfs/ |
D | fs.c | 260 dir->i_ino, filp->f_pos, (unsigned int)dir->i_mode, in ntfs_readdir() 268 dir->i_ino); in ntfs_readdir() 270 dir->i_ino, DT_DIR); in ntfs_readdir() 280 filp->f_dentry->d_parent->d_inode->i_ino); in ntfs_readdir() 282 filp->f_dentry->d_parent->d_inode->i_ino, in ntfs_readdir() 530 __FUNCTION__, d->d_name.name, (unsigned)dir->i_ino); in ntfs_lookup() 596 r->i_ino = ino->i_number; in ntfs_create() 639 ntfs_debug (DEBUG_DIR1, "mkdir %s in %x\n", d->d_name.name, dir->i_ino); in _linux_ntfs_mkdir() 655 r->i_ino = ino->i_number; in _linux_ntfs_mkdir() 709 ntfs_debug(DEBUG_OTHER, "ntfs_read_inode 0x%lx\n", inode->i_ino); in ntfs_read_inode() [all …]
|