Searched refs:cap (Results 1 – 9 of 9) sorted by relevance
/kernel/ |
D | capability.c | 171 kdata[i].effective = pE.cap[i]; in SYSCALL_DEFINE2() 172 kdata[i].permitted = pP.cap[i]; in SYSCALL_DEFINE2() 173 kdata[i].inheritable = pI.cap[i]; in SYSCALL_DEFINE2() 250 effective.cap[i] = kdata[i].effective; in SYSCALL_DEFINE2() 251 permitted.cap[i] = kdata[i].permitted; in SYSCALL_DEFINE2() 252 inheritable.cap[i] = kdata[i].inheritable; in SYSCALL_DEFINE2() 255 effective.cap[i] = 0; in SYSCALL_DEFINE2() 256 permitted.cap[i] = 0; in SYSCALL_DEFINE2() 257 inheritable.cap[i] = 0; in SYSCALL_DEFINE2() 261 effective.cap[CAP_LAST_U32] &= CAP_LAST_U32_VALID_MASK; in SYSCALL_DEFINE2() [all …]
|
D | auditsc.c | 1162 kernel_cap_t *cap) in audit_log_cap() argument 1166 if (cap_isclear(*cap)) { in audit_log_cap() 1172 audit_log_format(ab, "%08x", cap->cap[CAP_LAST_U32 - i]); in audit_log_cap() 1273 audit_log_cap(ab, "cap_pi", &context->capset.cap.inheritable); in show_special() 1274 audit_log_cap(ab, "cap_pp", &context->capset.cap.permitted); in show_special() 1275 audit_log_cap(ab, "cap_pe", &context->capset.cap.effective); in show_special() 1276 audit_log_cap(ab, "cap_pa", &context->capset.cap.ambient); in show_special() 2488 context->capset.cap.effective = new->cap_effective; in __audit_log_capset() 2489 context->capset.cap.inheritable = new->cap_effective; in __audit_log_capset() 2490 context->capset.cap.permitted = new->cap_permitted; in __audit_log_capset() [all …]
|
D | umh.c | 651 cap_array[i] = usermodehelper_bset.cap[i]; in proc_cap_handler() 653 cap_array[i] = usermodehelper_inheritable.cap[i]; in proc_cap_handler() 675 new_cap.cap[i] = cap_array[i]; in proc_cap_handler()
|
D | audit.h | 182 struct audit_cap_data cap; member
|
/kernel/power/ |
D | energy_model.c | 202 unsigned long cap, prev_cap = 0; in em_register_perf_domain() local 226 cap = arch_scale_cpu_capacity(cpu); in em_register_perf_domain() 227 if (prev_cap && prev_cap != cap) { in em_register_perf_domain() 233 prev_cap = cap; in em_register_perf_domain()
|
/kernel/sched/ |
D | topology.c | 1898 unsigned long cap; in asym_cpu_capacity_level() local 1901 cap = arch_scale_cpu_capacity(cpumask_first(cpu_map)); in asym_cpu_capacity_level() 1904 if (arch_scale_cpu_capacity(i) != cap) { in asym_cpu_capacity_level()
|
D | fair.c | 103 #define fits_capacity(cap, max) ((cap) * 1280 < (max) * 1024) argument 786 long cap = (long)(cpu_scale - cfs_rq->avg.util_avg) / 2; in post_init_entity_util_avg() local 788 if (cap > 0) { in post_init_entity_util_avg() 793 if (sa->util_avg > cap) in post_init_entity_util_avg() 794 sa->util_avg = cap; in post_init_entity_util_avg() 796 sa->util_avg = cap; in post_init_entity_util_avg()
|
/kernel/rcu/ |
D | tree.c | 3486 int cap = rcu_capacity[(rcu_num_lvls - 1) - i]; in rcu_init_geometry() local 3487 num_rcu_lvl[i] = DIV_ROUND_UP(nr_cpu_ids, cap); in rcu_init_geometry()
|
/kernel/bpf/ |
D | verifier.c | 2145 u32 cap = bpf_map_flags_to_cap(map); in check_map_access_type() local 2147 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type() 2153 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()
|