Home
last modified time | relevance | path

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

/Linux-v5.10/security/selinux/ss/
Dsidtab.c37 memset(s->roots, 0, sizeof(s->roots)); in sidtab_init()
162 if (!s->roots[0].ptr_leaf) { in sidtab_alloc_roots()
163 s->roots[0].ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_alloc_roots()
165 if (!s->roots[0].ptr_leaf) in sidtab_alloc_roots()
169 if (!s->roots[l].ptr_inner) { in sidtab_alloc_roots()
170 s->roots[l].ptr_inner = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_alloc_roots()
172 if (!s->roots[l].ptr_inner) in sidtab_alloc_roots()
174 s->roots[l].ptr_inner->entries[0] = s->roots[l - 1]; in sidtab_alloc_roots()
194 entry = &s->roots[level]; in sidtab_do_lookup()
447 rc = sidtab_convert_tree(&params->target->roots[level], in sidtab_convert()
[all …]
Dsidtab.h81 union sidtab_entry_inner roots[SIDTAB_MAX_LEVEL + 1]; member
/Linux-v5.10/lib/
Dbch.c577 unsigned int *roots) in find_affine4_roots() argument
606 return solve_linear_system(bch, rows, roots, 4); in find_affine4_roots()
613 unsigned int *roots) in find_poly_deg1_roots() argument
619 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+ in find_poly_deg1_roots()
628 unsigned int *roots) in find_poly_deg2_roots() argument
657 roots[n++] = modulo(bch, 2*GF_N(bch)-l1- in find_poly_deg2_roots()
659 roots[n++] = modulo(bch, 2*GF_N(bch)-l1- in find_poly_deg2_roots()
670 unsigned int *roots) in find_poly_deg3_roots() argument
692 roots[n++] = a_ilog(bch, tmp[i]); in find_poly_deg3_roots()
703 unsigned int *roots) in find_poly_deg4_roots() argument
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_buddy.c126 mm->roots = kmalloc_array(mm->n_roots, in i915_buddy_init()
129 if (!mm->roots) in i915_buddy_init()
156 mm->roots[i] = root; in i915_buddy_init()
167 i915_block_free(mm->roots[i]); in i915_buddy_init()
168 kfree(mm->roots); in i915_buddy_init()
179 GEM_WARN_ON(!i915_buddy_block_is_free(mm->roots[i])); in i915_buddy_fini()
180 i915_block_free(mm->roots[i]); in i915_buddy_fini()
183 kfree(mm->roots); in i915_buddy_fini()
362 list_add_tail(&mm->roots[i]->tmp_link, &dfs); in i915_buddy_alloc_range()
Di915_buddy.h56 struct i915_buddy_block **roots; member
/Linux-v5.10/drivers/md/
Ddm-verity-fec.c50 for (i = 0; i < v->fec->roots; i++) in fec_decode_rs8()
67 position = (index + rsb) * v->fec->roots; in fec_read_parity()
157 offset += v->fec->roots; in fec_decode_bufs()
259 if (neras && *neras <= v->fec->roots) in fec_read_bufs()
277 if (neras && *neras <= v->fec->roots && in fec_read_bufs()
539 v->fec->roots); in verity_fec_status_table()
573 return init_rs_gfp(8, 0x11d, 0, 1, v->fec->roots, gfp_mask); in fec_rs_alloc()
642 v->fec->roots = num_c; in verity_fec_parse_opt_args()
711 if (!f->roots) { in verity_fec_ctr()
715 f->rsn = DM_VERITY_FEC_RSM - f->roots; in verity_fec_ctr()
[all …]
Ddm-verity-fec.h43 unsigned char roots; /* number of parity bytes, M-N of RS(M, N) */ member
/Linux-v5.10/Documentation/core-api/
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-v5.10/fs/btrfs/
Dref-verify.c69 struct rb_root roots; member
239 while ((n = rb_first(&be->roots))) { in free_block_entry()
241 rb_erase(&re->node, &be->roots); in free_block_entry()
286 exist_re = insert_root_entry(&exist->roots, re); in add_block_entry()
299 be->roots = RB_ROOT; in add_block_entry()
303 insert_root_entry(&be->roots, re); in add_block_entry()
340 re = lookup_root_entry(&be->roots, ref_root); in add_tree_block()
418 re = lookup_root_entry(&be->roots, ref_root); in add_extent_data_ref()
653 for (n = rb_first(&be->roots); n; n = rb_next(n)) { in dump_block_entry()
820 tmp = insert_root_entry(&be->roots, re); in btrfs_ref_tree_mod()
[all …]
Dbackref.c1169 struct ulist *roots, const u64 *extent_item_pos, argument
1316 if (roots && ref->count && ref->root_id && ref->parent == 0) {
1324 ret = ulist_add(roots, ref->root_id, 0, GFP_NOFS);
1451 u64 time_seq, struct ulist **roots, argument
1462 *roots = ulist_alloc(GFP_NOFS);
1463 if (!*roots) {
1471 tmp, *roots, NULL, NULL, ignore_offset);
1474 ulist_free(*roots);
1475 *roots = NULL;
1491 u64 time_seq, struct ulist **roots, argument
[all …]
Dbackref.h50 u64 time_seq, struct ulist **roots, bool ignore_offset);
66 struct ulist *roots, struct ulist *tmp_ulist);
Dqgroup.c2330 struct ulist *roots, struct ulist *tmp, in qgroup_update_refcnt() argument
2340 if (!roots) in qgroup_update_refcnt()
2343 while ((unode = ulist_next(roots, &uiter))) { in qgroup_update_refcnt()
2514 static int maybe_fs_roots(struct ulist *roots) in maybe_fs_roots() argument
2520 if (!roots || roots->nnodes == 0) in maybe_fs_roots()
2524 unode = ulist_next(roots, &uiter); in maybe_fs_roots()
3149 struct ulist *roots = NULL; in qgroup_rescan_leaf() local
3207 &roots, false); in qgroup_rescan_leaf()
3212 num_bytes, NULL, roots); in qgroup_rescan_leaf()
Dextent_io.c4681 struct ulist *roots; in extent_fiemap() local
4696 roots = ulist_alloc(GFP_KERNEL); in extent_fiemap()
4698 if (!roots || !tmp_ulist) { in extent_fiemap()
4821 bytenr, roots, tmp_ulist); in extent_fiemap()
4869 ulist_free(roots); in extent_fiemap()
/Linux-v5.10/Documentation/filesystems/
Dbtrfs.rst19 * Subvolumes (separate internal filesystem roots)
Dpath-lookup.txt299 lookups, and to assume dentry mount points and mount roots are stable up and
/Linux-v5.10/Documentation/admin-guide/device-mapper/
Dverity.rst108 Number of generator roots. This equals to the number of parity bytes in
109 the encoding data. For example, in RS(M, N) encoding, the number of roots
/Linux-v5.10/drivers/gpu/drm/i915/selftests/
Di915_buddy.c204 root = mm->roots[i]; in igt_check_mm()
/Linux-v5.10/Documentation/filesystems/nfs/
Dexporting.rst75 b. A primitive for creation of secondary roots - d_obtain_root(inode).
/Linux-v5.10/Documentation/kbuild/
Dkbuild.rst188 relocations required by build roots. This is not defined in the
/Linux-v5.10/Documentation/virt/kvm/
Dmmu.rst360 - look up new shadow roots
366 - look up new shadow roots
/Linux-v5.10/LICENSES/preferred/
DLGPL-2.0181 (For example, a function in a library to compute square roots has a
186 function must still compute square roots.)
DLGPL-2.1191 (For example, a function in a library to compute square roots has a
196 function must still compute square roots.)
/Linux-v5.10/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst799 (mconsole) config ubd3=/home/jdike/incoming/roots/root_fs_debian22
/Linux-v5.10/Documentation/admin-guide/
Dcgroup-v2.rst2000 partition roots themselves and their descendants. The root