/freebsd-11-stable/sbin/ifconfig/ |
H A D | ifconfig.h | 44 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 D | ifconfig.c | 943 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.h | 60 callout_func_t *c_func; /* function to call */ member in struct:callout
|
H A D | callout.h | 119 callout_reset_sbt_on((c), (sbt), (pr), (c)->c_func, (c)->c_arg, \
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_timeout.c | 602 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 D | callb.c | 55 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 D | lex.c | 381 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 D | def.h | 107 int (*c_func)(); /* Implementor of the command */ member in struct:cmd
|
/freebsd-11-stable/stand/kshim/ |
H A D | bsd_kernel.c | 435 if (c->c_func != NULL) 436 (c->c_func) (c->c_arg); 490 c->c_func = func; 510 c->c_func = NULL;
|
H A D | bsd_kernel.h | 315 callout_fn_t *c_func; member in struct:callout
|
/freebsd-11-stable/sys/dev/ioat/ |
H A D | ioat.c | 1881 db_printf(" c_func: %p\n", sc->poll_timer.c_func);
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_base.c | 3825 if ((rval > 0) && (c->c_func == &ng_callout_trampoline) &&
|