Lines Matching defs:cache

347 	int		cache[NTARGETS_WIDE];
1833 * effective cache line utilization on certain platforms.
2909 * Description: Initializes the probe response cache mutex and head pointer.
2925 * Description: Frees all resources associated with the probe response cache.
2949 * Description: This routine clears the probe response cache. This is
2954 * entire cache.
2973 cp->cache[i] = SCSIPROBE_EXISTS;
2984 * with cache. The driver maintains a cache of the target
2988 * on the same target until the cache is cleared. By doing
2998 * Return Code: SCSIPROBE_NORESP if a NORESP in probe response cache;
3018 /* do it the old way (no cache) */
3024 /* Find the cache for this scsi bus instance */
3031 /* If we can't find a cache for this pdip, create one */
3041 cp->cache[i] = SCSIPROBE_EXISTS;
3047 /* Recompute the cache for this target if LUN zero */
3049 cp->cache[tgt] = SCSIPROBE_EXISTS;
3052 /* Don't probe if cache remembers a NORESP from a previous LUN. */
3053 if (cp->cache[tgt] != SCSIPROBE_EXISTS) {
3058 return (cp->cache[tgt] = scsi_probe(devp, waitfn));
4057 if (strcasecmp(name, "cache-nonvolatile") == 0) {
4672 * Set the flag to indicate cache is to be disabled. An attempt
4673 * to disable the cache via sd_cache_control() will be made
4923 * geometry cache specified by pgeom_p.
5253 /* Initialize the logical geometry cache. */
8274 * Disable both read cache and write cache. This is
8943 * Destroy wmap cache if it exists.
9378 * read and write caching by modifying the WCE (write cache
9379 * enable) and RCD (read cache disable) bits of mode
9384 * rcd_flag - flag for controlling the read cache
9385 * wce_flag - flag for controlling the write cache
9536 /* Issue mode select to change the cache settings */
9566 * write caching is enabled. It examines the WCE (write cache
9571 * is_enabled - pointer to int where write cache enabled state
9572 * is returned (non-zero -> write cache enabled)
9580 * NOTE: If ioctl is added to disable write cache, this sequence should
9584 * do synchronize cache to flush cache
9587 * Conversely, an ioctl to enable the write cache should be done
9716 * determining whether non-volatile cache is supported. This
9725 * cache flush be suppressed, we don't bother checking
9731 * (non-volatile cache support) bit in the INQUIRY VPD page
9734 * non-volatile cache and set the
9736 * o Otherwise cache is not non-volatile,
9771 * specifies cache flush be suppressed, then
10137 * The probe cache only needs to be cleared when open (9e) fails
10141 * un-conditionally clearing probe cache is ok with
10497 * Flush any outstanding writes in NVRAM cache.
10579 * Destroy the cache (if it exists) which was
10587 * do not destroy the cache.
10722 * the wmap cache. This is being done here since every time
21157 * | | | volatile and non-volatile cache |
21160 * | | | cache; disk drivers may suppress|
21162 * | | | non-volatile cache |
21165 * | | | volatile and non-volatile cache;|
21168 * | | | cache; disk drivers may suppress|
21170 * | | | non-volatile cache |
21198 /* check whether cache flush should be suppressed */
21202 * suppress the cache flush if the device is told to do
21206 skip the cache flush since suppress_cache_flush is %d!\n",
21229 * the SYNC_NV bit to only flush volatile cache
23174 * or disable the cache via the un_f_wcc_cv
23180 * Don't allow the cache to be enabled if the
23190 * Wait for write cache change in progress
23201 * Get the current write cache state
23216 * Disable the write cache. Don't clear
23223 * If cache flush is suppressed, we assume that the
23225 * write cache for us: no need to explicitly
23249 * no window where the cache is enabled, but the
23255 * If cache flush is suppressed, we assume that the
23257 * write cache for us: no need to explicitly
29257 * Description: Cache Constructor for the wmap cache for the read/modify/write
29281 * Description: Cache destructor for the wmap cache for the read/modify/write
30823 * Set the sync cache required flag to false.