Searched refs:desc_blocks (Results 1 – 2 of 2) sorted by relevance
98 struct xdma_desc_block *desc_blocks; member164 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 …]
439 unsigned long *desc_blocks) in nilfs_palloc_count_desc_blocks() argument446 *desc_blocks = DIV_ROUND_UP( in nilfs_palloc_count_desc_blocks()459 unsigned long desc_blocks) in nilfs_palloc_mdt_file_can_grow() argument461 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() local478 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()