Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/dma/xilinx/
Dxdma.c92 struct xdma_desc_block *desc_blocks; member
152 block = &sw_desc->desc_blocks[i - 1]; in xdma_link_desc_blocks()
166 block = &sw_desc->desc_blocks[sw_desc->dblk_num - 2]; in xdma_link_desc_blocks()
172 block = &sw_desc->desc_blocks[sw_desc->dblk_num - 1]; in xdma_link_desc_blocks()
220 if (!sw_desc->desc_blocks[i].virt_addr) in xdma_free_desc()
223 sw_desc->desc_blocks[i].virt_addr, in xdma_free_desc()
224 sw_desc->desc_blocks[i].dma_addr); in xdma_free_desc()
226 kfree(sw_desc->desc_blocks); in xdma_free_desc()
252 sw_desc->desc_blocks = kcalloc(dblk_num, sizeof(*sw_desc->desc_blocks), in xdma_alloc_desc()
254 if (!sw_desc->desc_blocks) in xdma_alloc_desc()
[all …]
/linux-6.6.21/fs/nilfs2/
Dalloc.c436 unsigned long *desc_blocks) in nilfs_palloc_count_desc_blocks() argument
443 *desc_blocks = DIV_ROUND_UP( in nilfs_palloc_count_desc_blocks()
456 unsigned long desc_blocks) in nilfs_palloc_mdt_file_can_grow() argument
458 return (nilfs_palloc_groups_per_desc_block(inode) * desc_blocks) < in nilfs_palloc_mdt_file_can_grow()
471 unsigned long desc_blocks = 0; in nilfs_palloc_count_max_entries() local
475 err = nilfs_palloc_count_desc_blocks(inode, &desc_blocks); in nilfs_palloc_count_max_entries()
481 nmax = entries_per_desc_block * desc_blocks; in nilfs_palloc_count_max_entries()
484 nilfs_palloc_mdt_file_can_grow(inode, desc_blocks)) in nilfs_palloc_count_max_entries()