/linux-6.12.1/arch/x86/kvm/mmu/ |
D | paging_tmpl.h | 199 struct guest_walker *walker, in FNAME() 212 for (level = walker->max_level; level >= walker->level; --level) { in FNAME() 213 pte = orig_pte = walker->ptes[level - 1]; in FNAME() 214 table_gfn = walker->table_gfn[level - 1]; in FNAME() 215 ptep_user = walker->ptep_user[level - 1]; in FNAME() 221 if (level == walker->level && write_fault && in FNAME() 246 if (unlikely(!walker->pte_writable[level - 1])) in FNAME() 254 walker->ptes[level - 1] = pte; in FNAME() 302 static int FNAME(walk_addr_generic)(struct guest_walker *walker, in FNAME() 326 walker->level = mmu->cpu_role.base.level; in FNAME() [all …]
|
/linux-6.12.1/arch/arm64/kvm/hyp/ |
D | pgtable.c | 21 struct kvm_pgtable_walker *walker; member 140 struct kvm_pgtable_walker *walker = data->walker; in kvm_pgtable_visitor_cb() local 144 return walker->cb(ctx, visit); in kvm_pgtable_visitor_cb() 147 static bool kvm_pgtable_walk_continue(const struct kvm_pgtable_walker *walker, in kvm_pgtable_walk_continue() argument 161 return !(walker->flags & KVM_PGTABLE_WALK_HANDLE_FAULT); in kvm_pgtable_walk_continue() 173 enum kvm_pgtable_walk_flags flags = data->walker->flags; in __kvm_pgtable_visit() 174 kvm_pte_t *ptep = kvm_dereference_pteref(data->walker, pteref); in __kvm_pgtable_visit() 178 .arg = data->walker->arg, in __kvm_pgtable_visit() 211 if (!kvm_pgtable_walk_continue(data->walker, ret)) in __kvm_pgtable_visit() 222 if (!kvm_pgtable_walk_continue(data->walker, ret)) in __kvm_pgtable_visit() [all …]
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | kvm_pgtable.h | 347 static inline kvm_pte_t *kvm_dereference_pteref(struct kvm_pgtable_walker *walker, in kvm_dereference_pteref() argument 353 static inline int kvm_pgtable_walk_begin(struct kvm_pgtable_walker *walker) in kvm_pgtable_walk_begin() argument 359 if (walker->flags & KVM_PGTABLE_WALK_SHARED) in kvm_pgtable_walk_begin() 365 static inline void kvm_pgtable_walk_end(struct kvm_pgtable_walker *walker) {} in kvm_pgtable_walk_end() argument 376 static inline kvm_pte_t *kvm_dereference_pteref(struct kvm_pgtable_walker *walker, in kvm_dereference_pteref() argument 379 return rcu_dereference_check(pteref, !(walker->flags & KVM_PGTABLE_WALK_SHARED)); in kvm_dereference_pteref() 382 static inline int kvm_pgtable_walk_begin(struct kvm_pgtable_walker *walker) in kvm_pgtable_walk_begin() argument 384 if (walker->flags & KVM_PGTABLE_WALK_SHARED) in kvm_pgtable_walk_begin() 390 static inline void kvm_pgtable_walk_end(struct kvm_pgtable_walker *walker) in kvm_pgtable_walk_end() argument 392 if (walker->flags & KVM_PGTABLE_WALK_SHARED) in kvm_pgtable_walk_end() [all …]
|
/linux-6.12.1/security/landlock/ |
D | task.c | 38 const struct landlock_hierarchy *walker; in domain_scope_le() local 44 for (walker = child->hierarchy; walker; walker = walker->parent) { in domain_scope_le() 45 if (walker == parent->hierarchy) in domain_scope_le()
|
/linux-6.12.1/fs/ecryptfs/ |
D | super.c | 137 struct ecryptfs_global_auth_tok *walker; in ecryptfs_show_options() local 140 list_for_each_entry(walker, in ecryptfs_show_options() 143 if (walker->flags & ECRYPTFS_AUTH_TOK_FNEK) in ecryptfs_show_options() 144 seq_printf(m, ",ecryptfs_fnek_sig=%s", walker->sig); in ecryptfs_show_options() 146 seq_printf(m, ",ecryptfs_sig=%s", walker->sig); in ecryptfs_show_options()
|
D | keystore.c | 491 struct ecryptfs_global_auth_tok *walker; in ecryptfs_find_global_auth_tok_for_sig() local 497 list_for_each_entry(walker, in ecryptfs_find_global_auth_tok_for_sig() 500 if (memcmp(walker->sig, sig, ECRYPTFS_SIG_SIZE_HEX)) in ecryptfs_find_global_auth_tok_for_sig() 503 if (walker->flags & ECRYPTFS_AUTH_TOK_INVALID) { in ecryptfs_find_global_auth_tok_for_sig() 508 rc = key_validate(walker->global_auth_tok_key); in ecryptfs_find_global_auth_tok_for_sig() 515 down_write(&(walker->global_auth_tok_key->sem)); in ecryptfs_find_global_auth_tok_for_sig() 517 walker->global_auth_tok_key, auth_tok); in ecryptfs_find_global_auth_tok_for_sig() 521 (*auth_tok_key) = walker->global_auth_tok_key; in ecryptfs_find_global_auth_tok_for_sig() 528 up_write(&(walker->global_auth_tok_key->sem)); in ecryptfs_find_global_auth_tok_for_sig() 531 walker->flags |= ECRYPTFS_AUTH_TOK_INVALID; in ecryptfs_find_global_auth_tok_for_sig() [all …]
|
/linux-6.12.1/security/yama/ |
D | yama_lsm.c | 278 struct task_struct *walker = child; in task_is_descendant() local 286 while (walker->pid > 0) { in task_is_descendant() 287 if (!thread_group_leader(walker)) in task_is_descendant() 288 walker = rcu_dereference(walker->group_leader); in task_is_descendant() 289 if (walker == parent) { in task_is_descendant() 293 walker = rcu_dereference(walker->real_parent); in task_is_descendant()
|
/linux-6.12.1/lib/ |
D | rhashtable.c | 323 struct rhashtable_walker *walker; in rhashtable_rehash_table() local 342 list_for_each_entry(walker, &old_tbl->walkers, list) in rhashtable_rehash_table() 343 walker->tbl = NULL; in rhashtable_rehash_table() 682 iter->walker.tbl = in rhashtable_walk_enter() 684 list_add(&iter->walker.list, &iter->walker.tbl->walkers); in rhashtable_walk_enter() 698 if (iter->walker.tbl) in rhashtable_walk_exit() 699 list_del(&iter->walker.list); in rhashtable_walk_exit() 731 if (iter->walker.tbl) in rhashtable_walk_start_check() 732 list_del(&iter->walker.list); in rhashtable_walk_start_check() 737 if (!iter->walker.tbl) { in rhashtable_walk_start_check() [all …]
|
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/ |
D | setup.c | 252 struct kvm_pgtable_walker walker = { in fix_host_ownership() local 262 ret = kvm_pgtable_walk(&pkvm_pgtable, start, reg->size, &walker); in fix_host_ownership() 272 struct kvm_pgtable_walker walker = { in fix_hyp_pgtable_refcnt() local 279 &walker); in fix_hyp_pgtable_refcnt()
|
D | mm.c | 296 struct kvm_pgtable_walker walker = { in create_fixmap_slot() local 302 return kvm_pgtable_walk(&pkvm_pgtable, addr, PAGE_SIZE, &walker); in create_fixmap_slot()
|
D | mem_protect.c | 598 struct kvm_pgtable_walker walker = { in check_page_state_range() local 604 return kvm_pgtable_walk(pgt, addr, size, &walker); in check_page_state_range()
|
/linux-6.12.1/drivers/media/test-drivers/vimc/ |
D | vimc-scaler.c | 341 u8 *walker = vscaler->src_frame; in vimc_scaler_fill_src_frame() local 356 memcpy(walker, &sink_frame[index], vscaler->hw.bpp); in vimc_scaler_fill_src_frame() 357 walker += vscaler->hw.bpp; in vimc_scaler_fill_src_frame()
|
/linux-6.12.1/arch/arm64/kvm/ |
D | ptdump.c | 136 struct kvm_pgtable_walker walker = (struct kvm_pgtable_walker) { in kvm_ptdump_guest_show() local 145 ret = kvm_pgtable_walk(mmu->pgt, 0, BIT(mmu->pgt->ia_bits), &walker); in kvm_ptdump_guest_show()
|
/linux-6.12.1/include/linux/ |
D | rhashtable-types.h | 128 struct rhashtable_walker walker; member
|
/linux-6.12.1/net/sched/ |
D | sch_cbs.c | 520 static void cbs_walk(struct Qdisc *sch, struct qdisc_walker *walker) in cbs_walk() argument 522 if (!walker->stop) { in cbs_walk() 523 tc_qdisc_stats_dump(sch, 1, walker); in cbs_walk()
|
D | sch_tbf.c | 581 static void tbf_walk(struct Qdisc *sch, struct qdisc_walker *walker) in tbf_walk() argument 583 if (!walker->stop) { in tbf_walk() 584 tc_qdisc_stats_dump(sch, 1, walker); in tbf_walk()
|
D | sch_red.c | 521 static void red_walk(struct Qdisc *sch, struct qdisc_walker *walker) in red_walk() argument 523 if (!walker->stop) { in red_walk() 524 tc_qdisc_stats_dump(sch, 1, walker); in red_walk()
|
D | sch_sfb.c | 660 static void sfb_walk(struct Qdisc *sch, struct qdisc_walker *walker) in sfb_walk() argument 662 if (!walker->stop) { in sfb_walk() 663 tc_qdisc_stats_dump(sch, 1, walker); in sfb_walk()
|
D | sch_netem.c | 1276 static void netem_walk(struct Qdisc *sch, struct qdisc_walker *walker) in netem_walk() argument 1278 if (!walker->stop) { in netem_walk() 1279 if (!tc_qdisc_stats_dump(sch, 1, walker)) in netem_walk()
|
D | sch_ingress.c | 44 static void ingress_walk(struct Qdisc *sch, struct qdisc_walker *walker) in ingress_walk() argument
|
/linux-6.12.1/tools/testing/selftests/landlock/ |
D | fs_test.c | 178 char *walker; in mkdir_parents() local 183 walker = strdup(path); in mkdir_parents() 184 ASSERT_NE(NULL, walker); in mkdir_parents() 185 parent = walker; in mkdir_parents() 186 for (i = 1; walker[i]; i++) { in mkdir_parents() 187 if (walker[i] != '/') in mkdir_parents() 189 walker[i] = '\0'; in mkdir_parents() 196 walker[i] = '/'; in mkdir_parents() 198 free(walker); in mkdir_parents() 225 char *walker; in remove_path() local [all …]
|
/linux-6.12.1/kernel/ |
D | seccomp.c | 893 struct seccomp_filter *walker; in seccomp_attach_filter() local 899 for (walker = current->seccomp.filter; walker; walker = walker->prev) in seccomp_attach_filter() 900 total_insns += walker->prog->len + 4; /* 4 instr penalty */ in seccomp_attach_filter()
|
/linux-6.12.1/fs/gfs2/ |
D | bmap.c | 470 u64 max_len, gfs2_metadata_walker walker) in gfs2_walk_metadata() argument 500 status = walker(mp, ptrs); in gfs2_walk_metadata()
|
/linux-6.12.1/Documentation/mm/ |
D | multigen_lru.rst | 166 A page table walker iterates ``lruvec_memcg()->mm_list`` and calls
|
/linux-6.12.1/Documentation/filesystems/ |
D | path-lookup.txt | 144 pointers intact, so a concurrent list walker that is currently looking at
|