| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | cap_helpers.c | 25 *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.15/tools/testing/selftests/powerpc/dexcr/ |
| H A D | lsdexcr.c | 13 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.15/kernel/ |
| H A D | capability.c | 164 kdata[0].effective = pE.val; kdata[1].effective = pE.val >> 32; in SYSCALL_DEFINE2() 220 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2() local 243 effective = mk_kernel_cap(kdata[0].effective, kdata[1].effective); in SYSCALL_DEFINE2() 252 &effective, &inheritable, &permitted); in SYSCALL_DEFINE2()
|
| /linux-6.15/security/ |
| H A D | commoncap.c | 238 *effective = cred->cap_effective; in cap_capget() 274 const kernel_cap_t *effective, in cap_capset() argument 299 new->cap_effective = *effective; in cap_capset() 618 bool *effective, in bprm_caps_from_vfs_caps() argument 625 *effective = true; in bprm_caps_from_vfs_caps() 647 return *effective ? ret : 0; in bprm_caps_from_vfs_caps() 754 bool *effective, bool *has_fcap) in get_file_caps() argument 849 *effective = true; in handle_privileged_root() 888 !(__cap_full(effective, new) && in nonroot_raised_pE() 976 if (effective) in cap_bprm_creds_from_file() [all …]
|
| /linux-6.15/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-cgroup.rst | 27 | **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.15/tools/perf/util/ |
| H A D | cap.c | 41 cap_val = data[1].effective; in perf_cap__capable() 47 cap_val = data[0].effective; in perf_cap__capable()
|
| /linux-6.15/tools/testing/selftests/cgroup/ |
| H A D | test_cpuset_prs.sh | 26 CPULIST=$(cat $CGROUP2/cpuset.cpus.effective) 159 ACTUAL_VAL=$(cat cpuset.cpus.effective) 628 ECPUS=$DIR/cpuset.cpus.effective 630 XECPUS=$DIR/cpuset.cpus.exclusive.effective 675 FILE=cpuset.cpus.exclusive.effective 677 FILE=cpuset.cpus.effective 733 DOMS=$(cat $CGRP_DIR/cpuset.cpus.effective) 907 _NEWLIST=$(cat $CGROUP2/cpuset.cpus.effective) 914 _NEWLIST=$(cat $CGROUP2/cpuset.cpus.effective)
|
| /linux-6.15/Documentation/translations/zh_CN/security/ |
| H A D | credentials.rst | 272 uid_t current_euid(void) Current's effective UID 273 gid_t current_egid(void) Current's effective GID 276 kernel_cap_t current_cap(void) Current's effective capabilities 343 uid_t task_euid(task) Task's effective UID
|
| /linux-6.15/arch/x86/mm/ |
| H A D | dump_pagetables.c | 255 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.15/Documentation/driver-api/media/drivers/ |
| H A D | sh_mobile_ceu_camera.rst | 76 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.15/arch/arm/include/debug/ |
| H A D | omap2plus.S | 30 10: adr \rp, 99f @ get effective addr of 99f 34 sub \tmp, \rp, \rv @ make it effective
|
| /linux-6.15/Documentation/iio/ |
| H A D | ad4695.rst | 187 oversampling on a channel raises the effective number of bits of sampled data to 256 individual conversion, the effective sample rate for each sample is actually 260 the ``in_voltageY_sampling_frequency`` attributes set to 1 MHz, the effective 263 With oversampling enabled, the effective sample rate also depends on the OSR 265 previous case is configured with an OSR of 4, the effective sample rate for that 266 channel becomes (1 MHz / 4 ) = 250 kHz. The effective sample rate for all
|
| /linux-6.15/Documentation/scheduler/ |
| H A D | sched-util-clamp.rst | 132 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 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 304 The effective util clamp value of any task is restricted as follows: 314 For now suffice to say that if a task makes a request, its actual effective 388 In a cgroup hierarchy, effective cpu.uclamp.min is the max of (child, 397 In a cgroup hierarchy, effective cpu.uclamp.max is the min of (child, 461 By changing it to 512 for example the effective allowed range reduces to [all …]
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-mm-ksm | 59 Description: Measure how effective KSM is. 60 general_profit: how effective is KSM. The formula for the
|
| /linux-6.15/include/linux/ |
| H A D | bpf-cgroup-defs.h | 57 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member
|
| H A D | security.h | 179 extern int cap_capget(const struct task_struct *target, kernel_cap_t *effective, 182 const kernel_cap_t *effective, 344 kernel_cap_t *effective, 348 const kernel_cap_t *effective, 672 kernel_cap_t *effective, in security_capget() argument 676 return cap_capget(target, effective, inheritable, permitted); in security_capget() 681 const kernel_cap_t *effective, in security_capset() argument 685 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
|
| /linux-6.15/kernel/bpf/ |
| H A D | cgroup.c | 63 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg() 325 cgrp->bpf.effective[atype], in cgroup_bpf_release() 499 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit() 810 desc->bpf.effective[atype], in replace_effective_prog() 964 desc->bpf.effective[atype], in purge_effective_progs() 1063 struct bpf_prog_array *effective; in __cgroup_bpf_query() local 1089 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query() 1091 total_cnt += bpf_prog_array_length(effective); in __cgroup_bpf_query() 1114 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query() 1116 cnt = min_t(int, bpf_prog_array_length(effective), total_cnt); in __cgroup_bpf_query() [all …]
|
| /linux-6.15/arch/arm/boot/dts/allwinner/ |
| H A D | sunxi-bananapi-m2-plus-v1.2.dtsi | 10 * Bananapi M2+ v1.2 uses a GPIO line to change the effective
|
| /linux-6.15/Documentation/userspace-api/media/dvb/ |
| H A D | fe-get-frontend.rst | 36 This ioctl call queries the currently effective frontend parameters. For
|
| /linux-6.15/Documentation/admin-guide/cgroup-v1/ |
| H A D | freezer-subsystem.rst | 66 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.15/include/uapi/linux/ |
| H A D | capability.h | 45 __u32 effective; member
|
| /linux-6.15/Documentation/devicetree/bindings/net/ |
| H A D | davicom,dm9051.yaml | 13 The DM9051 is a fully integrated and cost-effective low pin count single
|
| /linux-6.15/Documentation/arch/loongarch/ |
| H A D | booting.rst | 36 u64 _end - _text /* Kernel image effective size */
|
| /linux-6.15/tools/testing/selftests/clone3/ |
| H A D | clone3_cap_checkpoint_restore.c | 120 cap->data[1].effective |= 1 << (40 - 32); in set_capability()
|
| /linux-6.15/Documentation/power/ |
| H A D | pm_qos_interface.rst | 21 (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
|