Home
last modified time | relevance | path

Searched refs:roots (Results 1 – 23 of 23) sorted by relevance

/linux/fs/btrfs/tests/
H A Dqgroup-tests.c229 old_roots = ctx.roots; in test_no_shared_qgroup()
230 ctx.roots = NULL; in test_no_shared_qgroup()
245 new_roots = ctx.roots; in test_no_shared_qgroup()
246 ctx.roots = NULL; in test_no_shared_qgroup()
270 old_roots = ctx.roots; in test_no_shared_qgroup()
271 ctx.roots = NULL; in test_no_shared_qgroup()
285 new_roots = ctx.roots; in test_no_shared_qgroup()
286 ctx.roots = NULL; in test_no_shared_qgroup()
341 old_roots = ctx.roots; in test_multiple_refs()
342 ctx.roots = NULL; in test_multiple_refs()
[all …]
/linux/security/selinux/ss/
H A Dsidtab.c39 memset(s->roots, 0, sizeof(s->roots)); in sidtab_init()
167 if (!s->roots[0].ptr_leaf) { in sidtab_alloc_roots()
168 s->roots[0].ptr_leaf = in sidtab_alloc_roots()
170 if (!s->roots[0].ptr_leaf) in sidtab_alloc_roots()
174 if (!s->roots[l].ptr_inner) { in sidtab_alloc_roots()
175 s->roots[l].ptr_inner = in sidtab_alloc_roots()
177 if (!s->roots[l].ptr_inner) in sidtab_alloc_roots()
179 s->roots[l].ptr_inner->entries[0] = s->roots[l - 1]; in sidtab_alloc_roots()
199 entry = &s->roots[level]; in sidtab_do_lookup()
465 rc = sidtab_convert_tree(&params->target->roots[level], in sidtab_convert()
[all …]
H A Dsidtab.h82 union sidtab_entry_inner roots[SIDTAB_MAX_LEVEL + 1]; member
/linux/drivers/md/
H A Ddm-verity-fec.c72 v->fec->roots; in fec_decode_bufs()
96 to_copy = min(v->fec->block_size - parity_pos, v->fec->roots); in fec_decode_bufs()
99 if (to_copy < v->fec->roots) { in fec_decode_bufs()
113 for (; j < v->fec->roots; j++) in fec_decode_bufs()
223 if (neras && *neras < v->fec->roots) in fec_read_bufs()
241 if (neras && *neras < v->fec->roots && in fec_read_bufs()
453 v->fec->roots); in verity_fec_status_table()
487 return init_rs_gfp(8, 0x11d, 0, 1, v->fec->roots, gfp_mask); in fec_rs_alloc()
560 v->fec->roots = num_c; in verity_fec_parse_opt_args()
630 if (!f->roots) { in verity_fec_ctr()
[all …]
H A Ddm-verity-fec.h37 unsigned char roots; /* parity bytes per RS codeword, n-k of RS(n, k) */ member
/linux/Documentation/core-api/
H A Dlibrs.rst47 * primitive element to generate roots = 1
48 * generator polynomial degree (number of roots) = 6
74 /* Parity buffer. Size = number of roots */
107 /* Parity buffer. Size = number of roots */
124 /* Parity buffer. Size = number of roots */
146 /* Parity buffer. Size = number of roots */
/linux/fs/btrfs/
H A Dref-verify.c72 struct rb_root roots; member
224 while ((n = rb_first(&be->roots))) { in free_block_entry()
226 rb_erase(&re->node, &be->roots); in free_block_entry()
271 exist_re = insert_root_entry(&exist->roots, re); in add_block_entry()
284 be->roots = RB_ROOT; in add_block_entry()
288 insert_root_entry(&be->roots, re); in add_block_entry()
325 re = lookup_root_entry(&be->roots, ref_root); in add_tree_block()
403 re = lookup_root_entry(&be->roots, ref_root); in add_extent_data_ref()
634 for (n = rb_first(&be->roots); n; n = rb_next(n)) { in dump_block_entry()
799 tmp = insert_root_entry(&be->roots, re); in btrfs_ref_tree_mod()
[all …]
H A Dbackref.c172 * the same root or different roots) that we could find. The sharedness
1362 * When roots are found, they're added to the roots list
1400 ASSERT(ctx->roots == NULL); in find_parent_nodes()
1580 * the list of found roots is updated. in find_parent_nodes()
1598 if (ctx->roots && ref->count && ref->root_id && ref->parent == 0) { in find_parent_nodes()
1600 ret = ulist_add(ctx->roots, ref->root_id, 0, GFP_NOFS); in find_parent_nodes()
1716 * Walk all backrefs for a given extent to find all roots that reference this
1726 * Found roots are added to @ctx->roots, whic
[all...]
H A Dqgroup.c2106 * since we search commit roots to walk backref and result will always be in btrfs_qgroup_trace_extent_post()
2141 * it would not use commit roots and would lock extent buffers, causing in btrfs_qgroup_trace_extent_post()
2168 qrecord->old_roots = ctx.roots; in btrfs_qgroup_trace_extent()
2178 * commit roots. in btrfs_qgroup_trace_extent()
2808 * Walk all of the roots that points to the bytenr and adjust their refcnts.
2811 struct ulist *roots, struct list_head *qgroups,
2818 if (!roots)
2821 while ((unode = ulist_next(roots, &uiter))) {
2966 * Check if the @roots potentially is a list of fs tree roots in btrfs_qgroup_account_extent()
2765 qgroup_update_refcnt(struct btrfs_fs_info * fs_info,struct ulist * roots,struct list_head * qgroups,u64 seq,bool update_old) qgroup_update_refcnt() argument
2926 maybe_fs_roots(struct ulist * roots) maybe_fs_roots() argument
[all...]
H A Drelocation.c259 * the reloc roots, and then add the reloc root back onto in __del_reloc_root()
487 * corresponds the tree block, leaves of the backref tree correspond roots of
769 * record_root_in_transaction for reloc roots, instead we record their in btrfs_init_reloc_root()
781 * We are merging reloc roots, we do not need new reloc trees. Also in btrfs_init_reloc_root()
1920 * adding their roots to the list while we are in merge_reloc_roots()
1936 * For recovery we read the fs roots on mount, in merge_reloc_roots()
2029 * prepare_to_merge() we will have only 0 ref reloc roots, none of which in merge_reloc_roots()
2032 * for the list that holds it, so these roots will be cleaned up when we in merge_reloc_roots()
2079 "root %llu has two reloc roots associated with it", in record_reloc_root_in_trans()
2109 * This path is only for SHAREABLE roots, s in select_reloc_root()
5596 release_recovered_fs_roots(struct list_head * roots,bool drop_reloc_refs) release_recovered_fs_roots() argument
[all...]
/linux/drivers/gpu/
H A Dbuddy.c897 mm->roots = kmalloc_objs(struct gpu_buddy_block *, mm->n_roots); in alloc_from_freetree()
898 if (!mm->roots) in alloc_from_freetree()
923 mm->roots[root_count] = root; in alloc_from_freetree()
937 gpu_block_free(mm, mm->roots[root_count]); in alloc_from_freetree()
938 kfree(mm->roots); in alloc_from_freetree()
969 gpu_buddy_assert(gpu_buddy_block_is_free(mm->roots[i])); in gpu_buddy_find_block_aligned()
970 gpu_block_free(mm, mm->roots[i]); in gpu_buddy_find_block_aligned()
981 kfree(mm->roots); in gpu_buddy_find_block_aligned()
1113 list_add_tail(&mm->roots[i]->tmp_link, &dfs); in __alloc_range()
1255 * address that satisfies the request: the roots ar in __alloc_contig_try_harder()
[all...]
/linux/Documentation/filesystems/
H A Dbtrfs.rst19 * Subvolumes (separate internal filesystem roots)
H A Dpropagate_umount.txt102 Note that there can be no absolute roots among the extra candidates -
H A Dporting.rst1254 that would be roots of the cloned mounts.
/linux/Documentation/trace/
H A Dosnoise-tracer.rst20 cause of any gap between two different reads of the time roots either on
171 The reason roots in the overhead of the entry and exit code that happens
/linux/arch/x86/kvm/
H A Dmmu.h155 u64 addr, unsigned long roots);
/linux/arch/x86/kvm/mmu/
H A Dmmu.c2828 * Already invalid pages (previously active roots) are not on in kvm_mmu_commit_zap_page()
2858 * Make the request to free obsolete roots after marking the root in kvm_mmu_zap_oldest_mmu_pages()
2958 * four pages, e.g. for PAE roots or for 5-level paging. Temporarily in __kvm_mmu_unprotect_gfn_and_retry()
3982 /* Nothing to cleanup for dummy roots. */ in mmu_alloc_root()
4018 * _only_ its own roots, e.g. INVVPID unconditionally exits. in mmu_alloc_direct_roots()
4336 * is allocated if the other roots are valid and pml5 is needed, as any in is_unsync_root()
4343 * The special roots should always be allocated in concert. Yell and in is_unsync_root()
4344 * bail if KVM ends up in a state where only one of the roots is valid. in is_unsync_root()
4408 * PAE roots (somewhat arbitrarily) aren't backed by shadow pages, the in kvm_mmu_sync_prev_roots()
4810 * uses different roots fo in kvm_mmu_faultin_pfn()
6704 kvm_mmu_invalidate_addr(struct kvm_vcpu * vcpu,struct kvm_pagewalk * w,u64 addr,unsigned long roots) kvm_mmu_invalidate_addr() argument
6762 unsigned long roots = 0; kvm_mmu_invpcid_gva() local
[all...]
/linux/LICENSES/preferred/
H A DLGPL-2.0181 (For example, a function in a library to compute square roots has a
186 function must still compute square roots.)
H A DLGPL-2.1197 (For example, a function in a library to compute square roots has a
202 function must still compute square roots.)
/linux/arch/x86/kvm/vmx/
H A Dnested.c412 unsigned long roots = 0; in nested_ept_invalidate_addr()
423 roots |= KVM_MMU_ROOT_PREVIOUS(i); in nested_ept_inject_page_fault()
425 if (roots) in nested_ept_inject_page_fault()
426 kvm_mmu_invalidate_addr(vcpu, &vcpu->arch.ngpa_walk, addr, roots); in nested_ept_inject_page_fault()
6054 * Nested EPT roots are always held through guest_mmu, in handle_invept()
6169 * roots as VPIDs are not tracked in the MMU role. in nested_vmx_eptp_switching()
404 unsigned long roots = 0; nested_ept_invalidate_addr() local
/linux/
H A DMakefile1310 # INSTALL_DTBS_PATH specifies a prefix for relocations required by build roots.
1318 # relocations required by build roots. This is not defined in the
2316 --roots-file "$(tmp-target)" \
/linux/Documentation/admin-guide/LSM/
H A Dipe.rst814 on top of kernel read. The trust model is also different; Loadpin roots its
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst2578 those granted to valid child partition roots. If
2729 except those that are separate partition roots themselves and