Home
last modified time | relevance | path

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

12345678910>>...75

/linux/tools/lib/bpf/
A Dbtf_iter.c19 it->p = NULL; in btf_field_iter_init()
20 it->m_idx = -1; in btf_field_iter_init()
22 it->vlen = 0; in btf_field_iter_init()
141 it->p = t; in btf_field_iter_init()
147 if (!it->p) in btf_field_iter_next()
151 if (it->off_idx < it->desc.t_off_cnt) in btf_field_iter_next()
152 return it->p + it->desc.t_offs[it->off_idx++]; in btf_field_iter_next()
165 if (it->off_idx >= it->desc.m_off_cnt) { in btf_field_iter_next()
168 it->p += it->desc.m_sz; in btf_field_iter_next()
172 if (it->m_idx < it->vlen) in btf_field_iter_next()
[all …]
/linux/fs/erofs/
A Dxattr.c84 it.kaddr = erofs_bread(&it.buf, it.pos, EROFS_KMAP); in erofs_init_inode_xattrs()
105 it.kaddr = erofs_bread(&it.buf, it.pos, EROFS_KMAP); in erofs_init_inode_xattrs()
186 it->kaddr = erofs_bread(&it->buf, it->pos, EROFS_KMAP); in erofs_xattr_copy_to_buffer()
193 memcpy(it->buffer + it->buffer_ofs, src, slice); in erofs_xattr_copy_to_buffer()
235 if (it->buffer_ofs + name_total > it->buffer_size) in erofs_listxattr_foreach()
247 it->buffer[it->buffer_ofs++] = '\0'; in erofs_listxattr_foreach()
289 it->kaddr = erofs_bread(&it->buf, it->pos, EROFS_KMAP); in erofs_getxattr_foreach()
333 it->kaddr = erofs_bread(&it->buf, it->pos, EROFS_KMAP); in erofs_xattr_iter_inline()
370 it->kaddr = erofs_bread(&it->buf, it->pos, EROFS_KMAP); in erofs_xattr_iter_shared()
416 erofs_init_metabuf(&it.buf, it.sb); in erofs_getxattr()
[all …]
/linux/drivers/usb/typec/mux/
A Dit5205.c126 struct it5205 *it = data; in it5205_irq_handler() local
177 struct it5205 *it; in it5205_probe() local
181 it = devm_kzalloc(dev, sizeof(*it), GFP_KERNEL); in it5205_probe()
182 if (!it) in it5205_probe()
189 it->client = client; in it5205_probe()
192 if (IS_ERR(it->regmap)) in it5205_probe()
222 sw_desc.drvdata = it; in it5205_probe()
227 if (IS_ERR(it->sw)) in it5205_probe()
231 mux_desc.drvdata = it; in it5205_probe()
236 if (IS_ERR(it->mux)) { in it5205_probe()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Diters.c33 struct bpf_iter_num it; in iter_err_unsafe_c_loop() local
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()
95 struct bpf_iter_num it; in iter_while_loop() local
131 struct bpf_iter_num it; in iter_for_loop() local
137 for (v = bpf_iter_num_next(&it); v; v = bpf_iter_num_next(&it)) { in iter_for_loop()
179 struct bpf_iter_num it; in iter_pragma_unroll_loop() local
199 struct bpf_iter_num it; in iter_manual_unroll_loop() local
222 struct bpf_iter_num it; in iter_multiple_sequential_loops() local
[all …]
A Diters_testmod_seq.c85 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; in testmod_seq_getter_good() local
116 bpf_iter_testmod_seq_new(&it, 100, 100); in testmod_seq_getter_good()
118 while ((v = bpf_iter_testmod_seq_next(&it))) { in testmod_seq_getter_good()
122 sum *= bpf_iter_testmod_seq_value(0, &it); in testmod_seq_getter_good()
[all …]
A Diters_num.c142 struct bpf_iter_num it; in num_invalid_range() local
145 bpf_iter_num_destroy(&it); in num_invalid_range()
156 struct bpf_iter_num it; in num_max_range() local
159 bpf_iter_num_destroy(&it); in num_max_range()
170 struct bpf_iter_num it; in num_e2big_range() local
173 bpf_iter_num_destroy(&it); in num_e2big_range()
184 struct bpf_iter_num it; in num_succ_elem_cnt() local
191 bpf_iter_num_destroy(&it); in num_succ_elem_cnt()
204 struct bpf_iter_num it; in num_overfetched_elem_cnt() local
213 bpf_iter_num_destroy(&it); in num_overfetched_elem_cnt()
[all …]
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 = NULL; 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()
/linux/fs/smb/client/
A Ddfs_cache.h46 int dfs_cache_get_tgt_referral(const char *path, const struct dfs_cache_tgt_iterator *it,
56 struct dfs_cache_tgt_iterator *it) in dfs_cache_get_next_tgt() argument
59 !it || list_is_last(&it->it_list, &tl->tl_list)) in dfs_cache_get_next_tgt()
61 return list_next_entry(it, it_list); in dfs_cache_get_next_tgt()
76 struct dfs_cache_tgt_iterator *it, *nit; in dfs_cache_free_tgts() local
80 list_for_each_entry_safe(it, nit, &tl->tl_list, it_list) { in dfs_cache_free_tgts()
81 list_del(&it->it_list); in dfs_cache_free_tgts()
82 kfree(it->it_name); in dfs_cache_free_tgts()
83 kfree(it); in dfs_cache_free_tgts()
89 dfs_cache_get_tgt_name(const struct dfs_cache_tgt_iterator *it) in dfs_cache_get_tgt_name() argument
[all …]
/linux/rust/macros/
A Dhelpers.rs5 pub(crate) fn try_ident(it: &mut token_stream::IntoIter) -> Option<String> { in try_ident()
6 if let Some(TokenTree::Ident(ident)) = it.next() { in try_ident()
14 if let Some(TokenTree::Literal(literal)) = it.next() { in try_literal()
22 try_literal(it).and_then(|string| { in try_string()
37 pub(crate) fn expect_ident(it: &mut token_stream::IntoIter) -> String { in expect_ident()
38 try_ident(it).expect("Expected Ident") in expect_ident()
41 pub(crate) fn expect_punct(it: &mut token_stream::IntoIter) -> char { in expect_punct()
50 try_string(it).expect("Expected string") in expect_string()
54 let string = try_string(it).expect("Expected string"); in expect_string_ascii()
67 pub(crate) fn expect_end(it: &mut token_stream::IntoIter) { in expect_end()
[all …]
A Dmodule.rs8 let group = expect_group(it); in expect_string_array()
11 let mut it = group.stream().into_iter(); in expect_string_array() variables
13 while let Some(val) = try_string(&mut it) { in expect_string_array()
16 match it.next() { in expect_string_array()
104 fn parse(it: &mut token_stream::IntoIter) -> Self { in parse()
120 let key = match it.next() { in parse()
133 assert_eq!(expect_punct(it), ':'); in parse()
149 assert_eq!(expect_punct(it), ','); in parse()
154 expect_end(it); in parse()
181 let mut it = ts.into_iter(); in module() variables
[all …]
A Dconcat_idents.rs7 fn expect_ident(it: &mut token_stream::IntoIter) -> Ident { in expect_ident()
8 if let Some(TokenTree::Ident(ident)) = it.next() { in expect_ident()
16 let mut it = ts.into_iter(); in concat_idents() variables
17 let a = expect_ident(&mut it); in concat_idents()
18 assert_eq!(expect_punct(&mut it), ','); in concat_idents()
19 let b = expect_ident(&mut it); in concat_idents()
20 assert!(it.next().is_none(), "only two idents can be concatenated"); in concat_idents()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
A Dvmm.c122 it->flush = min(it->flush, it->max - it->lvl); in nvkm_vmm_flush_mark()
131 it->vmm->func->flush(it->vmm, it->flush); in nvkm_vmm_flush()
478 it->desc[it->lvl].func->pde(it->vmm, pgd, pdei); in nvkm_vmm_ref_hwpt()
518 for (it.lvl = 0; desc[it.lvl].bits; it.lvl++) { in nvkm_vmm_iter()
522 it.max = --it.lvl; in nvkm_vmm_iter()
523 it.pt[it.max] = vmm->pd; in nvkm_vmm_iter()
528 it.lvl = it.max; in nvkm_vmm_iter()
575 it.pte[it.lvl] += ptes; in nvkm_vmm_iter()
579 it.pte[it.lvl++] = 0; in nvkm_vmm_iter()
580 it.pte[it.lvl]++; in nvkm_vmm_iter()
[all …]
/linux/Documentation/translations/it_IT/process/
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
28 linguaggio stesso (come l'aggiunta di nuove parole chiave) [it-n2049]_.
47 codice verrà compilato usando ``rustc`` [it-rustc]_ con l'opzione
59 .. [it-gcc] https://gcc.gnu.org
60 .. [it-clang] https://clang.llvm.org
65 .. [it-rust-language] https://www.rust-lang.org
[all …]
/linux/include/linux/ceph/
A Dmessenger.h140 BUG_ON(!(it)->iter.bi_size); \
143 bio_advance_iter((it)->bio, &(it)->iter, __cur_n); \
144 if (!(it)->iter.bi_size && (it)->bio->bi_next) { \
146 (it)->bio = (it)->bio->bi_next; \
147 (it)->iter = (it)->bio->bi_iter; \
157 __ceph_bio_iter_advance_step(it, n, 0)
167 __cur_iter = (it)->iter; \
183 bvec_iter_advance((it)->bvecs, &(it)->iter, (n)); \
190 __ceph_bvec_iter_advance_step(it, n, 0)
200 __cur_iter = (it)->iter; \
[all …]
/linux/tools/sched_ext/include/scx/
A Dcompat.bpf.h24 #define __COMPAT_scx_bpf_dispatch_from_dsq_set_slice(it, slice) \ argument
26 scx_bpf_dispatch_from_dsq_set_slice((it), (slice)) : (void)0)
27 #define __COMPAT_scx_bpf_dispatch_from_dsq_set_vtime(it, vtime) \ argument
29 scx_bpf_dispatch_from_dsq_set_vtime((it), (vtime)) : (void)0)
30 #define __COMPAT_scx_bpf_dispatch_from_dsq(it, p, dsq_id, enq_flags) \ argument
32 scx_bpf_dispatch_from_dsq((it), (p), (dsq_id), (enq_flags)) : false)
33 #define __COMPAT_scx_bpf_dispatch_vtime_from_dsq(it, p, dsq_id, enq_flags) \ argument
35 scx_bpf_dispatch_vtime_from_dsq((it), (p), (dsq_id), (enq_flags)) : false)
/linux/drivers/net/wireless/realtek/rtlwifi/
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/of/
A Dbase.c1168 memset(it, 0, sizeof(*it)); in of_phandle_iterator_init()
1201 if (!it->cur || it->phandle_end >= it->list_end) in of_phandle_iterator_next()
1204 it->cur = it->phandle_end; in of_phandle_iterator_next()
1207 it->phandle = be32_to_cpup(it->cur++); in of_phandle_iterator_next()
1220 it->parent, it->phandle); in of_phandle_iterator_next()
1249 if (it->cur + count > it->list_end) { in of_phandle_iterator_next()
1252 it->parent, it->cells_name, in of_phandle_iterator_next()
1253 count, it->list_end - it->cur); in of_phandle_iterator_next()
1256 it->parent, of_node_full_name(it->node), in of_phandle_iterator_next()
1257 count, it->list_end - it->cur); in of_phandle_iterator_next()
[all …]
/linux/drivers/accessibility/speakup/
A DKconfig8 This is the Speakup screen reader. Think of it as a
10 kernel, it can speak everything on the text console from
56 or m to build it as a module. See the configuration
65 or m to build it as a module. See the configuration
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
107 kernel, or m to build it as a module. See the
141 kernel, or m to build it as a module. See the
152 kernel, or m to build it as a module. See the
162 kernel, or m to build it as a module. See the
[all …]
/linux/Documentation/filesystems/
A Dhpfs.rst15 is taken from it
42 danger. I tried to write it so that it won't crash if check=normal on
45 bitmaps when accessing it).
125 name it's comparing to with its code page (850). These could never match. Is it
181 it will be slow).
201 whole created by this driver, it is BUG - let me know about it.
259 1.93 Modified, so that it works with kernels >= 2.1.131, I don't know if it
263 test it)
286 it)
288 Fixed a bug that it set badly one flag in large anode tree (it was not
[all …]
/linux/arch/s390/kernel/
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/
A Dinv_sensors_timestamp.c115 delta = ts->it.lo - ts->timestamp; in inv_align_timestamp_it()
134 struct inv_sensors_timestamp_interval *it; in inv_sensors_timestamp_interrupt() local
143 it = &ts->it; in inv_sensors_timestamp_interrupt()
144 it->lo = it->up; in inv_sensors_timestamp_interrupt()
145 it->up = timestamp; in inv_sensors_timestamp_interrupt()
146 delta = it->up - it->lo; in inv_sensors_timestamp_interrupt()
147 if (it->lo != 0) { in inv_sensors_timestamp_interrupt()
157 ts->timestamp = it->up - interval; in inv_sensors_timestamp_interrupt()
194 ts->timestamp = ts->it.up - interval; in inv_sensors_timestamp_apply_odr()
/linux/kernel/time/
A Dposix-cpu-timers.c497 if (timer->it.cpu.firing) in posix_cpu_timer_del()
913 if (!it->expires) in check_cpu_itimer()
917 if (it->incr) in check_cpu_itimer()
918 it->expires += it->incr; in check_cpu_itimer()
920 it->expires = 0; in check_cpu_itimer()
928 if (it->expires && it->expires < *expires) in check_cpu_itimer()
929 *expires = it->expires; in check_cpu_itimer()
1467 struct itimerspec64 it; in do_cpu_nanosleep() local
1486 memset(&it, 0, sizeof(it)); in do_cpu_nanosleep()
1487 it.it_value = *rqtp; in do_cpu_nanosleep()
[all …]
/linux/Documentation/gpu/amdgpu/
A Dthermal.rst117 Use it to enable/disable GFXOFF, and to check if it's current enabled/disabled::
122 - Write 0 to disable it, and 1 to enable it.
123 - Read 0 means it's disabled, 1 it's enabled.
125 If it's enabled, that means that the GPU is free to enter into GFXOFF mode as
126 needed. Disabled means that it will never enter GFXOFF mode.
131 Read it to check current GFXOFF's status of a GPU::
142 getting into 0 when possible. When it's disabled, it's always at 2. Returns
143 ``-EINVAL`` if it's not supported.
148 Read it to get the total GFXOFF entry count at the time of query since system
150 it can currently overflow as an `uint32_t`. *Only supported in vangogh*
[all …]
/linux/Documentation/userspace-api/media/dvb/
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
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
170 - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
198 - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
219 - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
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

Completed in 67 milliseconds

12345678910>>...75