Home
last modified time | relevance | path

Searched refs:sarg (Results 1 – 2 of 2) sorted by relevance

/xnu-10002.1.13/tests/
H A Dselect_stress.c179 struct selarg *sarg = (struct selarg *)arg; in do_select() local
185 sarg->ret = 0; in do_select()
187 FD_COPY(&sarg->def_readfds, &readfds); in do_select()
197 nfd = select(sarg->max_fd + 1, &readfds, 0, 0, tp); in do_select()
201 sarg->ret = EBADF; in do_select()
217 for (int i = 0; i < sarg->nthreads; i++) { in do_select()
218 struct endpoint *ep = &sarg->th[i].ep; in do_select()
236 struct selarg sarg; in test_select_stress() local
298 sarg.max_fd = 0; in test_select_stress()
299 FD_ZERO(&sarg.def_readfds); in test_select_stress()
[all …]
/xnu-10002.1.13/bsd/netinet6/
H A Dnd6.c1780 struct nd6svc_arg sarg; in nd6_timeout() local
1784 bzero(&sarg, sizeof(sarg)); in nd6_timeout()
1787 sarg.draining = 1; in nd6_timeout()
1789 nd6_service(&sarg); in nd6_timeout()
1791 "sticky %u, killed %u\n", __func__, sarg.found, sarg.aging_lazy, in nd6_timeout()
1792 sarg.aging, sarg.sticky, sarg.killed); in nd6_timeout()
1799 if (sarg.aging_lazy > 0 || sarg.aging > 0 || nd6_sched_timeout_want) { in nd6_timeout()
1803 if (sarg.aging > 0 || lazy < 1) { in nd6_timeout()