Home
last modified time | relevance | path

Searched refs:f_dentry (Results 1 – 25 of 242) sorted by relevance

12345678910

/linux-2.4.37.9/fs/intermezzo/
Dfile.c113 is_iopen = izo_dentry_is_ilookup(file->f_dentry, &inum, &gen); in open_check_dod()
130 if (presto_chk(file->f_dentry, PRESTO_DONT_JOURNAL)) { in open_check_dod()
135 if (presto_chk(file->f_dentry, PRESTO_DATA)) { in open_check_dod()
140 if (cache->cache_filter->o_trops->tr_all_data(file->f_dentry->d_inode)) { in open_check_dod()
160 if (presto_prep(file->f_dentry, &cache, &fset) < 0) { in presto_file_open()
168 presto_chk(file->f_dentry, PRESTO_DATA), inode->i_ino, in presto_file_open()
183 CDEBUG(D_CACHE, "dentry: %p setting DATA, ATTR\n", file->f_dentry); in presto_file_open()
184 presto_set(file->f_dentry, PRESTO_ATTR | PRESTO_DATA); in presto_file_open()
185 rc = presto_open_upcall(minor, file->f_dentry); in presto_file_open()
197 presto_set(file->f_dentry, PRESTO_ATTR | PRESTO_DATA); in presto_file_open()
[all …]
Ddir.c960 dd = presto_d2d(file->f_dentry); in presto_ioctl()
1005 fset = presto_fset(file->f_dentry); in presto_ioctl()
1028 fset = presto_fset(file->f_dentry); in presto_ioctl()
1052 fset = presto_fset(file->f_dentry); in presto_ioctl()
1083 fset = presto_fset(file->f_dentry); in presto_ioctl()
1098 fset = presto_fset(file->f_dentry); in presto_ioctl()
1137 fset = presto_fset(file->f_dentry); in presto_ioctl()
1155 fset = presto_fset(file->f_dentry); in presto_ioctl()
1170 rc = izo_revoke_permit(file->f_dentry, data->ioc_uuid); in presto_ioctl()
1172 rc = izo_revoke_permit(file->f_dentry, NULL); in presto_ioctl()
[all …]
Dkml_reint.c44 struct presto_dentry_data *dd = presto_d2d(dir->f_dentry); in kmlreint_pre_secure()
124 fset = presto_fset(file->f_dentry); in reint_close()
143 presto_d2d(file->f_dentry)->dd_flags &= ~PRESTO_DATA; in reint_close()
463 struct presto_dentry_data *dd = presto_d2d(dir->f_dentry); in kml_reint_rec()
472 error = presto_prep(dir->f_dentry, &cache, &fset); in kml_reint_rec()
478 if (!dd || !dd->dd_fset || dd->dd_fset->fset_dentry != dir->f_dentry) { in kml_reint_rec()
480 dir->f_dentry->d_inode->i_ino); in kml_reint_rec()
567 struct presto_dentry_data *dd = presto_d2d(dir->f_dentry); in izo_get_fileid()
573 error = presto_prep(dir->f_dentry, &cache, &fset); in izo_get_fileid()
579 if (!dd || !dd->dd_fset || dd->dd_fset->fset_dentry != dir->f_dentry) { in izo_get_fileid()
[all …]
/linux-2.4.37.9/fs/
Dioctl.c18 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()
Dread_write.c56 inode = file->f_dentry->d_inode; in rw_verify_area()
71 offset += file->f_dentry->d_inode->i_size; in generic_file_llseek()
77 if (offset>=0 && offset<=file->f_dentry->d_inode->i_sb->s_maxbytes) { in generic_file_llseek()
99 offset += file->f_dentry->d_inode->i_size; in default_llseek()
203 dnotify_parent(file->f_dentry, DN_ACCESS); in sys_read()
227 dnotify_parent(file->f_dentry, DN_MODIFY); in sys_write()
342 dnotify_parent(file->f_dentry, in do_readv_writev()
415 dnotify_parent(file->f_dentry, DN_ACCESS); in sys_pread()
447 dnotify_parent(file->f_dentry, DN_MODIFY); in sys_pwrite()
Dreaddir.c18 struct inode *inode = file->f_dentry->d_inode; in vfs_readdir()
40 file->private_data = d_alloc(file->f_dentry, &cursor_name); in dcache_dir_open()
53 down(&file->f_dentry->d_inode->i_sem); in dcache_dir_lseek()
61 up(&file->f_dentry->d_inode->i_sem); in dcache_dir_lseek()
73 p = file->f_dentry->d_subdirs.next; in dcache_dir_lseek()
74 while (n && p != &file->f_dentry->d_subdirs) { in dcache_dir_lseek()
85 up(&file->f_dentry->d_inode->i_sem); in dcache_dir_lseek()
102 struct dentry *dentry = filp->f_dentry; in dcache_readdir()
Dfile_table.c91 filp->f_dentry = dentry; in init_private_file()
105 struct dentry * dentry = file->f_dentry; in fput()
121 file->f_dentry = NULL; in fput()
176 struct inode *inode = file->f_dentry->d_inode; in fs_may_remount_ro()
Dxattr.c135 error = setxattr(f->f_dentry, name, value, size, flags); in sys_fsetxattr()
213 error = getxattr(f->f_dentry, name, value, size); in sys_fgetxattr()
284 error = listxattr(f->f_dentry, list, size); in sys_flistxattr()
352 error = removexattr(f->f_dentry, name); in sys_fremovexattr()
/linux-2.4.37.9/arch/sparc64/solaris/
Dsocksys.c92 dentry = filp->f_dentry; in socksys_open()
93 filp->f_dentry = dget(fcheck(fd)->f_dentry); in socksys_open()
94 filp->f_dentry->d_inode->i_rdev = inode->i_rdev; in socksys_open()
95 filp->f_dentry->d_inode->i_flock = inode->i_flock; in socksys_open()
96 filp->f_dentry->d_inode->u.socket_i.file = filp; in socksys_open()
144 ino=filp->f_dentry->d_inode; in socksys_poll()
/linux-2.4.37.9/fs/coda/
Dfile.c51 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()
266 host_dentry = host_file->f_dentry; in coda_fsync()
/linux-2.4.37.9/arch/ppc64/kernel/
Drtas_flash.c161 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in rtas_flash_release()
223 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in rtas_flash_read()
263 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in rtas_flash_write()
316 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in rtas_excl_open()
333 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in rtas_excl_release()
363 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in manage_flash_read()
395 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in manage_flash_write()
475 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in validate_flash_read()
505 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in validate_flash_write()
554 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in validate_flash_release()
Dscanlog.c50 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in scanlog_read()
160 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in scanlog_open()
181 struct proc_dir_entry *dp = file->f_dentry->d_inode->u.generic_ip; in scanlog_release()
/linux-2.4.37.9/fs/nfs/
Dfile.c74 struct inode *inode = file->f_dentry->d_inode; in nfs_file_flush()
95 struct dentry * dentry = file->f_dentry; in nfs_file_read()
112 struct dentry *dentry = file->f_dentry; in nfs_file_mmap()
216 struct dentry * dentry = file->f_dentry; in nfs_file_write()
286 struct inode *inode = filp->f_dentry->d_inode; in do_setlk()
337 struct inode * inode = filp->f_dentry->d_inode; in nfs_lock()
Ddirect.c54 struct inode * inode = file->f_dentry->d_inode; in nfs_direct_read_rpc()
83 struct inode *inode = file->f_dentry->d_inode; in nfs_direct_write_rpc()
173 struct inode *inode = file->f_dentry->d_inode; in nfs_direct_read()
244 struct inode *inode = file->f_dentry->d_inode; in nfs_direct_write()
355 struct dentry *dentry = file->f_dentry; in nfs_direct_IO()
/linux-2.4.37.9/fs/smbfs/
Dfile.c108 struct dentry *dentry = file->f_dentry; in smb_readpage()
211 struct dentry *dentry = file->f_dentry; in smb_updatepage()
222 struct dentry * dentry = file->f_dentry; in smb_file_read()
247 struct dentry * dentry = file->f_dentry; in smb_file_mmap()
304 struct dentry * dentry = file->f_dentry; in smb_file_write()
336 struct dentry *dentry = file->f_dentry; in smb_file_open()
/linux-2.4.37.9/fs/lockd/
Dsvclock.c314 file->f_file.f_dentry->d_inode->i_dev, in nlmsvc_lock()
315 file->f_file.f_dentry->d_inode->i_ino, in nlmsvc_lock()
397 file->f_file.f_dentry->d_inode->i_dev, in nlmsvc_testlock()
398 file->f_file.f_dentry->d_inode->i_ino, in nlmsvc_testlock()
429 file->f_file.f_dentry->d_inode->i_dev, in nlmsvc_unlock()
430 file->f_file.f_dentry->d_inode->i_ino, in nlmsvc_unlock()
457 file->f_file.f_dentry->d_inode->i_dev, in nlmsvc_cancel_blocked()
458 file->f_file.f_dentry->d_inode->i_ino, in nlmsvc_cancel_blocked()
/linux-2.4.37.9/fs/fat/
Dfile.c45 struct inode *inode = filp->f_dentry->d_inode; in fat_file_read()
90 struct inode *inode = filp->f_dentry->d_inode; in fat_file_write()
102 struct inode *inode = filp->f_dentry->d_inode; in default_fat_file_write()
/linux-2.4.37.9/fs/nfsd/
Dlockd.c36 dget(filp->f_dentry); in nlm_fopen()
59 dput(filp->f_dentry); in nlm_fclose()
/linux-2.4.37.9/fs/proc/
Dgeneric.c52 struct inode * inode = file->f_dentry->d_inode; in proc_file_read()
131 struct inode *inode = file->f_dentry->d_inode; in proc_file_write()
151 offset += file->f_dentry->d_inode->i_size; in proc_file_lseek()
157 if (offset>=0 && (unsigned long long)offset<=file->f_dentry->d_inode->i_sb->s_maxbytes) { in proc_file_lseek()
304 struct inode *inode = filp->f_dentry->d_inode; in proc_readdir()
320 filp->f_dentry->d_parent->d_inode->i_ino, in proc_readdir()
407 struct dentry * dentry = filp->f_dentry; in proc_kill_inodes()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_file.c70 struct inode *inode = file->f_dentry->d_inode; in __linvfs_read()
115 struct inode *inode = file->f_dentry->d_inode; in __linvfs_write()
253 vp = LINVFS_GET_VP(filp->f_dentry->d_inode); in linvfs_readdir()
320 struct inode *ip = filp->f_dentry->d_inode; in linvfs_file_mmap()
396 vnode_t *vp = LINVFS_GET_VP(vma->vm_file->f_dentry->d_inode); in linvfs_mprotect()
/linux-2.4.37.9/net/netlink/
Dnetlink_dev.c44 struct socket *sock = netlink_user[MINOR(file->f_dentry->d_inode->i_rdev)]; in netlink_poll()
58 struct inode *inode = file->f_dentry->d_inode; in netlink_write()
82 struct inode *inode = file->f_dentry->d_inode; in netlink_read()
/linux-2.4.37.9/arch/x86_64/kernel/
Dmsr.c184 int cpu = MINOR(file->f_dentry->d_inode->i_rdev); in msr_read()
209 int cpu = MINOR(file->f_dentry->d_inode->i_rdev); in msr_write()
229 int cpu = MINOR(file->f_dentry->d_inode->i_rdev); in msr_open()
/linux-2.4.37.9/arch/i386/kernel/
Dmsr.c184 int cpu = MINOR(file->f_dentry->d_inode->i_rdev); in msr_read()
209 int cpu = MINOR(file->f_dentry->d_inode->i_rdev); in msr_write()
229 int cpu = MINOR(file->f_dentry->d_inode->i_rdev); in msr_open()
/linux-2.4.37.9/fs/ncpfs/
Dmmap.c32 struct dentry *dentry = file->f_dentry; in ncp_file_mmap_nopage()
97 struct inode *inode = file->f_dentry->d_inode; in ncp_mmap()
/linux-2.4.37.9/net/
Dsocket.c353 file->f_dentry = d_alloc(sock_mnt->mnt_sb->s_root, &this); in sock_map_fd()
354 if (!file->f_dentry) { in sock_map_fd()
360 file->f_dentry->d_op = &sockfs_dentry_operations; in sock_map_fd()
361 d_add(file->f_dentry, sock->inode); in sock_map_fd()
406 inode = file->f_dentry->d_inode; in sockfd_lookup()
545 sock = socki_lookup(file->f_dentry->d_inode); in sock_read()
578 sock = socki_lookup(file->f_dentry->d_inode); in sock_write()
604 sock = socki_lookup(file->f_dentry->d_inode); in sock_sendpage()
649 return sock_readv_writev(VERIFY_WRITE, file->f_dentry->d_inode, in sock_readv()
660 return sock_readv_writev(VERIFY_READ, file->f_dentry->d_inode, in sock_writev()
[all …]

12345678910