Searched refs:alloc_type (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | check_buffer_fill.c | 265 enum mte_block_test_alloc alloc_type = UNTAGGED_TAGGED; in check_buffer_by_block_iterate() local 267 for (alloc_type = UNTAGGED_TAGGED; alloc_type < (int) BLOCK_ALLOC_MAX; alloc_type++) { in check_buffer_by_block_iterate() 268 switch (alloc_type) { in check_buffer_by_block_iterate()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | uapi.c | 46 enum bnxt_re_alloc_page_type alloc_type; in UVERBS_HANDLER() local 67 err = uverbs_get_const(&alloc_type, attrs, BNXT_RE_ALLOC_PAGE_TYPE); in UVERBS_HANDLER() 74 switch (alloc_type) { in UVERBS_HANDLER()
|
| /linux/fs/f2fs/ |
| H A D | segment.c | 2746 if (sbi->ckpt->alloc_type[type] == SSR) in f2fs_curseg_valid_blocks() 2760 if (sbi->ckpt->alloc_type[i] != SSR && for_ra) in f2fs_npages_for_summary_flush() 3119 curseg->alloc_type = LFS; in new_curseg() 3176 curseg->alloc_type = SSR; in change_curseg() 3382 if (curseg->alloc_type == LFS && is_next_segment_free(sbi, curseg) && in need_new_seg() 3936 if (curseg->alloc_type == SSR) { in f2fs_allocate_data_block() 4292 old_alloc_type = curseg->alloc_type; in f2fs_do_replace_block() 4328 curseg->alloc_type = old_alloc_type; in f2fs_do_replace_block() 4439 seg_i->alloc_type = ckpt->alloc_type[i]; in read_compacted_summaries() 4442 if (seg_i->alloc_type == SSR) in read_compacted_summaries() [all …]
|
| H A D | checkpoint.c | 1808 ckpt->alloc_type[i + CURSEG_HOT_NODE] = curseg->alloc_type; in do_checkpoint() 1815 ckpt->alloc_type[i + CURSEG_HOT_DATA] = curseg->alloc_type; in do_checkpoint()
|
| H A D | segment.h | 273 unsigned char alloc_type; /* current allocation type */ member
|
| H A D | f2fs.h | 4484 ((sbi)->segment_count[(curseg)->alloc_type]++) 4486 ((sbi)->block_count[(curseg)->alloc_type]++)
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | device.c | 120 gfp_t flag, enum dma_alloc_type alloc_type, in hl_dma_alloc_common() argument 125 switch (alloc_type) { in hl_dma_alloc_common() 142 dma_addr_t dma_handle, enum dma_alloc_type alloc_type, in hl_asic_dma_free_common() argument 148 switch (alloc_type) { in hl_asic_dma_free_common()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | main.c | 4331 enum mlx5_ib_uapi_uar_alloc_type alloc_type) in alloc_uar_entry() argument 4349 if (alloc_type == MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF) in alloc_uar_entry() 4372 enum mlx5_ib_uapi_uar_alloc_type alloc_type; in UVERBS_HANDLER() local 4383 err = uverbs_get_const(&alloc_type, attrs, in UVERBS_HANDLER() 4388 if (alloc_type != MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF && in UVERBS_HANDLER() 4389 alloc_type != MLX5_IB_UAPI_UAR_ALLOC_TYPE_NC) in UVERBS_HANDLER() 4393 alloc_type == MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF) in UVERBS_HANDLER() 4396 entry = alloc_uar_entry(c, alloc_type); in UVERBS_HANDLER()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | mcdi_filters.c | 1942 u32 alloc_type = exclusive ? in efx_mcdi_filter_alloc_rss_context() local 1962 MCDI_SET_DWORD(inbuf, RSS_CONTEXT_ALLOC_IN_TYPE, alloc_type); in efx_mcdi_filter_alloc_rss_context()
|