Searched refs:gen_lock (Results 1 – 4 of 4) sorted by relevance
30 int gen_lock; member
605 seqcount_spinlock_t gen_lock; /* lock against generation changes */ member
588 seq = read_seqcount_begin(&conf->gen_lock); in init_stripe()609 if (read_seqcount_retry(&conf->gen_lock, seq)) in init_stripe()5980 seq = read_seqcount_begin(&conf->gen_lock); in make_stripe_request()6036 if (read_seqcount_retry(&conf->gen_lock, seq)) { in make_stripe_request()7495 seqcount_spinlock_init(&conf->gen_lock, &conf->device_lock); in setup_conf()8499 write_seqcount_begin(&conf->gen_lock); in raid5_start_reshape()8516 write_seqcount_end(&conf->gen_lock); in raid5_start_reshape()8575 write_seqcount_begin(&conf->gen_lock); in raid5_start_reshape()8586 write_seqcount_end(&conf->gen_lock); in raid5_start_reshape()
2511 chan->config.gen_lock = cfg->gen_lock; in xilinx_vdma_channel_set_config()2515 if (cfg->gen_lock && chan->genlock) { in xilinx_vdma_channel_set_config()