Home
last modified time | relevance | path

Searched +defs:node +defs:test (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
Ddrm_mm_test.c46 static bool assert_no_holes(struct kunit *test, const struct drm_mm *mm) in assert_no_holes()
71 static bool assert_one_hole(struct kunit *test, const struct drm_mm *mm, u64 start, u64 end) in assert_one_hole()
100 static bool assert_continuous(struct kunit *test, const struct drm_mm *mm, u64 size) in assert_continuous()
102 struct drm_mm_node *node, *check, *found; in assert_continuous() local
151 static u64 misalignment(struct drm_mm_node *node, u64 alignment) in misalignment()
162 static bool assert_node(struct kunit *test, struct drm_mm_node *node, struct drm_mm *mm, in assert_node()
194 static void drm_test_mm_init(struct kunit *test) in drm_test_mm_init()
248 static void drm_test_mm_debug(struct kunit *test) in drm_test_mm_debug()
273 static struct drm_mm_node *set_node(struct drm_mm_node *node, in set_node()
281 static bool expect_reserve_fail(struct kunit *test, struct drm_mm *mm, struct drm_mm_node *node) in expect_reserve_fail()
[all …]
/kernel/linux/linux-5.10/drivers/base/test/
Dproperty-entry-test.c10 static void pe_test_uints(struct kunit *test) in pe_test_uints()
20 struct fwnode_handle *node; in pe_test_uints() local
101 static void pe_test_uint_arrays(struct kunit *test) in pe_test_uint_arrays()
115 struct fwnode_handle *node; in pe_test_uint_arrays() local
216 static void pe_test_strings(struct kunit *test) in pe_test_strings()
230 struct fwnode_handle *node; in pe_test_strings() local
282 static void pe_test_bool(struct kunit *test) in pe_test_bool()
289 struct fwnode_handle *node; in pe_test_bool() local
301 static void pe_test_move_inline_u8(struct kunit *test) in pe_test_move_inline_u8()
331 static void pe_test_move_inline_str(struct kunit *test) in pe_test_move_inline_str()
[all …]
/kernel/linux/linux-6.6/drivers/base/test/
Dproperty-entry-test.c10 static void pe_test_uints(struct kunit *test) in pe_test_uints()
20 struct fwnode_handle *node; in pe_test_uints() local
117 static void pe_test_uint_arrays(struct kunit *test) in pe_test_uint_arrays()
131 struct fwnode_handle *node; in pe_test_uint_arrays() local
252 static void pe_test_strings(struct kunit *test) in pe_test_strings()
266 struct fwnode_handle *node; in pe_test_strings() local
324 static void pe_test_bool(struct kunit *test) in pe_test_bool()
331 struct fwnode_handle *node; in pe_test_bool() local
343 static void pe_test_move_inline_u8(struct kunit *test) in pe_test_move_inline_u8()
373 static void pe_test_move_inline_str(struct kunit *test) in pe_test_move_inline_str()
[all …]
/kernel/linux/linux-6.6/lib/
Dhashtable_test.c15 struct hlist_node node; member
19 static void hashtable_test_hash_init(struct kunit *test) in hashtable_test_hash_init()
34 static void hashtable_test_hash_empty(struct kunit *test) in hashtable_test_hash_empty()
49 static void hashtable_test_hash_hashed(struct kunit *test) in hashtable_test_hash_hashed()
65 static void hashtable_test_hash_add(struct kunit *test) in hashtable_test_hash_add()
95 static void hashtable_test_hash_del(struct kunit *test) in hashtable_test_hash_del()
123 static void hashtable_test_hash_for_each(struct kunit *test) in hashtable_test_hash_for_each()
152 static void hashtable_test_hash_for_each_safe(struct kunit *test) in hashtable_test_hash_for_each_safe()
185 static void hashtable_test_hash_for_each_possible(struct kunit *test) in hashtable_test_hash_for_each_possible()
239 static void hashtable_test_hash_for_each_possible_safe(struct kunit *test) in hashtable_test_hash_for_each_possible_safe()
Dtest_printf.c146 #define test(expect, fmt, ...) \ macro
607 page_flags_test(int section, int node, int zone, int last_cpupid, in page_flags_test()
/kernel/linux/linux-6.6/include/kunit/
Dresource.h90 struct list_head node; member
169 static inline int kunit_add_resource(struct kunit *test, in kunit_add_resource()
191 static inline int kunit_add_named_resource(struct kunit *test, in kunit_add_named_resource()
237 kunit_alloc_and_get_resource(struct kunit *test, in kunit_alloc_and_get_resource()
280 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource()
309 static inline bool kunit_resource_name_match(struct kunit *test, in kunit_resource_name_match()
323 kunit_find_resource(struct kunit *test, in kunit_find_resource()
351 kunit_find_named_resource(struct kunit *test, in kunit_find_named_resource()
371 static inline int kunit_destroy_named_resource(struct kunit *test, in kunit_destroy_named_resource()
/kernel/linux/linux-5.10/lib/kunit/
Dstring-stream.h17 struct kunit *test; member
18 struct list_head node; member
27 struct kunit *test; member
/kernel/linux/linux-6.6/scripts/gcc-plugins/
Dgcc-common.h108 #define DECL_NAME_POINTER(node) IDENTIFIER_POINTER(DECL_NAME(node)) argument
109 #define DECL_NAME_LENGTH(node) IDENTIFIER_LENGTH(DECL_NAME(node)) argument
110 #define TYPE_NAME_POINTER(node) IDENTIFIER_POINTER(TYPE_NAME(node)) argument
111 #define TYPE_NAME_LENGTH(node) IDENTIFIER_LENGTH(TYPE_NAME(node)) argument
141 #define varpool_mark_needed_node(node) argument
147 #define NODE_SYMBOL(node) (node) argument
148 #define NODE_DECL(node) (node)->decl argument
149 #define cgraph_node_name(node) (node)->name() argument
150 #define NODE_IMPLICIT_ALIAS(node) (node)->cpp_implicit_alias argument
161 inline bool is_a_helper<const gassign *>::test(const_gimple gs) in test() function
[all …]
/kernel/linux/linux-6.6/tools/testing/radix-tree/
Dmaple.c29 #define RCU_MT_BUG_ON(test, y) {if (y) { test->stop = true; } MT_BUG_ON(test->mt, y); } argument
62 struct rcu_test_struct2 *test; member
68 struct maple_alloc *node = mas->alloc; in get_alloc_node_count() local
816 static inline void mas_node_walk(struct ma_state *mas, struct maple_node *node, in mas_node_walk()
892 struct maple_node *node; in mas_descend_walk() local
34321 static void rcu_reader_register(struct rcu_test_struct2 *test) in rcu_reader_register()
34331 unsigned int id, struct rcu_test_struct2 *test) in rcu_reader_setup()
34346 struct rcu_test_struct2 *test = reader->test; in rcu_reader_fwd() local
34456 struct rcu_test_struct2 *test = reader->test; in rcu_reader_rev() local
34586 static void rcu_stress_rev(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_rev()
[all …]
/kernel/linux/linux-6.6/lib/kunit/
Dstring-stream.h17 struct list_head node; member
26 struct kunit *test; member
/kernel/linux/linux-5.10/include/kunit/
Dtest.h89 struct list_head node; member
228 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure()
425 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource()
456 static inline bool kunit_resource_instance_match(struct kunit *test, in kunit_resource_instance_match()
469 static inline bool kunit_resource_name_match(struct kunit *test, in kunit_resource_name_match()
483 kunit_find_resource(struct kunit *test, in kunit_find_resource()
510 kunit_find_named_resource(struct kunit *test, in kunit_find_named_resource()
530 static inline int kunit_destroy_named_resource(struct kunit *test, in kunit_destroy_named_resource()
576 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc()
596 #define kunit_printk(lvl, test, fmt, ...) \ argument
[all …]
/kernel/linux/linux-5.10/scripts/gcc-plugins/
Dgcc-common.h165 #define DECL_NAME_POINTER(node) IDENTIFIER_POINTER(DECL_NAME(node)) argument
166 #define DECL_NAME_LENGTH(node) IDENTIFIER_LENGTH(DECL_NAME(node)) argument
167 #define TYPE_NAME_POINTER(node) IDENTIFIER_POINTER(TYPE_NAME(node)) argument
168 #define TYPE_NAME_LENGTH(node) IDENTIFIER_LENGTH(TYPE_NAME(node)) argument
315 struct cgraph_node *node = cgraph_get_node(decl); in cgraph_get_create_node() local
320 static inline bool cgraph_function_with_gimple_body_p(struct cgraph_node *node) in cgraph_function_with_gimple_body_p()
327 struct cgraph_node *node; in cgraph_first_function_with_gimple_body() local
335 static inline struct cgraph_node *cgraph_next_function_with_gimple_body(struct cgraph_node *node) in cgraph_next_function_with_gimple_body()
343 static inline bool cgraph_for_node_and_aliases(cgraph_node_ptr node, bool (*callback)(cgraph_node_p… in cgraph_for_node_and_aliases() argument
359 #define FOR_EACH_FUNCTION_WITH_GIMPLE_BODY(node) \ argument
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dreuseport_bpf_numa.c194 static void test(int *rcv_fd, int len, int family, int proto) in test() function
197 int epfd, node; in test() local
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dreuseport_bpf_numa.c194 static void test(int *rcv_fd, int len, int family, int proto) in test() function
197 int epfd, node; in test() local
/kernel/linux/linux-5.10/drivers/net/wireguard/selftest/
Dallowedips.c22 static __init void print_node(struct allowedips_node *node, u8 bits) in print_node()
97 struct horrible_allowedips_node *node; in horrible_allowedips_free() local
125 horrible_mask_self(struct horrible_allowedips_node *node) in horrible_mask_self()
138 horrible_match_v4(const struct horrible_allowedips_node *node, struct in_addr *ip) in horrible_match_v4()
144 horrible_match_v6(const struct horrible_allowedips_node *node, struct in6_addr *ip) in horrible_match_v6()
153 horrible_insert_ordered(struct horrible_allowedips *table, struct horrible_allowedips_node *node) in horrible_insert_ordered()
184 struct horrible_allowedips_node *node = kzalloc(sizeof(*node), GFP_KERNEL); in horrible_allowedips_insert_v4() local
201 struct horrible_allowedips_node *node = kzalloc(sizeof(*node), GFP_KERNEL); in horrible_allowedips_insert_v6() local
217 struct horrible_allowedips_node *node; in horrible_allowedips_lookup_v4() local
229 struct horrible_allowedips_node *node; in horrible_allowedips_lookup_v6() local
[all …]
/kernel/linux/linux-6.6/drivers/net/wireguard/selftest/
Dallowedips.c22 static __init void print_node(struct allowedips_node *node, u8 bits) in print_node()
97 struct horrible_allowedips_node *node; in horrible_allowedips_free() local
125 horrible_mask_self(struct horrible_allowedips_node *node) in horrible_mask_self()
138 horrible_match_v4(const struct horrible_allowedips_node *node, struct in_addr *ip) in horrible_match_v4()
144 horrible_match_v6(const struct horrible_allowedips_node *node, struct in6_addr *ip) in horrible_match_v6()
153 horrible_insert_ordered(struct horrible_allowedips *table, struct horrible_allowedips_node *node) in horrible_insert_ordered()
184 struct horrible_allowedips_node *node = kzalloc(sizeof(*node), GFP_KERNEL); in horrible_allowedips_insert_v4() local
201 struct horrible_allowedips_node *node = kzalloc(sizeof(*node), GFP_KERNEL); in horrible_allowedips_insert_v6() local
217 struct horrible_allowedips_node *node; in horrible_allowedips_lookup_v4() local
229 struct horrible_allowedips_node *node; in horrible_allowedips_lookup_v6() local
[all …]
/kernel/linux/linux-5.10/fs/btrfs/tests/
Dextent-map-tests.c16 struct rb_node *node; in free_extent_map_tree() local
457 struct rmap_test_vector *test) in test_rmap_block()
/kernel/linux/linux-6.6/crypto/
Dapi.c239 u32 test = 0; in crypto_alg_lookup() local
485 const struct crypto_type *frontend, int node, in crypto_alloc_tfmmem()
510 int node) in crypto_create_tfm_node()
609 int node) in crypto_alloc_tfm_node()
/kernel/linux/linux-5.10/fs/btrfs/
Dordered-data.c33 struct rb_node *node) in tree_insert()
65 struct rb_node *test; in __tree_search() local
170 struct rb_node *node; in __btrfs_add_ordered_extent() local
317 struct rb_node *node; in btrfs_dec_test_first_ordered_pending() local
386 struct rb_node *node; in btrfs_dec_test_ordered_pending() local
472 struct rb_node *node; in btrfs_remove_ordered_extent() local
746 struct rb_node *node; in btrfs_lookup_ordered_extent() local
772 struct rb_node *node; in btrfs_lookup_ordered_range() local
841 struct rb_node *node; in btrfs_lookup_first_ordered_extent() local
/kernel/linux/linux-5.10/crypto/
Dapi.c197 u32 test = 0; in crypto_alg_lookup() local
438 int node) in crypto_create_tfm_node()
519 int node) in crypto_alloc_tfm_node()
/kernel/linux/linux-6.6/fs/btrfs/
Dordered-data.c37 struct rb_node *node) in tree_insert()
69 struct rb_node *test; in __tree_search() local
215 struct rb_node *node; in insert_ordered_extent() local
409 struct rb_node *node; in btrfs_mark_ordered_io_finished() local
502 struct rb_node *node; in btrfs_dec_test_ordered_pending() local
585 struct rb_node *node; in btrfs_remove_ordered_extent() local
882 struct rb_node *node; in btrfs_lookup_ordered_extent() local
911 struct rb_node *node; in btrfs_lookup_ordered_range() local
983 struct rb_node *node; in btrfs_lookup_first_ordered_extent() local
1013 struct rb_node *node; in btrfs_lookup_first_ordered_range() local
[all …]
/kernel/linux/linux-6.6/fs/btrfs/tests/
Dextent-map-tests.c17 struct rb_node *node; in free_extent_map_tree() local
860 struct rmap_test_vector *test) in test_rmap_block()
/kernel/linux/linux-5.10/drivers/ptp/
Dptp_ines.c121 u32 test; member
170 struct device_node *node; member
199 struct device_node *node = device->of_node; in ines_clock_init() local
241 static struct ines_port *ines_find_port(struct device_node *node, u32 index) in ines_find_port()
713 struct device_node *node = device->of_node; in ines_ptp_probe_channel() local
/kernel/linux/linux-6.6/drivers/ptp/
Dptp_ines.c116 u32 test; member
165 struct device_node *node; member
194 struct device_node *node = device->of_node; in ines_clock_init() local
236 static struct ines_port *ines_find_port(struct device_node *node, u32 index) in ines_find_port()
704 struct device_node *node = device->of_node; in ines_ptp_probe_channel() local
/kernel/linux/linux-6.6/drivers/pcmcia/
Dds.c81 struct list_head node; member
1001 #define pcmcia_device_attr(field, test, format) \ argument

12