Home
last modified time | relevance | path

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

12345678910>>...34

/linux-6.12.1/lib/
Ddecompress_unlzo.c41 STATIC inline long INIT parse_header(u8 *input, long *skip, long in_len) in parse_header() argument
93 *skip = parse - input; in parse_header()
104 long skip = 0; in unlzo() local
154 if (!parse_header(in_buf, &skip, in_len)) { in unlzo()
158 in_buf += skip; in unlzo()
159 in_len -= skip; in unlzo()
168 *posp = skip; in unlzo()
173 skip = fill(in_buf + in_len, 4 - in_len); in unlzo()
174 if (skip > 0) in unlzo()
175 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.c99 size_t skip; in fault_in_iov_iter_readable() local
102 for (p = iter_iov(i), skip = i->iov_offset; count; p++, skip = 0) { in fault_in_iov_iter_readable()
103 size_t len = min(count, p->iov_len - skip); in fault_in_iov_iter_readable()
108 ret = fault_in_readable(p->iov_base + skip, len); in fault_in_iov_iter_readable()
142 size_t skip; in fault_in_iov_iter_writeable() local
145 for (p = iter_iov(i), skip = i->iov_offset; count; p++, skip = 0) { in fault_in_iov_iter_writeable()
146 size_t len = min(count, p->iov_len - skip); in fault_in_iov_iter_writeable()
151 ret = fault_in_safe_writeable(p->iov_base + skip, len); in fault_in_iov_iter_writeable()
795 size_t skip = i->iov_offset; in iov_iter_aligned_iovec() local
798 size_t len = iov->iov_len - skip; in iov_iter_aligned_iovec()
[all …]
Drhashtable.c678 iter->skip = 0; in rhashtable_walk_enter()
740 iter->skip = 0; in rhashtable_walk_start_check()
750 int skip = 0; in rhashtable_walk_start_check() local
752 skip++; in rhashtable_walk_start_check()
754 iter->skip = skip; in rhashtable_walk_start_check()
765 int skip = 0; in rhashtable_walk_start_check() local
770 skip++; in rhashtable_walk_start_check()
773 iter->skip = skip; in rhashtable_walk_start_check()
807 int skip = iter->skip; in __rhashtable_walk_find_next() local
814 if (!skip) in __rhashtable_walk_find_next()
[all …]
/linux-6.12.1/include/linux/
Diov_iter.h45 size_t progress = 0, skip = iter->iov_offset; in iterate_iovec() local
49 size_t part = min(len, p->iov_len - skip); in iterate_iovec()
52 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_iovec()
55 skip += consumed; in iterate_iovec()
57 if (skip < p->iov_len) in iterate_iovec()
61 skip = 0; in iterate_iovec()
66 iter->iov_offset = skip; in iterate_iovec()
79 size_t progress = 0, skip = iter->iov_offset; in iterate_kvec() local
83 size_t part = min(len, p->iov_len - skip); in iterate_kvec()
86 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_kvec()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_shared/host/
Dtag.c30 unsigned int skip, in sh_css_create_tag_descr() argument
38 tag_descr->skip = skip; in sh_css_create_tag_descr()
53 unsigned int skip; in sh_css_encode_tag_descr() local
68 skip = tag->skip; in sh_css_encode_tag_descr()
80 assert((num_captures == 0) && (skip == 0) && (offset == 0)); in sh_css_encode_tag_descr()
88 | ((skip & 0x000000FF) << TAG_OFFSET_SHIFT) in sh_css_encode_tag_descr()
/linux-6.12.1/arch/powerpc/boot/
Ddecompress.c43 static unsigned long skip; variable
66 if (end <= skip) { in flush()
72 if (decompressed_bytes < skip && end > skip) { in flush()
73 offset = skip - decompressed_bytes; in flush()
80 out = &output_buffer[decompressed_bytes - skip]; in flush()
130 skip = _skip; in partial_decompress()
142 return decompressed_bytes - skip; in partial_decompress()
/linux-6.12.1/drivers/crypto/bcm/
Dutil.h55 void __dump_sg(struct scatterlist *sg, unsigned int skip, unsigned int len);
57 #define dump_sg(sg, skip, len) __dump_sg(sg, skip, len) argument
77 static inline void dump_sg(struct scatterlist *sg, unsigned int skip, in dump_sg() argument
84 int spu_sg_at_offset(struct scatterlist *sg, unsigned int skip,
89 unsigned int len, unsigned int skip);
92 unsigned int len, unsigned int skip);
94 int spu_sg_count(struct scatterlist *sg_list, unsigned int skip, int nbytes);
96 struct scatterlist **from_sg, u32 *skip,
Dutil.c27 int spu_sg_at_offset(struct scatterlist *sg, unsigned int skip, in spu_sg_at_offset() argument
36 while (next_index <= skip) { in spu_sg_at_offset()
44 *sge_offset = skip - index; in spu_sg_at_offset()
51 unsigned int len, unsigned int skip) in sg_copy_part_to_buf() argument
56 copied = sg_pcopy_to_buffer(src, nents, dest, len, skip); in sg_copy_part_to_buf()
60 flow_log("sg with %u entries and skip %u\n", nents, skip); in sg_copy_part_to_buf()
70 unsigned int len, unsigned int skip) in sg_copy_part_from_buf() argument
75 copied = sg_pcopy_from_buffer(dest, nents, src, len, skip); in sg_copy_part_from_buf()
79 flow_log("sg with %u entries and skip %u\n", nents, skip); in sg_copy_part_from_buf()
93 int spu_sg_count(struct scatterlist *sg_list, unsigned int skip, int nbytes) in spu_sg_count() argument
[all …]
/linux-6.12.1/tools/testing/selftests/tc-testing/
Dtdc_batch.py57 skip = "skip_hw" variable
59 skip = "skip_sw" variable
73 def format_add_filter(device, prio, handle, skip, src_mac, dst_mac, argument
77 device, prio, handle, skip, src_mac, dst_mac, share_action))
80 def format_rep_filter(device, prio, handle, skip, src_mac, dst_mac, argument
84 device, prio, handle, skip, src_mac, dst_mac, share_action))
87 def format_del_filter(device, prio, handle, skip, src_mac, dst_mac, argument
106 cmd = formatter(device, prio, handle_start + index, skip, src_mac,
/linux-6.12.1/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c108 bool skip) in compare() argument
112 if (skip) { in compare()
189 bool skip = false; in main() local
256 skip = true; \ in main()
278 skip); in main()
280 skip); in main()
282 skip = true; in main()
285 per_filter1, approx, per_filter2, skip); in main()
288 bitmap1 - native, approx, bitmap2 - native, skip); in main()
291 skip = true; in main()
[all …]
/linux-6.12.1/tools/perf/tests/
Dtime-utils-test.c66 u64 skip[TEST_MAX]; member
116 if (d->skip[i] && in test__perf_time__parse_for_ranges()
117 !perf_time__ranges_skip_sample(ptime, d->num, d->skip[i])) { in test__perf_time__parse_for_ranges()
118 pr_debug("failed to skip %" PRIu64 "\n", d->skip[i]); in test__perf_time__parse_for_ranges()
164 .skip = { b - 1, b + 2, }, in test__time_utils()
181 .skip = { b - 1, b + 2, c - 1, c + 124, e - 1, e + 6 }, in test__time_utils()
196 .skip = { b - 1, b + 10, }, in test__time_utils()
211 .skip = { b + 9, b + 20, }, in test__time_utils()
226 .skip = { b - 1, b + 20, }, in test__time_utils()
241 .skip = { b - 1, b + 10, b + 19, b + 30, b + 89, b + 101 }, in test__time_utils()
/linux-6.12.1/kernel/
Dstacktrace.c78 unsigned int skip; member
89 if (c->skip > 0) { in stack_trace_consume_entry()
90 c->skip--; in stack_trace_consume_entry()
119 .skip = skipnr + 1, in stack_trace_save()
144 .skip = skipnr + (current == tsk), in stack_trace_save_tsk()
172 .skip = skipnr, in stack_trace_save_regs()
274 .skip = skipnr + 1, in stack_trace_save()
299 .skip = skipnr + (current == task), in stack_trace_save_tsk()
322 .skip = skipnr, in stack_trace_save_regs()
/linux-6.12.1/arch/xtensa/kernel/
Dstacktrace.c205 unsigned skip; member
213 if (trace_data->skip) { in stack_trace_cb()
214 --trace_data->skip; in stack_trace_cb()
228 .skip = trace->skip, in save_stack_trace_tsk()
244 unsigned skip; member
251 if (r->skip) { in return_address_cb()
252 --r->skip; in return_address_cb()
268 .skip = level, in return_address()
/linux-6.12.1/kernel/kcsan/
Dreport.c281 int len, skip; in get_stack_skipnr() local
283 for (skip = 0; skip < num_entries; ++skip) { in get_stack_skipnr()
284 len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skip]); in get_stack_skipnr()
306 return skip; in get_stack_skipnr()
320 int skip; in replace_stack_entry() local
327 for (skip = 0; skip < num_entries; ++skip) { in replace_stack_entry()
328 unsigned long func = stack_entries[skip]; in replace_stack_entry()
335 *replaced = stack_entries[skip]; in replace_stack_entry()
336 stack_entries[skip] = ip; in replace_stack_entry()
337 return skip; in replace_stack_entry()
/linux-6.12.1/arch/hexagon/kernel/
Dstacktrace.c27 int skip = trace->skip; in save_stack_trace() local
36 if (skip) { in save_stack_trace()
37 skip--; in save_stack_trace()
/linux-6.12.1/fs/bcachefs/
Dsnapshot.c118 if (s->skip[2] <= ancestor) in get_ancestor_below()
119 return s->skip[2]; in get_ancestor_below()
120 if (s->skip[1] <= ancestor) in get_ancestor_below()
121 return s->skip[1]; in get_ancestor_below()
122 if (s->skip[0] <= ancestor) in get_ancestor_below()
123 return s->skip[0]; in get_ancestor_below()
222 le32_to_cpu(s.v->skip[0]), in bch2_snapshot_to_text()
223 le32_to_cpu(s.v->skip[1]), in bch2_snapshot_to_text()
224 le32_to_cpu(s.v->skip[2])); in bch2_snapshot_to_text()
264 if (bkey_val_bytes(k.k) > offsetof(struct bch_snapshot, skip)) { in bch2_snapshot_validate()
[all …]
/linux-6.12.1/arch/sh/kernel/
Dstacktrace.c28 if (trace->skip > 0) { in save_stack_address()
29 trace->skip--; in save_stack_address()
60 if (trace->skip > 0) { in save_stack_address_nosched()
61 trace->skip--; in save_stack_address_nosched()
/linux-6.12.1/mm/kmsan/
Dreport.c38 int len, skip; in get_stack_skipnr() local
41 for (skip = 0; skip < num_entries; ++skip) { in get_stack_skipnr()
43 (void *)stack_entries[skip]); in get_stack_skipnr()
57 return skip; in get_stack_skipnr()
/linux-6.12.1/kernel/bpf/
Dstackmap.c232 u32 skip = flags & BPF_F_SKIP_FIELD_MASK; in __bpf_get_stackid() local
238 if (trace->nr <= skip) in __bpf_get_stackid()
242 trace_nr = trace->nr - skip; in __bpf_get_stackid()
244 ips = trace->ip + skip; in __bpf_get_stackid()
304 u32 skip = flags & BPF_F_SKIP_FIELD_MASK; in BPF_CALL_3() local
313 max_depth += skip; in BPF_CALL_3()
384 u64 skip = flags & BPF_F_SKIP_FIELD_MASK; in BPF_CALL_3() local
386 skip += nr_kernel; in BPF_CALL_3()
387 if (skip > BPF_F_SKIP_FIELD_MASK) in BPF_CALL_3()
390 flags = (flags & ~BPF_F_SKIP_FIELD_MASK) | skip; in BPF_CALL_3()
[all …]
/linux-6.12.1/drivers/acpi/x86/
Dutils.c437 static int acpi_dmi_skip_serdev_enumeration(struct device *controller_parent, bool *skip) in acpi_dmi_skip_serdev_enumeration() argument
456 *skip = true; in acpi_dmi_skip_serdev_enumeration()
462 *skip = true; in acpi_dmi_skip_serdev_enumeration()
469 *skip = true; in acpi_dmi_skip_serdev_enumeration()
489 static int acpi_dmi_skip_serdev_enumeration(struct device *controller_parent, bool *skip) in acpi_dmi_skip_serdev_enumeration() argument
495 int acpi_quirk_skip_serdev_enumeration(struct device *controller_parent, bool *skip) in acpi_quirk_skip_serdev_enumeration() argument
499 *skip = false; in acpi_quirk_skip_serdev_enumeration()
509 *skip = true; in acpi_quirk_skip_serdev_enumeration()
519 return acpi_dmi_skip_serdev_enumeration(controller_parent, skip); in acpi_quirk_skip_serdev_enumeration()
/linux-6.12.1/arch/openrisc/kernel/
Dstacktrace.c33 if (trace->skip > 0) { in save_stack_address()
34 trace->skip--; in save_stack_address()
59 if (trace->skip > 0) { in save_stack_address_nosched()
60 trace->skip--; in save_stack_address_nosched()
/linux-6.12.1/sound/pci/emu10k1/
Dvoice.c28 int i, j, k, skip; in voice_alloc() local
30 for (i = emu->next_free_voice, j = 0; j < NUM_G; i = (i + skip) % NUM_G, j += skip) { in voice_alloc()
38 skip = 1; in voice_alloc()
45 skip = k + 1; in voice_alloc()
/linux-6.12.1/tools/testing/selftests/kselftest/
Dmodule.sh46 skip "please run as root"
52 skip "module $module is not found"
75 skip() { function
/linux-6.12.1/tools/testing/selftests/ia64/
Daliasing-test.c79 goto skip; in scan_tree()
81 goto skip; in scan_tree()
110 skip: in scan_tree()
164 goto skip; in scan_rom()
166 goto skip; in scan_rom()
199 skip: in scan_rom()

12345678910>>...34