| /freebsd-14-stable/lib/libthr/thread/ |
| HD | thr_stack.c | 128 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/ |
| HD | sdio_txrx.c | 91 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()
|
| HD | mt76x02_usb_core.c | 56 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()
|
| HD | mt792x_usb.c | 55 len = round_up(len, 4); in mt792xu_copy()
|
| HD | usb.c | 172 len = round_up(len, 4); in mt76u_copy() 197 len = round_up(len, 4); in mt76u_read_copy()
|
| HD | sdio.c | 556 pad = round_up(skb->len, 4) - skb->len; in mt76s_tx_queue_skb_raw()
|
| /freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/ |
| HD | math.h | 44 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
| /freebsd-14-stable/sys/contrib/dev/mediatek/mt76/mt7615/ |
| HD | usb_sdio.c | 212 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()
|
| HD | usb.c | 64 len = round_up(len, 4); in mt7663u_copy()
|
| /freebsd-14-stable/sys/contrib/dev/mediatek/mt76/mt7921/ |
| HD | sdio_mcu.c | 42 pad = round_up(skb->len, 4) - skb->len; in mt7921s_mcu_send_message()
|
| HD | usb.c | 47 pad = round_up(skb->len, 4) + 4 - skb->len; in mt7921u_mcu_send_message()
|
| HD | mac.c | 813 pad = round_up(skb->len, 4) - skb->len; in mt7921_usb_sdio_tx_prepare_skb()
|
| /freebsd-14-stable/sys/contrib/dev/athk/ath10k/ |
| HD | htt_rx.c | 1432 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 …]
|
| HD | wmi-tlv.c | 3343 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()
|
| HD | wmi.c | 2002 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/ |
| HD | drm_os_freebsd.h | 253 #define round_up(x, y) roundup2((x), (y)) macro
|
| /freebsd-14-stable/sys/contrib/dev/rtw88/ |
| HD | usb.c | 612 next_pkt = round_up(skb_len, 8); in rtw_usb_rx_handler()
|
| /freebsd-14-stable/sys/dev/irdma/ |
| HD | irdma_ctrl.c | 4727 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()
|
| HD | irdma_kcompat.c | 1054 iwcq->kmem.size = round_up(rsize, IRDMA_HW_PAGE_SIZE); in irdma_create_cq()
|
| HD | irdma_verbs.c | 1528 kmem_buf.size = round_up(rsize, 256); in irdma_resize_cq()
|