/kernel/linux/linux-5.10/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.
|
/kernel/linux/linux-5.10/kernel/ |
D | user.c | 105 .ratelimit = RATELIMIT_STATE_INIT(root_user.ratelimit, 0, 0), 191 ratelimit_state_init(&new->ratelimit, HZ, 100); in alloc_uid() 192 ratelimit_set_flags(&new->ratelimit, RATELIMIT_MSG_ON_RELEASE); in alloc_uid()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | client_writeback.c | 405 int ratelimit; in hmdfs_balance_dirty_pages_ratelimited() local 416 ratelimit = current->nr_dirtied_pause; in hmdfs_balance_dirty_pages_ratelimited() 418 ratelimit = min(ratelimit, HMDFS_DIRTY_EXCEED_RATELIMIT); in hmdfs_balance_dirty_pages_ratelimited() 432 if (unlikely(current->nr_dirtied >= ratelimit)) { in hmdfs_balance_dirty_pages_ratelimited() 436 ratelimit = 0; in hmdfs_balance_dirty_pages_ratelimited() 440 if (unlikely(current->nr_dirtied >= ratelimit)) in hmdfs_balance_dirty_pages_ratelimited()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/mm/ |
D | page_poison.c | 79 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 10); in check_poison_mem() 95 if (!__ratelimit(&ratelimit)) in check_poison_mem()
|
D | page-writeback.c | 1877 int ratelimit; in balance_dirty_pages_ratelimited() local 1888 ratelimit = current->nr_dirtied_pause; in balance_dirty_pages_ratelimited() 1890 ratelimit = min(ratelimit, 32 >> (PAGE_SHIFT - 10)); in balance_dirty_pages_ratelimited() 1900 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited() 1904 ratelimit = 0; in balance_dirty_pages_ratelimited() 1912 if (*p > 0 && current->nr_dirtied < ratelimit) { in balance_dirty_pages_ratelimited() 1914 nr_pages_dirtied = min(*p, ratelimit - current->nr_dirtied); in balance_dirty_pages_ratelimited() 1920 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/linux/sched/ |
D | user.h | 44 struct ratelimit_state ratelimit; member
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/fat/ |
D | fat.h | 95 struct ratelimit_state ratelimit; member 433 __fat_fs_error(sb, __ratelimit(&MSDOS_SB(sb)->ratelimit), fmt , ## args) 438 if (__ratelimit(&MSDOS_SB(sb)->ratelimit)) \
|
/kernel/linux/linux-5.10/fs/efivarfs/ |
D | file.c | 76 while (!__ratelimit(&file->f_cred->user->ratelimit)) in efivarfs_file_read()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | tick-sched.c | 953 static int ratelimit; in can_stop_idle_tick() local 955 if (ratelimit < 10 && in can_stop_idle_tick() 959 ratelimit++; in can_stop_idle_tick()
|
/kernel/linux/linux-5.10/fs/exfat/ |
D | exfat_fs.h | 243 struct ratelimit_state ratelimit; member 506 __exfat_fs_error(sb, __ratelimit(&EXFAT_SB(sb)->ratelimit), \
|
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
D | ghes.c | 700 struct ratelimit_state *ratelimit; in ghes_print_estatus() local 703 ratelimit = &ratelimit_corrected; in ghes_print_estatus() 705 ratelimit = &ratelimit_uncorrected; in ghes_print_estatus() 706 if (__ratelimit(ratelimit)) { in ghes_print_estatus()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | unaligned.c | 437 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in handle_unaligned() 452 __ratelimit(&ratelimit)) { in handle_unaligned()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
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()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | traps.c | 725 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in do_entUnaUser() 736 if (__ratelimit(&ratelimit)) { in do_entUnaUser()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | Kconfig | 113 If set to N, will not be able to configure QoS and ratelimit attributes.
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | super.c | 224 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()
|