Home
last modified time | relevance | path

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

12345678910>>...22

/Linux-v6.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-v6.1/security/
Dcommoncap.c45 " effective capabilities. Therefore not raising all" in warn_setuid_and_fcaps_mixed()
52 * cap_capable - Determine whether a task has a particular effective capability
59 * its effective set, returning 0 if it does, -ve if it does not.
193 * @effective: The place to record the effective set
200 int cap_capget(struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument
208 *effective = cred->cap_effective; in cap_capget()
234 * @effective: A pointer to the proposed new effective capabilities set
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()
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
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-v6.1/kernel/power/
Dqos.c13 * aggregated as appropriate to produce effective constraints (target values)
50 * pm_qos_read_value - Return the current effective constraint value.
258 * a new entry to the CPU latency QoS list and recompute the effective QoS
287 * latency QoS list along with updating the effective constraint value for that
314 * QoS list along with updating the effective constraint value for that list.
521 * Insert a new entry into the @qos list of requests, recompute the effective
525 * Return 1 if the effective constraint value has changed, 0 if the effective
558 * Update an existing frequency QoS request along with the effective constraint
561 * Return 1 if the effective constraint value has changed, 0 if the effective
585 * belongs to and recompute the effective constraint value for that list.
[all …]
/Linux-v6.1/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-v6.1/include/linux/
Dbpf-cgroup-defs.h51 /* array of effective progs in this cgroup */
52 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member
65 /* temp storage for effective prog array used by prog_attach/detach */
Dpage_counter.h18 /* effective memory.min and memory.min usage tracking */
23 /* effective memory.low and memory.low usage tracking */
/Linux-v6.1/kernel/
Dcapability.c143 * @dataptr: pointer to struct that contains the effective, permitted,
171 kdata[i].effective = pE.cap[i]; in SYSCALL_DEFINE2()
208 * @data: pointer to struct that contains the effective, permitted,
226 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2() local
250 effective.cap[i] = kdata[i].effective; in SYSCALL_DEFINE2()
255 effective.cap[i] = 0; in SYSCALL_DEFINE2()
261 effective.cap[CAP_LAST_U32] &= CAP_LAST_U32_VALID_MASK; in SYSCALL_DEFINE2()
270 &effective, &inheritable, &permitted); in SYSCALL_DEFINE2()
/Linux-v6.1/arch/x86/lib/
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-v6.1/include/uapi/linux/
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
Dauxvec.h21 #define AT_EUID 12 /* effective uid */
23 #define AT_EGID 14 /* effective gid */
Dcapability.h45 __u32 effective; member
133 /* Overrides the following restrictions that the effective user ID
135 bits on that file; that the effective group ID (or one of the
142 /* Overrides the restriction that the real or effective user ID of a
143 process sending a signal must match the real or effective user ID
/Linux-v6.1/tools/testing/selftests/netfilter/
Drpath.sh132 ipt_zero_rule "$iptables" && die "iptables match not effective"
133 ipt_zero_rule "$ip6tables" && die "ip6tables match not effective"
134 nft_zero_rule ip && die "nft IPv4 match not effective"
135 nft_zero_rule ip6 && die "nft IPv6 match not effective"
/Linux-v6.1/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()
395 /* compute a chain of effective programs for a given cgroup:
411 /* count number of effective programs by walking parents */ in compute_effective_progs()
422 /* populate the array with effective progs */ in compute_effective_progs()
449 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs()
458 * cgroup_bpf_inherit() - inherit effective programs from parent
466 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
510 /* allocate and recompute effective prog arrays */ in update_effective_progs()
541 /* oom while computing effective. Free all computed effective arrays in update_effective_progs()
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
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-v6.1/Documentation/security/
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-v6.1/arch/powerpc/include/asm/
Dpage.h187 * __va(x) = (x) - [ PHYSICAL_START - Effective KERNELBASE ]
191 * Effective KERNELBASE = virtual_base =
198 * virt_phys_offset = Effective KERNELBASE - PHYSICAL_START
204 * __va(x) = x - PHYSICAL_START + Effective KERNELBASE
208 * __pa(x) = x + PHYSICAL_START - Effective KERNELBASE
/Linux-v6.1/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh95 ACTUAL_VAL=$(cat cpuset.cpus.effective)
97 echo "cpuset.cpus.effective: expect '$EXPECTED_VAL', found '$EXPECTED_VAL'"
418 # Return 1 if the list of effective cpus isn't the same as the initial list.
433 ECPUS=$DIR/cpuset.cpus.effective
441 # Check effective cpus
454 FILE=$CGRP/cpuset.cpus.effective
566 echo "Test $TEST[$I] failed effective CPU check!"
589 # Check to see if effective cpu list changes
592 NEWLIST=$(cat cpuset.cpus.effective)
594 echo "Effective cpus changed to $NEWLIST after test $I!"
/Linux-v6.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-v6.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-v6.1/tools/bpf/bpftool/
Dcgroup.c300 if (is_prefix(*argv, "effective")) { in do_show()
308 p_err("expected no more arguments, 'effective', got: '%s'?", in do_show()
461 if (is_prefix(*argv, "effective")) { in do_show_tree()
469 p_err("expected no more arguments, 'effective', got: '%s'?", in do_show_tree()
625 "Usage: %1$s %2$s { show | list } CGROUP [**effective**]\n" in do_help()
626 " %1$s %2$s tree [CGROUP_ROOT] [**effective**]\n" in do_help()
/Linux-v6.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-v6.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-v6.1/arch/powerpc/include/asm/nohash/32/
Dmmu-8xx.h47 /* The effective page number register. When read, contains the information
52 #define MI_EPNMASK 0xfffff000 /* Effective page number for entry */
110 /* The effective page number register. When read, contains the information
115 #define MD_EPNMASK 0xfffff000 /* Effective page number for entry */
/Linux-v6.1/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

12345678910>>...22