Searched refs:prefer_busy_poll (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/net/ |
H A D | epoll_busy_poll.c | 33 uint8_t prefer_busy_poll; member 137 self->params.prefer_busy_poll = 1; in TEST_F() 150 EXPECT_EQ(0, self->params.prefer_busy_poll) in TEST_F() 195 self->params.prefer_busy_poll = 2; in TEST_F() 207 self->params.prefer_busy_poll = 1; in TEST_F() 277 self->params.prefer_busy_poll = 1; in TEST_F() 299 EXPECT_EQ(1, self->params.prefer_busy_poll) in TEST_F()
|
/linux/include/net/ |
H A D | busy_poll.h | 49 void *loop_end_arg, bool prefer_busy_poll, u16 budget); 53 void *loop_end_arg, bool prefer_busy_poll, u16 budget);
|
/linux/fs/ |
H A D | eventpoll.c | 235 bool prefer_busy_poll; member 424 READ_ONCE(ep->prefer_busy_poll) || in ep_busy_loop_on() 445 bool prefer_busy_poll = READ_ONCE(ep->prefer_busy_poll); in ep_busy_loop() local 452 ep, prefer_busy_poll, budget); in ep_busy_loop() 460 if (prefer_busy_poll) in ep_busy_loop() 521 if (epoll_params.prefer_busy_poll > 1) in ep_eventpoll_bp_ioctl() 530 WRITE_ONCE(ep->prefer_busy_poll, epoll_params.prefer_busy_poll); in ep_eventpoll_bp_ioctl() 536 epoll_params.prefer_busy_poll = READ_ONCE(ep->prefer_busy_poll); in ep_eventpoll_bp_ioctl() 549 if (napi_id >= MIN_NAPI_ID && READ_ONCE(ep->prefer_busy_poll)) in ep_suspend_napi_irqs() 557 if (napi_id >= MIN_NAPI_ID && READ_ONCE(ep->prefer_busy_poll)) in ep_resume_napi_irqs()
|
/linux/io_uring/ |
H A D | napi.c | 280 WRITE_ONCE(ctx->napi_prefer_busy_poll, !!napi->prefer_busy_poll); in io_napi_register_napi() 295 .prefer_busy_poll = ctx->napi_prefer_busy_poll, in io_register_napi() 338 .prefer_busy_poll = ctx->napi_prefer_busy_poll in io_unregister_napi()
|
/linux/include/uapi/linux/ |
H A D | eventpoll.h | 91 __u8 prefer_busy_poll; member
|
H A D | io_uring.h | 836 __u8 prefer_busy_poll; member
|
/linux/net/core/ |
H A D | dev.c | 6507 void *loop_end_arg, bool prefer_busy_poll, u16 budget) in napi_busy_loop_rcu() argument 6511 if (prefer_busy_poll) in napi_busy_loop_rcu() 6519 void *loop_end_arg, bool prefer_busy_poll, u16 budget) in napi_busy_loop() argument 6521 unsigned flags = prefer_busy_poll ? NAPI_F_PREFER_BUSY_POLL : 0; in napi_busy_loop()
|