Home
last modified time | relevance | path

Searched refs:desc_blocks (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/dma/xilinx/
Dxdma.c98 struct xdma_desc_block *desc_blocks; member
164 block = &sw_desc->desc_blocks[i - 1]; in xdma_link_sg_desc_blocks()
178 block = &sw_desc->desc_blocks[sw_desc->dblk_num - 2]; in xdma_link_sg_desc_blocks()
184 block = &sw_desc->desc_blocks[sw_desc->dblk_num - 1]; in xdma_link_sg_desc_blocks()
199 block = sw_desc->desc_blocks; in xdma_link_cyclic_desc_blocks()
251 if (!sw_desc->desc_blocks[i].virt_addr) in xdma_free_desc()
254 sw_desc->desc_blocks[i].virt_addr, in xdma_free_desc()
255 sw_desc->desc_blocks[i].dma_addr); in xdma_free_desc()
257 kfree(sw_desc->desc_blocks); in xdma_free_desc()
287 sw_desc->desc_blocks = kcalloc(dblk_num, sizeof(*sw_desc->desc_blocks), in xdma_alloc_desc()
[all …]
/linux-6.12.1/fs/nilfs2/
Dalloc.c439 unsigned long *desc_blocks) in nilfs_palloc_count_desc_blocks() argument
446 *desc_blocks = DIV_ROUND_UP( in nilfs_palloc_count_desc_blocks()
459 unsigned long desc_blocks) in nilfs_palloc_mdt_file_can_grow() argument
461 return (nilfs_palloc_groups_per_desc_block(inode) * desc_blocks) < in nilfs_palloc_mdt_file_can_grow()
474 unsigned long desc_blocks = 0; in nilfs_palloc_count_max_entries() local
478 err = nilfs_palloc_count_desc_blocks(inode, &desc_blocks); in nilfs_palloc_count_max_entries()
484 nmax = entries_per_desc_block * desc_blocks; in nilfs_palloc_count_max_entries()
487 nilfs_palloc_mdt_file_can_grow(inode, desc_blocks)) in nilfs_palloc_count_max_entries()