/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | fw_qos.c | 112 u8 *pg, u16 *ratelimit) in mlx4_SET_PORT_SCHEDULER() argument 130 if (ratelimit && ratelimit[i]) { in mlx4_SET_PORT_SCHEDULER() 131 if (ratelimit[i] <= MLX4_MAX_100M_UNITS_VAL) { in mlx4_SET_PORT_SCHEDULER() 132 r = ratelimit[i]; in mlx4_SET_PORT_SCHEDULER() 136 r = ratelimit[i] / 10; in mlx4_SET_PORT_SCHEDULER()
|
D | fw_qos.h | 85 u8 *pg, u16 *ratelimit);
|
D | en_dcb_nl.c | 343 struct ieee_ets *ets, u16 *ratelimit) in mlx4_en_config_port_scheduler() argument 352 ratelimit = ratelimit ?: priv->maxrate; in mlx4_en_config_port_scheduler() 373 ratelimit); in mlx4_en_config_port_scheduler()
|
D | Kconfig | 22 If set to N, will not be able to configure QoS and ratelimit attributes.
|
/linux-6.6.21/kernel/ |
D | user.c | 102 .ratelimit = RATELIMIT_STATE_INIT(root_user.ratelimit, 0, 0), 210 ratelimit_state_init(&new->ratelimit, HZ, 100); in alloc_uid() 211 ratelimit_set_flags(&new->ratelimit, RATELIMIT_MSG_ON_RELEASE); in alloc_uid()
|
/linux-6.6.21/kernel/irq/ |
D | debug.h | 13 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in print_irq_desc() 15 if (!__ratelimit(&ratelimit)) in print_irq_desc()
|
/linux-6.6.21/drivers/acpi/ |
D | acpi_extlog.c | 119 struct ratelimit_state *ratelimit; in print_extlog_rcd() local 123 ratelimit = &ratelimit_corrected; in print_extlog_rcd() 125 ratelimit = &ratelimit_uncorrected; in print_extlog_rcd() 126 if (__ratelimit(ratelimit)) { in print_extlog_rcd()
|
/linux-6.6.21/mm/ |
D | page_poison.c | 50 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 10); in check_poison_mem() 63 if (!__ratelimit(&ratelimit)) in check_poison_mem()
|
D | page-writeback.c | 1998 int ratelimit; in balance_dirty_pages_ratelimited_flags() local 2010 ratelimit = current->nr_dirtied_pause; in balance_dirty_pages_ratelimited_flags() 2012 ratelimit = min(ratelimit, 32 >> (PAGE_SHIFT - 10)); in balance_dirty_pages_ratelimited_flags() 2022 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited_flags() 2026 ratelimit = 0; in balance_dirty_pages_ratelimited_flags() 2034 if (*p > 0 && current->nr_dirtied < ratelimit) { in balance_dirty_pages_ratelimited_flags() 2036 nr_pages_dirtied = min(*p, ratelimit - current->nr_dirtied); in balance_dirty_pages_ratelimited_flags() 2042 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited_flags()
|
/linux-6.6.21/fs/btrfs/ |
D | messages.c | 220 struct ratelimit_state *ratelimit = &printk_limits[4]; in _btrfs_printk() local 235 ratelimit = &printk_limits[kern_level - '0']; in _btrfs_printk() 243 if (__ratelimit(ratelimit)) { in _btrfs_printk()
|
/linux-6.6.21/arch/x86/kernel/ |
D | umip.c | 120 static DEFINE_RATELIMIT_STATE(ratelimit, 2 * 60 * HZ, 5); in umip_printk() 125 if (!__ratelimit(&ratelimit)) in umip_printk()
|
/linux-6.6.21/include/linux/sched/ |
D | user.h | 36 struct ratelimit_state ratelimit; member
|
/linux-6.6.21/drivers/memory/ |
D | fsl-corenet-cf.c | 103 static DEFINE_RATELIMIT_STATE(ratelimit, DEFAULT_RATELIMIT_INTERVAL, in ccf_irq() 118 if (!__ratelimit(&ratelimit)) in ccf_irq()
|
/linux-6.6.21/arch/x86/kernel/cpu/ |
D | intel.c | 1037 int len = strlen(opt), ratelimit; in match_option() local 1046 if (sscanf(arg, "ratelimit:%d", &ratelimit) == 1 && in match_option() 1047 ratelimit > 0 && ratelimit <= 1000) { in match_option() 1048 ratelimit_state_init(&bld_ratelimit, HZ, ratelimit); in match_option()
|
/linux-6.6.21/fs/fat/ |
D | fat.h | 95 struct ratelimit_state ratelimit; member 436 __fat_fs_error(sb, __ratelimit(&MSDOS_SB(sb)->ratelimit), fmt , ## args) 448 if (__ratelimit(&MSDOS_SB(sb)->ratelimit)) \
|
/linux-6.6.21/drivers/power/supply/ |
D | cros_peripheral_charger.c | 177 static int cros_pchg_get_port_status(struct port_data *port, bool ratelimit) in cros_pchg_get_port_status() argument 181 if (ratelimit && in cros_pchg_get_port_status()
|
D | cros_usbpd-charger.c | 308 bool ratelimit) in cros_usbpd_charger_get_port_status() argument 312 if (ratelimit && in cros_usbpd_charger_get_port_status()
|
/linux-6.6.21/fs/efivarfs/ |
D | file.c | 76 while (!__ratelimit(&file->f_cred->user->ratelimit)) in efivarfs_file_read()
|
/linux-6.6.21/Documentation/arch/x86/ |
D | buslock.rst | 72 |ratelimit:N |Do nothing |Limit bus lock rate to | 117 ratelimit section in Guidance
|
/linux-6.6.21/arch/ia64/kernel/ |
D | irq_ia64.c | 449 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in ia64_handle_irq() 451 if (__ratelimit(&ratelimit)) { in ia64_handle_irq()
|
/linux-6.6.21/arch/parisc/kernel/ |
D | unaligned.c | 376 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in handle_unaligned() 390 __ratelimit(&ratelimit)) { in handle_unaligned()
|
/linux-6.6.21/kernel/time/ |
D | tick-sched.c | 1031 static int ratelimit; in report_idle_softirq() local 1044 if (ratelimit >= 10) in report_idle_softirq() 1053 ratelimit++; in report_idle_softirq()
|
/linux-6.6.21/fs/exfat/ |
D | exfat_fs.h | 272 struct ratelimit_state ratelimit; member 536 __exfat_fs_error(sb, __ratelimit(&EXFAT_SB(sb)->ratelimit), \
|
/linux-6.6.21/drivers/acpi/apei/ |
D | ghes.c | 752 struct ratelimit_state *ratelimit; in ghes_print_estatus() local 755 ratelimit = &ratelimit_corrected; in ghes_print_estatus() 757 ratelimit = &ratelimit_uncorrected; in ghes_print_estatus() 758 if (__ratelimit(ratelimit)) { in ghes_print_estatus()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | unaligned_64.c | 298 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in log_unaligned() 300 if (__ratelimit(&ratelimit)) { in log_unaligned()
|