Symbol: epoll_params
fs/eventpoll.c
511
struct epoll_params epoll_params;
fs/eventpoll.c
515
if (copy_from_user(&epoll_params, uarg, sizeof(epoll_params)))
fs/eventpoll.c
519
if (epoll_params.__pad)
fs/eventpoll.c
522
if (epoll_params.busy_poll_usecs > S32_MAX)
fs/eventpoll.c
525
if (epoll_params.prefer_busy_poll > 1)
fs/eventpoll.c
528
if (epoll_params.busy_poll_budget > NAPI_POLL_WEIGHT &&
fs/eventpoll.c
532
WRITE_ONCE(ep->busy_poll_usecs, epoll_params.busy_poll_usecs);
fs/eventpoll.c
533
WRITE_ONCE(ep->busy_poll_budget, epoll_params.busy_poll_budget);
fs/eventpoll.c
534
WRITE_ONCE(ep->prefer_busy_poll, epoll_params.prefer_busy_poll);
fs/eventpoll.c
537
memset(&epoll_params, 0, sizeof(epoll_params));
fs/eventpoll.c
538
epoll_params.busy_poll_usecs = READ_ONCE(ep->busy_poll_usecs);
fs/eventpoll.c
539
epoll_params.busy_poll_budget = READ_ONCE(ep->busy_poll_budget);
fs/eventpoll.c
540
epoll_params.prefer_busy_poll = READ_ONCE(ep->prefer_busy_poll);
fs/eventpoll.c
541
if (copy_to_user(uarg, &epoll_params, sizeof(epoll_params)))
include/uapi/linux/eventpoll.h
98
#define EPIOCSPARAMS _IOW(EPOLL_IOC_TYPE, 0x01, struct epoll_params)
include/uapi/linux/eventpoll.h
99
#define EPIOCGPARAMS _IOR(EPOLL_IOC_TYPE, 0x02, struct epoll_params)
tools/testing/selftests/net/busy_poller.c
272
struct epoll_params epoll_params = {0};
tools/testing/selftests/net/busy_poller.c
297
epoll_params.busy_poll_usecs = cfg_busy_poll_usecs;
tools/testing/selftests/net/busy_poller.c
298
epoll_params.busy_poll_budget = cfg_busy_poll_budget;
tools/testing/selftests/net/busy_poller.c
299
epoll_params.prefer_busy_poll = cfg_prefer_busy_poll;
tools/testing/selftests/net/busy_poller.c
300
epoll_params.__pad = 0;
tools/testing/selftests/net/busy_poller.c
316
if (ioctl(epfd, EPIOCSPARAMS, &epoll_params) == -1)
tools/testing/selftests/net/busy_poller.c
53
#define EPIOCSPARAMS _IOW(EPOLL_IOC_TYPE, 0x01, struct epoll_params)
tools/testing/selftests/net/busy_poller.c
54
#define EPIOCGPARAMS _IOR(EPOLL_IOC_TYPE, 0x02, struct epoll_params)
tools/testing/selftests/net/epoll_busy_poll.c
156
self->invalid_params = (struct epoll_params *)0xdeadbeef;
tools/testing/selftests/net/epoll_busy_poll.c
170
memset(&self->params, 0, sizeof(struct epoll_params));
tools/testing/selftests/net/epoll_busy_poll.c
259
self->invalid_params = (struct epoll_params *)0xdeadbeef;
tools/testing/selftests/net/epoll_busy_poll.c
273
memset(&self->params, 0, sizeof(struct epoll_params));
tools/testing/selftests/net/epoll_busy_poll.c
286
memset(&self->params, 0, sizeof(struct epoll_params));
tools/testing/selftests/net/epoll_busy_poll.c
40
#define EPIOCSPARAMS _IOW(EPOLL_IOC_TYPE, 0x01, struct epoll_params)
tools/testing/selftests/net/epoll_busy_poll.c
41
#define EPIOCGPARAMS _IOR(EPOLL_IOC_TYPE, 0x02, struct epoll_params)
tools/testing/selftests/net/epoll_busy_poll.c
47
struct epoll_params params;
tools/testing/selftests/net/epoll_busy_poll.c
81
memset(&self->params, 0, sizeof(struct epoll_params));
tools/testing/selftests/net/epoll_busy_poll.c
95
struct epoll_params params;
tools/testing/selftests/net/epoll_busy_poll.c
96
struct epoll_params *invalid_params;