Home
last modified time | relevance | path

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

/linux/drivers/input/
H A Dinput.c2131 int mt_slots; in input_estimate_events_per_packet() local
2136 mt_slots = dev->mt->num_slots; in input_estimate_events_per_packet()
2138 mt_slots = dev->absinfo[ABS_MT_TRACKING_ID].maximum - in input_estimate_events_per_packet()
2140 mt_slots = clamp(mt_slots, 2, 32); in input_estimate_events_per_packet()
2142 mt_slots = 2; in input_estimate_events_per_packet()
2144 mt_slots = 0; in input_estimate_events_per_packet()
2147 events = mt_slots + 1; /* count SYN_MT_REPORT and SYN_REPORT */ in input_estimate_events_per_packet()
2151 events += input_is_mt_axis(i) ? mt_slots : 1; in input_estimate_events_per_packet()
/linux/lib/
H A Dmaple_tree.c108 static const unsigned char mt_slots[] = { variable
114 #define mt_slot_count(x) mt_slots[mte_node_type(x)]
1323 for (i = 0; i < mt_slots[mt]; i++) { in mas_leaf_max_gap()
1697 unsigned char slot_count = mt_slots[bn->type]; in mab_calc_split()
1791 if (end < mt_slots[mt] - 1) in mas_leaf_set_meta()
2161 unsigned char slot_count = mt_slots[b_node->type]; in mas_mab_to_node()
2714 mab_mas_cp(mast->bn, 0, mt_slots[mast->bn->type] - 1, &l_mas, true); in mas_spanning_rebalance()
2822 mab_mas_cp(mast->bn, 0, mt_slots[mast->bn->type] - 1, mast->l, true); in mas_split_final_node()
2944 split = mt_slots[mast->bn->type] - 2; in mas_push_data()
2956 split = mab_no_null_split(mast->bn, split, mt_slots[mast->bn->type]); in mas_push_data()
[all …]
/linux/tools/testing/radix-tree/
H A Dmaple.c35583 for (i = 0; i < mt_slots[type]; i++) { in compare_node()
35709 if (mas_data_end(&mas) + 1 < mt_slots[type]) { in build_full_tree()