Lines Matching refs:icp
292 cache_t *icp; in get_icache() local
296 icp = get_cache(ic_hash[IC_HASH(dev, inum)], &ic_head); in get_icache()
298 return (icp ? (caddr_t)icp->data : 0); in get_icache()
311 ic_t *icp = (ic_t *)set_cache(&ic_hash[IC_HASH(dev, inum)], in set_icache() local
313 icp->ic_num = inum; in set_icache()
314 icp->ic_hdr.data = ip; in set_icache()
315 icp->ic_hdr.dev = dev; in set_icache()
316 icp->ic_hdr.size = size; in set_icache()
329 ic_t *icp = (ic_t *)set_cache(&ic_hash[IC_HASH(dev, inum)], in set_ricache() local
332 if (icp == NULL) in set_ricache()
335 icp->ic_num = inum; in set_ricache()
336 icp->ic_hdr.data = ip; in set_ricache()
337 icp->ic_hdr.dev = dev; in set_ricache()
338 icp->ic_hdr.size = size; in set_ricache()