Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

fs/btrfs/volumes.c btrfs_alloc_device() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_devices->device_list_mutex
HALF_LOCKED2 global &uuid_mutex

fs/btrfs/volumes.c btrfs_setup_sprout() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &fs_devices->device_list_mutex
LOCK2 &sb->s_umount
LOCK2 global &uuid_mutex
TYPE_LOCK (struct btrfs_fs_devices)->device_list_mutex
TYPE_LOCK (struct super_block)->s_umount

fs/btrfs/volumes.c device_list_add() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &uuid_mutex

lib/tests/uuid_kunit.c uuid_test_generate_random_uuid() -> generate_random_uuid()

Type Parameter Key Value
PARAM_VALUE 0 uuid 4096-ptr_max
BUF_SIZE 0 uuid 16
NOCHECK_CALL

fs/ext4/crypto.c ext4_ioctl_get_encryption_pwsalt() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
NOCHECK_CALL

fs/smb/client/smb2pdu.c create_durable_v2_buf() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &cifs_mount_mutex

fs/afs/main.c afs_net_init() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &pernet_ops_rwsem

drivers/char/random.c proc_do_uuid() -> generate_random_uuid()

Type Parameter Key Value
PARAM_VALUE 0 uuid 6955968851825758208
BUF_SIZE 0 uuid 16
BUF_SIZE 0 uuid 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/char/random.c proc_do_uuid() -> generate_random_uuid()

Type Parameter Key Value
PARAM_VALUE 0 uuid 4096-ptr_max
BUF_SIZE 0 uuid 4-5,7-8,12,16,20,24,28,32,36-37,40,44,46,48,52,63-65,74,132,768,2048
BUF_SIZE 0 uuid 4-5,7-8,12,16,20,24,28,32,36-37,40,44,46,48,52,63-65,74,132,768,2048
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &bootid_spinlock
HALF_LOCKED2 &pool->lock

fs/smb/client/smb2ops.c smb2_new_lease_key() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/smb/client/connect.c cifs_get_tcp_session() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &cifs_mount_mutex
HALF_LOCKED2 &fc->uapi_mutex

fs/f2fs/file.c f2fs_ioc_get_encryption_pwsalt() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
NOCHECK_CALL
LOCK2 &sbi->sb_lock.internal_rwsem
TYPE_LOCK (struct f2fs_rwsem)->internal_rwsem

fs/ext4/ioctl.c ext4_ioctl_set_tune_sb() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
CAPABLE 0 21
NOCHECK_CALL

fs/ubifs/sb.c create_default_filesystem() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &c->umount_mutex
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount
TYPE_LOCK (struct ubifs_info)->umount_mutex

fs/smb/client/cifsfs.c cifs_alloc_inode() -> generate_random_uuid()

Type Parameter Key Value
BUF_SIZE 0 uuid 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sb->s_fs_info->bitmap_lock
HALF_LOCKED2 &sb->s_fs_info->hpfs_mutex
HALF_LOCKED2 &sb->s_umount