Lines Matching defs:path
10 static int test(const char *path, bool alloc_name, bool kmod,
18 !__kmod_path__parse(&m, path, alloc_name));
21 path, alloc_name, m.kmod, m.comp, m.name);
35 static int test_is_kernel_module(const char *path, int cpumode, bool expect)
38 (!!is_kernel_module(path, cpumode)) == (!!expect));
40 path, cpumode, expect ? "true" : "false");
44 #define T(path, an, k, c, n) \
45 TEST_ASSERT_VAL("failed", !test(path, an, k, c, n))
47 #define M(path, c, e) \
48 TEST_ASSERT_VAL("failed", !test_is_kernel_module(path, c, e))
52 /* path alloc_name kmod comp name */
62 /* path alloc_name kmod comp name */
71 /* path alloc_name kmod comp name */
80 /* path alloc_name kmod comp name */
89 /* path alloc_name kmod comp name */
99 /* path alloc_name kmod comp name */
108 /* path alloc_name kmod comp name */
117 /* path alloc_name kmod comp name */
142 /* path alloc_name kmod comp name */
151 /* path alloc_name kmod comp name */