Searched refs:thresh (Results 1 - 25 of 82) sorted by last modified time

1234

/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c1103 seq_printf(m, "W6: thresh\t\t%llu\n", (u64)aura->thresh);
H A Dmbox.h1676 u64 thresh; member in struct:ptp_req
/linux-master/kernel/
H A Dworkqueue.c7399 unsigned long thresh = READ_ONCE(wq_watchdog_thresh) * HZ; local
7406 if (!thresh)
7437 if (time_after(now, ts + thresh)) {
7461 mod_timer(&wq_watchdog_timer, jiffies + thresh);
7472 static void wq_watchdog_set_thresh(unsigned long thresh) argument
7477 if (thresh) {
7478 wq_watchdog_thresh = thresh;
7480 mod_timer(&wq_watchdog_timer, jiffies + thresh * HZ);
7487 unsigned long thresh; local
7490 ret = kstrtoul(val, 0, &thresh);
7675 unsigned long thresh; local
[all...]
/linux-master/fs/btrfs/
H A Dextent_io.c1238 int thresh = 8192; local
1240 if (delalloc_to_write < thresh * 2)
1241 thresh = delalloc_to_write;
1243 thresh);
H A Dblock-group.c1764 u64 thresh; local
1769 thresh = mult_perc(bg->length, reclaim_thresh);
1775 if (old_val < thresh)
1777 if (new_val >= thresh)
3803 u64 thresh; local
3813 thresh = btrfs_super_total_bytes(fs_info->super_copy);
3814 thresh = max_t(u64, SZ_64M, mult_perc(thresh, 1));
3816 if (sinfo->total_bytes - bytes_used < thresh)
H A Dsysfs.c914 int thresh; local
917 ret = kstrtoint(buf, 10, &thresh);
921 if (thresh < 0 || thresh > 100)
924 WRITE_ONCE(space_info->bg_reclaim_threshold, thresh);
1288 int thresh; local
1291 ret = kstrtoint(buf, 10, &thresh);
1296 if (thresh != 0 && (thresh > 100))
1299 if (thresh !
[all...]
H A Dsuper.c1689 u64 thresh = 0; local
1754 thresh = SZ_4M;
1764 (total_free_meta < thresh || total_free_meta - thresh < block_rsv->size))
H A Dspace-info.c860 u64 thresh; local
863 thresh = mult_perc(space_info->total_bytes, 90);
869 global_rsv_size) >= thresh)
922 thresh = calc_available_free_space(fs_info, space_info,
927 thresh += space_info->total_bytes - used;
928 thresh >>= space_info->clamp;
963 return (used >= thresh && !btrfs_fs_closing(fs_info) &&
H A Dcompression.c178 int thresh; member in struct:btrfs_compr_pool
190 ret = READ_ONCE(compr_pool.count) - READ_ONCE(compr_pool.thresh);
249 if (compr_pool.count > compr_pool.thresh) {
1079 compr_pool.thresh = BTRFS_MAX_COMPRESSED / PAGE_SIZE * 8;
H A Dasync-thread.c45 int thresh; member in struct:btrfs_workqueue
64 * to support "thresh == NO_THRESHOLD" case, but it requires
68 if (wq->thresh == NO_THRESHOLD)
71 return atomic_read(&wq->pending) > wq->thresh * 2;
86 int limit_active, int thresh)
96 if (thresh == 0)
97 thresh = DFT_THRESHOLD;
99 if (thresh < DFT_THRESHOLD) {
101 ret->thresh = NO_THRESHOLD;
109 ret->thresh
84 btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info, const char *name, unsigned int flags, int limit_active, int thresh) argument
[all...]
H A Dasync-thread.h36 int thresh);
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c1629 if (unlikely(atomic_read(&ring->free_count) <= ring->thresh))
2366 (atomic_read(&ring->free_count) > ring->thresh))
2515 ring->thresh = MAX_SKB_FRAGS;
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.h325 u64 thresh; member in struct:otx2_ptp
/linux-master/mm/
H A Dpage-writeback.c134 unsigned long thresh; /* dirty threshold */ member in struct:dirty_throttle_control
367 * domain_dirty_limits - calculate thresh and bg_thresh for a wb_domain
370 * Calculate @dtc->thresh and ->bg_thresh considering
384 unsigned long thresh; local
409 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE);
411 thresh = (ratio * available_memory) / PAGE_SIZE;
418 if (bg_thresh >= thresh)
419 bg_thresh = thresh / 2;
423 thresh += thresh /
813 dirty_freerun_ceiling(unsigned long thresh, unsigned long bg_thresh) argument
819 hard_dirty_limit(struct wb_domain *dom, unsigned long thresh) argument
864 unsigned long thresh = dtc->thresh; local
888 wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh) argument
1233 unsigned long thresh = dtc->thresh; local
1518 dirty_poll_interval(unsigned long dirty, unsigned long thresh) argument
1694 unsigned long dirty, thresh, bg_thresh; local
2085 unsigned long thresh; local
[all...]
/linux-master/include/linux/
H A Dwriteback.h357 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh);
/linux-master/drivers/perf/
H A Dxgene_pmu.c560 XGENE_PMU_EVENT_ATTR(queue-fill-gt-thresh, 0x22),
561 XGENE_PMU_EVENT_ATTR(queue-rds-gt-thresh, 0x23),
562 XGENE_PMU_EVENT_ATTR(queue-wrs-gt-thresh, 0x24),
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Dcoex.c4804 _update_rssi_state(struct rtw89_dev *rtwdev, u8 pre_state, u8 rssi, u8 thresh) argument
4811 if (rssi >= (thresh + tol))
4816 if (rssi < thresh)
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c3508 wlc_lcnphy_samp_cap(struct brcms_phy *pi, int clip_detect_algo, u16 thresh, argument
3574 if (imag > thresh || imag < -thresh) {
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c2508 u32 thresh = (ETH_MAX_JUMBO_PACKET_SIZE + local
2512 REG_WR(bp, PBF_REG_P0_ARB_THRSH + port*4, thresh);
2516 init_crd = thresh + 553 - 22;
/linux-master/block/
H A Dblk-iolatency.c236 u64 thresh = div64_u64(stat->ps.total, 10); local
237 thresh = max(thresh, 1ULL);
238 return stat->ps.missed < thresh;
/linux-master/arch/x86/kernel/
H A Dtsc.c356 u64 thresh = tsc_khz ? tsc_khz >> 5 : TSC_DEFAULT_THRESHOLD; local
366 if ((t2 - t1) < thresh)
/linux-master/arch/x86/events/intel/
H A Duncore_snbep.c485 DEFINE_UNCORE_FORMAT_ATTR(thresh9, thresh, "config:24-35");
486 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31");
487 DEFINE_UNCORE_FORMAT_ATTR(thresh6, thresh, "config:24-29");
488 DEFINE_UNCORE_FORMAT_ATTR(thresh5, thresh, "config:24-28");
H A Duncore_nhmex.c195 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31");
/linux-master/drivers/gpu/host1x/
H A Ddev.h79 struct host1x *host, unsigned int id, u32 thresh);
232 u32 thresh)
234 host->intr_op->set_syncpt_threshold(host, id, thresh);
230 host1x_hw_intr_set_syncpt_threshold(struct host1x *host, unsigned int id, u32 thresh) argument
/linux-master/drivers/gpu/drm/tegra/
H A Ddrm.c423 return host1x_syncpt_wait(sp, args->thresh,

Completed in 535 milliseconds

1234