Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/selinux/ss/
Dsidtab.c37 memset(s->roots, 0, sizeof(s->roots)); in sidtab_init()
163 if (!s->roots[0].ptr_leaf) { in sidtab_alloc_roots()
164 s->roots[0].ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_alloc_roots()
166 if (!s->roots[0].ptr_leaf) in sidtab_alloc_roots()
170 if (!s->roots[l].ptr_inner) { in sidtab_alloc_roots()
171 s->roots[l].ptr_inner = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_alloc_roots()
173 if (!s->roots[l].ptr_inner) in sidtab_alloc_roots()
175 s->roots[l].ptr_inner->entries[0] = s->roots[l - 1]; in sidtab_alloc_roots()
195 entry = &s->roots[level]; in sidtab_do_lookup()
457 rc = sidtab_convert_tree(&params->target->roots[level], in sidtab_convert()
[all …]
Dsidtab.h81 union sidtab_entry_inner roots[SIDTAB_MAX_LEVEL + 1]; member
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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()
156 offset += v->fec->roots; in fec_decode_bufs()
258 if (neras && *neras <= v->fec->roots) in fec_read_bufs()
276 if (neras && *neras <= v->fec->roots && in fec_read_bufs()
538 v->fec->roots); in verity_fec_status_table()
572 return init_rs_gfp(8, 0x11d, 0, 1, v->fec->roots, gfp_mask); in fec_rs_alloc()
641 v->fec->roots = num_c; in verity_fec_parse_opt_args()
710 if (!f->roots) { in verity_fec_ctr()
714 f->rsn = DM_VERITY_FEC_RSM - f->roots; in verity_fec_ctr()
[all …]
Ddm-verity-fec.h44 unsigned char roots; /* number of parity bytes, M-N of RS(M, N) */ member
/kernel/linux/linux-5.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 */
/kernel/linux/linux-5.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.c1205 struct ulist *roots, const u64 *extent_item_pos, argument
1357 if (roots && ref->count && ref->root_id && ref->parent == 0) {
1365 ret = ulist_add(roots, ref->root_id, 0, GFP_NOFS);
1496 u64 time_seq, struct ulist **roots, argument
1507 *roots = ulist_alloc(GFP_NOFS);
1508 if (!*roots) {
1516 tmp, *roots, NULL, NULL, ignore_offset);
1519 ulist_free(*roots);
1520 *roots = NULL;
1536 u64 time_seq, struct ulist **roots, argument
[all …]
Dbackref.h49 u64 time_seq, struct ulist **roots, bool ignore_offset);
65 struct ulist *roots, struct ulist *tmp_ulist);
Dqgroup.c2393 struct ulist *roots, struct ulist *tmp, in qgroup_update_refcnt() argument
2403 if (!roots) in qgroup_update_refcnt()
2406 while ((unode = ulist_next(roots, &uiter))) { in qgroup_update_refcnt()
2577 static int maybe_fs_roots(struct ulist *roots) in maybe_fs_roots() argument
2583 if (!roots || roots->nnodes == 0) in maybe_fs_roots()
2587 unode = ulist_next(roots, &uiter); in maybe_fs_roots()
3214 struct ulist *roots = NULL; in qgroup_rescan_leaf() local
3272 &roots, false); in qgroup_rescan_leaf()
3277 num_bytes, NULL, roots); in qgroup_rescan_leaf()
Dextent_io.c4685 struct ulist *roots; in extent_fiemap() local
4700 roots = ulist_alloc(GFP_KERNEL); in extent_fiemap()
4702 if (!roots || !tmp_ulist) { in extent_fiemap()
4830 bytenr, roots, tmp_ulist); in extent_fiemap()
4878 ulist_free(roots); in extent_fiemap()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_buddy.c204 root = mm->roots[i]; in igt_check_mm()
/kernel/linux/linux-5.10/Documentation/kbuild/
Dkbuild.rst188 relocations required by build roots. This is not defined in the
/kernel/linux/linux-5.10/Documentation/filesystems/nfs/
Dexporting.rst75 b. A primitive for creation of secondary roots - d_obtain_root(inode).
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dmmu.rst360 - look up new shadow roots
366 - look up new shadow roots
/kernel/linux/linux-5.10/LICENSES/preferred/
DLGPL-2.1191 (For example, a function in a library to compute square roots has a
196 function must still compute square roots.)
DLGPL-2.0181 (For example, a function in a library to compute square roots has a
186 function must still compute square roots.)
/kernel/linux/linux-5.10/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst799 (mconsole) config ubd3=/home/jdike/incoming/roots/root_fs_debian22
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dcgroup-v2.rst2000 partition roots themselves and their descendants. The root