/lib/zlib_inflate/ |
D | inflate.c | 25 struct inflate_state *state; in zlib_inflateReset() local 27 if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; in zlib_inflateReset() 28 state = (struct inflate_state *)strm->state; in zlib_inflateReset() 29 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset() 32 state->mode = HEAD; in zlib_inflateReset() 33 state->last = 0; in zlib_inflateReset() 34 state->havedict = 0; in zlib_inflateReset() 35 state->dmax = 32768U; in zlib_inflateReset() 36 state->hold = 0; in zlib_inflateReset() 37 state->bits = 0; in zlib_inflateReset() [all …]
|
D | inffast.c | 90 struct inflate_state *state; in inflate_fast() local 117 state = (struct inflate_state *)strm->state; in inflate_fast() 124 dmax = state->dmax; in inflate_fast() 126 wsize = state->wsize; in inflate_fast() 127 whave = state->whave; in inflate_fast() 128 write = state->write; in inflate_fast() 129 window = state->window; in inflate_fast() 130 hold = state->hold; in inflate_fast() 131 bits = state->bits; in inflate_fast() 132 lcode = state->lencode; in inflate_fast() [all …]
|
/lib/ |
D | random32.c | 59 u32 prandom_u32_state(struct rnd_state *state) in prandom_u32_state() argument 62 state->s1 = TAUSWORTHE(state->s1, 6U, 13U, 4294967294U, 18U); in prandom_u32_state() 63 state->s2 = TAUSWORTHE(state->s2, 2U, 27U, 4294967288U, 2U); in prandom_u32_state() 64 state->s3 = TAUSWORTHE(state->s3, 13U, 21U, 4294967280U, 7U); in prandom_u32_state() 65 state->s4 = TAUSWORTHE(state->s4, 3U, 12U, 4294967168U, 13U); in prandom_u32_state() 67 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state() 80 struct rnd_state *state = &get_cpu_var(net_rand_state); in prandom_u32() local 83 res = prandom_u32_state(state); in prandom_u32() 84 put_cpu_var(state); in prandom_u32() 100 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t bytes) in prandom_bytes_state() argument [all …]
|
D | debugobjects.c | 144 obj->state = ODEBUG_STATE_NONE; in alloc_object() 262 msg, obj_states[obj->state], obj->astate, in debug_print_object() 273 debug_object_fixup(int (*fixup)(void *addr, enum debug_obj_state state), in debug_object_fixup() argument 274 void * addr, enum debug_obj_state state) in debug_object_fixup() 279 fixed = fixup(addr, state); in debug_object_fixup() 307 enum debug_obj_state state; in __debug_object_init() local 330 switch (obj->state) { in __debug_object_init() 334 obj->state = ODEBUG_STATE_INIT; in __debug_object_init() 339 state = obj->state; in __debug_object_init() 341 debug_object_fixup(descr->fixup_init, addr, state); in __debug_object_init() [all …]
|
D | syscall.c | 54 long state; in task_current_syscall() local 63 state = target->state; in task_current_syscall() 64 if (unlikely(!state)) in task_current_syscall() 67 ncsw = wait_task_inactive(target, state); in task_current_syscall() 70 unlikely(wait_task_inactive(target, state) != ncsw)) in task_current_syscall()
|
D | decompress_unlzma.c | 288 int state; member 359 if (cst->state >= LZMA_NUM_LIT_STATES) { in process_bit0() 381 if (cst->state < 4) in process_bit0() 382 cst->state = 0; in process_bit0() 383 else if (cst->state < 10) in process_bit0() 384 cst->state -= 3; in process_bit0() 386 cst->state -= 6; in process_bit0() 400 prob = p + LZMA_IS_REP + cst->state; in process_bit1() 406 cst->state = cst->state < LZMA_NUM_LIT_STATES ? 0 : 3; in process_bit1() 410 prob = p + LZMA_IS_REP_G0 + cst->state; in process_bit1() [all …]
|
D | textsearch.c | 204 struct ts_state *state) in get_linear_data() argument 206 struct ts_linear_state *st = (struct ts_linear_state *) state->cb; in get_linear_data() 230 struct ts_state *state, in textsearch_find_continuous() argument 233 struct ts_linear_state *st = (struct ts_linear_state *) state->cb; in textsearch_find_continuous() 239 return textsearch_find(conf, state); in textsearch_find_continuous()
|
D | ts_kmp.c | 46 static unsigned int kmp_find(struct ts_config *conf, struct ts_state *state) in kmp_find() argument 49 unsigned int i, q = 0, text_len, consumed = state->offset; in kmp_find() 54 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find() 67 state->offset = consumed + i + 1; in kmp_find() 68 return state->offset - kmp->pattern_len; in kmp_find()
|
D | percpu_ida.c | 147 int percpu_ida_alloc(struct percpu_ida *pool, int state) in percpu_ida_alloc() argument 174 if (state != TASK_RUNNING) in percpu_ida_alloc() 175 prepare_to_wait(&pool->wait, &wait, state); in percpu_ida_alloc() 192 if (tag >= 0 || state == TASK_RUNNING) in percpu_ida_alloc() 195 if (signal_pending_state(state, current)) { in percpu_ida_alloc() 205 if (state != TASK_RUNNING) in percpu_ida_alloc()
|
D | ts_bm.c | 62 static unsigned int bm_find(struct ts_config *conf, struct ts_state *state) in bm_find() argument 65 unsigned int i, text_len, consumed = state->offset; in bm_find() 71 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find()
|
D | percpu_counter.c | 22 static int percpu_counter_fixup_free(void *addr, enum debug_obj_state state) in percpu_counter_fixup_free() argument 26 switch (state) { in percpu_counter_fixup_free()
|
D | ts_fsm.c | 138 static unsigned int fsm_find(struct ts_config *conf, struct ts_state *state) in fsm_find() argument 143 unsigned block_len = 0, strict, consumed = state->offset; in fsm_find() 149 block_len = conf->get_next_block(consumed, &data, conf, state); }) in fsm_find() 255 state->offset = consumed + block_idx; in fsm_find()
|
D | Kconfig.debug | 589 # echo offline > /sys/devices/system/memory/memoryXXX/state 762 uninterruptible "D" state indefinitiley. 766 task will stay in uninterruptible state. If lockdep is 792 in uninterruptible "D" state. 1302 regarding scheduling-clock ticks, idle state, and, 1303 for RCU_FAST_NO_HZ kernels, idle-entry state. 1400 # echo mem > /sys/power/state
|
/lib/xz/ |
D | xz_lzma2.h | 64 static inline void lzma_state_literal(enum lzma_state *state) in lzma_state_literal() argument 66 if (*state <= STATE_SHORTREP_LIT_LIT) in lzma_state_literal() 67 *state = STATE_LIT_LIT; in lzma_state_literal() 68 else if (*state <= STATE_LIT_SHORTREP) in lzma_state_literal() 69 *state -= 3; in lzma_state_literal() 71 *state -= 6; in lzma_state_literal() 75 static inline void lzma_state_match(enum lzma_state *state) in lzma_state_match() argument 77 *state = *state < LIT_STATES ? STATE_LIT_MATCH : STATE_NONLIT_MATCH; in lzma_state_match() 81 static inline void lzma_state_long_rep(enum lzma_state *state) in lzma_state_long_rep() argument 83 *state = *state < LIT_STATES ? STATE_LIT_LONGREP : STATE_NONLIT_REP; in lzma_state_long_rep() [all …]
|
D | xz_dec_test.c | 33 static struct xz_dec *state; variable 71 xz_dec_reset(state); in xz_dec_test_open() 133 ret = xz_dec_run(state, &buffers); in xz_dec_test_write() 185 state = xz_dec_init(XZ_PREALLOC, DICT_MAX); in xz_dec_test_init() 186 if (state == NULL) in xz_dec_test_init() 191 xz_dec_end(state); in xz_dec_test_init() 205 xz_dec_end(state); in xz_dec_test_exit()
|
D | xz_dec_lzma2.c | 140 enum lzma_state state; member 592 if (lzma_state_is_literal(s->lzma.state)) { in lzma_literal() 615 lzma_state_literal(&s->lzma.state); in lzma_literal() 652 lzma_state_match(&s->lzma.state); in lzma_match() 692 if (!rc_bit(&s->rc, &s->lzma.is_rep0[s->lzma.state])) { in lzma_rep_match() 694 s->lzma.state][pos_state])) { in lzma_rep_match() 695 lzma_state_short_rep(&s->lzma.state); in lzma_rep_match() 700 if (!rc_bit(&s->rc, &s->lzma.is_rep1[s->lzma.state])) { in lzma_rep_match() 703 if (!rc_bit(&s->rc, &s->lzma.is_rep2[s->lzma.state])) { in lzma_rep_match() 717 lzma_state_long_rep(&s->lzma.state); in lzma_rep_match() [all …]
|
/lib/lzo/ |
D | lzo1x_decompress_safe.c | 44 size_t state = 0; in lzo1x_decompress_safe() local 66 if (likely(state == 0)) { in lzo1x_decompress_safe() 107 state = 4; in lzo1x_decompress_safe() 109 } else if (state != 4) { in lzo1x_decompress_safe() 199 state = next; in lzo1x_decompress_safe() 225 state = next; in lzo1x_decompress_safe()
|
/lib/zlib_deflate/ |
D | deflate.c | 219 strm->state = (struct internal_state *)s; in zlib_deflateInit2() 259 if (strm == NULL || strm->state == NULL) in zlib_deflateReset() 266 s = (deflate_state *)strm->state; in zlib_deflateReset() 307 deflate_state *s = (deflate_state *) strm->state; in flush_pending() 335 if (strm == NULL || strm->state == NULL || in zlib_deflate() 339 s = (deflate_state *) strm->state; in zlib_deflate() 472 if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; in zlib_deflateEnd() 473 s = (deflate_state *) strm->state; in zlib_deflateEnd() 481 strm->state = NULL; in zlib_deflateEnd() 506 if (!((deflate_state *)(strm->state))->noheader) { in read_buf()
|