Home
last modified time | relevance | path

Searched refs:i_sem (Results 1 – 25 of 40) sorted by relevance

12

/linux-2.4.37.9/fs/
Dxattr.c87 down(&d->d_inode->i_sem); in setxattr()
91 up(&d->d_inode->i_sem); in setxattr()
162 down(&d->d_inode->i_sem); in getxattr()
166 up(&d->d_inode->i_sem); in getxattr()
233 down(&d->d_inode->i_sem); in listxattr()
237 up(&d->d_inode->i_sem); in listxattr()
306 down(&d->d_inode->i_sem); in removexattr()
310 up(&d->d_inode->i_sem); in removexattr()
Dnamei.c289 down(&dir->i_sem); in real_lookup()
318 up(&dir->i_sem); in real_lookup()
326 up(&dir->i_sem); in real_lookup()
1059 down(&dir->d_inode->i_sem); in open_namei()
1065 up(&dir->d_inode->i_sem); in open_namei()
1073 up(&dir->d_inode->i_sem); in open_namei()
1087 up(&dir->d_inode->i_sem); in open_namei()
1231 down(&dir->d_inode->i_sem); in open_namei()
1242 down(&nd->dentry->d_inode->i_sem); in lookup_create()
1322 up(&nd.dentry->d_inode->i_sem); in sys_mknod()
[all …]
Dreaddir.c22 down(&inode->i_sem); in vfs_readdir()
31 up(&inode->i_sem); in vfs_readdir()
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()
85 up(&file->f_dentry->d_inode->i_sem); in dcache_dir_lseek()
Dbinfmt_misc.c468 down(&root->d_inode->i_sem); 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()
531 up(&root->d_inode->i_sem); in bm_register_write()
576 down(&root->d_inode->i_sem); in bm_status_write()
583 up(&root->d_inode->i_sem); in bm_status_write()
Dfcntl.c237 down(&inode->i_sem); in setfl()
240 up(&inode->i_sem); in setfl()
/linux-2.4.37.9/fs/nfs/
Dfile.c267 down(&inode->i_sem); in do_unlk()
269 up(&inode->i_sem); in do_unlk()
295 down(&inode->i_sem); in do_setlk()
297 up(&inode->i_sem); in do_setlk()
323 down(&inode->i_sem); in do_setlk()
325 up(&inode->i_sem); in do_setlk()
/linux-2.4.37.9/arch/ia64/sn/io/hwgfs/
Dinterface.c53 up(&nd->dentry->d_parent->d_inode->i_sem); in walk_parents_mkdir()
182 up(&parent_inode->i_sem); in hwgfs_register()
184 up(&parent_inode->i_sem); in hwgfs_register()
212 up(&parent_inode->i_sem); in hwgfs_mk_symlink()
231 up(&parent_inode->i_sem); in hwgfs_mk_dir()
/linux-2.4.37.9/include/linux/
Dhpfs_fs_i.h19 struct semaphore i_sem; /* semaphore */ member
37 #define i_hpfs_sem u.hpfs_i.i_sem
Dpipe_fs_i.h22 #define PIPE_SEM(inode) (&(inode).i_sem)
Dfs.h465 struct semaphore i_sem; member
1615 down(&dir->d_inode->i_sem); in lock_parent()
1626 up(&dir->d_inode->i_sem); in unlock_dir()
1707 double_down(&d1->d_inode->i_sem, &d2->d_inode->i_sem); in double_lock()
1712 double_up(&d1->d_inode->i_sem,&d2->d_inode->i_sem); in double_unlock()
/linux-2.4.37.9/fs/intermezzo/
Ddir.c52 down(&dir->i_sem); in presto_relock_sem()
66 down(&dir->i_sem); in presto_fulllock()
78 up(&dir->i_sem); in presto_unlock()
689 double_up(&dir->i_sem, &dentry->d_inode->i_sem); in presto_rmdir()
694 double_down(&dir->i_sem, &dentry->d_inode->i_sem); in presto_rmdir()
702 double_down(&dir->i_sem, &dentry->d_inode->i_sem); in presto_rmdir()
775 double_up(&old_dir->i_sem, &new_dir->i_sem); in presto_triple_unlock()
784 double_down(&old_dir->i_sem, &new_dir->i_sem); in presto_triple_fulllock()
807 double_down(&old_dir->i_sem, &new_dir->i_sem); in presto_triple_relock_sem()
Dvfs.c670 down(&nd->dentry->d_inode->i_sem); in lookup_create()
733 up(&dentry->d_parent->d_inode->i_sem); in lento_create()
886 up(&nd.dentry->d_inode->i_sem); in lento_link()
1072 down(&nd.dentry->d_inode->i_sem); in lento_unlink()
1091 up(&nd.dentry->d_inode->i_sem); in lento_unlink()
1254 up(&nd.dentry->d_inode->i_sem); in lento_symlink()
1405 up(&nd.dentry->d_inode->i_sem); in lento_mkdir()
1547 down(&nd.dentry->d_inode->i_sem); in lento_rmdir()
1562 up(&nd.dentry->d_inode->i_sem); in lento_rmdir()
1727 up(&nd.dentry->d_inode->i_sem); in lento_mknod()
[all …]
Djournal.c137 down(&inode->i_sem); in izo_do_truncate()
142 up(&inode->i_sem); in izo_do_truncate()
158 up(&inode->i_sem); in izo_do_truncate()
696 double_up(&newnd.dentry->d_inode->i_sem, &oldnd.dentry->d_inode->i_sem); in do_truncate_rename()
773 down(&nd.dentry->d_inode->i_sem); in presto_finish_kml_truncate()
777 up(&nd.dentry->d_inode->i_sem); in presto_finish_kml_truncate()
785 up(&nd.dentry->d_inode->i_sem); in presto_finish_kml_truncate()
807 down(&nd.dentry->d_inode->i_sem); in presto_finish_kml_truncate()
811 up(&nd.dentry->d_inode->i_sem); in presto_finish_kml_truncate()
819 up(&nd.dentry->d_inode->i_sem); in presto_finish_kml_truncate()
/linux-2.4.37.9/fs/coda/
Dfile.c63 down(&coda_inode->i_sem); in coda_file_write()
70 up(&coda_inode->i_sem); in coda_file_write()
268 down(&host_inode->i_sem); in coda_fsync()
270 up(&host_inode->i_sem); in coda_fsync()
/linux-2.4.37.9/fs/reiserfs/
Dfile.c43 down (&inode->i_sem); in reiserfs_file_release()
63 up (&inode->i_sem); in reiserfs_file_release()
Dioctl.c116 down(&inode->i_sem) ; in reiserfs_unpack()
149 up(&inode->i_sem) ; in reiserfs_unpack()
/linux-2.4.37.9/include/linux/nfsd/
Dnfsfh.h307 down(&inode->i_sem); in fh_lock()
323 up(&fhp->fh_dentry->d_inode->i_sem); in fh_unlock()
/linux-2.4.37.9/fs/umsdos/
Dnamei.c564 if (atomic_read(&olddir->i_sem.count) < 1) in UMSDOS_link()
566 down(&olddir->i_sem); in UMSDOS_link()
748 up(&olddir->i_sem); in UMSDOS_link()
819 down(&inode->i_sem); in UMSDOS_mkdir()
836 up(&inode->i_sem); in UMSDOS_mkdir()
Dinode.c210 down(&dir->i_sem); in UMSDOS_notify_change()
212 up(&dir->i_sem); in UMSDOS_notify_change()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_file.c146 down(&inode->i_sem); in __linvfs_write()
149 up(&inode->i_sem); in __linvfs_write()
/linux-2.4.37.9/fs/nfsd/
Dnfsfh.c276 down(&child->d_inode->i_sem); in nfsd_findparent()
278 up(&child->d_inode->i_sem); in nfsd_findparent()
339 down(&parent->d_inode->i_sem); in splice()
379 up(&parent->d_inode->i_sem); in splice()
Dvfs.c546 down(&inode->i_sem); in nfsd_sync()
548 up(&inode->i_sem); in nfsd_sync()
1296 double_down(&tdir->i_sem, &fdir->i_sem); in nfsd_rename()
1342 double_up(&tdir->i_sem, &fdir->i_sem); in nfsd_rename()
/linux-2.4.37.9/fs/autofs4/
Droot.c281 up(&dir->i_sem); in autofs4_root_lookup()
283 down(&dir->i_sem); in autofs4_root_lookup()
/linux-2.4.37.9/mm/
Dfilemap.c1807 down(&inode->i_sem); in generic_file_read()
1811 up(&inode->i_sem); in generic_file_read()
2361 down(&inode->i_sem); in msync_interval()
2375 up(&inode->i_sem); in msync_interval()
3328 down(&inode->i_sem); in do_odirect_fallback()
3335 up(&inode->i_sem); in do_odirect_fallback()
3355 down(&inode->i_sem); in generic_file_write()
3357 up(&inode->i_sem); in generic_file_write()
3362 down(&inode->i_sem); in generic_file_write()
3364 up(&inode->i_sem); in generic_file_write()
/linux-2.4.37.9/fs/autofs/
Droot.c225 up(&dir->i_sem); in autofs_root_lookup()
227 down(&dir->i_sem); in autofs_root_lookup()

12