Home
last modified time | relevance | path

Searched refs:f_lock (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.1/mm/
Dfadvise.c82 spin_lock(&file->f_lock); in generic_fadvise()
84 spin_unlock(&file->f_lock); in generic_fadvise()
87 spin_lock(&file->f_lock); in generic_fadvise()
89 spin_unlock(&file->f_lock); in generic_fadvise()
93 spin_lock(&file->f_lock); in generic_fadvise()
95 spin_unlock(&file->f_lock); in generic_fadvise()
Dfilemap.c733 spin_lock(&file->f_lock); in file_check_and_advance_wb_err()
738 spin_unlock(&file->f_lock); in file_check_and_advance_wb_err()
/Linux-v6.1/tools/memory-model/Documentation/
Daccess-marking.txt360 spinlock_t f_lock;
372 spin_lock(&fp->f_lock);
375 spin_unlock(&fp->f_lock);
378 spin_unlock(&fp->f_lock);
382 spin_lock(&fp->f_lock);
386 * will wait for ->f_lock to be released.
389 spin_unlock(&fp->f_lock);
403 spin_lock(&fp->f_lock);
404 spin_unlock(&fp->f_lock);
419 rechecked while holding ->f_lock, which, if global_flag is now false,
[all …]
/Linux-v6.1/fs/
Dfcntl.c79 spin_lock(&filp->f_lock); in setfl()
82 spin_unlock(&filp->f_lock); in setfl()
867 spin_lock(&filp->f_lock); in fasync_remove_entry()
884 spin_unlock(&filp->f_lock); in fasync_remove_entry()
914 spin_lock(&filp->f_lock); in fasync_insert_entry()
936 spin_unlock(&filp->f_lock); in fasync_insert_entry()
Deventpoll.c294 spin_lock(&epi->ffd.file->f_lock); in unlist_file()
298 spin_unlock(&epi->ffd.file->f_lock); in unlist_file()
700 spin_lock(&file->f_lock); in ep_remove()
713 spin_unlock(&file->f_lock); in ep_remove()
1426 spin_lock(&file->f_lock); in attach_epitem()
1429 spin_unlock(&file->f_lock); in attach_epitem()
1436 spin_unlock(&file->f_lock); in attach_epitem()
Dfile_table.c151 spin_lock_init(&f->f_lock); in __alloc_file()
Dioctl.c355 spin_lock(&filp->f_lock); in ioctl_fionbio()
360 spin_unlock(&filp->f_lock); in ioctl_fionbio()
Dread_write.c107 spin_lock(&file->f_lock); in generic_file_llseek_size()
109 spin_unlock(&file->f_lock); in generic_file_llseek_size()
/Linux-v6.1/fs/ksmbd/
Dvfs_cache.c369 spin_lock(&fp->f_lock); in set_close_state_blocked_works()
376 spin_unlock(&fp->f_lock); in set_close_state_blocked_works()
568 spin_lock_init(&fp->f_lock); in ksmbd_open_fd()
Dvfs_cache.h68 spinlock_t f_lock; member
Dvfs.c996 spin_lock(&filp->f_lock); in ksmbd_vfs_set_fadvise()
998 spin_unlock(&filp->f_lock); in ksmbd_vfs_set_fadvise()
1000 spin_lock(&filp->f_lock); in ksmbd_vfs_set_fadvise()
1002 spin_unlock(&filp->f_lock); in ksmbd_vfs_set_fadvise()
Dsmb2pdu.c7047 spin_lock(&fp->f_lock); in smb2_lock()
7049 spin_unlock(&fp->f_lock); in smb2_lock()
7063 spin_lock(&fp->f_lock); in smb2_lock()
7065 spin_unlock(&fp->f_lock); in smb2_lock()
7087 spin_lock(&fp->f_lock); in smb2_lock()
7089 spin_unlock(&fp->f_lock); in smb2_lock()
/Linux-v6.1/drivers/tty/vt/
Dvc_screen.c161 spin_lock(&file->f_lock); in vcs_poll_data_get()
169 spin_unlock(&file->f_lock); in vcs_poll_data_get()
/Linux-v6.1/fs/gfs2/
Dfile.c1456 spin_lock(&file->f_lock); in __flock_holder_uninit()
1458 spin_unlock(&file->f_lock); in __flock_holder_uninit()
1495 spin_lock(&file->f_lock); in do_flock()
1497 spin_unlock(&file->f_lock); in do_flock()
Dglock.c2868 spin_lock(&i->file->f_lock); in gfs2_glockfd_seq_show_flock()
2871 spin_unlock(&i->file->f_lock); in gfs2_glockfd_seq_show_flock()
/Linux-v6.1/fs/nfs/
Ddir.c1240 spin_lock(&file->f_lock); in nfs_readdir()
1251 spin_unlock(&file->f_lock); in nfs_readdir()
1294 spin_lock(&file->f_lock); in nfs_readdir()
1303 spin_unlock(&file->f_lock); in nfs_readdir()
1325 spin_lock(&filp->f_lock); in nfs_llseek_dir()
1330 spin_lock(&filp->f_lock); in nfs_llseek_dir()
1333 spin_unlock(&filp->f_lock); in nfs_llseek_dir()
1349 spin_unlock(&filp->f_lock); in nfs_llseek_dir()
/Linux-v6.1/fs/overlayfs/
Dfile.c97 spin_lock(&file->f_lock); in ovl_change_flags()
99 spin_unlock(&file->f_lock); in ovl_change_flags()
/Linux-v6.1/security/apparmor/
Dapparmorfs.c851 spin_lock(&file->f_lock); in multi_transaction_set()
854 spin_unlock(&file->f_lock); in multi_transaction_set()
883 spin_lock(&file->f_lock); in multi_transaction_read()
885 spin_unlock(&file->f_lock); in multi_transaction_read()
/Linux-v6.1/drivers/usb/gadget/function/
Df_mass_storage.c736 spin_lock(&curlun->filp->f_lock); in do_write()
738 spin_unlock(&curlun->filp->f_lock); in do_write()
763 spin_lock(&curlun->filp->f_lock); in do_write()
765 spin_unlock(&curlun->filp->f_lock); in do_write()
/Linux-v6.1/ipc/
Dmqueue.c1481 spin_lock(&f.file->f_lock); in do_mq_getsetattr()
1486 spin_unlock(&f.file->f_lock); in do_mq_getsetattr()
/Linux-v6.1/sound/core/oss/
Dpcm_oss.c2020 spin_lock(&file->f_lock); in snd_pcm_oss_nonblock()
2022 spin_unlock(&file->f_lock); in snd_pcm_oss_nonblock()
/Linux-v6.1/fs/f2fs/
Dfile.c4726 spin_lock(&filp->f_lock); in f2fs_file_fadvise()
4728 spin_unlock(&filp->f_lock); in f2fs_file_fadvise()
/Linux-v6.1/include/linux/
Dfs.h954 spinlock_t f_lock; member