| /linux/fs/erofs/ |
| H A D | xattr.c | 31 struct erofs_xattr_iter it; in erofs_init_inode_xattrs() local 79 it.buf = __EROFS_BUF_INITIALIZER; in erofs_init_inode_xattrs() 80 ret = erofs_init_metabuf(&it.buf, sb, erofs_inode_in_metabox(inode)); in erofs_init_inode_xattrs() 83 it.pos = erofs_iloc(inode) + vi->inode_isize; in erofs_init_inode_xattrs() 86 it.kaddr = erofs_bread(&it.buf, it.pos, true); in erofs_init_inode_xattrs() 87 if (IS_ERR(it.kaddr)) { in erofs_init_inode_xattrs() 88 ret = PTR_ERR(it.kaddr); in erofs_init_inode_xattrs() 92 ih = it.kaddr; in erofs_init_inode_xattrs() 98 erofs_put_metabuf(&it.buf); in erofs_init_inode_xattrs() 104 it.pos += sizeof(struct erofs_xattr_ibody_header); in erofs_init_inode_xattrs() [all …]
|
| /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/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 79 : [it]"r"(&it), in iter_err_unsafe_asm_loop() 95 struct bpf_iter_num it; in iter_while_loop() local 100 bpf_iter_num_new(&it, 0, 3); in iter_while_loop() 101 while ((v = bpf_iter_num_next(&it))) { in iter_while_loop() 104 bpf_iter_num_destroy(&it); in iter_while_loop() [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 …]
|
| 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 …]
|
| /linux/rust/macros/ |
| H A D | helpers.rs | 5 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() 13 pub(crate) fn try_literal(it: &mut token_stream::IntoIter) -> Option<String> { in try_literal() 14 if let Some(TokenTree::Literal(literal)) = it.next() { in try_literal() 21 pub(crate) fn try_string(it: &mut token_stream::IntoIter) -> Option<String> { in try_string() 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() 42 if let TokenTree::Punct(punct) = it.next().expect("Reached end of token stream for Punct") { in expect_punct() [all …]
|
| H A D | module.rs | 7 fn expect_string_array(it: &mut token_stream::IntoIter) -> Vec<String> { in expect_string_array() 8 let group = expect_group(it); in expect_string_array() 11 let mut it = group.stream().into_iter(); in expect_string_array() localVariable 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() 130 assert_eq!(expect_punct(it), ':'); in parse() 133 "type" => info.type_ = expect_ident(it), in parse() 134 "name" => info.name = expect_string_ascii(it), in parse() [all …]
|
| H A D | concat_idents.rs | 7 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() localVariable 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/fs/smb/client/ |
| H A D | dfs_cache.h | 45 void dfs_cache_noreq_update_tgthint(const char *path, const struct dfs_cache_tgt_iterator *it); 46 int dfs_cache_get_tgt_referral(const char *path, const struct dfs_cache_tgt_iterator *it, 48 int dfs_cache_get_tgt_share(char *path, const struct dfs_cache_tgt_iterator *it, char **share, 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() [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/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/of/ |
| H A D | base.c | 1235 int of_phandle_iterator_init(struct of_phandle_iterator *it, in of_phandle_iterator_init() argument 1244 memset(it, 0, sizeof(*it)); in of_phandle_iterator_init() 1257 it->cells_name = cells_name; in of_phandle_iterator_init() 1258 it->cell_count = cell_count; in of_phandle_iterator_init() 1259 it->parent = np; in of_phandle_iterator_init() 1260 it->list_end = list + size / sizeof(*list); in of_phandle_iterator_init() 1261 it->phandle_end = list; in of_phandle_iterator_init() 1262 it->cur = list; in of_phandle_iterator_init() 1268 int of_phandle_iterator_next(struct of_phandle_iterator *it) in of_phandle_iterator_next() argument 1272 if (it->node) { in of_phandle_iterator_next() [all …]
|
| /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/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/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/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()
|
| /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/drivers/gpu/drm/radeon/ |
| H A D | radeon_vm.c | 330 bo_va->it.start = 0; in radeon_vm_bo_add() 331 bo_va->it.last = 0; in radeon_vm_bo_add() 480 struct interval_tree_node *it; in radeon_vm_bo_set_addr() local 481 it = interval_tree_iter_first(&vm->va, soffset, eoffset); in radeon_vm_bo_set_addr() 482 if (it && it != &bo_va->it) { in radeon_vm_bo_set_addr() 484 tmp = container_of(it, struct radeon_bo_va, it); in radeon_vm_bo_set_addr() 488 soffset, tmp->bo, tmp->it.start, tmp->it.last); in radeon_vm_bo_set_addr() 495 if (bo_va->it.start || bo_va->it.last) { in radeon_vm_bo_set_addr() 504 tmp->it.start = bo_va->it.start; in radeon_vm_bo_set_addr() 505 tmp->it.last = bo_va->it.last; in radeon_vm_bo_set_addr() [all …]
|
| /linux/Documentation/gpu/amdgpu/ |
| H A D | thermal.rst | 129 Use it to enable/disable GFXOFF, and to check if it's current enabled/disabled:: 134 - Write 0 to disable it, and 1 to enable it. 135 - Read 0 means it's disabled, 1 it's enabled. 137 If it's enabled, that means that the GPU is free to enter into GFXOFF mode as 138 needed. Disabled means that it will never enter GFXOFF mode. 143 Read it to check current GFXOFF's status of a GPU:: 154 getting into 0 when possible. When it's disabled, it's always at 2. Returns 155 ``-EINVAL`` if it's not supported. 160 Read it to get the total GFXOFF entry count at the time of query since system 162 it can currently overflow as an `uint32_t`. *Only supported in vangogh* [all …]
|