Searched refs:sub_len (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/fs/xfs/scrub/ |
D | bitmap.c | 108 uint64_t sub_len; in xbitmap_disunion() local 149 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()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_twsi.c | 438 int sub_len; in qib_twsi_blk_wr() local 462 sub_len = min(len, 4); in qib_twsi_blk_wr() 463 addr += sub_len; in qib_twsi_blk_wr() 464 len -= sub_len; in qib_twsi_blk_wr() 466 for (i = 0; i < sub_len; i++) in qib_twsi_blk_wr()
|
/linux-6.1.9/fs/cifs/ |
D | smb2file.c | 68 unsigned int sub_offs, sub_len; in smb2_parse_symlink_response() local 79 sub_len = le16_to_cpu(sym->SubstituteNameLength); in smb2_parse_symlink_response() 84 if (iov->iov_len < SMB2_SYMLINK_STRUCT_SIZE + sub_offs + sub_len || in smb2_parse_symlink_response() 88 s = cifs_strndup_from_utf16((char *)sym->PathBuffer + sub_offs, sub_len, true, in smb2_parse_symlink_response()
|
D | cifssmb.c | 2748 unsigned int sub_len; in CIFSSMBQuerySymLink() local 2817 sub_len = le16_to_cpu(reparse_buf->ReparseDataLength); in CIFSSMBQuerySymLink() 2818 if (posix_buf->PathBuffer + sub_len > end_of_smb) { in CIFSSMBQuerySymLink() 2824 sub_len, is_unicode, nls_codepage); in CIFSSMBQuerySymLink() 2835 sub_len = le16_to_cpu(reparse_buf->SubstituteNameLength); in CIFSSMBQuerySymLink() 2836 if (sub_start + sub_len > end_of_smb) { in CIFSSMBQuerySymLink() 2847 *symlinkinfo = cifs_strndup_from_utf16(sub_start, sub_len, is_unicode, in CIFSSMBQuerySymLink()
|
D | smb2ops.c | 2814 unsigned int sub_len; in parse_reparse_symlink() local 2820 sub_len = le16_to_cpu(symlink_buf->SubstituteNameLength); in parse_reparse_symlink() 2822 sub_offset + sub_len + 20 > plen) { in parse_reparse_symlink() 2829 sub_len, true, cifs_sb->local_nls); in parse_reparse_symlink()
|
/linux-6.1.9/drivers/target/iscsi/ |
D | iscsi_target_util.c | 1122 u32 sub_len = min_t(u32, data_len, space); in iscsit_fe_sendpage_sg() local 1125 sg_page(sg), sg->offset + offset, sub_len, 0); in iscsit_fe_sendpage_sg() 1126 if (tx_sent != sub_len) { in iscsit_fe_sendpage_sg() 1138 data_len -= sub_len; in iscsit_fe_sendpage_sg()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 390 mt7915_mcu_add_nested_subtlv(struct sk_buff *skb, int sub_tag, int sub_len, in mt7915_mcu_add_nested_subtlv() argument 395 .len = cpu_to_le16(sub_len), in mt7915_mcu_add_nested_subtlv() 398 ptlv = skb_put(skb, sub_len); in mt7915_mcu_add_nested_subtlv() 402 le16_add_cpu(len, sub_len); in mt7915_mcu_add_nested_subtlv()
|