Home
last modified time | relevance | path

Searched refs:sub_len (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_twsi.c438 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.12.1/fs/smb/client/
Dsmb2file.c69 unsigned int sub_offs, sub_len; in smb2_parse_symlink_response() local
80 sub_len = le16_to_cpu(sym->SubstituteNameLength); in smb2_parse_symlink_response()
85 if (iov->iov_len < SMB2_SYMLINK_STRUCT_SIZE + sub_offs + sub_len || in smb2_parse_symlink_response()
89 s = cifs_strndup_from_utf16((char *)sym->PathBuffer + sub_offs, sub_len, true, in smb2_parse_symlink_response()
/linux-6.12.1/drivers/target/iscsi/
Discsi_target_util.c1175 u32 sub_len = min_t(u32, data_len, space); in iscsit_fe_sendpage_sg() local
1177 bvec_set_page(&bvec, sg_page(sg), sub_len, sg->offset + offset); in iscsit_fe_sendpage_sg()
1178 iov_iter_bvec(&msghdr.msg_iter, ITER_SOURCE, &bvec, 1, sub_len); in iscsit_fe_sendpage_sg()
1181 sub_len); in iscsit_fe_sendpage_sg()
1182 if (tx_sent != sub_len) { in iscsit_fe_sendpage_sg()
1192 data_len -= sub_len; in iscsit_fe_sendpage_sg()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c423 mt7915_mcu_add_nested_subtlv(struct sk_buff *skb, int sub_tag, int sub_len, in mt7915_mcu_add_nested_subtlv() argument
428 .len = cpu_to_le16(sub_len), in mt7915_mcu_add_nested_subtlv()
431 ptlv = skb_put_zero(skb, sub_len); in mt7915_mcu_add_nested_subtlv()
435 le16_add_cpu(len, sub_len); in mt7915_mcu_add_nested_subtlv()
/linux-6.12.1/drivers/net/ethernet/freescale/
Dfec_main.c1701 u32 sub_len = 4; in fec_enet_rx_queue() local
1709 sub_len += 2; in fec_enet_rx_queue()
1780 data_start, pkt_len - sub_len, false); in fec_enet_rx_queue()
1801 skb_put(skb, pkt_len - sub_len); in fec_enet_rx_queue()