Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/f2fs/gc.c f2fs_resize_fs() -> f2fs_down_write_trylock_trace()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 1 lc 6209244786928099328
CAPABLE 0 21

fs/f2fs/gc.c gc_thread_func() -> f2fs_down_write_trylock_trace()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 1 lc 5067174407293825040
TASK_NOT_RUNNING
HALF_LOCKED2 &sbi->gc_lock.internal_rwsem

fs/f2fs/checkpoint.c f2fs_write_meta_pages() -> f2fs_down_write_trylock_trace()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 1 lc 5698802390302015488
RX_PATH
TASK_NOT_RUNNING

fs/f2fs/file.c __f2fs_ioc_gc_range() -> f2fs_down_write_trylock_trace()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 1 lc 3638032790236905488
CAPABLE 0 21
HALF_LOCKED2 &sbi->gc_lock.internal_rwsem

fs/f2fs/file.c f2fs_ioc_flush_device() -> f2fs_down_write_trylock_trace()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 1 lc 1934074704368820240
CAPABLE 0 21
HALF_LOCKED2 &sbi->gc_lock.internal_rwsem

fs/f2fs/file.c f2fs_ioc_gc() -> f2fs_down_write_trylock_trace()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 1 lc 115870300038639632
PARAM_VALUE 1 lc->lock_trace 0
PARAM_VALUE 1 lc->need_restore 0
PARAM_VALUE 1 lc->new_nice 0
PARAM_VALUE 1 lc->orig_nice 0
PARAM_VALUE 1 lc->ts.io_sleep_time 0
PARAM_VALUE 1 lc->ts.runnable_time 0
PARAM_VALUE 1 lc->ts.running_time 0
PARAM_VALUE 1 lc->ts.total_time 0
CAPABLE 0 21