/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_wrr.c | 77 int weight; in ip_vs_wrr_gcd_weight() local 81 weight = atomic_read(&dest->weight); in ip_vs_wrr_gcd_weight() 82 if (weight > 0) { in ip_vs_wrr_gcd_weight() 84 g = gcd(weight, g); in ip_vs_wrr_gcd_weight() 86 g = weight; in ip_vs_wrr_gcd_weight() 99 int new_weight, weight = 0; in ip_vs_wrr_max_weight() local 102 new_weight = atomic_read(&dest->weight); in ip_vs_wrr_max_weight() 103 if (new_weight > weight) in ip_vs_wrr_max_weight() 104 weight = new_weight; in ip_vs_wrr_max_weight() 107 return weight; in ip_vs_wrr_max_weight() [all …]
|
D | ip_vs_sed.c | 85 atomic_read(&dest->weight) > 0) { in ip_vs_sed_schedule() 102 if ((__s64)loh * atomic_read(&dest->weight) > in ip_vs_sed_schedule() 103 (__s64)doh * atomic_read(&least->weight)) { in ip_vs_sed_schedule() 115 atomic_read(&least->weight), loh); in ip_vs_sed_schedule()
|
D | ip_vs_wlc.c | 57 atomic_read(&dest->weight) > 0) { in ip_vs_wlc_schedule() 74 if ((__s64)loh * atomic_read(&dest->weight) > in ip_vs_wlc_schedule() 75 (__s64)doh * atomic_read(&least->weight)) { in ip_vs_wlc_schedule() 87 atomic_read(&least->weight), loh); in ip_vs_wlc_schedule()
|
D | ip_vs_nq.c | 82 !atomic_read(&dest->weight)) in ip_vs_nq_schedule() 95 ((__s64)loh * atomic_read(&dest->weight) > in ip_vs_nq_schedule() 96 (__s64)doh * atomic_read(&least->weight))) { in ip_vs_nq_schedule() 114 atomic_read(&least->weight), loh); in ip_vs_nq_schedule()
|
D | ip_vs_lblcr.c | 177 if ((atomic_read(&least->weight) > 0) in ip_vs_dest_set_min() 193 if (((__s64)loh * atomic_read(&dest->weight) > in ip_vs_dest_set_min() 194 (__s64)doh * atomic_read(&least->weight)) in ip_vs_dest_set_min() 208 atomic_read(&least->weight), loh); in ip_vs_dest_set_min() 226 if (atomic_read(&most->weight) > 0) { in ip_vs_dest_set_max() 239 if (((__s64)moh * atomic_read(&dest->weight) < in ip_vs_dest_set_max() 240 (__s64)doh * atomic_read(&most->weight)) in ip_vs_dest_set_max() 241 && (atomic_read(&dest->weight) > 0)) { in ip_vs_dest_set_max() 253 atomic_read(&most->weight), moh); in ip_vs_dest_set_max() 586 if (atomic_read(&dest->weight) > 0) { in __ip_vs_lblcr_schedule() [all …]
|
D | ip_vs_fo.c | 39 atomic_read(&dest->weight) > hw) { in ip_vs_fo_schedule() 41 hw = atomic_read(&dest->weight); in ip_vs_fo_schedule() 50 atomic_read(&hweight->weight)); in ip_vs_fo_schedule()
|
D | ip_vs_lblc.c | 422 if (atomic_read(&dest->weight) > 0) { in __ip_vs_lblc_schedule() 439 if ((__s64)loh * atomic_read(&dest->weight) > in __ip_vs_lblc_schedule() 440 (__s64)doh * atomic_read(&least->weight)) { in __ip_vs_lblc_schedule() 452 atomic_read(&least->weight), loh); in __ip_vs_lblc_schedule() 465 if (atomic_read(&dest->activeconns) > atomic_read(&dest->weight)) { in is_overloaded() 470 < atomic_read(&d->weight)) { in is_overloaded() 509 atomic_read(&dest->weight) > 0 && !is_overloaded(dest, svc)) in ip_vs_lblc_schedule()
|
D | ip_vs_ovf.c | 41 w = atomic_read(&dest->weight); in ip_vs_ovf_schedule() 57 atomic_read(&h->weight)); in ip_vs_ovf_schedule()
|
D | ip_vs_rr.c | 76 atomic_read(&dest->weight) > 0) in ip_vs_rr_schedule() 100 atomic_read(&dest->refcnt), atomic_read(&dest->weight)); in ip_vs_rr_schedule()
|
D | ip_vs_sh.c | 81 return atomic_read(&dest->weight) <= 0 || in is_unavailable() 196 atomic_read(&dest->weight)); in ip_vs_sh_reassign() 199 if (++d_count >= atomic_read(&dest->weight)) { in ip_vs_sh_reassign()
|
D | ip_vs_lc.c | 48 atomic_read(&dest->weight) == 0) in ip_vs_lc_schedule()
|
D | Kconfig | 150 normalized by the server weight. 159 connections to the server with the highest weight that is 169 connections to the server with the highest weight that is 171 connections exceed the node's weight. 183 overloaded (its active connection numbers is larger than its weight) 235 on the ith server and Ui is the fixed service rate (weight)
|
D | ip_vs_dh.c | 229 || atomic_read(&dest->weight) <= 0 in ip_vs_dh_schedule()
|
D | ip_vs_ctl.c | 800 atomic_set(&dest->weight, udest->weight); in __ip_vs_update_dest() 940 if (udest->weight < 0) { in ip_vs_add_dest() 1004 if (udest->weight < 0) { in ip_vs_edit_dest() 2046 atomic_read(&dest->weight), in ip_vs_info_seq_show() 2057 atomic_read(&dest->weight), in ip_vs_info_seq_show() 2302 udest->weight = udest_compat->weight; in ip_vs_copy_udest_compat() 2566 entry.weight = atomic_read(&dest->weight); in __ip_vs_get_dest_entries() 3149 atomic_read(&dest->weight)) || in ip_vs_genl_fill_dest() 3283 udest->weight = nla_get_u32(nla_weight); in ip_vs_genl_parse_dest()
|
D | ip_vs_conn.c | 737 (atomic_read(&dest->weight) == 0); in expire_quiescent_template()
|
D | ip_vs_core.c | 1764 unlikely(!atomic_read(&cp->dest->weight))) { in ip_vs_in()
|
/linux-4.4.14/block/ |
D | blk-iopoll.c | 87 int work, weight; in blk_iopoll_softirq() local 106 weight = iop->weight; in blk_iopoll_softirq() 109 work = iop->poll(iop, weight); in blk_iopoll_softirq() 123 if (work >= weight) { in blk_iopoll_softirq() 179 void blk_iopoll_init(struct blk_iopoll *iop, int weight, blk_iopoll_fn *poll_fn) in blk_iopoll_init() argument 183 iop->weight = weight; in blk_iopoll_init()
|
D | cfq-iosched.c | 219 unsigned int weight; member 264 unsigned int weight; member 1283 cfqg->weight = cfqg->new_weight; in cfq_update_group_weight() 1341 parent->children_weight += pos->weight; in cfq_group_service_tree_add() 1343 vfr = vfr * pos->weight / parent->children_weight; in cfq_group_service_tree_add() 1399 parent->children_weight -= pos->weight; in cfq_group_service_tree_del() 1584 unsigned int weight = cgroup_subsys_on_dfl(io_cgrp_subsys) ? in cfq_cpd_init() local 1588 weight *= 2; in cfq_cpd_init() 1590 cgd->weight = weight; in cfq_cpd_init() 1591 cgd->leaf_weight = weight; in cfq_cpd_init() [all …]
|
/linux-4.4.14/kernel/events/ |
D | hw_breakpoint.c | 176 fetch_this_slot(struct bp_busy_slots *slots, int weight) in fetch_this_slot() argument 178 slots->pinned += weight; in fetch_this_slot() 185 enum bp_type_idx type, int weight) in toggle_bp_task_slot() argument 191 new_idx = old_idx + weight; in toggle_bp_task_slot() 204 int weight) in toggle_bp_slot() argument 210 weight = -weight; in toggle_bp_slot() 214 get_bp_info(bp->cpu, type)->cpu_pinned += weight; in toggle_bp_slot() 220 toggle_bp_task_slot(bp, cpu, type, weight); in toggle_bp_slot() 284 int weight; in __reserve_bp_slot() local 296 weight = hw_breakpoint_weight(bp); in __reserve_bp_slot() [all …]
|
D | core.c | 1296 size += sizeof(data->weight); in __perf_event_header_size() 5444 perf_output_put(handle, data->weight); in perf_output_sample()
|
/linux-4.4.14/net/mac80211/ |
D | rc80211_minstrel.h | 28 minstrel_ewma(int old, int new, int weight) in minstrel_ewma() argument 33 incr = (EWMA_DIV - weight) * diff / EWMA_DIV; in minstrel_ewma() 42 minstrel_ewmsd(int old_ewmsd, int cur_prob, int prob_ewma, int weight) in minstrel_ewmsd() argument 48 incr = (EWMA_DIV - weight) * diff / EWMA_DIV; in minstrel_ewmsd() 50 tmp_var = weight * (tmp_var + diff * incr / 1000000) / EWMA_DIV; in minstrel_ewmsd()
|
/linux-4.4.14/drivers/net/wireless/rsi/ |
D | rsi_91x_core.c | 36 common->min_weight = tx_qinfo[ii].weight; in rsi_determine_min_weight_queue() 62 tx_qinfo[ii].weight = in rsi_recalculate_weights() 63 ((tx_qinfo[ii].weight > common->min_weight) ? in rsi_recalculate_weights() 64 tx_qinfo[ii].weight - common->min_weight : 0); in rsi_recalculate_weights() 67 tx_qinfo[ii].weight = tx_qinfo[ii].wme_params; in rsi_recalculate_weights() 71 tx_qinfo[ii].weight = 0; in rsi_recalculate_weights() 164 (common->tx_qinfo[ii].weight < common->min_weight)) && in rsi_core_determine_hal_queue() 166 common->min_weight = common->tx_qinfo[ii].weight; in rsi_core_determine_hal_queue()
|
D | rsi_main.h | 115 s32 weight; member
|
D | rsi_91x_mgmt.c | 239 common->tx_qinfo[ii].weight = common->tx_qinfo[ii].wme_params; in rsi_set_contention_vals()
|
/linux-4.4.14/include/linux/ |
D | average.h | 31 unsigned long weight = ilog2(_weight); \ 40 (((internal << weight) - internal) + \ 41 (val << factor)) >> weight : \
|
D | blk-iopoll.h | 11 int weight; member
|
D | thermal.h | 248 int weight; member 449 unsigned int weight) in thermal_zone_bind_cooling_device() argument
|
D | perf_event.h | 766 u64 weight; member 815 data->weight = 0; in perf_sample_data_init()
|
D | netdevice.h | 310 int weight; member 1949 int (*poll)(struct napi_struct *, int), int weight);
|
D | sched.h | 1186 unsigned long weight; member
|
/linux-4.4.14/net/dccp/ccids/lib/ |
D | tfrc.h | 53 static inline u32 tfrc_ewma(const u32 avg, const u32 newval, const u8 weight) in tfrc_ewma() argument 55 return avg ? (weight * avg + (10 - weight) * newval) / 10 : newval; in tfrc_ewma()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 78 u8 weight; member 126 ppp_data->weight = (retbuf[3] >> 5 * 8) & 0xff; in h_get_ppp() 190 seq_printf(m, "capacity_weight=%d\n", ppp_data.weight); in parse_ppp_data() 494 static ssize_t update_ppp(u64 *entitlement, u8 *weight) in update_ppp() argument 507 new_weight = ppp_data.weight; in update_ppp() 509 } else if (weight) { in update_ppp() 510 new_weight = *weight; in update_ppp() 516 __func__, ppp_data.entitlement, ppp_data.weight); in update_ppp() 532 static ssize_t update_mpp(u64 *entitlement, u8 *weight) in update_mpp() argument 555 } else if (weight) { in update_mpp() [all …]
|
/linux-4.4.14/net/ceph/crush/ |
D | mapper.c | 376 const __u32 *weight, int weight_max, in is_out() argument 381 if (weight[item] >= 0x10000) in is_out() 383 if (weight[item] == 0) in is_out() 386 < weight[item]) in is_out() 412 const __u32 *weight, int weight_max, in crush_choose_firstn() argument 514 weight, weight_max, in crush_choose_firstn() 535 reject = is_out(map, weight, in crush_choose_firstn() 594 const __u32 *weight, int weight_max, in crush_choose_indep() argument 719 weight, weight_max, in crush_choose_indep() 736 is_out(map, weight, weight_max, item, x)) in crush_choose_indep() [all …]
|
/linux-4.4.14/net/sched/ |
D | sch_qfq.c | 266 u32 lmax, u32 weight) in qfq_init_agg() argument 272 agg->class_weight = weight; in qfq_init_agg() 276 u32 lmax, u32 weight) in qfq_find_agg() argument 281 if (agg->lmax == lmax && agg->class_weight == weight) in qfq_find_agg() 386 static int qfq_change_agg(struct Qdisc *sch, struct qfq_class *cl, u32 weight, in qfq_change_agg() argument 390 struct qfq_aggregate *new_agg = qfq_find_agg(q, lmax, weight); in qfq_change_agg() 396 qfq_init_agg(q, new_agg, lmax, weight); in qfq_change_agg() 412 u32 weight, lmax, inv_w; in qfq_change_class() local 426 weight = nla_get_u32(tb[TCA_QFQ_WEIGHT]); in qfq_change_class() 427 if (!weight || weight > (1UL << QFQ_MAX_WSHIFT)) { in qfq_change_class() [all …]
|
D | sch_hhf.c | 394 unsigned int weight; in hhf_enqueue() local 402 weight = 1; in hhf_enqueue() 405 weight = q->hhf_non_hh_weight; in hhf_enqueue() 408 bucket->deficit = weight * q->quantum; in hhf_enqueue() 443 int weight = (bucket - q->buckets == WDRR_BUCKET_FOR_HH) ? in hhf_dequeue() local 446 bucket->deficit += weight * q->quantum; in hhf_dequeue()
|
D | sch_cbq.c | 104 long weight; /* Relative allotment: see below */ member 1042 cl->quantum = (cl->weight*cl->allot*q->nclasses[prio])/ in cbq_normalize_quanta() 1253 q->quanta[cl->priority] -= cl->weight; in cbq_rmprio() 1260 q->quanta[cl->priority] += cl->weight; in cbq_addprio() 1270 if (wrr->weight) in cbq_set_wrr() 1271 cl->weight = wrr->weight; in cbq_set_wrr() 1382 q->link.weight = q->link.R_tab->rate.rate; in cbq_init() 1456 opt.weight = cl->weight; in cbq_dump_wrr() 1870 cl->weight = cl->R_tab->rate.rate; in cbq_change_class()
|
/linux-4.4.14/drivers/thermal/ |
D | power_allocator.c | 352 total_weight += instance->weight; in allocate_power() 389 int weight; in allocate_power() local 402 weight = 1 << FRAC_BITS; in allocate_power() 404 weight = instance->weight; in allocate_power() 406 weighted_req_power[i] = frac_to_int(weight * req_power[i]); in allocate_power()
|
D | fair_share.c | 100 total_weight += instance->weight; in fair_share_throttle() 114 percentage = (instance->weight * 100) / total_weight; in fair_share_throttle()
|
D | thermal_core.h | 54 unsigned int weight; /* The weight of the cooling device */ member
|
D | thermal_core.c | 284 unsigned int weight) in __bind() argument 300 weight); in __bind() 348 tzp->tbp[i].weight); in bind_cdev() 388 tzp->tbp[i].weight); in bind_tz() 1214 return sprintf(buf, "%d\n", instance->weight); in thermal_cooling_device_weight_show() 1223 int ret, weight; in thermal_cooling_device_weight_store() local 1225 ret = kstrtoint(buf, 0, &weight); in thermal_cooling_device_weight_store() 1230 instance->weight = weight; in thermal_cooling_device_weight_store() 1262 unsigned int weight) in thermal_zone_bind_cooling_device() argument 1307 dev->weight = weight; in thermal_zone_bind_cooling_device()
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | ipt_CLUSTERIP.c | 578 unsigned int weight; /* number of bits set == size */ member 586 unsigned int weight; in clusterip_seq_start() local 592 weight = hweight32(local_nodes); in clusterip_seq_start() 593 if (*pos >= weight) in clusterip_seq_start() 601 idx->weight = weight; in clusterip_seq_start() 614 if (*pos >= idx->weight) { in clusterip_seq_next() 638 if (idx->pos == idx->weight - 1) in clusterip_seq_show()
|
/linux-4.4.14/Documentation/cgroups/ |
D | blkio-controller.txt | 12 weight time based division of disk policy. It is implemented in CFQ. Hence 42 echo 1000 > /sys/fs/cgroup/blkio/test1/blkio.weight 43 echo 500 > /sys/fs/cgroup/blkio/test2/blkio.weight 64 ideally io.disk_time of cgroups should be in proportion to the weight. 143 Proportional weight policy files 145 - blkio.weight 146 - Specifies per cgroup weight. This is default weight of the group 153 These rules override the default value of group weight as specified 154 by blkio.weight. 158 # echo dev_maj:dev_minor weight > blkio.weight_device [all …]
|
D | unified-hierarchy.txt | 196 other issues. The mapping from nice level to weight isn't obvious or 417 control knob should be named "weight" and have the range [1, 10000] 466 io.weight 468 The weight setting, currently only available and effective if 469 cfq-iosched is in use for the target device. The weight is 471 always contains the default weight in the following format to 482 setting. Writing "$MAJ:$MIN $WEIGHT" sets per-device weight
|
/linux-4.4.14/drivers/thermal/int340x_thermal/ |
D | acpi_thermal_rel.h | 19 u64 weight; member 49 u64 weight; member
|
D | acpi_thermal_rel.c | 262 memcpy(&art_user[i].weight, &arts[i].weight, in fill_art()
|
/linux-4.4.14/tools/perf/util/ |
D | hist.c | 220 u64 weight) in he_stat__add_period() argument 224 he_stat->weight += weight; in he_stat__add_period() 236 dest->weight += src->weight; in he_stat__add_stat() 394 u64 weight = entry->stat.weight; in hists__findnew_entry() local 412 he_stat__add_period(&he->stat, period, weight); in hists__findnew_entry() 414 he_stat__add_period(he->stat_acc, period, weight); in hists__findnew_entry() 462 u64 period, u64 weight, u64 transaction, in __hists__add_entry() argument 480 .weight = weight, in __hists__add_entry() 532 cost = iter->sample->weight; in iter_add_single_mem_entry() 683 sample->period, sample->weight, in iter_add_single_normal_entry() [all …]
|
D | sort.h | 56 u64 weight; member
|
D | hist.h | 118 u64 weight, u64 transaction,
|
D | sort.c | 1061 return he->stat.nr_events ? he->stat.weight / he->stat.nr_events : 0; in he_weight() 1086 return left->stat.weight - right->stat.weight; in sort__global_weight_cmp() 1092 return repsep_snprintf(bf, size, "%-*llu", width, he->stat.weight); in hist_entry__global_weight_snprintf()
|
D | event.h | 188 u64 weight; member
|
D | evsel.c | 1604 data->weight = 0; in perf_evsel__parse_sample() 1810 data->weight = 0; in perf_evsel__parse_sample() 1813 data->weight = *array; in perf_evsel__parse_sample() 2117 *array = sample->weight; in perf_event__synthesize_sample()
|
D | data-convert-bt.c | 410 ret = value_set_u64(cw, event, "perf_weight", sample->weight); in add_generic_values()
|
D | session.c | 943 printf("... weight: %" PRIu64 "\n", sample->weight); in dump_sample()
|
/linux-4.4.14/kernel/sched/ |
D | fair.c | 119 lw->weight += inc; in update_load_add() 125 lw->weight -= dec; in update_load_sub() 131 lw->weight = w; in update_load_set() 192 w = scale_load_down(lw->weight); in __update_inv_weight() 214 static u64 __calc_delta(u64 delta_exec, unsigned long weight, struct load_weight *lw) in __calc_delta() argument 216 u64 fact = scale_load_down(weight); in __calc_delta() 598 if (unlikely(se->load.weight != NICE_0_LOAD)) in calc_delta_fair() 640 update_load_add(&lw, se->load.weight); in sched_slice() 643 slice = __calc_delta(slice, se->load.weight, load); in sched_slice() 683 sa->load_avg = scale_load_down(se->load.weight); in init_entity_runnable_average() [all …]
|
D | debug.c | 89 P(se->load.weight); in print_cfs_group_stats() 206 SEQ_printf(m, " .%-30s: %ld\n", "load", cfs_rq->load.weight); in print_cfs_rq() 296 rq->load.weight); in print_cpu() 628 P(se.load.weight); in proc_sched_show_task()
|
D | rt.c | 642 int i, weight; in do_balance_runtime() local 645 weight = cpumask_weight(rd->span); in do_balance_runtime() 671 diff = div_u64((u64)diff, weight); in do_balance_runtime()
|
D | core.c | 821 load->weight = scale_load(WEIGHT_IDLEPRIO); in set_load_weight() 826 load->weight = scale_load(prio_to_weight[prio]); in set_load_weight() 2775 *load = rq->load.weight; in get_iowait_load()
|
/linux-4.4.14/fs/dlm/ |
D | member.c | 333 memb->weight = node->weight; in dlm_add_member() 396 if (memb->weight) in make_member_array() 397 total += memb->weight; in make_member_array() 414 if (!all_zero && !memb->weight) in make_member_array() 420 w = memb->weight; in make_member_array()
|
D | config.c | 240 int weight; member 521 nd->weight = 1; /* default weight of 1 if none is set */ in make_node() 719 return sprintf(buf, "%d\n", config_item_to_node(item)->weight); in node_weight_show() 725 int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight); in node_weight_store() 733 CONFIGFS_ATTR(node_, weight); 827 node->weight = nd->weight; in dlm_config_nodes()
|
D | config.h | 19 int weight; member
|
D | dlm_internal.h | 118 int weight; member
|
/linux-4.4.14/drivers/thunderbolt/ |
D | path.c | 19 hop->weight, hop->priority, in tb_dump_hop() 186 hop.weight = path->weight; in tb_path_activate()
|
D | tb_regs.h | 199 u32 weight:4; member
|
D | tunnel_pci.c | 38 path->weight = 1; in tb_pci_init_path()
|
D | tb.h | 88 int weight:4; member
|
/linux-4.4.14/include/uapi/linux/ |
D | ip_vs.h | 152 int weight; /* destination weight */ member 217 int weight; /* destination weight */ member
|
D | pkt_sched.h | 441 __u32 weight; member 671 __u32 weight; member
|
/linux-4.4.14/Documentation/block/ |
D | cfq-iosched.txt | 150 blkio cgroup directory. It is weight-based and there are four knobs 151 for configuration - weight[_device] and leaf_weight[_device]. 159 an implicit leaf child node which hosts all the tasks whose weight is 164 weight leaf_weight 171 root never has a parent making its weight is meaningless. For backward 172 compatibility, weight is always kept in sync with leaf_weight. B, AA 189 Distribution below root. The total active weight at this level is 197 the implicit leaf node. The total active weight at this level is
|
D | data-integrity.txt | 60 lighter-weight checksum to be used when interfacing with the operating
|
D | biodoc.txt | 377 from the buffer cache unnecessarily added to the weight of the descriptors
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | btcoex.c | 221 const u32 *weight = ar9003_wlan_weights[stomp_type]; in ath9k_hw_btcoex_set_weight() local 236 weight = mci_wlan_weights[stype]; in ath9k_hw_btcoex_set_weight() 241 btcoex_hw->wlan_weight[i] = weight[i]; in ath9k_hw_btcoex_set_weight()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event.h | 62 int weight; member 256 .weight = (w), \ 401 #define EVENT_CONSTRAINT_END { .weight = -1 } 407 for ((e) = (c); (e)->weight != -1; (e)++)
|
D | perf_event.c | 656 int weight; member 692 if (constraints[idx]->weight == wmin) in perf_sched_init() 697 sched->state.weight = wmin; in perf_sched_init() 798 sched->state.weight++; in perf_sched_next_event() 799 if (sched->state.weight > sched->max_weight) in perf_sched_next_event() 803 } while (c->weight != sched->state.weight); in perf_sched_next_event() 849 wmin = min(wmin, c->weight); in x86_schedule_events() 850 wmax = max(wmax, c->weight); in x86_schedule_events() 1899 if (!c || !c->weight) in validate_event()
|
D | perf_event_amd.c | 361 nb->event_constraints[i].weight = 1; in amd_alloc_nb()
|
D | perf_event_intel.c | 2328 c->weight = hweight64(c->idxmsk64); in intel_get_excl_constraints() 2335 if (c->weight == 0) in intel_get_excl_constraints() 2359 c1->weight = c2->weight; in intel_get_event_constraints() 3605 c->weight = hweight64(c->idxmsk64); in intel_pmu_init()
|
D | perf_event_intel_ds.c | 1016 data->weight = pebs->lat; in setup_pebs_sample_data() 1086 data->weight = intel_hsw_weight(pebs); in setup_pebs_sample_data()
|
D | perf_event_intel_uncore.c | 423 wmin = min(wmin, c->weight); in uncore_assign_events() 424 wmax = max(wmax, c->weight); in uncore_assign_events()
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-report.txt | 71 pid, comm, dso, symbol, parent, cpu, socket, srcline, weight, local_weight. 87 - weight: Event specific weight, e.g. memory latency or transaction 88 abort cost. This is the global weight. 89 - local_weight: Local weight version of the weight above.
|
D | perf-diff.txt | 209 - WEIGHT-A being the weight of the data file 210 - WEIGHT-B being the weight of the baseline data file
|
D | perf-record.txt | 262 --weight:: 263 Enable weightened sampling. An additional weight is recorded per sample and can be 264 displayed with the weight and local_weight sort keys. This currently works for TSX
|
D | perf-top.txt | 118 Sort by key(s): pid, comm, dso, symbol, parent, srcline, weight,
|
/linux-4.4.14/drivers/hid/ |
D | hid-roccat-kone.c | 423 int weight = 0; in kone_sysfs_show_weight() local 431 retval = kone_get_weight(usb_dev, &weight); in kone_sysfs_show_weight() 436 return snprintf(buf, PAGE_SIZE, "%d\n", weight); in kone_sysfs_show_weight() 438 static DEVICE_ATTR(weight, 0440, kone_sysfs_show_weight, NULL);
|
/linux-4.4.14/tools/perf/tests/ |
D | sample-parsing.c | 121 COMP(weight); in samples_same() 181 .weight = 109, in do_test()
|
/linux-4.4.14/include/linux/crush/ |
D | crush.h | 133 __u32 weight; /* 16-bit fixed point */ member
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | service.c | 351 int weight; in ptlrpc_server_nthreads_check() local 394 weight = cfs_cpt_weight(svc->srv_cptable, CFS_CPT_ANY); in ptlrpc_server_nthreads_check() 395 for (i = 1; (weight >> (i + 1)) != 0 && /* >= 4 cores/HTs */ in ptlrpc_server_nthreads_check() 422 weight = cfs_cpt_weight(svc->srv_cptable, 0); in ptlrpc_server_nthreads_check() 423 LASSERT(weight > 0); in ptlrpc_server_nthreads_check() 425 for (; factor > 0 && weight > 0; factor--, weight -= fade) in ptlrpc_server_nthreads_check() 426 nthrs += min(weight, fade) * factor; in ptlrpc_server_nthreads_check() 2484 int weight; in ptlrpc_hr_init() local 2496 weight = cpumask_weight(topology_sibling_cpumask(0)); in ptlrpc_hr_init() 2505 hrp->hrp_nthrs /= weight; in ptlrpc_hr_init()
|
/linux-4.4.14/arch/powerpc/mm/ |
D | numa.c | 1375 int weight, new_nid, i = 0; in arch_update_cpu_topology() local 1380 weight = cpumask_weight(&cpu_associativity_changes_mask); in arch_update_cpu_topology() 1381 if (!weight) in arch_update_cpu_topology() 1384 updates = kzalloc(weight * (sizeof(*updates)), GFP_KERNEL); in arch_update_cpu_topology() 1427 if (i < weight) in arch_update_cpu_topology()
|
/linux-4.4.14/drivers/input/mouse/ |
D | elantech.c | 618 int weight, delta_x1 = 0, delta_y1 = 0, delta_x2 = 0, delta_y2 = 0; in process_packet_motion_v4() local 626 weight = (packet[0] & 0x10) ? ETP_WEIGHT_VALUE : 1; in process_packet_motion_v4() 637 etd->mt[id].x += delta_x1 * weight; in process_packet_motion_v4() 638 etd->mt[id].y -= delta_y1 * weight; in process_packet_motion_v4() 644 etd->mt[sid].x += delta_x2 * weight; in process_packet_motion_v4() 645 etd->mt[sid].y -= delta_y2 * weight; in process_packet_motion_v4()
|
/linux-4.4.14/net/ceph/ |
D | osdmap.c | 240 b->weight = ceph_decode_32(p); in crush_decode() 694 u32 *weight; in osdmap_set_max_osd() local 703 weight = krealloc(map->osd_weight, max*sizeof(*weight), GFP_NOFS); in osdmap_set_max_osd() 704 if (!weight) in osdmap_set_max_osd() 706 map->osd_weight = weight; in osdmap_set_max_osd() 1476 const __u32 *weight, int weight_max) in do_crush() argument 1484 weight, weight_max, map->crush_scratch_ary); in do_crush()
|
/linux-4.4.14/drivers/net/ethernet/ibm/emac/ |
D | Kconfig | 21 int "MAL NAPI polling weight"
|
/linux-4.4.14/Documentation/thermal/ |
D | sysfs-api.txt | 98 unsigned long upper, unsigned long lower, unsigned int weight); 113 weight: the influence of this cooling device in this thermal 132 .weight: The 'influence' of a particular cooling device on this 135 weight of 1, then they all contribute the same. You can 137 weight of 0 means that this cooling device doesn't 139 devices have a weight of 0. If all weights are 0, then 294 zone. For example, if a cooling device has a weight double
|
D | power_allocator.txt | 224 cooling devices. Higher weight can be used to express higher power 226 has a weight of one they are considered equal. This is particularly
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
D | zcrypt.h | 210 uint64_t weight; member
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.h | 124 uint32_t weight; member
|
D | kfd_topology.c | 297 props->weight = 1; in kfd_parse_subtype_iolink() 545 sysfs_show_32bit_prop(buffer, "weight", iolink->weight); in iolink_show()
|
/linux-4.4.14/include/rdma/ |
D | ib_smi.h | 140 u8 weight; member
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-cpu.c | 509 int weight; in cfs_cpt_spread_node() local 523 weight = nodes_weight(*mask); in cfs_cpt_spread_node() 524 LASSERT(weight > 0); in cfs_cpt_spread_node() 526 rotor %= weight; in cfs_cpt_spread_node()
|
/linux-4.4.14/drivers/md/bcache/ |
D | util.h | 439 #define ewma_add(ewma, val, weight, factor) \ argument 441 (ewma) *= (weight) - 1; \ 443 (ewma) /= (weight); \
|
/linux-4.4.14/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 697 …t, ip, time, cpu, to_dso_id, to_symbol_id, to_sym_offset, to_ip, period, weight, transaction, data… argument 701 …8, to_dso_id, 8, to_symbol_id, 8, to_sym_offset, 8, to_ip, 8, period, 8, weight, 8, transaction, 8…
|
/linux-4.4.14/drivers/video/fbdev/nvidia/ |
D | nv_type.h | 30 int weight; member
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 1660 int *weight) in update_best() argument 1662 if (*best_weight < ++(*weight)) { in update_best() 1663 *best_weight = *weight; in update_best() 1673 int weight, best_weight; in gelic_wl_find_best_bss() local 1702 weight = 0; in gelic_wl_find_best_bss() 1710 &best_weight, &weight); in gelic_wl_find_best_bss() 1716 &best_weight, &weight); in gelic_wl_find_best_bss() 1723 &best_weight, &weight); in gelic_wl_find_best_bss() 1735 &best_weight, &weight); in gelic_wl_find_best_bss()
|
/linux-4.4.14/net/ |
D | Kconfig | 379 bool "Network light weight tunnels" 381 This feature provides an infrastructure to support light weight 383 weight tunnel endpoint. Tunnel encapsulation parameters are stored 384 with light weight tunnel state associated with fib routes.
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 415 int weight) in bgmac_dma_rx_read() argument 485 if (handled >= weight) /* Should never be greater */ in bgmac_dma_rx_read() 1250 static int bgmac_poll(struct napi_struct *napi, int weight) in bgmac_poll() argument 1259 handled += bgmac_dma_rx_read(bgmac, &bgmac->rx_ring[0], weight); in bgmac_poll() 1263 return weight; in bgmac_poll() 1265 if (handled < weight) { in bgmac_poll()
|
/linux-4.4.14/tools/hv/ |
D | hv_kvp_daemon.c | 925 int weight; in kvp_get_ip_info() local 1008 weight = 0; in kvp_get_ip_info() 1015 weight += hweight32(&w[i]); in kvp_get_ip_info() 1017 sprintf(cidr_mask, "/%d", weight); in kvp_get_ip_info()
|
/linux-4.4.14/drivers/extcon/ |
D | extcon.c | 105 int weight; in check_mutually_exclusive() local 109 weight = hweight32(correspondants); in check_mutually_exclusive() 110 if (weight > 1) in check_mutually_exclusive()
|
/linux-4.4.14/drivers/net/wireless/ti/wl1251/ |
D | acx.c | 720 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight, in wl1251_acx_low_rssi() argument 733 rssi->weight = weight; in wl1251_acx_low_rssi()
|
D | acx.h | 430 u8 weight; member 1479 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight,
|
/linux-4.4.14/arch/s390/hypfs/ |
D | hypfs_diag.c | 179 __u16 weight; member 189 __u16 weight; member
|
/linux-4.4.14/tools/perf/ |
D | builtin-mem.c | 100 sample->weight, in dump_raw_samples()
|
D | builtin-diff.c | 315 u64 weight, u64 transaction) in hists__add_entry() argument 317 if (__hists__add_entry(hists, al, NULL, NULL, NULL, period, weight, in hists__add_entry() 340 sample->weight, sample->transaction)) { in diff__process_sample_event()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | ft6236.c | 67 u8 weight; member
|
/linux-4.4.14/drivers/net/can/c_can/ |
D | c_can.c | 717 u32 weight, lasts; in c_can_adjust_pending() local 726 weight = hweight32(pend); in c_can_adjust_pending() 730 if (lasts == weight) in c_can_adjust_pending()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_fw_funcs.c | 50 #define QM_WFQ_INC_VAL(weight) ((weight) * 0x9000) argument
|
/linux-4.4.14/drivers/mtd/ |
D | mtdswap.c | 521 unsigned int weight = eb->active_count; in mtdswap_store_eb() local 531 if (weight == maxweight) in mtdswap_store_eb() 533 else if (weight == 0) in mtdswap_store_eb() 535 else if (weight > (maxweight/2)) in mtdswap_store_eb()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 1294 unsigned int total_weight, min_weight, weight; in xgbe_config_dcb_tc() local 1320 weight = total_weight * ets->tc_tx_bw[i] / 100; in xgbe_config_dcb_tc() 1321 weight = clamp(weight, min_weight, total_weight); in xgbe_config_dcb_tc() 1324 "TC%u using DWRR (weight %u)\n", i, weight); in xgbe_config_dcb_tc() 1328 weight); in xgbe_config_dcb_tc()
|
/linux-4.4.14/net/core/ |
D | dev.c | 4555 napi->weight = weight_p; in process_backlog() 4735 int (*poll)(struct napi_struct *, int), int weight) in netif_napi_add() argument 4744 if (weight > NAPI_POLL_WEIGHT) in netif_napi_add() 4746 weight, dev->name); in netif_napi_add() 4747 napi->weight = weight; in netif_napi_add() 4788 int work, weight; in napi_poll() local 4794 weight = n->weight; in napi_poll() 4804 work = n->poll(n, weight); in napi_poll() 4808 WARN_ON_ONCE(work > weight); in napi_poll() 4810 if (likely(work < weight)) in napi_poll() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 1169 const unsigned int weight = cpumask_weight(¤t->cpus_allowed); in assign_ctxt_affinity() local 1177 if ((weight >= qib_cpulist_count) && in assign_ctxt_affinity() 1194 if (weight >= qib_cpulist_count) { in assign_ctxt_affinity() 1651 const unsigned int weight = in qib_assign_ctxt() local 1654 if (weight == 1 && !test_bit(cpu, qib_cpulist)) in qib_assign_ctxt()
|
D | qib_iba7322.c | 4416 vl->weight = (val >> SYM_LSB(LowPriority0_0, Weight)) & in get_vl_weights() 4431 ((vl->weight & SYM_RMASK(LowPriority0_0, Weight)) << in set_vl_weights()
|
/linux-4.4.14/fs/xfs/ |
D | Kconfig | 80 lighter weight than XFS_DEBUG and does not modify algorithms and will
|
/linux-4.4.14/drivers/mtd/nand/ |
D | nand_base.c | 1133 int weight; in nand_check_erased_buf() local 1137 weight = hweight8(*bitmap); in nand_check_erased_buf() 1138 bitflips += BITS_PER_BYTE - weight; in nand_check_erased_buf() 1145 weight = hweight_long(*((unsigned long *)bitmap)); in nand_check_erased_buf() 1146 bitflips += BITS_PER_LONG - weight; in nand_check_erased_buf() 1152 weight = hweight8(*bitmap); in nand_check_erased_buf() 1153 bitflips += BITS_PER_BYTE - weight; in nand_check_erased_buf()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-driver-hid-roccat-kone | 88 …<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/weight
|
/linux-4.4.14/net/batman-adv/ |
D | bat_iv_ogm.c | 1652 u8 *weight; in batadv_iv_ogm_process() local 1674 weight = &orig_neigh_node->bat_iv.bcast_own_sum[if_num]; in batadv_iv_ogm_process() 1675 *weight = bitmap_weight(word, in batadv_iv_ogm_process()
|
/linux-4.4.14/Documentation/power/ |
D | states.txt | 31 This state is a generic, pure software, light-weight, system sleep state.
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | wmi.h | 92 u8 weight; member 1264 u8 weight; member 1279 u8 weight; member
|
D | wmi.c | 1497 cmd.weight = sq_thresh->weight; in ath6kl_wmi_rssi_threshold_event_rx() 1730 cmd.weight = sq_thresh->weight; in ath6kl_wmi_snr_threshold_event_rx()
|
/linux-4.4.14/Documentation/input/ |
D | ntrig.txt | 88 dramatically with increasing numbers. Rather than accumulate weight as a
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
D | octeon-irq.c | 229 int weight = cpumask_weight(mask); in next_cpu_for_irq() local 232 if (weight > 1) { in next_cpu_for_irq() 243 } else if (weight == 1) { in next_cpu_for_irq()
|
/linux-4.4.14/include/net/ |
D | ip_vs.h | 603 int weight; /* destination weight */ member 668 atomic_t weight; /* server weight */ member
|
/linux-4.4.14/Documentation/networking/ |
D | switchdev.txt | 353 nexthop via 11.0.0.1 dev sw1p1 weight 1 354 nexthop via 11.0.0.9 dev sw1p2 weight 1
|
D | ipvs-sysctl.txt | 151 quiescent by setting its weight to 0 and it is desired that
|
/linux-4.4.14/drivers/net/xen-netback/ |
D | xenbus.c | 110 queue->napi.state, queue->napi.weight, in xenvif_read_io_ring()
|
/linux-4.4.14/Documentation/ia64/ |
D | fsys.txt | 3 Light-weight System Calls for IA-64
|
/linux-4.4.14/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 696 tuple_set_u64(t, 16, es->sample->weight); in python_export_sample()
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
D | pcnet32.c | 819 lp->napi.weight = lp->rx_ring_size / 2; in pcnet32_set_ringparam() 1824 lp->napi.weight = lp->rx_ring_size / 2; in pcnet32_probe1()
|
/linux-4.4.14/Documentation/RCU/ |
D | whatisRCU.txt | 86 use much lighter-weight synchronization, in some cases, absolutely no 88 schemes, readers must use heavy-weight synchronization in order to
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 2413 __le32 weight; member 2663 __le32 weight; member
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 2673 static int e1000e_poll(struct napi_struct *napi, int weight) in e1000e_poll() argument 2687 adapter->clean_rx(adapter->rx_ring, &work_done, weight); in e1000e_poll() 2690 work_done = weight; in e1000e_poll() 2693 if (work_done < weight) { in e1000e_poll()
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.megaraid | 407 Declare some heavy-weight functions to be non-inlined,
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | chip.c | 6938 | (((u64)vl->weight in set_vl_weights() 7031 vl->weight = 0; in get_vlarb_preempt()
|
/linux-4.4.14/init/ |
D | Kconfig | 1135 enabling proportional weight division of disk bandwidth in CFQ, set
|