Home
last modified time | relevance | path

Searched refs:lock_level (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-bio-prison-v2.c151 unsigned lock_level, in __get() argument
158 if (lock_level <= (*cell)->exclusive_level) { in __get()
174 unsigned lock_level, in dm_cell_get_v2() argument
182 r = __get(prison, key, lock_level, inmate, cell_prealloc, cell_result); in dm_cell_get_v2()
227 unsigned lock_level, in __lock() argument
238 cell->exclusive_level = lock_level; in __lock()
249 cell->exclusive_level = lock_level; in __lock()
258 unsigned lock_level, in dm_cell_lock_v2() argument
265 r = __lock(prison, key, lock_level, cell_prealloc, cell_result); in dm_cell_lock_v2()
Ddm-bio-prison-v2.h89 unsigned lock_level,
117 unsigned lock_level,
Ddm-cache-target.c520 static unsigned lock_level(struct bio *bio) in lock_level() function
584 r = dm_cell_get_v2(cache->prison, &key, lock_level(bio), bio, cell_prealloc, &cell); in bio_detain_shared()
/linux-6.1.9/fs/ocfs2/
Dmmap.c164 int ret = 0, lock_level = 0; in ocfs2_mmap() local
167 file->f_path.mnt, &lock_level, 1); in ocfs2_mmap()
172 ocfs2_inode_unlock(file_inode(file), lock_level); in ocfs2_mmap()
Dinode.c408 int status, can_lock, lock_level = 0; in ocfs2_read_locked_inode() local
476 status = ocfs2_inode_lock(inode, NULL, lock_level); in ocfs2_read_locked_inode()
548 ocfs2_inode_unlock(inode, lock_level); in ocfs2_read_locked_inode()
549 lock_level = 1; in ocfs2_read_locked_inode()
550 ocfs2_inode_lock(inode, NULL, lock_level); in ocfs2_read_locked_inode()
563 ocfs2_inode_unlock(inode, lock_level); in ocfs2_read_locked_inode()
Ddir.c1928 int lock_level = 0; in ocfs2_readdir() local
1932 error = ocfs2_inode_lock_atime(inode, file->f_path.mnt, &lock_level, 1); in ocfs2_readdir()
1933 if (lock_level && error >= 0) { in ocfs2_readdir()
1938 lock_level = 0; in ocfs2_readdir()
1950 ocfs2_inode_unlock(inode, lock_level); in ocfs2_readdir()
Dfile.c2506 int ret = 0, rw_level = -1, lock_level = 0; in ocfs2_file_read_iter() local
2557 ret = ocfs2_inode_lock_atime(inode, filp->f_path.mnt, &lock_level, in ocfs2_file_read_iter()
2564 ocfs2_inode_unlock(inode, lock_level); in ocfs2_file_read_iter()