| /freebsd-13.1/sbin/ifconfig/ |
| H A D | ifconfig.h | 48 typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp); typedef 58 c_func *c_func; member 77 #define DEF_CMD(name, param, func) { name, param, { .c_func = func }, 0, NULL } 78 #define DEF_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 0, NULL } 79 #define DEF_CMD_OPTARG(name, func) { name, OPTARG, { .c_func = func }, 0, NULL } 81 #define DEF_CLONE_CMD(name, param, func) { name, param, { .c_func = func }, 1, NULL } 82 #define DEF_CLONE_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 1, NULL }
|
| H A D | ifconfig.c | 978 if (p->c_parameter == NEXTARG && p->c_u.c_func) { in ifconfig() 982 p->c_u.c_func(argv[1], 0, s, afp); in ifconfig() 984 } else if (p->c_parameter == OPTARG && p->c_u.c_func) { in ifconfig() 985 p->c_u.c_func(argv[1], 0, s, afp); in ifconfig() 994 } else if (p->c_u.c_func) in ifconfig() 995 p->c_u.c_func(*argv, p->c_parameter, s, afp); in ifconfig()
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_timeout.c | 580 c->c_func = func; in callout_cc_add() 645 c_func = c->c_func; in softclock_call_cc() 673 c, c_func, c_arg); in softclock_call_cc() 679 c, c_func, c_arg); in softclock_call_cc() 686 c, c_func, c_arg); in softclock_call_cc() 695 c_func(c_arg); in softclock_call_cc() 709 lastfunc = c_func; in softclock_call_cc() 947 c, c->c_func, c->c_arg); in callout_reset_sbt_on() 1283 c, c->c_func, c->c_arg); in _callout_stop_safe() 1298 c, c->c_func, c->c_arg); in _callout_stop_safe() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | callb.c | 55 boolean_t (*c_func)(void *, int); member 153 cp->c_func = func; in callb_add_common() 279 cp->c_name, (void *)cp->c_func, (void *)cp->c_arg); in callb_execute_class() 284 if (!(*cp->c_func)(cp->c_arg, code)) in callb_execute_class()
|
| /freebsd-13.1/usr.bin/mail/ |
| H A D | lex.c | 383 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 D | def.h | 109 int (*c_func)(); /* Implementor of the command */ member
|
| /freebsd-13.1/sys/sys/ |
| H A D | _callout.h | 62 callout_func_t *c_func; /* function to call */ member
|
| H A D | callout.h | 117 callout_reset_sbt_on((c), (sbt), (pr), (c)->c_func, (c)->c_arg, \
|
| /freebsd-13.1/stand/kshim/ |
| H A D | bsd_kernel.c | 450 if (c->c_func != NULL) in callout_callback() 451 (c->c_func) (c->c_arg); in callout_callback() 505 c->c_func = func; in callout_reset() 525 c->c_func = NULL; in callout_stop()
|
| H A D | bsd_kernel.h | 348 callout_fn_t *c_func; member
|
| /freebsd-13.1/sys/dev/usb/ |
| H A D | usbdi.h | 497 (c)->co.c_func = &usbd_dummy_timeout; \
|
| /freebsd-13.1/sys/dev/ioat/ |
| H A D | ioat.c | 2083 db_printf(" c_func: %p\n", sc->poll_timer.c_func); in DB_SHOW_COMMAND()
|
| /freebsd-13.1/sys/netgraph/ |
| H A D | ng_base.c | 3831 if ((rval > 0) && (c->c_func == &ng_callout_trampoline) && in ng_uncallout()
|