Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

mm/shrinker.c shrinker_debugfs_name_alloc() -> kvasprintf_const()

Type Parameter Key Value
PARAM_VALUE 0 gfp 3264
PARAM_VALUE 1 fmt 4096-ptr_max
BUF_SIZE 1 fmt 6,8-19,21-22
BUF_SIZE 1 fmt 6,8-19,21-22
BUF_SIZE 2 ap 8
BUF_SIZE 2 ap 8
DATA_SOURCE 1 fmt $1
DATA_SOURCE 2 ap $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount
HALF_LOCKED2 global &bch_register_lock
HALF_LOCKED2 global &nfsd_mutex
HALF_LOCKED2 global &ttm_global_mutex
HALF_LOCKED2 irq

drivers/tee/qcomtee/core.c qcomtee_object_user_init() -> kvasprintf_const()

Type Parameter Key Value
PARAM_VALUE 0 gfp 3264
PARAM_VALUE 1 fmt 615412099048062976,4212190073556283392
PARAM_VALUE 2 *ap 4212190073556283392,615412099048062976
BUF_SIZE 1 fmt 8,11
BUF_SIZE 1 fmt 8,11
BUF_SIZE 2 ap 8
BUF_SIZE 2 ap 8
DATA_SOURCE 1 fmt $3
PARAM_COMPARE 1 &fmt == $2
TERMINATED 1 fmt 1
TERMINATED 2 *ap 1
HALF_LOCKED2 _T->lock

net/bluetooth/hci_core.c hci_set_fw_info() -> kvasprintf_const()

Type Parameter Key Value
PARAM_VALUE 0 gfp 3264
PARAM_VALUE 1 fmt 1029349938509148160,8347350738675638272
PARAM_VALUE 2 *ap 1029349938509148160,8347350738675638272
BUF_SIZE 1 fmt 3,5
BUF_SIZE 1 fmt 3,5
BUF_SIZE 2 ap 8
BUF_SIZE 2 ap 8
DATA_SOURCE 1 fmt $1
PARAM_COMPARE 1 &fmt == $2
TERMINATED 1 fmt 1
TERMINATED 2 *ap 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_core.c hci_set_hw_info() -> kvasprintf_const()

Type Parameter Key Value
PARAM_VALUE 0 gfp 3264
PARAM_VALUE 1 fmt 1068785822428684288,6203944340209737728,7940641890679455744
PARAM_VALUE 2 *ap 6203944340209737728,1068785822428684288,7940641890679455744
BUF_SIZE 1 fmt 29,41,51
BUF_SIZE 1 fmt 29,41,51
BUF_SIZE 2 ap 8
BUF_SIZE 2 ap 8
DATA_SOURCE 1 fmt $1
PARAM_COMPARE 1 &fmt == $2
TERMINATED 1 fmt 1
TERMINATED 2 *ap 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

fs/debugfs/inode.c debugfs_change_name() -> kvasprintf_const()

Type Parameter Key Value
PARAM_VALUE 0 gfp 3264
PARAM_VALUE 1 fmt 2018493819867664384,2450418125934772224,8347350738675638272,9108632409832509440
PARAM_VALUE 2 *ap 9108632409832509440,8347350738675638272,2018493819867664384,2450418125934772224
BUF_SIZE 1 fmt 3,6,10,12
BUF_SIZE 1 fmt 3,6,10,12
BUF_SIZE 2 ap 8
BUF_SIZE 2 ap 8
DATA_SOURCE 1 fmt $1
PARAM_COMPARE 1 &fmt == $2
TERMINATED 1 fmt 1
TERMINATED 2 *ap 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &shrinker_mutex

lib/kobject.c kobject_set_name_vargs() -> kvasprintf_const()

Type Parameter Key Value
PARAM_VALUE 0 gfp 3264
BUF_SIZE 1 fmt s32min,(-10),(-1),1-s32max
BUF_SIZE 1 fmt s32min,(-10),(-1),1-s32max
BUF_SIZE 2 ap 8
BUF_SIZE 2 ap 8
DATA_SOURCE 1 fmt $1
DATA_SOURCE 2 ap $2
STR_LEN 0 gfp (-1),3-8,10-12,14,16,20
STR_LEN 1 fmt (-1),3-8,10-12,14,16,20
RX_PATH
TASK_NOT_RUNNING

mm/shrinker_debug.c shrinker_debugfs_rename() -> kvasprintf_const()

Type Parameter Key Value
PARAM_VALUE 0 gfp 3264
PARAM_VALUE 1 fmt 1183323045216141312,5900673659384242176
PARAM_VALUE 2 *ap 5900673659384242176,1183323045216141312
BUF_SIZE 1 fmt 9,12
BUF_SIZE 1 fmt 9,12
BUF_SIZE 2 ap 8
BUF_SIZE 2 ap 8
DATA_SOURCE 1 fmt $1
STR_LEN 0 gfp 31
STR_LEN 1 fmt 31
STR_LEN 2 *ap 31
PARAM_COMPARE 1 &fmt == $2
TERMINATED 1 fmt 1
TERMINATED 2 *ap 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex