Lines Matching refs:link_fd
11 int link_fd; in test_add() local
13 link_fd = atomics__add__attach(skel); in test_add()
14 if (!ASSERT_GT(link_fd, 0, "attach(add)")) in test_add()
36 close(link_fd); in test_add()
43 int link_fd; in test_sub() local
45 link_fd = atomics__sub__attach(skel); in test_sub()
46 if (!ASSERT_GT(link_fd, 0, "attach(sub)")) in test_sub()
69 close(link_fd); in test_sub()
76 int link_fd; in test_and() local
78 link_fd = atomics__and__attach(skel); in test_and()
79 if (!ASSERT_GT(link_fd, 0, "attach(and)")) in test_and()
97 close(link_fd); in test_and()
104 int link_fd; in test_or() local
106 link_fd = atomics__or__attach(skel); in test_or()
107 if (!ASSERT_GT(link_fd, 0, "attach(or)")) in test_or()
126 close(link_fd); in test_or()
133 int link_fd; in test_xor() local
135 link_fd = atomics__xor__attach(skel); in test_xor()
136 if (!ASSERT_GT(link_fd, 0, "attach(xor)")) in test_xor()
154 close(link_fd); in test_xor()
161 int link_fd; in test_cmpxchg() local
163 link_fd = atomics__cmpxchg__attach(skel); in test_cmpxchg()
164 if (!ASSERT_GT(link_fd, 0, "attach(cmpxchg)")) in test_cmpxchg()
183 close(link_fd); in test_cmpxchg()
190 int link_fd; in test_xchg() local
192 link_fd = atomics__xchg__attach(skel); in test_xchg()
193 if (!ASSERT_GT(link_fd, 0, "attach(xchg)")) in test_xchg()
210 close(link_fd); in test_xchg()