Searched refs:num_alloc (Results 1 – 4 of 4) sorted by relevance
608 unsigned int num_alloc = 0; in bam_prep_slave_sg() local618 num_alloc += DIV_ROUND_UP(sg_dma_len(sg), BAM_FIFO_SIZE); in bam_prep_slave_sg()621 async_desc = kzalloc(struct_size(async_desc, desc, num_alloc), in bam_prep_slave_sg()633 async_desc->num_desc = num_alloc; in bam_prep_slave_sg()
1074 int i, err, queue_size, allocator_pool_size, num_alloc; in _iwl_pcie_rx_init() local1137 num_alloc = queue_size + allocator_pool_size; in _iwl_pcie_rx_init()1139 for (i = 0; i < num_alloc; i++) { in _iwl_pcie_rx_init()
1764 u16 num_alloc = 0; in atl1c_alloc_rx_buffer() local1827 num_alloc++; in atl1c_alloc_rx_buffer()1830 if (num_alloc) { in atl1c_alloc_rx_buffer()1838 return num_alloc; in atl1c_alloc_rx_buffer()
1838 u16 num_alloc = 0; in atl1_alloc_rx_buffers() local1883 num_alloc++; in atl1_alloc_rx_buffers()1886 if (num_alloc) { in atl1_alloc_rx_buffers()1896 return num_alloc; in atl1_alloc_rx_buffers()