Lines Matching refs:rpnt
572 static char *get_symlink_chunk(char *rpnt, struct rock_ridge *rr, char *plimit) in get_symlink_chunk() argument
584 if (slp->len > plimit - rpnt) in get_symlink_chunk()
586 memcpy(rpnt, slp->text, slp->len); in get_symlink_chunk()
587 rpnt += slp->len; in get_symlink_chunk()
590 if (rpnt >= plimit) in get_symlink_chunk()
592 *rpnt++ = '.'; in get_symlink_chunk()
595 if (2 > plimit - rpnt) in get_symlink_chunk()
597 *rpnt++ = '.'; in get_symlink_chunk()
598 *rpnt++ = '.'; in get_symlink_chunk()
601 if (rpnt >= plimit) in get_symlink_chunk()
604 *rpnt++ = '/'; in get_symlink_chunk()
621 if (rpnt >= plimit) in get_symlink_chunk()
623 *rpnt++ = '/'; in get_symlink_chunk()
632 if (rpnt >= plimit) in get_symlink_chunk()
634 *rpnt++ = '/'; in get_symlink_chunk()
637 return rpnt; in get_symlink_chunk()
667 char *rpnt = link; in rock_ridge_symlink_readpage() local
727 rpnt = get_symlink_chunk(rpnt, rr, in rock_ridge_symlink_readpage()
729 if (rpnt == NULL) in rock_ridge_symlink_readpage()
747 if (rpnt == link) in rock_ridge_symlink_readpage()
750 *rpnt = '\0'; in rock_ridge_symlink_readpage()