Searched refs:c_func (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/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 in union:cmd::__anon4
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.c943 if (p->c_parameter == NEXTARG && p->c_u.c_func) {
947 p->c_u.c_func(argv[1], 0, s, afp);
949 } else if (p->c_parameter == OPTARG && p->c_u.c_func) {
950 p->c_u.c_func(argv[1], 0, s, afp);
959 } else if (p->c_u.c_func)
960 p->c_u.c_func(*argv, p->c_parameter, s, afp);
/freebsd-11-stable/sys/sys/
H A D_callout.h60 callout_func_t *c_func; /* function to call */ member in struct:callout
H A Dcallout.h119 callout_reset_sbt_on((c), (sbt), (pr), (c)->c_func, (c)->c_arg, \
/freebsd-11-stable/sys/kern/
H A Dkern_timeout.c602 c->c_func = func;
633 c->c_func = NULL;
645 callout_func_t *c_func, *drain; local
678 c_func = c->c_func;
707 c, c_func, c_arg);
713 c, c_func, c_arg);
720 c, c_func, c_arg);
723 "func:%p", c_func, "arg:%p", c_arg, "direct:%d", direct);
729 c_func(c_ar
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dcallb.c55 boolean_t (*c_func)(); /* cb function: returns true if ok */ member in struct:callb
56 void *c_arg; /* arg to c_func */
152 cp->c_func = func;
278 cp->c_name, (void *)cp->c_func, (void *)cp->c_arg);
283 if (!(*cp->c_func)(cp->c_arg, code))
/freebsd-11-stable/usr.bin/mail/
H A Dlex.c381 e = (*com->c_func)(msgvec);
395 e = (*com->c_func)(msgvec);
405 e = (*com->c_func)(cp);
425 e = (*com->c_func)(arglist);
433 e = (*com->c_func)(0);
H A Ddef.h107 int (*c_func)(); /* Implementor of the command */ member in struct:cmd
/freebsd-11-stable/stand/kshim/
H A Dbsd_kernel.c435 if (c->c_func != NULL)
436 (c->c_func) (c->c_arg);
490 c->c_func = func;
510 c->c_func = NULL;
H A Dbsd_kernel.h315 callout_fn_t *c_func; member in struct:callout
/freebsd-11-stable/sys/dev/ioat/
H A Dioat.c1881 db_printf(" c_func: %p\n", sc->poll_timer.c_func);
/freebsd-11-stable/sys/netgraph/
H A Dng_base.c3825 if ((rval > 0) && (c->c_func == &ng_callout_trampoline) &&

Completed in 290 milliseconds