Home
last modified time | relevance | path

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

/lib/
Dkfifo.c104 unsigned int len, unsigned int off) in kfifo_copy_in() argument
110 off &= fifo->mask; in kfifo_copy_in()
112 off *= esize; in kfifo_copy_in()
116 l = min(len, size - off); in kfifo_copy_in()
118 memcpy(fifo->data + off, src, l); in kfifo_copy_in()
143 unsigned int len, unsigned int off) in kfifo_copy_out() argument
149 off &= fifo->mask; in kfifo_copy_out()
151 off *= esize; in kfifo_copy_out()
155 l = min(len, size - off); in kfifo_copy_out()
157 memcpy(dst, fifo->data + off, l); in kfifo_copy_out()
[all …]
Dbitmap.c88 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right() local
90 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right()
97 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right()
100 upper = src[off + k + 1]; in __bitmap_shift_right()
101 if (off + k + 1 == lim - 1) in __bitmap_shift_right()
105 lower = src[off + k]; in __bitmap_shift_right()
106 if (off + k == lim - 1) in __bitmap_shift_right()
111 if (off) in __bitmap_shift_right()
112 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
134 unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left() local
[all …]
Diov_iter.c648 size_t off = 0; in csum_and_copy_from_iter() local
662 sum = csum_block_add(sum, next, off); in csum_and_copy_from_iter()
663 off += v.iov_len; in csum_and_copy_from_iter()
672 sum = csum_block_add(sum, next, off); in csum_and_copy_from_iter()
673 off += v.bv_len; in csum_and_copy_from_iter()
678 sum = csum_block_add(sum, next, off); in csum_and_copy_from_iter()
679 off += v.iov_len; in csum_and_copy_from_iter()
692 size_t off = 0; in csum_and_copy_to_iter() local
706 sum = csum_block_add(sum, next, off); in csum_and_copy_to_iter()
707 off += v.iov_len; in csum_and_copy_to_iter()
[all …]
Dvsprintf.c1111 u8 off = 0; in ip6_addr_string_sa() local
1133 off = 1; in ip6_addr_string_sa()
1137 p = ip6_compressed_string(ip6_addr + off, addr); in ip6_addr_string_sa()
1139 p = ip6_string(ip6_addr + off, addr, fmt6); in ip6_addr_string_sa()
DKconfig399 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
DKconfig.debug474 the runtime debug capabilities switched off. Enabling this is
478 off in a kernel built with CONFIG_SLUB_DEBUG_ON by specifying
541 bool "Default kmemleak to off"