Home
last modified time | relevance | path

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

123456

/linux-6.6.21/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.6.21/tools/testing/selftests/powerpc/dexcr/
Dlsdexcr.c13 static unsigned int effective; variable
98 if (!(effective & mask)) in print_aspect()
101 printf("%12s %c (%d): ", aspect->name, effective & mask ? '*' : ' ', aspect->index); in print_aspect()
115 effective = dexcr | hdexcr; in main()
119 print_dexcr("Effective", effective); in main()
126 if (effective & DEXCR_PR_NPHIE) { in main()
/linux-6.6.21/security/
Dcommoncap.c200 int cap_capget(const struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument
208 *effective = cred->cap_effective; in cap_capget()
244 const kernel_cap_t *effective, in cap_capset() argument
266 if (!cap_issubset(*effective, *permitted)) in cap_capset()
269 new->cap_effective = *effective; in cap_capset()
588 bool *effective, in bprm_caps_from_vfs_caps() argument
595 *effective = true; in bprm_caps_from_vfs_caps()
617 return *effective ? ret : 0; in bprm_caps_from_vfs_caps()
724 bool *effective, bool *has_fcap) in get_file_caps() argument
756 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
[all …]
/linux-6.6.21/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.6.21/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst27 | **bpftool** **cgroup** { **show** | **list** } *CGROUP* [**effective**]
28 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**]
49 **bpftool cgroup { show | list }** *CGROUP* [**effective**]
55 If **effective** is specified retrieve effective programs that
59 **bpftool cgroup tree** [*CGROUP_ROOT*] [**effective**]
68 If **effective** is specified retrieve effective programs that
/linux-6.6.21/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.6.21/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh115 ACTUAL_VAL=$(cat cpuset.cpus.effective)
454 ECPUS=$DIR/cpuset.cpus.effective
475 FILE=$CGRP/cpuset.cpus.effective
586 echo "Test $TEST[$I] failed effective CPU check!"
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/include/linux/
Dbpf-cgroup-defs.h52 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member
Dsecurity.h148 extern int cap_capget(const struct task_struct *target, kernel_cap_t *effective,
151 const kernel_cap_t *effective,
276 kernel_cap_t *effective,
280 const kernel_cap_t *effective,
561 kernel_cap_t *effective, in security_capget() argument
565 return cap_capget(target, effective, inheritable, permitted); in security_capget()
570 const kernel_cap_t *effective, in security_capset() argument
574 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
/linux-6.6.21/kernel/bpf/
Dcgroup.c46 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg()
308 cgrp->bpf.effective[atype], in cgroup_bpf_release()
449 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs()
466 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
776 desc->bpf.effective[atype], in replace_effective_prog()
930 desc->bpf.effective[atype], in purge_effective_progs()
1029 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
1055 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
1057 total_cnt += bpf_prog_array_length(effective); in __cgroup_bpf_query()
1080 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
[all …]
/linux-6.6.21/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.6.21/Documentation/userspace-api/media/dvb/
Dfe-get-frontend.rst36 This ioctl call queries the currently effective frontend parameters. For
/linux-6.6.21/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.6.21/include/uapi/linux/
Dcapability.h45 __u32 effective; member
/linux-6.6.21/Documentation/devicetree/bindings/net/
Ddavicom,dm9051.yaml13 The DM9051 is a fully integrated and cost-effective low pin count single
/linux-6.6.21/Documentation/arch/loongarch/
Dbooting.rst36 u64 _end - _text /* Kernel image effective size */
/linux-6.6.21/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c124 cap->data[1].effective |= 1 << (40 - 32); in set_capability()
/linux-6.6.21/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.6.21/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.6.21/Documentation/mm/
Dz3fold.rst26 Keeping effective compression ratio close to zsmalloc's, z3fold doesn't
/linux-6.6.21/Documentation/powerpc/
Dcxl.rst18 both access system memory directly and with the same effective
58 the AFU needs to read a particular effective address, it sends
126 effective address of a work queue or status block where the AFU
193 using the same effective addresses. No additional calls are
221 defined by the AFU. Typically this is an effective

123456