Home
last modified time | relevance | path

Searched refs:t_len (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/memstick/core/
Dmspro_block.c670 unsigned int t_len = 0; in mspro_block_complete_req() local
685 t_len += msb->req_sg[cnt].length in mspro_block_complete_req()
689 t_len += msb->current_page - 1; in mspro_block_complete_req()
691 t_len *= msb->page_size; in mspro_block_complete_req()
695 t_len = blk_rq_bytes(msb->block_req); in mspro_block_complete_req()
697 dev_dbg(&card->dev, "transferred %x (%d)\n", t_len, error); in mspro_block_complete_req()
699 if (error && !t_len) in mspro_block_complete_req()
700 t_len = blk_rq_cur_bytes(msb->block_req); in mspro_block_complete_req()
703 errno_to_blk_status(error), t_len); in mspro_block_complete_req()
/linux-6.6.21/drivers/of/
Dof_reserved_mem.c138 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_alloc_size() local
178 if (len % t_len != 0) { in __reserved_mem_alloc_size()
199 len -= t_len; in __reserved_mem_alloc_size()
Dfdt.c503 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_reserve_reg() local
514 if (len && len % t_len != 0) { in __reserved_mem_reserve_reg()
522 while (len >= t_len) { in __reserved_mem_reserve_reg()
534 len -= t_len; in __reserved_mem_reserve_reg()
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/
Dwlan.c1269 int t_len = wilc->cfg_frame_offset + sizeof(struct wilc_cfg_cmd_hdr); in wilc_wlan_cfg_commit() local
1277 cfg->hdr.total_len = cpu_to_le16(t_len); in wilc_wlan_cfg_commit()
1281 if (!wilc_wlan_txq_add_cfg_pkt(vif, (u8 *)&cfg->hdr, t_len)) in wilc_wlan_cfg_commit()
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_cmd.c676 uint t_len = 0; in rtw_joinbss_cmd() local
697 t_len = sizeof(struct wlan_bssid_ex); in rtw_joinbss_cmd()
720 memset(psecnetwork, 0, t_len); in rtw_joinbss_cmd()
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1630 int len, t_len, offt; in bnxt_qplib_put_inline() local
1638 t_len = 0; in bnxt_qplib_put_inline()
1642 t_len += len; in bnxt_qplib_put_inline()
1643 if (t_len > qp->max_inline_data) in bnxt_qplib_put_inline()
1667 return t_len; in bnxt_qplib_put_inline()
/linux-6.6.21/net/bridge/
Dbr_multicast.c4955 unsigned int t_len; in br_mcast_stats_add() local
4960 t_len = ntohs(ip_hdr(skb)->tot_len) - ip_hdrlen(skb); in br_mcast_stats_add()
4972 if (t_len != sizeof(struct igmphdr)) { in br_mcast_stats_add()
4995 t_len = ntohs(ipv6_hdr(skb)->payload_len) + in br_mcast_stats_add()
4997 t_len -= skb_network_header_len(skb); in br_mcast_stats_add()
5006 if (t_len != sizeof(struct mld_msg)) in br_mcast_stats_add()