Lines Matching full:dp
29 #include <efivar-dp.h>
139 efidp dp; in unix_to_efi() local
143 dp = NULL; in unix_to_efi()
146 free(dp); in unix_to_efi()
147 dp = NULL; in unix_to_efi()
148 rv = efivar_unix_path_to_device_path(walker, &dp); in unix_to_efi()
149 if (rv != 0 || dp == NULL) { in unix_to_efi()
155 dp, efidp_size(dp)) < 0) { in unix_to_efi()
156 warnx("Can't format dp for '%s'", walker); in unix_to_efi()
161 free(dp); in unix_to_efi()
169 efidp dp; in efi_to_unix() local
173 dp = (efidp)dpbuf; in efi_to_unix()
176 efidp_parse_device_path(walker, dp, sizeof(dpbuf)); in efi_to_unix()
177 rv = efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath); in efi_to_unix()
195 const_efidp dp; in format() local
200 dp = (const_efidp)data; in format()
202 dplen = efidp_size(dp); in format()
204 dp, dplen); in format()
208 dp = (const_efidp)((const char *)dp + dplen); in format()
217 efidp dp; in parse() local
222 dp = malloc(dplen); in parse()
223 if (dp == NULL) in parse()
227 dplen = efidp_parse_device_path(walker, dp, dplen); in parse()
230 write(STDOUT_FILENO, dp, dplen); in parse()
232 free(dp); in parse()