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

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dverify_pkcs7_sig.c411 static int get_signature_size(const char *sig_path) argument
415 if (stat(sig_path, &st) == -1)
421 static int add_signature_to_xattr(const char *data_path, const char *sig_path) argument
426 if (sig_path) {
427 fd = open(sig_path, O_RDONLY);
436 /* no sig_path, just write 32 bytes of zeros */
469 char sig_path[PATH_MAX]; local
481 snprintf(sig_path, PATH_MAX, "%s/sig-file", tmp_dir);
500 ret = get_signature_size(sig_path);
535 ret = add_signature_to_xattr(data_path, sig_path);
[all...]
/linux-master/drivers/iio/adc/
H A Dmax11410.c126 u8 sig_path; member in struct:max11410_channel_config
380 regval = FIELD_PREP(MAX11410_PGA_SIG_PATH_MASK, cfg.sig_path) |
700 u32 reference, sig_path; local
771 sig_path = MAX11410_PGA_SIG_PATH_BUFFERED;
772 fwnode_property_read_u32(child, "adi,input-mode", &sig_path);
773 if (sig_path > MAX11410_SIG_PATH_MAX) {
786 cfg->sig_path = sig_path;
790 if (sig_path == MAX11410_PGA_SIG_PATH_PGA) {

Completed in 127 milliseconds