Home
last modified time | relevance | path

Searched refs:kcache (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c72 dhcp_kcache_t *kcache = NULL; in dhcp_adopt() local
79 retval = get_dhcp_kcache(&kcache, &kcache_size); in dhcp_adopt()
85 dhcpmsg(MSG_DEBUG, "dhcp_adopt: fetched %s kcache", kcache->dk_if_name); in dhcp_adopt()
91 plp = alloc_pkt_entry(strlen(kcache->dk_ack) / 2, B_FALSE); in dhcp_adopt()
97 if (hexascii_to_octet(kcache->dk_ack, plp->len * 2, plp->pkt, in dhcp_adopt()
124 if ((lif = attach_lif(kcache->dk_if_name, B_FALSE, &retval)) == NULL) { in dhcp_adopt()
126 kcache->dk_if_name, retval); in dhcp_adopt()
132 "machine for %s: %d", kcache->dk_if_name, retval); in dhcp_adopt()
185 free(kcache); in dhcp_adopt()
192 free(kcache); in dhcp_adopt()
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c654 char kcache[32]; in bd_attach() local
672 (void) snprintf(kcache, sizeof (kcache), "%s_xfer", name); in bd_attach()
732 bd->d_cache = kmem_cache_create(kcache, sizeof (bd_xfer_impl_t), 8, in bd_attach()