Searched refs:sub_len (Results 1 – 3 of 3) sorted by relevance
108 uint64_t sub_len; in xbitmap_disunion() local149 sub_len = sub_br->len; in xbitmap_disunion()151 sub_len -= br->start - sub_br->start; in xbitmap_disunion()154 if (sub_len > br->len) in xbitmap_disunion()155 sub_len = br->len; in xbitmap_disunion()160 if (sub_start + sub_len == br->start + br->len) in xbitmap_disunion()165 br->start += sub_len; in xbitmap_disunion()166 br->len -= sub_len; in xbitmap_disunion()170 br->len -= sub_len; in xbitmap_disunion()191 new_br->start = sub_start + sub_len; in xbitmap_disunion()
2994 unsigned int sub_len; in parse_reparse_symlink() local3000 sub_len = le16_to_cpu(symlink_buf->SubstituteNameLength); in parse_reparse_symlink()3002 sub_offset + sub_len + 20 > plen) { in parse_reparse_symlink()3009 sub_len, true, cifs_sb->local_nls); in parse_reparse_symlink()3071 unsigned int sub_len; in smb2_query_symlink() local3208 sub_len = le16_to_cpu(symlink->SubstituteNameLength); in smb2_query_symlink()3213 if (err_iov.iov_len < SMB2_SYMLINK_STRUCT_SIZE + sub_offset + sub_len) { in smb2_query_symlink()3226 sub_len, true, cifs_sb->local_nls); in smb2_query_symlink()
3140 unsigned int sub_len; in CIFSSMBQuerySymLink() local3209 sub_len = le16_to_cpu(reparse_buf->ReparseDataLength); in CIFSSMBQuerySymLink()3210 if (posix_buf->PathBuffer + sub_len > end_of_smb) { in CIFSSMBQuerySymLink()3216 sub_len, is_unicode, nls_codepage); in CIFSSMBQuerySymLink()3227 sub_len = le16_to_cpu(reparse_buf->SubstituteNameLength); in CIFSSMBQuerySymLink()3228 if (sub_start + sub_len > end_of_smb) { in CIFSSMBQuerySymLink()3239 *symlinkinfo = cifs_strndup_from_utf16(sub_start, sub_len, is_unicode, in CIFSSMBQuerySymLink()