Searched refs:cache_state (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dmtdblock.c31 enum { STATE_EMPTY, STATE_CLEAN, STATE_DIRTY } cache_state; member in struct:mtdblk_dev
104 if (mtdblk->cache_state != STATE_DIRTY)
123 mtdblk->cache_state = STATE_EMPTY;
161 if (mtdblk->cache_state == STATE_DIRTY &&
168 if (mtdblk->cache_state == STATE_EMPTY ||
171 mtdblk->cache_state = STATE_EMPTY;
181 mtdblk->cache_state = STATE_CLEAN;
186 mtdblk->cache_state = STATE_DIRTY;
225 if (mtdblk->cache_state != STATE_EMPTY &&
289 mtdblk->cache_state
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dipr.c2511 } cache_state [] = { variable in typeref:struct:__anon6623
2533 for (i = 0; i < ARRAY_SIZE(cache_state); i++) {
2534 if (cache_state[i].state == ioa_cfg->cache_state) {
2535 len = snprintf(buf, PAGE_SIZE, "%s\n", cache_state[i].name);
2566 if (ioa_cfg->cache_state == CACHE_NONE)
2569 for (i = 0; i < ARRAY_SIZE(cache_state); i++) {
2570 if (!strncmp(cache_state[i].name, buf, strlen(cache_state[i].name))) {
2571 new_state = cache_state[
[all...]
H A Dipr.h1100 enum ipr_cache_state cache_state; member in struct:ipr_ioa_cfg

Completed in 117 milliseconds