Home
last modified time | relevance | path

Searched refs:round_up (Results 1 – 20 of 20) sorted by relevance

/freebsd-14-stable/lib/libthr/thread/
HDthr_stack.c128 round_up(size_t size) in round_up() function
138 round_up(thrd->attr.guardsize_attr), in _thr_stack_fix_protection()
139 round_up(thrd->attr.stacksize_attr), in _thr_stack_fix_protection()
196 stacksize = round_up(attr->stacksize_attr); in _thr_stack_alloc()
197 guardsize = round_up(attr->guardsize_attr); in _thr_stack_alloc()
294 spare_stack->stacksize = round_up(attr->stacksize_attr); in _thr_stack_free()
295 spare_stack->guardsize = round_up(attr->guardsize_attr); in _thr_stack_free()
/freebsd-14-stable/sys/contrib/dev/mediatek/mt76/
HDsdio_txrx.c91 len += round_up(intr->rx.len[qid][i] + 4, 4); in mt76s_rx_run_queue()
129 round_up(len + 4, 4)); in mt76s_rx_run_queue()
137 buf += round_up(len + 4, 4); in mt76s_rx_run_queue()
HDmt76x02_usb_core.c56 info = FIELD_PREP(MT_TXD_INFO_LEN, round_up(skb->len, 4)) | in mt76x02u_skb_dma_info()
60 pad = round_up(skb->len, 4) + 4 - skb->len; in mt76x02u_skb_dma_info()
HDmt792x_usb.c55 len = round_up(len, 4); in mt792xu_copy()
HDusb.c172 len = round_up(len, 4); in mt76u_copy()
197 len = round_up(len, 4); in mt76u_read_copy()
HDsdio.c556 pad = round_up(skb->len, 4) - skb->len; in mt76s_tx_queue_skb_raw()
/freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/
HDmath.h44 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/freebsd-14-stable/sys/contrib/dev/mediatek/mt76/mt7615/
HDusb_sdio.c212 pad = round_up(skb->len, 4) + 4 - skb->len; in mt7663_usb_sdio_tx_prepare_skb()
214 pad = round_up(skb->len, 4) - skb->len; in mt7663_usb_sdio_tx_prepare_skb()
HDusb.c64 len = round_up(len, 4); in mt7663u_copy()
/freebsd-14-stable/sys/contrib/dev/mediatek/mt76/mt7921/
HDsdio_mcu.c42 pad = round_up(skb->len, 4) - skb->len; in mt7921s_mcu_send_message()
HDusb.c47 pad = round_up(skb->len, 4) + 4 - skb->len; in mt7921u_mcu_send_message()
HDmac.c813 pad = round_up(skb->len, 4) - skb->len; in mt7921_usb_sdio_tx_prepare_skb()
/freebsd-14-stable/sys/contrib/dev/athk/ath10k/
HDhtt_rx.c1432 len = round_up(len, 4); in ath10k_htt_rx_nwifi_hdrlen()
1517 (void *)hdr + round_up(hdr_len, bytes_aligned), in ath10k_htt_rx_h_undecap_raw()
1519 (u8 *)hdr + round_up(hdr_len, bytes_aligned), in ath10k_htt_rx_h_undecap_raw()
1651 (void *)hdr + round_up(hdr_len, bytes_aligned), in ath10k_htt_rx_h_undecap_nwifi()
1653 (const u8 *)hdr + round_up(hdr_len, bytes_aligned), in ath10k_htt_rx_h_undecap_nwifi()
1719 rfc1042 += round_up(hdr_len, bytes_aligned) + in ath10k_htt_rx_h_find_rfc1042()
1720 round_up(crypto_len, bytes_aligned); in ath10k_htt_rx_h_find_rfc1042()
1793 (void *)hdr + round_up(hdr_len, bytes_aligned), in ath10k_htt_rx_h_undecap_eth()
1795 (const u8 *)hdr + round_up(hdr_len, bytes_aligned), in ath10k_htt_rx_h_undecap_eth()
1862 (void *)hdr + round_up(hdr_len, bytes_aligned), in ath10k_htt_rx_h_undecap_snap()
[all …]
HDwmi-tlv.c3343 buf_len = round_up(buf_len, 4); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3346 len = round_up(len, 4); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
HDwmi.c2002 len = round_up(len, 4); in ath10k_wmi_op_gen_mgmt_tx()
5408 pool_size = num_units * round_up(unit_len, 4); in ath10k_wmi_alloc_chunk()
5472 pool_size = num_units * round_up(unit_size, 4); in ath10k_wmi_is_host_mem_allocated()
/freebsd-14-stable/sys/dev/drm2/
HDdrm_os_freebsd.h253 #define round_up(x, y) roundup2((x), (y)) macro
/freebsd-14-stable/sys/contrib/dev/rtw88/
HDusb.c612 next_pkt = round_up(skb_len, 8); in rtw_usb_rx_handler()
/freebsd-14-stable/sys/dev/irdma/
HDirdma_ctrl.c4727 size += round_up(hmc_info->hmc_obj[i].cnt * in irdma_est_sd()
4732 size += round_up(pble_info->cnt * pble_info->size, 512); in irdma_est_sd()
4988 hte = round_up(qpwanted + hmc_info->hmc_obj[IRDMA_HMC_IW_FSIMC].cnt, 512); in irdma_cfg_fpm_val()
5005 (round_up(qpwanted, 512) / 512 + 1) * hmc_fpm_misc->timer_bucket; in irdma_cfg_fpm_val()
HDirdma_kcompat.c1054 iwcq->kmem.size = round_up(rsize, IRDMA_HW_PAGE_SIZE); in irdma_create_cq()
HDirdma_verbs.c1528 kmem_buf.size = round_up(rsize, 256); in irdma_resize_cq()