Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/super.c alloc_super() -> __percpu_init_rwsem()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 2 key 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &s->s_umount
HALF_LOCKED2 global &cifs_mount_mutex
TYPE_LOCK (struct super_block)->s_umount

drivers/bluetooth/hci_ldisc.c hci_uart_tty_open() -> __percpu_init_rwsem()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 1 name 2691514947729047552
PARAM_VALUE 2 key 201640371387719680
BUF_SIZE 1 name 16
STR_LEN 0 sem 15
CAPABLE 0 12
TERMINATED 1 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 &tty->legacy_mutex

kernel/locking/locktorture.c torture_percpu_rwsem_init() -> __percpu_init_rwsem()

Type Parameter Key Value
PARAM_VALUE 0 sem 8876333978586963968
PARAM_VALUE 1 name 2629166577481211904
PARAM_VALUE 2 key 6447028193368223744
BUF_SIZE 1 name 12
STR_LEN 0 sem 11
TERMINATED 1 name 1
LOCK2 global &fullstop_mutex

drivers/bluetooth/hci_serdev.c hci_uart_register_device_priv() -> __percpu_init_rwsem()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 1 name 2691514947729047552
PARAM_VALUE 2 key 2354574669582331904
BUF_SIZE 1 name 16
STR_LEN 0 sem 15
TERMINATED 1 name 1
MEM_ZERO 0 sem
RX_PATH
TASK_NOT_RUNNING

fs/ext4/super.c ext4_percpu_param_init() -> __percpu_init_rwsem()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 1 name 7322296910428168192
PARAM_VALUE 2 key 8592853490966171648
BUF_SIZE 1 name 25
STR_LEN 0 sem 24
TERMINATED 1 name 1