Searched refs:XFS_SYMLINK_MAXLEN (Results 1 – 7 of 7) sorted by relevance
24 sc->buf = kvzalloc(XFS_SYMLINK_MAXLEN + 1, GFP_KERNEL); in xchk_setup_symlink()48 if (len > XFS_SYMLINK_MAXLEN || len <= 0) { in xchk_symlink()65 if (strnlen(sc->buf, XFS_SYMLINK_MAXLEN) < len) in xchk_symlink()
359 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode()
101 be32_to_cpu(dsl->sl_bytes) >= XFS_SYMLINK_MAXLEN) in xfs_symlink_verify()222 if (size < 0 || size > XFS_SYMLINK_MAXLEN) in xfs_symlink_shortform_verify()
611 xfs_calc_buf_res(1, XFS_SYMLINK_MAXLEN); in xfs_calc_symlink_reservation()
1355 #define XFS_SYMLINK_MAXLEN 1024 macro
118 if (pathlen < 0 || pathlen > XFS_SYMLINK_MAXLEN) { in xfs_readlink()187 if (pathlen >= XFS_SYMLINK_MAXLEN) /* total string too long */ in xfs_symlink()491 if (pathlen <= 0 || pathlen > XFS_SYMLINK_MAXLEN) { in xfs_inactive_symlink()
497 link = kmalloc(XFS_SYMLINK_MAXLEN+1, GFP_KERNEL); in xfs_vn_get_link()