Defined in 1 files as a function:
Referenced in 12 files:
- arch/x86/kernel/cpu/bus_lock.c, line 89
- arch/x86/kvm/x86.c, line 9877
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 3835
- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
- drivers/gpu/drm/i915/i915_perf.c
- drivers/md/dm-vdo/dedupe.c, line 2190
- drivers/nvme/host/core.c, line 3995
- drivers/spi/spi-stm32.c, line 1099
- drivers/vfio/pci/virtio/migrate.c, line 707
- fs/buffer.c, line 273
- kernel/printk/printk.c, line 941
- kernel/user.c, line 220
Smatch caller information:
drivers/md/dm-vdo/dedupe.c initialize_index() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/printk/printk.c devkmsg_open() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 24,4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/nvme/host/core.c nvme_alloc_ns_head() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctrl->subsys->lock | ||
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nvme_subsystem)->lock |
kernel/user.c alloc_uid() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_perf.c i915_perf_init() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/i915_perf.c i915_perf_init() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/spi/spi-stm32.c stm32h7_spi_irq_thread() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 5890574837952008192 |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &spi->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct stm32_spi)->lock |
arch/x86/kvm/x86.c kvm_arch_init_vm() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_init_ras() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_init_ras() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_init_ras() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kernel/cpu/bus_lock.c match_option() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 6216158809974063104 |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| NOCHECK_CALL | |||
| LOCK2 | irq |
fs/buffer.c __find_get_block_slow() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 945976575410180096 |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bd_mapping->i_private_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_init() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/vfio/pci/virtio/migrate.c virtiovf_pci_save_device_data() -> ratelimit_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->flags | 0 |
| PARAM_VALUE | 1 | flags | 1 |
| MEM_ZERO | 0 | rs | |
| NOCHECK_CALL | |||
| LOCK2 | &virtvdev->state_mutex | ||
| TYPE_LOCK | (struct virtiovf_pci_core_device)->state_mutex |