Home
last modified time | relevance | path

Searched refs:XFS_SYMLINK_MAXLEN (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/fs/xfs/scrub/
Dsymlink.c32 sc->buf = kvzalloc(XFS_SYMLINK_MAXLEN + 1, XCHK_GFP_FLAGS); in xchk_setup_symlink()
68 if (len > XFS_SYMLINK_MAXLEN || len <= 0) { in xchk_symlink()
85 if (strnlen(sc->buf, XFS_SYMLINK_MAXLEN) < len) in xchk_symlink()
Dsymlink_repair.c79 blocks = xfs_symlink_blocks(sc->mp, XFS_SYMLINK_MAXLEN); in xrep_setup_symlink()
113 len = min_t(loff_t, ip->i_disk_size, XFS_SYMLINK_MAXLEN); in xrep_symlink_salvage_remote()
186 nr = min(XFS_SYMLINK_MAXLEN, xfs_inode_data_fork_size(ip)); in xrep_symlink_salvage_inline()
399 if (target_len == 0 || target_len > XFS_SYMLINK_MAXLEN) in xrep_symlink_rebuild()
Dinode_repair.c652 if (size > XFS_SYMLINK_MAXLEN) in xrep_dinode_size()
653 dip->di_size = cpu_to_be64(XFS_SYMLINK_MAXLEN); in xrep_dinode_size()
Dinode.c507 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode()
/linux-6.12.1/fs/xfs/
Dxfs_symlink.c53 if (pathlen < 0 || pathlen > XFS_SYMLINK_MAXLEN) { in xfs_readlink()
124 if (pathlen >= XFS_SYMLINK_MAXLEN) /* total string too long */ in xfs_symlink()
340 if (pathlen <= 0 || pathlen > XFS_SYMLINK_MAXLEN) { in xfs_inactive_symlink()
Dxfs_iops.c520 link = kmalloc(XFS_SYMLINK_MAXLEN+1, GFP_KERNEL); in xfs_vn_get_link()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_symlink_remote.c104 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()
Dxfs_trans_resv.c810 xfs_calc_buf_res(1, XFS_SYMLINK_MAXLEN); in xfs_calc_symlink_reservation()
Dxfs_format.h1354 #define XFS_SYMLINK_MAXLEN 1024 macro