| /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() [all …]
|
| /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/fs/smb/client/ |
| H A D | dfs_cache.h | 47 const struct dfs_cache_tgt_iterator *it); 49 const struct dfs_cache_tgt_iterator *it, 52 const struct dfs_cache_tgt_iterator *it, 61 struct dfs_cache_tgt_iterator *it) in dfs_cache_get_next_tgt() argument 64 !it || list_is_last(&it->it_list, &tl->tl_list)) in dfs_cache_get_next_tgt() 66 return list_next_entry(it, it_list); in dfs_cache_get_next_tgt() 81 struct dfs_cache_tgt_iterator *it, *nit; in dfs_cache_free_tgts() local 85 list_for_each_entry_safe(it, nit, &tl->tl_list, it_list) { in dfs_cache_free_tgts() 86 list_del(&it->it_list); in dfs_cache_free_tgts() 87 kfree(it->it_name); in dfs_cache_free_tgts() [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/Documentation/filesystems/ |
| H A D | hpfs.rst | 15 is taken from it 24 Set owner/group/mode for files that do not have it specified in extended 33 - there is a list of text extensions (I thing it's better to not convert 35 change it in the source. Original readonly HPFS contained some strange 36 heuristic algorithm that I removed. I thing it's danger to let the 42 danger. I tried to write it so that it won't crash if check=normal on 44 used for debugging (for example it checks if file is allocated in 45 bitmaps when accessing it). 49 When to mark filesystem dirty so that OS/2 checks it. 72 access it under names 'a.', 'a..', 'a . . . ' etc. [all …]
|
| /linux/kernel/time/ |
| H A D | posix-cpu-timers.c | 115 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() 473 struct cpu_timer *ctmr = &timer->it.cpu; in posix_cpu_timer_del() 496 if (timer->it.cpu.firing) { in posix_cpu_timer_del() 503 timer->it.cpu.firing = false; in posix_cpu_timer_del() [all …]
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | lru_gen_util.c | 43 static char *split_next(struct split_iterator *it) in split_next() argument 45 char *ret = strtok_r(it->str, " \t\n\r", &it->save); in split_next() 47 it->str = NULL; in split_next() 55 struct split_iterator it = { .str = line }; in memcg_stats_handle_searching() local 56 char *prefix = split_next(&it); in memcg_stats_handle_searching() 57 char *memcg_id = split_next(&it); in memcg_stats_handle_searching() 58 char *memcg_name = split_next(&it); in memcg_stats_handle_searching() 86 struct split_iterator it = { .str = line }; in memcg_stats_handle_in_memcg() local 87 char *prefix = split_next(&it); in memcg_stats_handle_in_memcg() 88 char *id = split_next(&it); in memcg_stats_handle_in_memcg() [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/kernel/bpf/ |
| H A D | kmem_cache_iter.c | 24 __bpf_kfunc int bpf_iter_kmem_cache_new(struct bpf_iter_kmem_cache *it) in bpf_iter_kmem_cache_new() argument 26 struct bpf_iter_kmem_cache_kern *kit = (void *)it; in bpf_iter_kmem_cache_new() 28 BUILD_BUG_ON(sizeof(*kit) > sizeof(*it)); in bpf_iter_kmem_cache_new() 29 BUILD_BUG_ON(__alignof__(*kit) != __alignof__(*it)); in bpf_iter_kmem_cache_new() 35 __bpf_kfunc struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) in bpf_iter_kmem_cache_next() argument 37 struct bpf_iter_kmem_cache_kern *kit = (void *)it; in bpf_iter_kmem_cache_next() 80 __bpf_kfunc void bpf_iter_kmem_cache_destroy(struct bpf_iter_kmem_cache *it) in bpf_iter_kmem_cache_destroy() argument 82 struct bpf_iter_kmem_cache_kern *kit = (void *)it; in bpf_iter_kmem_cache_destroy() 111 struct bpf_iter_kmem_cache it; member 167 bpf_iter_kmem_cache_destroy(&p->it); in kmem_cache_iter_seq_stop() [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()
|