Searched refs:nvram_cache (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_ioctl.c | 943 if ((nv = kmem_zalloc(ha->nvram_cache->size, KM_SLEEP)) == NULL) { 948 if (ddi_copyin(bp, nv, ha->nvram_cache->size, mode) != 0) { 950 kmem_free(nv, ha->nvram_cache->size); 959 kmem_free(nv, ha->nvram_cache->size); 966 kmem_free(nv, ha->nvram_cache->size); 973 kmem_free(nv, ha->nvram_cache->size); 983 if ((rval = ql_r_m_w_flash(ha, bp, ha->nvram_cache->size, 990 for (cnt = 0; cnt < ha->nvram_cache->size / 4; cnt++) { 1002 for (cnt = 0; cnt < ha->nvram_cache->size / 2; cnt++) { 1011 kmem_free(ha->nvram_cache [all...] |
H A D | ql_api.c | 17753 ha->nvram_cache = 17757 if (ha->nvram_cache == NULL) { 17763 ha->nvram_cache->size = sizeof (nvram_24xx_t); 17765 ha->nvram_cache->size = sizeof (nvram_t); 17767 ha->nvram_cache->cache = 17768 (void *)kmem_zalloc(ha->nvram_cache->size, KM_SLEEP); 17769 if (ha->nvram_cache->cache == NULL) { 17772 kmem_free(ha->nvram_cache, 17774 ha->nvram_cache = 0; 17777 mutex_init(&ha->nvram_cache [all...] |
H A D | ql_xioctl.c | 2843 if (cmd->ResponseLen < ha->nvram_cache->size) { 2845 cmd->DetailStatus = ha->nvram_cache->size; 2859 cmd->ResponseLen = ha->nvram_cache->size; 2885 if (cmd->RequestLen < ha->nvram_cache->size) { 2887 cmd->DetailStatus = ha->nvram_cache->size;
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_api.h | 1659 nvram_cache_desc_t *nvram_cache; member in struct:ql_adapter_state 1959 #define NVRAM_CACHE_LOCK(ha) mutex_enter(&ha->nvram_cache->mutex); 1960 #define NVRAM_CACHE_UNLOCK(ha) mutex_exit(&ha->nvram_cache->mutex);
|
Completed in 93 milliseconds