/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A 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()
|
H A D | fw_qos.h | 71 * tc_tx_bw, pg and ratelimit are arrays where each index represents a TC. 80 * @ratelimit: The maximal bandwidth allowed for the use by this traffic class. 85 u8 *pg, u16 *ratelimit);
|
H A D | en_dcb_nl.c | 340 struct ieee_ets *ets, u16 *ratelimit) in mlx4_en_config_port_scheduler() argument 349 ratelimit = ratelimit ?: priv->maxrate; in mlx4_en_config_port_scheduler() 370 ratelimit); in mlx4_en_config_port_scheduler()
|
H A D | Kconfig | 23 If set to N, will not be able to configure QoS and ratelimit attributes.
|
/linux/arch/x86/kernel/cpu/ |
H A D | bus_lock.c | 44 { "ratelimit:", sld_ratelimit }, 76 int len = strlen(opt), ratelimit; in match_option() local 82 * Min ratelimit is 1 bus lock/sec. in match_option() 83 * Max ratelimit is 1000 bus locks/sec. in match_option() 85 if (sscanf(arg, "ratelimit:%d", &ratelimit) == 1 && in match_option() 86 ratelimit > 0 && ratelimit <= 1000) { in match_option() 87 ratelimit_state_init(&bld_ratelimit, HZ, ratelimit); in match_option() 172 * #DB for bus lock handles ratelimit an in split_lock_init() [all...] |
/linux/kernel/irq/ |
H A 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/drivers/acpi/ |
H A D | acpi_extlog.c | 12 #include <linux/ratelimit.h> 120 struct ratelimit_state *ratelimit; in print_extlog_rcd() local 124 ratelimit = &ratelimit_corrected; in print_extlog_rcd() 126 ratelimit = &ratelimit_uncorrected; in print_extlog_rcd() 127 if (__ratelimit(ratelimit)) { in print_extlog_rcd()
|
/linux/mm/ |
H A D | page_poison.c | 8 #include <linux/ratelimit.h> 50 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 10); in check_poison_mem() 63 if (!__ratelimit(&ratelimit)) in check_poison_mem()
|
H A D | page-writeback.c | 1003 * dirty position control ratio (and hence task dirty ratelimit) will be 2052 int ratelimit; in balance_dirty_pages_ratelimited_flags() local 2064 ratelimit = current->nr_dirtied_pause; in balance_dirty_pages_ratelimited_flags() 2066 ratelimit = min(ratelimit, 32 >> (PAGE_SHIFT - 10)); in balance_dirty_pages_ratelimited_flags() 2076 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited_flags() 2080 ratelimit = 0; in balance_dirty_pages_ratelimited_flags() 2088 if (*p > 0 && current->nr_dirtied < ratelimit) { in balance_dirty_pages_ratelimited_flags() 2090 nr_pages_dirtied = min(*p, ratelimit - current->nr_dirtied); in balance_dirty_pages_ratelimited_flags() 2096 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited_flags() [all...] |
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-devices-aer | 134 Writing a positive value sets the ratelimit interval in ms. 143 before ratelimiting. Reading gets the current ratelimit 151 ratelimiting. Writing a positive value sets the ratelimit 162 current ratelimit burst. Default is DEFAULT_RATELIMIT_BURST
|
/linux/arch/x86/kernel/ |
H A D | umip.c | 14 #include <linux/ratelimit.h> 120 static DEFINE_RATELIMIT_STATE(ratelimit, 2 * 60 * HZ, 5); in umip_printk() 125 if (!__ratelimit(&ratelimit)) in umip_printk()
|
/linux/include/linux/sched/ |
H A D | user.h | 9 #include <linux/ratelimit.h> 36 struct ratelimit_state ratelimit; member
|
/linux/fs/bcachefs/ |
H A D | recovery_passes.c | 108 prt_str(out, " (no ratelimit)"); in bch2_sb_recovery_passes_to_text() 361 bool ratelimit = flags & RUN_RECOVERY_PASS_ratelimit; in __bch2_run_explicit_recovery_pass() local 376 if (ratelimit) in __bch2_run_explicit_recovery_pass() 381 if (in_recovery && !ratelimit) { in __bch2_run_explicit_recovery_pass() 397 ratelimit ? " - ratelimiting" : ""); in __bch2_run_explicit_recovery_pass()
|
/linux/fs/fat/ |
H A D | fat.h | 8 #include <linux/ratelimit.h> 98 struct ratelimit_state ratelimit; member 448 __fat_fs_error(sb, __ratelimit(&MSDOS_SB(sb)->ratelimit), fmt , ## args) 460 if (__ratelimit(&MSDOS_SB(sb)->ratelimit)) \
|
/linux/drivers/power/supply/ |
H A D | cros_peripheral_charger.c | 178 static int cros_pchg_get_port_status(struct port_data *port, bool ratelimit) in cros_pchg_get_port_status() argument 182 if (ratelimit && in cros_pchg_get_port_status()
|
H A D | cros_usbpd-charger.c | 298 bool ratelimit) in cros_usbpd_charger_get_port_status() argument 302 if (ratelimit && in cros_usbpd_charger_get_port_status()
|
/linux/fs/efivarfs/ |
H A D | file.c | 89 while (!__ratelimit(&file->f_cred->user->ratelimit)) in efivarfs_file_read()
|
/linux/drivers/pci/pcie/ |
H A D | aer.c | 31 #include <linux/ratelimit.h> 632 * <=0: disabled with ratelimit.interval = 0 633 * >0: enabled with ratelimit.interval in ms 635 #define aer_ratelimit_interval_attr(name, ratelimit) \ argument 643 pdev->aer_info->ratelimit.interval); \ 664 pdev->aer_info->ratelimit.interval = interval; \ 670 #define aer_ratelimit_burst_attr(name, ratelimit) \ argument 678 pdev->aer_info->ratelimit.burst); \ 694 pdev->aer_info->ratelimit.burst = burst; \ 795 return 1; /* Don't ratelimit fata in aer_ratelimit() [all...] |
/linux/Documentation/arch/x86/ |
H A D | buslock.rst | 73 |ratelimit:N |Do nothing |Limit bus lock rate to | 118 ratelimit section in Guidance
|
/linux/arch/parisc/kernel/ |
H A D | unaligned.c | 12 #include <linux/ratelimit.h> 375 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in handle_unaligned() 389 __ratelimit(&ratelimit)) { in handle_unaligned()
|
/linux/fs/exfat/ |
H A D | exfat_fs.h | 10 #include <linux/ratelimit.h> 280 struct ratelimit_state ratelimit; member 553 __exfat_fs_error(sb, __ratelimit(&EXFAT_SB(sb)->ratelimit), \
|
/linux/arch/alpha/kernel/ |
H A D | traps.c | 21 #include <linux/ratelimit.h> 665 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in do_entUnaUser() 676 if (__ratelimit(&ratelimit)) { in do_entUnaUser()
|
/linux/arch/sparc/kernel/ |
H A D | unaligned_64.c | 24 #include <linux/ratelimit.h> 298 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); in log_unaligned() 300 if (__ratelimit(&ratelimit)) { in log_unaligned()
|
/linux/drivers/acpi/apei/ |
H A D | ghes.c | 32 #include <linux/ratelimit.h> 971 struct ratelimit_state *ratelimit; in ghes_print_estatus() local 974 ratelimit = &ratelimit_corrected; in ghes_print_estatus() 976 ratelimit = &ratelimit_uncorrected; in ghes_print_estatus() 977 if (__ratelimit(ratelimit)) { in ghes_print_estatus()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | Kconfig | 133 If set to N, will not be able to configure QoS and ratelimit attributes.
|