Home
last modified time | relevance | path

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

12

/Linux-v4.19/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.
/Linux-v4.19/kernel/
Duser.c104 .ratelimit = RATELIMIT_STATE_INIT(root_user.ratelimit, 0, 0),
192 ratelimit_state_init(&new->ratelimit, HZ, 100); in alloc_uid()
193 ratelimit_set_flags(&new->ratelimit, RATELIMIT_MSG_ON_RELEASE); in alloc_uid()
/Linux-v4.19/kernel/irq/
Ddebug.h13 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in print_irq_desc()
15 if (!__ratelimit(&ratelimit)) in print_irq_desc()
/Linux-v4.19/drivers/acpi/
Dacpi_extlog.c121 struct ratelimit_state *ratelimit; in print_extlog_rcd() local
125 ratelimit = &ratelimit_corrected; in print_extlog_rcd()
127 ratelimit = &ratelimit_uncorrected; in print_extlog_rcd()
128 if (__ratelimit(ratelimit)) { in print_extlog_rcd()
/Linux-v4.19/mm/
Dpage_poison.c58 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 10); in check_poison_mem()
74 if (!__ratelimit(&ratelimit)) in check_poison_mem()
Dpage-writeback.c1866 int ratelimit; in balance_dirty_pages_ratelimited() local
1877 ratelimit = current->nr_dirtied_pause; in balance_dirty_pages_ratelimited()
1879 ratelimit = min(ratelimit, 32 >> (PAGE_SHIFT - 10)); in balance_dirty_pages_ratelimited()
1889 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited()
1893 ratelimit = 0; in balance_dirty_pages_ratelimited()
1901 if (*p > 0 && current->nr_dirtied < ratelimit) { in balance_dirty_pages_ratelimited()
1903 nr_pages_dirtied = min(*p, ratelimit - current->nr_dirtied); in balance_dirty_pages_ratelimited()
1909 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited()
/Linux-v4.19/arch/x86/kernel/
Dumip.c120 static DEFINE_RATELIMIT_STATE(ratelimit, 2 * 60 * HZ, 5); in umip_printk()
125 if (!__ratelimit(&ratelimit)) in umip_printk()
/Linux-v4.19/include/linux/sched/
Duser.h48 struct ratelimit_state ratelimit; member
/Linux-v4.19/drivers/memory/
Dfsl-corenet-cf.c107 static DEFINE_RATELIMIT_STATE(ratelimit, DEFAULT_RATELIMIT_INTERVAL, in ccf_irq()
122 if (!__ratelimit(&ratelimit)) in ccf_irq()
/Linux-v4.19/fs/fat/
Dfat.h95 struct ratelimit_state ratelimit; member
405 __fat_fs_error(sb, __ratelimit(&MSDOS_SB(sb)->ratelimit), fmt , ## args)
410 if (__ratelimit(&MSDOS_SB(sb)->ratelimit)) \
/Linux-v4.19/fs/efivarfs/
Dfile.c78 while (!__ratelimit(&file->f_cred->user->ratelimit)) { in efivarfs_file_read()
/Linux-v4.19/drivers/power/supply/
Dcros_usbpd-charger.c271 bool ratelimit) in cros_usbpd_charger_get_port_status() argument
275 if (ratelimit && in cros_usbpd_charger_get_port_status()
/Linux-v4.19/drivers/acpi/apei/
Dghes.c535 struct ratelimit_state *ratelimit; in ghes_print_estatus() local
538 ratelimit = &ratelimit_corrected; in ghes_print_estatus()
540 ratelimit = &ratelimit_uncorrected; in ghes_print_estatus()
541 if (__ratelimit(ratelimit)) { in ghes_print_estatus()
/Linux-v4.19/arch/ia64/kernel/
Dirq_ia64.c460 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in ia64_handle_irq()
462 if (__ratelimit(&ratelimit)) { in ia64_handle_irq()
/Linux-v4.19/kernel/time/
Dtick-sched.c889 static int ratelimit; in can_stop_idle_tick() local
891 if (ratelimit < 10 && in can_stop_idle_tick()
895 ratelimit++; in can_stop_idle_tick()
/Linux-v4.19/arch/parisc/kernel/
Dunaligned.c451 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in handle_unaligned()
466 __ratelimit(&ratelimit)) { in handle_unaligned()
/Linux-v4.19/arch/alpha/kernel/
Dtraps.c725 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in do_entUnaUser()
736 if (__ratelimit(&ratelimit)) { in do_entUnaUser()
/Linux-v4.19/arch/sparc/kernel/
Dunaligned_64.c298 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in log_unaligned()
300 if (__ratelimit(&ratelimit)) { in log_unaligned()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
DKconfig85 If set to N, will not be able to configure QoS and ratelimit attributes.
/Linux-v4.19/lib/
DMakefile24 flex_proportions.o ratelimit.o show_mem.o \
/Linux-v4.19/fs/btrfs/
Dsuper.c194 struct ratelimit_state *ratelimit = &printk_limits[4]; in btrfs_printk() local
205 ratelimit = &printk_limits[kern_level - '0']; in btrfs_printk()
213 if (__ratelimit(ratelimit)) in btrfs_printk()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce.c1433 static DEFINE_RATELIMIT_STATE(ratelimit, 60*HZ, 2); in mce_notify_irq()
1438 if (__ratelimit(&ratelimit)) in mce_notify_irq()

12