Home
last modified time | relevance | path

Searched refs:sem (Results 1 – 17 of 17) sorted by relevance

/fs/jffs2/
Ddir.c91 mutex_lock(&dir_f->sem); in jffs2_lookup()
104 mutex_unlock(&dir_f->sem); in jffs2_lookup()
146 mutex_lock(&f->sem); in jffs2_readdir()
168 mutex_unlock(&f->sem); in jffs2_readdir()
215 mutex_unlock(&f->sem); in jffs2_create()
285 mutex_lock(&f->sem); in jffs2_link()
287 mutex_unlock(&f->sem); in jffs2_link()
361 mutex_unlock(&f->sem); in jffs2_symlink()
371 mutex_unlock(&f->sem); in jffs2_symlink()
384 mutex_unlock(&f->sem); in jffs2_symlink()
[all …]
Dwrite.c145 mutex_unlock(&f->sem); in jffs2_write_dnode()
150 mutex_lock(&f->sem); in jffs2_write_dnode()
297 mutex_unlock(&f->sem); in jffs2_write_dirent()
302 mutex_lock(&f->sem); in jffs2_write_dirent()
368 mutex_lock(&f->sem); in jffs2_write_inode_range()
396 mutex_unlock(&f->sem); in jffs2_write_inode_range()
419 mutex_unlock(&f->sem); in jffs2_write_inode_range()
423 mutex_unlock(&f->sem); in jffs2_write_inode_range()
459 mutex_lock(&f->sem); in jffs2_do_create()
472 mutex_unlock(&f->sem); in jffs2_do_create()
[all …]
Dfs.c58 mutex_lock(&f->sem); in jffs2_do_setattr()
62 mutex_unlock(&f->sem); in jffs2_do_setattr()
67 mutex_unlock(&f->sem); in jffs2_do_setattr()
71 mutex_unlock(&f->sem); in jffs2_do_setattr()
91 mutex_lock(&f->sem); in jffs2_do_setattr()
144 mutex_unlock(&f->sem); in jffs2_do_setattr()
175 mutex_unlock(&f->sem); in jffs2_do_setattr()
271 mutex_lock(&f->sem); in jffs2_iget()
276 mutex_unlock(&f->sem); in jffs2_iget()
355 mutex_unlock(&f->sem); in jffs2_iget()
[all …]
Dfile.c128 mutex_lock(&f->sem); in jffs2_readpage()
130 mutex_unlock(&f->sem); in jffs2_readpage()
157 mutex_lock(&f->sem); in jffs2_write_begin()
162 mutex_unlock(&f->sem); in jffs2_write_begin()
230 mutex_unlock(&f->sem); in jffs2_write_begin()
237 mutex_unlock(&f->sem); in jffs2_write_begin()
Dreadinode.c1226 mutex_unlock(&f->sem); in jffs2_do_read_inode_internal()
1235 mutex_unlock(&f->sem); in jffs2_do_read_inode_internal()
1274 mutex_unlock(&f->sem); in jffs2_do_read_inode_internal()
1281 mutex_unlock(&f->sem); in jffs2_do_read_inode_internal()
1294 mutex_unlock(&f->sem); in jffs2_do_read_inode_internal()
1312 mutex_unlock(&f->sem); in jffs2_do_read_inode_internal()
1319 mutex_unlock(&f->sem); in jffs2_do_read_inode_internal()
1328 mutex_unlock(&f->sem); in jffs2_do_read_inode_internal()
1418 mutex_init(&f->sem); in jffs2_do_crccheck_inode()
1419 mutex_lock(&f->sem); in jffs2_do_crccheck_inode()
[all …]
DREADME.Locking41 Ordering constraints: See f->sem.
44 File Mutex f->sem
69 any f->sem held.
89 the list are protected by the file mutex f->sem. But the erase code
114 Note, the f->sem guarantees that the correspondent jffs2_inode_cache
151 Lock wbuf_sem last, after the alloc_sem or and f->sem.
Djffs2_fs_i.h27 struct mutex sem; member
Ddebug.c69 mutex_lock(&f->sem); in __jffs2_dbg_fragtree_paranoia_check()
71 mutex_unlock(&f->sem); in __jffs2_dbg_fragtree_paranoia_check()
697 mutex_lock(&f->sem); in __jffs2_dbg_dump_fragtree()
699 mutex_unlock(&f->sem); in __jffs2_dbg_dump_fragtree()
Dsuper.c62 mutex_init(&f->sem); in jffs2_i_init_once()
Dgc.c486 mutex_lock(&f->sem); in jffs2_garbage_collect_live()
566 mutex_unlock(&f->sem); in jffs2_garbage_collect_live()
/fs/ecryptfs/
Dkeystore.c520 down_write(&(walker->global_auth_tok_key->sem)); in ecryptfs_find_global_auth_tok_for_sig()
533 up_write(&(walker->global_auth_tok_key->sem)); in ecryptfs_find_global_auth_tok_for_sig()
872 up_write(&(auth_tok_key->sem)); in ecryptfs_write_tag_70_packet()
1109 up_write(&(auth_tok_key->sem)); in ecryptfs_parse_tag_70_packet()
1644 down_write(&(*auth_tok_key)->sem); in ecryptfs_keyring_auth_tok_for_sig()
1647 up_write(&(*auth_tok_key)->sem); in ecryptfs_keyring_auth_tok_for_sig()
1907 up_write(&(auth_tok_key->sem)); in ecryptfs_parse_packet_set()
1915 up_write(&(auth_tok_key->sem)); in ecryptfs_parse_packet_set()
1920 up_write(&(auth_tok_key->sem)); in ecryptfs_parse_packet_set()
1982 up_write(&(auth_tok_key->sem)); in pki_encrypt_session_key()
[all …]
Dmain.c221 up_write(&(global_auth_tok->global_auth_tok_key)->sem); in ecryptfs_init_global_auth_toks()
/fs/afs/
Dserver.c83 init_rwsem(&server->sem); in afs_alloc_server()
Dinternal.h280 struct rw_semaphore sem; /* access lock */ member
/fs/reiserfs/
Dreiserfs.h689 reiserfs_down_read_safe(struct rw_semaphore *sem, struct super_block *s) in reiserfs_down_read_safe() argument
693 down_read(sem); in reiserfs_down_read_safe()
/fs/cifs/
Dconnect.c2347 down_read(&key->sem); in cifs_set_cifscreds()
2403 up_read(&key->sem); in cifs_set_cifscreds()
DCHANGES518 except when already in write. Grab per socket sem during reconnect