Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 9 of 9) sorted by relevance

/qemu/tests/qtest/
H A Di440fx-test.c293 char *pathname; in create_blob_file() local
297 fd = g_file_open_tmp("blob_XXXXXX", &pathname, &error); in create_blob_file()
305 g_file_set_contents(pathname, (char *)buf, BLOB_SIZE, &error); in create_blob_file()
308 return pathname; in create_blob_file()
/qemu/include/qemu/
H A Dpath.h5 const char *path(const char *pathname);
/qemu/scripts/qapi/
H A Dgen.py78 pathname = os.path.join(output_dir, self.fname)
79 odir = os.path.dirname(pathname)
85 fd = os.open(pathname, os.O_RDWR | os.O_CREAT, 0o666)
/qemu/linux-user/
H A Dqemu.h165 int do_guest_openat(CPUArchState *cpu_env, int dirfd, const char *pathname,
167 ssize_t do_guest_readlink(const char *pathname, char *buf, size_t bufsiz);
H A Dsyscall.c7835 name = lock_user_string(pathname); in do_name_to_handle_at()
7843 unlock_user(name, pathname, 0); in do_name_to_handle_at()
7851 unlock_user(name, pathname, 0); in do_name_to_handle_at()
8334 const char *pathname; in do_guest_openat() local
8362 pathname = proc_name; in do_guest_openat()
8364 pathname = fname; in do_guest_openat()
8367 if (is_proc_myself(pathname, "exe")) { in do_guest_openat()
8425 if (!pathname || !buf) { in do_guest_readlink()
8445 ret = readlink(path(pathname), buf, bufsiz); in do_guest_readlink()
8527 p = lock_user_string(pathname); in do_execv()
[all …]
/qemu/qga/
H A Dcommands-posix.c2204 static void ga_read_sysfs_file(int dirfd, const char *pathname, char *buf, in ga_read_sysfs_file() argument
2211 fd = openat(dirfd, pathname, O_RDONLY); in ga_read_sysfs_file()
2213 error_setg_errno(errp, errno, "open sysfs file \"%s\"", pathname); in ga_read_sysfs_file()
2219 error_setg_errno(errp, errno, "pread sysfs file \"%s\"", pathname); in ga_read_sysfs_file()
2221 error_setg(errp, "pread sysfs file \"%s\": unexpected EOF", pathname); in ga_read_sysfs_file()
2226 static void ga_write_sysfs_file(int dirfd, const char *pathname, in ga_write_sysfs_file() argument
2232 fd = openat(dirfd, pathname, O_WRONLY); in ga_write_sysfs_file()
2234 error_setg_errno(errp, errno, "open sysfs file \"%s\"", pathname); in ga_write_sysfs_file()
2239 error_setg_errno(errp, errno, "pwrite sysfs file \"%s\"", pathname); in ga_write_sysfs_file()
/qemu/fsdev/
H A Dvirtfs-proxy-helper.c353 static int open_regular(const char *pathname, int flags, mode_t mode) in open_regular() argument
357 fd = open(pathname, flags, mode); in open_regular()
/qemu/docs/interop/
H A Dfirmware.json380 # locations, then sort the list by filename (i.e., last pathname
/qemu/qapi/
H A Dblock-core.json1816 # This filename is not validated. If a pathname string is such
2822 # If a pathname string is such that it cannot be resolved by QEMU,