Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DMemoryTagManagerAArch64MTE.cpp261 size_t aligned_len = len; in UnpackTagsFromCoreFileSegment() local
267 aligned_len += granule; in UnpackTagsFromCoreFileSegment()
272 if (aligned_len % two_granules) { in UnpackTagsFromCoreFileSegment()
273 assert(aligned_len % two_granules == granule); in UnpackTagsFromCoreFileSegment()
274 aligned_len += granule; in UnpackTagsFromCoreFileSegment()
288 const size_t tag_bytes_to_read = aligned_len / granule / 2; in UnpackTagsFromCoreFileSegment()
/freebsd/sys/dev/iser/
H A Diser_memory.c226 int err, aligned_len; in iser_reg_rdma_mem() local
228 aligned_len = iser_data_buf_aligned_len(mem, ibdev); in iser_reg_rdma_mem()
229 if (aligned_len != mem->dma_nents) { in iser_reg_rdma_mem()
/freebsd/sys/dev/cxgb/
H A Dcxgb_main.c2422 u32 aligned_offset, aligned_len, *p; in set_eeprom() local
2427 aligned_len = (len + (offset & 3) + 3) & ~3; in set_eeprom()
2429 if (aligned_offset != offset || aligned_len != len) { in set_eeprom()
2430 buf = malloc(aligned_len, M_DEVBUF, M_WAITOK | M_ZERO); in set_eeprom()
2432 if (!err && aligned_len > 4) in set_eeprom()
2434 aligned_offset + aligned_len - 4, in set_eeprom()
2435 (u32 *)&buf[aligned_len - 4]); in set_eeprom()
2446 for (p = (u32 *)buf; !err && aligned_len; aligned_len -= 4, p++) { in set_eeprom()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dwmi.c1794 size_t p2p_ie_len, aligned_len; in ath11k_wmi_p2p_go_bcn_ie() local
1800 aligned_len = roundup(p2p_ie_len, 4); in ath11k_wmi_p2p_go_bcn_ie()
1802 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_p2p_go_bcn_ie()
1816 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_p2p_go_bcn_ie()
1843 size_t aligned_len = roundup(bcn->len, 4); in ath11k_wmi_bcn_tmpl() local
1854 len = sizeof(*cmd) + sizeof(*bcn_prb_info) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_bcn_tmpl()
1897 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_bcn_tmpl()
4089 size_t aligned_len; in ath11k_wmi_fils_discovery_tmpl() local
4092 aligned_len = roundup(tmpl->len, 4); in ath11k_wmi_fils_discovery_tmpl()
4093 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_fils_discovery_tmpl()
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dwmi.c1762 size_t aligned_len = roundup(bcn->len, 4); in ath12k_wmi_bcn_tmpl() local
1764 len = sizeof(*cmd) + sizeof(*bcn_prb_info) + TLV_HDR_SIZE + aligned_len; in ath12k_wmi_bcn_tmpl()
1799 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, aligned_len); in ath12k_wmi_bcn_tmpl()
3197 size_t aligned_len; in ath12k_wmi_fils_discovery_tmpl() local
3200 aligned_len = roundup(tmpl->len, 4); in ath12k_wmi_fils_discovery_tmpl()
3201 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath12k_wmi_fils_discovery_tmpl()
3218 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, aligned_len); in ath12k_wmi_fils_discovery_tmpl()
3244 size_t aligned_len = roundup(tmpl->len, 4); in ath12k_wmi_probe_resp_tmpl() local
3249 len = sizeof(*cmd) + sizeof(*probe_info) + TLV_HDR_SIZE + aligned_len; in ath12k_wmi_probe_resp_tmpl()
3281 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, aligned_len); in ath12k_wmi_probe_resp_tmpl()