Searched refs:nblks (Results 1 – 3 of 3) sorted by relevance
139 u32 cid, int nblks) in smp_request_block() argument152 nblks = max(0, nblks - reserved); in smp_request_block()153 DBG("%d MMBs allocated (%d reserved)", nblks, reserved); in smp_request_block()157 if (nblks > avail) { in smp_request_block()159 nblks, avail); in smp_request_block()165 if (nblks > cur_nblks) { in smp_request_block()167 for (i = cur_nblks; i < nblks; i++) { in smp_request_block()174 for (i = cur_nblks; i > nblks; i--) { in smp_request_block()192 enum mdp5_pipe pipe, int nblks) in set_fifo_thresholds() argument199 val = (nblks * smp_entries_per_blk) / 4; in set_fifo_thresholds()[all …]
587 static int factory_nblks(int nblks) in factory_nblks() argument590 return (nblks + (BITS_PER_LONG - 1)) & ~(BITS_PER_LONG - 1); in factory_nblks()595 int nblks = factory_nblks(dev->blks_per_lun); in factory_blk_offset() local597 return ((ppa.g.ch * dev->luns_per_chnl * nblks) + (ppa.g.lun * nblks)) / in factory_blk_offset()
425 u32 nblks) in write_same16() argument434 int left = nblks; in write_same16()