Lines Matching refs:rpnt
599 static char *get_symlink_chunk(char *rpnt, struct rock_ridge *rr, char *plimit) in get_symlink_chunk() argument
611 if (slp->len > plimit - rpnt) in get_symlink_chunk()
613 memcpy(rpnt, slp->text, slp->len); in get_symlink_chunk()
614 rpnt += slp->len; in get_symlink_chunk()
617 if (rpnt >= plimit) in get_symlink_chunk()
619 *rpnt++ = '.'; in get_symlink_chunk()
622 if (2 > plimit - rpnt) in get_symlink_chunk()
624 *rpnt++ = '.'; in get_symlink_chunk()
625 *rpnt++ = '.'; in get_symlink_chunk()
628 if (rpnt >= plimit) in get_symlink_chunk()
631 *rpnt++ = '/'; in get_symlink_chunk()
648 if (rpnt >= plimit) in get_symlink_chunk()
650 *rpnt++ = '/'; in get_symlink_chunk()
659 if (rpnt >= plimit) in get_symlink_chunk()
661 *rpnt++ = '/'; in get_symlink_chunk()
664 return rpnt; in get_symlink_chunk()
697 char *rpnt = link; in rock_ridge_symlink_read_folio() local
756 rpnt = get_symlink_chunk(rpnt, rr, in rock_ridge_symlink_read_folio()
758 if (rpnt == NULL) in rock_ridge_symlink_read_folio()
777 if (rpnt == link) in rock_ridge_symlink_read_folio()
780 *rpnt = '\0'; in rock_ridge_symlink_read_folio()