Home
last modified time | relevance | path

Searched refs:last_free (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/powerpc/nx-gzip/
H A Dgunz_test.c283 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()
/linux/drivers/md/dm-vdo/
H A Dencodings.c830 block_count_t free_blocks = layout->last_free - layout->first_free; in make_partition()
844 offset = beginning ? layout->first_free : (layout->last_free - size); in make_partition()
854 layout->last_free = layout->last_free - size; in make_partition()
886 .last_free = size, in vdo_initialize_layout()
991 encode_u64_le(buffer, offset, layout->last_free); in encode_layout()
1016 physical_block_number_t first_free, last_free; in decode_layout() local
1029 decode_u64_le(buffer, offset, &last_free); in decode_layout()
1033 .last_free = last_free, in decode_layout()
1045 layout->last_free = layout_header.last_free; in decode_layout()
H A Dencodings.h575 physical_block_number_t last_free; member
589 physical_block_number_t last_free; member
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c295 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 Dmthca_provider.h213 int last_free; member
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_cxt.h306 u64 last_free; member
H A Dqed_cxt.c867 p_t2->last_free = (u64)p_t2_last_page->phys_addr + in qed_cxt_src_t2_alloc()
1637 p_hwfn->p_cxt_mngr->src_t2.last_free); in qed_src_init_pf()
/linux/fs/ntfs3/
H A Dfslog.c100 __le32 last_free; // 0x14: member
736 u32 lf = le32_to_cpu(rt->last_free); in check_rstbl()
787 u32 lf = le32_to_cpu(rt->last_free); in free_rsttbl_idx()
796 rt->last_free = off_le; in free_rsttbl_idx()
803 rt->last_free = off_le; in free_rsttbl_idx()
812 __le32 *e, *last_free; in init_rsttbl() local
825 t->last_free = cpu_to_le32(lf); in init_rsttbl()
828 last_free = Add2Ptr(t, lf); in init_rsttbl()
830 for (off = sizeof(struct RESTART_TABLE) + esize; e < last_free; in init_rsttbl()
858 *(__le32 *)Add2Ptr(rt, le32_to_cpu(tbl->last_free)) = osize; in extend_rsttbl()
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c1587 if (itxd == ring->last_free) in mtk_tx_map()
1621 if (txd == ring->last_free) in mtk_tx_map()
1998 if (txd == ring->last_free) { in mtk_xdp_submit_frame()
2019 if (txd == ring->last_free) in mtk_xdp_submit_frame()
2484 ring->last_free = desc; in mtk_poll_tx_qdma()
2523 ring->last_free = desc; in mtk_poll_tx_pdma()
2693 ring->last_free = (void *)txd; in mtk_tx_alloc()
H A Dmtk_eth_soc.h937 struct mtk_tx_dma *last_free; member