Defined in 2 files as a member:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/cxl/core/region.c cxl_add_to_region() -> attach_target()

Type Parameter Key Value
PARAM_VALUE 0 cxlr 4096-ptr_max
PARAM_VALUE 1 cxled 4096-ptr_max
PARAM_VALUE 1 cxled->cxld.dev.parent 4096-ptr_max
PARAM_VALUE 1 cxled->state 1
PARAM_VALUE 2 pos (-1)
PARAM_VALUE 3 state 2
BUF_SIZE 0 cxlr (-1),1968
BUF_SIZE 0 cxlr (-1),1968
CAPPED_DATA 0 cxlr 1
DATA_SOURCE 1 cxled $0
BIT_INFO 1 cxled->cxld.flags 0x20,0xffffffffffffffff
NOCHECK_CALL
LOCK2 _T->lock

drivers/cxl/core/region.c store_targetN() -> attach_target()

Type Parameter Key Value
PARAM_VALUE 0 cxlr 0,4096-ptr_max
PARAM_VALUE 1 cxled 0,4096-ptr_max
PARAM_VALUE 2 pos 0-15
PARAM_VALUE 3 state 1
DATA_SOURCE 0 cxlr $0
DATA_SOURCE 2 pos $2
HARD_MAX 2 pos 15
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

Smatch assignments to (struct bpf_iter_reg)->attach_target:

net/ipv4/tcp_ipv4.c (null)() -> (struct bpf_iter_reg)->attach_target [0]

kernel/bpf/kmem_cache_iter.c (null)() -> (struct bpf_iter_reg)->attach_target [0]

net/core/bpf_sk_storage.c (null)() -> (struct bpf_iter_reg)->attach_target [8667106824452046848]

kernel/bpf/link_iter.c (null)() -> (struct bpf_iter_reg)->attach_target [0]

kernel/bpf/cgroup_iter.c (null)() -> (struct bpf_iter_reg)->attach_target [8483894095199481856]

net/unix/af_unix.c (null)() -> (struct bpf_iter_reg)->attach_target [0]

net/ipv4/udp.c (null)() -> (struct bpf_iter_reg)->attach_target [0]

kernel/bpf/map_iter.c (null)() -> (struct bpf_iter_reg)->attach_target [0,6937802870475845632]

net/core/sock_map.c (null)() -> (struct bpf_iter_reg)->attach_target [137666134890586112]

net/ipv6/route.c (null)() -> (struct bpf_iter_reg)->attach_target [0]

kernel/bpf/task_iter.c (null)() -> (struct bpf_iter_reg)->attach_target [1537883553638678528]

kernel/bpf/prog_iter.c (null)() -> (struct bpf_iter_reg)->attach_target [0]

kernel/bpf/dmabuf_iter.c (null)() -> (struct bpf_iter_reg)->attach_target [0]

kernel/kallsyms.c (null)() -> (struct bpf_iter_reg)->attach_target [0]

net/netlink/af_netlink.c (null)() -> (struct bpf_iter_reg)->attach_target [0]