Searched refs:cache_state (Results 1 – 8 of 8) sorted by relevance
| /Linux-v4.19/drivers/mtd/ |
| D | mtdblock.c | 45 enum { STATE_EMPTY, STATE_CLEAN, STATE_DIRTY } cache_state; member 97 if (mtdblk->cache_state != STATE_DIRTY) in write_cached_data() 116 mtdblk->cache_state = STATE_EMPTY; in write_cached_data() 154 if (mtdblk->cache_state == STATE_DIRTY && in do_cached_write() 161 if (mtdblk->cache_state == STATE_EMPTY || in do_cached_write() 164 mtdblk->cache_state = STATE_EMPTY; in do_cached_write() 174 mtdblk->cache_state = STATE_CLEAN; in do_cached_write() 179 mtdblk->cache_state = STATE_DIRTY; in do_cached_write() 218 if (mtdblk->cache_state != STATE_EMPTY && in do_cached_read() 274 mtdblk->cache_state = STATE_EMPTY; in mtdblock_open()
|
| /Linux-v4.19/net/rxrpc/ |
| D | conn_client.c | 456 conn->cache_state = RXRPC_CONN_CLIENT_UPGRADE; in rxrpc_activate_conn() 459 conn->cache_state = RXRPC_CONN_CLIENT_ACTIVE; in rxrpc_activate_conn() 482 _enter("%d,%d", conn->debug_id, conn->cache_state); in rxrpc_animate_client_conn() 484 if (conn->cache_state == RXRPC_CONN_CLIENT_ACTIVE || in rxrpc_animate_client_conn() 485 conn->cache_state == RXRPC_CONN_CLIENT_UPGRADE) in rxrpc_animate_client_conn() 496 switch (conn->cache_state) { in rxrpc_animate_client_conn() 516 _leave(" [%d]", conn->cache_state); in rxrpc_animate_client_conn() 527 conn->cache_state = RXRPC_CONN_CLIENT_WAITING; in rxrpc_animate_client_conn() 607 switch (conn->cache_state) { in rxrpc_activate_channels_locked() 806 if (conn->cache_state == RXRPC_CONN_CLIENT_WAITING && in rxrpc_disconnect_client_call() [all …]
|
| D | ar-internal.h | 444 enum rxrpc_conn_cache_state cache_state; member
|
| /Linux-v4.19/drivers/md/ |
| D | raid5-cache.c | 441 set_bit(R5C_LOG_CRITICAL, &conf->cache_state); in r5c_update_log_state() 443 if (test_bit(R5C_LOG_CRITICAL, &conf->cache_state)) in r5c_update_log_state() 445 clear_bit(R5C_LOG_CRITICAL, &conf->cache_state); in r5c_update_log_state() 448 set_bit(R5C_LOG_TIGHT, &conf->cache_state); in r5c_update_log_state() 450 clear_bit(R5C_LOG_TIGHT, &conf->cache_state); in r5c_update_log_state() 1074 if (test_bit(R5C_LOG_CRITICAL, &conf->cache_state) && in r5l_write_stripe() 1248 test_bit(R5C_LOG_TIGHT, &conf->cache_state)) in __r5l_stripe_write_finished() 1478 if (test_bit(R5C_LOG_TIGHT, &conf->cache_state)) { in r5c_do_reclaim() 1502 if (!test_bit(R5C_LOG_CRITICAL, &conf->cache_state)) in r5c_do_reclaim() 2777 clear_bit(R5C_EXTRA_PAGE_IN_USE, &conf->cache_state); in r5c_release_extra_page() [all …]
|
| D | raid5.h | 668 unsigned long cache_state; member
|
| D | raid5.c | 652 if (!test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) { in raid5_get_active_stripe() 655 &conf->cache_state)) in raid5_get_active_stripe() 657 &conf->cache_state); in raid5_get_active_stripe() 665 &conf->cache_state); in raid5_get_active_stripe() 673 &conf->cache_state)), in raid5_get_active_stripe() 676 &conf->cache_state); in raid5_get_active_stripe() 3075 if (test_bit(R5C_LOG_CRITICAL, &conf->cache_state) && in delay_towrite() 3937 &conf->cache_state)) { in handle_stripe_dirtying() 5089 if (test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) in raid5_congested() 5093 if (test_bit(R5C_LOG_TIGHT, &conf->cache_state)) in raid5_congested() [all …]
|
| /Linux-v4.19/fs/btrfs/ |
| D | extent_io.c | 825 static void cache_state(struct extent_state *state, in cache_state() function 895 cache_state(prealloc, cached_state); in __set_extent_bit() 918 cache_state(state, cached_state); in __set_extent_bit() 964 cache_state(state, cached_state); in __set_extent_bit() 1002 cache_state(prealloc, cached_state); in __set_extent_bit() 1027 cache_state(prealloc, cached_state); in __set_extent_bit() 1132 cache_state(prealloc, cached_state); in convert_extent_bit() 1149 cache_state(state, cached_state); in convert_extent_bit() 1190 cache_state(state, cached_state); in convert_extent_bit() 1230 cache_state(prealloc, cached_state); in convert_extent_bit() [all …]
|
| /Linux-v4.19/include/trace/events/ |
| D | rxrpc.h | 602 __entry->cs = conn->cache_state;
|