Home
last modified time | relevance | path

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

/f-stack/tools/ifconfig/
H A Difconfig.h59 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 Difconfig.c1062 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 Dff_kern_timeout.c364 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 Dff_ng_base.c3854 if ((rval > 0) && (c->c_func == &ng_callout_trampoline) && in ng_uncallout()
/f-stack/freebsd/kern/
H A Dkern_timeout.c581 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 Dcallb.c55 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.h61 callout_func_t *c_func; /* function to call */ member
H A Dcallout.h119 callout_reset_sbt_on((c), (sbt), (pr), (c)->c_func, (c)->c_arg, \
/f-stack/tools/compat/include/sys/
H A D_callout.h58 void (*c_func)(void *); /* function to call */ member
H A Dcallout.h117 callout_reset_sbt_on((c), (sbt), (pr), (c)->c_func, (c)->c_arg, \
/f-stack/freebsd/netgraph/
H A Dng_base.c3824 if ((rval > 0) && (c->c_func == &ng_callout_trampoline) && in ng_uncallout()