Home
last modified time | relevance | path

Searched refs:freed (Results 1 – 169 of 169) sorted by relevance

/linux-4.1.27/fs/ubifs/
Dshrinker.c95 int freed; in shrink_tnc() local
128 freed = ubifs_destroy_tnc_subtree(znode); in shrink_tnc()
129 atomic_long_sub(freed, &ubifs_clean_zn_cnt); in shrink_tnc()
130 atomic_long_sub(freed, &c->clean_zn_cnt); in shrink_tnc()
131 total_freed += freed; in shrink_tnc()
161 int freed = 0; in shrink_tnc_trees() local
199 freed += shrink_tnc(c, nr, age, contention); in shrink_tnc_trees()
210 if (freed >= nr) in shrink_tnc_trees()
214 return freed; in shrink_tnc_trees()
296 unsigned long freed; in ubifs_shrink_scan() local
[all …]
Dtnc.c2862 long n, freed; in ubifs_tnc_close() local
2865 freed = ubifs_destroy_tnc_subtree(c->zroot.znode); in ubifs_tnc_close()
2866 ubifs_assert(freed == n); in ubifs_tnc_close()
/linux-4.1.27/drivers/staging/octeon/
Dethernet-mem.c48 int freed = elements; in cvm_oct_fill_hw_skbuff() local
50 while (freed) { in cvm_oct_fill_hw_skbuff()
58 freed--; in cvm_oct_fill_hw_skbuff()
60 return elements - freed; in cvm_oct_fill_hw_skbuff()
103 int freed = elements; in cvm_oct_fill_hw_memory() local
105 while (freed) { in cvm_oct_fill_hw_memory()
125 freed--; in cvm_oct_fill_hw_memory()
127 return elements - freed; in cvm_oct_fill_hw_memory()
161 int freed; in cvm_oct_mem_fill_fpa() local
164 freed = cvm_oct_fill_hw_skbuff(pool, size, elements); in cvm_oct_mem_fill_fpa()
[all …]
/linux-4.1.27/include/trace/events/
Djbd.h146 unsigned long block_nr, unsigned long freed),
148 TP_ARGS(journal, first_tid, block_nr, freed),
155 __field(unsigned long, freed )
163 __entry->freed = freed;
169 __entry->block_nr, __entry->freed)
Djbd2.h315 unsigned long block_nr, unsigned long freed),
317 TP_ARGS(journal, first_tid, block_nr, freed),
324 __field(unsigned long, freed )
332 __entry->freed = freed;
338 __entry->block_nr, __entry->freed)
/linux-4.1.27/drivers/staging/android/ion/
Dion_page_pool.c119 int freed; in ion_page_pool_shrink() local
130 for (freed = 0; freed < nr_to_scan; freed++) { in ion_page_pool_shrink()
146 return freed; in ion_page_pool_shrink()
Dion_heap.c286 int freed = 0; in ion_heap_shrink_scan() local
297 freed = ion_heap_freelist_shrink(heap, to_scan * PAGE_SIZE) / in ion_heap_shrink_scan()
300 to_scan -= freed; in ion_heap_shrink_scan()
302 return freed; in ion_heap_shrink_scan()
305 freed += heap->ops->shrink(heap, sc->gfp_mask, to_scan); in ion_heap_shrink_scan()
306 return freed; in ion_heap_shrink_scan()
/linux-4.1.27/fs/jbd/
Dcheckpoint.c468 unsigned int blocknr, freed; in cleanup_journal_tail() local
527 freed = blocknr - journal->j_tail; in cleanup_journal_tail()
529 freed = freed + journal->j_last - journal->j_first; in cleanup_journal_tail()
531 trace_jbd_cleanup_journal_tail(journal, first_tid, blocknr, freed); in cleanup_journal_tail()
535 journal->j_tail_sequence, first_tid, blocknr, freed); in cleanup_journal_tail()
537 journal->j_free += freed; in cleanup_journal_tail()
561 int ret, freed = 0; in journal_clean_one_cp_list() local
575 freed++; in journal_clean_one_cp_list()
578 return freed; in journal_clean_one_cp_list()
589 return freed; in journal_clean_one_cp_list()
[all …]
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_shrinker.c230 unsigned long freed; in i915_gem_shrinker_scan() local
236 freed = i915_gem_shrink(dev_priv, in i915_gem_shrinker_scan()
241 if (freed < sc->nr_to_scan) in i915_gem_shrinker_scan()
242 freed += i915_gem_shrink(dev_priv, in i915_gem_shrinker_scan()
243 sc->nr_to_scan - freed, in i915_gem_shrinker_scan()
249 return freed; in i915_gem_shrinker_scan()
/linux-4.1.27/sound/soc/intel/atom/sst/
Dsst_ipc.c101 int sst_free_block(struct intel_sst_drv *ctx, struct sst_block *freed) in sst_free_block() argument
108 if (block == freed) { in sst_free_block()
109 pr_debug("pvt_id freed --> %d\n", freed->drv_id); in sst_free_block()
111 list_del(&freed->node); in sst_free_block()
113 kfree(freed->data); in sst_free_block()
114 freed->data = NULL; in sst_free_block()
115 kfree(freed); in sst_free_block()
Dsst.h511 int sst_free_block(struct intel_sst_drv *ctx, struct sst_block *freed);
/linux-4.1.27/net/sctp/
Dulpqueue.c976 __u16 freed = 0; in sctp_ulpq_renege_list() local
996 freed += skb_headlen(skb); in sctp_ulpq_renege_list()
1000 freed += skb_headlen(last); in sctp_ulpq_renege_list()
1014 if (freed >= needed) in sctp_ulpq_renege_list()
1015 return freed; in sctp_ulpq_renege_list()
1018 return freed; in sctp_ulpq_renege_list()
1084 __u16 needed, freed; in sctp_ulpq_renege() local
1094 freed = 0; in sctp_ulpq_renege()
1097 freed = sctp_ulpq_renege_order(ulpq, needed); in sctp_ulpq_renege()
1098 if (freed < needed) { in sctp_ulpq_renege()
[all …]
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dcmm.c235 unsigned long *freed = parm; in cmm_oom_notify() local
241 *freed += KB2PAGES(oom_kb) - nr; in cmm_oom_notify()
532 unsigned long freed = 0; in cmm_mem_going_offline() local
548 freed++; in cmm_mem_going_offline()
585 freed++; in cmm_mem_going_offline()
594 cmm_dbg("Released %ld pages in the search range.\n", freed); in cmm_mem_going_offline()
/linux-4.1.27/fs/nfsd/
Dnfscache.c242 long freed = 0; in prune_bucket() local
255 freed++; in prune_bucket()
257 return freed; in prune_bucket()
268 long freed = 0; in prune_cache_entries() local
277 freed += prune_bucket(b); in prune_cache_entries()
289 return freed; in prune_cache_entries()
/linux-4.1.27/fs/jbd2/
Dcheckpoint.c430 int freed = 0; in journal_clean_one_cp_list() local
444 return freed; in journal_clean_one_cp_list()
447 freed = 1; in journal_clean_one_cp_list()
455 return freed; in journal_clean_one_cp_list()
458 return freed; in journal_clean_one_cp_list()
Dcommit.c777 long freed = first_block - journal->j_tail; in jbd2_journal_commit_transaction() local
780 freed += journal->j_last - journal->j_first; in jbd2_journal_commit_transaction()
782 if (freed < journal->j_maxlen / 4) in jbd2_journal_commit_transaction()
Djournal.c890 unsigned long freed; in __jbd2_update_log_tail() local
906 freed = block - journal->j_tail; in __jbd2_update_log_tail()
908 freed += journal->j_last - journal->j_first; in __jbd2_update_log_tail()
910 trace_jbd2_update_log_tail(journal, tid, block, freed); in __jbd2_update_log_tail()
914 journal->j_tail_sequence, tid, block, freed); in __jbd2_update_log_tail()
916 journal->j_free += freed; in __jbd2_update_log_tail()
/linux-4.1.27/Documentation/trace/
Devents-kmem.txt56 When a page is freed directly by the caller, the only mm_page_free event
60 When pages are freed in batch, the also mm_page_free_batched is triggered.
62 freed in batch with a page list. Significant amounts of activity here could
80 When the per-CPU list is too full, a number of pages are freed, each one
91 can be allocated and freed on the same CPU through some algorithm change.
Dtracepoint-analysis.txt204 are freed to the main allocator from the per-CPU lists, it recognises
Dftrace.txt166 should be shrunk "freed" when the process is finished, even
172 will be "freed".
2075 being freed unexpectedly).
/linux-4.1.27/Documentation/networking/
Dnetdevices.txt14 If device has registered successfully, it will be freed on last use
19 private data which gets freed when the network device is freed. If
Ddriver.txt73 to be freed up.
Drxrpc.txt799 freed.
829 update the ACK state for the call. The socket buffer will be freed.
Dtimestamping.txt452 adds the timestamps, therefore the original skb has to be freed now.
Dpacket_mmap.txt367 All memory allocations are not freed until the socket is closed. The memory
/linux-4.1.27/net/sunrpc/
Dauth.c456 long freed = 0; in rpcauth_prune_expired() local
472 freed++; in rpcauth_prune_expired()
485 return freed; in rpcauth_prune_expired()
492 unsigned long freed; in rpcauth_cache_do_shrink() local
495 freed = rpcauth_prune_expired(&free, nr_to_scan); in rpcauth_cache_do_shrink()
499 return freed; in rpcauth_cache_do_shrink()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dtx.c1144 int freed; in iwlagn_rx_reply_tx() local
1198 freed = 0; in iwlagn_rx_reply_tx()
1245 freed++; in iwlagn_rx_reply_tx()
1255 if (!is_agg && freed != 1) in iwlagn_rx_reply_tx()
1256 IWL_ERR(priv, "Q: %d, freed %d\n", txq_id, freed); in iwlagn_rx_reply_tx()
1297 int freed; in iwlagn_rx_reply_compressed_ba() local
1377 freed = 0; in iwlagn_rx_reply_compressed_ba()
1384 freed++; in iwlagn_rx_reply_compressed_ba()
1397 if (freed == 1) { in iwlagn_rx_reply_compressed_ba()
/linux-4.1.27/drivers/char/agp/
Defficeon-agp.c160 int index, freed = 0; in efficeon_free_gatt_table() local
168 freed++; in efficeon_free_gatt_table()
175 printk(KERN_DEBUG PFX "efficeon_free_gatt_table() freed %d pages\n", freed); in efficeon_free_gatt_table()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-kernel-slab168 has been deactivated and contained free objects that were freed
201 slabs (not objects) are freed by rcu.
210 been freed in a full slab so that it had to added to its node's
230 The free_fastpath file shows how many objects have been freed
241 The free_frozen file shows how many objects have been freed to
253 been freed to a now-empty slab so that it had to be removed from
265 freed back to the page allocator. It can be written to clear
275 The free_slowpath file shows how many objects have been freed
433 a cache. Empty partial slabs are freed and the partial list is
Dsysfs-block-zram81 scenario it may account a) the number of pages freed because
82 of swap slot free notifications or b) the number of pages freed
84 are sent to a swap block device when a swap slot is freed, which
/linux-4.1.27/Documentation/ABI/obsolete/
Dsysfs-block-zram46 scenario it may account a) the number of pages freed because
47 of swap slot free notifications or b) the number of pages freed
49 are sent to a swap block device when a swap slot is freed, which
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_cq.c486 int *freed, in mthca_poll_one() argument
655 ++(*freed); in mthca_poll_one()
670 int freed = 0; in mthca_poll_cq() local
679 &freed, entry + npolled); in mthca_poll_cq()
685 if (freed) { in mthca_poll_cq()
687 update_cons_index(dev, cq, freed); in mthca_poll_cq()
/linux-4.1.27/drivers/zorro/
DKconfig11 15KB, but it gets freed after the system boots up, so it doesn't
/linux-4.1.27/arch/arm64/mm/
Ddma-mapping.c125 bool freed; in __dma_free_coherent() local
133 freed = dma_release_from_contiguous(dev, in __dma_free_coherent()
136 if (!freed) in __dma_free_coherent()
/linux-4.1.27/arch/m68k/kernel/
Dvmlinux-sun3.lds34 /* will be freed after init */
Dvmlinux-std.lds38 /* will be freed after init */
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_vm.c512 list_add(&tmp->vm_status, &vm->freed); in radeon_vm_bo_set_addr()
1051 while (!list_empty(&vm->freed)) { in radeon_vm_clear_freed()
1052 bo_va = list_first_entry(&vm->freed, in radeon_vm_clear_freed()
1129 list_add(&bo_va->vm_status, &vm->freed); in radeon_vm_bo_rmv()
1188 INIT_LIST_HEAD(&vm->freed); in radeon_vm_init()
1244 list_for_each_entry_safe(bo_va, tmp, &vm->freed, vm_status) { in radeon_vm_fini()
Dradeon.h943 struct list_head freed; member
/linux-4.1.27/drivers/md/
Ddm-bufio.c1521 unsigned long freed = 0; in __scan() local
1528 freed++; in __scan()
1529 if (!--nr_to_scan || ((count - freed) <= retain_target)) in __scan()
1530 return freed; in __scan()
1534 return freed; in __scan()
1541 unsigned long freed; in dm_bufio_shrink_scan() local
1549 freed = __scan(c, sc->nr_to_scan, sc->gfp_mask); in dm_bufio_shrink_scan()
1551 return freed; in dm_bufio_shrink_scan()
/linux-4.1.27/mm/
Dvmscan.c240 unsigned long freed = 0; in do_shrink_slab() local
323 freed += ret; in do_shrink_slab()
342 trace_mm_shrink_slab_end(shrinker, nid, freed, nr, new_nr, total_scan); in do_shrink_slab()
343 return freed; in do_shrink_slab()
381 unsigned long freed = 0; in shrink_slab() local
396 freed = 1; in shrink_slab()
413 freed += do_shrink_slab(&sc, shrinker, nr_scanned, nr_eligible); in shrink_slab()
419 return freed; in shrink_slab()
424 unsigned long freed; in drop_slab_node() local
429 freed = 0; in drop_slab_node()
[all …]
Doom_kill.c713 unsigned long freed = 0; in __out_of_memory() local
718 blocking_notifier_call_chain(&oom_notify_list, 0, &freed); in __out_of_memory()
719 if (freed > 0) in __out_of_memory()
Dshmem.c237 long freed; in shmem_recalc_inode() local
239 freed = info->alloced - info->swapped - inode->i_mapping->nrpages; in shmem_recalc_inode()
240 if (freed > 0) { in shmem_recalc_inode()
243 percpu_counter_add(&sbinfo->used_blocks, -freed); in shmem_recalc_inode()
244 info->alloced -= freed; in shmem_recalc_inode()
245 inode->i_blocks -= freed * BLOCKS_PER_PAGE; in shmem_recalc_inode()
246 shmem_unacct_blocks(info->flags, freed); in shmem_recalc_inode()
Dhugetlb.c3650 void hugetlb_unreserve_pages(struct inode *inode, long offset, long freed) in hugetlb_unreserve_pages() argument
3661 inode->i_blocks -= (blocks_per_huge_page(h) * freed); in hugetlb_unreserve_pages()
3668 gbl_reserve = hugepage_subpool_put_pages(spool, (chg - freed)); in hugetlb_unreserve_pages()
Dslab.c3900 int freed; in cache_reap() local
3902 freed = drain_freelist(searchp, n, (n->free_limit + in cache_reap()
3904 STATS_ADD_REAPED(searchp, freed); in cache_reap()
/linux-4.1.27/fs/xfs/
Dxfs_buf_item.c419 int freed; in xfs_buf_item_unpin() local
426 freed = atomic_dec_and_test(&bip->bli_refcount); in xfs_buf_item_unpin()
431 if (freed && stale) { in xfs_buf_item_unpin()
475 } else if (freed && remove) { in xfs_buf_item_unpin()
Dxfs_buf.c1604 unsigned long freed; in xfs_buftarg_shrink_scan() local
1606 freed = list_lru_shrink_walk(&btp->bt_lru, sc, in xfs_buftarg_shrink_scan()
1616 return freed; in xfs_buftarg_shrink_scan()
Dxfs_qm.c525 unsigned long freed; in xfs_qm_shrink_scan() local
534 freed = list_lru_shrink_walk(&qi->qi_lru, sc, in xfs_qm_shrink_scan()
549 return freed; in xfs_qm_shrink_scan()
/linux-4.1.27/Documentation/vm/
Dhugetlbpage.txt56 returned to the huge page pool when freed by a task. A user with root
121 unused, they are freed back to the kernel's normal page pool.
132 Any free huge pages on the selected nodes will be freed back to the kernel's
140 increased sufficiently, or the surplus huge pages go out of use and are freed--
170 Whether huge pages are allocated and freed via the /proc interface or
172 nodes from which huge pages are allocated or freed are controlled by the
190 allocated nor freed on any node not included in the specified <node-list>.
291 to the filesystem and freed, the reserve count is adjusted so that the sum
Dzswap.txt42 pages are freed. The pool is not preallocated.
Dslub.txt199 INFO: Freed in <kernel function> age=<jiffies since free> cpu=<freed by cpu>
238 allocated or freed the object.
Dpage_migration87 is increased so that the page cannot be freed while page migration occurs.
Dnuma_memory_policy.txt327 changed nor freed, once the system is up and running.
340 freed out from under us while we're using it for page allocation.
Dcleancache.txt249 invalidated the pages when the inode kva was freed, much of the value
Dtranshuge.txt235 freed a huge page for use.
Dunevictable-lru.txt448 page on failure - will be freed when the reference count held by the migration
/linux-4.1.27/arch/x86/xen/
DKconfig33 portions of which are freed.
/linux-4.1.27/drivers/virtio/
Dvirtio_balloon.c329 unsigned long *freed; in virtballoon_oom_notify() local
336 freed = parm; in virtballoon_oom_notify()
339 *freed += num_freed_pages; in virtballoon_oom_notify()
/linux-4.1.27/Documentation/
Dpercpu-rw-semaphore.txt20 The lock must be freed with percpu_free_rwsem to avoid memory leak.
Dkmemleak.txt10 with the difference that the orphan objects are not freed but only
61 Memory may be allocated or freed before kmemleak is initialised and
131 won't be freed when kmemleak is disabled, and those objects may occupy
199 block doesn't need to be freed (some cases in the init_call functions),
Dassoc_array.txt98 script has been applied so that they can be freed later. The freeing is done
208 new object and the old one will be freed automatically.
280 returns false, the object will be freed. If the iterator() function
529 The metadata blocks don't change otherwise. An old leaf won't be freed
533 metadata blocks don't change otherwise. The old leaf won't be freed until
572 Obsolete blocks and leaves are freed up after an RCU grace period has passed,
Dkasan.txt129 partially accessible, freed or they can be part of a redzone.
135 inaccessible memory like redzones or freed memory (see mm/kasan/kasan.h).
Dio-mapping.txt59 At driver close time, the io_mapping object must be freed:
Dkmemcheck.txt298 warn about writes to unallocated or freed memory as well), it was probably the
488 f - freed (memory has been allocated by the slab layer, but has been freed
736 be freed. This allows kmemcheck to set up and tear down the shadow memory
743 "recently freed".
Ddell_rbu.txt25 If the dell_rbu driver is unloaded all the allocated memory is freed.
Dflexible-arrays.txt104 The return value will be the number of pages of memory actually freed.
Dmedia-framework.txt153 entity. Note that the media_entity instance itself must be freed explicitly by
260 required and the graph structure can be freed normally.
Dphy.txt86 the the devres data and devres data is freed. phy_optional_get and
Dinitrd.txt71 as the last process has closed it, all data is freed and /dev/initrd
247 disk can be freed:
Dkref.txt251 otherwise kref_get_unless_zero may reference already freed memory.
DDMA-API.txt124 were returned when that routine allocated the memory being freed.
130 called in a context which can sleep. Make sure you've freed all allocated
Dmemory-hotplug.txt293 the memory block includes memory which cannot be freed.
Dkobject.txt248 The end result is that a structure protected by a kobject cannot be freed
Dkernel-parameters.txt670 when they are freed. This is used in CMO environments
/linux-4.1.27/fs/
Dsuper.c61 long freed = 0; in super_cache_scan() local
99 freed = prune_dcache_sb(sb, sc); in super_cache_scan()
101 freed += prune_icache_sb(sb, sc); in super_cache_scan()
105 freed += sb->s_op->free_cached_objects(sb, sc); in super_cache_scan()
109 return freed; in super_cache_scan()
Dmbcache.c254 unsigned long freed = 0; in mb_cache_shrink_scan() local
285 freed++; in mb_cache_shrink_scan()
287 return freed; in mb_cache_shrink_scan()
Ddcache.c1084 long freed; in prune_dcache_sb() local
1086 freed = list_lru_shrink_walk(&sb->s_dentry_lru, sc, in prune_dcache_sb()
1089 return freed; in prune_dcache_sb()
1122 long freed; in shrink_dcache_sb() local
1127 freed = list_lru_walk(&sb->s_dentry_lru, in shrink_dcache_sb()
1130 this_cpu_sub(nr_dentry_unused, freed); in shrink_dcache_sb()
1132 } while (freed > 0); in shrink_dcache_sb()
Dinode.c746 long freed; in prune_icache_sb() local
748 freed = list_lru_shrink_walk(&sb->s_inode_lru, sc, in prune_icache_sb()
751 return freed; in prune_icache_sb()
/linux-4.1.27/sound/pci/lx6464es/
Dlx6464es.c440 u32 needed, freed; in lx_trigger_start() local
446 err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, in lx_trigger_start()
449 needed, freed); in lx_trigger_start()
460 err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, size_array); in lx_trigger_start()
461 dev_dbg(chip->card->dev, "starting: needed %d, freed %d\n", needed, freed); in lx_trigger_start()
Dlx_core.c1056 u32 needed, freed; in lx_interrupt_request_new_buffer() local
1063 err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, size_array); in lx_interrupt_request_new_buffer()
1065 "interrupt: needed %d, freed %d\n", needed, freed); in lx_interrupt_request_new_buffer()
/linux-4.1.27/fs/ext2/
Dballoc.c489 unsigned freed = 0, group_freed; in ext2_free_blocks() local
553 freed += group_freed; in ext2_free_blocks()
562 if (freed) { in ext2_free_blocks()
563 percpu_counter_add(&sbi->s_freeblocks_counter, freed); in ext2_free_blocks()
564 dquot_free_block_nodirty(inode, freed); in ext2_free_blocks()
/linux-4.1.27/drivers/staging/android/
Dashmem.c438 unsigned long freed = 0; in ashmem_shrink_scan() local
455 freed += range_size(range); in ashmem_shrink_scan()
460 return freed; in ashmem_shrink_scan()
/linux-4.1.27/Documentation/filesystems/
Dfiles.txt31 structure is freed with RCU and lock-free readers either
88 /* Didn't get the reference, someone's freed */
Djfs.txt41 nodiscard(*) block device when blocks are freed. This is useful for SSD
Dnilfs2.txt80 block device when blocks are freed. This is useful
Dbtrfs.txt105 freed by the filesystem.
Dxfs.txt64 device reclaim space freed by the filesystem. This is
Dvfat.txt150 device when blocks are freed. This is useful for SSD devices
Dramfs-rootfs-initramfs.txt24 This means the pages are never marked clean, so they can't be freed by the
Dpath-lookup.txt203 Inodes are also rcu freed, so the seqcount lookup dentry's inode may also be
DLocking352 to block. Leases however can still be freed while the i_lock is held and
Drelay.txt138 buffer open, the channel buffer is freed.
Dext4.txt346 blocks are freed. This is useful for SSD devices
Dxfs-delayed-logging-design.txt420 re-using a freed metadata extent for a data extent), a special, optimised log
Dcoda.txt1659 6. All memory held by cnodes can be freed without relying on upcalls.
Dvfs.txt718 that the page should be freed if possible. ->releasepage
/linux-4.1.27/arch/s390/mm/
Dcmm.c130 unsigned long *freed = parm; in cmm_oom_notify() local
138 *freed += 256 - nr; in cmm_oom_notify()
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_page_alloc.c403 unsigned long freed = 0; in ttm_pool_shrink_scan() local
416 freed += nr_free - shrink_pages; in ttm_pool_shrink_scan()
419 return freed; in ttm_pool_shrink_scan()
Dttm_page_alloc_dma.c1017 unsigned long freed = 0; in ttm_dma_pool_shrink_scan() local
1040 freed += nr_free - shrink_pages; in ttm_dma_pool_shrink_scan()
1048 return freed; in ttm_dma_pool_shrink_scan()
/linux-4.1.27/Documentation/driver-model/
Ddevres.txt53 devres entry is freed.
98 freed whether initialization fails half-way or the device gets
199 when it is released or destroyed (removed and freed) - no reference
/linux-4.1.27/scripts/coccinelle/free/
Ddevm_free.cocci2 /// functions. Values allocated using the devm_functions are freed when
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtx.c937 int sta_id, tid, freed; in iwl_mvm_rx_ba_notif() local
1000 freed = 0; in iwl_mvm_rx_ba_notif()
1007 freed++; in iwl_mvm_rx_ba_notif()
1022 if (freed == 1) in iwl_mvm_rx_ba_notif()
/linux-4.1.27/drivers/eisa/
DKconfig48 image by about 40KB, but it gets freed after the system
/linux-4.1.27/arch/s390/oprofile/
Dhwsampler.c481 unsigned long *freed; in hws_oom_callback() local
485 freed = parm; in hws_oom_callback()
493 *freed += deallocate_sdbt(); in hws_oom_callback()
/linux-4.1.27/fs/ext3/
Dballoc.c1926 ext3_grpblk_t next, free_blocks, bit, freed, count = 0; in ext3_trim_all_free() local
2006 freed = 0; in ext3_trim_all_free()
2020 freed++; in ext3_trim_all_free()
2026 le16_add_cpu(&gdp->bg_free_blocks_count, freed); in ext3_trim_all_free()
2028 percpu_counter_add(&sbi->s_freeblocks_counter, freed); in ext3_trim_all_free()
/linux-4.1.27/Documentation/blackfin/
Dbfin-gpio-notes.txt47 Once a pin is requested, it can't be requested again before it is freed by
/linux-4.1.27/Documentation/usb/
Danchors.txt23 freed with normal memory management operations.
DURB.txt190 none of this is necessary if there's no danger of the URB being freed
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-devices-node85 will be compacted. When it completes, memory will be freed
/linux-4.1.27/fs/ocfs2/dlm/
Ddlmrecovery.c2244 unsigned int freed = 0; in dlm_free_dead_locks() local
2263 freed++; in dlm_free_dead_locks()
2272 freed++; in dlm_free_dead_locks()
2281 freed++; in dlm_free_dead_locks()
2285 if (freed) { in dlm_free_dead_locks()
2288 res->lockname.len, res->lockname.name, freed, dead_node); in dlm_free_dead_locks()
2292 res->lockname.len, res->lockname.name, freed, dead_node); in dlm_free_dead_locks()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_pool.c1109 unsigned long freed = 0; in ldlm_pools_scan() local
1145 freed += ldlm_pool_shrink(&ns->ns_pool, cancel, gfp_mask); in ldlm_pools_scan()
1153 return (client == LDLM_NAMESPACE_SERVER) ? SHRINK_STOP : freed; in ldlm_pools_scan()
/linux-4.1.27/fs/hugetlbfs/
Dinode.c311 int i, freed = 0; in truncate_hugepages() local
332 freed++; in truncate_hugepages()
337 hugetlb_unreserve_pages(inode, start, freed); in truncate_hugepages()
/linux-4.1.27/fs/f2fs/
Dnode.c647 int freed = 0; in truncate_nodes() local
663 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()
690 freed = child_nofs; in truncate_nodes()
697 freed++; in truncate_nodes()
701 trace_f2fs_truncate_nodes_exit(dn->inode, freed); in truncate_nodes()
702 return freed; in truncate_nodes()
Dsegment.h460 static inline bool has_not_enough_free_secs(struct f2fs_sb_info *sbi, int freed) in has_not_enough_free_secs() argument
468 return (free_sections(sbi) + freed) <= (node_secs + 2 * dent_secs + in has_not_enough_free_secs()
/linux-4.1.27/Documentation/RCU/
Drcuref.txt113 element can therefore safely be freed. This in turn guarantees that if
DarrayRCU.txt124 /* ipc_rmid() may have already freed the ID while ipc_lock
DUP.txt24 from softirq, the list scan would find itself referencing a newly freed
Dtorture.txt283 incremented once per grace period subsequently -- and is freed
Dchecklist.txt48 could result in data being unceremoniously freed out from
/linux-4.1.27/Documentation/fb/
Dep93xx-fb.txt128 address has bit 27 set. If it does, then the memory is freed and an
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D4965.h47 int freed);
D4965-mac.c1064 il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid, int freed) in il4965_free_tfds_in_queue() argument
1068 if (il->stations[sta_id].tid[tid].tfds_in_queue >= freed) in il4965_free_tfds_in_queue()
1069 il->stations[sta_id].tid[tid].tfds_in_queue -= freed; in il4965_free_tfds_in_queue()
1072 il->stations[sta_id].tid[tid].tfds_in_queue, freed); in il4965_free_tfds_in_queue()
2790 int freed; in il4965_hdl_tx() local
2851 freed = il4965_tx_queue_reclaim(il, txq_id, idx); in il4965_hdl_tx()
2854 freed); in il4965_hdl_tx()
2874 freed = il4965_tx_queue_reclaim(il, txq_id, idx); in il4965_hdl_tx()
2876 il4965_free_tfds_in_queue(il, sta_id, tid, freed); in il4965_hdl_tx()
2985 int freed = il4965_tx_queue_reclaim(il, scd_flow, idx); in il4965_hdl_compressed_ba() local
[all …]
/linux-4.1.27/Documentation/filesystems/pohmelfs/
Dinfo.txt20 inodes marked to be dropped are freed. It also specifies how frequently
/linux-4.1.27/Documentation/sound/alsa/soc/
Dcodec.txt165 when the mute is applied or freed.
/linux-4.1.27/drivers/net/ethernet/pasemi/
Dpasemi_mac.c560 int freed, nfrags; in pasemi_mac_free_tx_resources() local
570 for (i = start; i < limit; i += freed) { in pasemi_mac_free_tx_resources()
577 freed = pasemi_mac_unmap_tx_skb(mac, nfrags, in pasemi_mac_free_tx_resources()
580 freed = 2; in pasemi_mac_free_tx_resources()
/linux-4.1.27/drivers/md/bcache/
Dbtree.c667 unsigned long freed = 0; in bch_mca_scan() local
693 if (freed >= nr) in bch_mca_scan()
700 freed++; in bch_mca_scan()
716 freed++; in bch_mca_scan()
722 return freed; in bch_mca_scan()
/linux-4.1.27/include/linux/
Dhugetlb.h83 void hugetlb_unreserve_pages(struct inode *inode, long offset, long freed);
Djbd.h266 BUFFER_FNS(Freed, freed)
Djbd2.h335 BUFFER_FNS(Freed, freed)
/linux-4.1.27/Documentation/x86/
Dpat.txt103 before the page is freed to free pool.
Dintel_mpx.txt59 6) Whenever memory is freed, we know that it can no longer contain valid
205 in the virtual address region which is being unmapped will be freed also.
/linux-4.1.27/drivers/uio/
DKconfig53 memory is freed once the uio device is closed.
/linux-4.1.27/Documentation/virtual/kvm/
Dlocking.txt64 - We have held the refcount of pfn that means the pfn can not be freed and
/linux-4.1.27/fs/gfs2/
Dquota.c170 unsigned long freed; in gfs2_qd_shrink_scan() local
175 freed = list_lru_shrink_walk(&gfs2_qd_lru, sc, in gfs2_qd_shrink_scan()
180 return freed; in gfs2_qd_shrink_scan()
Dglock.c1412 long freed = 0; in gfs2_scan_glock_lru() local
1422 freed++; in gfs2_scan_glock_lru()
1433 return freed; in gfs2_scan_glock_lru()
/linux-4.1.27/Documentation/block/
Dbiovecs.txt77 Care must be taken to ensure the biovec isn't freed while the split bio is
Ddata-integrity.txt222 The integrity payload will be freed at bio_free() time.
Dbiodoc.txt604 On a free, memory is released to the pool or directly freed depending on
632 i/o is issued (since the bio may otherwise get freed in case i/o completion
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c1870 unsigned long remain = sc->nr_to_scan, freed = 0; in lu_cache_shrink_scan() local
1889 freed = lu_site_purge(&lu_shrink_env, s, remain); in lu_cache_shrink_scan()
1890 remain -= freed; in lu_cache_shrink_scan()
/linux-4.1.27/Documentation/locking/
Dmutex-design.txt97 - Memory areas where held locks reside must not be freed.
/linux-4.1.27/lib/
DKconfig.debug400 bool "Debug objects in freed memory"
451 allocation as well as poisoning memory on free to catch use of freed
498 difference being that the orphan objects are not freed but
518 freed before kmemleak is initialised, an early log buffer is
962 mutex or rwsem) is incorrectly freed by the kernel, via any of the
1120 the memory backing the kobject can be immediately freed. This
1668 This code (~1k) is freed after boot. By then, the firewire stack
/linux-4.1.27/fs/jffs2/
DREADME.Locking15 obtained during space allocations (jffs2_reserve_space()) and freed
/linux-4.1.27/Documentation/scsi/
Dscsi_mid_low_api.txt185 by the mid-level. struct Scsi_Host instances are freed from
228 struct scsi_device instances are freed after slave_destroy().
320 is freed
540 * latter refcount reaches 0, the Scsi_Host instance is freed.
542 * freed, it just shouldn't access the instance after it has balanced
1158 * by this driver for given device should be freed now. No further
DChangeLog.lpfc355 freed (after nodev tmo). This bug was causing i/o received in
538 * Fixed discovery bug: plogi cmpl uses ndlp after its freed.
540 after its freed.
1524 state machine functions if the node is freed from the
1651 This ndlp structure was freed from lpfc_els_unsol_event.
/linux-4.1.27/fs/jfs/
Djfs_xtree.c3181 int freed, log; in xtTruncate() local
3275 freed = 0; in xtTruncate()
3423 freed = 1; in xtTruncate()
3492 if (freed == 0) { in xtTruncate()
/linux-4.1.27/drivers/net/fddi/
Ddefxx.c3493 int freed = 0; /* buffers freed */ in dfx_xmt_done() local
3529 freed++; in dfx_xmt_done()
3531 return freed; in dfx_xmt_done()
/linux-4.1.27/fs/nfs/
Ddir.c2120 long freed = 0; in nfs_do_access_cache_scan() local
2136 freed++; in nfs_do_access_cache_scan()
2151 return freed; in nfs_do_access_cache_scan()
/linux-4.1.27/fs/ext4/
Dmballoc.c4377 int freed = 0; in ext4_mb_discard_preallocations() local
4382 freed += ret; in ext4_mb_discard_preallocations()
4386 return freed; in ext4_mb_discard_preallocations()
4397 int freed; in ext4_mb_new_blocks() local
4507 freed = ext4_mb_discard_preallocations(sb, ac->ac_o_ex.fe_len); in ext4_mb_new_blocks()
4508 if (freed) in ext4_mb_new_blocks()
/linux-4.1.27/fs/quota/
Ddquot.c700 unsigned long freed = 0; in dqcache_shrink_scan() local
711 freed++; in dqcache_shrink_scan()
715 return freed; in dqcache_shrink_scan()
/linux-4.1.27/drivers/net/ethernet/agere/
Det131x.c2698 u32 freed = 0; in et131x_free_busy_send_packets() local
2706 while (tcb != NULL && freed < NUM_TCB) { in et131x_free_busy_send_packets()
2718 freed++; in et131x_free_busy_send_packets()
2726 WARN_ON(freed == NUM_TCB); in et131x_free_busy_send_packets()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbgmac.c245 bool freed = false; in bgmac_dma_tx_free() local
285 freed = true; in bgmac_dma_tx_free()
/linux-4.1.27/kernel/trace/
DKconfig631 Normally, the mapping of the strings to values will be freed after
632 boot up or module load. With this option, they will not be freed, as
/linux-4.1.27/Documentation/s390/
Ds390dbf.txt513 the debug feature. If you log a string that is freed afterwards, you will get
515 access the already freed memory.
DDebugging390.txt417 of extra space on the callers stack which is obviously freed
/linux-4.1.27/Documentation/power/
Dsuspend-and-cpuhotplug.txt236 the existing copy of microcode image in the kernel is not freed up.
Dfreezing-of-tasks.txt116 after the memory for the image has been freed, we don't want tasks to allocate
Ddevices.txt467 been freed.
Dpci.txt548 The freezing of devices is carried out after enough memory has been freed (at
/linux-4.1.27/Documentation/filesystems/caching/
Dobject.txt212 lookup data is freed.
Dbackend-api.txt349 be freed when all the references to it are released.
/linux-4.1.27/Documentation/gpio/
Dconsumer.txt335 GPIO descriptor has not been freed. All the same, a GPIO number passed to
/linux-4.1.27/arch/x86/kvm/
Dmmu.c4716 unsigned long freed = 0; in mmu_shrink_scan() local
4752 freed++; in mmu_shrink_scan()
4769 return freed; in mmu_shrink_scan()
/linux-4.1.27/Documentation/cgroups/
Dmemory.txt181 are really freed. Such SwapCaches are also accounted.
436 remain charged to it, the charge is dropped when the page is freed or
/linux-4.1.27/Documentation/powerpc/
Dhvcs.txt406 currently open connection is freed.
/linux-4.1.27/Documentation/filesystems/cifs/
DCHANGES648 protocol response. Fix oops in reopen_file when dentry freed. Allow
891 previously freed socket.
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1242 u32 occup, to_free, freed, freed_start; in bnx2x_pbf_pN_cmd_flushed() local
1246 freed = freed_start = REG_RD(bp, regs->lines_freed); in bnx2x_pbf_pN_cmd_flushed()
1249 DP(BNX2X_MSG_SP, "LINES_FREED[%d] : s:%x\n", regs->pN, freed); in bnx2x_pbf_pN_cmd_flushed()
1251 while (occup && ((u32)SUB_S32(freed, freed_start) < to_free)) { in bnx2x_pbf_pN_cmd_flushed()
1255 freed = REG_RD(bp, regs->lines_freed); in bnx2x_pbf_pN_cmd_flushed()
1262 regs->pN, freed); in bnx2x_pbf_pN_cmd_flushed()
/linux-4.1.27/Documentation/sysctl/
Dvm.txt201 To increase the number of objects freed by this operation, the user may run
/linux-4.1.27/Documentation/video4linux/
Dv4l2-framework.txt1006 memory can be freed.
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic79xx.seq1486 * that a FIFO will be freed to handle snapshot requests for
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3779 is getting freed even its marked as reserved.