Home
last modified time | relevance | path

Searched refs:ratelimit (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dfw_qos.c112 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()
Dfw_qos.h85 u8 *pg, u16 *ratelimit);
Den_dcb_nl.c343 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()
DKconfig22 If set to N, will not be able to configure QoS and ratelimit attributes.
/kernel/linux/linux-5.10/kernel/
Duser.c105 .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/
Ddebug.h13 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/
Dclient_writeback.c405 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/
Dacpi_extlog.c119 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/
Dpage_poison.c79 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 10); in check_poison_mem()
95 if (!__ratelimit(&ratelimit)) in check_poison_mem()
Dpage-writeback.c1877 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/
Dumip.c120 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/
Duser.h44 struct ratelimit_state ratelimit; member
/kernel/linux/linux-5.10/drivers/memory/
Dfsl-corenet-cf.c103 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/
Dfat.h95 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/
Dfile.c76 while (!__ratelimit(&file->f_cred->user->ratelimit)) in efivarfs_file_read()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dirq_ia64.c449 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/
Dtick-sched.c953 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/
Dexfat_fs.h243 struct ratelimit_state ratelimit; member
506 __exfat_fs_error(sb, __ratelimit(&EXFAT_SB(sb)->ratelimit), \
/kernel/linux/linux-5.10/drivers/acpi/apei/
Dghes.c700 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/
Dunaligned.c437 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/
Dcros_usbpd-charger.c308 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/
Dtraps.c725 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/
Dunaligned_64.c298 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/
DKconfig113 If set to N, will not be able to configure QoS and ratelimit attributes.
/kernel/linux/linux-5.10/fs/btrfs/
Dsuper.c224 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()

12