/linux-4.1.27/include/trace/events/ |
H A D | host1x.h | 169 TP_PROTO(const char *name, int count, u32 thresh), 171 TP_ARGS(name, count, thresh), 176 __field(u32, thresh) 182 __entry->thresh = thresh; 185 TP_printk("name=%s, count=%d, thresh=%d", 186 __entry->name, __entry->count, __entry->thresh) 226 TP_PROTO(struct host1x_bo *bo, u32 offset, u32 syncpt_id, u32 thresh, 229 TP_ARGS(bo, offset, syncpt_id, thresh, min), 235 __field(u32, thresh) 243 __entry->thresh = thresh; 247 TP_printk("bo=%p, offset=%05x, id=%d, thresh=%d, current=%d", 249 __entry->syncpt_id, __entry->thresh,
|
H A D | writeback.h | 367 "bg_thresh=%lu thresh=%lu limit=%lu " 428 unsigned long thresh, 440 TP_ARGS(bdi, thresh, bg_thresh, dirty, bdi_thresh, bdi_dirty, 462 unsigned long freerun = (thresh + bg_thresh) / 2; 469 bdi_thresh / (thresh + 1);
|
/linux-4.1.27/fs/btrfs/ |
H A D | async-thread.c | 47 int thresh; member in struct:__btrfs_workqueue 91 int thresh) __btrfs_alloc_workqueue() 100 if (thresh == 0) __btrfs_alloc_workqueue() 101 thresh = DFT_THRESHOLD; __btrfs_alloc_workqueue() 103 if (thresh < DFT_THRESHOLD) { __btrfs_alloc_workqueue() 105 ret->thresh = NO_THRESHOLD; __btrfs_alloc_workqueue() 108 ret->thresh = thresh; __btrfs_alloc_workqueue() 137 int thresh) btrfs_alloc_workqueue() 145 max_active, thresh); btrfs_alloc_workqueue() 153 thresh); btrfs_alloc_workqueue() 170 if (wq->thresh == NO_THRESHOLD) thresh_queue_hook() 186 if (wq->thresh == NO_THRESHOLD) thresh_exec_hook() 196 wq->count %= (wq->thresh / 4); thresh_exec_hook() 206 if (pending > wq->thresh) thresh_exec_hook() 208 if (pending < wq->thresh / 2) thresh_exec_hook() 90 __btrfs_alloc_workqueue(const char *name, unsigned int flags, int max_active, int thresh) __btrfs_alloc_workqueue() argument 134 btrfs_alloc_workqueue(const char *name, unsigned int flags, int max_active, int thresh) btrfs_alloc_workqueue() argument
|
H A D | async-thread.h | 71 int thresh);
|
H A D | ioctl.c | 885 static int check_defrag_in_cache(struct inode *inode, u64 offset, u32 thresh) check_defrag_in_cache() argument 899 if (end - offset > thresh) check_defrag_in_cache() 903 thresh /= 2; check_defrag_in_cache() 904 end = count_range_bits(io_tree, &offset, offset + thresh, check_defrag_in_cache() 905 thresh, EXTENT_DELALLOC, 1); check_defrag_in_cache() 906 if (end >= thresh) check_defrag_in_cache() 913 * newer than a specific transid, and smaller than thresh. 920 u64 *off, u32 thresh) find_new_extents() 954 btrfs_file_extent_num_bytes(leaf, extent) < thresh && find_new_extents() 955 check_defrag_in_cache(inode, min_key.offset, thresh)) { find_new_extents() 1029 static int should_defrag_range(struct inode *inode, u64 start, u32 thresh, should_defrag_range() argument 1061 if (!compress && (*last_len == 0 || *last_len >= thresh) && should_defrag_range() 1062 (em->len >= thresh || !next_mergeable)) should_defrag_range() 918 find_new_extents(struct btrfs_root *root, struct inode *inode, u64 newer_than, u64 *off, u32 thresh) find_new_extents() argument
|
H A D | extent-tree.c | 4066 u64 thresh; should_alloc_chunk() local 4084 thresh = btrfs_super_total_bytes(root->fs_info->super_copy); should_alloc_chunk() 4085 thresh = max_t(u64, 64 * 1024 * 1024, should_alloc_chunk() 4086 div_factor_fine(thresh, 1)); should_alloc_chunk() 4088 if (num_bytes - num_allocated < thresh) should_alloc_chunk() 4120 u64 thresh; check_system_chunk() local 4128 thresh = get_system_chunk_thresh(root, type); check_system_chunk() 4129 if (left < thresh && btrfs_test_opt(root, ENOSPC_DEBUG)) { check_system_chunk() 4131 left, thresh, type); check_system_chunk() 4135 if (left < thresh) { check_system_chunk() 4576 u64 thresh = div_factor_fine(space_info->total_bytes, 98); need_do_async_reclaim() local 4579 if (space_info->bytes_used >= thresh) need_do_async_reclaim() 4582 return (used >= thresh && !btrfs_fs_closing(fs_info) && need_do_async_reclaim()
|
H A D | super.c | 1844 u64 thresh = 0; btrfs_statfs() local 1907 thresh = 4 * 1024 * 1024; 1909 if (total_free_meta - thresh < block_rsv->size)
|
H A D | extent_io.c | 3328 int thresh = 8192; writepage_delalloc() local 3330 if (delalloc_to_write < thresh * 2) writepage_delalloc() 3331 thresh = delalloc_to_write; writepage_delalloc() 3333 thresh); writepage_delalloc()
|
H A D | disk-io.c | 2256 * a higher idle thresh on the submit workers makes it much more btrfs_init_workqueues() 2270 * low idle thresh btrfs_init_workqueues()
|
/linux-4.1.27/drivers/gpu/host1x/ |
H A D | intr.c | 51 u32 thresh = waiter->thresh; add_waiter_to_queue() local 54 if ((s32)(pos->thresh - thresh) <= 0) { list_for_each_entry_reverse() 74 if ((s32)(waiter->thresh - sync) > 0) list_for_each_entry_safe() 103 u32 thresh = reset_threshold_interrupt() local 104 list_first_entry(head, struct host1x_waitlist, list)->thresh; reset_threshold_interrupt() 106 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); reset_threshold_interrupt() 118 waiter->count, waiter->thresh); action_submit_complete() 212 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh, host1x_intr_add_action() argument 229 waiter->thresh = thresh; host1x_intr_add_action() 243 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); host1x_intr_add_action()
|
H A D | syncpt.c | 179 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) syncpt_load_min_is_expired() argument 182 return host1x_syncpt_is_expired(sp, thresh); syncpt_load_min_is_expired() 188 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, host1x_syncpt_wait() argument 201 if (host1x_syncpt_is_expired(sp, thresh)) { host1x_syncpt_wait() 209 if (host1x_syncpt_is_expired(sp, thresh)) { host1x_syncpt_wait() 228 err = host1x_intr_add_action(sp->host, sp->id, thresh, host1x_syncpt_wait() 243 syncpt_load_min_is_expired(sp, thresh), host1x_syncpt_wait() 245 if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { host1x_syncpt_wait() 260 thresh, timeout); host1x_syncpt_wait() 278 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) host1x_syncpt_is_expired() argument 289 * t = thresh = the value we are checking host1x_syncpt_is_expired() 322 * Note: do NOT get clever and remove the -thresh from both sides. It host1x_syncpt_is_expired() 329 return future_val - thresh >= current_val - thresh; host1x_syncpt_is_expired() 331 return (s32)(current_val - thresh) >= 0; host1x_syncpt_is_expired()
|
H A D | intr.h | 59 u32 thresh; member in struct:host1x_waitlist 70 * @thresh the threshold 78 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh,
|
H A D | job.h | 41 u32 thresh; member in struct:host1x_waitchk
|
H A D | dev.h | 85 struct host1x *host, u32 id, u32 thresh); 185 u32 id, u32 thresh) host1x_hw_intr_set_syncpt_threshold() 187 host->intr_op->set_syncpt_threshold(host, id, thresh); host1x_hw_intr_set_syncpt_threshold() 184 host1x_hw_intr_set_syncpt_threshold(struct host1x *host, u32 id, u32 thresh) host1x_hw_intr_set_syncpt_threshold() argument
|
H A D | job.c | 159 wait->syncpt_id, wait->thresh, do_waitchks() 162 if (host1x_syncpt_is_expired(sp, wait->thresh)) { do_waitchks() 164 "drop WAIT id %d (%s) thresh 0x%x, min 0x%x\n", do_waitchks() 165 wait->syncpt_id, sp->name, wait->thresh, do_waitchks()
|
H A D | syncpt.h | 107 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
|
H A D | cdma.c | 280 dev_dbg(dev, "%s: starting cleanup (thresh %d)\n", host1x_cdma_update_sync_queue()
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | msi001.c | 94 unsigned int n, m, thresh, frac, vco_step, tmp, f_if1; msi001_set_tuner() local 209 thresh = (F_REF * R_REF) / vco_step; msi001_set_tuner() 210 frac = 1ul * thresh * m / (F_REF * R_REF); msi001_set_tuner() 213 tmp = gcd(thresh, frac); msi001_set_tuner() 214 thresh /= tmp; msi001_set_tuner() 218 tmp = DIV_ROUND_UP(thresh, 4095); msi001_set_tuner() 219 thresh = DIV_ROUND_CLOSEST(thresh, tmp); msi001_set_tuner() 224 tmp += 1ul * F_REF * R_REF * frac / thresh; msi001_set_tuner() 227 dev_dbg(&s->spi->dev, "rf=%u:%u n=%d thresh=%d frac=%d\n", msi001_set_tuner() 228 f_rf, tmp, n, thresh, frac); msi001_set_tuner() 249 reg |= thresh << 4; msi001_set_tuner()
|
/linux-4.1.27/include/linux/ |
H A D | netfilter.h | 52 int thresh; member in struct:nf_hook_state 62 int thresh, u_int8_t pf, nf_hook_state_init() 69 p->thresh = thresh; nf_hook_state_init() 164 int thresh) nf_hook_thresh() 169 nf_hook_state_init(&state, hook, thresh, pf, nf_hook_thresh() 205 int (*okfn)(struct sock *, struct sk_buff *), int thresh) NF_HOOK_THRESH() 207 int ret = nf_hook_thresh(pf, hook, sk, skb, in, out, okfn, thresh); NF_HOOK_THRESH() 338 int (*okfn)(struct sock *sk, struct sk_buff *), int thresh) nf_hook_thresh() 60 nf_hook_state_init(struct nf_hook_state *p, unsigned int hook, int thresh, u_int8_t pf, struct net_device *indev, struct net_device *outdev, struct sock *sk, int (*okfn)(struct sock *, struct sk_buff *)) nf_hook_state_init() argument 158 nf_hook_thresh(u_int8_t pf, unsigned int hook, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sock *, struct sk_buff *), int thresh) nf_hook_thresh() argument 202 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sock *sk, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct sock *, struct sk_buff *), int thresh) NF_HOOK_THRESH() argument 333 nf_hook_thresh(u_int8_t pf, unsigned int hook, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sock *sk, struct sk_buff *), int thresh) nf_hook_thresh() argument
|
H A D | writeback.h | 14 * The 1/4 region under the global dirty thresh is for smooth dirty throttling: 16 * (thresh - thresh/DIRTY_FULL_SCOPE, thresh) 162 unsigned long thresh,
|
H A D | igmp.h | 104 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ 105 ((value) < (thresh) ? (value) : \
|
H A D | host1x.h | 141 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout,
|
/linux-4.1.27/arch/powerpc/perf/ |
H A D | mpc7450-pmu.c | 159 int thresh, tuse; mpc7450_get_constraint() local 175 thresh = ((unsigned int)event >> PM_THRESH_SH) & PM_THRESH_MSK; mpc7450_get_constraint() 177 value |= thresh << 24; mpc7450_get_constraint() 272 u32 ev, pmc, thresh; mpc7450_compute_mmcr() local 307 thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK; mpc7450_compute_mmcr() 308 mmcr0 |= thresh << 16; mpc7450_compute_mmcr()
|
H A D | power8-pmu.c | 70 * | | *- IFM (Linux) thresh start/stop OR FAB match -*
|
/linux-4.1.27/mm/ |
H A D | page-writeback.c | 507 static unsigned long dirty_freerun_ceiling(unsigned long thresh, dirty_freerun_ceiling() argument 510 return (thresh + bg_thresh) / 2; dirty_freerun_ceiling() 513 static unsigned long hard_dirty_limit(unsigned long thresh) hard_dirty_limit() argument 515 return max(thresh, global_dirty_limit); hard_dirty_limit() 665 * - the bdi dirty thresh drops quickly due to change of JBOD workload 668 unsigned long thresh, bdi_position_ratio() 675 unsigned long freerun = dirty_freerun_ceiling(thresh, bg_thresh); bdi_position_ratio() 676 unsigned long limit = hard_dirty_limit(thresh); bdi_position_ratio() 731 bdi_bg_thresh = div_u64((u64)bdi_thresh * bg_thresh, thresh); bdi_position_ratio() 796 if (unlikely(bdi_thresh > thresh)) bdi_position_ratio() 797 bdi_thresh = thresh; bdi_position_ratio() 808 * bdi_setpoint = setpoint * bdi_thresh / thresh bdi_position_ratio() 810 x = div_u64((u64)bdi_thresh << 16, thresh | 1); bdi_position_ratio() 814 * (thresh - bdi_thresh ~= 0) and transit to bdi_thresh in JBOD case. bdi_position_ratio() 816 * bdi_thresh thresh - bdi_thresh bdi_position_ratio() 818 * thresh thresh bdi_position_ratio() 820 span = (thresh - bdi_thresh + 8 * write_bw) * (u64)x >> 16; bdi_position_ratio() 896 static void update_dirty_limit(unsigned long thresh, unsigned long dirty) update_dirty_limit() argument 903 if (limit < thresh) { update_dirty_limit() 904 limit = thresh; update_dirty_limit() 909 * Follow down slowly. Use the higher one as the target, because thresh update_dirty_limit() 913 thresh = max(thresh, dirty); update_dirty_limit() 914 if (limit > thresh) { update_dirty_limit() 915 limit -= (limit - thresh) >> 5; update_dirty_limit() 923 static void global_update_bandwidth(unsigned long thresh, global_update_bandwidth() argument 938 update_dirty_limit(thresh, dirty); global_update_bandwidth() 951 unsigned long thresh, bdi_update_dirty_ratelimit() 959 unsigned long freerun = dirty_freerun_ceiling(thresh, bg_thresh); bdi_update_dirty_ratelimit() 960 unsigned long limit = hard_dirty_limit(thresh); bdi_update_dirty_ratelimit() 977 pos_ratio = bdi_position_ratio(bdi, thresh, bg_thresh, dirty, bdi_update_dirty_ratelimit() 1115 unsigned long thresh, __bdi_update_bandwidth() 1143 if (thresh) { __bdi_update_bandwidth() 1144 global_update_bandwidth(thresh, dirty, now); __bdi_update_bandwidth() 1145 bdi_update_dirty_ratelimit(bdi, thresh, bg_thresh, dirty, __bdi_update_bandwidth() 1158 unsigned long thresh, bdi_update_bandwidth() 1168 __bdi_update_bandwidth(bdi, thresh, bg_thresh, dirty, bdi_update_bandwidth() 1182 unsigned long thresh) dirty_poll_interval() 1184 if (thresh > dirty) dirty_poll_interval() 1185 return 1UL << (ilog2(thresh - dirty) >> 1); dirty_poll_interval() 1318 * Otherwise it would be possible to get thresh+n pages bdi_dirty_limits() 1319 * reported dirty, even though there are thresh-m pages bdi_dirty_limits() 1364 unsigned long thresh; balance_dirty_pages() local 1386 thresh = bdi_thresh; balance_dirty_pages() 1389 thresh = dirty_thresh; balance_dirty_pages() 1402 if (dirty <= dirty_freerun_ceiling(thresh, bg_thresh)) { balance_dirty_pages() 1406 dirty_poll_interval(dirty, thresh); balance_dirty_pages() 667 bdi_position_ratio(struct backing_dev_info *bdi, unsigned long thresh, unsigned long bg_thresh, unsigned long dirty, unsigned long bdi_thresh, unsigned long bdi_dirty) bdi_position_ratio() argument 950 bdi_update_dirty_ratelimit(struct backing_dev_info *bdi, unsigned long thresh, unsigned long bg_thresh, unsigned long dirty, unsigned long bdi_thresh, unsigned long bdi_dirty, unsigned long dirtied, unsigned long elapsed) bdi_update_dirty_ratelimit() argument 1114 __bdi_update_bandwidth(struct backing_dev_info *bdi, unsigned long thresh, unsigned long bg_thresh, unsigned long dirty, unsigned long bdi_thresh, unsigned long bdi_dirty, unsigned long start_time) __bdi_update_bandwidth() argument 1157 bdi_update_bandwidth(struct backing_dev_info *bdi, unsigned long thresh, unsigned long bg_thresh, unsigned long dirty, unsigned long bdi_thresh, unsigned long bdi_dirty, unsigned long start_time) bdi_update_bandwidth() argument 1181 dirty_poll_interval(unsigned long dirty, unsigned long thresh) dirty_poll_interval() argument
|
/linux-4.1.27/drivers/gpu/host1x/hw/ |
H A D | intr_hw.c | 109 u32 id, u32 thresh) _host1x_intr_set_syncpt_threshold() 111 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); _host1x_intr_set_syncpt_threshold() 108 _host1x_intr_set_syncpt_threshold(struct host1x *host, u32 id, u32 thresh) _host1x_intr_set_syncpt_threshold() argument
|
H A D | cdma_hw.c | 280 dev_warn(host1x->dev, "%s: timeout: %d (%s), HW thresh %d, done %d\n", cdma_timeout_handler()
|
/linux-4.1.27/drivers/soc/ti/ |
H A D | knav_dma.c | 88 u32 thresh[3]; member in struct:reg_rx_flow 191 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); chan_start() 192 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); chan_start() 193 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); chan_start() 236 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); chan_stop() 237 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); chan_stop() 238 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); chan_stop() 331 seq_printf(s, "\t\t\tdst_q: [%d], thresh: %d fdq: ", dma_debug_show_channels() 333 chan->cfg.u.rx.thresh); dma_debug_show_channels()
|
/linux-4.1.27/drivers/isdn/i4l/ |
H A D | isdn_audio.c | 507 int thresh; isdn_audio_eval_dtmf() local 514 thresh = 0; isdn_audio_eval_dtmf() 517 if (result[i] > thresh) isdn_audio_eval_dtmf() 518 thresh = result[i]; isdn_audio_eval_dtmf() 526 if (thresh > 0) { isdn_audio_eval_dtmf() 527 thresh = thresh >> 4; /* touchtones must match within 12 dB */ isdn_audio_eval_dtmf() 529 if (result[i] < thresh) isdn_audio_eval_dtmf()
|
/linux-4.1.27/include/uapi/drm/ |
H A D | tegra_drm.h | 55 __u32 thresh; member in struct:drm_tegra_syncpt_wait 113 __u32 thresh; member in struct:drm_tegra_waitchk
|
/linux-4.1.27/include/linux/soc/ti/ |
H A D | knav_dma.h | 98 * @thresh: Rx flow size threshold 112 enum knav_dma_rx_thresholds thresh; member in struct:knav_dma_rx_cfg
|
/linux-4.1.27/drivers/regulator/ |
H A D | da903x.c | 197 int thresh, sel; da9030_map_ldo14_voltage() local 204 thresh = (info->max_uV + info->desc.min_uV) / 2; da9030_map_ldo14_voltage() 205 if (min_uV < thresh) { da9030_map_ldo14_voltage() 206 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); da9030_map_ldo14_voltage() 209 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step); da9030_map_ldo14_voltage()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
H A D | perf_event_intel_bts.c | 143 unsigned long index, thresh = 0, end = phys->size; bts_config_buffer() local 155 thresh = end - BTS_SAFETY_MARGIN; bts_config_buffer() 157 thresh = end - BTS_RECORD_SIZE; bts_config_buffer() 159 thresh = end; bts_config_buffer() 166 ? ds->bts_buffer_base + thresh bts_config_buffer()
|
H A D | perf_event_intel_ds.c | 253 int max, thresh = 1; /* always use a single PEBS record */ alloc_pebs_buffer() local 284 thresh * x86_pmu.pebs_record_size; alloc_pebs_buffer() 307 int max, thresh; alloc_bts_buffer() local 320 thresh = max / 16; alloc_bts_buffer() 327 thresh * BTS_RECORD_SIZE; alloc_bts_buffer()
|
H A D | perf_event_intel_uncore_snbep.c | 219 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31"); 220 DEFINE_UNCORE_FORMAT_ATTR(thresh5, thresh, "config:24-28");
|
H A D | perf_event_intel_uncore_nhmex.c | 194 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31");
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | trackpoint.c | 226 TRACKPOINT_INT_ATTR(thresh, TP_THRESH, TP_DEF_THRESH); 313 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, thresh); trackpoint_sync() 334 TRACKPOINT_SET_POWER_ON_DEFAULT(tp, thresh); trackpoint_defaults()
|
H A D | trackpoint.h | 142 unsigned char thresh, upthresh; member in struct:trackpoint_data
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-fpa-defs.h | 1203 uint64_t thresh:32; member in struct:cvmx_fpa_packet_threshold::cvmx_fpa_packet_threshold_s 1205 uint64_t thresh:32; 1258 uint64_t thresh:32; member in struct:cvmx_fpa_poolx_threshold::cvmx_fpa_poolx_threshold_s 1260 uint64_t thresh:32; 1267 uint64_t thresh:29; member in struct:cvmx_fpa_poolx_threshold::cvmx_fpa_poolx_threshold_cn61xx 1269 uint64_t thresh:29; 1484 uint64_t thresh:32; member in struct:cvmx_fpa_wqe_threshold::cvmx_fpa_wqe_threshold_s 1486 uint64_t thresh:32;
|
H A D | cvmx-gmxx-defs.h | 6853 uint64_t thresh:6; member in struct:cvmx_gmxx_tx_spi_thresh::cvmx_gmxx_tx_spi_thresh_s 6855 uint64_t thresh:6; 6909 uint64_t thresh:4; member in struct:cvmx_gmxx_xaui_ext_loopback::cvmx_gmxx_xaui_ext_loopback_s 6911 uint64_t thresh:4;
|
/linux-4.1.27/net/ipv4/ |
H A D | inet_connection_sock.c | 536 static inline void syn_ack_recalc(struct request_sock *req, const int thresh, syn_ack_recalc() argument 542 *expire = req->num_timeout >= thresh; syn_ack_recalc() 546 *expire = req->num_timeout >= thresh && syn_ack_recalc() 610 int max_retries, thresh; reqsk_timer_handler() local 619 thresh = max_retries; reqsk_timer_handler() 641 while (thresh > 2) { reqsk_timer_handler() 644 thresh--; reqsk_timer_handler() 651 syn_ack_recalc(req, thresh, max_retries, defer_accept, reqsk_timer_handler()
|
/linux-4.1.27/drivers/cpuidle/governors/ |
H A D | menu.c | 202 unsigned int max, thresh; get_typical_interval() local 205 thresh = UINT_MAX; /* Discard outliers above this value */ get_typical_interval() 215 if (value <= thresh) { get_typical_interval() 231 if (value <= thresh) { get_typical_interval() 275 thresh = max - 1; get_typical_interval()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | sharpsl_pm.c | 191 struct battery_thresh *thresh; get_percentage() local 194 thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_acin; get_percentage() 196 thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noac; get_percentage() 198 while (i > 0 && (voltage > thresh[i].voltage)) get_percentage() 201 return thresh[i].percentage; get_percentage()
|
/linux-4.1.27/fs/jfs/ |
H A D | jfs_types.h | 145 u8 thresh; /* Alert Threshold (in percent) */ member in struct:dasd
|
/linux-4.1.27/arch/mips/pci/ |
H A D | fixup-fuloong2e.c | 155 /* use 3/4 as fifo thresh hold */ loongson2e_686b_func1_fixup()
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_queue.c | 212 entry->state.thresh = INT_MIN; nf_reinject()
|
H A D | core.c | 134 if (state->thresh > (*elemp)->priority) list_for_each_entry_continue_rcu()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/ |
H A D | hal_bt_coexist.c | 152 "[DM][BT], RSSI_1 thresh error!!\n"); rtl8723e_dm_bt_check_coex_rssi_state1() 280 "[DM][BT], RSSI thresh error!!\n"); rtl8723e_dm_bt_check_coex_rssi_state()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | move_extents.c | 741 * proceed defragmentation until we meet the thresh ocfs2_calc_extent_defrag_len() 755 * in a size of 'thresh', resetting 'len_defraged' ocfs2_calc_extent_defrag_len() 816 "thresh: %u\n", __ocfs2_move_extents_range()
|
H A D | journal.c | 466 * If we have fewer than thresh credits, extend by OCFS2_MAX_TRANS_DATA. 471 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) ocfs2_allocate_extend_trans() argument 478 trace_ocfs2_allocate_extend_trans(old_nblks, thresh); ocfs2_allocate_extend_trans() 480 if (old_nblks < thresh) ocfs2_allocate_extend_trans()
|
H A D | journal.h | 262 int thresh);
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
H A D | solo6x10-disp.c | 235 * block right after the flag area, before the first thresh table. */ solo_motion_config()
|
/linux-4.1.27/drivers/misc/ |
H A D | apds990x.c | 900 unsigned long thresh; apds990x_set_lux_thresh() local 903 ret = kstrtoul(buf, 0, &thresh); apds990x_set_lux_thresh() 907 if (thresh > APDS_RANGE) apds990x_set_lux_thresh() 911 *target = thresh; apds990x_set_lux_thresh()
|
H A D | bh1770glc.c | 1066 unsigned long thresh; bh1770_set_lux_thresh() local 1069 ret = kstrtoul(buf, 0, &thresh); bh1770_set_lux_thresh() 1073 if (thresh > BH1770_LUX_RANGE) bh1770_set_lux_thresh() 1077 *target = thresh; bh1770_set_lux_thresh()
|
/linux-4.1.27/tools/iio/ |
H A D | iio_event_monitor.c | 57 [IIO_EV_TYPE_THRESH] = "thresh",
|
/linux-4.1.27/drivers/crypto/ |
H A D | picoxcell_crypto.c | 1283 unsigned long thresh; spacc_stat_irq_thresh_store() local 1285 if (kstrtoul(buf, 0, &thresh)) spacc_stat_irq_thresh_store() 1288 thresh = clamp(thresh, 1UL, engine->fifo_sz - 1); spacc_stat_irq_thresh_store() 1290 engine->stat_irq_thresh = thresh; spacc_stat_irq_thresh_store()
|
/linux-4.1.27/tools/perf/ |
H A D | builtin-timechart.c | 1456 int thresh = tchart->io_events ? BYTES_THRESH : TIME_THRESH; write_svg_file() local 1467 count = determine_display_io_tasks(tchart, thresh); write_svg_file() 1469 count = determine_display_tasks(tchart, thresh); write_svg_file() 1470 thresh /= 10; write_svg_file() 1471 } while (!process_filter && thresh && count < tchart->proc_num); write_svg_file()
|
/linux-4.1.27/arch/mips/include/asm/sn/sn0/ |
H A D | hubmd.h | 39 #define MD_MIG_DIFF_THRESH 0x200030 /* Page migr. count diff thresh. */ 40 #define MD_MIG_VALUE_THRESH 0x200038 /* Page migr. count abs. thresh. */
|
/linux-4.1.27/drivers/iio/ |
H A D | industrialio-event.c | 195 [IIO_EV_TYPE_THRESH] = "thresh",
|
/linux-4.1.27/drivers/media/usb/gspca/ |
H A D | spca508.c | 367 {0x0018, 0x8657}, /* Edge gain high thresh */ 368 {0x0020, 0x8658}, /* Edge gain low thresh */ 440 {0x00ff, 0x8615}, /* High lum thresh for white balance */ 441 {0x0000, 0x8616}, /* Low lum thresh for white balance */
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_mci.c | 804 u32 thresh; ar9003_mci_osla_setup() local 819 thresh = MS(mci->config, ATH_MCI_CONFIG_AGGR_THRESH); ar9003_mci_osla_setup() 821 AR_BTCOEX_CTRL_AGGR_THRESH, thresh); ar9003_mci_osla_setup()
|
H A D | hw.c | 3100 /* Disable both trigger and thresh interrupt masks */ ath9k_hw_gen_timer_stop()
|
/linux-4.1.27/fs/ext3/ |
H A D | resize.c | 154 * If we have fewer than thresh credits, extend by EXT3_MAX_TRANS_DATA. 158 static int extend_or_restart_transaction(handle_t *handle, int thresh, extend_or_restart_transaction() argument 163 if (handle->h_buffer_credits >= thresh) extend_or_restart_transaction()
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | ray_cs.c | 202 0x05, /* assoc resp timeout thresh */ 208 0x05, 0xff, /* Infra, adhoc missed bcn thresh */ 215 7, /* det sync thresh */ 237 0x05, /* assoc resp timeout thresh */ 243 0x05, 0xff, /* Infra, adhoc missed bcn thresh */ 249 7, /* det sync thresh */
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
H A D | calib.c | 460 IWL_DEBUG_CALIB(priv, "ofdm: ac %u mrc %u x1 %u mrc_x1 %u thresh %u\n", iwl_prepare_legacy_sensitivity_tbl() 465 IWL_DEBUG_CALIB(priv, "cck: ac %u mrc %u thresh %u\n", iwl_prepare_legacy_sensitivity_tbl()
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | rtw_mp_phy_regdef.h | 797 #define bRSSI_H 0x7f0000 /* thresh for hi power */ 798 #define bRSSI_Gen 0x7f000000 /* thresh for ant div */
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
H A D | 4965-calib.c | 382 D_CALIB("ofdm: ac %u mrc %u x1 %u mrc_x1 %u thresh %u\n", il4965_prepare_legacy_sensitivity_tbl() 387 D_CALIB("cck: ac %u mrc %u thresh %u\n", data->auto_corr_cck, il4965_prepare_legacy_sensitivity_tbl()
|
/linux-4.1.27/fs/ext4/ |
H A D | resize.c | 376 * If we have fewer than thresh credits, extend by EXT4_MAX_TRANS_DATA. 380 static int extend_or_restart_transaction(handle_t *handle, int thresh) extend_or_restart_transaction() argument 384 if (ext4_handle_has_enough_credits(handle, thresh)) extend_or_restart_transaction()
|
/linux-4.1.27/drivers/scsi/ |
H A D | esp_scsi.h | 64 #define ESP_CONFIG3_TEM 0x01 /* Enable thresh-8 mode (esp/fas236) */
|
/linux-4.1.27/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-spi.c | 372 gmxx_tx_spi_thresh.s.thresh = 4; cvmx_spi_calendar_setup_cb()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | bcm63xx_uart.c | 456 /* set rx/tx fifo thresh to fifo half size */ bcm_uart_startup()
|
/linux-4.1.27/net/sched/ |
H A D | sch_hhf.c | 155 u32 hhf_admit_bytes; /* counter thresh to classify as
|
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 1544 int unused, thresh; pch_gbe_clean_tx() local 1555 thresh = tx_ring->count - PCH_GBE_TX_WEIGHT; pch_gbe_clean_tx() 1556 if ((tx_desc->gbec_status == DSC_INIT16) && (unused < thresh)) pch_gbe_clean_tx()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/btcoexist/ |
H A D | halbtc8821a1ant.c | 100 "[BTCoex], BT Rssi thresh error!!\n"); halbtc8821a1ant_bt_rssi_state() 193 "[BTCoex], wifi RSSI thresh error!!\n"); halbtc8821a1ant_WifiRssiState()
|
H A D | halbtc8192e2ant.c | 101 "BT Rssi thresh error!!\n"); halbtc8192e2ant_btrssi_state() 201 "wifi RSSI thresh error!!\n"); halbtc8192e2ant_wifirssi_state()
|
H A D | halbtc8723b1ant.c | 98 "[BTCoex], BT Rssi thresh error!!\n"); halbtc8723b1ant_bt_rssi_state() 193 "[BTCoex], wifi RSSI thresh error!!\n"); halbtc8723b1ant_wifi_rssi_state()
|
H A D | halbtc8723b2ant.c | 100 "[BTCoex], BT Rssi thresh error!!\n"); btc8723b2ant_bt_rssi_state() 205 "[BTCoex], wifi RSSI thresh error!!\n"); btc8723b2ant_wifi_rssi_state()
|
H A D | halbtc8821a2ant.c | 104 "[BTCoex], BT Rssi thresh error!!\n"); halbtc8821a2ant_bt_rssi_state() 199 "[BTCoex], wifi RSSI thresh error!!\n"); halbtc8821a2ant_wifi_rssi_state()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 1536 unsigned i, thresh; sky2_rx_start() local 1571 thresh = sky2_get_rx_threshold(sky2); sky2_rx_start() 1572 if (thresh > 0x1ff) sky2_rx_start() 1575 sky2_write16(hw, SK_REG(sky2->port, RX_GMF_TR_THR), thresh); sky2_rx_start()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
H A D | cassini.h | 881 #define RX_RED_4K_6K_FIFO_MASK 0x000000FF /* 4KB < FIFO thresh < 6KB */ 882 #define RX_RED_6K_8K_FIFO_MASK 0x0000FF00 /* 6KB < FIFO thresh < 8KB */ 883 #define RX_RED_8K_10K_FIFO_MASK 0x00FF0000 /* 8KB < FIFO thresh < 10KB */ 884 #define RX_RED_10K_12K_FIFO_MASK 0xFF000000 /* 10KB < FIFO thresh < 12KB */
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
H A D | dm.c | 1106 "CCK cca thresh hold =%x\n", dm_digtable->cur_cck_cca_thres); rtl8723be_dm_cck_packet_detection_thresh()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | drm.c | 512 return host1x_syncpt_wait(sp, args->thresh, args->timeout, tegra_syncpt_wait()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ehci-dbg.c | 84 "%s hcc_params %04x thresh %d uframes %s%s%s%s%s%s%s\n", dbg_hcc_params()
|
/linux-4.1.27/firmware/keyspan_pda/ |
H A D | keyspan_pda.S | 894 ;; a is now write_room. If thresh >= a, we can unthrottle
|
H A D | xircom_pgs.S | 955 ;; a is now write_room. If thresh >= a, we can unthrottle
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
H A D | dm.c | 485 "CCK cca thresh hold =%x\n", dm_dig->cur_cck_cca_thres); rtl88e_dm_cck_packet_detection_thresh()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_lcn.c | 3586 wlc_lcnphy_samp_cap(struct brcms_phy *pi, int clip_detect_algo, u16 thresh, wlc_lcnphy_samp_cap() argument 3652 if (imag > thresh || imag < -thresh) { wlc_lcnphy_samp_cap()
|
/linux-4.1.27/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 211 RxCfgFIFOShift = 13, /* Shift, to get Rx FIFO thresh value */
|
/linux-4.1.27/drivers/media/usb/cpia2/ |
H A D | cpia2_core.c | 2052 printk(KERN_DEBUG "VP WB thresh = 0x%0X\n", cpia2_dbg_dump_registers()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
H A D | netcp_core.c | 1569 config.u.rx.thresh = DMA_THRESH_NONE; netcp_setup_navigator_resources()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | phy_lp.h | 139 #define B43_LPPHY_CRS_ED_THRESH B43_PHY_OFDM(0x32) /* crs ed thresh */
|
/linux-4.1.27/kernel/sched/ |
H A D | fair.c | 3046 unsigned long thresh = sysctl_sched_latency; place_entity() local 3053 thresh >>= 1; place_entity() 3055 vruntime -= thresh; place_entity()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 2769 /* TXCOE doesn't work in thresh DMA mode */ stmmac_hw_init()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
H A D | dm.c | 2804 "CCK cca thresh hold =%x\n", dm_digtable->cur_cck_cca_thres); rtl8821ae_dm_cck_packet_detection_thresh()
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723a_bt-coexist.c | 10212 RTPRINT(FBT, BT_TRACE, ("[DM][BT], RSSI_BEACON thresh error!!\n")); BTDM_CheckCoexBcnRssiState() 10301 RTPRINT(FBT, BT_TRACE, ("[DM][BT], RSSI_1 thresh error!!\n")); BTDM_CheckCoexRSSIState1() 10390 RTPRINT(FBT, BT_TRACE, ("[DM][BT], RSSI thresh error!!\n")); BTDM_CheckCoexRSSIState()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.c | 2516 u32 thresh = (ETH_MAX_JUMBO_PACKET_SIZE + bnx2x_pbf_update() local 2520 REG_WR(bp, PBF_REG_P0_ARB_THRSH + port*4, thresh); bnx2x_pbf_update() 2524 init_crd = thresh + 553 - 22; bnx2x_pbf_update()
|