Lines Matching defs:ptr
464 uint64_t *ptr;
471 ptr = (uint64_t *)(&bblock->mboot->bss_end_addr);
472 *ptr = device->target.start;
859 char *path, *ptr;
890 ptr = strrchr(path, 'p');
891 ptr++;
892 *ptr = '\0';
893 (void) asprintf(&ptr, "%s%d", path, i+1); /* partitions are p1..p4 */
895 if (ptr == NULL) {
899 device->stage.path = ptr;
900 device->stage.fd = open_device(ptr);
914 char *path, *ptr;
922 ptr = strrchr(path, 's');
923 ptr++;
924 *ptr = '\0';
925 (void) asprintf(&ptr, "%s%d", path, i);
927 if (ptr == NULL) {
931 device->stage.path = ptr;
932 device->stage.fd = open_device(ptr);