Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/pidfs.c pidfs_xattr_get() -> simple_xattr_get()

Type Parameter Key Value
PARAM_VALUE 0 cache 691212717861412864
BUF_SIZE 3 buffer (-1)-s32max
BUF_SIZE 3 buffer (-1)-s32max
DATA_SOURCE 2 name r xattr_full_name
DATA_SOURCE 3 buffer $4
DATA_SOURCE 4 size $5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 size 0-65536[c]
ELEM_LAST 3 ==buffer4 8052

mm/shmem.c shmem_xattr_handler_get() -> simple_xattr_get()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 1 xattrs 4096-ptr_max
BUF_SIZE 3 buffer (-1)-s32max
BUF_SIZE 3 buffer (-1)-s32max
DATA_SOURCE 2 name r xattr_full_name
DATA_SOURCE 3 buffer $4
DATA_SOURCE 4 size $5
STR_LEN 0 cache (-1)
STR_LEN 2 name (-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 size 0-65536[c]
ELEM_LAST 3 ==buffer4 8052

fs/kernfs/inode.c kernfs_xattr_get() -> simple_xattr_get()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 1 xattrs 4096-ptr_max
BUF_SIZE 0 cache 8
BUF_SIZE 2 name (-1),17
BUF_SIZE 2 name (-1),17
BUF_SIZE 3 buffer (-1)-s32max
BUF_SIZE 3 buffer (-1)-s32max
DATA_SOURCE 2 name $1
DATA_SOURCE 3 buffer $2
DATA_SOURCE 4 size $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 size 0-65536[c]
BYTE_COUNT 3 ==buffer4 8050

kernel/bpf/inode.c bpf_fs_xattr_get() -> simple_xattr_get()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 1 xattrs 4096-ptr_max
BUF_SIZE 3 buffer (-1)-s32max
BUF_SIZE 3 buffer (-1)-s32max
DATA_SOURCE 2 name r xattr_full_name
DATA_SOURCE 3 buffer $4
DATA_SOURCE 4 size $5
STR_LEN 0 cache (-1)
STR_LEN 2 name (-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 size 0-65536[c]
ELEM_LAST 3 ==buffer4 8052

net/socket.c sock_read_xattr() -> simple_xattr_get()

Type Parameter Key Value
PARAM_VALUE 0 cache 8269587901233614848
PARAM_VALUE 1 xattrs 4096-ptr_max
PARAM_VALUE 3 buffer 1-u64max
DATA_SOURCE 2 name $1
DATA_SOURCE 3 buffer $2
DATA_SOURCE 4 size $3

net/socket.c sockfs_user_xattr_get() -> simple_xattr_get()

Type Parameter Key Value
PARAM_VALUE 0 cache 8269587901233614848
PARAM_VALUE 1 xattrs 4096-ptr_max
BUF_SIZE 3 buffer (-1)-s32max
BUF_SIZE 3 buffer (-1)-s32max
DATA_SOURCE 2 name r xattr_full_name
DATA_SOURCE 3 buffer $4
DATA_SOURCE 4 size $5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 size 0-65536[c]
ELEM_LAST 3 ==buffer4 8052