| /linux/tools/lib/bpf/ |
| H A D | btf_iter.c | 16 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/drivers/gpu/drm/bridge/ |
| H A D | ite-it6263.c | 352 static int it6263_parse_dt(struct it6263 *it) in it6263_parse_dt() argument 354 struct device *dev = it->dev; in it6263_parse_dt() 358 it->lvds_data_mapping = drm_of_lvds_get_data_mapping(dev->of_node); in it6263_parse_dt() 359 if (it->lvds_data_mapping < 0) { in it6263_parse_dt() 361 dev->of_node, "data-mapping", it->lvds_data_mapping); in it6263_parse_dt() 362 return it->lvds_data_mapping; in it6263_parse_dt() 365 it->next_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 2, 0); in it6263_parse_dt() 366 if (IS_ERR(it->next_bridge)) in it6263_parse_dt() 367 return dev_err_probe(dev, PTR_ERR(it->next_bridge), in it6263_parse_dt() 375 it->lvds_dual_link = true; in it6263_parse_dt() [all …]
|
| /linux/fs/erofs/ |
| H A D | xattr.c | 117 static int erofs_xattr_copy_to_buffer(struct erofs_xattr_iter *it, in erofs_xattr_copy_to_buffer() argument 121 struct super_block *sb = it->sb; in erofs_xattr_copy_to_buffer() 124 it->kaddr = erofs_bread(&it->buf, it->pos, true); in erofs_xattr_copy_to_buffer() 125 if (IS_ERR(it->kaddr)) in erofs_xattr_copy_to_buffer() 126 return PTR_ERR(it->kaddr); in erofs_xattr_copy_to_buffer() 129 erofs_blkoff(sb, it->pos), len - processed); in erofs_xattr_copy_to_buffer() 130 memcpy(it->buffer + it->buffer_ofs, it->kaddr, slice); in erofs_xattr_copy_to_buffer() 131 it->buffer_ofs += slice; in erofs_xattr_copy_to_buffer() 132 it->pos += slice; in erofs_xattr_copy_to_buffer() 137 static int erofs_listxattr_foreach(struct erofs_xattr_iter *it) in erofs_listxattr_foreach() argument [all …]
|
| /linux/drivers/usb/typec/mux/ |
| H A D | it5205.c | 71 struct it5205 *it = typec_switch_get_drvdata(sw); in it5205_switch_set() local 75 regmap_update_bits(it->regmap, IT5205_REG_MUXCR, in it5205_switch_set() 79 regmap_update_bits(it->regmap, IT5205_REG_MUXCR, in it5205_switch_set() 85 regmap_write(it->regmap, IT5205_REG_MUXCR, 0); in it5205_switch_set() 94 struct it5205 *it = typec_mux_get_drvdata(mux); in it5205_mux_set() local 120 return regmap_update_bits(it->regmap, IT5205_REG_MUXCR, in it5205_mux_set() 126 struct it5205 *it = data; in it5205_irq_handler() local 130 ret = regmap_read(it->regmap, IT5205_REG_ISR, &val); in it5205_irq_handler() 135 dev_warn(&it->client->dev, "Overvoltage detected!\n"); in it5205_irq_handler() 138 regmap_update_bits(it->regmap, IT5205_REG_CSBUSR, in it5205_irq_handler() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | iters.c | 33 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 59 "r1 = %[it];" /* iterator state */ in iter_err_unsafe_asm_loop() 65 "r1 = %[it];" in iter_err_unsafe_asm_loop() 71 "r1 = %[it];" in iter_err_unsafe_asm_loop() 79 : [it]"r"(&it), in iter_err_unsafe_asm_loop() 95 struct bpf_iter_num it; iter_while_loop() local 113 __attribute__((cleanup(bpf_iter_num_destroy))) struct bpf_iter_num it; iter_while_loop_auto_cleanup() local 131 struct bpf_iter_num it; iter_for_loop() local 179 struct bpf_iter_num it; iter_pragma_unroll_loop() local 199 struct bpf_iter_num it; iter_manual_unroll_loop() local 222 struct bpf_iter_num it; iter_multiple_sequential_loops() local 265 struct bpf_iter_num it; iter_limit_cond_break_loop() local 290 struct bpf_iter_num it; iter_obfuscate_counter() local 334 struct bpf_iter_num it; iter_search_loop() local 660 fill(struct bpf_iter_num * it,int * arr,__u32 n,int mul) fill() argument 672 sum(struct bpf_iter_num * it,int * arr,__u32 n) sum() argument 691 struct bpf_iter_num it; iter_pass_iter_ptr_to_subprog() local [all...] |
| H A D | iters_num.c | 142 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 D | iters_testmod_seq.c | 13 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 D | verifier_bits_iter.c | 13 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()
|
| /linux/rust/macros/ |
| H A D | helpers.rs | |
| H A D | module.rs | 538 // key or a new section. For the moment, keep it simple. in module() 549 /// This function must not be called after module initialization, because it may be 556 // module wrapping it. It is called exactly once by the C side via its 573 // module wrapping it. It is called exactly once by the C side via its 575 // - furthermore it is only called after `init_module` has returned `0` 602 // module wrapping it. It is called exactly once by the C side via its 612 // module wrapping it. It is called exactly once by the C side via its 614 // - furthermore it is only called after `#ident_init` has 627 // and there only `__init` and `__exit` access it. These functions are only 642 // 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 D | concat_idents.rs | 16 let mut it = ts.into_iter(); concat_idents() localVariable
|
| /linux/rust/syn/gen/ |
| H A D | visit.rs | 955 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 D | visit_mut.rs | 963 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/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| H A D | vmm.c | 98 nvkm_vmm_trace(struct nvkm_vmm_iter *it, char *buf) in nvkm_vmm_trace() argument 101 for (lvl = it->max; lvl >= 0; lvl--) { in nvkm_vmm_trace() 102 if (lvl >= it->lvl) in nvkm_vmm_trace() 103 buf += sprintf(buf, "%05x:", it->pte[lvl]); in nvkm_vmm_trace() 120 nvkm_vmm_flush_mark(struct nvkm_vmm_iter *it) in nvkm_vmm_flush_mark() argument 122 it->flush = min(it->flush, it->max - it->lvl); in nvkm_vmm_flush_mark() 126 nvkm_vmm_flush(struct nvkm_vmm_iter *it) in nvkm_vmm_flush() argument 128 if (it->flush != NVKM_VMM_LEVELS_MAX) { in nvkm_vmm_flush() 129 if (it->vmm->func->flush) { in nvkm_vmm_flush() 130 TRA(it, "flush: %d", it->flush); in nvkm_vmm_flush() [all …]
|
| /linux/Documentation/translations/it_IT/process/ |
| H A D | programming-language.rst | 4 :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/include/linux/ceph/ |
| H A D | messenger.h | 137 #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/of/ |
| H A D | base.c | 1282 int of_phandle_iterator_init(struct of_phandle_iterator *it, in of_phandle_iterator_init() argument 1291 memset(it, 0, sizeof(*it)); in of_phandle_iterator_init() 1304 it->cells_name = cells_name; in of_phandle_iterator_init() 1305 it->cell_count = cell_count; in of_phandle_iterator_init() 1306 it->parent = np; in of_phandle_iterator_init() 1307 it->list_end = list + size / sizeof(*list); in of_phandle_iterator_init() 1308 it->phandle_end = list; in of_phandle_iterator_init() 1309 it->cur = list; in of_phandle_iterator_init() 1315 int of_phandle_iterator_next(struct of_phandle_iterator *it) in of_phandle_iterator_next() argument 1319 if (it->node) { in of_phandle_iterator_next() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | Kconfig | 24 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 D | Kconfig | 8 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/gpu/drm/radeon/ |
| H A D | radeon_vm.c | 329 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/iio/common/inv_sensors/ |
| H A D | inv_sensors_timestamp.c | 119 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/Documentation/userspace-api/media/dvb/ |
| H A D | frontend-stat-properties.rst | 39 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/arch/s390/kernel/ |
| H A D | relocate_kernel.S | 36 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/Documentation/process/ |
| H A D | management-style.rst | 14 to do with reality. It started as a lark, but that doesn't mean that it 17 Btw, when talking about "kernel manager", it's all about the technical 24 People", and NOT read it. Burn it, it's a great symbolic gesture. 27 making it painfully obvious to the questioner that we don't have a clue 39 manager must be to make it. That's very deep and obvious, but it's not 76 a kernel manager have huge fiscal responsibility **anyway**, it's usually 83 you made a year ago wasn't a big decision after all, since it could be 89 - admitting you were an idiot is harder than it looks. We all like to 95 deleting it, you may have irrevocably lost the trust of that 104 your mind, and make people very **aware** of that. And it's much easier [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_active.c | 129 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 …]
|