Home
last modified time | relevance | path

Searched refs:effective (Results 1 – 25 of 152) sorted by relevance

1234567

/linux-6.12.1/tools/testing/selftests/bpf/
Dcap_helpers.c25 *old_caps = (__u64)(data[1].effective) << 32 | data[0].effective; in cap_enable_effective()
27 if ((data[0].effective & cap0) == cap0 && in cap_enable_effective()
28 (data[1].effective & cap1) == cap1) in cap_enable_effective()
31 data[0].effective |= cap0; in cap_enable_effective()
32 data[1].effective |= cap1; in cap_enable_effective()
55 *old_caps = (__u64)(data[1].effective) << 32 | data[0].effective; in cap_disable_effective()
57 if (!(data[0].effective & cap0) && !(data[1].effective & cap1)) in cap_disable_effective()
60 data[0].effective &= ~cap0; in cap_disable_effective()
61 data[1].effective &= ~cap1; in cap_disable_effective()
/linux-6.12.1/tools/testing/selftests/powerpc/dexcr/
Dlsdexcr.c13 static unsigned int effective; variable
64 if (!(effective & mask)) in print_aspect()
67 printf("%12s %c (%d): ", aspect->name, effective & mask ? '*' : ' ', aspect->index); in print_aspect()
77 bool actual = effective & DEXCR_PR_BIT(aspect->index); in print_aspect_config()
138 effective = dexcr | hdexcr; in main()
144 print_dexcr("Effective", effective); in main()
151 if (effective & DEXCR_PR_NPHIE) { in main()
/linux-6.12.1/security/
Dcommoncap.c201 int cap_capget(const struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument
209 *effective = cred->cap_effective; in cap_capget()
245 const kernel_cap_t *effective, in cap_capset() argument
267 if (!cap_issubset(*effective, *permitted)) in cap_capset()
270 new->cap_effective = *effective; in cap_capset()
589 bool *effective, in bprm_caps_from_vfs_caps() argument
596 *effective = true; in bprm_caps_from_vfs_caps()
618 return *effective ? ret : 0; in bprm_caps_from_vfs_caps()
725 bool *effective, bool *has_fcap) in get_file_caps() argument
757 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
[all …]
/linux-6.12.1/kernel/
Dcapability.c168 kdata[0].effective = pE.val; kdata[1].effective = pE.val >> 32; in SYSCALL_DEFINE2()
224 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2() local
247 effective = mk_kernel_cap(kdata[0].effective, kdata[1].effective); in SYSCALL_DEFINE2()
256 &effective, &inheritable, &permitted); in SYSCALL_DEFINE2()
/linux-6.12.1/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst27 | **bpftool** **cgroup** { **show** | **list** } *CGROUP* [**effective**]
28 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**]
52 bpftool cgroup { show | list } *CGROUP* [effective]
58 If **effective** is specified retrieve effective programs that will execute
62 bpftool cgroup tree [*CGROUP_ROOT*] [effective]
70 If **effective** is specified retrieve effective programs that will execute
/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh26 CPULIST=$(cat $CGROUP2/cpuset.cpus.effective)
149 ACTUAL_VAL=$(cat cpuset.cpus.effective)
552 ECPUS=$DIR/cpuset.cpus.effective
554 XECPUS=$DIR/cpuset.cpus.exclusive.effective
583 FILE=cpuset.cpus.exclusive.effective
585 FILE=cpuset.cpus.effective
643 DOMS=$(cat $CGRP_DIR/cpuset.cpus.effective)
846 NEWLIST=$(cat cpuset.cpus.effective)
853 NEWLIST=$(cat cpuset.cpus.effective)
/linux-6.12.1/tools/perf/util/
Dcap.c41 cap_val = data[1].effective; in perf_cap__capable()
47 cap_val = data[0].effective; in perf_cap__capable()
/linux-6.12.1/arch/x86/mm/
Ddump_pagetables.c255 pgprotval_t effective; in effective_prot() local
260 effective = (higher_prot & prot & (_PAGE_USER | _PAGE_RW)) | in effective_prot()
263 effective = prot; in effective_prot()
266 st->prot_levels[level] = effective; in effective_prot()
/linux-6.12.1/Documentation/driver-api/media/drivers/
Dsh_mobile_ceu_camera.rst76 2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at
81 3. Calculate new combined scales from "effective" input window to requested user
102 "effective" crop:
/linux-6.12.1/arch/arm/include/debug/
Domap2plus.S30 10: adr \rp, 99f @ get effective addr of 99f
34 sub \tmp, \rp, \rv @ make it effective
/linux-6.12.1/Documentation/scheduler/
Dsched-util-clamp.rst132 frequency selection as well as task placement to be most effective. Both of
153 and on dequeue it is decremented. This makes keeping track of the effective
156 As tasks are enqueued and dequeued, we keep track of the current effective
160 Later at any path that wants to identify the effective uclamp value of the rq,
161 it will simply need to read this effective uclamp value of the rq at that exact
167 When a task wakes up, the scheduler will look at the current effective uclamp
173 at the current effective uclamp value of the rq which is influenced by the set
210 To reduce the search space when trying to decide the effective uclamp value of
241 The rq then keeps track of its current effective uclamp value for each
301 the actual applied (effective) value can be influenced by more than just the
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-kernel-mm-ksm59 Description: Measure how effective KSM is.
60 general_profit: how effective is KSM. The formula for the
/linux-6.12.1/kernel/bpf/
Dcgroup.c63 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg()
325 cgrp->bpf.effective[atype], in cgroup_bpf_release()
466 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs()
483 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
793 desc->bpf.effective[atype], in replace_effective_prog()
947 desc->bpf.effective[atype], in purge_effective_progs()
1046 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
1072 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
1074 total_cnt += bpf_prog_array_length(effective); in __cgroup_bpf_query()
1097 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
[all …]
/linux-6.12.1/include/linux/
Dbpf-cgroup-defs.h57 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member
Dsecurity.h165 extern int cap_capget(const struct task_struct *target, kernel_cap_t *effective,
168 const kernel_cap_t *effective,
294 kernel_cap_t *effective,
298 const kernel_cap_t *effective,
609 kernel_cap_t *effective, in security_capget() argument
613 return cap_capget(target, effective, inheritable, permitted); in security_capget()
618 const kernel_cap_t *effective, in security_capset() argument
622 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsunxi-bananapi-m2-plus-v1.2.dtsi10 * Bananapi M2+ v1.2 uses a GPIO line to change the effective
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/
Dfreezer-subsystem.rst66 When read, returns the effective state of the cgroup - "THAWED",
82 THAWED. Note that the effective state may not change to THAWED if
83 the parent-state is still freezing. If a cgroup's effective state
/linux-6.12.1/Documentation/userspace-api/media/dvb/
Dfe-get-frontend.rst36 This ioctl call queries the currently effective frontend parameters. For
/linux-6.12.1/include/uapi/linux/
Dcapability.h45 __u32 effective; member
/linux-6.12.1/Documentation/arch/loongarch/
Dbooting.rst36 u64 _end - _text /* Kernel image effective size */
/linux-6.12.1/Documentation/power/
Dpm_qos_interface.rst21 (effective) target value. The aggregated target value is updated with changes
193 whatever is necessary to transfer the effective requirement value to the
196 Whenever the effective latency tolerance changes for the device, its
197 .set_latency_tolerance() callback will be executed and the effective value will
/linux-6.12.1/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c120 cap->data[1].effective |= 1 << (40 - 32); in set_capability()
/linux-6.12.1/Documentation/arch/x86/
Dpat.rst131 set_memory_wc() to white-list effective write-combined areas. Such use is
132 nevertheless discouraged as the effective memory type is considered
135 otherwise not be effective.
/linux-6.12.1/Documentation/mm/
Dz3fold.rst26 Keeping effective compression ratio close to zsmalloc's, z3fold doesn't
/linux-6.12.1/Documentation/admin-guide/
Dperf-security.rst53 into two categories [6]_ : a) privileged processes (whose effective user
55 processes (whose effective UID is nonzero). Privileged processes bypass
61 based on the process's credentials [5]_ (usually: effective UID,
62 effective GID, and supplementary group list).
198 in permitted, effective and ambient capability sets of an inherent process:

1234567