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 | 54 void *loop_end_arg, bool prefer_busy_poll, u16 budget); 58 void *loop_end_arg, bool prefer_busy_poll, u16 budget);
|
| /linux/fs/ |
| H A D | eventpoll.c | 229 bool prefer_busy_poll; member 418 READ_ONCE(ep->prefer_busy_poll) || in ep_busy_loop_on() 439 bool prefer_busy_poll = READ_ONCE(ep->prefer_busy_poll); in ep_busy_loop() local 446 ep, prefer_busy_poll, budget); in ep_busy_loop() 454 if (prefer_busy_poll) in ep_busy_loop() 515 if (epoll_params.prefer_busy_poll > 1) in ep_eventpoll_bp_ioctl() 524 WRITE_ONCE(ep->prefer_busy_poll, epoll_params.prefer_busy_poll); in ep_eventpoll_bp_ioctl() 530 epoll_params.prefer_busy_poll = READ_ONCE(ep->prefer_busy_poll); in ep_eventpoll_bp_ioctl() 543 if (napi_id_valid(napi_id) && READ_ONCE(ep->prefer_busy_poll)) in ep_suspend_napi_irqs() 551 if (napi_id_valid(napi_id) && READ_ONCE(ep->prefer_busy_poll)) in ep_resume_napi_irqs()
|
| /linux/io_uring/ |
| H A D | napi.c | 292 WRITE_ONCE(ctx->napi_prefer_busy_poll, !!napi->prefer_busy_poll); in io_napi_register_napi() 308 .prefer_busy_poll = ctx->napi_prefer_busy_poll, in io_register_napi() 352 .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 | 938 __u8 prefer_busy_poll; member
|
| /linux/net/core/ |
| H A D | dev.c | 7021 void *loop_end_arg, bool prefer_busy_poll, u16 budget) in napi_busy_loop_rcu() 7025 if (prefer_busy_poll) in napi_busy_loop_rcu() 7033 void *loop_end_arg, bool prefer_busy_poll, u16 budget) in napi_busy_loop() 7035 unsigned flags = prefer_busy_poll ? NAPI_F_PREFER_BUSY_POLL : 0; in napi_busy_loop() 7018 napi_busy_loop_rcu(unsigned int napi_id,bool (* loop_end)(void *,unsigned long),void * loop_end_arg,bool prefer_busy_poll,u16 budget) napi_busy_loop_rcu() argument 7030 napi_busy_loop(unsigned int napi_id,bool (* loop_end)(void *,unsigned long),void * loop_end_arg,bool prefer_busy_poll,u16 budget) napi_busy_loop() argument
|