Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_buffer_fill.c265 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 Duapi.c46 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/jffs2/
H A Dfs.c44 int alloc_type = ALLOC_NORMAL; in jffs2_do_setattr() local
131 alloc_type = ALLOC_DELETION; in jffs2_do_setattr()
139 new_metadata = jffs2_write_dnode(c, f, ri, mdata, mdatalen, alloc_type); in jffs2_do_setattr()
/linux/fs/f2fs/
H A Dsegment.c2810 if (sbi->ckpt->alloc_type[type] == SSR) in write_sum_page()
2824 if (sbi->ckpt->alloc_type[i] != SSR && for_ra) in write_current_sum_page()
3176 curseg->alloc_type = LFS; in change_curseg()
3233 curseg->alloc_type = SSR; in __f2fs_init_atgc_curseg()
3440 if (curseg->alloc_type == LFS && is_next_segment_free(sbi, curseg) && in __allocate_new_segment()
3996 if (curseg->alloc_type == SSR) { in f2fs_allocate_data_block()
4371 old_alloc_type = curseg->alloc_type; in f2fs_wait_on_block_writeback()
4407 curseg->alloc_type = old_alloc_type; in read_compacted_summaries()
4518 seg_i->alloc_type = ckpt->alloc_type[ in read_normal_summaries()
[all...]
H A Dcheckpoint.c1780 ckpt->alloc_type[i + CURSEG_HOT_NODE] = curseg->alloc_type;
1787 ckpt->alloc_type[i + CURSEG_HOT_DATA] = curseg->alloc_type; in do_checkpoint()
H A Dsegment.h289 unsigned char alloc_type; /* current allocation type */
273 unsigned char alloc_type; /* current allocation type */ global() member
H A Df2fs.h4600 ((sbi)->segment_count[(curseg)->alloc_type]++)
4602 ((sbi)->block_count[(curseg)->alloc_type]++)
/linux/drivers/accel/habanalabs/common/
H A Ddevice.c120 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 Dmain.c4266 enum mlx5_ib_uapi_uar_alloc_type alloc_type) in UVERBS_HANDLER()
4284 if (alloc_type == MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF) in UVERBS_HANDLER()
4307 enum mlx5_ib_uapi_uar_alloc_type alloc_type;
4318 err = uverbs_get_const(&alloc_type, attrs,
4323 if (alloc_type != MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF && in var_is_supported()
4324 alloc_type != MLX5_IB_UAPI_UAR_ALLOC_TYPE_NC) in var_is_supported()
4328 alloc_type == MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF)
4331 entry = alloc_uar_entry(c, alloc_type); in alloc_uar_entry() argument
4372 enum mlx5_ib_uapi_uar_alloc_type alloc_type; UVERBS_HANDLER() local
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_filters.c1942 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()