Searched refs:last_seq (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_fence.c123 seq = atomic_read(&drv->last_seq);
276 uint32_t seq, last_seq; local
279 last_seq = atomic_read(&ring->fence_drv.last_seq);
282 } while (atomic_cmpxchg(&drv->last_seq, last_seq, seq) != last_seq);
288 if (unlikely(seq == last_seq))
291 last_seq &= drv->num_fences_mask;
297 ++last_seq;
419 uint32_t last_seq, sync_seq; local
[all...]
H A Damdgpu_ring_mux.c80 uint32_t seq, last_seq; local
99 last_seq = atomic_read(&e->ring->fence_drv.last_seq);
101 if (last_seq < seq) {
102 /*resubmit all the fences between (last_seq, seq]*/
104 if (chunk->sync_seq > last_seq && chunk->sync_seq <= seq) {
463 uint32_t last_seq = 0; local
473 last_seq = atomic_read(&ring->fence_drv.last_seq);
476 if (chunk->sync_seq <= last_seq) {
[all...]
H A Damdgpu_debugfs.c1818 uint32_t sync_seq, last_seq; local
1820 last_seq = atomic_read(&ring->fence_drv.last_seq);
1823 last_seq &= drv->num_fences_mask;
1829 ++last_seq;
1830 last_seq &= drv->num_fences_mask;
1831 ptr = &drv->fences[last_seq];
1839 fences[last_seq] = fence;
1841 } while (last_seq != sync_seq);
1886 if (preempt_seq <= atomic_read(&drv->last_seq)) {
[all...]
H A Damdgpu_job.c62 job->base.sched->name, atomic_read(&ring->fence_drv.last_seq),
H A Damdgpu_ring.h119 atomic_t last_seq; member in struct:amdgpu_fence_driver
/linux-master/include/linux/netfilter/
H A Dnf_conntrack_tcp.h24 u_int32_t last_seq; /* Last sequence number seen in dir */ member in struct:ip_ct_tcp
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_fence.c96 seq = lower_32_bits(atomic64_read(&drv->last_seq));
176 seq = atomic64_read(&fence->rdev->fence_drv[fence->ring].last_seq);
198 uint64_t seq, last_seq, last_emitted; local
205 * process needs to update the last_seq btw the atomic read and
211 * polling process and the other process that xchg the last_seq
220 * have temporarly set the last_seq not to the true real last
223 last_seq = atomic64_read(&rdev->fence_drv[ring].last_seq);
227 seq |= last_seq & 0xffffffff00000000LL;
228 if (seq < last_seq) {
[all...]
/linux-master/fs/bcachefs/
H A Djournal_io.c102 u64 last_seq; member in struct:journal_list
121 u64 last_seq = !JSET_NO_FLUSH(j) ? le64_to_cpu(j->last_seq) : 0; local
127 le64_to_cpu(j->seq) < jlist->last_seq)
139 if (last_seq > jlist->last_seq && !c->opts.read_entire_journal) {
141 journal_entry_radix_idx(c, jlist->last_seq)) {
147 if (le64_to_cpu(i->j.seq) >= last_seq)
154 jlist->last_seq = max(jlist->last_seq, last_se
1210 bch2_journal_read(struct bch_fs *c, u64 *last_seq, u64 *blacklist_seq, u64 *start_seq) argument
[all...]
H A Djournal.c285 * We have to set last_seq here, _before_ opening a new journal entry:
293 * pin, so we can only write the updated last_seq on the entry that
296 * Restated, we can _not_ update last_seq for a given entry if there
300 * Hence, we want update/set last_seq on the current journal entry right
303 buf->last_seq = journal_last_seq(j);
304 buf->data->last_seq = cpu_to_le64(buf->last_seq);
305 BUG_ON(buf->last_seq > le64_to_cpu(buf->data->seq));
1197 u64 last_seq = cur_seq, nr, seq; local
1205 last_seq
[all...]
H A Djournal_types.h28 u64 last_seq; /* copy of data->last_seq */ member in struct:journal_buf
226 /* seq, last_seq from the most recent journal entry successfully written */
H A Drecovery.c569 u64 last_seq = 0, blacklist_seq, journal_seq; local
668 ret = bch2_journal_read(c, &last_seq, &blacklist_seq, &journal_seq);
709 * so last_seq was garbage - but we know
713 (*i)->j.last_seq = (*i)->j.seq;
739 c->journal_replay_seq_start = last_seq;
773 journal_seq, last_seq, blacklist_seq - 1) ?:
H A Djournal.h79 * On disk, this is represented with the "last_seq" field of struct jset;
80 * last_seq is the first sequence number that journal replay has to replay.
84 * any journal entry it contains. Then, by comparing that against last_seq we
241 if (j->seq != j->last_seq)
/linux-master/drivers/md/bcache/
H A Djournal.c109 * Check from the oldest jset for last_seq. If
110 * i->j.seq < j->last_seq, it means the oldest jset
118 if (i->j.seq >= j->last_seq)
130 * if j->seq is less than any i->j.last_seq
133 if (j->seq < i->j.last_seq)
356 uint64_t start = i->j.last_seq, end = i->j.seq, n = start;
569 #define last_seq(j) ((j)->seq - fifo_used(&(j)->pin) + 1) macro
653 uint64_t last_seq; local
662 last_seq = last_seq(
[all...]
H A Dbcache_ondisk.h336 * last_seq is the oldest journal entry that still has keys the btree hasn't
353 __u64 last_seq; member in struct:jset
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A D11n_rxreorder.c334 u16 last_seq = 0; local
363 last_seq = node->rx_seq[tid];
368 last_seq = node->rx_seq[tid];
370 last_seq = priv->rx_seq[tid];
375 "info: last_seq=%d start_win=%d\n",
376 last_seq, new_node->start_win);
378 if (last_seq != MWIFIEX_DEF_11N_RX_SEQ_NUM &&
379 last_seq >= new_node->start_win) {
380 new_node->start_win = last_seq + 1;
/linux-master/include/net/
H A Dmctp.h162 u8 last_seq; member in struct:mctp_sk_key
/linux-master/net/rxrpc/
H A Dconn_event.c156 pkt.ack.firstPacket = htonl(chan->last_seq + 1);
157 pkt.ack.previousPacket = htonl(chan->last_seq);
H A Dconn_object.c169 chan->last_seq = call->rx_highest_seq;
/linux-master/fs/nilfs2/
H A Dsysfs.c464 u64 last_seq; local
467 last_seq = nilfs->ns_last_seq;
470 return sysfs_emit(buf, "%llu\n", last_seq);
/linux-master/fs/btrfs/
H A Dtree-checker.c1285 u64 last_seq = U64_MAX; local
1511 last_seq = U64_MAX;
1512 if (seq > last_seq) {
1516 last_type, last_seq);
1520 last_seq = seq;
/linux-master/net/mctp/
H A Droute.c337 key->last_seq = this_seq;
341 exp_seq = (key->last_seq + 1) & MCTP_HDR_SEQ_MASK;
354 key->last_seq = this_seq;
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsta.h318 * @last_seq: last sequence per tid for duplicate packet detection
322 __le16 last_seq[IWL_MAX_TID_COUNT + 1]; member in struct:iwl_mvm_rxq_dup_data
H A Drxmq.c536 dup_data->last_seq[tid] == hdr->seq_ctrl &&
541 if (dup_data->last_seq[tid] == hdr->seq_ctrl &&
546 dup_data->last_seq[tid] = hdr->seq_ctrl;
/linux-master/net/netfilter/
H A Dnf_conntrack_proto_tcp.c704 state->last_seq == seq &&
711 state->last_seq = seq;
1072 ct->proto.tcp.last_seq = ntohl(th->seq);
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_rx.c355 u16 *last_seq, *last_frag; local
378 last_seq = &ieee->last_rxseq_num[tid];
386 if ((*last_seq == seq) &&
394 *last_seq = seq;

Completed in 428 milliseconds

12