Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/sysfs/mount.c sysfs_init_fs_context() -> kobj_ns_grab_current()

Type Parameter Key Value
PARAM_VALUE 0 type 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

drivers/infiniband/ulp/srp/ib_srp.c add_target_store() -> kobj_ns_grab_current()

Type Parameter Key Value
PARAM_VALUE 0 type 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex