Home
last modified time | relevance | path

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

12

/lib/lzo/
Dlzo1x_decompress_safe.c44 size_t t, next; in lzo1x_decompress_safe() local
66 t = *ip++ - 17; in lzo1x_decompress_safe()
67 if (t < 4) { in lzo1x_decompress_safe()
68 next = t; in lzo1x_decompress_safe()
75 t = *ip++; in lzo1x_decompress_safe()
76 if (t < 16) { in lzo1x_decompress_safe()
78 if (unlikely(t == 0)) { in lzo1x_decompress_safe()
91 t += offset + 15 + *ip++; in lzo1x_decompress_safe()
93 t += 3; in lzo1x_decompress_safe()
96 if (likely(HAVE_IP(t + 15) && HAVE_OP(t + 15))) { in lzo1x_decompress_safe()
[all …]
Dlzo1x_compress.c41 size_t t, m_len, m_off; in lzo1x_1_do_compress() local
108 t = ((dv * 0x1824429d) >> (32 - D_BITS)) & D_MASK; in lzo1x_1_do_compress()
109 m_pos = in + dict[t]; in lzo1x_1_do_compress()
110 dict[t] = (lzo_dict_t) (ip - in); in lzo1x_1_do_compress()
117 t = ip - ii; in lzo1x_1_do_compress()
118 if (t != 0) { in lzo1x_1_do_compress()
119 if (t <= 3) { in lzo1x_1_do_compress()
120 op[*state_offset] |= t; in lzo1x_1_do_compress()
122 op += t; in lzo1x_1_do_compress()
123 } else if (t <= 16) { in lzo1x_1_do_compress()
[all …]
/lib/
Dwin_minmax.c32 u32 dt = val->t - m->s[0].t; in minmax_subwin_update()
45 if (unlikely(val->t - m->s[0].t > win)) { in minmax_subwin_update()
50 } else if (unlikely(m->s[1].t == m->s[0].t) && dt > win/4) { in minmax_subwin_update()
56 } else if (unlikely(m->s[2].t == m->s[1].t) && dt > win/2) { in minmax_subwin_update()
67 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_max() argument
69 struct minmax_sample val = { .t = t, .v = meas }; in minmax_running_max()
72 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */ in minmax_running_max()
73 return minmax_reset(m, t, meas); /* forget earlier samples */ in minmax_running_max()
85 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_min() argument
87 struct minmax_sample val = { .t = t, .v = meas }; in minmax_running_min()
[all …]
Dcrc8.c33 u8 t = msbit; in crc8_populate_msb() local
38 t = (t << 1) ^ (t & msbit ? polynomial : 0); in crc8_populate_msb()
40 table[i+j] = table[j] ^ t; in crc8_populate_msb()
54 u8 t = 1; in crc8_populate_lsb() local
59 t = (t >> 1) ^ (t & 1 ? polynomial : 0); in crc8_populate_lsb()
61 table[i+j] = table[j] ^ t; in crc8_populate_lsb()
Dlocking-selftest.c53 static struct ww_acquire_ctx t, t2; variable
1118 I_WW(t); I_WW(t2); I_WW(o.base); I_WW(o2.base); I_WW(o3.base);
1124 memset(&t, 0, sizeof(t)); memset(&t2, 0, sizeof(t2));
1312 WWAI(&t); in ww_test_fail_acquire()
1313 t.stamp++; in ww_test_fail_acquire()
1315 ret = WWL(&o, &t); in ww_test_fail_acquire()
1322 ret = WWL(&o, &t); in ww_test_fail_acquire()
1328 t2 = t; in ww_test_fail_acquire()
1346 WWAI(&t); in ww_test_normal()
1398 mutex_lock_nest_lock(&o.base, &t); in ww_test_normal()
[all …]
Dtest-kstrtox.c31 const struct test_fail *t = &test[i]; \
36 rv = fn(t->str, t->base, &tmp); \
39 t->str, t->base, rv, tmp); \
50 const typeof(test[0]) *t = &test[i]; \
54 rv = fn(t->str, t->base, &res); \
57 t->str, t->base, t->expected_res, rv); \
60 if (res != t->expected_res) { \
62 t->str, t->base, t->expected_res, res); \
Dtest_vmalloc.c385 struct test_driver *t = private; in test_func() local
391 if (set_cpus_allowed_ptr(current, cpumask_of(t->cpu)) < 0) in test_func()
392 pr_err("Failed to set affinity to %d CPU\n", t->cpu); in test_func()
405 t->start = get_cycles(); in test_func()
418 per_cpu_test_data[t->cpu][index].test_passed++; in test_func()
420 per_cpu_test_data[t->cpu][index].test_failed++; in test_func()
429 per_cpu_test_data[t->cpu][index].time = delta; in test_func()
431 t->stop = get_cycles(); in test_func()
482 struct test_driver *t = &per_cpu_test_driver[cpu]; in do_concurrent_test() local
484 t->cpu = cpu; in do_concurrent_test()
[all …]
Dtest_overflow.c17 #define DEFINE_TEST_ARRAY(t) \ argument
18 static const struct test_ ## t { \
19 t a, b; \
20 t sum, diff, prod; \
22 } t ## _tests[] __initconst
218 #define check_one_op(t, fmt, op, sym, a, b, r, of) do { \ argument
219 t _r; \
226 a, b, of ? "" : " not", #t); \
232 a, b, r, _r, #t); \
237 #define DEFINE_TEST_FUNC(t, fmt) \ argument
[all …]
Dsha1.c52 #define SHA_SRC(t) get_unaligned_be32((__u32 *)data + t) argument
53 #define SHA_MIX(t) rol32(W(t+13) ^ W(t+8) ^ W(t+2) ^ W(t), 1) argument
55 #define SHA_ROUND(t, input, fn, constant, A, B, C, D, E) do { \ argument
56 __u32 TEMP = input(t); setW(t, TEMP); \
60 #define T_0_15(t, A, B, C, D, E) SHA_ROUND(t, SHA_SRC, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument
61 #define T_16_19(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument
62 #define T_20_39(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0x6ed9eba1, A, B, C, D, E ) argument
63 #define T_40_59(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, ((B&C)+(D&(B^C))) , 0x8f1bbcdc, A, B, C, D,… argument
64 #define T_60_79(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0xca62c1d6, A, B, C, D, E ) argument
Dinflate.c144 struct huft *t; /* pointer to next level of table */ member
328 struct huft **t, /* result: starting table */ in huft_build() argument
384 *t = (struct huft *)NULL; in huft_build()
498 *t = q + 1; /* link to list for huft_free() */ in huft_build()
499 *(t = &(q->v.t)) = (struct huft *)NULL; in huft_build()
509 r.v.t = q; /* pointer to this table */ in huft_build()
568 struct huft *t /* table to free */ in huft_free() argument
578 p = t; in huft_free()
581 q = (--p)->v.t; in huft_free()
601 struct huft *t; /* pointer to table entry */ in inflate_codes() local
[all …]
Dsort.c61 u32 t = *(u32 *)(a + (n -= 4)); in swap_words_32() local
63 *(u32 *)(b + n) = t; in swap_words_32()
87 u64 t = *(u64 *)(a + (n -= 8)); in swap_words_64() local
89 *(u64 *)(b + n) = t; in swap_words_64()
92 u32 t = *(u32 *)(a + (n -= 4)); in swap_words_64()
94 *(u32 *)(b + n) = t; in swap_words_64()
96 t = *(u32 *)(a + (n -= 4)); in swap_words_64()
98 *(u32 *)(b + n) = t; in swap_words_64()
114 char t = ((char *)a)[--n]; in swap_bytes() local
116 ((char *)b)[n] = t; in swap_bytes()
Dis_single_threaded.c19 struct task_struct *p, *t; in current_is_single_threaded() local
36 for_each_thread(p, t) { in current_is_single_threaded()
37 if (unlikely(t->mm == mm)) in current_is_single_threaded()
39 if (likely(t->mm)) in current_is_single_threaded()
Ddecompress_bunzip2.c162 i, j, k, t, runPos, symCount, symTotal, nSelectors, *byteCount; in get_next_block() local
195 t = get_bits(bd, 16); in get_next_block()
198 if (t&(1 << (15-i))) { in get_next_block()
246 t = get_bits(bd, 5)-1; in get_next_block()
249 if (((unsigned)t) > (MAX_HUFCODE_BITS-1)) in get_next_block()
265 t += (((k+1)&2)-1); in get_next_block()
269 length[i] = t+1; in get_next_block()
310 for (t = 0; t < symCount; t++) in get_next_block()
311 if (length[t] == i) in get_next_block()
312 hufGroup->permute[pp++] = t; in get_next_block()
[all …]
Dcrc64.c45 size_t i, t; in crc64_be() local
50 t = ((crc >> 56) ^ (*_p++)) & 0xFF; in crc64_be()
51 crc = crc64table[t] ^ (crc << 8); in crc64_be()
Dmuldi3.c11 #define __ll_lowpart(t) ((unsigned long) (t) & (__ll_B - 1)) argument
12 #define __ll_highpart(t) ((unsigned long) (t) >> (W_TYPE_SIZE / 2)) argument
Dbch.c85 #define GF_T(_p) ((_p)->t)
353 const int t = GF_T(bch); in compute_syndromes() local
361 memset(syn, 0, 2*t*sizeof(*syn)); in compute_syndromes()
369 for (j = 0; j < 2*t; j += 2) in compute_syndromes()
377 for (j = 0; j < t; j++) in compute_syndromes()
389 const unsigned int t = GF_T(bch); in compute_error_locator_polynomial() local
397 memset(pelp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial()
398 memset(elp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial()
406 for (i = 0; (i < t) && (elp->deg <= t); i++) { in compute_error_locator_polynomial()
428 if (i < t-1) { in compute_error_locator_polynomial()
[all …]
Dkobject.c68 struct kobj_type *t = get_ktype(kobj); in populate_dir() local
73 if (t && t->default_attrs) { in populate_dir()
74 for (i = 0; (attr = t->default_attrs[i]) != NULL; i++) { in populate_dir()
300 char *t; in kobject_set_name_vargs() local
302 t = kstrdup(s, GFP_KERNEL); in kobject_set_name_vargs()
304 if (!t) in kobject_set_name_vargs()
306 strreplace(t, '/', '!'); in kobject_set_name_vargs()
307 s = t; in kobject_set_name_vargs()
666 struct kobj_type *t = get_ktype(kobj); in kobject_cleanup() local
672 if (t && !t->release) in kobject_cleanup()
[all …]
Dts_fsm.c126 static inline int match_token(struct ts_fsm_token *t, u8 d) in match_token() argument
128 if (t->type) in match_token()
129 return (token_lookup_tbl[d] & t->type) != 0; in match_token()
131 return t->value == d; in match_token()
272 struct ts_fsm_token *t = &tokens[i]; in fsm_init() local
274 if (t->type > TS_FSM_TYPE_MAX || t->recur > TS_FSM_RECUR_MAX) in fsm_init()
277 if (t->recur == TS_FSM_HEAD_IGNORE && in fsm_init()
292 struct ts_fsm_token *t = &fsm->tokens[i]; in fsm_init() local
293 t->type = token_map[t->type]; in fsm_init()
Dplist.c32 static void plist_check_prev_next(struct list_head *t, struct list_head *p, in plist_check_prev_next() argument
39 t, t->next, t->prev, in plist_check_prev_next()
DKconfig.kasan50 version 3.7.0 or later and it doesn't support detection of
56 Currently CONFIG_KASAN_GENERIC doesn't work with CONFIG_DEBUG_SLAB
77 Currently CONFIG_KASAN_SW_TAGS doesn't work with CONFIG_DEBUG_SLAB
93 however it doesn't bloat size of kernel's .text section so
/lib/math/
Drational.c42 unsigned long t, a; in rational_best_approximation() local
50 t = d; in rational_best_approximation()
53 n = t; in rational_best_approximation()
54 t = n0 + a * n1; in rational_best_approximation()
56 n1 = t; in rational_best_approximation()
57 t = d0 + a * d1; in rational_best_approximation()
59 d1 = t; in rational_best_approximation()
Ddiv64.c172 s64 quot, t; in div64_s64() local
175 t = (dividend ^ divisor) >> 63; in div64_s64()
177 return (quot ^ t) - t; in div64_s64()
/lib/842/
D842_compress.c225 u8 *t = comp_ops[c]; in add_template() local
231 pr_debug("template %x\n", t[4]); in add_template()
233 ret = add_bits(p, t[4], OP_BITS); in add_template()
238 pr_debug("op %x\n", t[i]); in add_template()
240 switch (t[i] & OP_AMOUNT) { in add_template()
244 else if (t[i] & OP_ACTION_INDEX) in add_template()
246 else if (t[i] & OP_ACTION_DATA) in add_template()
252 if (b == 2 && t[i] & OP_ACTION_DATA) in add_template()
256 else if (t[i] & OP_ACTION_INDEX) in add_template()
258 else if (t[i] & OP_ACTION_DATA) in add_template()
[all …]
/lib/reed_solomon/
Ddecode_rs.c35 uint16_t *t = rsc->buffers + RS_DECODE_T * (nroots + 1); variable
152 t[0] = lambda[0];
155 t[i + 1] = lambda[i + 1] ^
159 t[i + 1] = lambda[i + 1];
177 memcpy(lambda, t, (nroots + 1) * sizeof(t[0]));
/lib/vdso/
Dgettimeofday.c170 time_t t = READ_ONCE(vd[CS_HRES_COARSE].basetime[CLOCK_REALTIME].sec); in __cvdso_time() local
173 *time = t; in __cvdso_time()
175 return t; in __cvdso_time()

12