Home
last modified time | relevance | path

Searched full:mt (Results 1 – 25 of 231) sorted by relevance

12345678910

/linux/lib/
H A Dtest_maple_tree.c19 #define mt_dump(mt, fmt) do {} while (0) argument
20 #define mt_validate(mt) do {} while (0) argument
63 static int __init mtree_insert_index(struct maple_tree *mt, in mtree_insert_index() argument
66 return mtree_insert(mt, index, xa_mk_value(index & LONG_MAX), gfp); in mtree_insert_index()
69 static void __init mtree_erase_index(struct maple_tree *mt, unsigned long index) in mtree_erase_index() argument
71 MT_BUG_ON(mt, mtree_erase(mt, index) != xa_mk_value(index & LONG_MAX)); in mtree_erase_index()
72 MT_BUG_ON(mt, mtree_load(mt, index) != NULL); in mtree_erase_index()
75 static int __init mtree_test_insert(struct maple_tree *mt, unsigne argument
81 mtree_test_store_range(struct maple_tree * mt,unsigned long start,unsigned long end,void * ptr) mtree_test_store_range() argument
87 mtree_test_store(struct maple_tree * mt,unsigned long start,void * ptr) mtree_test_store() argument
93 mtree_test_insert_range(struct maple_tree * mt,unsigned long start,unsigned long end,void * ptr) mtree_test_insert_range() argument
99 mtree_test_load(struct maple_tree * mt,unsigned long index) mtree_test_load() argument
104 mtree_test_erase(struct maple_tree * mt,unsigned long index) mtree_test_erase() argument
110 check_mtree_alloc_range(struct maple_tree * mt,unsigned long start,unsigned long end,unsigned long size,unsigned long expected,int eret,void * ptr) check_mtree_alloc_range() argument
127 check_mtree_alloc_rrange(struct maple_tree * mt,unsigned long start,unsigned long end,unsigned long size,unsigned long expected,int eret,void * ptr) check_mtree_alloc_rrange() argument
145 check_load(struct maple_tree * mt,unsigned long index,void * ptr) check_load() argument
155 check_store_range(struct maple_tree * mt,unsigned long start,unsigned long end,void * ptr,int expected) check_store_range() argument
171 check_insert_range(struct maple_tree * mt,unsigned long start,unsigned long end,void * ptr,int expected) check_insert_range() argument
187 check_insert(struct maple_tree * mt,unsigned long index,void * ptr) check_insert() argument
196 check_dup_insert(struct maple_tree * mt,unsigned long index,void * ptr) check_dup_insert() argument
206 check_index_load(struct maple_tree * mt,unsigned long index) check_index_load() argument
227 check_rev_seq(struct maple_tree * mt,unsigned long max,bool verbose) check_rev_seq() argument
260 check_seq(struct maple_tree * mt,unsigned long max,bool verbose) check_seq() argument
289 check_lb_not_empty(struct maple_tree * mt) check_lb_not_empty() argument
308 check_lower_bound_split(struct maple_tree * mt) check_lower_bound_split() argument
314 check_upper_bound_split(struct maple_tree * mt) check_upper_bound_split() argument
339 check_mid_split(struct maple_tree * mt) check_mid_split() argument
348 check_rev_find(struct maple_tree * mt) check_rev_find() argument
387 check_find(struct maple_tree * mt) check_find() argument
604 check_find_2(struct maple_tree * mt) check_find_2() argument
649 check_alloc_rev_range(struct maple_tree * mt) check_alloc_rev_range() argument
823 check_alloc_range(struct maple_tree * mt) check_alloc_range() argument
989 check_ranges(struct maple_tree * mt) check_ranges() argument
1357 check_next_entry(struct maple_tree * mt) check_next_entry() argument
1381 check_prev_entry(struct maple_tree * mt) check_prev_entry() argument
1425 check_store_null(struct maple_tree * mt) check_store_null() argument
1511 check_root_expand(struct maple_tree * mt) check_root_expand() argument
1601 check_deficient_node(struct maple_tree * mt) check_deficient_node() argument
1625 check_gap_combining(struct maple_tree * mt) check_gap_combining() argument
1822 check_node_overwrite(struct maple_tree * mt) check_node_overwrite() argument
1835 bench_slot_store(struct maple_tree * mt) bench_slot_store() argument
1851 bench_node_store(struct maple_tree * mt) bench_node_store() argument
1870 bench_awalk(struct maple_tree * mt) bench_awalk() argument
1887 bench_walk(struct maple_tree * mt) bench_walk() argument
1904 bench_load(struct maple_tree * mt) bench_load() argument
1917 bench_mt_for_each(struct maple_tree * mt) bench_mt_for_each() argument
1941 bench_mas_for_each(struct maple_tree * mt) bench_mas_for_each() argument
1971 bench_mas_prev(struct maple_tree * mt) bench_mas_prev() argument
2003 struct maple_tree mt, newmt; check_forking() local
2045 check_iteration(struct maple_tree * mt) check_iteration() argument
2112 check_mas_store_gfp(struct maple_tree * mt) check_mas_store_gfp() argument
2147 struct maple_tree mt, newmt; bench_forking() local
2193 next_prev_test(struct maple_tree * mt) next_prev_test() argument
2375 check_spanning_relatives(struct maple_tree * mt) check_spanning_relatives() argument
2388 check_fuzzer(struct maple_tree * mt) check_fuzzer() argument
2784 check_bnode_min_spanning(struct maple_tree * mt) check_bnode_min_spanning() argument
2803 check_empty_area_window(struct maple_tree * mt) check_empty_area_window() argument
2888 check_empty_area_fill(struct maple_tree * mt) check_empty_area_fill() argument
3076 check_state_handling(struct maple_tree * mt) check_state_handling() argument
3646 alloc_cyclic_testing(struct maple_tree * mt) alloc_cyclic_testing() argument
[all...]
H A Dmaple_tree.c176 static void mt_set_height(struct maple_tree *mt, unsigned char height) in mt_set_height() argument
178 unsigned int new_flags = mt->ma_flags; in mt_set_height()
181 MT_BUG_ON(mt, height > MAPLE_HEIGHT_MAX); in mt_set_height()
183 mt->ma_flags = new_flags; in mt_set_height()
191 static inline unsigned int mt_attr(struct maple_tree *mt) in mt_attr() argument
193 return mt->ma_flags & ~MT_FLAGS_HEIGHT_MASK; in mt_attr()
324 const enum maple_type mt) in ma_init_slot() argument
327 RCU_INIT_POINTER(*slot, (void *)mt_mk_node(mn, mt)); in ma_init_slot()
365 static __always_inline bool mt_is_alloc(struct maple_tree *mt) in mt_is_alloc() argument
367 return (mt in mt_is_alloc()
644 ma_slots(struct maple_node * mn,enum maple_type mt) ma_slots() argument
661 mt_write_locked(const struct maple_tree * mt) mt_write_locked() argument
667 mt_locked(const struct maple_tree * mt) mt_locked() argument
673 mt_slot(const struct maple_tree * mt,void __rcu ** slots,unsigned char offset) mt_slot() argument
679 mt_slot_locked(struct maple_tree * mt,void __rcu ** slots,unsigned char offset) mt_slot_locked() argument
723 mt_root_locked(struct maple_tree * mt) mt_root_locked() argument
740 ma_meta(struct maple_node * mn,enum maple_type mt) ma_meta() argument
757 ma_set_meta(struct maple_node * mn,enum maple_type mt,unsigned char offset,unsigned char end) ma_set_meta() argument
772 mt_clear_meta(struct maple_tree * mt,struct maple_node * mn,enum maple_type type) mt_clear_meta() argument
809 ma_meta_end(struct maple_node * mn,enum maple_type mt) ma_meta_end() argument
831 ma_set_meta_gap(struct maple_node * mn,enum maple_type mt,unsigned char offset) ma_set_meta_gap() argument
1157 struct maple_tree *mt = mas->tree; mas_lockdep_map() local
1378 ma_leaf_max_gap(struct maple_node * mn,enum maple_type mt,unsigned long min,unsigned long max,unsigned long * pivots,void __rcu ** slots) ma_leaf_max_gap() argument
1452 enum maple_type mt; mas_leaf_max_gap() local
1477 ma_max_gap(struct maple_node * node,unsigned long * gaps,enum maple_type mt,unsigned char * off) ma_max_gap() argument
1505 enum maple_type mt; mas_max_gap() local
1679 enum maple_type mt; mas_find_child() local
1713 mas_leaf_set_meta(struct maple_node * node,enum maple_type mt,unsigned char end) mas_leaf_set_meta() argument
2039 node_finalise(struct maple_node * node,enum maple_type mt,unsigned char end) node_finalise() argument
2359 dst_setup(struct maple_copy * cp,struct ma_state * mas,enum maple_type mt) dst_setup() argument
2426 enum maple_type mt; append_mas_cp() local
2623 enum maple_type mt = cp->dst[d].mt; cp_dst_to_slots() local
2664 enum maple_type mt = maple_arange_64; cp_is_new_root() local
3954 enum maple_type mt; mas_prev_node() local
4124 enum maple_type mt; mas_next_node() local
4598 enum maple_type mt; mas_empty_area() local
4711 mte_dead_leaves(struct maple_enode * enode,struct maple_tree * mt,void __rcu ** slots) mte_dead_leaves() argument
4807 mte_destroy_descend(struct maple_enode ** enode,struct maple_tree * mt,struct maple_enode * prev,unsigned char offset) mte_destroy_descend() argument
4836 mt_destroy_walk(struct maple_enode * enode,struct maple_tree * mt,bool free) mt_destroy_walk() argument
4900 mte_destroy_walk(struct maple_enode * enode,struct maple_tree * mt) mte_destroy_walk() argument
5219 mt_next(struct maple_tree * mt,unsigned long index,unsigned long max) mt_next() argument
5351 mt_prev(struct maple_tree * mt,unsigned long index,unsigned long min) mt_prev() argument
5803 mtree_load(struct maple_tree * mt,unsigned long index) mtree_load() argument
5845 mtree_store_range(struct maple_tree * mt,unsigned long index,unsigned long last,void * entry,gfp_t gfp) mtree_store_range() argument
5876 mtree_store(struct maple_tree * mt,unsigned long index,void * entry,gfp_t gfp) mtree_store() argument
5897 mtree_insert_range(struct maple_tree * mt,unsigned long first,unsigned long last,void * entry,gfp_t gfp) mtree_insert_range() argument
5934 mtree_insert(struct maple_tree * mt,unsigned long index,void * entry,gfp_t gfp) mtree_insert() argument
5941 mtree_alloc_range(struct maple_tree * mt,unsigned long * startp,void * entry,unsigned long size,unsigned long min,unsigned long max,gfp_t gfp) mtree_alloc_range() argument
6003 mtree_alloc_cyclic(struct maple_tree * mt,unsigned long * startp,void * entry,unsigned long range_lo,unsigned long range_hi,unsigned long * next,gfp_t gfp) mtree_alloc_cyclic() argument
6023 mtree_alloc_rrange(struct maple_tree * mt,unsigned long * startp,void * entry,unsigned long size,unsigned long min,unsigned long max,gfp_t gfp) mtree_alloc_rrange() argument
6076 mtree_erase(struct maple_tree * mt,unsigned long index) mtree_erase() argument
6312 __mt_dup(struct maple_tree * mt,struct maple_tree * new,gfp_t gfp) __mt_dup() argument
6349 mtree_dup(struct maple_tree * mt,struct maple_tree * new,gfp_t gfp) mtree_dup() argument
6376 __mt_destroy(struct maple_tree * mt) __mt_destroy() argument
6394 mtree_destroy(struct maple_tree * mt) mtree_destroy() argument
6418 mt_find(struct maple_tree * mt,unsigned long * index,unsigned long max) mt_find() argument
6478 mt_find_after(struct maple_tree * mt,unsigned long * index,unsigned long max) mt_find_after() argument
6640 mt_dump_range64(const struct maple_tree * mt,void * entry,unsigned long min,unsigned long max,unsigned int depth,enum mt_dump_format format) mt_dump_range64() argument
6693 mt_dump_arange64(const struct maple_tree * mt,void * entry,unsigned long min,unsigned long max,unsigned int depth,enum mt_dump_format format) mt_dump_arange64() argument
6752 mt_dump_node(const struct maple_tree * mt,void * entry,unsigned long min,unsigned long max,unsigned int depth,enum mt_dump_format format) mt_dump_node() argument
6787 mt_dump(const struct maple_tree * mt,enum mt_dump_format format) mt_dump() argument
6810 enum maple_type mt = mte_node_type(mas->node); mas_validate_gaps() local
7044 mt_validate_nulls(struct maple_tree * mt) mt_validate_nulls() argument
7086 mt_validate(struct maple_tree * mt) mt_validate() argument
[all...]
H A Dregion_alloc_benchmark.c130 struct maple_tree mt; in benchmark_maple_tree()
136 mt_init_flags(&mt, MT_FLAGS_ALLOC_RANGE); in benchmark_maple_tree()
140 ret = mtree_alloc_range(&mt, &idx, xa_mk_value(cnt + 1), in benchmark_maple_tree()
155 mtree_erase(&mt, reg_idx[idx]); in benchmark_maple_tree()
158 WARN_ON(!mtree_empty(&mt)); in benchmark_maple_tree()
161 sz = sizeof(mt) + DIV_ROUND_UP(cnt, MAPLE_ARANGE64_SLOTS) * sizeof(struct maple_node); in benchmark_maple_tree()
165 mtree_destroy(&mt); in region_alloc_benchmark()
128 struct maple_tree mt = MTREE_INIT(mt, MT_FLAGS_ALLOC_RANGE); benchmark_maple_tree() local
/linux/drivers/input/
H A Dinput-mt.c8 #include <linux/input/mt.h>
25 * input_mt_init_slots() - initialize MT input slots
26 * @dev: input device supporting MT events and finger tracking
28 * @flags: mt tasks to handle in core
30 * This function allocates all necessary memory for MT slot handling
45 if (dev->mt) in input_mt_init_slots()
46 return dev->mt->num_slots != num_slots ? -EINVAL : 0; in input_mt_init_slots()
52 struct input_mt *mt __free(kfree) = in input_mt_init_slots()
53 kzalloc_flex(*mt, slots, num_slots); in input_mt_init_slots()
54 if (!mt) in input_mt_init_slots()
138 struct input_mt *mt = dev->mt; input_mt_report_slot_state() local
198 struct input_mt *mt = dev->mt; input_mt_report_pointer_emulation() local
265 __input_mt_drop_unused(struct input_dev * dev,struct input_mt * mt) __input_mt_drop_unused() argument
288 struct input_mt *mt = dev->mt; input_mt_drop_unused() local
307 struct input_mt *mt = dev->mt; input_mt_release_slots() local
334 struct input_mt *mt = dev->mt; input_mt_sync_frame() local
402 input_mt_set_matrix(struct input_mt * mt,const struct input_mt_pos * pos,int num_pos,int mu) input_mt_set_matrix() argument
425 input_mt_set_slots(struct input_mt * mt,int * slots,int num_pos) input_mt_set_slots() argument
483 struct input_mt *mt = dev->mt; input_mt_assign_slots() local
516 struct input_mt *mt = dev->mt; input_mt_get_slot_by_key() local
[all...]
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_tc.c68 struct flow_match_ipv4_addrs mt; in vcap_tc_flower_handler_ipv4_usage() local
70 flow_rule_match_ipv4_addrs(st->frule, &mt); in vcap_tc_flower_handler_ipv4_usage()
71 if (mt.mask->src) { in vcap_tc_flower_handler_ipv4_usage()
74 be32_to_cpu(mt.key->src), in vcap_tc_flower_handler_ipv4_usage()
75 be32_to_cpu(mt.mask->src)); in vcap_tc_flower_handler_ipv4_usage()
79 if (mt.mask->dst) { in vcap_tc_flower_handler_ipv4_usage()
82 be32_to_cpu(mt.key->dst), in vcap_tc_flower_handler_ipv4_usage()
83 be32_to_cpu(mt.mask->dst)); in vcap_tc_flower_handler_ipv4_usage()
104 struct flow_match_ipv6_addrs mt; in vcap_tc_flower_handler_ipv6_usage() local
108 flow_rule_match_ipv6_addrs(st->frule, &mt); in vcap_tc_flower_handler_ipv6_usage()
[all …]
/linux/drivers/thermal/mediatek/
H A Dauxadc_thermal.c307 struct mtk_thermal *mt; member
350 int (*raw_to_mcelsius)(struct mtk_thermal *mt, int sensno, s32 raw);
705 * @mt: The thermal controller
712 static int raw_to_mcelsius_v1(struct mtk_thermal *mt, int sensno, s32 raw) in raw_to_mcelsius_v1() argument
719 tmp /= mt->conf->cali_val + mt->o_slope; in raw_to_mcelsius_v1()
720 tmp /= 10000 + mt->adc_ge; in raw_to_mcelsius_v1()
721 tmp *= raw - mt->vts[sensno] - 3350; in raw_to_mcelsius_v1()
724 return mt->degc_cali * 500 - tmp; in raw_to_mcelsius_v1()
727 static int raw_to_mcelsius_v2(struct mtk_thermal *mt, in argument
757 raw_to_mcelsius_v3(struct mtk_thermal * mt,int sensno,s32 raw) raw_to_mcelsius_v3() argument
782 struct mtk_thermal *mt = bank->mt; mtk_thermal_get_bank() local
803 struct mtk_thermal *mt = bank->mt; mtk_thermal_put_bank() local
818 struct mtk_thermal *mt = bank->mt; mtk_thermal_bank_temperature() local
850 struct mtk_thermal *mt = thermal_zone_device_priv(tz); mtk_read_temp() local
873 mtk_thermal_init_bank(struct mtk_thermal * mt,int num,u32 apmixed_phys_base,u32 auxadc_phys_base,int ctrl_id) mtk_thermal_init_bank() argument
992 mtk_thermal_extract_efuse_v1(struct mtk_thermal * mt,u32 * buf) mtk_thermal_extract_efuse_v1() argument
1037 mtk_thermal_extract_efuse_v2(struct mtk_thermal * mt,u32 * buf) mtk_thermal_extract_efuse_v2() argument
1054 mtk_thermal_extract_efuse_v3(struct mtk_thermal * mt,u32 * buf) mtk_thermal_extract_efuse_v3() argument
1074 mtk_thermal_get_calibration_data(struct device * dev,struct mtk_thermal * mt) mtk_thermal_get_calibration_data() argument
1168 mtk_thermal_turn_on_buffer(struct mtk_thermal * mt,void __iomem * apmixed_base) mtk_thermal_turn_on_buffer() argument
1183 mtk_thermal_release_periodic_ts(struct mtk_thermal * mt,void __iomem * auxadc_base) mtk_thermal_release_periodic_ts() argument
1198 struct mtk_thermal *mt; mtk_thermal_probe() local
[all...]
/linux/arch/sh/lib/
H A Dmemcpy-sh4.S31 mov r4,r2 ! 5 MT (0 cycles latency)
41 mov r7, r3 ! 5 MT (latency=0) ! RQPO
43 cmp/hi r2,r0 ! 57 MT
46 mov r1,r6 ! 5 MT (latency=0)
50 mov r1, r7 ! 5 MT (latency=0)
58 mov r7,r3 ! 5 MT (latency=0) ! OPQR
60 cmp/hi r2,r0 ! 57 MT
64 mov r1,r6 ! 5 MT (latency=0)
67 mov r1,r7 ! 5 MT (latency=0)
77 cmp/eq r4,r0 ! 54 MT
[all …]
/linux/include/linux/
H A Dmaple_tree.h166 enum maple_type mt;
173 enum maple_type mt;
229 #define mt_lock_is_held(mt) \
230 (!(mt)->ma_external_lock || lock_is_held((mt)->ma_external_lock))
232 #define mt_write_lock_is_held(mt) \
233 (!(mt)->ma_external_lock || \
234 lock_is_held_type((mt)->ma_external_lock, 0))
236 #define mt_set_external_lock(mt, lock) \
237 (mt)
165 enum maple_type mt; global() member
172 enum maple_type mt; global() member
228 mt_lock_is_held(mt) global() argument
231 mt_write_lock_is_held(mt) global() argument
235 mt_set_external_lock(mt,lock) global() argument
238 mt_on_stack(mt) global() argument
240 mt_lock_is_held(mt) global() argument
241 mt_write_lock_is_held(mt) global() argument
242 mt_set_external_lock(mt,lock) global() argument
243 mt_on_stack(mt) global() argument
302 mtree_lock(mt) global() argument
305 mtree_unlock(mt) global() argument
392 mtree_empty(const struct maple_tree * mt) mtree_empty() argument
530 MA_STATE(name,mt,first,end) global() argument
838 mt_external_lock(const struct maple_tree * mt) mt_external_lock() argument
853 mt_init_flags(struct maple_tree * mt,unsigned int flags) mt_init_flags() argument
869 mt_init(struct maple_tree * mt) mt_init() argument
874 mt_in_rcu(struct maple_tree * mt) mt_in_rcu() argument
883 mt_clear_in_rcu(struct maple_tree * mt) mt_clear_in_rcu() argument
902 mt_set_in_rcu(struct maple_tree * mt) mt_set_in_rcu() argument
917 mt_height(const struct maple_tree * mt) mt_height() argument
[all...]
/linux/drivers/base/regmap/
H A Dregcache-maple.c19 struct maple_tree *mt = map->cache; in regcache_maple_read() local
20 MA_STATE(mas, mt, reg, reg); in regcache_maple_read()
41 struct maple_tree *mt = map->cache; in regcache_maple_write() local
42 MA_STATE(mas, mt, reg, reg); in regcache_maple_write()
110 struct maple_tree *mt = map->cache; in regcache_maple_drop() local
111 MA_STATE(mas, mt, min, max); in regcache_maple_drop()
241 struct maple_tree *mt = map->cache; in regcache_maple_sync() local
243 MA_STATE(mas, mt, min, max); in regcache_maple_sync()
295 struct maple_tree *mt; in regcache_maple_init() local
297 mt in regcache_maple_init()
312 struct maple_tree *mt = map->cache; regcache_maple_exit() local
338 struct maple_tree *mt = map->cache; regcache_maple_insert_block() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmatcher.c472 struct mlx5hws_match_template *mt = matcher->mt; in hws_matcher_create_rtc() local
484 rtc_attr.is_frst_jumbo = mlx5hws_matcher_mt_is_jumbo(mt); in hws_matcher_create_rtc()
493 /* The first mt is used since all share the same definer */ in hws_matcher_create_rtc()
494 rtc_attr.match_definer_0 = mlx5hws_definer_get_id(mt->definer); in hws_matcher_create_rtc()
506 mlx5hws_definer_get_id(mt->definer); in hws_matcher_create_rtc()
631 bool is_jumbo = mlx5hws_matcher_mt_is_jumbo(matcher->mt); in hws_matcher_bind_at()
664 for (i = 0; i < matcher->mt->fc_sz; i++) { in hws_matcher_set_ip_version_match()
665 switch (matcher->mt->fc[i].fname) { in hws_matcher_set_ip_version_match()
693 ret = mlx5hws_definer_mt_init(ctx, matcher->mt); in hws_matcher_bind_mt()
738 mlx5hws_definer_mt_uninit(ctx, matcher->mt); in hws_matcher_bind_mt()
[all …]
H A Ddefiner.c1746 struct mlx5hws_match_template *mt, in hws_definer_conv_match_params_to_hl() argument
1760 if (mt->match_criteria_enable & MLX5HWS_DEFINER_MATCH_CRITERIA_MISC6) { in hws_definer_conv_match_params_to_hl()
1766 if (mt->match_criteria_enable & MLX5HWS_DEFINER_MATCH_CRITERIA_OUTER) { in hws_definer_conv_match_params_to_hl()
1767 ret = hws_definer_conv_outer(&cd, mt->match_param); in hws_definer_conv_match_params_to_hl()
1772 if (mt->match_criteria_enable & MLX5HWS_DEFINER_MATCH_CRITERIA_INNER) { in hws_definer_conv_match_params_to_hl()
1773 ret = hws_definer_conv_inner(&cd, mt->match_param); in hws_definer_conv_match_params_to_hl()
1778 if (mt->match_criteria_enable & MLX5HWS_DEFINER_MATCH_CRITERIA_MISC) { in hws_definer_conv_match_params_to_hl()
1779 ret = hws_definer_conv_misc(&cd, mt->match_param); in hws_definer_conv_match_params_to_hl()
1784 if (mt->match_criteria_enable & MLX5HWS_DEFINER_MATCH_CRITERIA_MISC2) { in hws_definer_conv_match_params_to_hl()
1785 ret = hws_definer_conv_misc2(&cd, mt->match_param); in hws_definer_conv_match_params_to_hl()
[all …]
H A Drule.c55 struct mlx5hws_match_template *mt, in hws_rule_init_dep_wqe() argument
165 struct mlx5hws_match_template *mt = rule->matcher->mt; in hws_rule_save_delete_info() local
166 bool is_jumbo = mlx5hws_matcher_mt_is_jumbo(mt); in hws_rule_save_delete_info()
295 struct mlx5hws_match_template *mt = &rule->matcher->mt[mt_idx]; in hws_rule_create_hws()
296 bool is_jumbo = mlx5hws_matcher_mt_is_jumbo(mt); in hws_rule_create_hws()
325 hws_rule_init_dep_wqe(dep_wqe, rule, mt, attr); in hws_rule_create_hws()
369 mlx5hws_definer_create_tag(match_param, mt->fc, mt in hws_rule_create_hws()
293 struct mlx5hws_match_template *mt = &rule->matcher->mt[mt_idx]; hws_rule_create_hws() local
[all...]
H A Dmatcher.h64 struct mlx5hws_match_template *mt; member
86 mlx5hws_matcher_mt_is_jumbo(struct mlx5hws_match_template *mt) in mlx5hws_matcher_mt_is_jumbo() argument
88 return mlx5hws_definer_is_jumbo(mt->definer); in mlx5hws_matcher_mt_is_jumbo()
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_crtc2.c65 struct my_timming* mt, in matroxfb_dh_restore() argument
105 if (mt->interlaced) { in matroxfb_dh_restore()
107 mt->VDisplay >>= 1; in matroxfb_dh_restore()
108 mt->VSyncStart >>= 1; in matroxfb_dh_restore()
109 mt->VSyncEnd >>= 1; in matroxfb_dh_restore()
110 mt->VTotal >>= 1; in matroxfb_dh_restore()
112 if ((mt->HTotal & 7) == 2) { in matroxfb_dh_restore()
114 mt->HTotal &= ~7; in matroxfb_dh_restore()
117 mga_outl(0x3C14, ((mt->HDisplay - 8) << 16) | (mt->HTotal - 8)); in matroxfb_dh_restore()
118 mga_outl(0x3C18, ((mt->HSyncEnd - 8) << 16) | (mt->HSyncStart - 8)); in matroxfb_dh_restore()
[all …]
/linux/include/trace/events/
H A Dpage_ref.h25 __field(int, mt)
35 __entry->mt = get_pageblock_migratetype(page);
39 TP_printk("pfn=0x%lx flags=%s count=%d mapcount=%d mapping=%p mt=%d val=%d",
43 __entry->mapcount, __entry->mapping, __entry->mt,
73 __field(int, mt)
84 __entry->mt = get_pageblock_migratetype(page);
89 TP_printk("pfn=0x%lx flags=%s count=%d mapcount=%d mapping=%p mt=%d val=%d ret=%d",
93 __entry->mapcount, __entry->mapping, __entry->mt,
/linux/scripts/gdb/linux/
H A Dmapletree.py35 def __init__(self, mt, first, end): argument
36 if mt.type == maple_tree_root_type.get_type().pointer():
37 self.tree = mt.dereference()
38 elif mt.type != maple_tree_root_type.get_type():
40 .format(maple_tree_root_type.get_type().pointer(), mt.type))
41 self.tree = mt
194 def mt_slot(mt, slots, offset): argument
227 def mtree_load(mt, index): argument
230 mas = Mas(mt, index, index)
/linux/tools/testing/radix-tree/
H A Dmaple.c24 #define RCU_MT_BUG_ON(test, y) {if (y) { test->stop = true; } MT_BUG_ON(test->mt, y); }
27 struct maple_tree *mt; member
45 struct maple_tree *mt; member
64 static noinline void __init check_erase(struct maple_tree *mt, unsigned long index, in check_erase() argument
67 MT_BUG_ON(mt, mtree_test_erase(mt, index) != ptr); in check_erase()
70 #define erase_check_load(mt, i) check_load(mt, set[i], entry[i%2]) argument
71 #define erase_check_insert(mt, i) check_insert(mt, se argument
72 erase_check_erase(mt,i) global() argument
74 check_erase_testset(struct maple_tree * mt) check_erase_testset() argument
331 erase_check_store_range(mt,a,i,ptr) global() argument
581 check_erase2_testset(struct maple_tree * mt,const unsigned long * set,unsigned long size) check_erase2_testset() argument
726 check_erase2_sets(struct maple_tree * mt) check_erase2_sets() argument
34213 rcu_stress_rev(struct maple_tree * mt,struct rcu_test_struct2 * test,int count,struct rcu_reader_struct * test_reader) rcu_stress_rev() argument
34272 rcu_stress_fwd(struct maple_tree * mt,struct rcu_test_struct2 * test,int count,struct rcu_reader_struct * test_reader) rcu_stress_fwd() argument
34340 rcu_stress(struct maple_tree * mt,bool forward) rcu_stress() argument
34418 struct maple_tree *mt; /* the maple tree */ global() member
34563 run_check_rcu(struct maple_tree * mt,struct rcu_test_struct * vals) run_check_rcu() argument
34615 run_check_rcu_slot_store(struct maple_tree * mt) run_check_rcu_slot_store() argument
34660 run_check_rcu_slowread(struct maple_tree * mt,struct rcu_test_struct * vals) run_check_rcu_slowread() argument
34702 check_rcu_simulated(struct maple_tree * mt) check_rcu_simulated() argument
34863 check_rcu_threaded(struct maple_tree * mt) check_rcu_threaded() argument
35013 check_dfs_preorder(struct maple_tree * mt) check_dfs_preorder() argument
35130 check_prealloc(struct maple_tree * mt) check_prealloc() argument
35280 check_spanning_write(struct maple_tree * mt) check_spanning_write() argument
35583 check_null_expand(struct maple_tree * mt) check_null_expand() argument
35644 check_nomem(struct maple_tree * mt) check_nomem() argument
35680 check_locky(struct maple_tree * mt) check_locky() argument
35849 build_full_tree(struct maple_tree * mt,unsigned int flags,int height) build_full_tree() argument
35902 check_erase_rebalance(struct maple_tree * mt) check_erase_rebalance() argument
36023 check_mtree_dup(struct maple_tree * mt) check_mtree_dup() argument
36175 check_spanning_store_height(struct maple_tree * mt) check_spanning_store_height() argument
36200 check_collapsing_rebalance(struct maple_tree * mt) check_collapsing_rebalance() argument
36222 struct maple_tree *mt = (struct maple_tree *)maple_tree; writer2() local
36240 check_nomem_writer_race(struct maple_tree * mt) check_nomem_writer_race() argument
36288 check_vma_modification(struct maple_tree * mt) check_vma_modification() argument
36419 enum maple_type mt = mte_node_type(mas->node); get_last_index() local
[all...]
/linux/Documentation/devicetree/bindings/clock/
H A Dmediatek,infracfg.yaml14 to the system. The clock values can be found in <dt-bindings/clock/mt*-clk.h>
15 and <dt-bindings/clock/mediatek,mt*-infracfg.h>, and reset values in
16 <dt-bindings/reset/mt*-reset.h>, <dt-bindings/reset/mt*-resets.h> and
17 <dt-bindings/reset/mediatek,mt*-infracfg.h>.
/linux/mm/
H A Dpage_reporting.c127 int mt = get_pageblock_migratetype(page); in page_reporting_drain() local
130 __putback_isolated_page(page, order, mt); in page_reporting_drain()
158 unsigned int order, unsigned int mt, in page_reporting_cycle() argument
162 struct list_head *list = &area->free_list[mt]; in page_reporting_cycle()
271 unsigned int order, mt, leftover, offset = prdev->capacity; in page_reporting_process_zone() local
286 /* Process each free list starting from lowest order/mt */ in page_reporting_process_zone()
288 for (mt = 0; mt < MIGRATE_TYPES; mt++) { in page_reporting_process_zone()
290 if (is_migrate_isolate(mt)) in page_reporting_process_zone()
293 err = page_reporting_cycle(prdev, zone, order, mt, in page_reporting_process_zone()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_rogue_cr_defs_client.h64 * X1 MacroTile boundary, left tile X for second column of macrotiles (16MT mode) - 32 pixels across
70 * X2 MacroTile boundary, left tile X for third(16MT) column of macrotiles - 32 pixels across tile
75 * X3 MacroTile boundary, left tile X for fourth column of macrotiles (16MT) - 32 pixels across tile
85 * X1 MacroTile boundary, ltop tile Y for second column of macrotiles (16MT mode) - 32 pixels tile
91 * X2 MacroTile boundary, top tile Y for third(16MT) column of macrotiles - 32 pixels tile height
96 * X3 MacroTile boundary, top tile Y for fourth column of macrotiles (16MT) - 32 pixels tile height
/linux/net/netfilter/
H A Dnft_set_pipapo.c353 * @mt: Mapping table containing bit set specifiers
366 const union nft_pipapo_map_bucket *mt, bool match_only) in pipapo_refill() argument
391 bitmap_set(dst, mt[i].to, mt[i].n); in pipapo_refill()
465 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt, in pipapo_get_slow()
478 e = f->mt[b].e; in pipapo_get_slow()
624 union nft_pipapo_map_bucket *new_mt = NULL, *old_mt = f->mt; in pipapo_realloc_mt()
668 f->mt = new_mt; in pipapo_realloc_mt()
729 goto mt; in pipapo_resize()
760 mt in pipapo_resize()
1605 pipapo_unmap(union nft_pipapo_map_bucket * mt,unsigned int rules,unsigned int start,unsigned int n,unsigned int to_offset,bool is_last) global() argument
[all...]
/linux/arch/mips/kernel/
H A DMakefile58 obj-$(CONFIG_MIPS_MT) += mips-mt.o
59 obj-$(CONFIG_MIPS_MT_FPAFF) += mips-mt-fpaff.o
60 obj-$(CONFIG_MIPS_MT_SMP) += smp-mt.o
66 obj-$(CONFIG_MIPS_VPE_LOADER_MT) += vpe-mt.o
68 obj-$(CONFIG_MIPS_VPE_APSP_API_MT) += rtlx-mt.o
/linux/drivers/slimbus/
H A Dslimbus.h25 * BYTE 0: MT[7:5] RL[4:0]
115 * @mt: Header field. Message type.
116 * @mc: Header field. LSB is message code for type mt.
129 u8 mt; member
448 static inline bool slim_tid_txn(u8 mt, u8 mc) in slim_ec_txn()
450 return (mt == SLIM_MSG_MT_CORE && in slim_ec_txn()
457 static inline bool slim_ec_txn(u8 mt, u8 mc)
459 return (mt == SLIM_MSG_MT_CORE &&
436 slim_tid_txn(u8 mt,u8 mc) slim_tid_txn() argument
445 slim_ec_txn(u8 mt,u8 mc) slim_ec_txn() argument
/linux/rust/helpers/
H A Dmaple_tree.c5 __rust_helper void rust_helper_mt_init_flags(struct maple_tree *mt, in rust_helper_mt_init_flags() argument
8 mt_init_flags(mt, flags); in rust_helper_mt_init_flags()
/linux/Documentation/input/
H A Dmulti-touch-protocol.rst4 Multi-touch (MT) Protocol
16 document describes the multi-touch (MT) protocol which allows kernel
26 MT protocol type A is obsolete, all kernel drivers have been
35 applications, the MT protocol can be implemented on top of the ST protocol
72 end. Upon receiving an MT event, one simply updates the appropriate
194 Linux MT Win8
343 better to the MT protocol than others. To simplify and unify the mapping,

12345678910