Home
last modified time | relevance | path

Searched refs:mt_slots (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/lib/
Dmaple_tree.c92 static const unsigned char mt_slots[] = { variable
98 #define mt_slot_count(x) mt_slots[mte_node_type(x)]
1463 for (i = 0; i < mt_slots[mt]; i++) { in mas_leaf_max_gap()
1836 unsigned char slot_min, slot_count = mt_slots[bn->type]; in mab_calc_split()
1970 if (end < mt_slots[mt] - 1) in mas_leaf_set_meta()
2606 unsigned char slot_count = mt_slots[b_node->type]; in mas_mab_to_node()
3064 mab_mas_cp(mast->bn, 0, mt_slots[mast->bn->type] - 1, &l_mas, true); in mas_spanning_rebalance()
3167 unsigned char offset, tmp, split = mt_slots[mt] / 2; in mas_destroy_rebalance()
3213 unsigned char max_s = mt_slots[mt]; in mas_destroy_rebalance()
3219 if (tmp < mt_slots[mt]) in mas_destroy_rebalance()
[all …]
/linux-6.1.9/drivers/input/
Dinput.c2163 int mt_slots; in input_estimate_events_per_packet() local
2168 mt_slots = dev->mt->num_slots; in input_estimate_events_per_packet()
2170 mt_slots = dev->absinfo[ABS_MT_TRACKING_ID].maximum - in input_estimate_events_per_packet()
2172 mt_slots = clamp(mt_slots, 2, 32); in input_estimate_events_per_packet()
2174 mt_slots = 2; in input_estimate_events_per_packet()
2176 mt_slots = 0; in input_estimate_events_per_packet()
2179 events = mt_slots + 1; /* count SYN_MT_REPORT and SYN_REPORT */ in input_estimate_events_per_packet()
2183 events += input_is_mt_axis(i) ? mt_slots : 1; in input_estimate_events_per_packet()