Home
last modified time | relevance | path

Searched refs:skip (Results 1 – 8 of 8) sorted by relevance

/lib/
Ddecompress_unlzo.c41 STATIC inline long INIT parse_header(u8 *input, long *skip, long in_len) in parse_header() argument
94 *skip = parse - input; in parse_header()
105 long skip = 0; in unlzo() local
155 if (!parse_header(in_buf, &skip, in_len)) { in unlzo()
159 in_buf += skip; in unlzo()
160 in_len -= skip; in unlzo()
169 *posp = skip; in unlzo()
174 skip = fill(in_buf + in_len, 4 - in_len); in unlzo()
175 if (skip > 0) in unlzo()
176 in_len += skip; in unlzo()
[all …]
Dsg_split.c21 off_t skip, const size_t *sizes, in sg_calculate_split() argument
37 if (skip > sglen) { in sg_calculate_split()
38 skip -= sglen; in sg_calculate_split()
42 len = min_t(size_t, size, sglen - skip); in sg_calculate_split()
45 curr->skip_sg0 = skip; in sg_calculate_split()
51 while (!size && (skip + len < sglen) && (--nb_splits > 0)) { in sg_calculate_split()
54 skip += len; in sg_calculate_split()
55 len = min_t(size_t, size, sglen - skip); in sg_calculate_split()
58 curr->skip_sg0 = skip; in sg_calculate_split()
63 skip = 0; in sg_calculate_split()
[all …]
Diov_iter.c14 #define iterate_iovec(i, n, __v, __p, skip, STEP) { \ argument
18 __v.iov_len = min(n, __p->iov_len - skip); \
20 __v.iov_base = __p->iov_base + skip; \
23 skip += __v.iov_len; \
36 skip = __v.iov_len; \
42 #define iterate_kvec(i, n, __v, __p, skip, STEP) { \ argument
45 __v.iov_len = min(n, __p->iov_len - skip); \
47 __v.iov_base = __p->iov_base + skip; \
49 skip += __v.iov_len; \
59 skip = __v.iov_len; \
[all …]
Drhashtable.c663 iter->skip = 0; in rhashtable_walk_enter()
725 iter->skip = 0; in rhashtable_walk_start_check()
735 int skip = 0; in rhashtable_walk_start_check() local
737 skip++; in rhashtable_walk_start_check()
739 iter->skip = skip; in rhashtable_walk_start_check()
750 int skip = 0; in rhashtable_walk_start_check() local
755 skip++; in rhashtable_walk_start_check()
758 iter->skip = skip; in rhashtable_walk_start_check()
792 int skip = iter->skip; in __rhashtable_walk_find_next() local
799 if (!skip) in __rhashtable_walk_find_next()
[all …]
Dscatterlist.c841 size_t buflen, off_t skip, bool to_buffer) in sg_copy_buffer() argument
854 if (!sg_miter_skip(&miter, skip)) in sg_copy_buffer()
922 const void *buf, size_t buflen, off_t skip) in sg_pcopy_from_buffer() argument
924 return sg_copy_buffer(sgl, nents, (void *)buf, buflen, skip, false); in sg_pcopy_from_buffer()
940 void *buf, size_t buflen, off_t skip) in sg_pcopy_to_buffer() argument
942 return sg_copy_buffer(sgl, nents, buf, buflen, skip, true); in sg_pcopy_to_buffer()
956 size_t buflen, off_t skip) in sg_zero_buffer() argument
964 if (!sg_miter_skip(&miter, skip)) in sg_zero_buffer()
Dtest_meminit.c41 static void __init fill_with_garbage_skip(void *ptr, int size, size_t skip) in fill_with_garbage_skip() argument
43 unsigned int *p = (unsigned int *)((char *)ptr + skip); in fill_with_garbage_skip()
46 WARN_ON(skip > size); in fill_with_garbage_skip()
47 size -= skip; in fill_with_garbage_skip()
Ddynamic_debug.c73 int skip = strlen(__FILE__) - strlen("lib/dynamic_debug.c"); in trim_prefix() local
75 if (strncmp(path, __FILE__, skip)) in trim_prefix()
76 skip = 0; /* prefix mismatch, don't skip */ in trim_prefix()
78 return path + skip; in trim_prefix()
/lib/fonts/
DKconfig19 kernel: saying N will just cause the configurator to skip all