Searched refs:arg (Results 1 - 25 of 184) sorted by relevance

12345678

/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp_callout.h35 typedef void (*kdp_callout_fn_t)(void *arg, kdp_event_t event);
38 * Register fn(arg, event) to be called at kdp entry/exit.
45 extern void kdp_register_callout(kdp_callout_fn_t fn, void *arg);
/darwin-on-arm/xnu/osfmk/kperf/x86_64/
H A Dkperf_mp.c35 kperf_mp_broadcast( void (*func)(void*), void *arg )
37 mp_cpus_call( CPUMASK_ALL, ASYNC, func, arg );
/darwin-on-arm/xnu/libsyscall/wrappers/cancelable/
H A Dfcntl-base.c38 void *arg; local
55 arg = va_arg(ap, void *);
58 arg = (void *)((unsigned long)va_arg(ap, int));
62 return (__FCNTL(fd, cmd, arg));
/darwin-on-arm/xnu/osfmk/kperf/
H A Dkperf_arch.h39 extern int kperf_mp_broadcast( void (*func)(void*), void *arg );
/darwin-on-arm/xnu/libsyscall/wrappers/
H A Dioctl.c39 void *arg; local
42 arg = va_arg(ap, void *);
44 return (__ioctl(d, request, arg));
/darwin-on-arm/xnu/SETUP/decomment/
H A Ddecomment.c63 int arg; local
67 for(arg=2; arg<argc; arg++) {
68 switch(argv[arg][0]) {
/darwin-on-arm/xnu/osfmk/kern/
H A Dprintf.c113 * printf("reg = %b", regval, "<base><arg>*")
116 * i.e. '\10' gives octal, '\20' gives hex. Each <arg> is a sequence of
124 * If the second character in <arg> is also a control character, it
198 void *arg)
210 (*putc)(*p, arg);
224 void (*putc)(int, void *arg),
225 void *arg,
245 (*putc)(c, arg);
348 nprinted += printnum(u, base, putc, arg);
363 (*putc)(',', arg);
194 printnum( unsigned long long int u, int base, void (*putc)(int, void *), void *arg) argument
220 __doprnt( const char *fmt, va_list argp, void (*putc)(int, void *arg), void *arg, int radix) argument
643 dummy_putc(int ch, void *arg) argument
869 copybyte(int c, void *arg) argument
[all...]
H A Dipc_misc.c158 * arg Anonymous pointer to caller state
164 void *arg, int *rval)
176 *rval = (*action)(name, fg, arg);
196 * arg Anonymous pointer to caller state.
200 int (*action)(mach_port_name_t, struct fileglob *, void *arg),
201 void *arg)
233 if (fileport_invoke(task, names[i], action, arg,
162 fileport_invoke(task_t task, mach_port_name_t name, int (*action)(mach_port_name_t, struct fileglob *, void *), void *arg, int *rval) argument
199 fileport_walk(task_t task, int (*action)(mach_port_name_t, struct fileglob *, void *arg), void *arg) argument
H A Dsched.h313 void *arg);
316 void *arg);
319 void *arg);
322 void *arg);
325 void *arg);
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_rmx.c505 struct rtqk_arg arg; local
514 arg.found = arg.killed = 0;
515 arg.rnh = rnh;
516 arg.nextstop = timenow + rtq_timeout;
517 arg.draining = arg.updating = 0;
518 rnh->rnh_walktree(rnh, in6_rtqkill, &arg);
528 if ((arg.found - arg
595 struct mtuex_arg arg; local
623 struct rtqk_arg arg; local
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Din_rmx.c428 struct rtqk_arg arg; local
437 arg.found = arg.killed = 0;
438 arg.rnh = rnh;
439 arg.nextstop = timenow + rtq_timeout;
440 arg.draining = arg.updating = 0;
441 rnh->rnh_walktree(rnh, in_rtqkill, &arg);
451 if((arg.found - arg
479 struct rtqk_arg arg; local
571 struct in_ifadown_arg arg; local
[all...]
H A Dip_encap.h75 void *arg; /* passed via m->m_pkthdr.aux */ member in struct:encaptab
H A Dip_encap.c200 prio = (*ep->func)(m, off, proto, ep->arg);
296 prio = (*ep->func)(m, *offp, proto, ep->arg);
346 encap_attach(af, proto, sp, sm, dp, dm, psw, arg)
352 void *arg;
404 ep->arg = arg;
416 encap_attach_func(af, proto, func, psw, arg)
421 void *arg;
443 ep->arg = arg;
526 void* *arg; member in struct:encaptabtag
[all...]
/darwin-on-arm/xnu/bsd/netkey/
H A Dkey_debug.h56 #define KEYDEBUG(lev,arg) \
57 do { if ((key_debug_level & (lev)) == (lev)) { arg; } } while (0)
59 #define KEYDEBUG(lev,arg)
/darwin-on-arm/xnu/bsd/net/
H A Dppp_deflate.c215 z_comp_free(arg)
216 void *arg;
218 struct deflate_state *state = (struct deflate_state *) arg;
225 z_comp_init(arg, options, opt_len, unit, hdrlen, debug)
226 void *arg;
230 struct deflate_state *state = (struct deflate_state *) arg;
251 z_comp_reset(arg)
252 void *arg;
254 struct deflate_state *state = (struct deflate_state *) arg;
261 z_compress(arg, mre
[all...]
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_upcall.c90 nfsrv_uc_thread(void *arg, wait_result_t wr __unused) argument
92 int qi = (int)(uintptr_t)arg;
309 nfsrv_uc_proxy(socket_t so, void *arg, int waitflag) argument
311 struct nfsrv_uc_arg *uap = (struct nfsrv_uc_arg *)arg;
358 struct nfsrv_uc_arg *arg; local
369 MALLOC(arg, struct nfsrv_uc_arg *, sizeof (struct nfsrv_uc_arg), M_NFSSVC, M_WAITOK | M_ZERO);
370 if (arg == NULL)
373 slp->ns_ua = arg;
374 arg->nua_slp = slp;
375 arg
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dfbt.h66 extern int fbt_enable (void *arg, dtrace_id_t id, void *parg);
H A Dsystm.h194 void timeout(void (*)(void *), void *arg, int ticks);
195 void untimeout(void (*)(void *), void *arg);
221 void bsd_timeout(void (*)(void *), void *arg, struct timespec * ts);
222 void bsd_untimeout(void (*)(void *), void *arg);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_journal.h85 typedef void (*jnl_trim_callback_t)(void *arg, uint32_t extent_count, const dk_extent_t *extents);
150 void (*flush)(void *arg); // fs callback to flush meta data blocks
151 void *flush_arg; // arg that's passed to flush()
246 void (*flush)(void *arg),
247 void *arg);
266 void (*flush)(void *arg),
267 void *arg);
324 int journal_modify_block_end(journal *jnl, struct buf *bp, void (*func)(struct buf *bp, void *arg), void *arg);
329 void journal_trim_set_callback(journal *jnl, jnl_trim_callback_t callback, void *arg);
[all...]
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dprofile_prvd.c188 profile_fire(void *arg) argument
190 profile_probe_percpu_t *pcpu = arg;
239 profile_tick(void *arg) argument
241 profile_probe_t *prof = arg;
320 profile_provide(void *arg, const dtrace_probedesc_t *desc) argument
322 #pragma unused(arg) /* __APPLE__ */
502 profile_destroy(void *arg, dtrace_id_t id, void *parg) argument
504 #pragma unused(arg,id) /* __APPLE__ */
523 profile_online(void *arg, dtrace_cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) argument
526 profile_probe_t *prof = arg;
553 profile_offline(void *arg, dtrace_cpu_t *cpu, void *oarg) argument
567 profile_enable(void *arg, dtrace_id_t id, void *parg) argument
614 profile_disable(void *arg, dtrace_id_t id, void *parg) argument
637 profile_usermode(void *arg, dtrace_id_t id, void *parg) argument
643 profile_usermode(void *arg, dtrace_id_t id, void *parg) argument
735 profile_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dhibernate_restore.c94 void hibernateRestorePALState(uint32_t *arg) argument
96 (void)arg;
H A Dhpet.h115 extern int hpet_register_callback(int (*hpet_reqst)(uint32_t apicid, void *arg, hpetRequest_t *hpet), void *arg);
/darwin-on-arm/xnu/tools/tests/execperf/
H A Drun.c57 void *work(void *arg) argument
59 int count = (int)(intptr_t)arg;
/darwin-on-arm/xnu/tools/
H A Dremote_build.sh28 for arg in "$@"; do
29 case $arg in
31 TARGET=`echo $arg | awk -F= '{print $2}'`
35 MAKE=`echo $arg | awk -F= '{print $2}'`
58 arg="VERBOSE=YES"
65 ARGS[$index]="$arg"
66 REMOTEARGS[$index]="\"$arg\""
/darwin-on-arm/xnu/bsd/kern/
H A Dsubr_prf.c132 void *arg,
144 snprintf_func(int ch, void *arg);
150 static void putchar(int c, void *arg);
412 putchar(int c, void *arg) argument
414 struct putchar_args *pca = arg;
512 snprintf_func(int ch, void *arg) argument
514 struct snprintf_arg *const info = arg;
523 kvprintf(char const *fmt, void (*func)(int, void*), void *arg, int radix, va_list ap) argument
525 __doprnt(fmt, ap, func, arg, radix);

Completed in 111 milliseconds

12345678