Searched refs:aligned_len (Results 1 – 7 of 7) sorted by relevance
| /freebsd/lib/libsysdecode/ |
| H A D | netlink.c | 82 size_t aligned_len = NLMSG_ALIGN(nl->nlmsg_len); in sysdecode_netlink() local 83 if (aligned_len > remaining) in sysdecode_netlink() 86 remaining -= aligned_len; in sysdecode_netlink() 88 nl = (const struct nlmsghdr *)(const void *)((const char *)nl + aligned_len); in sysdecode_netlink()
|
| /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/contrib/dev/athk/ath12k/ |
| H A D | testmode.c | 214 size_t aligned_len; in ath12k_tm_cmd_process_ftm() local 253 aligned_len = chunk_len + sizeof(struct ath12k_wmi_ftm_seg_hdr_params); in ath12k_tm_cmd_process_ftm() 254 ftm_cmd->tlv_header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, aligned_len); in ath12k_tm_cmd_process_ftm()
|
| H A D | wmi.c | 1930 size_t p2p_ie_len, aligned_len; in ath12k_wmi_p2p_go_bcn_ie() local 1941 aligned_len = roundup(p2p_ie_len, sizeof(u32)); in ath12k_wmi_p2p_go_bcn_ie() 1943 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath12k_wmi_p2p_go_bcn_ie() 1959 aligned_len); in ath12k_wmi_p2p_go_bcn_ie() 1989 size_t aligned_len = roundup(bcn->len, 4); in ath12k_wmi_bcn_tmpl() local 1999 len = sizeof(*cmd) + sizeof(*bcn_prb_info) + TLV_HDR_SIZE + aligned_len; in ath12k_wmi_bcn_tmpl() 2055 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, aligned_len); in ath12k_wmi_bcn_tmpl() 3940 size_t aligned_len; in ath12k_wmi_fils_discovery_tmpl() local 3943 aligned_len = roundup(tmpl->len, 4); in ath12k_wmi_fils_discovery_tmpl() 3944 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath12k_wmi_fils_discovery_tmpl() [all …]
|
| /freebsd/sys/dev/cxgb/ |
| H A D | cxgb_main.c | 2422 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 D | wmi.c | 1806 size_t p2p_ie_len, aligned_len; in ath11k_wmi_p2p_go_bcn_ie() local 1812 aligned_len = roundup(p2p_ie_len, 4); in ath11k_wmi_p2p_go_bcn_ie() 1814 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_p2p_go_bcn_ie() 1828 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_p2p_go_bcn_ie() 1855 size_t aligned_len = roundup(bcn->len, 4); in ath11k_wmi_bcn_tmpl() local 1866 len = sizeof(*cmd) + sizeof(*bcn_prb_info) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_bcn_tmpl() 1909 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_bcn_tmpl() 4109 size_t aligned_len; in ath11k_wmi_fils_discovery_tmpl() local 4112 aligned_len = roundup(tmpl->len, 4); in ath11k_wmi_fils_discovery_tmpl() 4113 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_fils_discovery_tmpl() [all …]
|