Searched refs:flctx (Results 1 - 9 of 9) sorted by relevance
/linux-master/fs/lockd/ |
H A D | svcsubs.c | 213 struct file_lock_context *flctx = locks_inode_context(inode); local 216 if (!flctx || list_empty_careful(&flctx->flc_posix)) 220 spin_lock(&flctx->flc_lock); 221 for_each_file_lock(fl, &flctx->flc_posix) { 231 spin_unlock(&flctx->flc_lock); 237 spin_unlock(&flctx->flc_lock); 268 struct file_lock_context *flctx = locks_inode_context(inode); local 273 if (flctx && !list_empty_careful(&flctx [all...] |
/linux-master/fs/nfs/ |
H A D | write.c | 1179 struct file_lock_context *flctx = locks_inode_context(file_inode(file)); local 1197 if (l_ctx && flctx && 1198 !(list_empty_careful(&flctx->flc_posix) && 1199 list_empty_careful(&flctx->flc_flock))) { 1315 struct file_lock_context *flctx = locks_inode_context(inode); local 1325 if (!flctx || (list_empty_careful(&flctx->flc_flock) && 1326 list_empty_careful(&flctx->flc_posix))) 1331 spin_lock(&flctx->flc_lock); 1332 if (!list_empty(&flctx [all...] |
H A D | delegation.c | 149 struct file_lock_context *flctx = locks_inode_context(inode); local 153 if (flctx == NULL) 156 list = &flctx->flc_posix; 157 spin_lock(&flctx->flc_lock); 162 spin_unlock(&flctx->flc_lock); 166 spin_lock(&flctx->flc_lock); 168 if (list == &flctx->flc_posix) { 169 list = &flctx->flc_flock; 172 spin_unlock(&flctx->flc_lock);
|
H A D | pagelist.c | 1181 struct file_lock_context *flctx; local 1186 flctx = locks_inode_context(d_inode(nfs_req_openctx(req)->dentry)); 1187 if (flctx != NULL && 1188 !(list_empty_careful(&flctx->flc_posix) && 1189 list_empty_careful(&flctx->flc_flock)) &&
|
H A D | nfs4state.c | 1519 struct file_lock_context *flctx = locks_inode_context(inode); local 1522 if (flctx == NULL) 1525 list = &flctx->flc_posix; 1529 spin_lock(&flctx->flc_lock); 1534 spin_unlock(&flctx->flc_lock); 1565 spin_lock(&flctx->flc_lock); 1567 if (list == &flctx->flc_posix) { 1568 list = &flctx->flc_flock; 1571 spin_unlock(&flctx->flc_lock);
|
/linux-master/include/linux/ |
H A D | filelock.h | 219 bool locks_owner_has_blockers(struct file_lock_context *flctx, 398 static inline bool locks_owner_has_blockers(struct file_lock_context *flctx, argument
|
/linux-master/fs/ |
H A D | locks.c | 324 * @flctx: file lock context 331 bool locks_owner_has_blockers(struct file_lock_context *flctx, fl_owner_t owner) argument 335 spin_lock(&flctx->flc_lock); 336 list_for_each_entry(flc, &flctx->flc_posix, flc_list) { 340 spin_unlock(&flctx->flc_lock); 344 spin_unlock(&flctx->flc_lock); 2644 locks_remove_flock(struct file *filp, struct file_lock_context *flctx) argument 2649 if (list_empty(&flctx->flc_flock))
|
/linux-master/fs/smb/client/ |
H A D | file.c | 1641 struct file_lock_context *flctx = locks_inode_context(inode); local 1650 if (!flctx) 1653 spin_lock(&flctx->flc_lock); 1654 list_for_each(el, &flctx->flc_posix) { 1657 spin_unlock(&flctx->flc_lock); 1676 spin_lock(&flctx->flc_lock); 1677 for_each_file_lock(flock, &flctx->flc_posix) { 1700 spin_unlock(&flctx->flc_lock);
|
/linux-master/fs/nfsd/ |
H A D | nfs4state.c | 8277 struct file_lock_context *flctx; local 8288 flctx = locks_inode_context(inode); 8290 if (flctx && !list_empty_careful(&flctx->flc_posix)) { 8291 spin_lock(&flctx->flc_lock); 8292 for_each_file_lock(fl, &flctx->flc_posix) { 8298 spin_unlock(&flctx->flc_lock);
|
Completed in 225 milliseconds