Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 137) sorted by relevance

123456

/include/linux/
Dunits.h33 static inline long milli_kelvin_to_millicelsius(long t) in milli_kelvin_to_millicelsius() argument
35 return t + ABSOLUTE_ZERO_MILLICELSIUS; in milli_kelvin_to_millicelsius()
38 static inline long millicelsius_to_milli_kelvin(long t) in millicelsius_to_milli_kelvin() argument
40 return t - ABSOLUTE_ZERO_MILLICELSIUS; in millicelsius_to_milli_kelvin()
46 static inline long kelvin_to_millicelsius(long t) in kelvin_to_millicelsius() argument
48 return milli_kelvin_to_millicelsius(t * MILLIDEGREE_PER_DEGREE); in kelvin_to_millicelsius()
51 static inline long millicelsius_to_kelvin(long t) in millicelsius_to_kelvin() argument
53 t = millicelsius_to_milli_kelvin(t); in millicelsius_to_kelvin()
55 return DIV_ROUND_CLOSEST(t, MILLIDEGREE_PER_DEGREE); in millicelsius_to_kelvin()
58 static inline long deci_kelvin_to_celsius(long t) in deci_kelvin_to_celsius() argument
[all …]
Dbtf.h95 int btf_find_spin_lock(const struct btf *btf, const struct btf_type *t);
96 bool btf_type_is_void(const struct btf_type *t);
118 static inline bool btf_type_is_ptr(const struct btf_type *t) in btf_type_is_ptr() argument
120 return BTF_INFO_KIND(t->info) == BTF_KIND_PTR; in btf_type_is_ptr()
123 static inline bool btf_type_is_int(const struct btf_type *t) in btf_type_is_int() argument
125 return BTF_INFO_KIND(t->info) == BTF_KIND_INT; in btf_type_is_int()
128 static inline bool btf_type_is_small_int(const struct btf_type *t) in btf_type_is_small_int() argument
130 return btf_type_is_int(t) && t->size <= sizeof(u64); in btf_type_is_small_int()
133 static inline bool btf_type_is_enum(const struct btf_type *t) in btf_type_is_enum() argument
135 return BTF_INFO_KIND(t->info) == BTF_KIND_ENUM; in btf_type_is_enum()
[all …]
Drcupdate_trace.h34 void rcu_read_unlock_trace_special(struct task_struct *t, int nesting);
50 struct task_struct *t = current; in rcu_read_lock_trace() local
52 WRITE_ONCE(t->trc_reader_nesting, READ_ONCE(t->trc_reader_nesting) + 1); in rcu_read_lock_trace()
55 t->trc_reader_special.b.need_mb) in rcu_read_lock_trace()
72 struct task_struct *t = current; in rcu_read_unlock_trace() local
75 nesting = READ_ONCE(t->trc_reader_nesting) - 1; in rcu_read_unlock_trace()
78 WRITE_ONCE(t->trc_reader_nesting, INT_MIN); in rcu_read_unlock_trace()
79 if (likely(!READ_ONCE(t->trc_reader_special.s)) || nesting) { in rcu_read_unlock_trace()
80 WRITE_ONCE(t->trc_reader_nesting, nesting); in rcu_read_unlock_trace()
83 rcu_read_unlock_trace_special(t, nesting); in rcu_read_unlock_trace()
Dkcov.h27 void kcov_task_init(struct task_struct *t);
28 void kcov_task_exit(struct task_struct *t);
30 #define kcov_prepare_switch(t) \ argument
32 (t)->kcov_mode |= KCOV_IN_CTXSW; \
35 #define kcov_finish_switch(t) \ argument
37 (t)->kcov_mode &= ~KCOV_IN_CTXSW; \
57 static inline void kcov_task_init(struct task_struct *t) {} in kcov_task_init() argument
58 static inline void kcov_task_exit(struct task_struct *t) {} in kcov_task_exit() argument
59 static inline void kcov_prepare_switch(struct task_struct *t) {} in kcov_prepare_switch() argument
60 static inline void kcov_finish_switch(struct task_struct *t) {} in kcov_finish_switch() argument
Dstackleak.h18 static inline void stackleak_task_init(struct task_struct *t) in stackleak_task_init() argument
20 t->lowest_stack = (unsigned long)end_of_stack(t) + sizeof(unsigned long); in stackleak_task_init()
22 t->prev_lowest_stack = t->lowest_stack; in stackleak_task_init()
32 static inline void stackleak_task_init(struct task_struct *t) { } in stackleak_task_init() argument
Ddamon.h311 struct damon_target *t, struct damon_region *r,
314 struct damon_target *t, struct damon_region *r,
428 static inline struct damon_region *damon_last_region(struct damon_target *t) in damon_last_region() argument
430 return list_last_entry(&t->regions_list, struct damon_region, list); in damon_last_region()
433 #define damon_for_each_region(r, t) \ argument
434 list_for_each_entry(r, &t->regions_list, list)
436 #define damon_for_each_region_safe(r, next, t) \ argument
437 list_for_each_entry_safe(r, next, &t->regions_list, list)
439 #define damon_for_each_target(t, ctx) \ argument
440 list_for_each_entry(t, &(ctx)->adaptive_targets, list)
[all …]
Dcb710.h51 #define CB710_PORT_ACCESSORS(t) \ argument
52 static inline void cb710_write_port_##t(struct cb710_slot *slot, \
53 unsigned port, u##t value) \
55 iowrite##t(value, slot->iobase + port); \
58 static inline u##t cb710_read_port_##t(struct cb710_slot *slot, \
61 return ioread##t(slot->iobase + port); \
64 static inline void cb710_modify_port_##t(struct cb710_slot *slot, \
65 unsigned port, u##t set, u##t clear) \
67 iowrite##t( \
68 (ioread##t(slot->iobase + port) & ~clear)|set, \
Dwin_minmax.h13 u32 t; /* time measurement was taken */ member
27 static inline u32 minmax_reset(struct minmax *m, u32 t, u32 meas) in minmax_reset() argument
29 struct minmax_sample val = { .t = t, .v = meas }; in minmax_reset()
35 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas);
36 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas);
Dinterrupt.h628 void (*callback)(struct tasklet_struct *t);
669 static inline int tasklet_trylock(struct tasklet_struct *t) in tasklet_trylock() argument
671 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock()
674 static inline void tasklet_unlock(struct tasklet_struct *t) in tasklet_unlock() argument
677 clear_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_unlock()
680 static inline void tasklet_unlock_wait(struct tasklet_struct *t) in tasklet_unlock_wait() argument
682 while (test_bit(TASKLET_STATE_RUN, &(t)->state)) { barrier(); } in tasklet_unlock_wait()
685 #define tasklet_trylock(t) 1 argument
686 #define tasklet_unlock_wait(t) do { } while (0) argument
687 #define tasklet_unlock(t) do { } while (0) argument
[all …]
Dnls.h62 static inline unsigned char nls_tolower(struct nls_table *t, unsigned char c) in nls_tolower() argument
64 unsigned char nc = t->charset2lower[c]; in nls_tolower()
69 static inline unsigned char nls_toupper(struct nls_table *t, unsigned char c) in nls_toupper() argument
71 unsigned char nc = t->charset2upper[c]; in nls_toupper()
76 static inline int nls_strnicmp(struct nls_table *t, const unsigned char *s1, in nls_strnicmp() argument
80 if (nls_tolower(t, *s1++) != nls_tolower(t, *s2++)) in nls_strnicmp()
Dwatchdog.h160 static inline bool watchdog_timeout_invalid(struct watchdog_device *wdd, unsigned int t) in watchdog_timeout_invalid() argument
173 return t > UINT_MAX / 1000 || t < wdd->min_timeout || in watchdog_timeout_invalid()
175 t > wdd->max_timeout); in watchdog_timeout_invalid()
180 unsigned int t) in watchdog_pretimeout_invalid() argument
182 return t && wdd->timeout && t >= wdd->timeout; in watchdog_pretimeout_invalid()
Dlockdep.h352 # define lock_acquire(l, s, t, r, c, n, i) do { } while (0) argument
520 #define lock_acquire_exclusive(l, s, t, n, i) lock_acquire(l, s, t, 0, 1, n, i) argument
521 #define lock_acquire_shared(l, s, t, n, i) lock_acquire(l, s, t, 1, 1, n, i) argument
522 #define lock_acquire_shared_recursive(l, s, t, n, i) lock_acquire(l, s, t, 2, 1, n, i) argument
524 #define spin_acquire(l, s, t, i) lock_acquire_exclusive(l, s, t, NULL, i) argument
525 #define spin_acquire_nest(l, s, t, n, i) lock_acquire_exclusive(l, s, t, n, i) argument
528 #define rwlock_acquire(l, s, t, i) lock_acquire_exclusive(l, s, t, NULL, i) argument
529 #define rwlock_acquire_read(l, s, t, i) \ argument
532 lock_acquire_shared_recursive(l, s, t, NULL, i); \
534 lock_acquire_shared(l, s, t, NULL, i); \
[all …]
/include/asm-generic/
Dioctl.h8 #define _IOC_TYPECHECK(t) (sizeof(t)) argument
12 #define _IOC_TYPECHECK(t) \ argument
13 ((sizeof(t) == sizeof(t[1]) && \
14 sizeof(t) < (1 << _IOC_SIZEBITS)) ? \
15 sizeof(t) : __invalid_size_argument_for_IOC)
/include/scsi/
Dscsi_transport.h57 scsi_transport_reserve_target(struct scsi_transport_template * t, int space) in scsi_transport_reserve_target() argument
59 BUG_ON(t->target_private_offset != 0); in scsi_transport_reserve_target()
60 t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); in scsi_transport_reserve_target()
61 t->target_size = t->target_private_offset + space; in scsi_transport_reserve_target()
64 scsi_transport_reserve_device(struct scsi_transport_template * t, int space) in scsi_transport_reserve_device() argument
66 BUG_ON(t->device_private_offset != 0); in scsi_transport_reserve_device()
67 t->device_private_offset = ALIGN(t->device_size, sizeof(void *)); in scsi_transport_reserve_device()
68 t->device_size = t->device_private_offset + space; in scsi_transport_reserve_device()
/include/net/netfilter/
Dnf_conntrack_tuple.h82 static inline void nf_ct_dump_tuple_ip(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ip() argument
86 t, t->dst.protonum, in nf_ct_dump_tuple_ip()
87 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip()
88 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip()
92 static inline void nf_ct_dump_tuple_ipv6(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ipv6() argument
96 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6()
97 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6()
98 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
102 static inline void nf_ct_dump_tuple(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple() argument
104 switch (t->src.l3num) { in nf_ct_dump_tuple()
[all …]
/include/linux/sunrpc/
Dsched.h136 #define RPC_IS_ASYNC(t) ((t)->tk_flags & RPC_TASK_ASYNC) argument
137 #define RPC_IS_SWAPPER(t) ((t)->tk_flags & RPC_TASK_SWAPPER) argument
138 #define RPC_IS_SOFT(t) ((t)->tk_flags & (RPC_TASK_SOFT|RPC_TASK_TIMEOUT)) argument
139 #define RPC_IS_SOFTCONN(t) ((t)->tk_flags & RPC_TASK_SOFTCONN) argument
140 #define RPC_WAS_SENT(t) ((t)->tk_flags & RPC_TASK_SENT) argument
150 #define RPC_IS_RUNNING(t) test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) argument
151 #define rpc_set_running(t) set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) argument
152 #define rpc_test_and_set_running(t) \ argument
153 test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate)
154 #define rpc_clear_running(t) \ argument
[all …]
Dtimer.h29 int *t; in rpc_set_timeo() local
32 t = &rt->ntimeouts[timer-1]; in rpc_set_timeo()
33 if (ntimeo < *t) { in rpc_set_timeo()
34 if (*t > 0) in rpc_set_timeo()
35 (*t)--; in rpc_set_timeo()
39 *t = ntimeo; in rpc_set_timeo()
/include/linux/sched/
Dtask.h106 static inline struct task_struct *get_task_struct(struct task_struct *t) in get_task_struct() argument
108 refcount_inc(&t->usage); in get_task_struct()
109 return t; in get_task_struct()
112 extern void __put_task_struct(struct task_struct *t);
115 static inline void put_task_struct(struct task_struct *t) in put_task_struct() argument
117 if (!refcount_dec_and_test(&t->usage)) in put_task_struct()
141 call_rcu(&t->rcu, __put_task_struct_rcu_cb); in put_task_struct()
143 __put_task_struct(t); in put_task_struct()
146 static inline void put_task_struct_many(struct task_struct *t, int nr) in put_task_struct_many() argument
148 if (refcount_sub_and_test(nr, &t->usage)) in put_task_struct_many()
[all …]
Dcputime.h21 extern void task_cputime(struct task_struct *t,
23 extern u64 task_gtime(struct task_struct *t);
25 static inline void task_cputime(struct task_struct *t, in task_cputime() argument
28 *utime = t->utime; in task_cputime()
29 *stime = t->stime; in task_cputime()
32 static inline u64 task_gtime(struct task_struct *t) in task_gtime() argument
34 return t->gtime; in task_gtime()
39 static inline void task_cputime_scaled(struct task_struct *t, in task_cputime_scaled() argument
43 *utimescaled = t->utimescaled; in task_cputime_scaled()
44 *stimescaled = t->stimescaled; in task_cputime_scaled()
[all …]
/include/trace/hooks/
Dbinder.h42 TP_PROTO(struct binder_transaction *t),
43 TP_ARGS(t));
48 TP_PROTO(struct binder_transaction *t, struct task_struct *task),
49 TP_ARGS(t, task));
51 TP_PROTO(struct binder_transaction *t, struct task_struct *task),
52 TP_ARGS(t, task));
98 const char *prefix, struct binder_transaction *t),
99 TP_ARGS(m, proc, prefix, t));
120 TP_PROTO(struct binder_proc *proc, struct binder_transaction *t,
122 TP_ARGS(proc, t, binder_th_task, pending_async, sync));
[all …]
Dpsi.h23 TP_PROTO(struct psi_trigger *t),
24 TP_ARGS(t));
31 #define trace_android_vh_psi_event(t) argument
/include/media/
Dv4l2-dv-timings.h22 struct v4l2_fract v4l2_calc_timeperframe(const struct v4l2_dv_timings *t);
37 typedef bool v4l2_check_dv_timings_fnc(const struct v4l2_dv_timings *t, void *handle);
51 bool v4l2_valid_dv_timings(const struct v4l2_dv_timings *t,
72 int v4l2_enum_dv_timings_cap(struct v4l2_enum_dv_timings *t,
95 bool v4l2_find_dv_timings_cap(struct v4l2_dv_timings *t,
109 bool v4l2_find_dv_timings_cea861_vic(struct v4l2_dv_timings *t, u8 vic);
135 const struct v4l2_dv_timings *t, bool detailed);
202 struct v4l2_fract v4l2_dv_timings_aspect_ratio(const struct v4l2_dv_timings *t);
/include/crypto/
Dgf128mul.h223 be128 t[256]; member
228 void gf128mul_4k_lle(be128 *a, const struct gf128mul_4k *t);
229 void gf128mul_4k_bbe(be128 *a, const struct gf128mul_4k *t);
231 static inline void gf128mul_free_4k(struct gf128mul_4k *t) in gf128mul_free_4k() argument
233 kfree_sensitive(t); in gf128mul_free_4k()
240 struct gf128mul_4k *t[16]; member
249 void gf128mul_free_64k(struct gf128mul_64k *t);
250 void gf128mul_64k_bbe(be128 *a, const struct gf128mul_64k *t);
/include/net/tc_act/
Dtc_tunnel_key.h30 struct tcf_tunnel_key *t = to_tunnel_key(a); in is_tcf_tunnel_set() local
33 params = rcu_dereference_protected(t->params, in is_tcf_tunnel_set()
44 struct tcf_tunnel_key *t = to_tunnel_key(a); in is_tcf_tunnel_release() local
47 params = rcu_dereference_protected(t->params, in is_tcf_tunnel_release()
58 struct tcf_tunnel_key *t = to_tunnel_key(a); in tcf_tunnel_info() local
61 params = rcu_dereference_protected(t->params, in tcf_tunnel_info()
/include/xen/
Dxenbus.h150 char **xenbus_directory(struct xenbus_transaction t,
152 void *xenbus_read(struct xenbus_transaction t,
154 int xenbus_write(struct xenbus_transaction t,
156 int xenbus_mkdir(struct xenbus_transaction t,
158 int xenbus_exists(struct xenbus_transaction t,
160 int xenbus_rm(struct xenbus_transaction t, const char *dir, const char *node);
161 int xenbus_transaction_start(struct xenbus_transaction *t);
162 int xenbus_transaction_end(struct xenbus_transaction t, int abort);
166 int xenbus_scanf(struct xenbus_transaction t,
175 int xenbus_printf(struct xenbus_transaction t,
[all …]

123456