nr_free 188 drivers/dma/mediatek/mtk-hsdma.c atomic_t nr_free; nr_free 344 drivers/dma/mediatek/mtk-hsdma.c atomic_set(&pc->nr_free, MTK_DMA_SIZE - 1); nr_free 429 drivers/dma/mediatek/mtk-hsdma.c reserved = min_t(u16, num_sgs, atomic_read(&pc->nr_free)); nr_free 436 drivers/dma/mediatek/mtk-hsdma.c atomic_sub(reserved, &pc->nr_free); nr_free 615 drivers/dma/mediatek/mtk-hsdma.c atomic_inc(&pc->nr_free); nr_free 629 drivers/dma/mediatek/mtk-hsdma.c if (atomic_read(&pc->nr_free) >= MTK_DMA_SIZE - 1) nr_free 283 drivers/gpu/drm/ttm/ttm_page_alloc.c static int ttm_page_pool_free(struct ttm_page_pool *pool, unsigned nr_free, nr_free 291 drivers/gpu/drm/ttm/ttm_page_alloc.c npages_to_free = nr_free; nr_free 293 drivers/gpu/drm/ttm/ttm_page_alloc.c if (NUM_PAGES_TO_ALLOC < nr_free) nr_free 328 drivers/gpu/drm/ttm/ttm_page_alloc.c if (likely(nr_free != FREE_ALL_PAGES)) nr_free 329 drivers/gpu/drm/ttm/ttm_page_alloc.c nr_free -= freed_pages; nr_free 331 drivers/gpu/drm/ttm/ttm_page_alloc.c if (NUM_PAGES_TO_ALLOC >= nr_free) nr_free 332 drivers/gpu/drm/ttm/ttm_page_alloc.c npages_to_free = nr_free; nr_free 339 drivers/gpu/drm/ttm/ttm_page_alloc.c if (nr_free) nr_free 356 drivers/gpu/drm/ttm/ttm_page_alloc.c nr_free -= freed_pages; nr_free 366 drivers/gpu/drm/ttm/ttm_page_alloc.c return nr_free; nr_free 393 drivers/gpu/drm/ttm/ttm_page_alloc.c unsigned nr_free = shrink_pages; nr_free 402 drivers/gpu/drm/ttm/ttm_page_alloc.c nr_free_pool = roundup(nr_free, page_nr) >> pool->order; nr_free 404 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free, nr_free 413 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c npages_to_free = nr_free; nr_free 415 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c if (NUM_PAGES_TO_ALLOC < nr_free) nr_free 459 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c if (likely(nr_free != FREE_ALL_PAGES)) nr_free 460 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c nr_free -= freed_pages; nr_free 462 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c if (NUM_PAGES_TO_ALLOC >= nr_free) nr_free 463 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c npages_to_free = nr_free; nr_free 470 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c if (nr_free) nr_free 485 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c nr_free -= freed_pages; nr_free 495 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c return nr_free; nr_free 1111 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c unsigned nr_free; nr_free 1120 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c nr_free = shrink_pages; nr_free 1122 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c shrink_pages = ttm_dma_page_pool_free(p->pool, nr_free, true); nr_free 1123 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c freed += nr_free - shrink_pages; nr_free 1127 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c nr_free, shrink_pages); nr_free 169 drivers/hwtracing/stm/core.c master->nr_free = stm->data->sw_nchannels; nr_free 193 drivers/hwtracing/stm/core.c if (WARN_ON_ONCE(master->nr_free < output->nr_chans)) nr_free 199 drivers/hwtracing/stm/core.c master->nr_free -= output->nr_chans; nr_free 213 drivers/hwtracing/stm/core.c master->nr_free += output->nr_chans; nr_free 265 drivers/hwtracing/stm/core.c if (!master->nr_free) nr_free 25 drivers/hwtracing/stm/stm.h unsigned int nr_free; nr_free 1151 drivers/md/dm-cache-policy-smq.c unsigned nr_free; nr_free 1153 drivers/md/dm-cache-policy-smq.c nr_free = from_cblock(mq->cache_size) - mq->cache_alloc.nr_allocated; nr_free 1154 drivers/md/dm-cache-policy-smq.c return (nr_free + btracker_nr_demotions_queued(mq->bg_work)) >= nr_free 1114 drivers/md/dm-era-target.c dm_block_t nr_free, nr_total; nr_free 1116 drivers/md/dm-era-target.c r = dm_sm_get_nr_free(md->sm, &nr_free); nr_free 1128 drivers/md/dm-era-target.c s->used = nr_total - nr_free; nr_free 1459 drivers/md/dm-thin.c dm_block_t nr_free; nr_free 1461 drivers/md/dm-thin.c r = dm_pool_get_free_metadata_block_count(pool->pmd, &nr_free); nr_free 1464 drivers/md/dm-thin.c else if (!nr_free) nr_free 1476 drivers/md/dm-thin.c dm_block_t nr_free; nr_free 1481 drivers/md/dm-thin.c r = dm_pool_get_free_block_count(pool->pmd, &nr_free); nr_free 1485 drivers/md/dm-thin.c if (nr_free) { nr_free 266 drivers/md/persistent-data/dm-space-map-common.c idx.nr_free = cpu_to_le32(ll->entries_per_block); nr_free 352 drivers/md/persistent-data/dm-space-map-common.c if (le32_to_cpu(ie_disk.nr_free) == 0) nr_free 483 drivers/md/persistent-data/dm-space-map-common.c le32_add_cpu(&ie_disk.nr_free, -1); nr_free 490 drivers/md/persistent-data/dm-space-map-common.c le32_add_cpu(&ie_disk.nr_free, 1); nr_free 34 drivers/md/persistent-data/dm-space-map-common.h __le32 nr_free; nr_free 190 drivers/md/persistent-data/dm-space-map-disk.c dm_block_t nr_free; nr_free 193 drivers/md/persistent-data/dm-space-map-disk.c r = sm_disk_get_nr_free(sm, &nr_free); nr_free 205 drivers/md/persistent-data/dm-space-map-disk.c r = sm_disk_get_nr_free(sm, &nr_free); nr_free 576 drivers/net/ethernet/jme.c atomic_set(&txring->nr_free, jme->tx_ring_size); nr_free 637 drivers/net/ethernet/jme.c atomic_set(&txring->nr_free, 0); nr_free 1412 drivers/net/ethernet/jme.c atomic_read(&txring->nr_free) >= (jme->tx_wake_threshold))) { nr_free 1439 drivers/net/ethernet/jme.c max = jme->tx_ring_size - atomic_read(&txring->nr_free); nr_free 1493 drivers/net/ethernet/jme.c atomic_add(cnt, &txring->nr_free); nr_free 1955 drivers/net/ethernet/jme.c if (unlikely(atomic_read(&txring->nr_free) < nr_alloc)) nr_free 1958 drivers/net/ethernet/jme.c atomic_sub(nr_alloc, &txring->nr_free); nr_free 2197 drivers/net/ethernet/jme.c if (unlikely(atomic_read(&txring->nr_free) < (MAX_SKB_FRAGS+2))) { nr_free 2201 drivers/net/ethernet/jme.c if (atomic_read(&txring->nr_free) nr_free 374 drivers/net/ethernet/jme.h atomic_t nr_free; nr_free 1049 drivers/net/ethernet/natsemi/ns83820.c int nr_free, nr_frags; nr_free 1071 drivers/net/ethernet/natsemi/ns83820.c nr_free = (tx_done_idx + NR_TX_DESC-2 - free_idx) % NR_TX_DESC; nr_free 1072 drivers/net/ethernet/natsemi/ns83820.c nr_free -= 1; nr_free 1073 drivers/net/ethernet/natsemi/ns83820.c if (nr_free <= nr_frags) { nr_free 1091 drivers/net/ethernet/natsemi/ns83820.c nr_free -= nr_frags; nr_free 1092 drivers/net/ethernet/natsemi/ns83820.c if (nr_free < MIN_TX_DESC_FREE) { nr_free 519 fs/f2fs/file.c int nr_free = 0, ofs = dn->ofs_in_node, len = count; nr_free 546 fs/f2fs/file.c nr_free++; nr_free 549 fs/f2fs/file.c if (nr_free) { nr_free 558 fs/f2fs/file.c dec_valid_block_count(sbi, dn->inode, nr_free); nr_free 564 fs/f2fs/file.c dn->ofs_in_node, nr_free); nr_free 2447 fs/ntfs/super.c s64 nr_free = vol->nr_clusters; nr_free 2477 fs/ntfs/super.c nr_free -= PAGE_SIZE * 8; nr_free 2488 fs/ntfs/super.c nr_free -= bitmap_weight(kaddr, nr_free 2499 fs/ntfs/super.c nr_free += 64 - (vol->nr_clusters & 63); nr_free 2502 fs/ntfs/super.c if (nr_free < 0) nr_free 2503 fs/ntfs/super.c nr_free = 0; nr_free 2505 fs/ntfs/super.c return nr_free; nr_free 2526 fs/ntfs/super.c s64 nr_free, const pgoff_t max_index) nr_free 2548 fs/ntfs/super.c nr_free -= PAGE_SIZE * 8; nr_free 2559 fs/ntfs/super.c nr_free -= bitmap_weight(kaddr, nr_free 2567 fs/ntfs/super.c if (nr_free < 0) nr_free 2568 fs/ntfs/super.c nr_free = 0; nr_free 2570 fs/ntfs/super.c return nr_free; nr_free 100 include/linux/mmzone.h unsigned long nr_free; nr_free 108 include/linux/mmzone.h area->nr_free++; nr_free 116 include/linux/mmzone.h area->nr_free++; nr_free 151 include/linux/mmzone.h area->nr_free--; nr_free 1465 lib/assoc_array.c int keylen, slot, nr_free, next_slot, i; nr_free 1547 lib/assoc_array.c nr_free = 0; nr_free 1551 lib/assoc_array.c nr_free++; nr_free 1555 lib/assoc_array.c pr_devel("free=%d, leaves=%lu\n", nr_free, new_n->nr_leaves_on_branch); nr_free 1576 lib/assoc_array.c if (child->nr_leaves_on_branch <= nr_free + 1) { nr_free 1579 lib/assoc_array.c slot, child->nr_leaves_on_branch, nr_free + 1, nr_free 1588 lib/assoc_array.c nr_free++; nr_free 1600 lib/assoc_array.c nr_free--; nr_free 1605 lib/assoc_array.c slot, child->nr_leaves_on_branch, nr_free + 1, nr_free 1615 lib/assoc_array.c if (nr_free == ASSOC_ARRAY_FAN_OUT - 1) { nr_free 1325 mm/compaction.c if (!area->nr_free) nr_free 1681 mm/compaction.c if (!area->nr_free) nr_free 1634 mm/page_alloc.c unsigned long nr_free = 0; nr_free 1638 mm/page_alloc.c deferred_free_range(pfn - nr_free, nr_free); nr_free 1639 mm/page_alloc.c nr_free = 0; nr_free 1641 mm/page_alloc.c deferred_free_range(pfn - nr_free, nr_free); nr_free 1642 mm/page_alloc.c nr_free = 1; nr_free 1645 mm/page_alloc.c nr_free++; nr_free 1649 mm/page_alloc.c deferred_free_range(pfn - nr_free, nr_free); nr_free 2482 mm/page_alloc.c if (area->nr_free == 0) nr_free 3457 mm/page_alloc.c if (!area->nr_free) nr_free 5412 mm/page_alloc.c nr[order] = area->nr_free; nr_free 6024 mm/page_alloc.c zone->free_area[order].nr_free = 0; nr_free 2429 mm/slub.c unsigned long nr_free; nr_free 2431 mm/slub.c nr_free = count_partial(n, count_free); nr_free 2436 mm/slub.c node, nr_slabs, nr_objs, nr_free); nr_free 5922 mm/slub.c unsigned long nr_free = 0; nr_free 5929 mm/slub.c nr_free += count_partial(n, count_free); nr_free 5932 mm/slub.c sinfo->active_objs = nr_objs - nr_free; nr_free 1034 mm/vmstat.c blocks = zone->free_area[order].nr_free; nr_free 1358 mm/vmstat.c seq_printf(m, "%6lu ", zone->free_area[order].nr_free); nr_free 290 tools/perf/builtin-kmem.c int nr_free; nr_free 905 tools/perf/builtin-kmem.c pstat->nr_free++; nr_free 913 tools/perf/builtin-kmem.c pstat->nr_free++; nr_free 2262 tools/perf/util/symbol-elf.c int nr_free = 0; nr_free 2269 tools/perf/util/symbol-elf.c nr_free++; nr_free 2271 tools/perf/util/symbol-elf.c return nr_free;