Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
- include/linux/spinlock_api_up.h, line 128 (as a function)
- kernel/locking/spinlock.c, line 325 (as a function)
Referenced in 3 files:
- include/linux/rwlock.h, line 63
- include/linux/rwlock_api_smp.h, line 146
- kernel/locking/spinlock.c, line 329
Smatch caller information:
fs/dlm/lock.c dlm_rsb_scan() -> _raw_write_trylock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ls->ls_scan_lock | ||
| TYPE_LOCK | (struct dlm_ls)->ls_scan_lock |
fs/ext4/extents_status.c __es_shrink() -> _raw_write_trylock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbi->s_es_lock | ||
| HALF_LOCKED2 | global &bch_register_lock | ||
| TYPE_LOCK | (struct ext4_sb_info)->s_es_lock |
fs/btrfs/extent_map.c find_first_inode_to_shrink() -> _raw_write_trylock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| LOCK2 | &(&root->inodes)->xa_lock | ||
| HALF_LOCKED2 | &pool->lock |
fs/f2fs/extent_cache.c __shrink_extent_tree() -> _raw_write_trylock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eti->extent_lock | ||
| LOCK2 | &eti->extent_tree_lock | ||
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->umount_mutex | ||
| TYPE_LOCK | (struct extent_tree_info)->extent_lock | ||
| TYPE_LOCK | (struct extent_tree_info)->extent_tree_lock |
lib/test_context-analysis.c _raw_write_trylock_irqsave() -> _raw_write_trylock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | lock | $0 |
| LOCK2 | *flags |
lib/test_context-analysis.c test_write_lock_trylock() -> _raw_write_trylock()
| Type | Parameter | Key | Value |
|---|