Searched refs:num_alloc (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/fs/exfat/ |
H A D | fatent.c | 319 int exfat_alloc_cluster(struct inode *inode, unsigned int num_alloc, in exfat_alloc_cluster() argument 337 if (num_alloc > total_cnt - sbi->used_clusters) in exfat_alloc_cluster() 407 if (p_chain->size == num_alloc) { in exfat_alloc_cluster() 409 sbi->used_clusters += num_alloc; in exfat_alloc_cluster()
|
H A D | exfat_fs.h | 423 int exfat_alloc_cluster(struct inode *inode, unsigned int num_alloc,
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_mid.c | 1174 qp->buf_pool.num_alloc++; in qla_get_buf() 1199 j = qp->buf_pool.num_alloc - 1; in qla_trim_buf() 1203 qp->id, j, qp->buf_pool.num_alloc); in qla_trim_buf() 1213 qp->buf_pool.num_alloc--; in qla_trim_buf() 1214 if (!qp->buf_pool.num_alloc) in qla_trim_buf() 1219 qp->id, trim, qp->buf_pool.num_alloc); in qla_trim_buf() 1231 qp->buf_pool.num_alloc > qp->buf_pool.max_used) { in __qla_adjust_buf() 1233 trim = qp->buf_pool.num_alloc - qp->buf_pool.max_used; in __qla_adjust_buf() 1239 qla_trim_buf(qp, qp->buf_pool.num_alloc); in __qla_adjust_buf() 1281 if (!qp->buf_pool.num_alloc) in qla_adjust_buf()
|
H A D | qla_def.h | 3799 u16 num_alloc; member
|
/openbmc/linux/drivers/dma/qcom/ |
H A D | bam_dma.c | 658 unsigned int num_alloc = 0; in bam_prep_slave_sg() local 668 num_alloc += DIV_ROUND_UP(sg_dma_len(sg), BAM_FIFO_SIZE); in bam_prep_slave_sg() 671 async_desc = kzalloc(struct_size(async_desc, desc, num_alloc), in bam_prep_slave_sg() 683 async_desc->num_desc = num_alloc; in bam_prep_slave_sg()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | rx.c | 1083 int i, err, queue_size, allocator_pool_size, num_alloc; in _iwl_pcie_rx_init() local 1146 num_alloc = queue_size + allocator_pool_size; in _iwl_pcie_rx_init() 1148 for (i = 0; i < num_alloc; i++) { in _iwl_pcie_rx_init()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 1754 u16 num_alloc = 0; in atl1c_alloc_rx_buffer() local 1817 num_alloc++; in atl1c_alloc_rx_buffer() 1820 if (num_alloc) { in atl1c_alloc_rx_buffer() 1828 return num_alloc; in atl1c_alloc_rx_buffer()
|
/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | 1838 u16 num_alloc = 0; in atl1_alloc_rx_buffers() local 1883 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()
|