Home
last modified time | relevance | path

Searched refs:tl (Results 1 – 25 of 118) sorted by relevance

12345

/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_timeline.c175 return tl; in intel_timeline_create_from_engine()
182 return tl; in intel_timeline_create_from_engine()
212 tl->fence_context, tl->hwsp_offset); in intel_timeline_pin()
302 GEM_BUG_ON(tl->seqno & tl->has_initial_breadcrumb); in timeline_advance()
304 return tl->seqno += 1 + tl->has_initial_breadcrumb; in timeline_advance()
318 tl->hwsp_seqno = tl->hwsp_map + next_ofs; in __intel_timeline_get_seqno()
350 tl = NULL; in intel_timeline_read_hwsp()
352 if (tl) { in intel_timeline_read_hwsp()
361 tl = NULL; in intel_timeline_read_hwsp()
365 if (!tl) in intel_timeline_read_hwsp()
[all …]
A Dselftest_timeline.c81 tl = xchg(&state->history[idx], tl); in __mock_hwsp_record()
82 if (tl) { in __mock_hwsp_record()
101 if (IS_ERR(tl)) in __mock_hwsp_timeline()
496 if (READ_ONCE(*tl->hwsp_seqno) != tl->seqno) { in checked_tl_write()
498 *tl->hwsp_seqno, tl->seqno); in checked_tl_write()
586 n, tl->fence_context, tl->hwsp_offset, *tl->hwsp_seqno); in live_hwsp_engine()
658 n, tl->fence_context, tl->hwsp_offset, *tl->hwsp_seqno); in live_hwsp_alternate()
684 if (IS_ERR(tl)) in live_hwsp_wrap()
1197 WRITE_ONCE(*(u32 *)tl->hwsp_seqno, tl->seqno); in live_hwsp_rollover_kernel()
1284 WRITE_ONCE(*(u32 *)tl->hwsp_seqno, tl->seqno); in live_hwsp_rollover_user()
[all …]
A Dintel_gt_requests.c78 retire_requests(tl); in engine_retire()
79 mutex_unlock(&tl->mutex); in engine_retire()
81 intel_timeline_put(tl); in engine_retire()
84 tl = ptr_mask_bits(next, 1); in engine_retire()
85 } while (tl); in engine_retire()
103 intel_timeline_get(tl); in add_retire()
118 if (add_retire(engine, tl)) in intel_engine_add_retire()
149 intel_timeline_get(tl); in intel_gt_retire_requests_timeout()
174 if (!retire_requests(tl)) in intel_gt_retire_requests_timeout()
176 mutex_unlock(&tl->mutex); in intel_gt_retire_requests_timeout()
[all …]
A Dintel_timeline.h48 return i915_syncmap_set(&tl->sync, context, seqno); in __intel_timeline_sync_set()
51 static inline int intel_timeline_sync_set(struct intel_timeline *tl, in intel_timeline_sync_set() argument
60 return i915_syncmap_is_later(&tl->sync, context, seqno); in __intel_timeline_sync_is_later()
69 void __intel_timeline_pin(struct intel_timeline *tl);
71 void intel_timeline_enter(struct intel_timeline *tl);
72 int intel_timeline_get_seqno(struct intel_timeline *tl,
75 void intel_timeline_exit(struct intel_timeline *tl);
76 void intel_timeline_unpin(struct intel_timeline *tl);
78 void intel_timeline_reset_seqno(const struct intel_timeline *tl);
95 intel_timeline_is_last(const struct intel_timeline *tl, in intel_timeline_is_last() argument
[all …]
A Dselftest_context.c17 struct intel_timeline *tl = i915_request_timeline(rq); in request_sync() local
21 intel_timeline_get(tl); in request_sync()
35 lockdep_unpin_lock(&tl->mutex, rq->cookie); in request_sync()
36 mutex_unlock(&tl->mutex); in request_sync()
39 intel_timeline_put(tl); in request_sync()
46 struct intel_timeline *tl = ce->timeline; in context_sync() local
49 mutex_lock(&tl->mutex); in context_sync()
54 if (list_empty(&tl->requests)) in context_sync()
57 rq = list_last_entry(&tl->requests, typeof(*rq), link); in context_sync()
68 mutex_unlock(&tl->mutex); in context_sync()
A Dintel_context.h244 struct intel_timeline *tl = ce->timeline; in intel_context_timeline_lock() local
248 err = mutex_lock_interruptible_nested(&tl->mutex, 0); in intel_context_timeline_lock()
250 err = mutex_lock_interruptible_nested(&tl->mutex, in intel_context_timeline_lock()
253 err = mutex_lock_interruptible(&tl->mutex); in intel_context_timeline_lock()
257 return tl; in intel_context_timeline_lock()
260 static inline void intel_context_timeline_unlock(struct intel_timeline *tl) in intel_context_timeline_unlock() argument
261 __releases(&tl->mutex) in intel_context_timeline_unlock()
263 mutex_unlock(&tl->mutex); in intel_context_timeline_unlock()
A Dmock_engine.c16 static int mock_timeline_pin(struct intel_timeline *tl) in mock_timeline_pin() argument
20 if (WARN_ON(!i915_gem_object_trylock(tl->hwsp_ggtt->obj, NULL))) in mock_timeline_pin()
23 err = intel_timeline_pin_map(tl); in mock_timeline_pin()
24 i915_gem_object_unlock(tl->hwsp_ggtt->obj); in mock_timeline_pin()
28 atomic_inc(&tl->pin_count); in mock_timeline_pin()
32 static void mock_timeline_unpin(struct intel_timeline *tl) in mock_timeline_unpin() argument
34 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in mock_timeline_unpin()
35 atomic_dec(&tl->pin_count); in mock_timeline_unpin()
/linux-6.3-rc2/fs/cifs/
A Ddfs_cache.h49 dfs_cache_get_next_tgt(struct dfs_cache_tgt_list *tl, in dfs_cache_get_next_tgt() argument
52 if (!tl || list_empty(&tl->tl_list) || !it || in dfs_cache_get_next_tgt()
53 list_is_last(&it->it_list, &tl->tl_list)) in dfs_cache_get_next_tgt()
59 dfs_cache_get_tgt_iterator(struct dfs_cache_tgt_list *tl) in dfs_cache_get_tgt_iterator() argument
61 if (!tl) in dfs_cache_get_tgt_iterator()
63 return list_first_entry_or_null(&tl->tl_list, in dfs_cache_get_tgt_iterator()
72 if (!tl || list_empty(&tl->tl_list)) in dfs_cache_free_tgts()
74 list_for_each_entry_safe(it, nit, &tl->tl_list, it_list) { in dfs_cache_free_tgts()
79 tl->tl_numtgts = 0; in dfs_cache_free_tgts()
89 dfs_cache_get_nr_tgts(const struct dfs_cache_tgt_list *tl) in dfs_cache_get_nr_tgts() argument
[all …]
A Ddfs.c190 struct dfs_cache_tgt_list tl = DFS_CACHE_TGT_LIST_INIT(tl); in __dfs_mount_share() local
196 tit = dfs_cache_get_tgt_iterator(&tl); in __dfs_mount_share()
201 dfs_cache_free_tgts(&tl); in __dfs_mount_share()
232 dfs_cache_free_tgts(&tl); in __dfs_mount_share()
356 struct dfs_cache_tgt_list *tl) in __tree_connect_dfs_target() argument
367 tit = dfs_cache_get_tgt_iterator(tl); in __tree_connect_dfs_target()
426 dfs_cache_free_tgts(tl); in __tree_connect_dfs_target()
446 struct dfs_cache_tgt_list *tl) in tree_connect_dfs_target() argument
465 dfs_cache_free_tgts(tl); in tree_connect_dfs_target()
476 struct dfs_cache_tgt_list tl = DFS_CACHE_TGT_LIST_INIT(tl); in cifs_tree_connect() local
[all …]
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_debugdump.c58 struct nfp_dump_tl tl; member
64 struct nfp_dump_tl tl; member
70 struct nfp_dump_tl tl; member
78 struct nfp_dump_tl tl; member
87 struct nfp_dump_tl tl; member
92 struct nfp_dump_tl tl; member
126 tl = p; in nfp_traverse_tlvs()
127 if (!tl->type && !tl->length) in nfp_traverse_tlvs()
130 if (be32_to_cpu(tl->length) > remaining - sizeof(*tl)) in nfp_traverse_tlvs()
133 total_tlv_size = sizeof(*tl) + be32_to_cpu(tl->length); in nfp_traverse_tlvs()
[all …]
/linux-6.3-rc2/crypto/
A Dvmac.c151 int i; u64 th, tl; \
156 ADD128(rh, rl, th, tl); \
162 int i; u64 th, tl; \
167 ADD128(rh, rl, th, tl); \
177 int i; u64 th, tl; \
182 ADD128(rh, rl, th, tl); \
185 ADD128(rh, rl, th, tl); \
188 ADD128(rh, rl, th, tl); \
191 ADD128(rh, rl, th, tl); \
197 int i; u64 th, tl; \
[all …]
A Dcamellia_generic.c359 u32 dw, tl, tr; in camellia_setup_tail() local
458 tl = subL[10] ^ (subR[10] & ~subR[8]); in camellia_setup_tail()
459 dw = tl & subL[8]; /* FL(kl1) */ in camellia_setup_tail()
467 tl = subL[7] ^ (subR[7] & ~subR[9]); in camellia_setup_tail()
468 dw = tl & subL[9]; /* FLinv(kl2) */ in camellia_setup_tail()
480 tl = subL[18] ^ (subR[18] & ~subR[16]); in camellia_setup_tail()
481 dw = tl & subL[16]; /* FL(kl3) */ in camellia_setup_tail()
489 tl = subL[15] ^ (subR[15] & ~subR[17]); in camellia_setup_tail()
490 dw = tl & subL[17]; /* FLinv(kl4) */ in camellia_setup_tail()
509 dw = tl & subL[24]; /* FL(kl5) */ in camellia_setup_tail()
[all …]
/linux-6.3-rc2/drivers/isdn/mISDN/
A Dfsm.c98 struct FsmTimer *ft = from_timer(ft, t, tl); in FsmExpireTimer()
114 timer_setup(&ft->tl, FsmExpireTimer, 0); in mISDN_FsmInitTimer()
126 del_timer(&ft->tl); in mISDN_FsmDelTimer()
141 if (timer_pending(&ft->tl)) { in mISDN_FsmAddTimer()
152 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmAddTimer()
153 add_timer(&ft->tl); in mISDN_FsmAddTimer()
169 if (timer_pending(&ft->tl)) in mISDN_FsmRestartTimer()
170 del_timer(&ft->tl); in mISDN_FsmRestartTimer()
173 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmRestartTimer()
174 add_timer(&ft->tl); in mISDN_FsmRestartTimer()
A Dtimerdev.c39 struct timer_list tl; member
77 timer_shutdown_sync(&timer->tl); in mISDN_close()
158 struct mISDNtimer *timer = from_timer(timer, t, tl); in dev_expire_timer()
183 timer_setup(&timer->tl, dev_expire_timer, 0); in misdn_add_timer()
189 timer->tl.expires = jiffies + ((HZ * (u_long)timeout) / 1000); in misdn_add_timer()
190 add_timer(&timer->tl); in misdn_add_timer()
207 timer_shutdown_sync(&timer->tl); in misdn_del_timer()
A Ddsp_tones.c462 struct dsp *dsp = from_timer(dsp, t, tone.tl); in dsp_tone_timeout()
481 tone->tl.expires = jiffies + (pat->seq[index] * HZ) / 8000; in dsp_tone_timeout()
482 add_timer(&tone->tl); in dsp_tone_timeout()
507 if (dsp->features.hfc_loops && timer_pending(&tonet->tl)) in dsp_tone()
508 del_timer(&tonet->tl); in dsp_tone()
541 if (timer_pending(&tonet->tl)) in dsp_tone()
542 del_timer(&tonet->tl); in dsp_tone()
543 tonet->tl.expires = jiffies + (pat->seq[0] * HZ) / 8000; in dsp_tone()
544 add_timer(&tonet->tl); in dsp_tone()
/linux-6.3-rc2/drivers/s390/net/
A Dfsm.c135 fsm_timer *this = from_timer(this, t, tl); in fsm_expire_timer()
151 timer_setup(&this->tl, fsm_expire_timer, 0); in fsm_settimer()
161 del_timer(&this->tl); in fsm_deltimer()
173 timer_setup(&this->tl, fsm_expire_timer, 0); in fsm_addtimer()
176 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_addtimer()
177 add_timer(&this->tl); in fsm_addtimer()
191 del_timer(&this->tl); in fsm_modtimer()
192 timer_setup(&this->tl, fsm_expire_timer, 0); in fsm_modtimer()
195 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_modtimer()
196 add_timer(&this->tl); in fsm_modtimer()
/linux-6.3-rc2/fs/ext4/
A Dfast_commit.c691 struct ext4_fc_tl tl; in ext4_fc_reserve_space() local
756 struct ext4_fc_tl tl; in ext4_fc_write_tail() local
799 struct ext4_fc_tl tl; in ext4_fc_add_tlv() local
820 struct ext4_fc_tl tl; in ext4_fc_add_dentry_tlv() local
852 struct ext4_fc_tl tl; in ext4_fc_write_inode() local
2036 struct ext4_fc_tl_mem tl; in ext4_fc_replay_scan() local
2071 !ext4_fc_value_len_isvalid(sbi, tl.fc_tag, tl.fc_len)) { in ext4_fc_replay_scan()
2078 switch (tl.fc_tag) { in ext4_fc_replay_scan()
2199 switch (tl.fc_tag) { in ext4_fc_replay()
2220 tl.fc_len, 0); in ext4_fc_replay()
[all …]
/linux-6.3-rc2/arch/x86/crypto/
A Dcamellia_glue.c800 u32 dw, tl, tr; in camellia_setup_tail() local
912 dw = tl & (subRL[8] >> 32); /* FL(kl1) */ in camellia_setup_tail()
914 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
920 tl = (subRL[7] >> 32) ^ (subRL[7] & ~subRL[9]); in camellia_setup_tail()
923 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
932 dw = tl & (subRL[16] >> 32); /* FL(kl3) */ in camellia_setup_tail()
934 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
943 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
956 dw = tl & (subRL[24] >> 32); /* FL(kl5) */ in camellia_setup_tail()
958 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_request.c854 if (list_empty(&tl->requests)) in request_alloc_slow()
871 retire_requests(tl); in request_alloc_slow()
961 tl->fence_context, seqno); in __i915_request_create()
963 RCU_INIT_POINTER(rq->timeline, tl); in __i915_request_create()
964 rq->hwsp_seqno = tl->hwsp_seqno; in __i915_request_create()
1036 struct intel_timeline *tl; in i915_request_create() local
1039 if (IS_ERR(tl)) in i915_request_create()
1040 return ERR_CAST(tl); in i915_request_create()
1059 intel_context_timeline_unlock(tl); in i915_request_create()
1844 lockdep_assert_held(&tl->mutex); in i915_request_add()
[all …]
/linux-6.3-rc2/lib/
A Dinflate.c618 if ((e = (t = tl + ((unsigned)b & ml))->e) > 16) in inflate_codes()
804 huft_free(tl); in inflate_fixed()
813 if (inflate_codes(tl, td, bl, bd)) { in inflate_fixed()
820 huft_free(tl); in inflate_fixed()
904 huft_free(tl); in inflate_dynamic()
918 j = (td = tl + ((unsigned)b & m))->b; in inflate_dynamic()
966 huft_free(tl); in inflate_dynamic()
983 huft_free(tl); in inflate_dynamic()
1001 huft_free(tl); in inflate_dynamic()
1010 if (inflate_codes(tl, td, bl, bd)) {
[all …]
/linux-6.3-rc2/kernel/sched/
A Dtopology.c1560 if (tl->sd_flags) in sd_init()
1593 .name = tl->name, in sd_init()
1677 for (tl = sched_domain_topology; tl->mask; tl++)
1684 sched_domain_topology = tl; in set_sched_topology()
1917 if (!tl) in sched_init_numa()
1949 sched_domain_topology = tl; in sched_init_numa()
2172 for_each_sd_topology(tl) { in __sdt_alloc()
2241 for_each_sd_topology(tl) { in __sdt_free()
2330 if (!cpumask_equal(tl->mask(cpu), tl->mask(i)) && in topology_span_sane()
2331 cpumask_intersects(tl->mask(cpu), tl->mask(i))) in topology_span_sane()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A Dqed_vf.h55 struct channel_tlv tl; member
62 struct channel_tlv tl; member
74 struct channel_tlv tl; member
123 struct channel_tlv tl; member
232 struct channel_tlv tl; member
345 struct channel_tlv tl; member
353 struct channel_tlv tl; member
359 struct channel_tlv tl; member
365 struct channel_tlv tl; member
377 struct channel_tlv tl; member
[all …]
/linux-6.3-rc2/drivers/net/wireless/intel/iwlegacy/
A D4965-rs.c240 while (tl->queue_count && tl->time_stamp < oldest_time) { in il4965_rs_tl_rm_old_stats()
241 tl->total -= tl->packet_count[tl->head]; in il4965_rs_tl_rm_old_stats()
242 tl->packet_count[tl->head] = 0; in il4965_rs_tl_rm_old_stats()
244 tl->queue_count--; in il4965_rs_tl_rm_old_stats()
245 tl->head++; in il4965_rs_tl_rm_old_stats()
247 tl->head = 0; in il4965_rs_tl_rm_old_stats()
279 tl->total = 1; in il4965_rs_tl_add_packet()
282 tl->head = 0; in il4965_rs_tl_add_packet()
296 tl->packet_count[idx] = tl->packet_count[idx] + 1; in il4965_rs_tl_add_packet()
297 tl->total = tl->total + 1; in il4965_rs_tl_add_packet()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/pxp/
A Dintel_pxp_cmd.c86 struct intel_timeline * const tl = i915_request_timeline(rq); in pxp_request_commit() local
88 lockdep_unpin_lock(&tl->mutex, rq->cookie); in pxp_request_commit()
94 mutex_unlock(&tl->mutex); in pxp_request_commit()
/linux-6.3-rc2/arch/sparc/kernel/
A Detrap_64.S221 rdpr %tl, %g1
223 wrpr %g0, 1, %tl
233 wrpr %g0, 2, %tl
248 wrpr %g0, 3, %tl
258 wrpr %g0, 4, %tl
271 wrpr %g0, 1, %tl

Completed in 69 milliseconds

12345