Home
last modified time | relevance | path

Searched refs:last_seq (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fence.c125 seq = atomic_read(&drv->last_seq); in amdgpu_fence_read()
277 uint32_t seq, last_seq; in amdgpu_fence_process() local
280 last_seq = atomic_read(&ring->fence_drv.last_seq); in amdgpu_fence_process()
283 } while (atomic_cmpxchg(&drv->last_seq, last_seq, seq) != last_seq); in amdgpu_fence_process()
289 if (unlikely(seq == last_seq)) in amdgpu_fence_process()
292 last_seq &= drv->num_fences_mask; in amdgpu_fence_process()
298 ++last_seq; in amdgpu_fence_process()
299 last_seq &= drv->num_fences_mask; in amdgpu_fence_process()
300 ptr = &drv->fences[last_seq]; in amdgpu_fence_process()
313 } while (last_seq != seq); in amdgpu_fence_process()
[all …]
Damdgpu_ring_mux.c80 uint32_t seq, last_seq; in amdgpu_mux_resubmit_chunks() local
99 last_seq = atomic_read(&e->ring->fence_drv.last_seq); in amdgpu_mux_resubmit_chunks()
101 if (last_seq < seq) { in amdgpu_mux_resubmit_chunks()
104 if (chunk->sync_seq > last_seq && chunk->sync_seq <= seq) { in amdgpu_mux_resubmit_chunks()
465 uint32_t last_seq = 0; in scan_and_remove_signaled_chunk() local
475 last_seq = atomic_read(&ring->fence_drv.last_seq); in scan_and_remove_signaled_chunk()
478 if (chunk->sync_seq <= last_seq) { in scan_and_remove_signaled_chunk()
Damdgpu_debugfs.c1806 uint32_t sync_seq, last_seq; in amdgpu_ib_preempt_fences_swap() local
1808 last_seq = atomic_read(&ring->fence_drv.last_seq); in amdgpu_ib_preempt_fences_swap()
1811 last_seq &= drv->num_fences_mask; in amdgpu_ib_preempt_fences_swap()
1817 ++last_seq; in amdgpu_ib_preempt_fences_swap()
1818 last_seq &= drv->num_fences_mask; in amdgpu_ib_preempt_fences_swap()
1819 ptr = &drv->fences[last_seq]; in amdgpu_ib_preempt_fences_swap()
1827 fences[last_seq] = fence; in amdgpu_ib_preempt_fences_swap()
1829 } while (last_seq != sync_seq); in amdgpu_ib_preempt_fences_swap()
1874 if (preempt_seq <= atomic_read(&drv->last_seq)) { in amdgpu_ib_preempt_mark_partial_job()
1941 if (atomic_read(&ring->fence_drv.last_seq) != in amdgpu_debugfs_ib_preempt()
Damdgpu_job.c63 job->base.sched->name, atomic_read(&ring->fence_drv.last_seq), in amdgpu_job_timedout()
Damdgpu_ring.h116 atomic_t last_seq; member
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_fence.c97 seq = lower_32_bits(atomic64_read(&drv->last_seq)); in radeon_fence_read()
177 seq = atomic64_read(&fence->rdev->fence_drv[fence->ring].last_seq); in radeon_fence_check_signaled()
199 uint64_t seq, last_seq, last_emitted; in radeon_fence_activity() local
224 last_seq = atomic64_read(&rdev->fence_drv[ring].last_seq); in radeon_fence_activity()
228 seq |= last_seq & 0xffffffff00000000LL; in radeon_fence_activity()
229 if (seq < last_seq) { in radeon_fence_activity()
234 if (seq <= last_seq || seq > last_emitted) { in radeon_fence_activity()
242 last_seq = seq; in radeon_fence_activity()
251 } while (atomic64_xchg(&rdev->fence_drv[ring].last_seq, seq) > seq); in radeon_fence_activity()
301 (uint64_t)atomic64_read(&fence_drv->last_seq), in radeon_fence_check_lockup()
[all …]
/linux-6.6.21/drivers/md/bcache/
Djournal.c118 if (i->j.seq >= j->last_seq) in journal_read_bucket()
133 if (j->seq < i->j.last_seq) in journal_read_bucket()
356 uint64_t start = i->j.last_seq, end = i->j.seq, n = start; in bch_journal_replay()
569 #define last_seq(j) ((j)->seq - fifo_used(&(j)->pin) + 1) macro
653 uint64_t last_seq; in journal_reclaim() local
662 last_seq = last_seq(&c->journal); in journal_reclaim()
667 ja->seq[ja->last_idx] < last_seq) in journal_reclaim()
785 w->data->last_seq = last_seq(&c->journal); in journal_write_unlocked()
Dbcache_ondisk.h353 __u64 last_seq; member
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
D11n_rxreorder.c334 u16 last_seq = 0; in mwifiex_11n_create_rx_reorder_tbl() local
363 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
368 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
370 last_seq = priv->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
376 last_seq, new_node->start_win); in mwifiex_11n_create_rx_reorder_tbl()
378 if (last_seq != MWIFIEX_DEF_11N_RX_SEQ_NUM && in mwifiex_11n_create_rx_reorder_tbl()
379 last_seq >= new_node->start_win) { in mwifiex_11n_create_rx_reorder_tbl()
380 new_node->start_win = last_seq + 1; in mwifiex_11n_create_rx_reorder_tbl()
/linux-6.6.21/include/linux/netfilter/
Dnf_conntrack_tcp.h24 u_int32_t last_seq; /* Last sequence number seen in dir */ member
/linux-6.6.21/include/net/
Dmctp.h161 u8 last_seq; member
/linux-6.6.21/net/rxrpc/
Dconn_event.c156 pkt.ack.firstPacket = htonl(chan->last_seq + 1); in rxrpc_conn_retransmit_call()
157 pkt.ack.previousPacket = htonl(chan->last_seq); in rxrpc_conn_retransmit_call()
Dconn_object.c168 chan->last_seq = call->rx_highest_seq; in __rxrpc_disconnect_call()
Dar-internal.h486 u32 last_seq; member
/linux-6.6.21/fs/nilfs2/
Dsysfs.c464 u64 last_seq; in nilfs_segctor_last_seg_sequence_show() local
467 last_seq = nilfs->ns_last_seq; in nilfs_segctor_last_seg_sequence_show()
470 return sysfs_emit(buf, "%llu\n", last_seq); in nilfs_segctor_last_seg_sequence_show()
/linux-6.6.21/net/mctp/
Droute.c298 key->last_seq = this_seq; in mctp_frag_queue()
302 exp_seq = (key->last_seq + 1) & MCTP_HDR_SEQ_MASK; in mctp_frag_queue()
315 key->last_seq = this_seq; in mctp_frag_queue()
/linux-6.6.21/net/netfilter/
Dnf_conntrack_proto_tcp.c704 state->last_seq == seq && in tcp_in_window()
711 state->last_seq = seq; in tcp_in_window()
1071 ct->proto.tcp.last_seq = ntohl(th->seq); in nf_conntrack_tcp_packet()
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c418 u16 *last_seq, *last_frag; in is_duplicate_packet() local
465 last_seq = &entry->seq_num[tid]; in is_duplicate_packet()
472 last_seq = &ieee->last_rxseq_num[tid]; in is_duplicate_packet()
484 if ((*last_seq == seq) && in is_duplicate_packet()
492 *last_seq = seq; in is_duplicate_packet()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.h329 __le16 last_seq[IWL_MAX_TID_COUNT + 1]; member
Drxmq.c537 dup_data->last_seq[tid] == hdr->seq_ctrl && in iwl_mvm_is_dup()
542 if (dup_data->last_seq[tid] == hdr->seq_ctrl && in iwl_mvm_is_dup()
547 dup_data->last_seq[tid] = hdr->seq_ctrl; in iwl_mvm_is_dup()
Dsta.c1798 memset(dup_data[q].last_seq, 0xff, in iwl_mvm_sta_init()
1799 sizeof(dup_data[q].last_seq)); in iwl_mvm_sta_init()
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_rx.c356 u16 *last_seq, *last_frag; in is_duplicate_packet() local
403 last_seq = &entry->seq_num[tid]; in is_duplicate_packet()
410 last_seq = &ieee->last_rxseq_num[tid]; in is_duplicate_packet()
418 if ((*last_seq == seq) && in is_duplicate_packet()
426 *last_seq = seq; in is_duplicate_packet()
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_crtn.h377 u32 num_entry, u8 rctl, u8 last_seq,
Dlpfc.h956 u8 last_seq, u8 cr_cx_cmd);
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c8080 u16 *last_seq, *last_frag; in is_duplicate_packet() local
8112 last_seq = &entry->seq_num; in is_duplicate_packet()
8118 last_seq = &priv->last_seq_num; in is_duplicate_packet()
8125 if ((*last_seq == seq) && in is_duplicate_packet()
8133 *last_seq = seq; in is_duplicate_packet()

12