Home
last modified time | relevance | path

Searched full:effective (Results 1 – 25 of 613) sorted by relevance

12345678910>>...25

/linux/tools/testing/selftests/bpf/
H A 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/tools/testing/selftests/powerpc/dexcr/
H A 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/security/
H A Dcommoncap.c46 " effective capabilities. Therefore not raising all" in warn_setuid_and_fcaps_mixed()
53 * cap_capable - Determine whether a task has a particular effective capability
60 * its effective set, returning 0 if it does, -ve if it does not.
194 * @effective: The place to record the effective set
201 int cap_capget(const struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument
209 *effective = cred->cap_effective; in cap_capget()
235 * @effective: A pointer to the proposed new effective capabilities set
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()
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A Dia_css_s3a_types.h78 in table, which cells have effective
82 in table, which cells have effective
112 * Condition of effective pixel for AWB level gate check:
170 s32 awb_cnt; /** Number of effective pixels
173 judged as "effective". (u32) */
175 All Gr pixels (not only for effective pixels)
178 All R pixels (not only for effective pixels)
181 All B pixels (not only for effective pixels)
184 All Gb pixels (not only for effective pixels)
/linux/kernel/power/
H A Dqos.c13 * aggregated as appropriate to produce effective constraints (target values)
50 * pm_qos_read_value - Return the current effective constraint value.
263 * a new entry to the CPU latency QoS list and recompute the effective QoS
292 * latency QoS list along with updating the effective constraint value for that
319 * QoS list along with updating the effective constraint value for that list.
531 * Insert a new entry into the @qos list of requests, recompute the effective
535 * Return 1 if the effective constraint value has changed, 0 if the effective
568 * Update an existing frequency QoS request along with the effective constraint
571 * Return 1 if the effective constraint value has changed, 0 if the effective
595 * belongs to and recompute the effective constraint value for that list.
[all …]
/linux/tools/bpf/bpftool/Documentation/
H A 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/tools/testing/selftests/net/netfilter/
H A Drpath.sh156 ipt_zero_rule "$iptables" && die "iptables match not effective"
157 ipt_zero_rule "$ip6tables" && die "ip6tables match not effective"
158 ipt_zero_reverse_rule "$iptables" || die "iptables match over-effective"
159 ipt_zero_reverse_rule "$ip6tables" || die "ip6tables match over-effective"
160 nft_zero_rule ip && die "nft IPv4 match not effective"
161 nft_zero_rule ip6 && die "nft IPv6 match not effective"
/linux/Documentation/scheduler/
H A 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/include/linux/
H A Dbpf-cgroup-defs.h56 /* array of effective progs in this cgroup */
57 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member
70 /* temp storage for effective prog array used by prog_attach/detach */
/linux/kernel/
H A Dcapability.c136 * @dataptr: pointer to struct that contains the effective, permitted,
168 kdata[0].effective = pE.val; kdata[1].effective = pE.val >> 32; in SYSCALL_DEFINE2()
206 * @data: pointer to struct that contains the effective, permitted,
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/arch/x86/lib/
H A Dinsn-eval.c596 * computing the effective address. Thus, ensure that the first in get_reg_offset_16()
944 * get_eff_addr_reg() - Obtain effective address from register operand
947 * @regoff: Obtained operand offset, in pt_regs, with the effective address
948 * @eff_addr: Obtained effective address
950 * Obtain the effective address stored in the register operand as indicated by
952 * (i.e., ModRM.mod is 3). The effective address is saved in @eff_addr. The
960 * 0 on success. @eff_addr will have the effective address stored in the
994 * get_eff_addr_modrm() - Obtain referenced effective address via ModRM
998 * @eff_addr: Obtained effective address
1000 * Obtain the effective address referenced by the ModRM byte of @insn. After
[all …]
/linux/include/uapi/linux/
H A Dsecurebits.h15 compatibility mode. We raise the effective and inheritable bitmasks
16 *of the executable file* if the effective uid of the new process is
17 0. If the real uid is 0, we raise the effective (legacy) bit of the
H A Dauxvec.h21 #define AT_EUID 12 /* effective uid */
23 #define AT_EGID 14 /* effective gid */
/linux/mm/
H A Dpage_counter.c293 * This function calculates an individual page counter's effective
298 * The following rules apply to the effective protection values:
300 * 1. At the first level of reclaim, effective protection is equal to
304 * subsequent levels the effective protection is capped to the
305 * parent's effective protection.
309 * level. If that is the case, the parent's effective protection is
370 * is okay. With the overcommit distribution above, effective in effective_protection()
430 * Effective values of the reclaim targets are ignored so they in page_counter_calculate_protection()
/linux/kernel/bpf/
H A Dcgroup.c63 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg()
325 cgrp->bpf.effective[atype], in cgroup_bpf_release()
412 /* compute a chain of effective programs for a given cgroup:
428 /* count number of effective programs by walking parents */ in compute_effective_progs()
439 /* populate the array with effective progs */ in compute_effective_progs()
466 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs()
475 * cgroup_bpf_inherit() - inherit effective programs from parent
483 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
527 /* allocate and recompute effective prog arrays */ in update_effective_progs()
558 /* oom while computing effective. Free all computed effective arrays in update_effective_progs()
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
H A Dia_css_sdis_common_types.h55 in table, which cells have effective
65 in table, which cells have effective
83 in table, which cells have effective
93 in table, which cells have effective
/linux/Documentation/security/
H A Dcredentials.rst137 - Effective, Saved and FS User ID
138 - Effective, Saved and FS Group ID
150 - Set of effective capabilities
160 itself to its effective or permitted sets through ``capset()``. This
163 The effective capabilities are the ones that a task is actually allowed to
321 uid_t current_euid(void) Current's effective UID
322 gid_t current_egid(void) Current's effective GID
325 kernel_cap_t current_cap(void) Current's effective capabilities
400 uid_t task_euid(task) Task's effective UID
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh26 CPULIST=$(cat $CGROUP2/cpuset.cpus.effective)
149 ACTUAL_VAL=$(cat cpuset.cpus.effective)
151 echo "cpuset.cpus.effective: expect '$EXPECTED_VAL', found '$ACTUAL_VAL'"
186 # ECPUs - effective CPUs of cpusets
292 # cpus.exclusive.effective clearing test
389 # affect cpuset.cpus.exclusive.effective.
535 # Return 1 if the list of effective cpus isn't the same as the initial list.
552 ECPUS=$DIR/cpuset.cpus.effective
554 XECPUS=$DIR/cpuset.cpus.exclusive.effective
569 # Check effective cpus
[all …]
/linux/arch/powerpc/include/asm/
H A Dpage.h169 * __va(x) = (x) - [ PHYSICAL_START - Effective KERNELBASE ]
173 * Effective KERNELBASE = virtual_base =
180 * virt_phys_offset = Effective KERNELBASE - PHYSICAL_START
186 * __va(x) = x - PHYSICAL_START + Effective KERNELBASE
190 * __pa(x) = x + PHYSICAL_START - Effective KERNELBASE
/linux/tools/perf/util/
H A Dcap.c41 cap_val = data[1].effective; in perf_cap__capable()
47 cap_val = data[0].effective; in perf_cap__capable()
/linux/Documentation/admin-guide/cgroup-v1/
H A 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/kernel/cgroup/
H A Dcpuset-internal.h86 * The effective masks is the real masks that apply to the tasks
96 * The user-configured masks are always the same with effective masks.
103 /* effective CPUs and Memory Nodes allow to tasks */
126 * it becomes a valid partition root. The effective set of exclusive
/linux/Documentation/driver-api/media/drivers/
H A 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/Documentation/power/
H A 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/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-ksm59 Description: Measure how effective KSM is.
60 general_profit: how effective is KSM. The formula for the

12345678910>>...25