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
2688 chan->config.gen_lock = cfg->gen_lock; in xilinx_vdma_channel_set_config()2692 if (cfg->gen_lock && chan->genlock) { in xilinx_vdma_channel_set_config()
593 seq = read_seqcount_begin(&conf->gen_lock); in init_stripe() 614 if (read_seqcount_retry(&conf->gen_lock, seq)) in init_stripe() 5961 seq = read_seqcount_begin(&conf->gen_lock); in make_stripe_request() 6000 if (read_seqcount_retry(&conf->gen_lock, seq)) { in make_stripe_request() 7530 seqcount_spinlock_init(&conf->gen_lock, &conf->device_lock); in setup_conf() 8522 write_seqcount_begin(&conf->gen_lock); in raid5_start_reshape() 8539 write_seqcount_end(&conf->gen_lock); in raid5_start_reshape()