Searched refs:gen_lock (Results 1 – 6 of 6) sorted by relevance
193 spin_lock_init(&cache_seg->gen_lock); in cache_seg_init()274 spin_lock(&cache_seg->gen_lock); in cache_seg_gen_increase()276 spin_unlock(&cache_seg->gen_lock); in cache_seg_gen_increase()
108 spin_lock(&cache_seg->gen_lock); in cache_copy_to_req_bio()110 spin_unlock(&cache_seg->gen_lock); in cache_copy_to_req_bio()115 spin_unlock(&cache_seg->gen_lock); in cache_copy_to_req_bio()
87 spinlock_t gen_lock; member
30 int gen_lock; member
2652 chan->config.gen_lock = cfg->gen_lock; in xilinx_vdma_channel_set_config()2656 if (cfg->gen_lock && chan->genlock) { in xilinx_vdma_channel_set_config()
589 seq = read_seqcount_begin(&conf->gen_lock); in init_stripe()610 if (read_seqcount_retry(&conf->gen_lock, seq)) in init_stripe()5957 seq = read_seqcount_begin(&conf->gen_lock); in make_stripe_request()5996 if (read_seqcount_retry(&conf->gen_lock, seq)) { in make_stripe_request()7512 seqcount_spinlock_init(&conf->gen_lock, &conf->device_lock); in setup_conf()8483 write_seqcount_begin(&conf->gen_lock); in raid5_start_reshape()8500 write_seqcount_end(&conf->gen_lock); in raid5_start_reshape()