Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

init/do_mounts_initrd.c create_dev() -> init_mknod()

Type Parameter Key Value
PARAM_VALUE 0 filename 7509050187828596736
PARAM_VALUE 1 mode 24960
PARAM_VALUE 2 dev 256
BUF_SIZE 0 filename 9
BUF_SIZE 0 filename 9
DATA_SOURCE 0 filename $0
STR_LEN 0 filename 8
STR_LEN 0 filename 8
TERMINATED 0 filename 1

init/do_mounts.c create_dev() -> init_mknod()

Type Parameter Key Value
PARAM_VALUE 0 filename 3942805456725397504
PARAM_VALUE 1 mode 24960
BUF_SIZE 0 filename 10
BUF_SIZE 0 filename 10
DATA_SOURCE 0 filename $0
STR_LEN 0 filename 9
STR_LEN 0 filename 9
TERMINATED 0 filename 1

init/initramfs.c do_name() -> init_mknod()

Type Parameter Key Value
PARAM_VALUE 0 filename 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/pstore/blk.c early_boot_devpath() -> init_mknod()

Type Parameter Key Value
PARAM_VALUE 0 filename 3011419193253191680
PARAM_VALUE 1 mode 24960
BUF_SIZE 0 filename 16
NOCHECK_CALL
LOCK2 global &pstore_blk_lock

drivers/char/misc_minor_kunit.c miscdev_test_can_open() -> init_mknod()

Type Parameter Key Value
PARAM_VALUE 1 mode 8576
BUF_SIZE 0 filename (-1)-s32max
BUF_SIZE 0 filename (-1)-s32max
CAPPED_DATA 0 filename 1
DATA_SOURCE 0 filename r kasprintf