Searched refs:num_alloc (Results 1 – 4 of 4) sorted by relevance
685 unsigned int num_alloc; in bam_prep_slave_sg() local693 num_alloc = sg_nents_for_dma(sgl, sg_len, BAM_FIFO_SIZE); in bam_prep_slave_sg()694 async_desc = kzalloc_flex(*async_desc, desc, num_alloc, GFP_NOWAIT); in bam_prep_slave_sg()704 async_desc->num_desc = num_alloc; in bam_prep_slave_sg()
1085 int i, err, queue_size, allocator_pool_size, num_alloc; in _iwl_pcie_rx_init() local1148 num_alloc = queue_size + allocator_pool_size; in _iwl_pcie_rx_init()1150 for (i = 0; i < num_alloc; i++) { in _iwl_pcie_rx_init()
1755 u16 num_alloc = 0; in atl1c_alloc_rx_buffer() local1818 num_alloc++; in atl1c_alloc_rx_buffer()1821 if (num_alloc) { in atl1c_alloc_rx_buffer()1829 return num_alloc; in atl1c_alloc_rx_buffer()
1838 u16 num_alloc = 0; in atl1_alloc_rx_buffers() local1890 num_alloc++; in atl1_alloc_rx_buffers()1893 if (num_alloc) { in atl1_alloc_rx_buffers()1903 return num_alloc; in atl1_alloc_rx_buffers()