Home
last modified time | relevance | path

Searched refs:sig_path (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dverify_pkcs7_sig.c411 static int get_signature_size(const char *sig_path) in get_signature_size() argument
415 if (stat(sig_path, &st) == -1) in get_signature_size()
421 static int add_signature_to_xattr(const char *data_path, const char *sig_path) in add_signature_to_xattr() argument
426 if (sig_path) { in add_signature_to_xattr()
427 fd = open(sig_path, O_RDONLY); in add_signature_to_xattr()
469 char sig_path[PATH_MAX]; in test_pkcs7_sig_fsverity() local
481 snprintf(sig_path, PATH_MAX, "%s/sig-file", tmp_dir); in test_pkcs7_sig_fsverity()
500 ret = get_signature_size(sig_path); in test_pkcs7_sig_fsverity()
535 ret = add_signature_to_xattr(data_path, sig_path); in test_pkcs7_sig_fsverity()
/linux/drivers/iio/adc/
H A Dmax11410.c126 u8 sig_path; member
380 regval = FIELD_PREP(MAX11410_PGA_SIG_PATH_MASK, cfg.sig_path) | in max11410_configure_channel()
699 u32 reference, sig_path; in max11410_parse_channels() local
762 sig_path = MAX11410_PGA_SIG_PATH_BUFFERED; in max11410_parse_channels()
763 fwnode_property_read_u32(child, "adi,input-mode", &sig_path); in max11410_parse_channels()
764 if (sig_path > MAX11410_SIG_PATH_MAX) in max11410_parse_channels()
775 cfg->sig_path = sig_path; in max11410_parse_channels()
779 if (sig_path == MAX11410_PGA_SIG_PATH_PGA) { in max11410_parse_channels()