Home
last modified time | relevance | path

Searched refs:filename (Results 51 – 75 of 1426) sorted by relevance

12345678910>>...58

/openbmc/qemu/chardev/
H A Dchar.c301 g_free(chr->filename); in char_finalize()
356 if (strstart(filename, "mon:", &p)) { in qemu_chr_parse_compat()
361 filename = p; in qemu_chr_parse_compat()
383 if (strstart(filename, "vc", &p)) { in qemu_chr_parse_compat()
400 if (strcmp(filename, "con:") == 0) { in qemu_chr_parse_compat()
404 if (strstart(filename, "COM", NULL)) { in qemu_chr_parse_compat()
409 if (strstart(filename, "file:", &p)) { in qemu_chr_parse_compat()
419 if (strstart(filename, "tcp:", &p) || in qemu_chr_parse_compat()
446 if (strstart(filename, "udp:", &p)) { in qemu_chr_parse_compat()
752 value->filename = g_strdup(chr->filename); in qmp_query_chardev_foreach()
[all …]
/openbmc/u-boot/common/spl/
H A Dspl_fat.c46 char *filename = (char *)load->filename; in spl_fit_read() local
48 ret = fat_read_file(filename, buf, file_offset, size, &actread); in spl_fit_read()
57 const char *filename) in spl_load_image_fat() argument
68 err = file_fat_read(filename, header, sizeof(struct image_header)); in spl_load_image_fat()
74 err = file_fat_read(filename, (void *)CONFIG_SYS_LOAD_ADDR, 0); in spl_load_image_fat()
90 load.filename = (void *)filename; in spl_load_image_fat()
99 err = file_fat_read(filename, in spl_load_image_fat()
107 __func__, filename, err); in spl_load_image_fat()
/openbmc/openbmc/meta-arm/meta-arm-systemready/recipes-test/arm-systemready-acs/arm-systemready-scripts/
H A D0002-check-sr-results-Device-tree-improvements.patch27 -def check_devicetree(filename):
28 +def check_devicetree(filename, extra_compat=None):
29 logging.debug(f"Check Devicetree `{filename}'")
31 log = f"{filename}.log"
32 @@ -644,6 +644,9 @@ def check_devicetree(filename):
42 @@ -930,7 +933,12 @@ def check_file(conffile, filename):
43 stats.add(check_uefi_capsule(filename))
46 - stats.add(check_devicetree(filename))
49 + filename,
55 stats.add(check_uefi_sniff(filename))
[all …]
/openbmc/linux/samples/bpf/
H A Dtest_overhead_user.c131 static int load_progs(char *filename) in load_progs() argument
136 obj = bpf_object__open_file(filename, NULL); in load_progs()
176 char filename[256]; in main() local
191 snprintf(filename, sizeof(filename), in main()
195 err = load_progs(filename); in main()
203 snprintf(filename, sizeof(filename), in main()
206 err = load_progs(filename); in main()
214 snprintf(filename, sizeof(filename), in main()
217 err = load_progs(filename); in main()
/openbmc/linux/tools/iio/
H A Diio_utils.h68 int write_sysfs_int(const char *filename, const char *basedir, int val);
69 int write_sysfs_int_and_verify(const char *filename, const char *basedir,
71 int write_sysfs_string_and_verify(const char *filename, const char *basedir,
73 int write_sysfs_string(const char *filename, const char *basedir,
75 int read_sysfs_posint(const char *filename, const char *basedir);
76 int read_sysfs_float(const char *filename, const char *basedir, float *val);
77 int read_sysfs_string(const char *filename, const char *basedir, char *str);
/openbmc/qemu/migration/
H A Dfile.c43 g_autofree char *filename = g_strdup(file_args->filename); in file_start_outgoing_migration() local
47 trace_migration_file_outgoing(filename); in file_start_outgoing_migration()
49 fioc = qio_channel_file_new_path(filename, O_CREAT | O_WRONLY | O_TRUNC, in file_start_outgoing_migration()
74 g_autofree char *filename = g_strdup(file_args->filename); in file_start_incoming_migration() local
79 trace_migration_file_incoming(filename); in file_start_incoming_migration()
81 fioc = qio_channel_file_new_path(filename, O_RDONLY, 0, errp); in file_start_incoming_migration()
/openbmc/qemu/tests/qemu-iotests/
H A D191.out126 "backing-filename-format": "IMGFMT",
128 "filename": "TEST_DIR/t.IMGFMT.ovl2",
160 "filename": "TEST_DIR/t.IMGFMT.ovl2",
195 "backing-filename-format": "IMGFMT",
197 "filename": "TEST_DIR/t.IMGFMT",
229 "filename": "TEST_DIR/t.IMGFMT",
264 "backing-filename-format": "IMGFMT",
266 "filename": "TEST_DIR/t.IMGFMT.mid",
298 "filename": "TEST_DIR/t.IMGFMT.mid",
741 "filename": "TEST_DIR/t.IMGFMT",
[all …]
/openbmc/linux/tools/testing/selftests/alsa/
H A Dconf.c25 const char *filename; member
108 conf->filename, card); in conf_data_by_card()
238 config = conf_load_from_file(filename); in test_filename1()
259 ksft_exit_fail_msg("Duplicate card '%s' <-> '%s'\n", filename, data2->filename); in test_filename1()
261 data->filename = filename; in test_filename1()
270 static bool test_filename(const char *filename) in test_filename() argument
310 char *filename = malloc(sl); in conf_load() local
311 if (filename == NULL) in conf_load()
314 if (test_filename(filename)) in conf_load()
315 filename = NULL; in conf_load()
[all …]
/openbmc/u-boot/include/
H A Dsandboxfs.h23 int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer,
25 int sandbox_fs_write_at(const char *filename, loff_t pos, void *buffer,
30 int sandbox_fs_exists(const char *filename);
31 int sandbox_fs_size(const char *filename, loff_t *size);
32 int fs_read_sandbox(const char *filename, void *buf, loff_t offset, loff_t len,
34 int fs_write_sandbox(const char *filename, void *buf, loff_t offset,
/openbmc/linux/io_uring/
H A Dxattr.c22 struct filename *filename; member
29 if (ix->filename) in io_xattr_cleanup()
30 putname(ix->filename); in io_xattr_cleanup()
54 ix->filename = NULL; in __io_getxattr_prep()
100 if (IS_ERR(ix->filename)) { in io_getxattr_prep()
101 ret = PTR_ERR(ix->filename); in io_getxattr_prep()
102 ix->filename = NULL; in io_getxattr_prep()
158 ix->filename = NULL; in __io_setxattr_prep()
193 if (IS_ERR(ix->filename)) { in io_setxattr_prep()
194 ret = PTR_ERR(ix->filename); in io_setxattr_prep()
[all …]
/openbmc/linux/fs/
H A Dinit.c44 int __init init_chdir(const char *filename) in init_chdir() argument
59 int __init init_chroot(const char *filename) in init_chroot() argument
88 error = kern_path(filename, lookup_flags, &path); in init_chown()
100 int __init init_chmod(const char *filename, umode_t mode) in init_chmod() argument
105 error = kern_path(filename, LOOKUP_FOLLOW, &path); in init_chmod()
113 int __init init_eaccess(const char *filename) in init_eaccess() argument
118 error = kern_path(filename, LOOKUP_FOLLOW, &path); in init_eaccess()
132 error = kern_path(filename, lookup_flags, &path); in init_stat()
152 dentry = kern_path_create(AT_FDCWD, filename, &path, 0); in init_mknod()
247 int __init init_utimes(char *filename, struct timespec64 *ts) in init_utimes() argument
[all …]
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 *new, int flags);
169 extern struct file *do_filp_open(int dfd, struct filename *pathname,
[all …]
/openbmc/linux/drivers/accessibility/speakup/
H A Dutils.h30 char filename[256]; variable
35 snprintf(filename, sizeof(filename), "%s/%s", dir_name, name); in open_input()
37 snprintf(filename, sizeof(filename), "%s", name); in open_input()
38 infile = fopen(filename, "r"); in open_input()
40 fprintf(stderr, "can't open %s\n", filename); in open_input()
50 fprintf(stderr, "error: file %s line %d\n", filename, lc); in oops()
/openbmc/linux/tools/perf/
H A Dbuiltin-buildid-cache.c124 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore()
183 err = filename__read_build_id(filename, &bid); in build_id_cache__add_file()
191 err = build_id_cache__add_s(sbuild_id, filename, nsi, in build_id_cache__add_file()
193 pr_debug("Adding %s %s: %s\n", sbuild_id, filename, in build_id_cache__add_file()
207 err = filename__read_build_id(filename, &bid); in build_id_cache__remove_file()
277 char filename[PATH_MAX]; in dso__missing_buildid_cache() local
280 if (dso__build_id_filename(dso, filename, sizeof(filename), false) && in dso__missing_buildid_cache()
281 filename__read_build_id(filename, &bid) == -1) { in dso__missing_buildid_cache()
286 filename); in dso__missing_buildid_cache()
289 filename); in dso__missing_buildid_cache()
[all …]
/openbmc/u-boot/test/py/
H A Du_boot_utils.py255 def __init__(self, log, filename): argument
267 self.filename = filename
275 if os.path.exists(self.filename):
276 filename_timestamp = os.path.getmtime(self.filename)
279 self.filename)
280 os.unlink(self.filename)
285 os.path.unlink(self.filename)
291 filename_timestamp = os.path.getmtime(self.filename)
298 os.utime(self.filename)
301 def persistent_file_helper(u_boot_log, filename): argument
[all …]
/openbmc/linux/tools/testing/selftests/splice/
H A Dshort_splice_read.sh73 filename="$1"
78 out=$("$DIR"/splice_read "$filename" "$bytes" | cat)
90 filename="$1"
92 echo " checking $filename ..." >&2
94 full=$(cat "$filename")
104 if ! do_splice "$filename" 4096 "$full" "full read" ; then
110 if ! do_splice "$filename" 2 "$two" "'$two'" ; then
/openbmc/qemu/scripts/modules/
H A Dmodule_block.py36 def process_file(fheader, filename): argument
38 with open(filename, "r") as cfile:
40 library, _ = os.path.splitext(os.path.basename(filename))
90 for filename in sys.argv[2:]:
91 if os.path.isfile(filename):
92 process_file(fheader, filename)
94 print("File " + filename + " does not exist.", file=sys.stderr)
/openbmc/u-boot/scripts/dtc/
H A Dutil.c238 if (strcmp(filename, "-") != 0) { in utilfdt_read_err_len()
239 fd = open(filename, O_RDONLY); in utilfdt_read_err_len()
271 int utilfdt_read_err(const char *filename, char **buffp) in utilfdt_read_err() argument
274 return utilfdt_read_err_len(filename, buffp, &len); in utilfdt_read_err()
277 char *utilfdt_read_len(const char *filename, off_t *len) in utilfdt_read_len() argument
280 int ret = utilfdt_read_err_len(filename, &buff, len); in utilfdt_read_len()
291 char *utilfdt_read(const char *filename) in utilfdt_read() argument
294 return utilfdt_read_len(filename, &len); in utilfdt_read()
305 if (strcmp(filename, "-") != 0) { in utilfdt_write_err()
329 int utilfdt_write(const char *filename, const void *blob) in utilfdt_write() argument
[all …]
/openbmc/u-boot/tools/buildman/
H A Dkconfiglib.py195 self.filename = filename
262 return self.filename
312 filename = self._expand_sym_refs(filename)
416 filename = os.path.expandvars(filename)
730 comment.filename = line_feeder.filename
744 menu.filename = line_feeder.filename
849 filename = line_feeder.filename
2705 self.filename = None
3173 self.filename = _clean_up_path(filename)
3444 loc = "" if filename is None else "{0}:{1}: ".format(filename, linenr)
[all …]
/openbmc/openbmc/poky/meta/lib/
H A Dbuildstats.py39 for filename, handler in (file_handlers):
44 if os.path.exists(os.path.join('/proc', filename)):
81 def _reduce_meminfo(self, time, data, filename): argument
102 def _reduce_diskstats(self, time, data, filename): argument
131 def _reduce_nop(self, time, data, filename): argument
134 def _reduce_stat(self, time, data, filename): argument
153 def _reduce_pressure(self, time, data, filename): argument
168 if self.last_pressure[filename]:
169 delta = total - self.last_pressure[filename]
171 self.last_pressure[filename] = total
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/
H A D0010-oprofile-Determine-the-root-home-directory-dynamical.patch27 - with this option, your current working directory should be <filename>/root</filename> or a subdi…
28 - of <filename>/root</filename> to avoid storing sample data files in locations accessible by regu…
29 + with this option, your current working directory should be <filename>~root</filename> or a subdi…
30 + of <filename>~root</filename> to avoid storing sample data files in locations accessible by regu…
40 - with this option, your current working directory should be <code class="filename">/root</code> o…
41 - of <code class="filename">/root</code> to avoid storing sample data files in locations accessibl…
42 + with this option, your current working directory should be <code class="filename">~root</code> o…
43 + of <code class="filename">~root</code> to avoid storing sample data files in locations accessibl…
/openbmc/linux/scripts/
H A Dheaderdep.pl63 my $filename = shift;
66 my $stripped = $filename;
69 return $stripped if $stripped ne $filename;
72 return $filename;
77 my $filename = shift;
78 return $filename if -f $filename;
81 my $path = "$i/$filename";
/openbmc/openbmc/meta-ampere/meta-common/recipes-ampere/host/ac01-boot-progress/
H A Ddimm_train_fail_log.sh159 filename="${path[0]}"
160 if [ ! -f "$filename" ];
162 echo "Error: $filename not found"
166 cat "$filename" > /dev/null 2>&1
175 filename="${path[0]}"
176 if [ ! -f "$filename" ];
178 echo "Error: $filename not found"
182 line=$(cat "$filename")
/openbmc/u-boot/cmd/
H A Djffs2.c475 char *filename; in do_jffs2_fsload() local
481 filename = env_get("bootfile"); in do_jffs2_fsload()
482 if (!filename) in do_jffs2_fsload()
483 filename = "uImage"; in do_jffs2_fsload()
486 filename = argv[1]; in do_jffs2_fsload()
491 filename = argv[2]; in do_jffs2_fsload()
505 size = cramfs_load ((char *) offset, part, filename); in do_jffs2_fsload()
536 char *filename = "/"; in do_jffs2_ls() local
541 filename = argv[1]; in do_jffs2_ls()
551 ret = cramfs_ls (part, filename); in do_jffs2_ls()
[all …]
/openbmc/linux/tools/testing/selftests/mount/
H A Dnosymfollow-test.c40 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, in vmaybe_write_file() argument
55 fd = open(filename, O_WRONLY); in vmaybe_write_file()
59 die("open of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file()
65 die("short write to %s\n", filename); in vmaybe_write_file()
68 filename, strerror(errno)); in vmaybe_write_file()
73 die("close of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file()
76 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() argument
81 vmaybe_write_file(true, filename, fmt, ap); in maybe_write_file()
85 static void write_file(char *filename, char *fmt, ...) in write_file() argument
90 vmaybe_write_file(false, filename, fmt, ap); in write_file()

12345678910>>...58