Home
last modified time | relevance | path

Searched refs:enable_fd (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/user_events/
Dftrace_test.c205 int enable_fd; in FIXTURE() local
219 self->enable_fd = -1; in FIXTURE_SETUP()
228 if (self->enable_fd != -1) { in FIXTURE_TEARDOWN()
229 write(self->enable_fd, "0", sizeof("0")); in FIXTURE_TEARDOWN()
230 close(self->enable_fd); in FIXTURE_TEARDOWN()
277 self->enable_fd = open(enable_file, O_RDWR); in TEST_F()
278 ASSERT_NE(-1, self->enable_fd); in TEST_F()
279 ASSERT_NE(-1, write(self->enable_fd, "0", sizeof("0"))) in TEST_F()
282 ASSERT_NE(-1, write(self->enable_fd, "1", sizeof("1"))) in TEST_F()
286 ASSERT_NE(-1, write(self->enable_fd, "0", sizeof("0"))) in TEST_F()
[all …]
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h748 void (*enable_fd)(struct hnae3_handle *handle, bool enable); member
Dhns3_enet.c2435 if ((changed & NETIF_F_NTUPLE) && h->ae_algo->ops->enable_fd) { in hns3_nic_set_features()
2437 h->ae_algo->ops->enable_fd(h, enable); in hns3_nic_set_features()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c12848 .enable_fd = hclge_enable_fd,