Home
last modified time | relevance | path

Searched refs:alloc_type (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Duttrack.c37 u8 alloc_type,
319 * alloc_type - MEM_MALLOC or MEM_CALLOC
333 u8 alloc_type, in acpi_ut_track_allocation()
367 allocation->alloc_type = alloc_type; in acpi_ut_track_allocation()
331 acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation, acpi_size size, u8 alloc_type, u32 component, const char *module, u32 line) acpi_ut_track_allocation() argument
H A Daclocal.h1243 u8 alloc_type;
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Duttrack.c37 u8 alloc_type,
319 * alloc_type - MEM_MALLOC or MEM_CALLOC
333 u8 alloc_type, in acpi_ut_track_allocation()
367 allocation->alloc_type = alloc_type; in acpi_ut_track_allocation()
331 acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation, acpi_size size, u8 alloc_type, u32 component, const char *module, u32 line) acpi_ut_track_allocation() argument
H A Daclocal.h1260 u8 alloc_type;
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_bmap_util.h57 xfs_off_t len, int alloc_type);
H A Dxfs_bmap_util.c720 int alloc_type) in xfs_alloc_file_space()
825 allocatesize_fsb, alloc_type, 0, imapp, in xfs_alloc_file_space()
716 xfs_alloc_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len, int alloc_type) xfs_alloc_file_space() argument
/kernel/linux/linux-6.6/fs/f2fs/
H A Dsegment.c2540 if (sbi->ckpt->alloc_type[type] == SSR) in f2fs_curseg_valid_blocks()
2554 if (sbi->ckpt->alloc_type[i] != SSR && for_ra) in f2fs_npages_for_summary_flush()
2807 curseg->alloc_type = LFS; in new_curseg()
2862 curseg->alloc_type = SSR; in change_curseg()
3041 if (curseg->alloc_type == LFS && in need_new_seg()
3441 if (curseg->alloc_type == SSR) { in f2fs_allocate_data_block()
3738 old_alloc_type = curseg->alloc_type; in f2fs_do_replace_block()
3772 curseg->alloc_type = old_alloc_type; in f2fs_do_replace_block()
3882 seg_i->alloc_type = ckpt->alloc_type[ in read_compacted_summaries()
[all...]
H A Dsegment.h308 unsigned char alloc_type; /* current allocation type */ member
741 return curseg->alloc_type; in curseg_alloc_type()
H A Dcheckpoint.c1475 ckpt->alloc_type[i + CURSEG_HOT_NODE] = curseg->alloc_type; in do_checkpoint()
1482 ckpt->alloc_type[i + CURSEG_HOT_DATA] = curseg->alloc_type; in do_checkpoint()
/kernel/linux/linux-5.10/fs/f2fs/
H A Dsegment.c2513 if (sbi->ckpt->alloc_type[i] == SSR) in f2fs_npages_for_summary_flush()
2768 curseg->alloc_type = LFS; in new_curseg()
2797 if (seg->alloc_type == SSR) in __refresh_next_blkoff()
2844 curseg->alloc_type = SSR; in change_curseg()
3031 else if (curseg->alloc_type == LFS && in allocate_segment_by_default()
3935 seg_i->alloc_type = ckpt->alloc_type[i]; in read_compacted_summaries()
3938 if (seg_i->alloc_type == SSR) in read_compacted_summaries()
4029 curseg->alloc_type = ckpt->alloc_type[typ in read_normal_summaries()
[all...]
H A Dsegment.h338 unsigned char alloc_type; /* current allocation type */ member
717 return curseg->alloc_type; in curseg_alloc_type()
H A Dcheckpoint.c1438 ckpt->alloc_type[i + CURSEG_HOT_NODE] = in do_checkpoint()
1446 ckpt->alloc_type[i + CURSEG_HOT_DATA] = in do_checkpoint()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/sound/drivers/opl3/
H A Dopl3_midi.c134 char *alloc_type[3] = { "FREE ", "CHEAP ", "EXPENSIVE" }; in opl3_get_voice() local
208 alloc_type[i], instr_4op ? 4 : 2, in opl3_get_voice()
/kernel/linux/linux-6.6/sound/drivers/opl3/
H A Dopl3_midi.c134 char *alloc_type[3] = { "FREE ", "CHEAP ", "EXPENSIVE" }; in opl3_get_voice() local
207 alloc_type[i], instr_4op ? 4 : 2, in opl3_get_voice()
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Ddevice.c114 gfp_t flag, enum dma_alloc_type alloc_type, in hl_dma_alloc_common()
119 switch (alloc_type) { in hl_dma_alloc_common()
136 dma_addr_t dma_handle, enum dma_alloc_type alloc_type, in hl_asic_dma_free_common()
142 switch (alloc_type) { in hl_asic_dma_free_common()
113 hl_dma_alloc_common(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle, gfp_t flag, enum dma_alloc_type alloc_type, const char *caller) hl_dma_alloc_common() argument
135 hl_asic_dma_free_common(struct hl_device *hdev, size_t size, void *cpu_addr, dma_addr_t dma_handle, enum dma_alloc_type alloc_type, const char *caller) hl_asic_dma_free_common() argument
/kernel/linux/linux-5.10/include/linux/
H A Df2fs_fs.h168 unsigned char alloc_type[MAX_ACTIVE_LOGS]; member
/kernel/linux/linux-6.6/include/linux/
H A Df2fs_fs.h209 unsigned char alloc_type[MAX_ACTIVE_LOGS]; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dmain.c3768 enum mlx5_ib_uapi_uar_alloc_type alloc_type) in alloc_uar_entry()
3786 if (alloc_type == MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF) in alloc_uar_entry()
3809 enum mlx5_ib_uapi_uar_alloc_type alloc_type; in MLX5_IB_METHOD_UAR_OBJ_ALLOC() local
3820 err = uverbs_get_const(&alloc_type, attrs, in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3825 if (alloc_type != MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF && in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3826 alloc_type != MLX5_IB_UAPI_UAR_ALLOC_TYPE_NC) in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3830 alloc_type == MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF) in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3833 entry = alloc_uar_entry(c, alloc_type); in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3767 alloc_uar_entry(struct mlx5_ib_ucontext *c, enum mlx5_ib_uapi_uar_alloc_type alloc_type) alloc_uar_entry() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dmain.c3527 enum mlx5_ib_uapi_uar_alloc_type alloc_type) in alloc_uar_entry()
3545 if (alloc_type == MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF) in alloc_uar_entry()
3568 enum mlx5_ib_uapi_uar_alloc_type alloc_type; in MLX5_IB_METHOD_UAR_OBJ_ALLOC() local
3579 err = uverbs_get_const(&alloc_type, attrs, in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3584 if (alloc_type != MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF && in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3585 alloc_type != MLX5_IB_UAPI_UAR_ALLOC_TYPE_NC) in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3589 alloc_type == MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF) in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3592 entry = alloc_uar_entry(c, alloc_type); in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
3526 alloc_uar_entry(struct mlx5_ib_ucontext *c, enum mlx5_ib_uapi_uar_alloc_type alloc_type) alloc_uar_entry() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dmcdi_filters.c1937 u32 alloc_type = exclusive ? in efx_mcdi_filter_alloc_rss_context() local
1957 MCDI_SET_DWORD(inbuf, RSS_CONTEXT_ALLOC_IN_TYPE, alloc_type); in efx_mcdi_filter_alloc_rss_context()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dmcdi_filters.c1941 u32 alloc_type = exclusive ? in efx_mcdi_filter_alloc_rss_context() local
1961 MCDI_SET_DWORD(inbuf, RSS_CONTEXT_ALLOC_IN_TYPE, alloc_type); in efx_mcdi_filter_alloc_rss_context()

Completed in 60 milliseconds

12