Lines Matching defs:to
15 * may be used to endorse or promote products derived from this
73 * returns mapped location to choosen area
74 * mapped_ptr is pointer to whole area mapped (it can be bigger then requested)
114 D(ERR, "unable to map header:%s\n", strerror(errno));
126 D(ERR, "unable to map entries");
135 D(ERR, "unable to map backup gpt header");
143 D(ERR, "unable to map secondary gpt table");
170 D(ERR, "unable to map header: %s", strerror(errno));
202 D(ERR, "unable to open file %s:%s\n", path, strerror(errno));
210 D(WARN, "unable to get sector size, assuming 512");
231 D(ERR, "unable to open file %s:%s\n", path, strerror(errno));
239 D(WARN, "unable to get sector size %s, assuming 512", strerror(errno));
328 D(ERR, "Unable to find empty partion entry");
341 D(WARN, "Name or guid needed to find entry");
436 D(WARN, "Unable to force kernel to refresh partition table");
440 void GPT_to_UTF16(uint16_t *to, const char *from, int n)
443 for (i = 0; i < (n - 1) && (to[i] = from[i]) != '\0'; ++i);
444 to[i] = '\0';
447 void GPT_from_UTF16(char *to, const uint16_t *from, int n)
450 for (i = 0; i < (n - 1) && (to[i] = from[i] & 127) != '\0'; ++i);
451 to[i] = '\0';
461 D(WARN, "Start address have to be less than end address");