Searched refs:epoll_params (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/net/ |
| A D | epoll_busy_poll.c | 30 struct epoll_params { struct 40 #define EPIOCSPARAMS _IOW(EPOLL_IOC_TYPE, 0x01, struct epoll_params) argument 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() 273 memset(&self->params, 0, sizeof(struct epoll_params)); in TEST_F() [all …]
|
| /linux/include/uapi/linux/ |
| A D | eventpoll.h | 88 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/ |
| A D | eventpoll.c | 503 struct epoll_params epoll_params; in ep_eventpoll_bp_ioctl() local 507 if (copy_from_user(&epoll_params, uarg, sizeof(epoll_params))) in ep_eventpoll_bp_ioctl() 511 if (epoll_params.__pad) in ep_eventpoll_bp_ioctl() 514 if (epoll_params.busy_poll_usecs > S32_MAX) in ep_eventpoll_bp_ioctl() 517 if (epoll_params.prefer_busy_poll > 1) in ep_eventpoll_bp_ioctl() 520 if (epoll_params.busy_poll_budget > NAPI_POLL_WEIGHT && in ep_eventpoll_bp_ioctl() 524 WRITE_ONCE(ep->busy_poll_usecs, epoll_params.busy_poll_usecs); in ep_eventpoll_bp_ioctl() 525 WRITE_ONCE(ep->busy_poll_budget, epoll_params.busy_poll_budget); in ep_eventpoll_bp_ioctl() 529 memset(&epoll_params, 0, sizeof(epoll_params)); in ep_eventpoll_bp_ioctl() 530 epoll_params.busy_poll_usecs = READ_ONCE(ep->busy_poll_usecs); in ep_eventpoll_bp_ioctl() [all …]
|
Completed in 14 milliseconds