Home
last modified time | relevance | path

Searched refs:relpath (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/lib/libefivar/
H A Defivar-dp-xlate.c128 efi_hd_to_unix(struct gmesh *mesh, const_efidp dp, char **dev, char **relpath, char **abspath) in efi_hd_to_unix() argument
142 *relpath = NULL; in efi_hd_to_unix()
188 *relpath = efidp_extract_file_path(file); in efi_hd_to_unix()
189 if (*relpath == NULL) { in efi_hd_to_unix()
193 for (pwalk = *relpath; *pwalk; pwalk++) in efi_hd_to_unix()
289 asprintf(abspath, "/%s", *relpath); in efi_hd_to_unix()
291 asprintf(abspath, "%s/%s", mnt[i].f_mntonname, *relpath); in efi_hd_to_unix()
297 free(*relpath); in efi_hd_to_unix()
298 *relpath = NULL; in efi_hd_to_unix()
346 efivar_device_path_to_unix_path(const_efidp dp, char **dev, char **relpath, char **abspath) in efivar_device_path_to_unix_path() argument
[all …]
H A Defivar-dp.h66 int efivar_device_path_to_unix_path(const_efidp dp, char **dev, char **relpath, char **abspath);
/freebsd/tests/sys/fs/fusefs/
H A Dlink.cc42 void expect_link(uint64_t ino, const char *relpath, mode_t mode, uint32_t nlink) in expect_link() argument
50 (0 == strcmp(name, relpath))); in expect_link()
63 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() argument
65 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, 0, 1); in expect_lookup()
76 void expect_link(uint64_t ino, const char *relpath, mode_t mode, uint32_t nlink) in expect_link() argument
84 (0 == strcmp(name, relpath))); in expect_link()
97 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() argument
99 FuseTest::expect_lookup_7_8(relpath, ino, S_IFREG | 0644, 0, 1); in expect_lookup()
H A Drmdir.cc43 void expect_lookup(const char *relpath, uint64_t ino, int times=1) in expect_lookup() argument
45 EXPECT_LOOKUP(FUSE_ROOT_ID, relpath) in expect_lookup()
56 void expect_rmdir(uint64_t parent, const char *relpath, int error) in expect_rmdir() argument
61 0 == strcmp(relpath, in.body.rmdir) && in expect_rmdir()
H A Dmknod.cc71 void expect_mknod(uint64_t parent_ino, const char* relpath, uint64_t ino, in expect_mknod() argument
83 (0 == strcmp(relpath, name))); in expect_mknod()
108 void expect_lookup(const char *relpath, uint64_t ino, uint64_t size) in expect_lookup() argument
110 FuseTest::expect_lookup_7_8(relpath, ino, S_IFREG | 0644, size, 1); in expect_lookup()
114 void expect_mknod(uint64_t parent_ino, const char* relpath, uint64_t ino, in expect_mknod() argument
125 (0 == strcmp(relpath, name))); in expect_mknod()
H A Dsymlink.cc44 void expect_symlink(uint64_t ino, const char *target, const char *relpath) in expect_symlink() argument
52 (0 == strcmp(name, relpath))); in expect_symlink()
73 void expect_symlink(uint64_t ino, const char *target, const char *relpath) in expect_symlink() argument
81 (0 == strcmp(name, relpath))); in expect_symlink()
H A Dreleasedir.cc44 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() argument
46 FuseTest::expect_lookup(relpath, ino, S_IFDIR | 0755, 0, 1); in expect_lookup()
H A Dcreate.cc43 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) in expect_create() argument
55 (0 == strcmp(relpath, name))); in expect_create()
71 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) in expect_create() argument
79 (0 == strcmp(relpath, name))); in expect_create()
95 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) in expect_create() argument
103 (0 == strcmp(relpath, name))); in expect_create()
H A Ddefault_permissions_privileged.cc91 void expect_lookup(const char *relpath, uint64_t ino, mode_t mode, in expect_lookup() argument
94 FuseTest::expect_lookup(relpath, ino, mode, 0, 1, attr_valid, uid, gid); in expect_lookup()
H A Dfsyncdir.cc71 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() argument
73 FuseTest::expect_lookup(relpath, ino, S_IFDIR | 0755, 0, 1); in expect_lookup()
H A Dopendir.cc45 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() argument
47 FuseTest::expect_lookup(relpath, ino, S_IFDIR | 0755, 0, 1); in expect_lookup()
H A Dutils.hh160 void expect_lookup(const char *relpath, uint64_t ino, mode_t mode,
165 void expect_lookup_7_8(const char *relpath, uint64_t ino, mode_t mode,
H A Dreadlink.cc44 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() argument
46 FuseTest::expect_lookup(relpath, ino, S_IFLNK | 0777, 0, 1); in expect_lookup()
H A Dreaddir.cc44 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() argument
46 FuseTest::expect_lookup(relpath, ino, S_IFDIR | 0755, 0, 1); in expect_lookup()
57 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() argument
59 FuseTest::expect_lookup_7_8(relpath, ino, S_IFDIR | 0755, 0, 1); in expect_lookup()
H A Dcache.cc101 void expect_lookup(const char *relpath, uint64_t ino, in expect_lookup() argument
104 EXPECT_LOOKUP(FUSE_ROOT_ID, relpath) in expect_lookup()
H A Dflush.cc59 void expect_lookup(const char *relpath, uint64_t ino, int times) in expect_lookup() argument
61 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, 0, times); in expect_lookup()
H A Dunlink.cc41 void expect_lookup(const char *relpath, uint64_t ino, int times, int nlink=1)
43 EXPECT_LOOKUP(FUSE_ROOT_ID, relpath) in expect_lookup()
42 expect_lookup(const char * relpath,uint64_t ino,int times,int nlink=1) expect_lookup() argument
H A Drelease.cc44 void expect_lookup(const char *relpath, uint64_t ino, int times) in expect_lookup() argument
46 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, 0, times); in expect_lookup()
/freebsd/usr.sbin/efivar/
H A Defiutil.c121 char *dev, *relpath, *abspath; in efi_print_load_option() local
168 rv = efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath); in efi_print_load_option()
172 printf(" %*s:%s\n", len + (int)strlen(dev), dev, relpath); in efi_print_load_option()
174 free(relpath); in efi_print_load_option()
/freebsd/sys/contrib/libsodium/packaging/dotnet-core/
H A Dprepare.py77 os.path.relpath(self.cachefile, self.tempdir),
101 os.path.relpath(self.cachefile, self.tempdir),
161 os.path.relpath(self.cachefile, self.tempdir),
213 …'<Import Project="{0}" />'.format(os.path.relpath(version.propsfile, os.path.dirname(version.projf…
231 …io/recipes/{1} {2}\n'.format('microsoft/dotnet:2.0-sdk', 'pack', os.path.relpath(version.projfile,…
/freebsd/usr.sbin/efidp/
H A Defidp.c170 char *walker, *dev, *relpath, *abspath; in efi_to_unix() local
177 rv = efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath); in efi_to_unix()
179 printf("%s:%s %s\n", dev, relpath, abspath); in efi_to_unix()
/freebsd/usr.sbin/efibootmgr/
H A Defibootmgr.c747 char *dev, *relpath, *abspath; in print_loadopt_str() local
792 rv = efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath); in print_loadopt_str()
794 printf("%*s%s:%s %s\n", indent + 4, "", dev, relpath, abspath); in print_loadopt_str()
796 free(relpath); in print_loadopt_str()
1001 char *name, *dev, *relpath, *abspath; in report_esp_device() local
1041 if (efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath) != 0) in report_esp_device()
1046 dev, relpath); in report_esp_device()
1047 abspath[strlen(abspath) - strlen(relpath) - 1] = '\0'; in report_esp_device()
1053 free(relpath); in report_esp_device()
/freebsd/contrib/bc/scripts/
H A Dlocale_install.sh117 relpath() { function
294 rel=$(relpath "$linksrc" "$relloc")
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_store.c622 const char *relpath; in bhnd_nvram_store_export_child() local
636 relpath = bhnd_nvstore_parse_relpath(top->path_str, child->path_str); in bhnd_nvram_store_export_child()
637 if (relpath == NULL) { in bhnd_nvram_store_export_child()
641 relpath_len = strlen(relpath); in bhnd_nvram_store_export_child()
691 error = bhnd_nvstore_export_devpath_alias(sc, child, relpath, in bhnd_nvram_store_export_child()
709 len = bhnd_nv_asprintf(&prefix, "%s/", relpath); in bhnd_nvram_store_export_child()
/freebsd/crypto/openssl/doc/
H A Dbuild.info.in70 my $relpath = abs2rel($p, $sourcedir);
71 my $imagefile = abs2rel(catfile($buildtop, "doc", "$relpath"),

12