Home
last modified time | relevance | path

Searched refs:abspath (Results 1 – 8 of 8) sorted by relevance

/dragonfly/lib/libefivar/
H A Defivar-dp-xlate.c118 efi_hd_to_unix(const_efidp dp, char **dev, char **relpath, char **abspath) in efi_hd_to_unix() argument
249 asprintf(abspath, "/%s", *relpath); in efi_hd_to_unix()
251 asprintf(abspath, "%s/%s", mnt[i].f_mntonname, *relpath); in efi_hd_to_unix()
306 efivar_device_path_to_unix_path(const_efidp dp, char **dev, char **relpath, char **abspath) in efivar_device_path_to_unix_path() argument
314 if (dp == NULL || dev == NULL || relpath == NULL || abspath == NULL) in efivar_device_path_to_unix_path()
319 *abspath = NULL; in efivar_device_path_to_unix_path()
351 rv = efi_hd_to_unix(walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
354 rv = efi_cdrom_to_unix(walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
356 rv = efi_floppy_to_unix(walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
358 rv = efi_zpool_to_unix(walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
H A Defivar-dp.h70 int efivar_device_path_to_unix_path(const_efidp dp, char **dev, char **relpath, char **abspath);
/dragonfly/usr.sbin/efibootmgr/
H A Defibootmgr.c735 char *dev, *relpath, *abspath; in print_loadopt_str() local
778 rv = efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath); in print_loadopt_str()
780 printf("%*s%s:%s %s\n", indent + 4, "", dev, relpath, abspath); in print_loadopt_str()
783 free(abspath); in print_loadopt_str()
987 char *name, *dev, *relpath, *abspath; in report_esp_device() local
1027 if (efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath) < 0) in report_esp_device()
1030 if (abspath == NULL) in report_esp_device()
1033 abspath[strlen(abspath) - strlen(relpath) - 1] = '\0'; in report_esp_device()
1034 printf("%s\n", abspath); in report_esp_device()
1040 free(abspath); in report_esp_device()
/dragonfly/usr.sbin/efivar/
H A Defiutil.c121 char *dev, *relpath, *abspath; in efi_print_load_option() local
165 rv = efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath); in efi_print_load_option()
172 free(abspath); in efi_print_load_option()
/dragonfly/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()
/dragonfly/contrib/bmake/mk/
H A Dmeta2deps.py135 def abspath(path, cwd, last_dir=None, debug=0, debug_out=sys.stderr): function
499 cwd = abspath(w[2], cwd, None, self.debug, self.debug_out)
601 dir = abspath(dir, cwd, self.last_dir, self.debug, self.debug_out)
/dragonfly/contrib/bmake/
H A Dmain.c1147 const char *abspath = cached_realpath(argv0, pathbuf); in InitVarMake() local
1149 if (abspath != NULL && abspath[0] == '/' && in InitVarMake()
1151 make = abspath; in InitVarMake()
/dragonfly/sbin/hammer2/
H A Dcmd_recover.c362 int abspath = 0; in cmd_recover() local
370 abspath = 1; in cmd_recover()
407 if (abspath && iscan->inum != 1) in cmd_recover()