Lines Matching refs:sectors
86 void bch_rescale_priorities(struct cache_set *c, int sectors)
93 atomic_sub(sectors, &c->rescale);
162 * first: we also take into account the number of sectors of live data in that
551 * For example, dirty sectors of flash only volume is not reclaimable, if their
552 * dirty sectors mixed with dirty sectors of cached device, such buckets will
601 * May allocate fewer sectors than @sectors, KEY_SIZE(k) indicates how many
602 * sectors were actually allocated.
608 unsigned int sectors,
656 sectors = min(sectors, b->sectors_free);
658 SET_KEY_OFFSET(k, KEY_OFFSET(k) + sectors);
659 SET_KEY_SIZE(k, sectors);
670 b->sectors_free -= sectors;
673 SET_PTR_OFFSET(&b->key, i, PTR_OFFSET(&b->key, i) + sectors);
675 atomic_long_add(sectors,