Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

init/initramfs_test.c initramfs_test_csum() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 csz 2
PARAM_VALUE 2 inject_ox 0
PARAM_VALUE 3 out 0,4096-ptr_max
BUF_SIZE 0 cs 160
BUF_SIZE 3 out 8192
BUF_SIZE 3 out 8192
DATA_SOURCE 3 out r _kmalloc_noprof
UNITS 1 csz unit_array_size

init/initramfs_test.c initramfs_test_csum() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 csz 2
PARAM_VALUE 2 inject_ox 0
PARAM_VALUE 3 out 0,4096-ptr_max
PARAM_VALUE 3 *out 0
BUF_SIZE 0 cs 160
BUF_SIZE 3 out 8192
BUF_SIZE 3 out 8192
DATA_SOURCE 3 out r _kmalloc_noprof
UNITS 1 csz unit_array_size

init/initramfs_test.c initramfs_test_data() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 csz 1
PARAM_VALUE 2 inject_ox 0
PARAM_VALUE 3 out 0,4096-ptr_max
BUF_SIZE 3 out 140
BUF_SIZE 3 out 140
DATA_SOURCE 3 out r _kmalloc_noprof
UNITS 1 csz unit_array_size

init/initramfs_test.c initramfs_test_extract() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 csz 3
PARAM_VALUE 2 inject_ox 0
PARAM_VALUE 3 out 0,4096-ptr_max
BUF_SIZE 0 cs 240
BUF_SIZE 3 out 12627
BUF_SIZE 3 out 12627
DATA_SOURCE 3 out r _kzalloc_noprof
UNITS 1 csz unit_array_size

init/initramfs_test.c initramfs_test_fname_overrun() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 csz 1
PARAM_VALUE 2 inject_ox 0
PARAM_VALUE 3 out 4096-ptr_max
BUF_SIZE 3 out 4209
BUF_SIZE 3 out 4209
DATA_SOURCE 3 out r _kmalloc_noprof
TERMINATED 3 out 1
UNITS 1 csz unit_array_size

init/initramfs_test.c initramfs_test_fname_pad() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 csz 1
PARAM_VALUE 2 inject_ox 0
BUF_SIZE 3 out 4256
UNITS 1 csz unit_array_size

init/initramfs_test.c initramfs_test_fname_path_max() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 csz 2
PARAM_VALUE 2 inject_ox 0
BUF_SIZE 0 cs 160
BUF_SIZE 3 out 8490
UNITS 1 csz unit_array_size

init/initramfs_test.c initramfs_test_hardlink() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 csz 2
PARAM_VALUE 2 inject_ox 0
PARAM_VALUE 3 out 0,4096-ptr_max
BUF_SIZE 0 cs 160
BUF_SIZE 3 out 8192
BUF_SIZE 3 out 8192
DATA_SOURCE 3 out r _kmalloc_noprof
UNITS 1 csz unit_array_size

init/initramfs_test.c initramfs_test_hdr_hex() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 csz 2
PARAM_VALUE 2 inject_ox 1
BUF_SIZE 0 cs 160
BUF_SIZE 3 out 8490
UNITS 1 csz unit_array_size

init/initramfs_test.c initramfs_test_many() -> fill_cpio()

Type Parameter Key Value
PARAM_VALUE 0 cs 190639012448772096
PARAM_VALUE 0 cs->csum 0
PARAM_VALUE 0 cs->data 0
PARAM_VALUE 0 cs->devmajor 0
PARAM_VALUE 0 cs->devminor 1
PARAM_VALUE 0 cs->filesize 0
PARAM_VALUE 0 cs->fname 8780669000229126144
PARAM_VALUE 0 cs->gid 0
PARAM_VALUE 0 cs->ino 0-999
PARAM_VALUE 0 cs->magic 6620526789881544704
PARAM_VALUE 0 cs->mode 33279
PARAM_VALUE 0 cs->mtime 0
PARAM_VALUE 0 cs->namesize 22-24
PARAM_VALUE 0 cs->nlink 1
PARAM_VALUE 0 cs->rdevmajor 0
PARAM_VALUE 0 cs->rdevminor 0
PARAM_VALUE 0 cs->uid 0
PARAM_VALUE 1 csz 1
PARAM_VALUE 2 inject_ox 0
PARAM_VALUE 3 out 0,110-u64max
TERMINATED 0 cs->magic 1