Home
last modified time | relevance | path

Searched refs:it (Results 1 – 25 of 2826) sorted by relevance

12345678910>>...114

/linux/tools/lib/bpf/
H A Dbtf_iter.c16 int btf_field_iter_init(struct btf_field_iter *it, struct btf_type *t, in btf_field_iter_init() argument
19 it->p = NULL; in btf_field_iter_init()
20 it->m_idx = -1; in btf_field_iter_init()
21 it->off_idx = 0; in btf_field_iter_init()
22 it->vlen = 0; in btf_field_iter_init()
32 it->desc = (struct btf_field_desc) {}; in btf_field_iter_init()
44 it->desc = (struct btf_field_desc) { 1, {offsetof(struct btf_type, type)} }; in btf_field_iter_init()
47 it->desc = (struct btf_field_desc) { in btf_field_iter_init()
54 it->desc = (struct btf_field_desc) { in btf_field_iter_init()
61 it->desc = (struct btf_field_desc) { in btf_field_iter_init()
[all …]
/linux/fs/erofs/
H A Dxattr.c123 static int erofs_xattr_copy_to_buffer(struct erofs_xattr_iter *it, in erofs_xattr_copy_to_buffer() argument
127 struct super_block *sb = it->sb; in erofs_xattr_copy_to_buffer()
130 it->kaddr = erofs_bread(&it->buf, it->pos, true); in erofs_xattr_copy_to_buffer()
131 if (IS_ERR(it->kaddr)) in erofs_xattr_copy_to_buffer()
132 return PTR_ERR(it->kaddr); in erofs_xattr_copy_to_buffer()
135 erofs_blkoff(sb, it->pos), len - processed); in erofs_xattr_copy_to_buffer()
136 memcpy(it->buffer + it->buffer_ofs, it->kaddr, slice); in erofs_xattr_copy_to_buffer()
137 it->buffer_ofs += slice; in erofs_xattr_copy_to_buffer()
138 it->pos += slice; in erofs_xattr_copy_to_buffer()
143 static int erofs_listxattr_foreach(struct erofs_xattr_iter *it) in erofs_listxattr_foreach() argument
[all …]
/linux/rust/macros/
H A Dhelpers.rs
H A Dmodule.rs533 // key or a new section. For the moment, keep it simple. in module()
544 /// This function must not be called after module initialization, because it may be in module()
551 // module wrapping it. It is called exactly once by the C side via its
568 // module wrapping it. It is called exactly once by the C side via its
570 // - furthermore it is only called after `init_module` has returned `0`
597 // module wrapping it. It is called exactly once by the C side via its
607 // module wrapping it. It is called exactly once by the C side via its
609 // - furthermore it is only called after `#ident_init` has
622 // and there only `__init` and `__exit` access it. These functions are only
637 // and there only `__init` and `__exit` access it
11 let mut it = group.stream().into_iter(); expect_string_array() localVariable
223 let mut it = params.stream().into_iter(); expect_params() localVariable
328 let mut it = ts.into_iter(); module() localVariable
[all...]
H A Dconcat_idents.rs16 let mut it = ts.into_iter(); concat_idents() localVariable
/linux/tools/testing/selftests/bpf/progs/
H A Diters.c33 struct bpf_iter_num it; in iter_err_unsafe_c_loop() local
38 bpf_iter_num_new(&it, 0, 1000); in iter_err_unsafe_c_loop()
39 while ((v = bpf_iter_num_next(&it))) { in iter_err_unsafe_c_loop()
42 bpf_iter_num_destroy(&it); in iter_err_unsafe_c_loop()
53 struct bpf_iter_num it; in iter_err_unsafe_asm_loop() local
79 : [it]"r"(&it), in iter_err_unsafe_asm_loop()
178 struct bpf_iter_num it; in iter_while_loop() local
183 bpf_iter_num_new(&it, 0, 3); in iter_while_loop()
184 while ((v = bpf_iter_num_next(&it))) { in iter_while_loop()
187 bpf_iter_num_destroy(&it); in iter_while_loop()
[all …]
H A Diters_testmod_seq.c13 extern int bpf_iter_testmod_seq_new(struct bpf_iter_testmod_seq *it, s64 value, int cnt) __ksym;
14 extern s64 *bpf_iter_testmod_seq_next(struct bpf_iter_testmod_seq *it) __ksym;
15 extern s64 bpf_iter_testmod_seq_value(int blah, struct bpf_iter_testmod_seq *it) __ksym;
16 extern void bpf_iter_testmod_seq_destroy(struct bpf_iter_testmod_seq *it) __ksym;
85 struct bpf_iter_testmod_seq it; in testmod_seq_getter_before_bad() local
87 return bpf_iter_testmod_seq_value(0, &it); in testmod_seq_getter_before_bad()
95 struct bpf_iter_testmod_seq it; in testmod_seq_getter_after_bad() local
98 bpf_iter_testmod_seq_new(&it, 100, 100); in testmod_seq_getter_after_bad()
100 while ((v = bpf_iter_testmod_seq_next(&it))) { in testmod_seq_getter_after_bad()
104 bpf_iter_testmod_seq_destroy(&it); in testmod_seq_getter_after_bad()
113 struct bpf_iter_testmod_seq it; testmod_seq_getter_good() local
[all...]
H A Diters_num.c142 struct bpf_iter_num it; in num_invalid_range() local
144 res_invalid_range = bpf_iter_num_new(&it, 1, 0); in num_invalid_range()
145 bpf_iter_num_destroy(&it); in num_invalid_range()
156 struct bpf_iter_num it; in num_max_range() local
158 res_max_range = 10 + bpf_iter_num_new(&it, 0, BPF_MAX_LOOPS); in num_max_range()
159 bpf_iter_num_destroy(&it); in num_max_range()
170 struct bpf_iter_num it; in num_e2big_range() local
172 res_e2big_range = bpf_iter_num_new(&it, -1, BPF_MAX_LOOPS); in num_e2big_range()
173 bpf_iter_num_destroy(&it); in num_e2big_range()
184 struct bpf_iter_num it; in num_succ_elem_cnt() local
[all …]
H A Dverifier_bits_iter.c13 int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign,
15 int *bpf_iter_bits_next(struct bpf_iter_bits *it) __ksym __weak;
16 void bpf_iter_bits_destroy(struct bpf_iter_bits *it) __ksym __weak;
25 struct bpf_iter_bits it; in BPF_PROG() local
28 bpf_iter_bits_new(&it, &data, 1); in BPF_PROG()
29 bpf_iter_bits_next(&it); in BPF_PROG()
38 struct bpf_iter_bits it = {}; in BPF_PROG() local
40 bpf_iter_bits_next(&it); in BPF_PROG()
49 struct bpf_iter_bits it = {}; in BPF_PROG() local
51 bpf_iter_bits_destroy(&it); in BPF_PROG()
[all...]
/linux/rust/syn/gen/
H A Dvisit.rs955 if let Some(it) = &node.name { in visit_abi()
956 v.visit_lit_str(it); in visit_abi()
971 let it = el.value(); in visit_angle_bracketed_generic_arguments() localVariable
972 v.visit_generic_argument(it); in visit_angle_bracketed_generic_arguments()
982 for it in &node.attrs { in visit_arm()
983 v.visit_attribute(it); in visit_arm()
986 if let Some(it) = &node.guard { in visit_arm()
987 skip!((it).0); in visit_arm()
988 v.visit_expr(&*(it).1); in visit_arm()
1001 if let Some(it) = &node.generics { in visit_assoc_const()
[all …]
H A Dvisit_mut.rs963 if let Some(it) = &mut node.name { in visit_abi_mut()
964 v.visit_lit_str_mut(it); in visit_abi_mut()
979 let it = el.value_mut(); in visit_angle_bracketed_generic_arguments_mut() localVariable
980 v.visit_generic_argument_mut(it); in visit_angle_bracketed_generic_arguments_mut()
992 if let Some(it) = &mut node.guard { in visit_arm_mut()
993 skip!((it).0); in visit_arm_mut()
994 v.visit_expr_mut(&mut *(it).1); in visit_arm_mut()
1007 if let Some(it) = &mut node.generics { in visit_assoc_const_mut()
1008 v.visit_angle_bracketed_generic_arguments_mut(it); in visit_assoc_const_mut()
1020 if let Some(it) = &mut node.generics { in visit_assoc_type_mut()
[all …]
/linux/Documentation/translations/it_IT/process/
H A Dprogramming-language.rst4 :Translator: Federico Vaga <federico.vaga@vaga.pv.it>
11 Il kernel è scritto nel linguaggio di programmazione C [it-c-language]_.
12 Più precisamente, il kernel viene compilato con ``gcc`` [it-gcc]_ usando
13 l'opzione ``-std=gnu11`` [it-gcc-c-dialect-options]_: il dialetto GNU
15 Linux supporta anche ``clang`` [it-clang]_, leggete la documentazione
18 Questo dialetto contiene diverse estensioni al linguaggio [it-gnu-extensions]_,
25 [it-gcc-attribute-syntax]_. Gli attributi permettono di aggiungere una semantica,
28 linguaggio stesso (come l'aggiunta di nuove parole chiave) [it-n2049]_.
46 [it-rust-language]_ abilitando l'opzione di configurazione ``CONFIG_RUST``. Il
47 codice verrà compilato usando ``rustc`` [it-rustc]_ con l'opzione
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmm.c99 nvkm_vmm_trace(struct nvkm_vmm_iter *it, char *buf) in nvkm_vmm_trace() argument
102 for (lvl = it->max; lvl >= 0; lvl--) { in nvkm_vmm_trace()
103 if (lvl >= it->lvl) in nvkm_vmm_trace()
104 buf += sprintf(buf, "%05x:", it->pte[lvl]); in nvkm_vmm_trace()
121 nvkm_vmm_flush_mark(struct nvkm_vmm_iter *it) in nvkm_vmm_flush_mark() argument
123 it->flush = min(it->flush, it->max - it->lvl); in nvkm_vmm_flush_mark()
127 nvkm_vmm_flush(struct nvkm_vmm_iter *it) in nvkm_vmm_flush() argument
129 if (it->flush != NVKM_VMM_LEVELS_MAX) { in nvkm_vmm_flush()
130 if (it->vmm->func->flush) { in nvkm_vmm_flush()
131 TRA(it, "flush: %d", it->flush); in nvkm_vmm_flush()
[all …]
/linux/include/linux/ceph/
H A Dmessenger.h137 #define __ceph_bio_iter_advance_step(it, n, STEP) do { \ argument
141 BUG_ON(!(it)->iter.bi_size); \
142 __cur_n = min((it)->iter.bi_size, __n); \
144 bio_advance_iter((it)->bio, &(it)->iter, __cur_n); \
145 if (!(it)->iter.bi_size && (it)->bio->bi_next) { \
147 (it)->bio = (it)->bio->bi_next; \
148 (it)->iter = (it)->bio->bi_iter; \
157 #define ceph_bio_iter_advance(it, n) \ argument
158 __ceph_bio_iter_advance_step(it, n, 0)
163 #define ceph_bio_iter_advance_step(it, n, BVEC_STEP) \ argument
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/
H A DKconfig24 If you choose to build it as a module, it will be called rtl8192ce
35 If you choose to build it as a module, it will be called rtl8192se
47 If you choose to build it as a module, it will be called rtl8192de
60 If you choose to build it as a module, it will be called rtl8723ae
73 If you choose to build it as a module, it will be called rtl8723be
84 If you choose to build it as a module, it will be called rtl8188ee
96 If you choose to build it as a module, it will be called rtl8192ee
108 If you choose to build it as a module, it will be called rtl8821ae
120 If you choose to build it as a module, it will be called rtl8192cu
132 If you choose to build it as a module, it will be called rtl8192du
/linux/drivers/accessibility/speakup/
H A DKconfig8 This is the Speakup screen reader. Think of it as a
10 kernel, it can speak everything on the text console from
55 synthesizer. You can say y to build it into the kernel,
56 or m to build it as a module. See the configuration
64 synthesizer. You can say y to build it into the kernel,
65 or m to build it as a module. See the configuration
72 synthesizer. You can say y to build it into the kernel,
73 or m to build it as a module. See the configuration
80 You can say y to build it into the kernel, or m to
81 build it as a module. See the configuration help on the
[all …]
/linux/drivers/of/
H A Dbase.c1312 int of_phandle_iterator_init(struct of_phandle_iterator *it, in of_phandle_iterator_init() argument
1321 memset(it, 0, sizeof(*it)); in of_phandle_iterator_init()
1334 it->cells_name = cells_name; in of_phandle_iterator_init()
1335 it->cell_count = cell_count; in of_phandle_iterator_init()
1336 it->parent = np; in of_phandle_iterator_init()
1337 it->list_end = list + size / sizeof(*list); in of_phandle_iterator_init()
1338 it->phandle_end = list; in of_phandle_iterator_init()
1339 it->cur = list; in of_phandle_iterator_init()
1345 int of_phandle_iterator_next(struct of_phandle_iterator *it) in of_phandle_iterator_next() argument
1349 if (it->node) { in of_phandle_iterator_next()
[all …]
/linux/kernel/time/
H A Dposix-cpu-timers.c115 return pid_task(timer->it.cpu.pid, clock_pid_type(timer->it_clock)); in cpu_timer_task_rcu()
124 u64 delta, incr, expires = timer->it.cpu.node.expires; in bump_cpu_timer()
144 timer->it.cpu.node.expires += incr; in bump_cpu_timer()
148 return timer->it.cpu.node.expires; in bump_cpu_timer()
410 timerqueue_init(&new_timer->it.cpu.node); in posix_cpu_timer_create()
411 new_timer->it.cpu.pid = get_pid(pid); in posix_cpu_timer_create()
453 struct cpu_timer *ctmr = &timer->it.cpu; in disarm_timer()
526 struct cpu_timer *ctmr = &timer->it.cpu; in timer_lock_sighand()
531 struct task_struct *t = pid_task(timer->it.cpu.pid, type); in timer_lock_sighand()
583 if (timer->it.cpu.firing) { in posix_cpu_timer_del()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dbpf_experimental.h20 extern int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it,
23 extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __ksym;
24 extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __ksym;
334 extern int bpf_iter_css_task_new(struct bpf_iter_css_task *it,
336 extern struct task_struct *bpf_iter_css_task_next(struct bpf_iter_css_task *it) __weak __ksym;
337 extern void bpf_iter_css_task_destroy(struct bpf_iter_css_task *it) __weak __ksym;
340 extern int bpf_iter_task_new(struct bpf_iter_task *it,
342 extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym;
343 extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym;
346 extern int bpf_iter_css_new(struct bpf_iter_css *it,
[all …]
/linux/arch/s390/kernel/
H A Drelocate_kernel.S36 tml %r5,0x1 # is it a destination page?
39 nill %r6,0xf000 # mask it out and...
42 tml %r5,0x2 # is it a indirection page?
45 lgr %r2,%r5 # move it into the right register,
48 tml %r5,0x4 # is it the done indicator?
49 je .source_test # NO! Well, then it should be the source indicator...
50 j .done # ok, lets finish it here...
52 tml %r5,0x8 # it should be a source indicator...
53 je .base # NO, ignore it...
/linux/drivers/iio/common/inv_sensors/
H A Dinv_sensors_timestamp.c119 delta = ts->it.lo - ts->timestamp; in inv_align_timestamp_it()
138 struct inv_sensors_timestamp_interval *it; in inv_sensors_timestamp_interrupt() local
147 it = &ts->it; in inv_sensors_timestamp_interrupt()
148 it->lo = it->up; in inv_sensors_timestamp_interrupt()
149 it->up = timestamp; in inv_sensors_timestamp_interrupt()
150 delta = it->up - it->lo; in inv_sensors_timestamp_interrupt()
151 if (it->lo != 0) { in inv_sensors_timestamp_interrupt()
161 ts->timestamp = it->up - interval; in inv_sensors_timestamp_interrupt()
198 ts->timestamp = ts->it.up - interval; in inv_sensors_timestamp_apply_odr()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_vm.c329 bo_va->it.start = 0; in radeon_vm_bo_add()
330 bo_va->it.last = 0; in radeon_vm_bo_add()
479 struct interval_tree_node *it; in radeon_vm_bo_set_addr() local
480 it = interval_tree_iter_first(&vm->va, soffset, eoffset); in radeon_vm_bo_set_addr()
481 if (it && it != &bo_va->it) { in radeon_vm_bo_set_addr()
483 tmp = container_of(it, struct radeon_bo_va, it); in radeon_vm_bo_set_addr()
487 soffset, tmp->bo, tmp->it.start, tmp->it.last); in radeon_vm_bo_set_addr()
494 if (bo_va->it.start || bo_va->it.last) { in radeon_vm_bo_set_addr()
503 tmp->it.start = bo_va->it.start; in radeon_vm_bo_set_addr()
504 tmp->it.last = bo_va->it.last; in radeon_vm_bo_set_addr()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A DKconfig9 If you choose to build it as a module, it will be called
22 If you choose to build it as a module, it will be called
34 If you choose to build it as a module, it will be called
45 If you choose to build it as a module, it will be called
/linux/Documentation/userspace-api/media/dvb/
H A Dfrontend-stat-properties.rst39 frontend, but it was not possible to collect it (could be a
63 - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
82 - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
103 In order to get the BER (Bit Error Rate) measurement, it should be
108 bit count measurements. The frontend may reset it when a
113 - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
136 bit count measurements. The frontend may reset it when a
141 - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
160 In order to get the BER (Bit Error Rate) measurement, it should be
165 bit count measurements. The frontend may reset it when a
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_active.c129 struct active_node *it, *n; in __active_retire() local
170 rbtree_postorder_for_each_entry_safe(it, n, &root, node) { in __active_retire()
171 GEM_BUG_ON(i915_active_fence_isset(&it->base)); in __active_retire()
172 kmem_cache_free(slab_cache, it); in __active_retire()
234 struct active_node *it; in __active_lookup() local
245 it = READ_ONCE(ref->cache); in __active_lookup()
246 if (it) { in __active_lookup()
247 u64 cached = READ_ONCE(it->timeline); in __active_lookup()
251 return it; in __active_lookup()
262 if (!cached && try_cmpxchg64(&it->timeline, &cached, idx)) in __active_lookup()
[all …]

12345678910>>...114