/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_fence.c | 123 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 D | amdgpu_ring_mux.c | 80 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 D | amdgpu_debugfs.c | 1818 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 D | amdgpu_job.c | 62 job->base.sched->name, atomic_read(&ring->fence_drv.last_seq),
|
H A D | amdgpu_ring.h | 119 atomic_t last_seq; member in struct:amdgpu_fence_driver
|
/linux-master/include/linux/netfilter/ |
H A D | nf_conntrack_tcp.h | 24 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 D | radeon_fence.c | 97 seq = lower_32_bits(atomic64_read(&drv->last_seq)); 177 seq = atomic64_read(&fence->rdev->fence_drv[fence->ring].last_seq); 199 uint64_t seq, last_seq, last_emitted; local 206 * process needs to update the last_seq btw the atomic read and 212 * polling process and the other process that xchg the last_seq 221 * have temporarly set the last_seq not to the true real last 224 last_seq = atomic64_read(&rdev->fence_drv[ring].last_seq); 228 seq |= last_seq & 0xffffffff00000000LL; 229 if (seq < last_seq) { [all...] |
/linux-master/fs/bcachefs/ |
H A D | journal_io.c | 125 u64 last_seq; member in struct:journal_list 144 u64 last_seq = !JSET_NO_FLUSH(j) ? le64_to_cpu(j->last_seq) : 0; local 154 le64_to_cpu(j->seq) < jlist->last_seq) 166 if (last_seq > jlist->last_seq && !c->opts.read_entire_journal) { 168 journal_entry_radix_idx(c, jlist->last_seq)) { 174 if (le64_to_cpu(i->j.seq) >= last_seq) 181 jlist->last_seq = max(jlist->last_seq, last_se 1190 bch2_journal_read(struct bch_fs *c, u64 *last_seq, u64 *blacklist_seq, u64 *start_seq) argument [all...] |
H A D | journal.c | 275 * We have to set last_seq here, _before_ opening a new journal entry: 283 * pin, so we can only write the updated last_seq on the entry that 286 * Restated, we can _not_ update last_seq for a given entry if there 290 * Hence, we want update/set last_seq on the current journal entry right 293 buf->last_seq = journal_last_seq(j); 294 buf->data->last_seq = cpu_to_le64(buf->last_seq); 295 BUG_ON(buf->last_seq > le64_to_cpu(buf->data->seq)); 1199 u64 last_seq = cur_seq, nr, seq; local 1207 last_seq [all...] |
H A D | journal_types.h | 28 u64 last_seq; /* copy of data->last_seq */ member in struct:journal_buf 231 /* seq, last_seq from the most recent journal entry successfully written */
|
H A D | recovery.c | 587 u64 last_seq = 0, blacklist_seq, journal_seq; local 686 ret = bch2_journal_read(c, &last_seq, &blacklist_seq, &journal_seq); 727 * so last_seq was garbage - but we know 731 (*i)->j.last_seq = (*i)->j.seq; 757 c->journal_replay_seq_start = last_seq; 791 journal_seq, last_seq, blacklist_seq - 1) ?:
|
H A D | journal.h | 79 * 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 D | journal.c | 109 * 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 D | bcache_ondisk.h | 336 * 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 D | 11n_rxreorder.c | 334 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 D | mctp.h | 162 u8 last_seq; member in struct:mctp_sk_key
|
/linux-master/net/rxrpc/ |
H A D | conn_event.c | 156 pkt.ack.firstPacket = htonl(chan->last_seq + 1); 157 pkt.ack.previousPacket = htonl(chan->last_seq);
|
H A D | conn_object.c | 164 chan->last_seq = call->rx_highest_seq;
|
/linux-master/fs/nilfs2/ |
H A D | sysfs.c | 464 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 D | tree-checker.c | 1285 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 D | route.c | 337 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 D | sta.h | 318 * @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 D | rxmq.c | 536 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 D | nf_conntrack_proto_tcp.c | 704 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 D | rtllib_rx.c | 355 u16 *last_seq, *last_frag; local 378 last_seq = &ieee->last_rxseq_num[tid]; 386 if ((*last_seq == seq) && 394 *last_seq = seq;
|