| /f-stack/tools/ifconfig/ |
| H A D | ifconfig.h | 59 typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp); typedef 69 c_func *c_func; member 88 #define DEF_CMD(name, param, func) { name, param, { .c_func = func }, 0, NULL } 89 #define DEF_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 0, NULL } 90 #define DEF_CMD_OPTARG(name, func) { name, OPTARG, { .c_func = func }, 0, NULL } 92 #define DEF_CLONE_CMD(name, param, func) { name, param, { .c_func = func }, 1, NULL } 93 #define DEF_CLONE_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 1, NULL }
|
| H A D | ifconfig.c | 1062 if (p->c_parameter == NEXTARG && p->c_u.c_func) { in ifconfig() 1066 p->c_u.c_func(argv[1], 0, s, afp); in ifconfig() 1068 } else if (p->c_parameter == OPTARG && p->c_u.c_func) { in ifconfig() 1069 p->c_u.c_func(argv[1], 0, s, afp); in ifconfig() 1078 } else if (p->c_u.c_func) in ifconfig() 1079 p->c_u.c_func(*argv, p->c_parameter, s, afp); in ifconfig()
|
| /f-stack/lib/ |
| H A D | ff_kern_timeout.c | 364 c->c_func = func; in callout_cc_add() 378 c->c_func = NULL; in callout_cc_del() 390 void (*c_func)(void *); in softclock_call_cc() local 416 c_func = c->c_func; in softclock_call_cc() 445 c, c_func, c_arg); in softclock_call_cc() 451 c, c_func, c_arg); in softclock_call_cc() 458 c, c_func, c_arg); in softclock_call_cc() 467 c_func(c_arg); in softclock_call_cc() 481 lastfunc = c_func; in softclock_call_cc() 967 c, c->c_func, c->c_arg); in _callout_stop_safe() [all …]
|
| H A D | ff_ng_base.c | 3854 if ((rval > 0) && (c->c_func == &ng_callout_trampoline) && in ng_uncallout()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_timeout.c | 581 c->c_func = func; in callout_cc_add() 646 c_func = c->c_func; in softclock_call_cc() 674 c, c_func, c_arg); in softclock_call_cc() 680 c, c_func, c_arg); in softclock_call_cc() 687 c, c_func, c_arg); in softclock_call_cc() 696 c_func(c_arg); in softclock_call_cc() 710 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 …]
|
| /f-stack/freebsd/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()
|
| /f-stack/freebsd/sys/ |
| H A D | _callout.h | 61 callout_func_t *c_func; /* function to call */ member
|
| H A D | callout.h | 119 callout_reset_sbt_on((c), (sbt), (pr), (c)->c_func, (c)->c_arg, \
|
| /f-stack/tools/compat/include/sys/ |
| H A D | _callout.h | 58 void (*c_func)(void *); /* function to call */ member
|
| H A D | callout.h | 117 callout_reset_sbt_on((c), (sbt), (pr), (c)->c_func, (c)->c_arg, \
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_base.c | 3824 if ((rval > 0) && (c->c_func == &ng_callout_trampoline) && in ng_uncallout()
|