Searched refs:aligned_len (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | MemoryTagManagerAArch64MTE.cpp | 261 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 D | iser_memory.c | 226 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 D | cxgb_main.c | 2467 u32 aligned_offset, aligned_len, *p; in set_eeprom() local 2472 aligned_len = (len + (offset & 3) + 3) & ~3; in set_eeprom() 2474 if (aligned_offset != offset || aligned_len != len) { in set_eeprom() 2475 buf = malloc(aligned_len, M_DEVBUF, M_WAITOK | M_ZERO); in set_eeprom() 2477 if (!err && aligned_len > 4) in set_eeprom() 2479 aligned_offset + aligned_len - 4, in set_eeprom() 2480 (u32 *)&buf[aligned_len - 4]); in set_eeprom() 2491 for (p = (u32 *)buf; !err && aligned_len; aligned_len -= 4, p++) { in set_eeprom()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | wmi.c | 1762 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()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | wmi.c | 1799 size_t aligned_len = roundup(bcn->len, 4); in ath11k_wmi_bcn_tmpl() local 1810 len = sizeof(*cmd) + sizeof(*bcn_prb_info) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_bcn_tmpl() 1853 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_bcn_tmpl() 3980 size_t aligned_len; in ath11k_wmi_fils_discovery_tmpl() local 3983 aligned_len = roundup(tmpl->len, 4); in ath11k_wmi_fils_discovery_tmpl() 3984 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_fils_discovery_tmpl() 4003 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_fils_discovery_tmpl() 4033 size_t aligned_len = roundup(tmpl->len, 4); in ath11k_wmi_probe_resp_tmpl() local 4038 len = sizeof(*cmd) + sizeof(*probe_info) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_probe_resp_tmpl() 4072 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_probe_resp_tmpl()
|