Documented in 1 files:
Defined in 2 files as a function:
- include/linux/list.h, line 1161 (as a function)
- tools/include/linux/list.h, line 706 (as a function)
Referenced in 14 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c, line 424
- drivers/hv/mshv_eventfd.c, line 855
- drivers/net/amt.c, line 99
- fs/9p/vfs_dentry.c, line 92
- fs/namespace.c, line 1697
- kernel/time/posix-timers.c
- kernel/time/timer.c, line 1820
- lib/debugobjects.c
- lib/tests/list-test.c, line 1008
- net/batman-adv/fragmentation.c, line 233
- net/bridge/br_multicast.c
- net/core/sock_map.c, line 1172
- net/rxrpc/peer_event.c, line 222
- net/xfrm/xfrm_state.c, line 630
Smatch caller information:
kernel/time/timer.c collect_expired_timers() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 8520936909965266944-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &base->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct timer_base)->lock |
net/batman-adv/fragmentation.c batadv_frag_insert_packet() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 6393535849518665728 |
| PARAM_VALUE | 1 | new->first | 0 |
| DATA_SOURCE | 1 | new | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chain->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct batadv_frag_table_entry)->lock |
fs/9p/vfs_dentry.c __v9fs_dentry_fid_remove() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | new | 7760127993608417280 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| TYPE_LOCK | (struct lockref)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c amdgpu_sync_move() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &adev->enforce_isolation_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_device)->enforce_isolation_mutex |
net/xfrm/xfrm_state.c xfrm_state_gc_task() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 5288756210330189824 |
| PARAM_VALUE | 1 | new | 2183620946432614400 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | global &xfrm_state_gc_lock | ||
| HALF_LOCKED2 | &pool->lock |
net/rxrpc/peer_event.c rxrpc_distribute_error() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 7354505978228633600 |
| PARAM_VALUE | 1 | new->first | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &peer->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct rxrpc_peer)->lock |
drivers/net/amt.c __amt_source_gc_work() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 8958896083269181440 |
| PARAM_VALUE | 1 | new | 6603468620449181696 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | global &source_gc_lock |
lib/debugobjects.c debug_objects_oom() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 751340328936583168 |
| PARAM_VALUE | 0 | old->first | 0,4096-ptr_max |
| PARAM_VALUE | 1 | new | 4742646778263773184 |
| PARAM_VALUE | 1 | new->first | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &db->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct debug_bucket)->lock |
lib/debugobjects.c debug_objects_replace_static_objects() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 751340328936583168 |
| PARAM_VALUE | 0 | old->first | 0,4096-ptr_max |
| PARAM_VALUE | 1 | new | 7995245886988709888 |
| PARAM_VALUE | 1 | new->first | 0,4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | irq |
lib/debugobjects.c pool_pop_batch() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 643172748885221376 |
| PARAM_VALUE | 1 | new | 8194120541962571776 |
| PARAM_VALUE | 1 | new->first | 0 |
| DATA_SOURCE | 1 | new | $0 |
| NOCHECK_CALL | |||
| LOCK2 | global &pool_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock |
fs/namespace.c namespace_unlock() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 6798056337042665472 |
| PARAM_VALUE | 1 | new | 5106556491538968576 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | global &namespace_sem |
kernel/time/posix-timers.c exit_itimers() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 0 | old->first | 1-u64max |
| PARAM_VALUE | 1 | new | 7870959117638860800 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tsk->sighand->siglock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| TYPE_LOCK | (struct sighand_struct)->siglock |
kernel/time/posix-timers.c exit_itimers() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 0 | old->first | 1-u64max |
| PARAM_VALUE | 1 | new | 7870959117638860800 |
| PARAM_VALUE | 1 | new->first | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
net/core/sock_map.c sock_hash_free() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 3268686901072179200 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &bucket->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct bpf_shtab_bucket)->lock |
net/bridge/br_multicast.c br_multicast_dev_del() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 8179340000730296320 |
| PARAM_VALUE | 1 | new->first | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &br->multicast_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_multicast_gc_work() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 5797840627457159168 |
| PARAM_VALUE | 1 | new->first | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &br->multicast_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
lib/tests/list-test.c hlist_test_move_list() -> hlist_move_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4264599976495718400 |
| PARAM_VALUE | 0 | old->first | 1518145023720153088 |
| PARAM_VALUE | 1 | new | 6491612207903834112 |
| PARAM_VALUE | 1 | new->first | 0 |
| NOCHECK_CALL |