Lines Matching refs:sequence
1085 new->sequence = counter; in nfs_alloc_seqid()
1093 struct nfs_seqid_counter *sequence; in nfs_release_seqid() local
1097 sequence = seqid->sequence; in nfs_release_seqid()
1098 spin_lock(&sequence->lock); in nfs_release_seqid()
1100 if (!list_empty(&sequence->list)) { in nfs_release_seqid()
1103 next = list_first_entry(&sequence->list, in nfs_release_seqid()
1105 rpc_wake_up_queued_task(&sequence->wait, next->task); in nfs_release_seqid()
1107 spin_unlock(&sequence->lock); in nfs_release_seqid()
1127 if (seqid->sequence->flags & NFS_SEQID_CONFIRMED) in nfs_increment_seqid()
1132 seqid->sequence); in nfs_increment_seqid()
1148 seqid->sequence->counter++; in nfs_increment_seqid()
1158 sp = container_of(seqid->sequence, struct nfs4_state_owner, so_seqid); in nfs_increment_open_seqid()
1178 struct nfs_seqid_counter *sequence; in nfs_wait_on_sequence() local
1183 sequence = seqid->sequence; in nfs_wait_on_sequence()
1184 spin_lock(&sequence->lock); in nfs_wait_on_sequence()
1187 list_add_tail(&seqid->list, &sequence->list); in nfs_wait_on_sequence()
1188 if (list_first_entry(&sequence->list, struct nfs_seqid, list) == seqid) in nfs_wait_on_sequence()
1190 rpc_sleep_on(&sequence->wait, task, NULL); in nfs_wait_on_sequence()
1193 spin_unlock(&sequence->lock); in nfs_wait_on_sequence()