Searched refs:sub_len (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/fs/xfs/scrub/ |
| D | bitmap.c | 108 uint64_t sub_len; in xfs_bitmap_disunion() local 149 sub_len = sub_br->len; in xfs_bitmap_disunion() 151 sub_len -= br->start - sub_br->start; in xfs_bitmap_disunion() 154 if (sub_len > br->len) in xfs_bitmap_disunion() 155 sub_len = br->len; in xfs_bitmap_disunion() 160 if (sub_start + sub_len == br->start + br->len) in xfs_bitmap_disunion() 165 br->start += sub_len; in xfs_bitmap_disunion() 166 br->len -= sub_len; in xfs_bitmap_disunion() 170 br->len -= sub_len; in xfs_bitmap_disunion() 191 new_br->start = sub_start + sub_len; in xfs_bitmap_disunion()
|
| /Linux-v5.4/drivers/infiniband/hw/qib/ |
| D | qib_twsi.c | 437 int sub_len; in qib_twsi_blk_wr() local 461 sub_len = min(len, 4); in qib_twsi_blk_wr() 462 addr += sub_len; in qib_twsi_blk_wr() 463 len -= sub_len; in qib_twsi_blk_wr() 465 for (i = 0; i < sub_len; i++) in qib_twsi_blk_wr()
|
| /Linux-v5.4/drivers/target/iscsi/ |
| D | iscsi_target_util.c | 1138 u32 sub_len = min_t(u32, data_len, space); in iscsit_fe_sendpage_sg() local 1141 sg_page(sg), sg->offset + offset, sub_len, 0); in iscsit_fe_sendpage_sg() 1142 if (tx_sent != sub_len) { in iscsit_fe_sendpage_sg() 1154 data_len -= sub_len; in iscsit_fe_sendpage_sg()
|
| /Linux-v5.4/fs/cifs/ |
| D | smb2ops.c | 2503 unsigned int sub_len; in parse_reparse_symlink() local 2509 sub_len = le16_to_cpu(symlink_buf->SubstituteNameLength); in parse_reparse_symlink() 2511 sub_offset + sub_len + 20 > plen) { in parse_reparse_symlink() 2518 sub_len, true, cifs_sb->local_nls); in parse_reparse_symlink() 2579 unsigned int sub_len; in smb2_query_symlink() local 2715 sub_len = le16_to_cpu(symlink->SubstituteNameLength); in smb2_query_symlink() 2720 if (err_iov.iov_len < SMB2_SYMLINK_STRUCT_SIZE + sub_offset + sub_len) { in smb2_query_symlink() 2733 sub_len, true, cifs_sb->local_nls); in smb2_query_symlink()
|
| D | cifssmb.c | 3321 unsigned int sub_len; in CIFSSMBQuerySymLink() local 3390 sub_len = le16_to_cpu(reparse_buf->ReparseDataLength); in CIFSSMBQuerySymLink() 3391 if (posix_buf->PathBuffer + sub_len > end_of_smb) { in CIFSSMBQuerySymLink() 3397 sub_len, is_unicode, nls_codepage); in CIFSSMBQuerySymLink() 3408 sub_len = le16_to_cpu(reparse_buf->SubstituteNameLength); in CIFSSMBQuerySymLink() 3409 if (sub_start + sub_len > end_of_smb) { in CIFSSMBQuerySymLink() 3420 *symlinkinfo = cifs_strndup_from_utf16(sub_start, sub_len, is_unicode, in CIFSSMBQuerySymLink()
|