/linux-4.1.27/fs/btrfs/ |
D | async-thread.c | 47 int thresh; member 91 int thresh) in __btrfs_alloc_workqueue() argument 100 if (thresh == 0) in __btrfs_alloc_workqueue() 101 thresh = DFT_THRESHOLD; in __btrfs_alloc_workqueue() 103 if (thresh < DFT_THRESHOLD) { in __btrfs_alloc_workqueue() 105 ret->thresh = NO_THRESHOLD; in __btrfs_alloc_workqueue() 108 ret->thresh = thresh; in __btrfs_alloc_workqueue() 137 int thresh) in btrfs_alloc_workqueue() argument 145 max_active, thresh); in btrfs_alloc_workqueue() 153 thresh); in btrfs_alloc_workqueue() [all …]
|
D | async-thread.h | 71 int thresh);
|
D | ioctl.c | 885 static int check_defrag_in_cache(struct inode *inode, u64 offset, u32 thresh) in check_defrag_in_cache() argument 899 if (end - offset > thresh) in check_defrag_in_cache() 903 thresh /= 2; in check_defrag_in_cache() 904 end = count_range_bits(io_tree, &offset, offset + thresh, in check_defrag_in_cache() 905 thresh, EXTENT_DELALLOC, 1); in check_defrag_in_cache() 906 if (end >= thresh) in check_defrag_in_cache() 920 u64 *off, u32 thresh) in find_new_extents() argument 954 btrfs_file_extent_num_bytes(leaf, extent) < thresh && in find_new_extents() 955 check_defrag_in_cache(inode, min_key.offset, thresh)) { in find_new_extents() 1029 static int should_defrag_range(struct inode *inode, u64 start, u32 thresh, in should_defrag_range() argument [all …]
|
D | super.c | 1844 u64 thresh = 0; in btrfs_statfs() local 1907 thresh = 4 * 1024 * 1024; in btrfs_statfs() 1909 if (total_free_meta - thresh < block_rsv->size) in btrfs_statfs()
|
D | extent-tree.c | 4066 u64 thresh; in should_alloc_chunk() local 4084 thresh = btrfs_super_total_bytes(root->fs_info->super_copy); in should_alloc_chunk() 4085 thresh = max_t(u64, 64 * 1024 * 1024, in should_alloc_chunk() 4086 div_factor_fine(thresh, 1)); in should_alloc_chunk() 4088 if (num_bytes - num_allocated < thresh) in should_alloc_chunk() 4120 u64 thresh; in check_system_chunk() local 4128 thresh = get_system_chunk_thresh(root, type); in check_system_chunk() 4129 if (left < thresh && btrfs_test_opt(root, ENOSPC_DEBUG)) { in check_system_chunk() 4131 left, thresh, type); in check_system_chunk() 4135 if (left < thresh) { in check_system_chunk() [all …]
|
D | extent_io.c | 3328 int thresh = 8192; in writepage_delalloc() local 3330 if (delalloc_to_write < thresh * 2) in writepage_delalloc() 3331 thresh = delalloc_to_write; in writepage_delalloc() 3333 thresh); in writepage_delalloc()
|
/linux-4.1.27/include/trace/events/ |
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; 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; 249 __entry->syncpt_id, __entry->thresh,
|
D | writeback.h | 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/drivers/gpu/host1x/ |
D | intr.c | 51 u32 thresh = waiter->thresh; in add_waiter_to_queue() local 54 if ((s32)(pos->thresh - thresh) <= 0) { in add_waiter_to_queue() 74 if ((s32)(waiter->thresh - sync) > 0) in remove_completed_waiters() 103 u32 thresh = in reset_threshold_interrupt() local 104 list_first_entry(head, struct host1x_waitlist, list)->thresh; in reset_threshold_interrupt() 106 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in reset_threshold_interrupt() 118 waiter->count, waiter->thresh); in action_submit_complete() 212 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh, in host1x_intr_add_action() argument 229 waiter->thresh = thresh; in host1x_intr_add_action() 243 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in host1x_intr_add_action()
|
D | syncpt.c | 179 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired() argument 182 return host1x_syncpt_is_expired(sp, thresh); in syncpt_load_min_is_expired() 188 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait() argument 201 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait() 209 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait() 228 err = host1x_intr_add_action(sp->host, sp->id, thresh, in host1x_syncpt_wait() 243 syncpt_load_min_is_expired(sp, thresh), in host1x_syncpt_wait() 245 if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait() 260 thresh, timeout); in host1x_syncpt_wait() 278 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) in host1x_syncpt_is_expired() argument [all …]
|
D | intr.h | 59 u32 thresh; member 78 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh,
|
D | dev.h | 85 struct host1x *host, u32 id, u32 thresh); 185 u32 id, u32 thresh) in host1x_hw_intr_set_syncpt_threshold() argument 187 host->intr_op->set_syncpt_threshold(host, id, thresh); in host1x_hw_intr_set_syncpt_threshold()
|
D | job.h | 41 u32 thresh; member
|
D | syncpt.h | 107 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
|
D | job.c | 159 wait->syncpt_id, wait->thresh, in do_waitchks() 162 if (host1x_syncpt_is_expired(sp, wait->thresh)) { in do_waitchks() 165 wait->syncpt_id, sp->name, wait->thresh, in do_waitchks()
|
/linux-4.1.27/mm/ |
D | page-writeback.c | 507 static unsigned long dirty_freerun_ceiling(unsigned long thresh, in dirty_freerun_ceiling() argument 510 return (thresh + bg_thresh) / 2; in dirty_freerun_ceiling() 513 static unsigned long hard_dirty_limit(unsigned long thresh) in hard_dirty_limit() argument 515 return max(thresh, global_dirty_limit); in hard_dirty_limit() 668 unsigned long thresh, in bdi_position_ratio() argument 675 unsigned long freerun = dirty_freerun_ceiling(thresh, bg_thresh); in bdi_position_ratio() 676 unsigned long limit = hard_dirty_limit(thresh); in bdi_position_ratio() 731 bdi_bg_thresh = div_u64((u64)bdi_thresh * bg_thresh, thresh); in bdi_position_ratio() 796 if (unlikely(bdi_thresh > thresh)) in bdi_position_ratio() 797 bdi_thresh = thresh; in bdi_position_ratio() [all …]
|
/linux-4.1.27/drivers/media/tuners/ |
D | msi001.c | 94 unsigned int n, m, thresh, frac, vco_step, tmp, f_if1; in msi001_set_tuner() local 209 thresh = (F_REF * R_REF) / vco_step; in msi001_set_tuner() 210 frac = 1ul * thresh * m / (F_REF * R_REF); in msi001_set_tuner() 213 tmp = gcd(thresh, frac); in msi001_set_tuner() 214 thresh /= tmp; in msi001_set_tuner() 218 tmp = DIV_ROUND_UP(thresh, 4095); in msi001_set_tuner() 219 thresh = DIV_ROUND_CLOSEST(thresh, tmp); in msi001_set_tuner() 224 tmp += 1ul * F_REF * R_REF * frac / thresh; in msi001_set_tuner() 228 f_rf, tmp, n, thresh, frac); in msi001_set_tuner() 249 reg |= thresh << 4; in msi001_set_tuner()
|
/linux-4.1.27/include/linux/ |
D | netfilter.h | 52 int thresh; member 62 int thresh, u_int8_t pf, in nf_hook_state_init() argument 69 p->thresh = thresh; in nf_hook_state_init() 164 int thresh) in nf_hook_thresh() argument 169 nf_hook_state_init(&state, hook, thresh, pf, in nf_hook_thresh() 205 int (*okfn)(struct sock *, struct sk_buff *), int thresh) in NF_HOOK_THRESH() argument 207 int ret = nf_hook_thresh(pf, hook, sk, skb, in, out, okfn, thresh); in NF_HOOK_THRESH() 338 int (*okfn)(struct sock *sk, struct sk_buff *), int thresh) in nf_hook_thresh() argument
|
D | igmp.h | 104 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ argument 105 ((value) < (thresh) ? (value) : \
|
D | writeback.h | 162 unsigned long thresh,
|
D | host1x.h | 141 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout,
|
/linux-4.1.27/arch/powerpc/perf/ |
D | mpc7450-pmu.c | 159 int thresh, tuse; in mpc7450_get_constraint() local 175 thresh = ((unsigned int)event >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_get_constraint() 177 value |= thresh << 24; in mpc7450_get_constraint() 272 u32 ev, pmc, thresh; in mpc7450_compute_mmcr() local 307 thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_compute_mmcr() 308 mmcr0 |= thresh << 16; in mpc7450_compute_mmcr()
|
/linux-4.1.27/Documentation/devicetree/bindings/misc/ |
D | lis302.txt | 29 - st,click-thresh-{x,y,z}: set the x/y/z axis threshold 77 st,click-thresh-x = <10>; 78 st,click-thresh-y = <10>; 79 st,click-thresh-z = <10>; 101 st,click-thresh-x = <10>; 102 st,click-thresh-y = <10>; 103 st,click-thresh-z = <10>;
|
/linux-4.1.27/drivers/cpuidle/governors/ |
D | menu.c | 202 unsigned int max, thresh; in get_typical_interval() local 205 thresh = UINT_MAX; /* Discard outliers above this value */ in get_typical_interval() 215 if (value <= thresh) { in get_typical_interval() 231 if (value <= thresh) { in get_typical_interval() 275 thresh = max - 1; in get_typical_interval()
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_audio.c | 507 int thresh; in isdn_audio_eval_dtmf() local 514 thresh = 0; in isdn_audio_eval_dtmf() 517 if (result[i] > thresh) in isdn_audio_eval_dtmf() 518 thresh = result[i]; in isdn_audio_eval_dtmf() 526 if (thresh > 0) { in isdn_audio_eval_dtmf() 527 thresh = thresh >> 4; /* touchtones must match within 12 dB */ in isdn_audio_eval_dtmf() 529 if (result[i] < thresh) in isdn_audio_eval_dtmf()
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | omap3-gta04a3.dts | 29 st,click-thresh-x = <8>; 30 st,click-thresh-y = <8>; 31 st,click-thresh-z = <10>;
|
D | omap3-overo-common-peripherals.dtsi | 66 st,click-thresh-x = <10>; 67 st,click-thresh-y = <10>; 68 st,click-thresh-z = <10>;
|
D | am335x-evm.dts | 383 st,click-thresh-x = <10>; 384 st,click-thresh-y = <10>; 385 st,click-thresh-z = <10>;
|
D | am335x-evmsk.dts | 445 st,click-thresh-x = <10>; 446 st,click-thresh-y = <10>; 447 st,click-thresh-z = <10>;
|
/linux-4.1.27/drivers/soc/ti/ |
D | knav_dma.c | 88 u32 thresh[3]; member 191 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_start() 192 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_start() 193 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_start() 236 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_stop() 237 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_stop() 238 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_stop() 333 chan->cfg.u.rx.thresh); in dma_debug_show_channels()
|
/linux-4.1.27/drivers/gpu/host1x/hw/ |
D | intr_hw.c | 109 u32 id, u32 thresh) in _host1x_intr_set_syncpt_threshold() argument 111 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); in _host1x_intr_set_syncpt_threshold()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_bts.c | 143 unsigned long index, thresh = 0, end = phys->size; in bts_config_buffer() local 155 thresh = end - BTS_SAFETY_MARGIN; in bts_config_buffer() 157 thresh = end - BTS_RECORD_SIZE; in bts_config_buffer() 159 thresh = end; in bts_config_buffer() 166 ? ds->bts_buffer_base + thresh in bts_config_buffer()
|
D | perf_event_intel_ds.c | 253 int max, thresh = 1; /* always use a single PEBS record */ in alloc_pebs_buffer() local 284 thresh * x86_pmu.pebs_record_size; in alloc_pebs_buffer() 307 int max, thresh; in alloc_bts_buffer() local 320 thresh = max / 16; in alloc_bts_buffer() 327 thresh * BTS_RECORD_SIZE; in alloc_bts_buffer()
|
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");
|
D | perf_event_intel_uncore_nhmex.c | 194 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31");
|
/linux-4.1.27/include/uapi/drm/ |
D | tegra_drm.h | 55 __u32 thresh; member 113 __u32 thresh; member
|
/linux-4.1.27/drivers/regulator/ |
D | da903x.c | 197 int thresh, sel; in da9030_map_ldo14_voltage() local 204 thresh = (info->max_uV + info->desc.min_uV) / 2; in da9030_map_ldo14_voltage() 205 if (min_uV < thresh) { in da9030_map_ldo14_voltage() 206 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); in da9030_map_ldo14_voltage() 209 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step); in da9030_map_ldo14_voltage()
|
/linux-4.1.27/net/ipv4/ |
D | inet_connection_sock.c | 536 static inline void syn_ack_recalc(struct request_sock *req, const int thresh, in syn_ack_recalc() argument 542 *expire = req->num_timeout >= thresh; in syn_ack_recalc() 546 *expire = req->num_timeout >= thresh && in syn_ack_recalc() 610 int max_retries, thresh; in reqsk_timer_handler() local 619 thresh = max_retries; in reqsk_timer_handler() 641 while (thresh > 2) { in reqsk_timer_handler() 644 thresh--; in reqsk_timer_handler() 651 syn_ack_recalc(req, thresh, max_retries, defer_accept, in reqsk_timer_handler()
|
/linux-4.1.27/drivers/input/mouse/ |
D | trackpoint.c | 226 TRACKPOINT_INT_ATTR(thresh, TP_THRESH, TP_DEF_THRESH); 313 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, thresh); in trackpoint_sync() 334 TRACKPOINT_SET_POWER_ON_DEFAULT(tp, thresh); in trackpoint_defaults()
|
D | trackpoint.h | 142 unsigned char thresh, upthresh; member
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | sharpsl_pm.c | 191 struct battery_thresh *thresh; in get_percentage() local 194 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_aci… in get_percentage() 196 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noa… in get_percentage() 198 while (i > 0 && (voltage > thresh[i].voltage)) in get_percentage() 201 return thresh[i].percentage; in get_percentage()
|
/linux-4.1.27/include/linux/soc/ti/ |
D | knav_dma.h | 112 enum knav_dma_rx_thresholds thresh; member
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | cvmx-fpa-defs.h | 1203 uint64_t thresh:32; member 1205 uint64_t thresh:32; 1258 uint64_t thresh:32; member 1260 uint64_t thresh:32; 1267 uint64_t thresh:29; member 1269 uint64_t thresh:29; 1484 uint64_t thresh:32; member 1486 uint64_t thresh:32;
|
D | cvmx-gmxx-defs.h | 6853 uint64_t thresh:6; member 6855 uint64_t thresh:6; 6909 uint64_t thresh:4; member 6911 uint64_t thresh:4;
|
/linux-4.1.27/fs/jfs/ |
D | jfs_types.h | 145 u8 thresh; /* Alert Threshold (in percent) */ member
|
/linux-4.1.27/net/netfilter/ |
D | nf_queue.c | 212 entry->state.thresh = INT_MIN; in nf_reinject()
|
D | core.c | 134 if (state->thresh > (*elemp)->priority) in nf_iterate()
|
/linux-4.1.27/drivers/misc/ |
D | apds990x.c | 900 unsigned long thresh; in apds990x_set_lux_thresh() local 903 ret = kstrtoul(buf, 0, &thresh); in apds990x_set_lux_thresh() 907 if (thresh > APDS_RANGE) in apds990x_set_lux_thresh() 911 *target = thresh; in apds990x_set_lux_thresh()
|
D | bh1770glc.c | 1066 unsigned long thresh; in bh1770_set_lux_thresh() local 1069 ret = kstrtoul(buf, 0, &thresh); in bh1770_set_lux_thresh() 1073 if (thresh > BH1770_LUX_RANGE) in bh1770_set_lux_thresh() 1077 *target = thresh; in bh1770_set_lux_thresh()
|
/linux-4.1.27/drivers/crypto/ |
D | picoxcell_crypto.c | 1283 unsigned long thresh; in spacc_stat_irq_thresh_store() local 1285 if (kstrtoul(buf, 0, &thresh)) in spacc_stat_irq_thresh_store() 1288 thresh = clamp(thresh, 1UL, engine->fifo_sz - 1); in spacc_stat_irq_thresh_store() 1290 engine->stat_irq_thresh = thresh; in spacc_stat_irq_thresh_store()
|
/linux-4.1.27/tools/perf/ |
D | builtin-timechart.c | 1456 int thresh = tchart->io_events ? BYTES_THRESH : TIME_THRESH; in write_svg_file() local 1467 count = determine_display_io_tasks(tchart, thresh); in write_svg_file() 1469 count = determine_display_tasks(tchart, thresh); in write_svg_file() 1470 thresh /= 10; in write_svg_file() 1471 } while (!process_filter && thresh && count < tchart->proc_num); in write_svg_file()
|
/linux-4.1.27/fs/ocfs2/ |
D | journal.h | 262 int thresh);
|
D | journal.c | 471 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans() argument 478 trace_ocfs2_allocate_extend_trans(old_nblks, thresh); in ocfs2_allocate_extend_trans() 480 if (old_nblks < thresh) in ocfs2_allocate_extend_trans()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | ar9003_mci.c | 804 u32 thresh; in ar9003_mci_osla_setup() local 819 thresh = MS(mci->config, ATH_MCI_CONFIG_AGGR_THRESH); in ar9003_mci_osla_setup() 821 AR_BTCOEX_CTRL_AGGR_THRESH, thresh); in ar9003_mci_osla_setup()
|
/linux-4.1.27/fs/ext3/ |
D | resize.c | 158 static int extend_or_restart_transaction(handle_t *handle, int thresh, in extend_or_restart_transaction() argument 163 if (handle->h_buffer_credits >= thresh) in extend_or_restart_transaction()
|
/linux-4.1.27/arch/mips/cavium-octeon/executive/ |
D | cvmx-spi.c | 372 gmxx_tx_spi_thresh.s.thresh = 4; in cvmx_spi_calendar_setup_cb()
|
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1544 int unused, thresh; in pch_gbe_clean_tx() local 1555 thresh = tx_ring->count - PCH_GBE_TX_WEIGHT; in pch_gbe_clean_tx() 1556 if ((tx_desc->gbec_status == DSC_INIT16) && (unused < thresh)) in pch_gbe_clean_tx()
|
/linux-4.1.27/fs/ext4/ |
D | resize.c | 380 static int extend_or_restart_transaction(handle_t *handle, int thresh) in extend_or_restart_transaction() argument 384 if (ext4_handle_has_enough_credits(handle, thresh)) in extend_or_restart_transaction()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | drm.c | 512 return host1x_syncpt_wait(sp, args->thresh, args->timeout, in tegra_syncpt_wait()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | sky2.c | 1536 unsigned i, thresh; in sky2_rx_start() local 1571 thresh = sky2_get_rx_threshold(sky2); in sky2_rx_start() 1572 if (thresh > 0x1ff) in sky2_rx_start() 1575 sky2_write16(hw, SK_REG(sky2->port, RX_GMF_TR_THR), thresh); in sky2_rx_start()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 3586 wlc_lcnphy_samp_cap(struct brcms_phy *pi, int clip_detect_algo, u16 thresh, in wlc_lcnphy_samp_cap() argument 3652 if (imag > thresh || imag < -thresh) { in wlc_lcnphy_samp_cap()
|
/linux-4.1.27/firmware/keyspan_pda/ |
D | keyspan_pda.S | 894 ;; a is now write_room. If thresh >= a, we can unthrottle
|
D | xircom_pgs.S | 955 ;; a is now write_room. If thresh >= a, we can unthrottle
|
/linux-4.1.27/kernel/sched/ |
D | fair.c | 3046 unsigned long thresh = sysctl_sched_latency; in place_entity() local 3053 thresh >>= 1; in place_entity() 3055 vruntime -= thresh; in place_entity()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | netcp_core.c | 1569 config.u.rx.thresh = DMA_THRESH_NONE; in netcp_setup_navigator_resources()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 2516 u32 thresh = (ETH_MAX_JUMBO_PACKET_SIZE + in bnx2x_pbf_update() local 2520 REG_WR(bp, PBF_REG_P0_ARB_THRSH + port*4, thresh); in bnx2x_pbf_update() 2524 init_crd = thresh + 553 - 22; in bnx2x_pbf_update()
|