Home
last modified time | relevance | path

Searched refs:c_id (Results 1 – 10 of 10) sorted by relevance

/openbsd/usr.sbin/amd/amd/
H A Dclock.c57 int c_id; /* Unique identifier */ member
119 cpnew->c_id = CID_ALLOC(); in timeout()
140 return cpnew->c_id; in timeout()
151 if (cp2->c_id == id) { in untimeout()
169 plog(XLOG_WARNING, "job %d rescheduled to run immediately", cp->c_id); in reschedule_timeouts()
172 cp->c_id, cp->c_time - now); in reschedule_timeouts()
/openbsd/regress/sys/kern/pipe/
H A Dtest-thundering-herd.c42 int c_id; member
106 ctx.c_id = i + 1; in test_thundering_herd()
183 ctx->c_id, ctx->c_ident, n); in block_proc()
187 err(1, "[%d] %s", ctx->c_id, ctx->c_ident); in block_proc()
/openbsd/sbin/dhcpleased/
H A Dparse.y219 if (iface_conf->c_id != NULL) {
256 iface_conf->c_id = malloc(iface_conf->c_id_len);
257 if (iface_conf->c_id == NULL) {
261 memcpy(&iface_conf->c_id[2], buf,
266 iface_conf->c_id = malloc(iface_conf->c_id_len);
267 if (iface_conf->c_id == NULL) {
271 memcpy(&iface_conf->c_id[2], buf,
274 iface_conf->c_id[0] = DHO_DHCP_CLIENT_IDENTIFIER;
275 iface_conf->c_id[1] = iface_conf->c_id_len - 2;
H A Dfrontend.c369 iface_conf->c_id = NULL; in frontend_dispatch_main()
396 if (iface_conf->c_id != NULL) in frontend_dispatch_main()
402 if ((iface_conf->c_id = malloc(iface_conf->c_id_len)) in frontend_dispatch_main()
405 if (imsg_get_data(&imsg, iface_conf->c_id, in frontend_dispatch_main()
1001 memcpy(p, iface_conf->c_id, iface_conf->c_id_len); in build_packet()
1298 if (memcmp(a->c_id, b->c_id, a->c_id_len) != 0) in iface_conf_cmp()
H A Dprintconf.c108 print_dhcp_options("\t", iface->c_id, iface->c_id_len); in print_config()
H A Ddhcpleased.h255 uint8_t *c_id; member
H A Dengine.c495 iface_conf->c_id = NULL; in engine_dispatch_main()
522 if (iface_conf->c_id != NULL) in engine_dispatch_main()
528 if ((iface_conf->c_id = malloc(iface_conf->c_id_len)) in engine_dispatch_main()
531 if (imsg_get_data(&imsg, iface_conf->c_id, in engine_dispatch_main()
1108 if (dho_len != iface_conf->c_id[1]) { in parse_dhcp()
1113 if (memcmp(p, &iface_conf->c_id[2], dho_len) != in parse_dhcp()
H A Ddhcpleased.c752 iface_conf->c_id, iface_conf->c_id_len); in main_imsg_send_config()
754 iface_conf->c_id, iface_conf->c_id_len); in main_imsg_send_config()
1281 free(iface_conf->c_id); in merge_config()
/openbsd/sys/dev/pci/
H A Dips.c345 int c_id; /* command id */ member
1389 "seccnt %d\n", sc->sc_dev.dv_xname, ccb->c_id, ccb->c_flags, in ips_cmd()
1393 cmd->id = ccb->c_id; in ips_cmd()
1454 sc->sc_dev.dv_xname, ccb->c_id, ccb->c_flags, ccb->c_xfer)); in ips_done()
1667 sc->sc_dev.dv_xname, ccb->c_id, ccb->c_state, in ips_intr()
1974 ccb[i].c_id = i; in ips_ccb_alloc()
/openbsd/usr.sbin/hostapd/
H A Dhostapd.h350 u_int c_id; member