/linux-master/mm/ |
H A D | page-writeback.c | 134 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/net/ipv4/ |
H A D | tcp_cdg.c | 175 s32 thresh = max(ca->delay_min + ca->delay_min / 8U, local 178 if (ca->rtt.min > thresh) {
|
/linux-master/sound/soc/codecs/ |
H A D | tda7419.c | 130 unsigned int reg, rreg, mask, thresh; member in struct:tda7419_vol_control 157 int min, int thresh, 161 if (val < thresh) { 164 } else if (val > thresh) { 166 val = val - thresh; 168 val = thresh - val; 187 int thresh = tvc->thresh; local 193 tda7419_vol_get_value(val, mask, min, thresh, invert); 198 tda7419_vol_get_value(val, mask, min, thresh, inver 156 tda7419_vol_get_value(int val, unsigned int mask, int min, int thresh, unsigned int invert) argument 204 tda7419_vol_put_value(int val, int thresh, unsigned int invert) argument 229 int thresh = tvc->thresh; local [all...] |
/linux-master/tools/perf/ |
H A D | builtin-timechart.c | 1464 int thresh = tchart->io_events ? BYTES_THRESH : TIME_THRESH; local 1475 count = determine_display_io_tasks(tchart, thresh); 1477 count = determine_display_tasks(tchart, thresh); 1478 thresh /= 10; 1479 } while (!process_filter && thresh && count < tchart->proc_num);
|
/linux-master/tools/perf/util/ |
H A D | hist.c | 674 unsigned thresh = -high % high; local 677 if (r >= thresh)
|
/linux-master/tools/testing/nvdimm/test/ |
H A D | nfit.c | 732 struct nd_intel_smart_threshold *thresh) 735 __func__, thresh->alarm_control, thresh->spares, 736 smart->spares, thresh->media_temperature, 737 smart->media_temperature, thresh->ctrl_temperature, 739 if (((thresh->alarm_control & ND_INTEL_SMART_SPARE_TRIP) 741 <= thresh->spares) 742 || ((thresh->alarm_control & ND_INTEL_SMART_TEMP_TRIP) 744 >= thresh->media_temperature) 745 || ((thresh 730 smart_notify(struct device *bus_dev, struct device *dimm_dev, struct nd_intel_smart *smart, struct nd_intel_smart_threshold *thresh) argument 756 nfit_test_cmd_smart_set_threshold( struct nd_intel_smart_set_threshold *in, unsigned int buf_len, struct nd_intel_smart_threshold *thresh, struct nd_intel_smart *smart, struct device *bus_dev, struct device *dimm_dev) argument 775 nfit_test_cmd_smart_inject( struct nd_intel_smart_inject *inj, unsigned int buf_len, struct nd_intel_smart_threshold *thresh, struct nd_intel_smart *smart, struct device *bus_dev, struct device *dimm_dev) argument [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | ipsec.c | 1598 struct xfrmu_spdhthresh thresh; local 1606 thresh.lbits = thresh4_l; 1607 thresh.rbits = thresh4_r; 1608 if (rtattr_pack(&req.nh, sizeof(req), XFRMA_SPD_IPV4_HTHRESH, &thresh, sizeof(thresh))) 1611 thresh.lbits = thresh6_l; 1612 thresh.rbits = thresh6_r; 1613 if (rtattr_pack(&req.nh, sizeof(req), XFRMA_SPD_IPV6_HTHRESH, &thresh, sizeof(thresh))) 1686 pr_err("thresh diffe [all...] |
/linux-master/tools/tracing/latency/ |
H A D | latency-collector.c | 178 char *thresh; member in struct:ftrace_state 610 restore_file(TR_THRESH, &save_state.thresh, threshold); 656 save_state.thresh = NULL; 1401 save_state.thresh = orig_th; 1442 write_file(TR_THRESH, save_state.thresh, threshold, ERR_CLEANUP);
|