Home
last modified time | relevance | path

Searched refs:c_func (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/sbin/ifconfig/
H A Difconfig.h44 typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp); typedef
54 c_func *c_func; member
73 #define DEF_CMD(name, param, func) { name, param, { .c_func = func }, 0, NULL }
74 #define DEF_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 0, NULL }
75 #define DEF_CMD_OPTARG(name, func) { name, OPTARG, { .c_func = func }, 0, NULL }
77 #define DEF_CLONE_CMD(name, param, func) { name, param, { .c_func = func }, 1, NULL }
78 #define DEF_CLONE_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 1, NULL }
H A Difconfig.c869 if (p->c_parameter == NEXTARG && p->c_u.c_func) { in ifconfig()
873 p->c_u.c_func(argv[1], 0, s, afp); in ifconfig()
875 } else if (p->c_parameter == OPTARG && p->c_u.c_func) { in ifconfig()
876 p->c_u.c_func(argv[1], 0, s, afp); in ifconfig()
885 } else if (p->c_u.c_func) in ifconfig()
886 p->c_u.c_func(*argv, p->c_parameter, s, afp); in ifconfig()
/freebsd-12.1/sys/kern/
H A Dkern_timeout.c604 c->c_func = func; in callout_cc_add()
635 c->c_func = NULL; in callout_cc_del()
647 void (*c_func)(void *); in softclock_call_cc() local
680 c_func = c->c_func; in softclock_call_cc()
709 c, c_func, c_arg); in softclock_call_cc()
715 c, c_func, c_arg); in softclock_call_cc()
722 c, c_func, c_arg); in softclock_call_cc()
731 c_func(c_arg); in softclock_call_cc()
745 lastfunc = c_func; in softclock_call_cc()
1416 c, c->c_func, c->c_arg);
[all …]
/freebsd-12.1/usr.bin/mail/
H A Dlex.c383 e = (*com->c_func)(msgvec); in execute()
397 e = (*com->c_func)(msgvec); in execute()
407 e = (*com->c_func)(cp); in execute()
427 e = (*com->c_func)(arglist); in execute()
435 e = (*com->c_func)(0); in execute()
H A Ddef.h109 int (*c_func)(); /* Implementor of the command */ member
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dcallb.c55 boolean_t (*c_func)(); /* cb function: returns true if ok */ member
152 cp->c_func = func; in callb_add_common()
278 cp->c_name, (void *)cp->c_func, (void *)cp->c_arg); in callb_execute_class()
283 if (!(*cp->c_func)(cp->c_arg, code)) in callb_execute_class()
/freebsd-12.1/sys/sys/
H A D_callout.h60 void (*c_func)(void *); /* function to call */ member
H A Dcallout.h121 callout_reset_sbt_on((c), (sbt), (pr), (c)->c_func, (c)->c_arg, \
/freebsd-12.1/stand/kshim/
H A Dbsd_kernel.c435 if (c->c_func != NULL) in callout_callback()
436 (c->c_func) (c->c_arg); in callout_callback()
490 c->c_func = func; in callout_reset()
510 c->c_func = NULL; in callout_stop()
H A Dbsd_kernel.h315 callout_fn_t *c_func; member
/freebsd-12.1/sys/dev/usb/
H A Dusbdi.h497 (c)->co.c_func = &usbd_dummy_timeout; \
/freebsd-12.1/sys/dev/ioat/
H A Dioat.c1917 db_printf(" c_func: %p\n", sc->poll_timer.c_func); in DB_SHOW_COMMAND()
/freebsd-12.1/sys/netgraph/
H A Dng_base.c3817 if ((rval > 0) && (c->c_func == &ng_callout_trampoline) && in ng_uncallout()