Home
last modified time | relevance | path

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

/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0004-linux-user-Rewrite-target_shmat.patch43 + size_t t_len, h_len, m_len;
100 + t_len = TARGET_PAGE_ALIGN(shm_info.shm_segsz);
102 + m_len = MAX(t_len, h_len);
139 + if (t_len < h_len &&
140 + !page_check_range_empty(shmaddr + t_len,
164 + if (h_len != t_len) {
/openbmc/linux/drivers/memstick/core/
H A 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()
/openbmc/openbmc/poky/scripts/
H A Doe-build-perf-test104 (t_ind, t_len), (s_ind, s_len) = gr_map[test.name]
106 values[t_ind:t_ind + t_len] = test.times
/openbmc/linux/drivers/of/
H A 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()
H A 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()
/openbmc/qemu/linux-user/
H A Dmmap.c1298 size_t t_len, h_len, m_len; in target_shmat() local
1354 t_len = TARGET_PAGE_ALIGN(shm_info.shm_segsz); in target_shmat()
1356 m_len = MAX(t_len, h_len); in target_shmat()
1380 if (t_len < h_len && in target_shmat()
1381 !page_check_range_empty(shmaddr + t_len, in target_shmat()
1399 if (h_len != t_len) { in target_shmat()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dusb.c42 u8 t_len = 1; in rtw_usb_reg_sec() local
59 t_reg, 0, data, t_len, 500); in rtw_usb_reg_sec()
61 if (status != t_len && status != -ENODEV) in rtw_usb_reg_sec()
63 __func__, t_reg, t_len, status); in rtw_usb_reg_sec()
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A 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()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1671 int len, t_len, offt; in bnxt_qplib_put_inline() local
1679 t_len = 0; in bnxt_qplib_put_inline()
1683 t_len += len; in bnxt_qplib_put_inline()
1684 if (t_len > qp->max_inline_data) in bnxt_qplib_put_inline()
1708 return t_len; in bnxt_qplib_put_inline()
/openbmc/linux/net/bridge/
H A Dbr_multicast.c4953 unsigned int t_len; in br_mcast_stats_add() local
4958 t_len = ntohs(ip_hdr(skb)->tot_len) - ip_hdrlen(skb); in br_mcast_stats_add()
4970 if (t_len != sizeof(struct igmphdr)) { in br_mcast_stats_add()
4993 t_len = ntohs(ipv6_hdr(skb)->payload_len) + in br_mcast_stats_add()
4995 t_len -= skb_network_header_len(skb); in br_mcast_stats_add()
5004 if (t_len != sizeof(struct mld_msg)) in br_mcast_stats_add()