Searched refs:cap_valid (Results 1 – 5 of 5) sorted by relevance
109 bool cap_valid = false; in ccf_irq() local129 cap_valid = true; in ccf_irq()137 cap_valid = true; in ccf_irq()162 if (cap_valid) { in ccf_irq()
357 if (unlikely(!cap_valid(cap))) { in ns_capable_common()457 if (WARN_ON_ONCE(!cap_valid(cap))) in file_ns_capable()
974 if (cap_valid(cap_setid) && !file_ns_capable(file, map_ns, CAP_SYS_ADMIN)) in map_write()1188 if (!cap_valid(cap_setid)) in new_idmap_permitted()
423 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP) macro
1240 if (!cap_valid(cap)) in cap_prctl_drop()1273 if (!cap_valid(arg2)) in cap_task_prctl()1358 if (((!cap_valid(arg3)) | arg4 | arg5)) in cap_task_prctl()