Home
last modified time | relevance | path

Searched refs:flctx (Results 1 – 25 of 26) sorted by relevance

12

/dports/mail/dovecot-pigeonhole/dovecot-2.3-pigeonhole-0.5.17/src/lib-sieve/storage/file/
H A Dsieve-file-storage-list.c30 struct sieve_file_list_context *flctx; in sieve_file_storage_list_init() local
62 flctx = NULL; in sieve_file_storage_list_init()
66 flctx->pool = pool; in sieve_file_storage_list_init()
67 flctx->dirp = dirp; in sieve_file_storage_list_init()
72 if ( flctx == NULL ) { in sieve_file_storage_list_init()
79 return &flctx->context; in sieve_file_storage_list_init()
85 struct sieve_file_list_context *flctx = in sieve_file_storage_list_next() local
112 if ( flctx->active != NULL && strcmp(dp->d_name, flctx->active) == 0 ) { in sieve_file_storage_list_next()
114 flctx->active = NULL; in sieve_file_storage_list_next()
127 if (closedir(flctx->dirp) < 0) { in sieve_file_storage_list_deinit()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/lockd/
H A Dsvcsubs.c168 struct file_lock_context *flctx = inode->i_flctx; in nlm_traverse_locks() local
171 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()
175 spin_lock(&flctx->flc_lock); in nlm_traverse_locks()
176 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_traverse_locks()
187 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
199 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
230 struct file_lock_context *flctx = inode->i_flctx; in nlm_file_inuse() local
235 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
236 spin_lock(&flctx->flc_lock); in nlm_file_inuse()
239 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/fs/lockd/
H A Dsvcsubs.c168 struct file_lock_context *flctx = inode->i_flctx; in nlm_traverse_locks() local
171 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()
175 spin_lock(&flctx->flc_lock); in nlm_traverse_locks()
176 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_traverse_locks()
187 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
199 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
230 struct file_lock_context *flctx = inode->i_flctx; in nlm_file_inuse() local
235 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
236 spin_lock(&flctx->flc_lock); in nlm_file_inuse()
239 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/lockd/
H A Dsvcsubs.c168 struct file_lock_context *flctx = inode->i_flctx; in nlm_traverse_locks() local
171 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()
175 spin_lock(&flctx->flc_lock); in nlm_traverse_locks()
176 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_traverse_locks()
187 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
199 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
230 struct file_lock_context *flctx = inode->i_flctx; in nlm_file_inuse() local
235 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
236 spin_lock(&flctx->flc_lock); in nlm_file_inuse()
239 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/nfs/
H A Dwrite.c1220 if (l_ctx && flctx && in nfs_flush_incompatible()
1221 !(list_empty_careful(&flctx->flc_posix) && in nfs_flush_incompatible()
1222 list_empty_careful(&flctx->flc_flock))) { in nfs_flush_incompatible()
1323 struct file_lock_context *flctx = inode->i_flctx; in nfs_can_extend_write() local
1332 if (!flctx || (list_empty_careful(&flctx->flc_flock) && in nfs_can_extend_write()
1333 list_empty_careful(&flctx->flc_posix))) in nfs_can_extend_write()
1338 spin_lock(&flctx->flc_lock); in nfs_can_extend_write()
1339 if (!list_empty(&flctx->flc_posix)) { in nfs_can_extend_write()
1340 fl = list_first_entry(&flctx->flc_posix, struct file_lock, in nfs_can_extend_write()
1344 } else if (!list_empty(&flctx->flc_flock)) { in nfs_can_extend_write()
[all …]
H A Ddelegation.c142 struct file_lock_context *flctx = inode->i_flctx; in nfs_delegation_claim_locks() local
146 if (flctx == NULL) in nfs_delegation_claim_locks()
149 list = &flctx->flc_posix; in nfs_delegation_claim_locks()
150 spin_lock(&flctx->flc_lock); in nfs_delegation_claim_locks()
155 spin_unlock(&flctx->flc_lock); in nfs_delegation_claim_locks()
159 spin_lock(&flctx->flc_lock); in nfs_delegation_claim_locks()
161 if (list == &flctx->flc_posix) { in nfs_delegation_claim_locks()
162 list = &flctx->flc_flock; in nfs_delegation_claim_locks()
165 spin_unlock(&flctx->flc_lock); in nfs_delegation_claim_locks()
H A Dnfs4state.c1498 struct file_lock_context *flctx = inode->i_flctx; in nfs4_reclaim_locks() local
1501 if (flctx == NULL) in nfs4_reclaim_locks()
1504 list = &flctx->flc_posix; in nfs4_reclaim_locks()
1508 spin_lock(&flctx->flc_lock); in nfs4_reclaim_locks()
1513 spin_unlock(&flctx->flc_lock); in nfs4_reclaim_locks()
1544 spin_lock(&flctx->flc_lock); in nfs4_reclaim_locks()
1546 if (list == &flctx->flc_posix) { in nfs4_reclaim_locks()
1547 list = &flctx->flc_flock; in nfs4_reclaim_locks()
1550 spin_unlock(&flctx->flc_lock); in nfs4_reclaim_locks()
H A Dpagelist.c1055 struct file_lock_context *flctx; in nfs_coalesce_size() local
1060 flctx = d_inode(nfs_req_openctx(req)->dentry)->i_flctx; in nfs_coalesce_size()
1061 if (flctx != NULL && in nfs_coalesce_size()
1062 !(list_empty_careful(&flctx->flc_posix) && in nfs_coalesce_size()
1063 list_empty_careful(&flctx->flc_flock)) && in nfs_coalesce_size()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/nfs/
H A Dwrite.c1220 if (l_ctx && flctx && in nfs_flush_incompatible()
1221 !(list_empty_careful(&flctx->flc_posix) && in nfs_flush_incompatible()
1222 list_empty_careful(&flctx->flc_flock))) { in nfs_flush_incompatible()
1323 struct file_lock_context *flctx = inode->i_flctx; in nfs_can_extend_write() local
1332 if (!flctx || (list_empty_careful(&flctx->flc_flock) && in nfs_can_extend_write()
1333 list_empty_careful(&flctx->flc_posix))) in nfs_can_extend_write()
1338 spin_lock(&flctx->flc_lock); in nfs_can_extend_write()
1339 if (!list_empty(&flctx->flc_posix)) { in nfs_can_extend_write()
1340 fl = list_first_entry(&flctx->flc_posix, struct file_lock, in nfs_can_extend_write()
1344 } else if (!list_empty(&flctx->flc_flock)) { in nfs_can_extend_write()
[all …]
H A Ddelegation.c142 struct file_lock_context *flctx = inode->i_flctx; in nfs_delegation_claim_locks() local
146 if (flctx == NULL) in nfs_delegation_claim_locks()
149 list = &flctx->flc_posix; in nfs_delegation_claim_locks()
150 spin_lock(&flctx->flc_lock); in nfs_delegation_claim_locks()
155 spin_unlock(&flctx->flc_lock); in nfs_delegation_claim_locks()
159 spin_lock(&flctx->flc_lock); in nfs_delegation_claim_locks()
161 if (list == &flctx->flc_posix) { in nfs_delegation_claim_locks()
162 list = &flctx->flc_flock; in nfs_delegation_claim_locks()
165 spin_unlock(&flctx->flc_lock); in nfs_delegation_claim_locks()
H A Dnfs4state.c1498 struct file_lock_context *flctx = inode->i_flctx; in nfs4_reclaim_locks() local
1501 if (flctx == NULL) in nfs4_reclaim_locks()
1504 list = &flctx->flc_posix; in nfs4_reclaim_locks()
1508 spin_lock(&flctx->flc_lock); in nfs4_reclaim_locks()
1513 spin_unlock(&flctx->flc_lock); in nfs4_reclaim_locks()
1544 spin_lock(&flctx->flc_lock); in nfs4_reclaim_locks()
1546 if (list == &flctx->flc_posix) { in nfs4_reclaim_locks()
1547 list = &flctx->flc_flock; in nfs4_reclaim_locks()
1550 spin_unlock(&flctx->flc_lock); in nfs4_reclaim_locks()
H A Dpagelist.c1055 struct file_lock_context *flctx; in nfs_coalesce_size() local
1060 flctx = d_inode(nfs_req_openctx(req)->dentry)->i_flctx; in nfs_coalesce_size()
1061 if (flctx != NULL && in nfs_coalesce_size()
1062 !(list_empty_careful(&flctx->flc_posix) && in nfs_coalesce_size()
1063 list_empty_careful(&flctx->flc_flock)) && in nfs_coalesce_size()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/nfs/
H A Dwrite.c1220 if (l_ctx && flctx && in nfs_flush_incompatible()
1221 !(list_empty_careful(&flctx->flc_posix) && in nfs_flush_incompatible()
1222 list_empty_careful(&flctx->flc_flock))) { in nfs_flush_incompatible()
1323 struct file_lock_context *flctx = inode->i_flctx; in nfs_can_extend_write() local
1332 if (!flctx || (list_empty_careful(&flctx->flc_flock) && in nfs_can_extend_write()
1333 list_empty_careful(&flctx->flc_posix))) in nfs_can_extend_write()
1338 spin_lock(&flctx->flc_lock); in nfs_can_extend_write()
1339 if (!list_empty(&flctx->flc_posix)) { in nfs_can_extend_write()
1340 fl = list_first_entry(&flctx->flc_posix, struct file_lock, in nfs_can_extend_write()
1344 } else if (!list_empty(&flctx->flc_flock)) { in nfs_can_extend_write()
[all …]
H A Ddelegation.c142 struct file_lock_context *flctx = inode->i_flctx; in nfs_delegation_claim_locks() local
146 if (flctx == NULL) in nfs_delegation_claim_locks()
149 list = &flctx->flc_posix; in nfs_delegation_claim_locks()
150 spin_lock(&flctx->flc_lock); in nfs_delegation_claim_locks()
155 spin_unlock(&flctx->flc_lock); in nfs_delegation_claim_locks()
159 spin_lock(&flctx->flc_lock); in nfs_delegation_claim_locks()
161 if (list == &flctx->flc_posix) { in nfs_delegation_claim_locks()
162 list = &flctx->flc_flock; in nfs_delegation_claim_locks()
165 spin_unlock(&flctx->flc_lock); in nfs_delegation_claim_locks()
H A Dnfs4state.c1498 struct file_lock_context *flctx = inode->i_flctx; in nfs4_reclaim_locks() local
1501 if (flctx == NULL) in nfs4_reclaim_locks()
1504 list = &flctx->flc_posix; in nfs4_reclaim_locks()
1508 spin_lock(&flctx->flc_lock); in nfs4_reclaim_locks()
1513 spin_unlock(&flctx->flc_lock); in nfs4_reclaim_locks()
1544 spin_lock(&flctx->flc_lock); in nfs4_reclaim_locks()
1546 if (list == &flctx->flc_posix) { in nfs4_reclaim_locks()
1547 list = &flctx->flc_flock; in nfs4_reclaim_locks()
1550 spin_unlock(&flctx->flc_lock); in nfs4_reclaim_locks()
H A Dpagelist.c1055 struct file_lock_context *flctx; in nfs_coalesce_size() local
1060 flctx = d_inode(nfs_req_openctx(req)->dentry)->i_flctx; in nfs_coalesce_size()
1061 if (flctx != NULL && in nfs_coalesce_size()
1062 !(list_empty_careful(&flctx->flc_posix) && in nfs_coalesce_size()
1063 list_empty_careful(&flctx->flc_flock)) && in nfs_coalesce_size()
/dports/devel/py-yappi/yappi-1.3.3/yappi/
H A D_yappi.c157 static _freelist *flctx; variable
293 ctx = flget(flctx); in _create_ctx()
1286 if (!flput(flctx, ctx)) { in _profile_thread()
1360 flctx = flcreate(sizeof(_ctx), FL_CTX_SIZE); in _init_profiler()
1361 if (!flctx) in _init_profiler()
1379 if (flctx) { in _init_profiler()
1380 fldestroy(flctx); in _init_profiler()
1381 flctx = NULL; in _init_profiler()
1497 fldestroy(flctx); in clear_stats()
1498 flctx = NULL; in clear_stats()
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/cifs/
H A Dfile.c1356 struct file_lock_context *flctx = inode->i_flctx; in cifs_push_posix_locks() local
1365 if (!flctx) in cifs_push_posix_locks()
1368 spin_lock(&flctx->flc_lock); in cifs_push_posix_locks()
1369 list_for_each(el, &flctx->flc_posix) { in cifs_push_posix_locks()
1372 spin_unlock(&flctx->flc_lock); in cifs_push_posix_locks()
1391 spin_lock(&flctx->flc_lock); in cifs_push_posix_locks()
1392 list_for_each_entry(flock, &flctx->flc_posix, fl_list) { in cifs_push_posix_locks()
1413 spin_unlock(&flctx->flc_lock); in cifs_push_posix_locks()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/cifs/
H A Dfile.c1356 struct file_lock_context *flctx = inode->i_flctx; in cifs_push_posix_locks() local
1365 if (!flctx) in cifs_push_posix_locks()
1368 spin_lock(&flctx->flc_lock); in cifs_push_posix_locks()
1369 list_for_each(el, &flctx->flc_posix) { in cifs_push_posix_locks()
1372 spin_unlock(&flctx->flc_lock); in cifs_push_posix_locks()
1391 spin_lock(&flctx->flc_lock); in cifs_push_posix_locks()
1392 list_for_each_entry(flock, &flctx->flc_posix, fl_list) { in cifs_push_posix_locks()
1413 spin_unlock(&flctx->flc_lock); in cifs_push_posix_locks()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/cifs/
H A Dfile.c1356 struct file_lock_context *flctx = inode->i_flctx; in cifs_push_posix_locks() local
1365 if (!flctx) in cifs_push_posix_locks()
1368 spin_lock(&flctx->flc_lock); in cifs_push_posix_locks()
1369 list_for_each(el, &flctx->flc_posix) { in cifs_push_posix_locks()
1372 spin_unlock(&flctx->flc_lock); in cifs_push_posix_locks()
1391 spin_lock(&flctx->flc_lock); in cifs_push_posix_locks()
1392 list_for_each_entry(flock, &flctx->flc_posix, fl_list) { in cifs_push_posix_locks()
1413 spin_unlock(&flctx->flc_lock); in cifs_push_posix_locks()
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/nfsd/
H A Dnfs4state.c7112 struct file_lock_context *flctx; in check_for_locks() local
7121 flctx = inode->i_flctx; in check_for_locks()
7123 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in check_for_locks()
7124 spin_lock(&flctx->flc_lock); in check_for_locks()
7125 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in check_for_locks()
7131 spin_unlock(&flctx->flc_lock); in check_for_locks()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/nfsd/
H A Dnfs4state.c7112 struct file_lock_context *flctx; in check_for_locks() local
7121 flctx = inode->i_flctx; in check_for_locks()
7123 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in check_for_locks()
7124 spin_lock(&flctx->flc_lock); in check_for_locks()
7125 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in check_for_locks()
7131 spin_unlock(&flctx->flc_lock); in check_for_locks()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/nfsd/
H A Dnfs4state.c7112 struct file_lock_context *flctx; in check_for_locks() local
7121 flctx = inode->i_flctx; in check_for_locks()
7123 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in check_for_locks()
7124 spin_lock(&flctx->flc_lock); in check_for_locks()
7125 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in check_for_locks()
7131 spin_unlock(&flctx->flc_lock); in check_for_locks()
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/
H A Dlocks.c2737 locks_remove_flock(struct file *filp, struct file_lock_context *flctx) in locks_remove_flock() argument
2742 if (list_empty(&flctx->flc_flock)) in locks_remove_flock()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/
H A Dlocks.c2737 locks_remove_flock(struct file *filp, struct file_lock_context *flctx) in locks_remove_flock() argument
2742 if (list_empty(&flctx->flc_flock)) in locks_remove_flock()

12