Lines Matching refs:rpnt
603 static char *get_symlink_chunk(char *rpnt, struct rock_ridge *rr, char *plimit) in get_symlink_chunk() argument
615 if (slp->len > plimit - rpnt) in get_symlink_chunk()
617 memcpy(rpnt, slp->text, slp->len); in get_symlink_chunk()
618 rpnt += slp->len; in get_symlink_chunk()
621 if (rpnt >= plimit) in get_symlink_chunk()
623 *rpnt++ = '.'; in get_symlink_chunk()
626 if (2 > plimit - rpnt) in get_symlink_chunk()
628 *rpnt++ = '.'; in get_symlink_chunk()
629 *rpnt++ = '.'; in get_symlink_chunk()
632 if (rpnt >= plimit) in get_symlink_chunk()
635 *rpnt++ = '/'; in get_symlink_chunk()
652 if (rpnt >= plimit) in get_symlink_chunk()
654 *rpnt++ = '/'; in get_symlink_chunk()
663 if (rpnt >= plimit) in get_symlink_chunk()
665 *rpnt++ = '/'; in get_symlink_chunk()
668 return rpnt; in get_symlink_chunk()
701 char *rpnt = link; in rock_ridge_symlink_readpage() local
760 rpnt = get_symlink_chunk(rpnt, rr, in rock_ridge_symlink_readpage()
762 if (rpnt == NULL) in rock_ridge_symlink_readpage()
780 if (rpnt == link) in rock_ridge_symlink_readpage()
783 *rpnt = '\0'; in rock_ridge_symlink_readpage()