Home
last modified time | relevance | path

Searched refs:off (Results 1 – 10 of 10) sorted by relevance

/lib/
Dkfifo.c90 unsigned int len, unsigned int off) in kfifo_copy_in() argument
96 off &= fifo->mask; in kfifo_copy_in()
98 off *= esize; in kfifo_copy_in()
102 l = min(len, size - off); in kfifo_copy_in()
104 memcpy(fifo->data + off, src, l); in kfifo_copy_in()
129 unsigned int len, unsigned int off) in kfifo_copy_out() argument
135 off &= fifo->mask; in kfifo_copy_out()
137 off *= esize; in kfifo_copy_out()
141 l = min(len, size - off); in kfifo_copy_out()
143 memcpy(dst, fifo->data + off, l); in kfifo_copy_out()
[all …]
Diov_iter.c20 #define iterate_iovec(i, n, base, len, off, __p, STEP) { \ argument
21 size_t off = 0; \
28 off += len; \
38 n = off; \
41 #define iterate_bvec(i, n, base, len, off, p, STEP) { \ argument
42 size_t off = 0; \
55 off += len; \
66 n = off; \
111 #define __iterate_and_advance(i, n, base, len, off, I, K) { \ argument
119 iterate_iovec(i, n, base, len, off, \
[all …]
Dbitmap.c107 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right() local
109 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right()
116 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right()
119 upper = src[off + k + 1]; in __bitmap_shift_right()
120 if (off + k + 1 == lim - 1) in __bitmap_shift_right()
124 lower = src[off + k]; in __bitmap_shift_right()
125 if (off + k == lim - 1) in __bitmap_shift_right()
130 if (off) in __bitmap_shift_right()
131 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
153 unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left() local
[all …]
DKconfig.ubsan28 trade-off.
Dvsprintf.c1524 u8 off = 0; in ip6_addr_string_sa() local
1546 off = 1; in ip6_addr_string_sa()
1550 p = ip6_compressed_string(ip6_addr + off, addr); in ip6_addr_string_sa()
1552 p = ip6_string(ip6_addr + off, addr, fmt6); in ip6_addr_string_sa()
DKconfig.debug574 debugfs=[on,no-mount,off]. The restrictions apply for API access
593 Access is off. Clients get -PERM when trying to create nodes in
595 Client can then back-off or continue without debugfs access.
699 the runtime debug capabilities switched off. Enabling this is
703 off in a kernel built with CONFIG_SLUB_DEBUG_ON by specifying
767 bool "Default kmemleak to off"
DKconfig511 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
Dtest_bpf.c9171 if (insn->off == TAIL_CALL_NULL) in prepare_tail_call_tests()
9173 else if (insn->off == TAIL_CALL_INVALID) in prepare_tail_call_tests()
9176 insn->imm = which + insn->off; in prepare_tail_call_tests()
9177 insn->off = 0; in prepare_tail_call_tests()
/lib/zstd/
Dzstd_opt.h207 opt[pos].off = offset_; \
282 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex3; in ZSTD_insertBtAndGetAllMatches()
316 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex; in ZSTD_insertBtAndGetAllMatches()
481 best_off = matches[match_num - 1].off; in ZSTD_compressBlock_opt_generic()
493 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
495 SET_PRICE(mlen, mlen, matches[u].off, litlen, price); /* note : macro modifies last_pos */ in ZSTD_compressBlock_opt_generic()
539 if (opt[cur].off > ZSTD_REP_MOVE_OPT) { in ZSTD_compressBlock_opt_generic()
542 opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_generic()
544 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_generic()
545 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
[all …]
Dzstd_internal.h170 U32 off; member
176 U32 off; member