/linux-2.4.37.9/fs/intermezzo/ |
D | vfs.c | 135 if (!victim->d_inode || victim->d_parent->d_inode != dir) in may_delete() 142 if (check_sticky(dir, victim->d_inode)||IS_APPEND(victim->d_inode)|| in may_delete() 143 IS_IMMUTABLE(victim->d_inode)) in may_delete() 146 if (!S_ISDIR(victim->d_inode->i_mode)) in may_delete() 150 } else if (S_ISDIR(victim->d_inode->i_mode)) in may_delete() 157 if (child->d_inode) in may_create() 185 kdev_t dev = fset->fset_dentry->d_inode->i_dev; in presto_debug_fail_blkdev() 257 inode = dentry->d_inode; in presto_settime() 281 inode_setattr(dentry->d_inode, &iattr); in presto_settime() 302 struct inode *inode = file->f_dentry->d_inode; in presto_do_close() [all …]
|
D | fileset.c | 62 if ( !de->d_inode ) { in presto_fset() 96 if ( !presto_ispresto(dentry->d_inode) ) { in presto_get_lastrecno() 200 dentry->d_inode->i_op = ioctl_dentry->d_inode->i_op; in presto_set_fsetroot() 201 dentry->d_inode->i_fop = ioctl_dentry->d_inode->i_fop; in presto_set_fsetroot() 206 dentry->d_inode->i_ino); in presto_set_fsetroot() 216 cache = presto_get_cache(dentry->d_inode); in presto_set_fsetroot() 219 dentry->d_inode->i_ino); in presto_set_fsetroot() 235 dentry->d_inode->i_ino, fsetname); in presto_set_fsetroot() 415 mnt->mnt_sb = root->d_inode->i_sb; in izo_setup_ctxt() 449 if (dchild->d_inode) { in izo_simple_mkdir() [all …]
|
D | file.c | 140 if (cache->cache_filter->o_trops->tr_all_data(file->f_dentry->d_inode)) { in open_check_dod() 222 fdata->fd_mode = file->f_dentry->d_inode->i_mode; in presto_file_open() 223 fdata->fd_uid = file->f_dentry->d_inode->i_uid; in presto_file_open() 224 fdata->fd_gid = file->f_dentry->d_inode->i_gid; in presto_file_open() 294 fdata->fd_info.updated_time = file->f_dentry->d_inode->i_mtime; in presto_file_release() 331 file->f_dentry->d_inode); in presto_apply_write_policy() 338 if ( presto_get_permit(file->f_dentry->d_inode) < 0 ) { in presto_apply_write_policy() 348 presto_put_permit(file->f_dentry->d_inode); in presto_apply_write_policy() 382 blocks = (size >> file->f_dentry->d_inode->i_sb->s_blocksize_bits) + 1; in presto_file_write() 385 << file->f_dentry->d_inode->i_sb->s_blocksize_bits); in presto_file_write() [all …]
|
D | presto.c | 125 minor = presto_i2m(dentry->d_inode); in presto_chk() 136 fset->fset_dentry->d_inode->i_ino); in presto_chk() 149 if ( dentry->d_inode ) { in presto_set() 151 dentry->d_inode->i_ino, flag); in presto_set() 180 if ( !presto_ispresto(dentry->d_inode) ) { in lento_complete_closes() 232 if ( !presto_ispresto(dentry->d_inode) ) { 247 handle = presto_trans_start(fset, dentry->d_inode, PRESTO_OP_RELEASE); 268 presto_getversion(&new_ver, dentry->d_inode); 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() [all …]
|
D | dir.c | 181 struct inode *inode = real->d_inode; in presto_add_ilookup_dentry() 189 if (!inodir || IS_ERR(inodir) || !inodir->d_inode ) { in presto_add_ilookup_dentry() 193 inodir->d_inode->i_op = &presto_dir_iops; in presto_add_ilookup_dentry() 210 if (de->d_inode) in presto_add_ilookup_dentry() 213 if (de->d_inode != inode ) { in presto_add_ilookup_dentry() 215 de->d_inode->i_ino, inode->i_ino); in presto_add_ilookup_dentry() 301 if (dentry->d_inode) in presto_lookup() 302 presto_set_ops(dentry->d_inode, cache->cache_filter); in presto_lookup() 359 if ( presto_get_permit(de->d_inode) < 0 ) { in presto_setattr() 368 presto_put_permit(de->d_inode); in presto_setattr() [all …]
|
D | journal.c | 92 fd->fd_offset = fd->fd_file->f_dentry->d_inode->i_size; in presto_reserve_record() 126 struct inode *inode = dentry->d_inode; in izo_do_truncate() 153 inode_setattr(dentry->d_inode, &newattrs); in izo_do_truncate() 179 ISLENTO(presto_i2m(fset->fset_dentry->d_inode)), in presto_kml_truncate() 363 presto_getversion(&version, dentry->d_inode); in log_dentry_version() 490 *off, len, file->f_dentry->d_inode->i_ino); in presto_fread() 545 offset = fd->fd_file->f_dentry->d_inode->i_size; in presto_kml_offset() 572 offset = fd->fd_file->f_dentry->d_inode->i_size; in presto_kml_dispatch() 673 if (!old_dentry->d_inode) { in do_truncate_rename() 687 error = presto_rename(old_dentry->d_parent->d_inode, old_dentry, in do_truncate_rename() [all …]
|
D | dcache.c | 56 struct inode *inode = de->d_inode; in presto_d_revalidate() 79 root_fset = presto_d2d(de->d_inode->i_sb->s_root)->dd_fset; in presto_d_revalidate() 183 struct inode *inode=dentry->d_inode; in presto_try_find_alias_with_dd() 208 struct inode *inode=dentry->d_inode; in presto_set_alias_dd() 266 if (dentry->d_inode) in presto_set_dd() 267 CERROR(" inode: %ld\n", dentry->d_inode->i_ino); in presto_set_dd() 272 if (dentry->d_inode != NULL) { in presto_set_dd()
|
/linux-2.4.37.9/fs/ |
D | xattr.c | 86 if (d->d_inode->i_op && d->d_inode->i_op->setxattr) { in setxattr() 87 down(&d->d_inode->i_sem); in setxattr() 89 error = d->d_inode->i_op->setxattr(d, kname, kvalue, size, flags); in setxattr() 91 up(&d->d_inode->i_sem); in setxattr() 161 if (d->d_inode->i_op && d->d_inode->i_op->getxattr) { in getxattr() 162 down(&d->d_inode->i_sem); in getxattr() 164 error = d->d_inode->i_op->getxattr(d, kname, kvalue, size); in getxattr() 166 up(&d->d_inode->i_sem); in getxattr() 232 if (d->d_inode->i_op && d->d_inode->i_op->listxattr) { in listxattr() 233 down(&d->d_inode->i_sem); in listxattr() [all …]
|
D | namei.c | 244 if (atomic_read(&file->f_dentry->d_inode->i_writecount) > 0) { in deny_write_access() 248 atomic_dec(&file->f_dentry->d_inode->i_writecount); in deny_write_access() 287 struct inode *dir = parent->d_inode; in real_lookup() 356 UPDATE_ATIME(dentry->d_inode); in do_follow_link() 357 err = dentry->d_inode->i_op->follow_link(dentry, nd); in do_follow_link() 470 inode = nd->dentry->d_inode; in link_path_walk() 516 inode = nd->dentry->d_inode; in link_path_walk() 543 inode = dentry->d_inode; in link_path_walk() 558 inode = nd->dentry->d_inode; in link_path_walk() 586 inode = nd->dentry->d_inode; in link_path_walk() [all …]
|
D | ioctl.c | 18 struct inode * inode = filp->f_dentry->d_inode; in file_ioctl() 105 if (S_ISDIR(filp->f_dentry->d_inode->i_mode) || in sys_ioctl() 106 S_ISREG(filp->f_dentry->d_inode->i_mode) || in sys_ioctl() 107 S_ISLNK(filp->f_dentry->d_inode->i_mode)) { in sys_ioctl() 108 loff_t res = inode_get_bytes(filp->f_dentry->d_inode); in sys_ioctl() 116 if (S_ISREG(filp->f_dentry->d_inode->i_mode)) in sys_ioctl() 119 error = filp->f_op->ioctl(filp->f_dentry->d_inode, filp, cmd, arg); in sys_ioctl()
|
D | stat.c | 22 struct inode * inode = dentry->d_inode; in do_revalidate() 150 error = cp_old_stat(nd.dentry->d_inode, statbuf); in sys_stat() 166 error = cp_new_stat(nd.dentry->d_inode, statbuf); in sys_newstat() 187 error = cp_old_stat(nd.dentry->d_inode, statbuf); in sys_lstat() 204 error = cp_new_stat(nd.dentry->d_inode, statbuf); in sys_newlstat() 227 err = cp_old_stat(dentry->d_inode, statbuf); in sys_fstat() 246 err = cp_new_stat(dentry->d_inode, statbuf); in sys_newfstat() 262 struct inode * inode = nd.dentry->d_inode; in sys_readlink() 347 error = cp_new_stat64(nd.dentry->d_inode, statbuf); in sys_stat64() 362 error = cp_new_stat64(nd.dentry->d_inode, statbuf); in sys_lstat64() [all …]
|
D | binfmt_misc.c | 414 dentry->d_inode->i_nlink--; in kill_node() 425 Node *e = file->f_dentry->d_inode->u.generic_ip; in bm_entry_read() 459 Node *e = file->f_dentry->d_inode->u.generic_ip; in bm_entry_write() 468 down(&root->d_inode->i_sem); in bm_entry_write() 469 down(&root->d_inode->i_zombie); in bm_entry_write() 473 up(&root->d_inode->i_zombie); in bm_entry_write() 474 up(&root->d_inode->i_sem); in bm_entry_write() 503 down(&root->d_inode->i_sem); in bm_register_write() 507 down(&root->d_inode->i_zombie); in bm_register_write() 508 if (dentry->d_inode) { in bm_register_write() [all …]
|
/linux-2.4.37.9/fs/nfsd/ |
D | nfsfh.c | 74 struct inode *dir = dentry->d_inode; in nfsd_get_name() 96 buffer.ino = child->d_inode->i_ino; in nfsd_get_name() 276 down(&child->d_inode->i_sem); in nfsd_findparent() 277 pdentry = child->d_inode->i_op->lookup(child->d_inode, tdentry); in nfsd_findparent() 278 up(&child->d_inode->i_sem); in nfsd_findparent() 280 if (!pdentry && tdentry->d_inode == NULL) { in nfsd_findparent() 292 struct list_head *aliases = &tdentry->d_inode->i_dentry; in nfsd_findparent() 304 pdentry = d_alloc_root(tdentry->d_inode); in nfsd_findparent() 306 igrab(tdentry->d_inode); in nfsd_findparent() 339 down(&parent->d_inode->i_sem); in splice() [all …]
|
D | vfs.c | 134 exp2 = exp_get(exp->ex_client, dp->d_inode->i_dev, dp->d_inode->i_ino); in nfsd_lookup() 159 mounts->d_inode->i_dev, in nfsd_lookup() 160 mounts->d_inode->i_ino); in nfsd_lookup() 172 if (dentry->d_inode && dentry->d_inode->i_op && in nfsd_lookup() 173 dentry->d_inode->i_op->revalidate && in nfsd_lookup() 174 dentry->d_inode->i_op->revalidate(dentry)) in nfsd_lookup() 178 if (!err && !dentry->d_inode) in nfsd_lookup() 215 inode = dentry->d_inode; in nfsd_setattr() 387 if (S_ISREG(dentry->d_inode->i_mode)) in nfsd_access() 389 else if (S_ISDIR(dentry->d_inode->i_mode)) in nfsd_access() [all …]
|
/linux-2.4.37.9/fs/umsdos/ |
D | dir.c | 41 struct inode *inode = dentry->d_inode; in umsdos_dentry_dput() 158 if (!demd->d_inode) { in umsdos_readdir_x() 171 while (pos < demd->d_inode->i_size) { in umsdos_readdir_x() 203 inode = dret->d_inode; in umsdos_readdir_x() 213 dret->d_parent->d_name.name, info.fake.fname, dret->d_inode->i_ino, in umsdos_readdir_x() 222 inode = dret->d_inode; in umsdos_readdir_x() 301 struct inode *dir = filp->f_dentry->d_inode; in UMSDOS_readdir() 358 struct inode *inode = dentry->d_inode; in umsdos_lookup_patch_new() 461 inode = saved_root->d_inode; in umsdos_lookup_x() 490 inode = dret->d_inode; in umsdos_lookup_x() [all …]
|
D | inode.c | 69 struct inode *inode = dir->d_inode; in umsdos_setup_dir() 96 struct inode *inode = dentry->d_inode; in umsdos_set_dirinfo_new() 131 struct inode *inode = dentry->d_inode; in umsdos_patch_dentry_inode() 203 dir = dentry->d_parent->d_inode; in UMSDOS_notify_change() 204 inode = dentry->d_inode; in UMSDOS_notify_change() 227 struct inode *inode = dentry->d_inode; in umsdos_notify_change_locked() 250 if (!demd->d_inode) { in umsdos_notify_change_locked() 258 if (inode == demd->d_inode) in umsdos_notify_change_locked() 267 mapping = demd->d_inode->i_mapping; in umsdos_notify_change_locked() 391 pseudo_root = new_root->d_inode; in UMSDOS_read_super() [all …]
|
D | rdir.c | 64 struct inode *dir = filp->f_dentry->d_inode; in UMSDOS_rreaddir() 69 bufk.real_root = pseudo_root && (dir == saved_root->d_inode); in UMSDOS_rreaddir() 87 if (saved_root && dir == saved_root->d_inode && !nopseudo && in umsdos_rlookup_x() 107 if (dentry->d_inode) { in umsdos_rlookup_x() 116 if (dentry->d_inode->u.umsdos_i.i_patched == 0) in umsdos_rlookup_x() 179 if (demd->d_inode) in UMSDOS_rrmdir() 180 ret = msdos_unlink (dentry->d_inode, demd); in UMSDOS_rrmdir()
|
/linux-2.4.37.9/fs/autofs4/ |
D | root.c | 65 update_atime(dentry->d_inode); in autofs4_update_usage() 94 dentry, dentry->d_name.len, dentry->d_name.name, dentry->d_inode)); in try_to_fill_dentry() 97 while(dentry->d_inode == NULL) { in try_to_fill_dentry() 105 if (status && dentry->d_inode) in try_to_fill_dentry() 122 if (S_ISDIR(dentry->d_inode->i_mode) && in try_to_fill_dentry() 149 struct inode * dir = dentry->d_parent->d_inode; in autofs4_root_revalidate() 162 if (dentry->d_inode == NULL) in autofs4_root_revalidate() 167 if (S_ISDIR(dentry->d_inode->i_mode) && in autofs4_root_revalidate() 301 if ( dentry->d_inode && d_unhashed(dentry) ) in autofs4_root_lookup() 339 if (dir == dir->i_sb->s_root->d_inode) in autofs4_dir_symlink() [all …]
|
/linux-2.4.37.9/fs/coda/ |
D | dir.c | 332 struct inode *inode = source_de->d_inode; in coda_link() 418 de->d_inode->i_nlink--; in coda_unlink() 441 de->d_inode->i_nlink--; in coda_rmdir() 470 if ( new_dentry->d_inode ) { in coda_rename() 471 if ( S_ISDIR(new_dentry->d_inode->i_mode) ) in coda_rename() 476 coda_flag_inode(new_dentry->d_inode, C_VATTR); in coda_rename() 503 down(&host_file->f_dentry->d_inode->i_sem); in coda_readdir() 514 if (!IS_DEADDIR(host_file->f_dentry->d_inode)) in coda_readdir() 519 up(&host_file->f_dentry->d_inode->i_sem); in coda_readdir() 562 ret = filldir(dirent, ".", 1, 0, dir->d_inode->i_ino, DT_DIR); in coda_venus_readdir() [all …]
|
D | file.c | 51 struct inode *coda_inode = coda_file->f_dentry->d_inode; in coda_file_write() 67 coda_inode->i_size = host_file->f_dentry->d_inode->i_size; in coda_file_write() 90 coda_inode = coda_file->f_dentry->d_inode; in coda_file_mmap() 91 host_inode = host_file->f_dentry->d_inode; in coda_file_mmap() 144 host_inode = host_file->f_dentry->d_inode; in coda_open() 184 coda_inode = coda_file->f_dentry->d_inode; in coda_flush() 228 host_inode = cfi->cfi_container->f_dentry->d_inode; in coda_release() 251 struct inode *host_inode, *coda_inode = coda_dentry->d_inode; in coda_fsync() 267 host_inode = host_dentry->d_inode; in coda_fsync()
|
/linux-2.4.37.9/fs/devpts/ |
D | root.c | 45 struct inode * inode = filp->f_dentry->d_inode; in devpts_root_readdir() 46 struct devpts_sb_info * sbi = SBI(filp->f_dentry->d_inode->i_sb); in devpts_root_readdir() 89 if ( !dentry->d_inode ) in devpts_revalidate() 92 sbi = SBI(dentry->d_inode->i_sb); in devpts_revalidate() 94 return ( sbi->inodes[dentry->d_inode->i_ino - 2] == dentry->d_inode ); in devpts_revalidate()
|
/linux-2.4.37.9/fs/smbfs/ |
D | file.c | 46 result = smb_proc_flush(server, dentry->d_inode->u.smbfs_i.fileid); in smb_fsync() 78 result = server->ops->read(dentry->d_inode,offset,rsize,buffer); in smb_readpage_sync() 85 dentry->d_inode->i_atime = CURRENT_TIME; in smb_readpage_sync() 216 return smb_writepage_sync(dentry->d_inode, page, offset, count); in smb_updatepage() 236 (long)dentry->d_inode->i_size, in smb_file_read() 237 dentry->d_inode->i_flags, dentry->d_inode->i_atime); in smb_file_read() 325 (long) file->f_pos, (long) dentry->d_inode->i_size, in smb_file_write() 326 dentry->d_inode->i_mtime, dentry->d_inode->i_atime); in smb_file_write()
|
D | cache.c | 89 if (!dent->d_inode) { in smb_dget_fpos() 104 if (dent->d_inode) in smb_dget_fpos() 128 struct inode *newino, *inode = dentry->d_inode; in smb_fill_cache() 152 if (!newdent->d_inode) { in smb_fill_cache() 163 smb_set_inode_attr(newdent->d_inode, entry); in smb_fill_cache() 165 if (newdent->d_inode) { in smb_fill_cache() 166 ino = newdent->d_inode->i_ino; in smb_fill_cache()
|
/linux-2.4.37.9/fs/ncpfs/ |
D | dir.c | 106 if (!ncp_case_sensitive(dentry->d_inode)) { in ncp_hash_dentry() 122 if (ncp_case_sensitive(dentry->d_inode)) in ncp_compare_dentry() 136 struct inode *inode = dentry->d_inode; in ncp_delete_dentry() 157 inode == inode->i_sb->s_root->d_inode); in ncp_is_server_root() 180 inode = dentry->d_inode; in ncp_force_unlink() 210 struct inode *old_inode = old_dentry->d_inode; in ncp_force_rename() 224 if (new_dentry && new_dentry->d_inode) { in ncp_force_rename() 225 new_nwattr = NCP_FINFO(new_dentry->d_inode)->nwattr; in ncp_force_rename() 267 struct inode *dir = dentry->d_parent->d_inode; in __ncp_lookup_validate() 272 if (!dentry->d_inode || !dir) in __ncp_lookup_validate() [all …]
|
/linux-2.4.37.9/drivers/isdn/avmb1/ |
D | capifs.c | 94 struct inode * inode = filp->f_dentry->d_inode; in capifs_root_readdir() 95 struct capifs_sb_info * sbi = SBI(filp->f_dentry->d_inode->i_sb); in capifs_root_readdir() 141 if ( !dentry->d_inode ) in capifs_revalidate() 144 sbi = SBI(dentry->d_inode->i_sb); in capifs_revalidate() 146 return ( sbi->nccis[dentry->d_inode->i_ino - 2].inode == dentry->d_inode ); in capifs_revalidate() 159 dentry->d_inode = NULL; /* Assume failure */ in capifs_root_lookup() 181 dentry->d_inode = np->inode; in capifs_root_lookup() 182 if ( dentry->d_inode ) in capifs_root_lookup() 183 atomic_inc(&dentry->d_inode->i_count); in capifs_root_lookup() 185 d_add(dentry, dentry->d_inode); in capifs_root_lookup()
|