thresh 187 arch/arm/mach-pxa/sharpsl_pm.c struct battery_thresh *thresh; thresh 190 arch/arm/mach-pxa/sharpsl_pm.c thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_acin; thresh 192 arch/arm/mach-pxa/sharpsl_pm.c thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noac; thresh 194 arch/arm/mach-pxa/sharpsl_pm.c while (i > 0 && (voltage > thresh[i].voltage)) thresh 197 arch/arm/mach-pxa/sharpsl_pm.c return thresh[i].percentage; thresh 372 arch/mips/cavium-octeon/executive/cvmx-spi.c gmxx_tx_spi_thresh.s.thresh = 4; thresh 1079 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t thresh:32; thresh 1081 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t thresh:32; thresh 1118 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t thresh:32; thresh 1120 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t thresh:32; thresh 1127 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t thresh:29; thresh 1129 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t thresh:29; thresh 1244 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t thresh:32; thresh 1246 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t thresh:32; thresh 2224 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t thresh:6; thresh 2226 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t thresh:6; thresh 155 arch/powerpc/perf/mpc7450-pmu.c int thresh, tuse; thresh 171 arch/powerpc/perf/mpc7450-pmu.c thresh = ((unsigned int)event >> PM_THRESH_SH) & PM_THRESH_MSK; thresh 173 arch/powerpc/perf/mpc7450-pmu.c value |= thresh << 24; thresh 268 arch/powerpc/perf/mpc7450-pmu.c u32 ev, pmc, thresh; thresh 303 arch/powerpc/perf/mpc7450-pmu.c thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK; thresh 304 arch/powerpc/perf/mpc7450-pmu.c mmcr0 |= thresh << 16; thresh 149 arch/x86/events/intel/bts.c unsigned long index, thresh = 0, end = phys->size; thresh 161 arch/x86/events/intel/bts.c thresh = end - BTS_SAFETY_MARGIN; thresh 163 arch/x86/events/intel/bts.c thresh = end - BTS_RECORD_SIZE; thresh 165 arch/x86/events/intel/bts.c thresh = end; thresh 172 arch/x86/events/intel/bts.c ? ds->bts_buffer_base + thresh thresh 195 arch/x86/events/intel/uncore_nhmex.c DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31"); thresh 397 arch/x86/events/intel/uncore_snbep.c DEFINE_UNCORE_FORMAT_ATTR(thresh9, thresh, "config:24-35"); thresh 398 arch/x86/events/intel/uncore_snbep.c DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31"); thresh 399 arch/x86/events/intel/uncore_snbep.c DEFINE_UNCORE_FORMAT_ATTR(thresh6, thresh, "config:24-29"); thresh 400 arch/x86/events/intel/uncore_snbep.c DEFINE_UNCORE_FORMAT_ATTR(thresh5, thresh, "config:24-28"); thresh 312 arch/x86/kernel/tsc.c u64 thresh = tsc_khz ? tsc_khz >> 5 : TSC_DEFAULT_THRESHOLD; thresh 322 arch/x86/kernel/tsc.c if ((t2 - t1) < thresh) thresh 230 block/blk-iolatency.c u64 thresh = div64_u64(stat->ps.total, 10); thresh 231 block/blk-iolatency.c thresh = max(thresh, 1ULL); thresh 232 block/blk-iolatency.c return stat->ps.missed < thresh; thresh 183 drivers/cpuidle/governors/menu.c unsigned int min, max, thresh, avg; thresh 186 drivers/cpuidle/governors/menu.c thresh = INT_MAX; /* Discard outliers above this value */ thresh 197 drivers/cpuidle/governors/menu.c if (value <= thresh) { thresh 224 drivers/cpuidle/governors/menu.c if (value <= thresh) { thresh 265 drivers/cpuidle/governors/menu.c thresh = max - 1; thresh 1214 drivers/crypto/picoxcell_crypto.c unsigned long thresh; thresh 1216 drivers/crypto/picoxcell_crypto.c if (kstrtoul(buf, 0, &thresh)) thresh 1219 drivers/crypto/picoxcell_crypto.c thresh = clamp(thresh, 1UL, engine->fifo_sz - 1); thresh 1221 drivers/crypto/picoxcell_crypto.c engine->stat_irq_thresh = thresh; thresh 580 drivers/gpu/drm/tegra/drm.c return host1x_syncpt_wait(sp, args->thresh, thresh 79 drivers/gpu/host1x/dev.h struct host1x *host, unsigned int id, u32 thresh); thresh 202 drivers/gpu/host1x/dev.h u32 thresh) thresh 204 drivers/gpu/host1x/dev.h host->intr_op->set_syncpt_threshold(host, id, thresh); thresh 108 drivers/gpu/host1x/hw/intr_hw.c u32 thresh) thresh 110 drivers/gpu/host1x/hw/intr_hw.c host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); thresh 40 drivers/gpu/host1x/intr.c u32 thresh = waiter->thresh; thresh 43 drivers/gpu/host1x/intr.c if ((s32)(pos->thresh - thresh) <= 0) { thresh 63 drivers/gpu/host1x/intr.c if ((s32)(waiter->thresh - sync) > 0) thresh 92 drivers/gpu/host1x/intr.c u32 thresh = thresh 93 drivers/gpu/host1x/intr.c list_first_entry(head, struct host1x_waitlist, list)->thresh; thresh 95 drivers/gpu/host1x/intr.c host1x_hw_intr_set_syncpt_threshold(host, id, thresh); thresh 107 drivers/gpu/host1x/intr.c waiter->count, waiter->thresh); thresh 204 drivers/gpu/host1x/intr.c u32 thresh, enum host1x_intr_action action, thresh 220 drivers/gpu/host1x/intr.c waiter->thresh = thresh; thresh 232 drivers/gpu/host1x/intr.c host1x_hw_intr_set_syncpt_threshold(host, syncpt->id, thresh); thresh 49 drivers/gpu/host1x/intr.h u32 thresh; thresh 69 drivers/gpu/host1x/intr.h u32 thresh, enum host1x_intr_action action, thresh 191 drivers/gpu/host1x/syncpt.c static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) thresh 195 drivers/gpu/host1x/syncpt.c return host1x_syncpt_is_expired(sp, thresh); thresh 205 drivers/gpu/host1x/syncpt.c int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, thresh 218 drivers/gpu/host1x/syncpt.c if (host1x_syncpt_is_expired(sp, thresh)) { thresh 227 drivers/gpu/host1x/syncpt.c if (host1x_syncpt_is_expired(sp, thresh)) { thresh 247 drivers/gpu/host1x/syncpt.c err = host1x_intr_add_action(sp->host, sp, thresh, thresh 264 drivers/gpu/host1x/syncpt.c syncpt_load_min_is_expired(sp, thresh), thresh 266 drivers/gpu/host1x/syncpt.c if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { thresh 286 drivers/gpu/host1x/syncpt.c thresh, timeout); thresh 307 drivers/gpu/host1x/syncpt.c bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) thresh 360 drivers/gpu/host1x/syncpt.c return future_val - thresh >= current_val - thresh; thresh 362 drivers/gpu/host1x/syncpt.c return (s32)(current_val - thresh) >= 0; thresh 96 drivers/gpu/host1x/syncpt.h bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh); thresh 78 drivers/hwmon/i5500_temp.c static SENSOR_DEVICE_ATTR_RO(temp1_crit, thresh, 0xE2); thresh 79 drivers/hwmon/i5500_temp.c static SENSOR_DEVICE_ATTR_RO(temp1_max_hyst, thresh, 0xEC); thresh 80 drivers/hwmon/i5500_temp.c static SENSOR_DEVICE_ATTR_RO(temp1_max, thresh, 0xEE); thresh 704 drivers/infiniband/hw/hfi1/pio.c u32 thresh; thresh 813 drivers/infiniband/hw/hfi1/pio.c thresh = sc_percent_to_threshold(sc, 50); thresh 815 drivers/infiniband/hw/hfi1/pio.c thresh = sc_percent_to_threshold(sc, thresh 818 drivers/infiniband/hw/hfi1/pio.c thresh = min(sc_percent_to_threshold(sc, 50), thresh 822 drivers/infiniband/hw/hfi1/pio.c reg = thresh << SC(CREDIT_CTRL_THRESHOLD_SHIFT); thresh 872 drivers/infiniband/hw/hfi1/pio.c thresh); thresh 189 drivers/input/mouse/trackpoint.c TRACKPOINT_INT_ATTR(thresh, TP_THRESH, TP_DEF_THRESH); thresh 329 drivers/input/mouse/trackpoint.c TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, thresh); thresh 350 drivers/input/mouse/trackpoint.c TRACKPOINT_SET_POWER_ON_DEFAULT(tp, thresh); thresh 148 drivers/input/mouse/trackpoint.h u8 thresh, upthresh; thresh 1304 drivers/media/pci/tw5864/tw5864-video.c const u16 thresh = input->md_threshold_grid_values[i]; thresh 1307 drivers/media/pci/tw5864/tw5864-video.c if (metric > thresh) thresh 892 drivers/misc/apds990x.c unsigned long thresh; thresh 895 drivers/misc/apds990x.c ret = kstrtoul(buf, 0, &thresh); thresh 899 drivers/misc/apds990x.c if (thresh > APDS_RANGE) thresh 903 drivers/misc/apds990x.c *target = thresh; thresh 1049 drivers/misc/bh1770glc.c unsigned long thresh; thresh 1052 drivers/misc/bh1770glc.c ret = kstrtoul(buf, 0, &thresh); thresh 1056 drivers/misc/bh1770glc.c if (thresh > BH1770_LUX_RANGE) thresh 1060 drivers/misc/bh1770glc.c *target = thresh; thresh 2508 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 thresh = (ETH_MAX_JUMBO_PACKET_SIZE + thresh 2512 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c REG_WR(bp, PBF_REG_P0_ARB_THRSH + port*4, thresh); thresh 2516 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c init_crd = thresh + 553 - 22; thresh 270 drivers/net/ethernet/cavium/thunder/nicvf_queues.c rbdr->thresh = RBDR_THRESH; thresh 486 drivers/net/ethernet/cavium/thunder/nicvf_queues.c cq->thresh = pass1_silicon(nic->pdev) ? 0 : CMP_QUEUE_CQE_THRESH; thresh 520 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->thresh = SND_QUEUE_THRESH; thresh 852 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_THRESH, qidx, cq->thresh); thresh 905 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_THRESH, qidx, sq->thresh); thresh 949 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, rbdr->thresh - 1); thresh 225 drivers/net/ethernet/cavium/thunder/nicvf_queues.h u32 thresh; /* Threshold level for interrupt */ thresh 257 drivers/net/ethernet/cavium/thunder/nicvf_queues.h u16 thresh; thresh 268 drivers/net/ethernet/cavium/thunder/nicvf_queues.h u16 thresh; thresh 537 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c u8 thresh; thresh 541 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c qman_dqrr_get_ithresh(portal, &thresh); thresh 544 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c c->rx_max_coalesced_frames = thresh; thresh 557 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c u8 thresh, prev_thresh; thresh 564 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c thresh = c->rx_max_coalesced_frames; thresh 577 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c res = qman_dqrr_set_ithresh(portal, thresh); thresh 239 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 thresh : 36; thresh 241 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 thresh : 36; thresh 345 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 thresh : 36; thresh 347 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 thresh : 36; thresh 1521 drivers/net/ethernet/marvell/sky2.c unsigned i, thresh; thresh 1556 drivers/net/ethernet/marvell/sky2.c thresh = sky2_get_rx_threshold(sky2); thresh 1557 drivers/net/ethernet/marvell/sky2.c if (thresh > 0x1ff) thresh 1560 drivers/net/ethernet/marvell/sky2.c sky2_write16(hw, SK_REG(sky2->port, RX_GMF_TR_THR), thresh); thresh 1171 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (unlikely(atomic_read(&ring->free_count) <= ring->thresh)) thresh 1450 drivers/net/ethernet/mediatek/mtk_eth_soc.c (atomic_read(&ring->free_count) > ring->thresh)) thresh 1577 drivers/net/ethernet/mediatek/mtk_eth_soc.c ring->thresh = MAX_SKB_FRAGS; thresh 628 drivers/net/ethernet/mediatek/mtk_eth_soc.h u16 thresh; thresh 1489 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c int unused, thresh; thresh 1500 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c thresh = tx_ring->count - PCH_GBE_TX_WEIGHT; thresh 1501 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if ((tx_desc->gbec_status == DSC_INIT16) && (unused < thresh)) thresh 1672 drivers/net/ethernet/ti/netcp_core.c config.u.rx.thresh = DMA_THRESH_NONE; thresh 817 drivers/net/wireless/ath/ath9k/ar9003_mci.c u32 thresh; thresh 832 drivers/net/wireless/ath/ath9k/ar9003_mci.c thresh = MS(mci->config, ATH_MCI_CONFIG_AGGR_THRESH); thresh 834 drivers/net/wireless/ath/ath9k/ar9003_mci.c AR_BTCOEX_CTRL_AGGR_THRESH, thresh); thresh 3567 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_samp_cap(struct brcms_phy *pi, int clip_detect_algo, u16 thresh, thresh 3633 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (imag > thresh || imag < -thresh) { thresh 565 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(queue-fill-gt-thresh, 0x22), thresh 566 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(queue-rds-gt-thresh, 0x23), thresh 567 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(queue-wrs-gt-thresh, 0x24), thresh 193 drivers/regulator/da903x.c int thresh, sel; thresh 200 drivers/regulator/da903x.c thresh = (info->max_uV + info->desc.min_uV) / 2; thresh 201 drivers/regulator/da903x.c if (min_uV < thresh) { thresh 202 drivers/regulator/da903x.c sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); thresh 205 drivers/regulator/da903x.c sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step); thresh 88 drivers/soc/ti/knav_dma.c u32 thresh[3]; thresh 198 drivers/soc/ti/knav_dma.c writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); thresh 199 drivers/soc/ti/knav_dma.c writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); thresh 200 drivers/soc/ti/knav_dma.c writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); thresh 243 drivers/soc/ti/knav_dma.c writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); thresh 244 drivers/soc/ti/knav_dma.c writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); thresh 245 drivers/soc/ti/knav_dma.c writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); thresh 340 drivers/soc/ti/knav_dma.c chan->cfg.u.rx.thresh); thresh 803 drivers/target/target_core_user.c static inline size_t spc_bitmap_free(unsigned long *bitmap, uint32_t thresh) thresh 805 drivers/target/target_core_user.c return thresh - bitmap_weight(bitmap, thresh); thresh 71 drivers/thermal/qcom/qcom-spmi-temp-alarm.c unsigned int thresh; thresh 153 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->thresh * TEMP_THRESH_STEP + thresh 158 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->thresh * TEMP_THRESH_STEP - thresh 215 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->thresh = THRESH_MIN; thresh 220 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->thresh = THRESH_MAX - thresh 225 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->thresh = THRESH_MAX; thresh 235 drivers/thermal/qcom/qcom-spmi-temp-alarm.c reg |= chip->thresh; thresh 317 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->thresh = reg & SHUTDOWN_CTRL1_THRESHOLD_MASK; thresh 329 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->temp = chip->thresh * TEMP_THRESH_STEP + thresh 46 fs/btrfs/async-thread.c int thresh; thresh 76 fs/btrfs/async-thread.c if (wq->normal->thresh == NO_THRESHOLD) thresh 79 fs/btrfs/async-thread.c return atomic_read(&wq->normal->pending) > wq->normal->thresh * 2; thresh 84 fs/btrfs/async-thread.c unsigned int flags, int limit_active, int thresh) thresh 94 fs/btrfs/async-thread.c if (thresh == 0) thresh 95 fs/btrfs/async-thread.c thresh = DFT_THRESHOLD; thresh 97 fs/btrfs/async-thread.c if (thresh < DFT_THRESHOLD) { thresh 99 fs/btrfs/async-thread.c ret->thresh = NO_THRESHOLD; thresh 107 fs/btrfs/async-thread.c ret->thresh = thresh; thresh 135 fs/btrfs/async-thread.c int thresh) thresh 144 fs/btrfs/async-thread.c limit_active, thresh); thresh 152 fs/btrfs/async-thread.c limit_active, thresh); thresh 169 fs/btrfs/async-thread.c if (wq->thresh == NO_THRESHOLD) thresh 185 fs/btrfs/async-thread.c if (wq->thresh == NO_THRESHOLD) thresh 195 fs/btrfs/async-thread.c wq->count %= (wq->thresh / 4); thresh 205 fs/btrfs/async-thread.c if (pending > wq->thresh) thresh 207 fs/btrfs/async-thread.c if (pending < wq->thresh / 2) thresh 36 fs/btrfs/async-thread.h int thresh); thresh 2826 fs/btrfs/block-group.c u64 thresh; thresh 2836 fs/btrfs/block-group.c thresh = btrfs_super_total_bytes(fs_info->super_copy); thresh 2837 fs/btrfs/block-group.c thresh = max_t(u64, SZ_64M, div_factor_fine(thresh, 1)); thresh 2839 fs/btrfs/block-group.c if (sinfo->total_bytes - bytes_used < thresh) thresh 3005 fs/btrfs/block-group.c u64 thresh; thresh 3023 fs/btrfs/block-group.c thresh = btrfs_calc_metadata_size(fs_info, num_devs) + thresh 3026 fs/btrfs/block-group.c if (left < thresh && btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { thresh 3028 fs/btrfs/block-group.c left, thresh, type); thresh 3032 fs/btrfs/block-group.c if (left < thresh) { thresh 3047 fs/btrfs/block-group.c thresh, BTRFS_RESERVE_NO_FLUSH); thresh 3049 fs/btrfs/block-group.c trans->chunk_bytes_reserved += thresh; thresh 3375 fs/btrfs/extent_io.c int thresh = 8192; thresh 3377 fs/btrfs/extent_io.c if (delalloc_to_write < thresh * 2) thresh 3378 fs/btrfs/extent_io.c thresh = delalloc_to_write; thresh 3380 fs/btrfs/extent_io.c thresh); thresh 1018 fs/btrfs/ioctl.c static int check_defrag_in_cache(struct inode *inode, u64 offset, u32 thresh) thresh 1032 fs/btrfs/ioctl.c if (end - offset > thresh) thresh 1036 fs/btrfs/ioctl.c thresh /= 2; thresh 1037 fs/btrfs/ioctl.c end = count_range_bits(io_tree, &offset, offset + thresh, thresh 1038 fs/btrfs/ioctl.c thresh, EXTENT_DELALLOC, 1); thresh 1039 fs/btrfs/ioctl.c if (end >= thresh) thresh 1053 fs/btrfs/ioctl.c u64 *off, u32 thresh) thresh 1087 fs/btrfs/ioctl.c btrfs_file_extent_num_bytes(leaf, extent) < thresh && thresh 1088 fs/btrfs/ioctl.c check_defrag_in_cache(inode, min_key.offset, thresh)) { thresh 1162 fs/btrfs/ioctl.c static int should_defrag_range(struct inode *inode, u64 start, u32 thresh, thresh 1198 fs/btrfs/ioctl.c if (!compress && (*last_len == 0 || *last_len >= thresh) && thresh 1199 fs/btrfs/ioctl.c (em->len >= thresh || (!next_mergeable && !prev_mergeable))) thresh 672 fs/btrfs/space-info.c u64 thresh = div_factor_fine(space_info->total_bytes, 98); thresh 675 fs/btrfs/space-info.c if ((space_info->bytes_used + space_info->bytes_reserved) >= thresh) thresh 682 fs/btrfs/space-info.c return (used >= thresh && !btrfs_fs_closing(fs_info) && thresh 2037 fs/btrfs/super.c u64 thresh = 0; thresh 2105 fs/btrfs/super.c thresh = SZ_4M; thresh 2115 fs/btrfs/super.c total_free_meta - thresh < block_rsv->size) thresh 423 fs/ext4/resize.c static int extend_or_restart_transaction(handle_t *handle, int thresh) thresh 427 fs/ext4/resize.c if (ext4_handle_has_enough_credits(handle, thresh)) thresh 132 fs/jfs/jfs_types.h u8 thresh; /* Alert Threshold (in percent) */ thresh 458 fs/ocfs2/journal.c int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) thresh 465 fs/ocfs2/journal.c trace_ocfs2_allocate_extend_trans(old_nblks, thresh); thresh 467 fs/ocfs2/journal.c if (old_nblks < thresh) thresh 247 fs/ocfs2/journal.h int thresh); thresh 145 include/linux/host1x.h int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, thresh 97 include/linux/igmp.h #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ thresh 98 include/linux/igmp.h ((value) < (thresh) ? (value) : \ thresh 117 include/linux/soc/ti/knav_dma.h enum knav_dma_rx_thresholds thresh; thresh 385 include/linux/writeback.h unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh); thresh 180 include/trace/events/host1x.h TP_PROTO(const char *name, int count, u32 thresh), thresh 182 include/trace/events/host1x.h TP_ARGS(name, count, thresh), thresh 187 include/trace/events/host1x.h __field(u32, thresh) thresh 193 include/trace/events/host1x.h __entry->thresh = thresh; thresh 197 include/trace/events/host1x.h __entry->name, __entry->count, __entry->thresh) thresh 237 include/trace/events/host1x.h TP_PROTO(struct host1x_bo *bo, u32 offset, u32 syncpt_id, u32 thresh, thresh 240 include/trace/events/host1x.h TP_ARGS(bo, offset, syncpt_id, thresh, min), thresh 246 include/trace/events/host1x.h __field(u32, thresh) thresh 254 include/trace/events/host1x.h __entry->thresh = thresh; thresh 260 include/trace/events/host1x.h __entry->syncpt_id, __entry->thresh, thresh 629 include/trace/events/writeback.h unsigned long thresh, thresh 641 include/trace/events/writeback.h TP_ARGS(wb, thresh, bg_thresh, dirty, bdi_thresh, bdi_dirty, thresh 664 include/trace/events/writeback.h unsigned long freerun = (thresh + bg_thresh) / 2; thresh 672 include/trace/events/writeback.h bdi_thresh / (thresh + 1); thresh 150 include/uapi/drm/tegra_drm.h __u32 thresh; thresh 405 include/uapi/drm/tegra_drm.h __u32 thresh; thresh 3892 kernel/sched/fair.c unsigned long thresh = sysctl_sched_latency; thresh 3899 kernel/sched/fair.c thresh >>= 1; thresh 3901 kernel/sched/fair.c vruntime -= thresh; thresh 173 kernel/trace/trace_hwlat.c u64 thresh = tracing_thresh; thresh 177 kernel/trace/trace_hwlat.c do_div(thresh, NSEC_PER_USEC); /* modifies interval value */ thresh 238 kernel/trace/trace_hwlat.c if (sample > thresh || outer_sample > thresh) { thresh 5729 kernel/workqueue.c unsigned long thresh = READ_ONCE(wq_watchdog_thresh) * HZ; thresh 5734 kernel/workqueue.c if (!thresh) thresh 5763 kernel/workqueue.c if (time_after(jiffies, ts + thresh)) { thresh 5778 kernel/workqueue.c mod_timer(&wq_watchdog_timer, jiffies + thresh); thresh 5789 kernel/workqueue.c static void wq_watchdog_set_thresh(unsigned long thresh) thresh 5794 kernel/workqueue.c if (thresh) { thresh 5795 kernel/workqueue.c wq_watchdog_thresh = thresh; thresh 5797 kernel/workqueue.c mod_timer(&wq_watchdog_timer, jiffies + thresh * HZ); thresh 5804 kernel/workqueue.c unsigned long thresh; thresh 5807 kernel/workqueue.c ret = kstrtoul(val, 0, &thresh); thresh 5812 kernel/workqueue.c wq_watchdog_set_thresh(thresh); thresh 5814 kernel/workqueue.c wq_watchdog_thresh = thresh; thresh 139 mm/page-writeback.c unsigned long thresh; /* dirty threshold */ thresh 402 mm/page-writeback.c unsigned long thresh; thresh 427 mm/page-writeback.c thresh = DIV_ROUND_UP(bytes, PAGE_SIZE); thresh 429 mm/page-writeback.c thresh = (ratio * available_memory) / PAGE_SIZE; thresh 436 mm/page-writeback.c if (bg_thresh >= thresh) thresh 437 mm/page-writeback.c bg_thresh = thresh / 2; thresh 441 mm/page-writeback.c thresh += thresh / 4 + global_wb_domain.dirty_limit / 32; thresh 443 mm/page-writeback.c dtc->thresh = thresh; thresh 448 mm/page-writeback.c trace_global_dirty_state(bg_thresh, thresh); thresh 467 mm/page-writeback.c *pdirty = gdtc.thresh; thresh 716 mm/page-writeback.c static unsigned long dirty_freerun_ceiling(unsigned long thresh, thresh 719 mm/page-writeback.c return (thresh + bg_thresh) / 2; thresh 723 mm/page-writeback.c unsigned long thresh) thresh 725 mm/page-writeback.c return max(thresh, dom->dirty_limit); thresh 767 mm/page-writeback.c unsigned long thresh = dtc->thresh; thresh 778 mm/page-writeback.c wb_thresh = (thresh * (100 - bdi_min_ratio)) / 100; thresh 784 mm/page-writeback.c wb_thresh += (thresh * wb_min_ratio) / 100; thresh 785 mm/page-writeback.c if (wb_thresh > (thresh * wb_max_ratio) / 100) thresh 786 mm/page-writeback.c wb_thresh = thresh * wb_max_ratio / 100; thresh 791 mm/page-writeback.c unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh) thresh 794 mm/page-writeback.c .thresh = thresh }; thresh 908 mm/page-writeback.c unsigned long freerun = dirty_freerun_ceiling(dtc->thresh, dtc->bg_thresh); thresh 909 mm/page-writeback.c unsigned long limit = hard_dirty_limit(dtc_dom(dtc), dtc->thresh); thresh 1033 mm/page-writeback.c if (unlikely(wb_thresh > dtc->thresh)) thresh 1034 mm/page-writeback.c wb_thresh = dtc->thresh; thresh 1047 mm/page-writeback.c x = div_u64((u64)wb_thresh << 16, dtc->thresh | 1); thresh 1057 mm/page-writeback.c span = (dtc->thresh - wb_thresh + 8 * write_bw) * (u64)x >> 16; thresh 1136 mm/page-writeback.c unsigned long thresh = dtc->thresh; thresh 1142 mm/page-writeback.c if (limit < thresh) { thresh 1143 mm/page-writeback.c limit = thresh; thresh 1152 mm/page-writeback.c thresh = max(thresh, dtc->dirty); thresh 1153 mm/page-writeback.c if (limit > thresh) { thresh 1154 mm/page-writeback.c limit -= (limit - thresh) >> 5; thresh 1193 mm/page-writeback.c unsigned long freerun = dirty_freerun_ceiling(dtc->thresh, dtc->bg_thresh); thresh 1194 mm/page-writeback.c unsigned long limit = hard_dirty_limit(dtc_dom(dtc), dtc->thresh); thresh 1411 mm/page-writeback.c unsigned long thresh) thresh 1413 mm/page-writeback.c if (thresh > dirty) thresh 1414 mm/page-writeback.c return 1UL << (ilog2(thresh - dirty) >> 1); thresh 1532 mm/page-writeback.c dtc->wb_bg_thresh = dtc->thresh ? thresh 1533 mm/page-writeback.c div_u64((u64)dtc->wb_thresh * dtc->bg_thresh, dtc->thresh) : 0; thresh 1585 mm/page-writeback.c unsigned long dirty, thresh, bg_thresh; thresh 1607 mm/page-writeback.c thresh = gdtc->wb_thresh; thresh 1611 mm/page-writeback.c thresh = gdtc->thresh; thresh 1636 mm/page-writeback.c m_thresh = mdtc->thresh; thresh 1653 mm/page-writeback.c if (dirty <= dirty_freerun_ceiling(thresh, bg_thresh) && thresh 1656 mm/page-writeback.c unsigned long intv = dirty_poll_interval(dirty, thresh); thresh 1680 mm/page-writeback.c ((gdtc->dirty > gdtc->thresh) || strictlimit); thresh 1696 mm/page-writeback.c ((mdtc->dirty > mdtc->thresh) || strictlimit); thresh 1740 mm/page-writeback.c sdtc->thresh, thresh 1769 mm/page-writeback.c sdtc->thresh, thresh 645 net/ipv4/inet_connection_sock.c static inline void syn_ack_recalc(struct request_sock *req, const int thresh, thresh 651 net/ipv4/inet_connection_sock.c *expire = req->num_timeout >= thresh; thresh 655 net/ipv4/inet_connection_sock.c *expire = req->num_timeout >= thresh && thresh 718 net/ipv4/inet_connection_sock.c int max_retries, thresh; thresh 725 net/ipv4/inet_connection_sock.c thresh = max_retries; thresh 747 net/ipv4/inet_connection_sock.c while (thresh > 2) { thresh 750 net/ipv4/inet_connection_sock.c thresh--; thresh 757 net/ipv4/inet_connection_sock.c syn_ack_recalc(req, thresh, max_retries, defer_accept, thresh 175 net/ipv4/tcp_cdg.c s32 thresh = max(ca->delay_min + ca->delay_min / 8U, thresh 178 net/ipv4/tcp_cdg.c if (ca->rtt.min > thresh) { thresh 130 sound/soc/codecs/tda7419.c unsigned int reg, rreg, mask, thresh; thresh 157 sound/soc/codecs/tda7419.c int min, int thresh, thresh 161 sound/soc/codecs/tda7419.c if (val < thresh) { thresh 164 sound/soc/codecs/tda7419.c } else if (val > thresh) { thresh 166 sound/soc/codecs/tda7419.c val = val - thresh; thresh 168 sound/soc/codecs/tda7419.c val = thresh - val; thresh 187 sound/soc/codecs/tda7419.c int thresh = tvc->thresh; thresh 196 sound/soc/codecs/tda7419.c tda7419_vol_get_value(val, mask, min, thresh, invert); thresh 203 sound/soc/codecs/tda7419.c tda7419_vol_get_value(val, mask, min, thresh, invert); thresh 209 sound/soc/codecs/tda7419.c static inline int tda7419_vol_put_value(int val, int thresh, thresh 216 sound/soc/codecs/tda7419.c val = thresh - val; thresh 218 sound/soc/codecs/tda7419.c val += thresh; thresh 234 sound/soc/codecs/tda7419.c int thresh = tvc->thresh; thresh 240 sound/soc/codecs/tda7419.c thresh, invert); thresh 248 sound/soc/codecs/tda7419.c thresh, invert); thresh 259 sound/soc/codecs/tda7419.c .max = xmax, .thresh = xthresh, .invert = xinvert}) thresh 265 sound/soc/codecs/tda7419.c .max = xmax, .thresh = xthresh, .invert = xinvert}) thresh 1455 tools/perf/builtin-timechart.c int thresh = tchart->io_events ? BYTES_THRESH : TIME_THRESH; thresh 1466 tools/perf/builtin-timechart.c count = determine_display_io_tasks(tchart, thresh); thresh 1468 tools/perf/builtin-timechart.c count = determine_display_tasks(tchart, thresh); thresh 1469 tools/perf/builtin-timechart.c thresh /= 10; thresh 1470 tools/perf/builtin-timechart.c } while (!process_filter && thresh && count < tchart->proc_num); thresh 648 tools/perf/util/hist.c unsigned thresh = -high % high; thresh 651 tools/perf/util/hist.c if (r >= thresh) thresh 730 tools/testing/nvdimm/test/nfit.c struct nd_intel_smart_threshold *thresh) thresh 733 tools/testing/nvdimm/test/nfit.c __func__, thresh->alarm_control, thresh->spares, thresh 734 tools/testing/nvdimm/test/nfit.c smart->spares, thresh->media_temperature, thresh 735 tools/testing/nvdimm/test/nfit.c smart->media_temperature, thresh->ctrl_temperature, thresh 737 tools/testing/nvdimm/test/nfit.c if (((thresh->alarm_control & ND_INTEL_SMART_SPARE_TRIP) thresh 739 tools/testing/nvdimm/test/nfit.c <= thresh->spares) thresh 740 tools/testing/nvdimm/test/nfit.c || ((thresh->alarm_control & ND_INTEL_SMART_TEMP_TRIP) thresh 742 tools/testing/nvdimm/test/nfit.c >= thresh->media_temperature) thresh 743 tools/testing/nvdimm/test/nfit.c || ((thresh->alarm_control & ND_INTEL_SMART_CTEMP_TRIP) thresh 745 tools/testing/nvdimm/test/nfit.c >= thresh->ctrl_temperature) thresh 757 tools/testing/nvdimm/test/nfit.c struct nd_intel_smart_threshold *thresh, thresh 766 tools/testing/nvdimm/test/nfit.c memcpy(thresh->data, in, size); thresh 768 tools/testing/nvdimm/test/nfit.c smart_notify(bus_dev, dimm_dev, smart, thresh); thresh 776 tools/testing/nvdimm/test/nfit.c struct nd_intel_smart_threshold *thresh, thresh 809 tools/testing/nvdimm/test/nfit.c smart_notify(bus_dev, dimm_dev, smart, thresh);