Defined in 1 files as a function:

Referenced in 23 files:

Smatch caller information:

mm/madvise.c madvise_guard_install() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &madv_behavior->mm->mmap_lock

net/dsa/dsa.c dsa_tree_change_tag_proto() -> restart_syscall()

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

drivers/thunderbolt/switch.c key_show() -> restart_syscall()

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

drivers/thunderbolt/switch.c key_store() -> restart_syscall()

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

drivers/thunderbolt/switch.c nvm_authenticate_sysfs() -> restart_syscall()

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

drivers/thunderbolt/switch.c nvm_read() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/thunderbolt/switch.c nvm_version_show() -> restart_syscall()

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

drivers/thunderbolt/switch.c nvm_write() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/thunderbolt/switch.c tb_switch_set_authorized() -> restart_syscall()

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

drivers/infiniband/ulp/ipoib/ipoib_cm.c mode_store() -> restart_syscall()

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

net/bridge/br_sysfs_if.c brport_store() -> restart_syscall()

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

drivers/thunderbolt/retimer.c nvm_authenticate_show() -> restart_syscall()

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

drivers/thunderbolt/retimer.c nvm_authenticate_store() -> restart_syscall()

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

drivers/thunderbolt/retimer.c nvm_read() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/thunderbolt/retimer.c nvm_version_show() -> restart_syscall()

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

drivers/thunderbolt/retimer.c nvm_write() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

security/landlock/tsync.c landlock_restrict_sibling_threads() -> restart_syscall()

Type Parameter Key Value

net/ipv6/addrconf.c addrconf_disable_ipv6() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/ipv6/addrconf.c addrconf_disable_policy() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/ipv6/addrconf.c addrconf_fixup_forwarding() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/ipv6/addrconf.c addrconf_fixup_linkdown() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/ipv6/addrconf.c addrconf_sysctl_addr_gen_mode() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/ipv6/addrconf.c addrconf_sysctl_force_forwarding() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/ipv6/addrconf.c addrconf_sysctl_proxy_ndp() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/ipv6/addrconf.c addrconf_sysctl_stable_secret() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/infiniband/ulp/ipoib/ipoib_vlan.c ipoib_vlan_add() -> restart_syscall()

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

drivers/infiniband/ulp/ipoib/ipoib_vlan.c ipoib_vlan_delete() -> restart_syscall()

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

kernel/cgroup/cgroup-v1.c cgroup1_get_tree() -> restart_syscall()

Type Parameter Key Value
NS_CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

drivers/base/core.c lock_device_hotplug_sysfs() -> restart_syscall()

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

block/blk-cgroup.c blkg_conf_prep() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdev->bd_queue->rq_qos_mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/bridge/br_sysfs_br.c group_addr_store() -> restart_syscall()

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

net/bridge/br_sysfs_br.c store_bridge_parm() -> restart_syscall()

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

drivers/net/bonding/bond_options.c bond_opt_tryset_rtnl() -> restart_syscall()

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

drivers/net/usb/qmi_wwan.c add_mux_store() -> restart_syscall()

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

drivers/net/usb/qmi_wwan.c del_mux_store() -> restart_syscall()

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

drivers/net/usb/qmi_wwan.c qmi_wwan_disconnect() -> restart_syscall()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/usb/qmi_wwan.c raw_ip_store() -> restart_syscall()

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

net/ipv4/devinet.c devinet_sysctl_forward() -> restart_syscall()

Type Parameter Key Value
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock