Searched refs:gen_lock (Results 1 – 6 of 6) sorted by relevance
30 int gen_lock; member
89 spin_lock(&si->gen_lock); in enetc_set_congestion_mode()107 spin_unlock(&si->gen_lock); in enetc_set_congestion_mode()2747 spin_lock(&si->gen_lock); in enetc_enable_rx_bdrs()2752 spin_unlock(&si->gen_lock); in enetc_enable_rx_bdrs()2786 spin_lock(&si->gen_lock); in enetc_disable_rx_bdrs()2791 spin_unlock(&si->gen_lock); in enetc_disable_rx_bdrs()3387 spin_lock(&si->gen_lock); in enetc_enable_rxvlan()3392 spin_unlock(&si->gen_lock); in enetc_enable_rxvlan()3723 spin_lock_init(&si->gen_lock); in enetc_pci_probe()
317 spinlock_t gen_lock; member
601 seqcount_spinlock_t gen_lock; /* lock against generation changes */ member
593 seq = read_seqcount_begin(&conf->gen_lock); in init_stripe()614 if (read_seqcount_retry(&conf->gen_lock, seq)) in init_stripe()6092 seq = read_seqcount_begin(&conf->gen_lock); in make_stripe_request()6131 if (read_seqcount_retry(&conf->gen_lock, seq)) { in make_stripe_request()7698 seqcount_spinlock_init(&conf->gen_lock, &conf->device_lock); in setup_conf()8693 write_seqcount_begin(&conf->gen_lock); in raid5_start_reshape()8710 write_seqcount_end(&conf->gen_lock); in raid5_start_reshape()
2714 chan->config.gen_lock = cfg->gen_lock; in xilinx_vdma_channel_set_config()2718 if (cfg->gen_lock && chan->genlock) { in xilinx_vdma_channel_set_config()