/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gunz_test.c | 283 int first_free, last_free, first_used, last_used; in decompress_file() local 438 last_free = fifo_free_last_bytes(cur_in, used_in, fifo_in_len); in decompress_file() 461 if (last_free > 0) { in decompress_file() 463 read_sz = NX_MIN(free_space, last_free); in decompress_file() 619 last_free = fifo_free_last_bytes(cur_out, used_out, fifo_out_len); in decompress_file() 634 if (last_free > 0) { in decompress_file() 635 last_free = NX_MIN(target_max - first_free, last_free); in decompress_file() 636 if (last_free > 0) { in decompress_file() 640 last_free); in decompress_file() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gunz_test.c | 283 int first_free, last_free, first_used, last_used; in decompress_file() local 438 last_free = fifo_free_last_bytes(cur_in, used_in, fifo_in_len); in decompress_file() 461 if (last_free > 0) { in decompress_file() 463 read_sz = NX_MIN(free_space, last_free); in decompress_file() 619 last_free = fifo_free_last_bytes(cur_out, used_out, fifo_out_len); in decompress_file() 634 if (last_free > 0) { in decompress_file() 635 last_free = NX_MIN(target_max - first_free, last_free); in decompress_file() 636 if (last_free > 0) { in decompress_file() 640 last_free); in decompress_file() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
H A D | mthca_srq.c | 295 srq->last_free = srq->max - 1; in mthca_alloc_srq() 468 struct mthca_next_seg *last_free; in mthca_free_srq_wqe() local 474 last_free = get_wqe(srq, srq->last_free); in mthca_free_srq_wqe() 475 *wqe_to_link(last_free) = ind; in mthca_free_srq_wqe() 476 last_free->nda_op = htonl((ind << srq->wqe_shift) | 1); in mthca_free_srq_wqe() 478 srq->last_free = ind; in mthca_free_srq_wqe()
|
H A D | mthca_provider.h | 213 int last_free; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_srq.c | 295 srq->last_free = srq->max - 1; in mthca_alloc_srq() 468 struct mthca_next_seg *last_free; in mthca_free_srq_wqe() local 474 last_free = get_wqe(srq, srq->last_free); in mthca_free_srq_wqe() 475 *wqe_to_link(last_free) = ind; in mthca_free_srq_wqe() 476 last_free->nda_op = htonl((ind << srq->wqe_shift) | 1); in mthca_free_srq_wqe() 478 srq->last_free = ind; in mthca_free_srq_wqe()
|
H A D | mthca_provider.h | 213 int last_free; member
|
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | zatm.h | 66 volatile struct sk_buff *last_free[NR_POOLS]; member
|
H A D | zatm.c | 235 if (zatm_dev->last_free[pool]) in refill_pool() 236 ((struct rx_buffer_head *) (zatm_dev->last_free[pool]-> in refill_pool() 238 zatm_dev->last_free[pool] = skb; in refill_pool() 301 zatm_dev->last_free[pool] = NULL; in use_pool() 424 if (skb == zatm_dev->last_free[pos]) in poll_rx() 425 zatm_dev->last_free[pos] = NULL; in poll_rx()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_cxt.h | 294 u64 last_free; member
|
H A D | qed_cxt.c | 868 p_t2->last_free = (u64)p_t2_last_page->phys_addr + in qed_cxt_src_t2_alloc() 1653 p_hwfn->p_cxt_mngr->src_t2.last_free); in qed_src_init_pf()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_cxt.h | 306 u64 last_free; member
|
H A D | qed_cxt.c | 868 p_t2->last_free = (u64)p_t2_last_page->phys_addr + in qed_cxt_src_t2_alloc() 1639 p_hwfn->p_cxt_mngr->src_t2.last_free); in qed_src_init_pf()
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | fslog.c | 100 __le32 last_free; // 0x14: member 721 u32 lf = le32_to_cpu(rt->last_free); in check_rstbl() 768 u32 lf = le32_to_cpu(rt->last_free); in free_rsttbl_idx() 777 rt->last_free = off_le; in free_rsttbl_idx() 784 rt->last_free = off_le; in free_rsttbl_idx() 793 __le32 *e, *last_free; in init_rsttbl() local 806 t->last_free = cpu_to_le32(lf); in init_rsttbl() 809 last_free = Add2Ptr(t, lf); in init_rsttbl() 811 for (off = sizeof(struct RESTART_TABLE) + esize; e < last_free; in init_rsttbl() 839 *(__le32 *)Add2Ptr(rt, le32_to_cpu(tbl->last_free)) in extend_rsttbl() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 969 if (itxd == ring->last_free) in mtk_tx_map() 1021 if (txd == ring->last_free) in mtk_tx_map() 1427 ring->last_free = desc; in mtk_poll_tx_qdma() 1465 ring->last_free = desc; in mtk_poll_tx_pdma() 1625 ring->last_free = &ring->dma[MTK_DMA_SIZE - 1]; in mtk_tx_alloc()
|
H A D | mtk_eth_soc.h | 641 * @last_free: Pointer to the last free descriptor 651 struct mtk_tx_dma *last_free; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 1412 if (itxd == ring->last_free) in mtk_tx_map() 1446 if (txd == ring->last_free) in mtk_tx_map() 1815 if (txd == ring->last_free) { in mtk_xdp_submit_frame() 1836 if (txd == ring->last_free) in mtk_xdp_submit_frame() 2292 ring->last_free = desc; in mtk_poll_tx_qdma() 2331 ring->last_free = desc; in mtk_poll_tx_pdma() 2509 ring->last_free = (void *)txd; in mtk_tx_alloc()
|
H A D | mtk_eth_soc.h | 892 * @last_free: Pointer to the last free descriptor 903 struct mtk_tx_dma *last_free; member
|