Home
last modified time | relevance | path

Searched refs:ambient (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/
H A Dtest_execve.c207 bool eff, bool perm, bool inh, bool ambient) in exec_other_validate_cap()
210 (perm ? "1" : "0"), (inh ? "1" : "0"), (ambient ? "1" : "0"), in exec_other_validate_cap()
215 static void exec_validate_cap(bool eff, bool perm, bool inh, bool ambient) in exec_validate_cap() argument
217 exec_other_validate_cap("./validate_cap", eff, perm, inh, ambient); in exec_validate_cap()
284 /* We should not be able to add ambient caps yet. */ in do_tests()
206 exec_other_validate_cap(const char *name, bool eff, bool perm, bool inh, bool ambient) exec_other_validate_cap() argument
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/
H A Dtest_execve.c207 bool eff, bool perm, bool inh, bool ambient) in exec_other_validate_cap()
210 (perm ? "1" : "0"), (inh ? "1" : "0"), (ambient ? "1" : "0"), in exec_other_validate_cap()
215 static void exec_validate_cap(bool eff, bool perm, bool inh, bool ambient) in exec_validate_cap() argument
217 exec_other_validate_cap("./validate_cap", eff, perm, inh, ambient); in exec_validate_cap()
284 /* We should not be able to add ambient caps yet. */ in do_tests()
206 exec_other_validate_cap(const char *name, bool eff, bool perm, bool inh, bool ambient) exec_other_validate_cap() argument
/kernel/linux/linux-5.10/drivers/iio/temperature/
H A Dmlx90632.c130 * the ambient temperature of sensor.
578 static s32 mlx90632_calc_temp_object(s64 object, s64 ambient, s32 Ea, s32 Eb, in mlx90632_calc_temp_object() argument
588 TAdut = div64_s64(((ambient - kTA0) * 1000000LL), kTA) + 25 * 1000000LL; in mlx90632_calc_temp_object()
600 static s32 mlx90632_calc_temp_object_extended(s64 object, s64 ambient, s64 reflected, in mlx90632_calc_temp_object_extended() argument
610 TAdut = div64_s64((ambient - kTA0) * 1000000LL, kTA) + 25 * 1000000LL; in mlx90632_calc_temp_object_extended()
632 s64 object, ambient; in mlx90632_calc_object_dsp105() local
680 ambient = mlx90632_preprocess_temp_amb(ambient_new_raw, in mlx90632_calc_object_dsp105()
685 *val = mlx90632_calc_temp_object_extended(object, ambient, in mlx90632_calc_object_dsp105()
692 ambient = mlx90632_preprocess_temp_amb(ambient_new_raw, in mlx90632_calc_object_dsp105()
699 *val = mlx90632_calc_temp_object(object, ambient, E in mlx90632_calc_object_dsp105()
[all...]
/kernel/linux/linux-6.6/drivers/iio/temperature/
H A Dmlx90632.c147 * the ambient temperature of sensor.
767 static s32 mlx90632_calc_temp_object(s64 object, s64 ambient, s32 Ea, s32 Eb, in mlx90632_calc_temp_object() argument
777 TAdut = div64_s64(((ambient - kTA0) * 1000000LL), kTA) + 25 * 1000000LL; in mlx90632_calc_temp_object()
789 static s32 mlx90632_calc_temp_object_extended(s64 object, s64 ambient, s64 reflected, in mlx90632_calc_temp_object_extended() argument
799 TAdut = div64_s64((ambient - kTA0) * 1000000LL, kTA) + 25 * 1000000LL; in mlx90632_calc_temp_object_extended()
819 s64 object, ambient; in mlx90632_calc_object_dsp105() local
869 ambient = mlx90632_preprocess_temp_amb(ambient_new_raw, in mlx90632_calc_object_dsp105()
874 *val = mlx90632_calc_temp_object_extended(object, ambient, in mlx90632_calc_object_dsp105()
881 ambient = mlx90632_preprocess_temp_amb(ambient_new_raw, in mlx90632_calc_object_dsp105()
888 *val = mlx90632_calc_temp_object(object, ambient, E in mlx90632_calc_object_dsp105()
[all...]
/kernel/linux/linux-5.10/security/
H A Dcommoncap.c273 * Mask off ambient bits that are no longer both permitted and in cap_capset()
797 * 4) non-setuid root gets ambient
804 if ((__cap_grew(effective, ambient, new) && in nonroot_raised_pE()
814 __cap_gained(ambient, new, old)))) in nonroot_raised_pE()
877 /* File caps or setid cancels ambient. */ in cap_bprm_creds_from_file()
914 __cap_grew(permitted, ambient, new)))) in cap_bprm_creds_from_file()
1036 * Pre-ambient programs expect setresuid to nonroot followed in cap_emulate_setxuid()
/kernel/linux/linux-6.6/security/
H A Dcommoncap.c274 * Mask off ambient bits that are no longer both permitted and in cap_capset()
850 * 4) non-setuid root gets ambient
857 if ((__cap_grew(effective, ambient, new) && in nonroot_raised_pE()
867 __cap_gained(ambient, new, old)))) in nonroot_raised_pE()
932 /* File caps or setid cancels ambient. */ in cap_bprm_creds_from_file()
969 __cap_grew(permitted, ambient, new)))) in cap_bprm_creds_from_file()
1100 * Pre-ambient programs expect setresuid to nonroot followed in cap_emulate_setxuid()
/kernel/linux/linux-5.10/kernel/
H A Daudit.h58 kernel_cap_t ambient; member
H A Dauditsc.c1352 audit_log_cap(ab, "cap_pa", &context->capset.cap.ambient); in show_special()
1576 audit_log_cap(ab, "old_pa", &axs->old_pcap.ambient); in audit_log_exit()
1580 audit_log_cap(ab, "pa", &axs->new_pcap.ambient); in audit_log_exit()
2563 ax->old_pcap.ambient = old->cap_ambient; in __audit_log_bprm_fcaps()
2568 ax->new_pcap.ambient = new->cap_ambient; in __audit_log_bprm_fcaps()
2587 context->capset.cap.ambient = new->cap_ambient; in __audit_log_capset()
/kernel/linux/linux-6.6/kernel/
H A Daudit.h62 kernel_cap_t ambient; member
H A Dauditsc.c1460 audit_log_cap(ab, "cap_pa", &context->capset.cap.ambient); in show_special()
1739 audit_log_cap(ab, "old_pa", &axs->old_pcap.ambient); in audit_log_exit()
1743 audit_log_cap(ab, "pa", &axs->new_pcap.ambient); in audit_log_exit()
2825 ax->old_pcap.ambient = old->cap_ambient; in __audit_log_bprm_fcaps()
2830 ax->new_pcap.ambient = new->cap_ambient; in __audit_log_bprm_fcaps()
2850 context->capset.cap.ambient = new->cap_ambient; in __audit_log_capset()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga3d_cmd.h465 float ambient[4]; member
994 float ambient[4]; member
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga3d_cmd.h407 float ambient[4]; member
697 float ambient[4]; member
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dcs35l41_hda.c361 static int cs35l41_apply_calibration(struct cs35l41_hda *cs35l41, __be32 ambient, __be32 r0, in cs35l41_apply_calibration() argument
367 CAL_DSP_CTL_ALG, &ambient, 4); in cs35l41_apply_calibration()

Completed in 26 milliseconds