Home
last modified time | relevance | path

Searched refs:off (Results 1 – 8 of 8) 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.c372 size_t off; in copy_page_to_iter_pipe() local
384 off = i->iov_offset; in copy_page_to_iter_pipe()
387 if (off) { in copy_page_to_iter_pipe()
388 if (offset == off && buf->page == page) { in copy_page_to_iter_pipe()
485 size_t off = i->iov_offset; in data_start() local
487 if (off && (!allocated(&i->pipe->bufs[idx]) || off == PAGE_SIZE)) { in data_start()
489 off = 0; in data_start()
492 *offp = off; in data_start()
499 size_t off; in push_pipe() local
509 data_start(i, &idx, &off); in push_pipe()
[all …]
Dbitmap.c105 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right() local
107 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right()
114 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right()
117 upper = src[off + k + 1]; in __bitmap_shift_right()
118 if (off + k + 1 == lim - 1) in __bitmap_shift_right()
122 lower = src[off + k]; in __bitmap_shift_right()
123 if (off + k == lim - 1) in __bitmap_shift_right()
128 if (off) in __bitmap_shift_right()
129 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
151 unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left() local
[all …]
Dvsprintf.c1442 u8 off = 0; in ip6_addr_string_sa() local
1464 off = 1; in ip6_addr_string_sa()
1468 p = ip6_compressed_string(ip6_addr + off, addr); in ip6_addr_string_sa()
1470 p = ip6_string(ip6_addr + off, addr, fmt6); in ip6_addr_string_sa()
DKconfig470 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
DKconfig.debug531 the runtime debug capabilities switched off. Enabling this is
535 off in a kernel built with CONFIG_SLUB_DEBUG_ON by specifying
599 bool "Default kmemleak to off"
/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.h160 U32 off; member
166 U32 off; member