Home
last modified time | relevance | path

Searched refs:weight (Results 1 – 25 of 36) sorted by relevance

12

/linux-4.19.296/drivers/s390/crypto/
Dzcrypt_api.c157 unsigned int weight) in zcrypt_pick_queue() argument
163 atomic_add(weight, &zc->load); in zcrypt_pick_queue()
164 atomic_add(weight, &zq->load); in zcrypt_pick_queue()
171 unsigned int weight) in zcrypt_drop_queue() argument
176 atomic_sub(weight, &zc->load); in zcrypt_drop_queue()
177 atomic_sub(weight, &zq->load); in zcrypt_drop_queue()
185 unsigned int weight, in zcrypt_card_compare() argument
190 weight += atomic_read(&zc->load); in zcrypt_card_compare()
192 if (weight == pref_weight) in zcrypt_card_compare()
195 return weight > pref_weight; in zcrypt_card_compare()
[all …]
/linux-4.19.296/lib/
Dirq_poll.c88 int work, weight; in irq_poll_softirq() local
107 weight = iop->weight; in irq_poll_softirq()
110 work = iop->poll(iop, weight); in irq_poll_softirq()
124 if (work >= weight) { in irq_poll_softirq()
179 void irq_poll_init(struct irq_poll *iop, int weight, irq_poll_fn *poll_fn) in irq_poll_init() argument
183 iop->weight = weight; in irq_poll_init()
Dsbitmap.c206 unsigned int i, weight = 0; in sbitmap_weight() local
211 weight += bitmap_weight(&word->word, word->depth); in sbitmap_weight()
213 return weight; in sbitmap_weight()
/linux-4.19.296/block/
Dbfq-wf2q.c281 static u64 bfq_delta(unsigned long service, unsigned long weight) in bfq_delta() argument
285 do_div(d, weight); in bfq_delta()
299 bfq_delta(service, entity->weight); in bfq_calc_finish()
304 service, entity->weight); in bfq_calc_finish()
308 bfq_delta(service, entity->weight)); in bfq_calc_finish()
528 static unsigned short bfq_weight_to_ioprio(int weight) in bfq_weight_to_ioprio() argument
531 IOPRIO_BE_NR * BFQ_WEIGHT_CONVERSION_COEFF - weight); in bfq_weight_to_ioprio()
655 st->wsum -= entity->weight; in bfq_forget_entity()
750 old_st->wsum -= entity->weight; in __bfq_entity_update_weight_prio()
787 prev_weight = entity->weight; in __bfq_entity_update_weight_prio()
[all …]
Dbfq-cgroup.c350 entity->weight = entity->new_weight; in bfq_init_entity()
428 d->weight = cgroup_subsys_on_dfl(io_cgrp_subsys) ? in bfq_cpd_init()
463 entity->orig_weight = entity->weight = entity->new_weight = d->weight; in bfq_pd_init()
847 val = bfqgd->weight; in bfq_io_show_weight()
868 bfqgd->weight = (unsigned short)val; in bfq_io_set_weight_legacy()
910 u64 weight; in bfq_io_set_weight() local
912 int ret = kstrtoull(strim(buf), 0, &weight); in bfq_io_set_weight()
917 ret = bfq_io_set_weight_legacy(of_css(of), NULL, weight); in bfq_io_set_weight()
1194 entity->weight = entity->new_weight; in bfq_init_entity()
Dbfq-iosched.h115 unsigned int weight; /* weight of the queues this counter refers to */ member
179 int weight; member
813 unsigned int weight; member
Dcfq-iosched.c226 unsigned int weight; member
271 unsigned int weight; member
1276 cfqg->weight = cfqg->new_weight; in cfq_update_group_weight()
1334 parent->children_weight += pos->weight; in cfq_group_service_tree_add()
1336 vfr = vfr * pos->weight / parent->children_weight; in cfq_group_service_tree_add()
1401 parent->children_weight -= pos->weight; in cfq_group_service_tree_del()
1587 unsigned int weight = cgroup_subsys_on_dfl(io_cgrp_subsys) ? in cfq_cpd_init() local
1591 weight *= 2; in cfq_cpd_init()
1593 cgd->weight = weight; in cfq_cpd_init()
1594 cgd->leaf_weight = weight; in cfq_cpd_init()
[all …]
Dbfq-iosched.c718 if (entity->weight == __counter->weight) { in bfq_weights_tree_add()
722 if (entity->weight < __counter->weight) in bfq_weights_tree_add()
747 bfqq->weight_counter->weight = entity->weight; in bfq_weights_tree_add()
2453 timeout_coeff = bfqq->entity.weight / bfqq->entity.orig_weight; in bfq_set_budget_timeout()
2608 u32 rate, weight, divisor; in bfq_update_rate_reset() local
2673 weight = (9 * bfqd->sequential_samples) / bfqd->peak_rate_samples; in bfq_update_rate_reset()
2679 weight = min_t(u32, 8, in bfq_update_rate_reset()
2680 div_u64(weight * bfqd->delta_from_first, in bfq_update_rate_reset()
2687 divisor = 10 - weight; in bfq_update_rate_reset()
3888 bfqq->entity.weight, bfqq->entity.orig_weight); in bfq_update_wr_data()
[all …]
/linux-4.19.296/lib/zstd/
Dhuf_decompress.c389 BYTE weight; member
418 const U32 weight = sortedSymbols[s].weight; in HUF_fillDTableX4Level2() local
419 const U32 nbBits = nbBitsBaseline - weight; in HUF_fillDTableX4Level2()
421 const U32 start = rankVal[weight]; in HUF_fillDTableX4Level2()
432 rankVal[weight] += length; in HUF_fillDTableX4Level2()
453 const U32 weight = sortedList[s].weight; in HUF_fillDTableX4() local
454 const U32 nbBits = nbBitsBaseline - weight; in HUF_fillDTableX4()
455 const U32 start = rankVal[weight]; in HUF_fillDTableX4()
478 rankVal[weight] += length; in HUF_fillDTableX4()
556 sortedSymbol[r].weight = (BYTE)w; in HUF_readDTableX4_wksp()
Dfse_compress.c596 U32 const weight = sEnd - sStart; in FSE_normalizeM2() local
597 if (weight < 1) in FSE_normalizeM2()
599 norm[s] = (short)weight; in FSE_normalizeM2()
/linux-4.19.296/include/linux/
Dirq_poll.h11 int weight; member
Dstmmac.h137 u32 weight; member
Dthermal.h257 int weight; member
487 unsigned int weight) in thermal_zone_bind_cooling_device() argument
/linux-4.19.296/fs/dlm/
Dmember.c332 memb->weight = node->weight; in dlm_add_member()
395 if (memb->weight) in make_member_array()
396 total += memb->weight; in make_member_array()
412 if (!all_zero && !memb->weight) in make_member_array()
418 w = memb->weight; in make_member_array()
Dconfig.c248 int weight; member
513 nd->weight = 1; /* default weight of 1 if none is set */ in make_node()
711 return sprintf(buf, "%d\n", config_item_to_node(item)->weight); in node_weight_show()
717 int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight); in node_weight_store()
725 CONFIGFS_ATTR(node_, weight);
819 node->weight = nd->weight; in dlm_config_nodes()
Dconfig.h19 int weight; member
/linux-4.19.296/drivers/thunderbolt/
Dpath.c20 hop->weight, hop->priority, in tb_dump_hop()
187 hop.weight = path->weight; in tb_path_activate()
Dtb_regs.h226 u32 weight:4; member
/linux-4.19.296/include/linux/crush/
Dmapper.h17 const __u32 *weight, int weight_max,
Dcrush.h136 __u32 weight; /* 16-bit fixed point */ member
/linux-4.19.296/include/uapi/linux/
Dip_vs.h153 int weight; /* destination weight */ member
218 int weight; /* destination weight */ member
/linux-4.19.296/include/linux/can/
Drx-offload.h41 …n_rx_offload_add_fifo(struct net_device *dev, struct can_rx_offload *offload, unsigned int weight);
/linux-4.19.296/drivers/slimbus/
DKconfig30 This is light-weight slimbus controller driver responsible for
/linux-4.19.296/drivers/hid/
Dhid-roccat-kone.c428 int weight = 0; in kone_sysfs_show_weight() local
436 retval = kone_get_weight(usb_dev, &weight); in kone_sysfs_show_weight()
441 return snprintf(buf, PAGE_SIZE, "%d\n", weight); in kone_sysfs_show_weight()
443 static DEVICE_ATTR(weight, 0440, kone_sysfs_show_weight, NULL);
/linux-4.19.296/include/rdma/
Dib_smi.h140 u8 weight; member

12