Home
last modified time | relevance | path

Searched refs:epoll_params (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/net/
H A Depoll_busy_poll.c30 struct epoll_params { struct
40 #define EPIOCSPARAMS _IOW(EPOLL_IOC_TYPE, 0x01, struct epoll_params) argument
41 #define EPIOCGPARAMS _IOR(EPOLL_IOC_TYPE, 0x02, struct epoll_params)
47 struct epoll_params params; in FIXTURE()
81 memset(&self->params, 0, sizeof(struct epoll_params)); in TEST_F()
95 struct epoll_params params; in FIXTURE()
96 struct epoll_params *invalid_params; in FIXTURE()
156 self->invalid_params = (struct epoll_params *)0xdeadbeef; in TEST_F()
170 memset(&self->params, 0, sizeof(struct epoll_params)); in TEST_F()
259 self->invalid_params = (struct epoll_params *)0xdeadbeef; in TEST_F()
[all …]
/linux/include/uapi/linux/
H A Deventpoll.h88 struct epoll_params { struct
98 #define EPIOCSPARAMS _IOW(EPOLL_IOC_TYPE, 0x01, struct epoll_params) argument
99 #define EPIOCGPARAMS _IOR(EPOLL_IOC_TYPE, 0x02, struct epoll_params)
/linux/fs/
H A Deventpoll.c719 struct epoll_params epoll_params; in ep_pm_stay_awake_rcu()
723 if (copy_from_user(&epoll_params, uarg, sizeof(epoll_params)))
727 if (epoll_params.__pad) in ep_start_scan()
730 if (epoll_params.busy_poll_usecs > S32_MAX) in ep_start_scan()
733 if (epoll_params.prefer_busy_poll > 1) in ep_start_scan()
736 if (epoll_params.busy_poll_budget > NAPI_POLL_WEIGHT && in ep_start_scan()
740 WRITE_ONCE(ep->busy_poll_usecs, epoll_params.busy_poll_usecs); in ep_start_scan()
741 WRITE_ONCE(ep->busy_poll_budget, epoll_params in ep_start_scan()
501 struct epoll_params epoll_params; ep_eventpoll_bp_ioctl() local
[all...]