Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

kernel/trace/rethook.c rethook_hook() -> __llist_add()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 head 4096-ptr_max
NOCHECK_CALL

kernel/bpf/memalloc.c add_obj_to_free_list() -> __llist_add()

Type Parameter Key Value
PARAM_VALUE 0 new 1-u64max
PARAM_VALUE 1 head 4096-ptr_max
BUF_SIZE 0 new (-1),8
DATA_SOURCE 0 new $1
NOCHECK_CALL

kernel/bpf/memalloc.c check_free_by_rcu() -> __llist_add()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 head 4096-ptr_max
UNITS 0 new unit_byte

kernel/bpf/memalloc.c unit_free() -> __llist_add()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 head 4096-ptr_max
PREEMPT_ADD
NOCHECK_CALL
UNITS 0 new unit_byte
LOCK2 flags

kernel/bpf/memalloc.c unit_free_rcu() -> __llist_add()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 head 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 new unit_byte
LOCK2 flags

kernel/bpf/arena.c apply_range_clear_cb() -> __llist_add()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 ptl

mm/mmu_notifier.c mn_itree_invalidate() -> __llist_add()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 head 6649130469689004032
PARAM_VALUE 1 head->first 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->map_changing_lock
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 global &ksm_thread_mutex

mm/mmu_notifier.c mn_itree_release() -> __llist_add()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 head 3855838617140457472
PARAM_VALUE 1 head->first 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &pool->lock