Searched refs:filename (Results 26 - 50 of 408) sorted by relevance

1234567891011>>

/linux-master/usr/include/
H A Dheaders_check.pl31 my $filename;
34 $filename = $file;
36 open(my $fh, '<', $filename)
37 or die "$filename: $!\n";
62 printf STDERR "$filename:$lineno: included file '$inc' is not exported\n";
79 printf STDERR "$filename:$lineno: " .
88 printf STDERR "$filename:$lineno: leaks CONFIG_$1 to userspace where it is not valid\n";
95 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) {
105 printf STDERR "$filename:$lineno: " .
120 my @file_paths = ($path, $dir . "/" . $path, dirname($filename)
[all...]
/linux-master/tools/lib/api/fs/
H A Dtracing_path.c131 char filename[PATH_MAX]; local
133 snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*");
145 if (!strncmp(filename, "sdt_", 4)) {
150 tracing_path, filename, sys, name);
155 tracing_path, filename);
169 tracing_path, filename, tracing_path_mount());
/linux-master/tools/testing/selftests/resctrl/
H A Dcache.c97 * @filename: file that stores the results
104 static int print_results_cache(const char *filename, int bm_pid, __u64 llc_value) argument
108 if (strcmp(filename, "stdio") == 0 || strcmp(filename, "stderr") == 0) {
111 fp = fopen(filename, "a");
126 * @filename: Filename for writing the results
130 * @filename. @bm_pid is written to the results file along with the measured
136 const char *filename, int bm_pid)
151 return print_results_cache(filename, bm_pid, pe_read->values[0].value);
156 * @filename
135 perf_event_measure(int pe_fd, struct perf_event_read *pe_read, const char *filename, int bm_pid) argument
164 measure_llc_resctrl(const char *filename, int bm_pid) argument
[all...]
/linux-master/security/integrity/ima/
H A Dima_api.c104 const unsigned char *filename, int pcr)
122 result = ima_add_template_entry(entry, violation, op, inode, filename);
133 void ima_add_violation(struct file *file, const unsigned char *filename, argument
141 .filename = filename,
155 filename, CONFIG_IMA_MEASURE_PCR_IDX);
159 integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename,
251 struct name_snapshot filename; local
322 take_dentry_name_snapshot(&filename, file->f_path.dentry);
325 filename
102 ima_store_template(struct ima_template_entry *entry, int violation, struct inode *inode, const unsigned char *filename, int pcr) argument
348 ima_store_measurement(struct ima_iint_cache *iint, struct file *file, const unsigned char *filename, struct evm_ima_xattr_data *xattr_value, int xattr_len, const struct modsig *modsig, int pcr, struct ima_template_desc *template_desc) argument
392 ima_audit_measurement(struct ima_iint_cache *iint, const unsigned char *filename) argument
441 struct name_snapshot filename; local
[all...]
/linux-master/include/uapi/linux/
H A Dbcm933xx_hcs.h19 char filename[64]; member in struct:bcm_hcs
/linux-master/samples/bpf/
H A Dsockex1_user.c16 char filename[256]; local
20 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
22 obj = bpf_object__open_file(filename, NULL);
H A Dsockex2_user.c21 char filename[256]; local
25 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
26 obj = bpf_object__open_file(filename, NULL);
H A Dtracex5_user.c42 char filename[256]; local
45 snprintf(filename, sizeof(filename), "%s.bpf.o", argv[0]);
46 obj = bpf_object__open_file(filename, NULL);
H A Dspintest_user.c17 char filename[256]; local
25 snprintf(filename, sizeof(filename), "%s.bpf.o", argv[0]);
26 obj = bpf_object__open_file(filename, NULL);
H A Dsyscall_tp_user.c48 static int test(char *filename, int nr_tests) argument
56 objs[i] = bpf_object__open_file(filename, NULL);
109 fd = open(filename, O_RDONLY);
138 char filename[256]; local
152 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
154 return test(filename, nr_tests);
/linux-master/io_uring/
H A Dxattr.c22 struct filename *filename; member in struct:io_xattr
29 if (ix->filename)
30 putname(ix->filename);
54 ix->filename = NULL;
99 ix->filename = getname_flags(path, LOOKUP_FOLLOW, NULL);
100 if (IS_ERR(ix->filename)) {
101 ret = PTR_ERR(ix->filename);
102 ix->filename = NULL;
133 ret = filename_lookup(AT_FDCWD, ix->filename, lookup_flag
[all...]
H A Dfs.c22 struct filename *oldpath;
23 struct filename *newpath;
31 struct filename *filename; member in struct:io_unlink
38 struct filename *filename; member in struct:io_mkdir
45 struct filename *oldpath;
46 struct filename *newpath;
121 un->filename = getname(fname);
122 if (IS_ERR(un->filename))
[all...]
/linux-master/tools/testing/selftests/mount/
H A Dnosymfollow-test.c40 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, argument
55 fd = open(filename, O_WRONLY);
59 die("open of %s failed: %s\n", filename, strerror(errno));
65 die("short write to %s\n", filename);
68 filename, strerror(errno));
73 die("close of %s failed: %s\n", filename, strerror(errno));
76 static void maybe_write_file(char *filename, char *fmt, ...) argument
81 vmaybe_write_file(true, filename, fmt, ap);
85 static void write_file(char *filename, char *fmt, ...) argument
90 vmaybe_write_file(false, filename, fm
[all...]
/linux-master/tools/perf/tests/
H A Dsdt.c28 static int build_id_cache__add_file(const char *filename) argument
34 err = filename__read_build_id(filename, &bid);
36 pr_debug("Failed to read build id of %s\n", filename);
41 err = build_id_cache__add_s(sbuild_id, filename, NULL, false, false);
43 pr_debug("Failed to add build id cache of %s\n", filename);
H A Dpe-file-parsing.c25 char filename[PATH_MAX]; local
39 scnprintf(filename, PATH_MAX, "%s/pe-file.exe", d);
40 ret = filename__read_build_id(filename, &bid);
46 ret = filename__read_debuglink(filename, debuglink, PATH_MAX);
58 dso = dso__new(filename);
/linux-master/tools/testing/selftests/fchmodat2/
H A Dfchmodat2_test.c12 int sys_fchmodat2(int dfd, const char *filename, mode_t mode, int flags) argument
14 int ret = syscall(__NR_fchmodat2, dfd, filename, mode, flags);
46 int expect_mode(int dfd, const char *filename, mode_t expect_mode) argument
49 int ret = fstatat(dfd, filename, &st, AT_SYMLINK_NOFOLLOW);
53 __func__, filename);
/linux-master/fs/gfs2/
H A Ddir.h27 const struct qstr *filename,
29 int gfs2_dir_check(struct inode *dir, const struct qstr *filename,
31 int gfs2_dir_add(struct inode *inode, const struct qstr *filename,
41 int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
47 const struct qstr *filename,
/linux-master/fs/
H A Dinternal.h54 extern int filename_lookup(int dfd, struct filename *name, unsigned flags,
56 int do_rmdir(int dfd, struct filename *name);
57 int do_unlinkat(int dfd, struct filename *name);
59 int do_renameat2(int olddfd, struct filename *oldname, int newdfd,
60 struct filename *newname, unsigned int flags);
61 int do_mkdirat(int dfd, struct filename *name, umode_t mode);
62 int do_symlinkat(struct filename *from, int newdfd, struct filename *to);
63 int do_linkat(int olddfd, struct filename *old, int newdfd,
64 struct filename *ne
[all...]
/linux-master/tools/testing/selftests/proc/
H A Dread.c38 static void f_reg(DIR *d, const char *filename) argument
45 fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK);
55 static void f_reg_write(DIR *d, const char *filename, const char *buf, size_t len) argument
60 fd = openat(dirfd(d), filename, O_WRONLY);
68 static void f_lnk(DIR *d, const char *filename) argument
73 rv = readlinkat(dirfd(d), filename, buf, sizeof(buf));
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A Dtrigger-synthetic-eprobe.tc13 FIELD="filename"
17 echo "$SYNTH unsigned long filename; long ret;" > synthetic_events
19 echo "hist:keys=common_pid:filename=\$__arg__1,ret=ret:onmatch($SYSTEM.$START).trace($SYNTH,\$filename,\$ret)" > events/$SYSTEM/$END/trigger
21 echo "e:$EPROBE synthetic/$SYNTH file=+0(\$filename):ustring ret=\$ret:s64" >> dynamic_events
44 echo '!'"hist:keys=common_pid:filename=\$__arg__1,ret=ret:onmatch($SYSTEM.$START).trace($SYNTH,\$filename,\$ret)" > events/$SYSTEM/$END/trigger
46 echo '!'"$SYNTH u64 filename; s64 ret;" >> synthetic_events
/linux-master/tools/testing/selftests/cpufreq/
H A Dcpufreq.sh216 filename="mem"
218 filename="disk"
224 if [ -n $filename ]; then
225 present=$(cat $SYSFS/power/state | grep $filename)
228 printf "Tried to $1 but $filename isn't present in $SYSFS/power/state\n"
234 echo $filename > $SYSFS/power/state
/linux-master/security/tomoyo/
H A Dload_policy.c75 * @filename: The program about to start.
77 * This function checks whether @filename is /sbin/init , and if so
85 void tomoyo_load_policy(const char *filename) argument
95 if (strcmp(filename, tomoyo_trigger))
/linux-master/fs/smb/server/
H A Dmisc.h15 int ksmbd_validate_filename(char *filename);
16 int parse_stream_name(char *filename, char **stream_name, int *s_type);
/linux-master/tools/testing/selftests/alsa/
H A Dalsa-local.h15 snd_config_t *conf_load_from_file(const char *filename);
30 const char *filename; member in struct:card_cfg_data
/linux-master/scripts/
H A Drecordmcount.pl371 my $filename;
377 $filename = $2;
380 $filename = $inputfile;
383 if ($filename =~ m,^(.*)(\.\S),) {
387 $prefix = $filename;
555 my $globalobj = $dirname . "/.tmp_gl_" . $filename;
556 my $globalmix = $dirname . "/.tmp_mx_" . $filename;
578 my $mix = $dirname . "/.tmp_mx_" . $filename;

Completed in 180 milliseconds

1234567891011>>