Home
last modified time | relevance | path

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

/linux-4.4.14/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.c2861 long n, freed; in ubifs_tnc_close() local
2864 freed = ubifs_destroy_tnc_subtree(c->zroot.znode); in ubifs_tnc_close()
2865 ubifs_assert(freed == n); in ubifs_tnc_close()
/linux-4.4.14/drivers/staging/octeon/
Dethernet-mem.c32 int freed = elements; in cvm_oct_fill_hw_skbuff() local
34 while (freed) { in cvm_oct_fill_hw_skbuff()
42 freed--; in cvm_oct_fill_hw_skbuff()
44 return elements - freed; in cvm_oct_fill_hw_skbuff()
87 int freed = elements; in cvm_oct_fill_hw_memory() local
89 while (freed) { in cvm_oct_fill_hw_memory()
109 freed--; in cvm_oct_fill_hw_memory()
111 return elements - freed; in cvm_oct_fill_hw_memory()
145 int freed; in cvm_oct_mem_fill_fpa() local
148 freed = cvm_oct_fill_hw_skbuff(pool, size, elements); in cvm_oct_mem_fill_fpa()
[all …]
/linux-4.4.14/fs/f2fs/
Dshrinker.c81 unsigned long freed = 0; in f2fs_shrink_scan() local
104 freed += f2fs_shrink_extent_tree(sbi, nr >> 1); in f2fs_shrink_scan()
107 if (freed < nr) in f2fs_shrink_scan()
108 freed += try_to_free_nats(sbi, nr - freed); in f2fs_shrink_scan()
111 if (freed < nr) in f2fs_shrink_scan()
112 freed += try_to_free_nids(sbi, nr - freed); in f2fs_shrink_scan()
118 if (freed >= nr) in f2fs_shrink_scan()
122 return freed; in f2fs_shrink_scan()
Dsegment.h473 static inline bool has_not_enough_free_secs(struct f2fs_sb_info *sbi, int freed) in has_not_enough_free_secs() argument
481 return (free_sections(sbi) + freed) <= (node_secs + 2 * dent_secs + in has_not_enough_free_secs()
Dnode.c655 int freed = 0; in truncate_nodes() local
671 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()
698 freed = child_nofs; in truncate_nodes()
705 freed++; in truncate_nodes()
709 trace_f2fs_truncate_nodes_exit(dn->inode, freed); in truncate_nodes()
710 return freed; in truncate_nodes()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_shrinker.c241 unsigned long freed; in i915_gem_shrinker_scan() local
247 freed = i915_gem_shrink(dev_priv, in i915_gem_shrinker_scan()
252 if (freed < sc->nr_to_scan) in i915_gem_shrinker_scan()
253 freed += i915_gem_shrink(dev_priv, in i915_gem_shrinker_scan()
254 sc->nr_to_scan - freed, in i915_gem_shrinker_scan()
260 return freed; in i915_gem_shrinker_scan()
/linux-4.4.14/drivers/staging/android/ion/
Dion_page_pool.c119 int freed = 0; in ion_page_pool_shrink() local
130 while (freed < nr_to_scan) { in ion_page_pool_shrink()
144 freed += (1 << pool->order); in ion_page_pool_shrink()
147 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.4.14/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.4.14/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.4.14/include/trace/events/
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.4.14/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.4.14/fs/nfsd/
Dnfscache.c230 long freed = 0; in prune_bucket() local
243 freed++; in prune_bucket()
245 return freed; in prune_bucket()
256 long freed = 0; in prune_cache_entries() local
264 freed += prune_bucket(b); in prune_cache_entries()
267 return freed; in prune_cache_entries()
/linux-4.4.14/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".
2111 being freed unexpectedly).
/linux-4.4.14/Documentation/sound/alsa/
DJack-Controls.txt26 Those kcontrols will be freed automatically when the Jack is freed.
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dkeys.c143 int freed = 0; in hfi1_free_lkey() local
155 freed++; in hfi1_free_lkey()
158 if (freed) { in hfi1_free_lkey()
/linux-4.4.14/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.txt459 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.4.14/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.4.14/drivers/net/wireless/iwlwifi/dvm/
Dtx.c1143 int freed; in iwlagn_rx_reply_tx() local
1197 freed = 0; in iwlagn_rx_reply_tx()
1244 freed++; in iwlagn_rx_reply_tx()
1254 if (!is_agg && freed != 1) in iwlagn_rx_reply_tx()
1255 IWL_ERR(priv, "Q: %d, freed %d\n", txq_id, freed); in iwlagn_rx_reply_tx()
1293 int freed; in iwlagn_rx_reply_compressed_ba() local
1373 freed = 0; in iwlagn_rx_reply_compressed_ba()
1380 freed++; in iwlagn_rx_reply_compressed_ba()
1393 if (freed == 1) { in iwlagn_rx_reply_compressed_ba()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/zorro/
DKconfig11 15KB, but it gets freed after the system boots up, so it doesn't
/linux-4.4.14/mm/
Doom_kill.c677 unsigned long freed = 0; in out_of_memory() local
684 blocking_notifier_call_chain(&oom_notify_list, 0, &freed); in out_of_memory()
685 if (freed > 0) in out_of_memory()
Dvmscan.c271 unsigned long freed = 0; in do_shrink_slab() local
354 freed += ret; in do_shrink_slab()
373 trace_mm_shrink_slab_end(shrinker, nid, freed, nr, new_nr, total_scan); in do_shrink_slab()
374 return freed; in do_shrink_slab()
412 unsigned long freed = 0; in shrink_slab() local
427 freed = 1; in shrink_slab()
444 freed += do_shrink_slab(&sc, shrinker, nr_scanned, nr_eligible); in shrink_slab()
450 return freed; in shrink_slab()
455 unsigned long freed; in drop_slab_node() local
460 freed = 0; in drop_slab_node()
[all …]
Dshmem.c239 long freed; in shmem_recalc_inode() local
241 freed = info->alloced - info->swapped - inode->i_mapping->nrpages; in shmem_recalc_inode()
242 if (freed > 0) { in shmem_recalc_inode()
245 percpu_counter_add(&sbinfo->used_blocks, -freed); in shmem_recalc_inode()
246 info->alloced -= freed; in shmem_recalc_inode()
247 inode->i_blocks -= freed * BLOCKS_PER_PAGE; in shmem_recalc_inode()
248 shmem_unacct_blocks(info->flags, freed); in shmem_recalc_inode()
Dslab.c3904 int freed; in cache_reap() local
3906 freed = drain_freelist(searchp, n, (n->free_limit + in cache_reap()
3908 STATS_ADD_REAPED(searchp, freed); in cache_reap()
Dhugetlb.c4106 long freed) in hugetlb_unreserve_pages() argument
4126 inode->i_blocks -= (blocks_per_huge_page(h) * freed); in hugetlb_unreserve_pages()
4133 gbl_reserve = hugepage_subpool_put_pages(spool, (chg - freed)); in hugetlb_unreserve_pages()
/linux-4.4.14/arch/m68k/kernel/
Dvmlinux-sun3.lds34 /* will be freed after init */
Dvmlinux-std.lds38 /* will be freed after init */
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_vm.c514 list_add(&tmp->vm_status, &vm->freed); in radeon_vm_bo_set_addr()
1053 while (!list_empty(&vm->freed)) { in radeon_vm_clear_freed()
1054 bo_va = list_first_entry(&vm->freed, in radeon_vm_clear_freed()
1132 list_add(&bo_va->vm_status, &vm->freed); in radeon_vm_bo_rmv()
1190 INIT_LIST_HEAD(&vm->freed); in radeon_vm_init()
1247 list_for_each_entry_safe(bo_va, tmp, &vm->freed, vm_status) { in radeon_vm_fini()
Dradeon.h942 struct list_head freed; member
/linux-4.4.14/drivers/md/
Ddm-bufio.c1527 unsigned long freed = 0; in __scan() local
1534 freed++; in __scan()
1535 if (!--nr_to_scan || ((count - freed) <= retain_target)) in __scan()
1536 return freed; in __scan()
1540 return freed; in __scan()
1547 unsigned long freed; in dm_bufio_shrink_scan() local
1555 freed = __scan(c, sc->nr_to_scan, sc->gfp_mask); in dm_bufio_shrink_scan()
1557 return freed; in dm_bufio_shrink_scan()
/linux-4.4.14/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.c1603 unsigned long freed; in xfs_buftarg_shrink_scan() local
1605 freed = list_lru_shrink_walk(&btp->bt_lru, sc, in xfs_buftarg_shrink_scan()
1615 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.4.14/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.txt56 pages are freed. The pool is not preallocated. By default, a zpool of type
99 and its compressor are freed.
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.txt245 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.4.14/drivers/virtio/
Dvirtio_balloon.c333 unsigned long *freed; in virtballoon_oom_notify() local
340 freed = parm; in virtballoon_oom_notify()
343 *freed += num_freed_pages; in virtballoon_oom_notify()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.c889 while (!list_empty(&vm->freed)) { in amdgpu_vm_clear_freed()
890 mapping = list_first_entry(&vm->freed, in amdgpu_vm_clear_freed()
1164 list_add(&mapping->list, &vm->freed); in amdgpu_vm_bo_unmap()
1202 list_add(&mapping->list, &vm->freed); in amdgpu_vm_bo_rmv()
1262 INIT_LIST_HEAD(&vm->freed); in amdgpu_vm_init()
1322 list_for_each_entry_safe(mapping, tmp, &vm->freed, list) { in amdgpu_vm_fini()
Damdgpu.h943 struct list_head freed; member
/linux-4.4.14/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 Those 8 bytes can be accessible, partially accessible, freed or be 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.txt88 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.txt131 were returned when that routine allocated the memory being freed.
137 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.txt677 when they are freed. This is used in CMO environments
/linux-4.4.14/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.c760 long freed; in prune_icache_sb() local
762 freed = list_lru_shrink_walk(&sb->s_inode_lru, sc, in prune_icache_sb()
765 return freed; in prune_icache_sb()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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
Dbtrfs.txt105 freed by the filesystem.
Dnilfs2.txt80 block device when blocks are freed. This is useful
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
Drelay.txt138 buffer open, the channel buffer is freed.
DLocking352 to block. Leases however can still be freed while the i_lock is held and
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
Dvfs.txt720 that the page should be freed if possible. ->releasepage
Dcoda.txt1659 6. All memory held by cnodes can be freed without relying on upcalls.
/linux-4.4.14/arch/s390/mm/
Dcmm.c130 unsigned long *freed = parm; in cmm_oom_notify() local
138 *freed += 256 - nr; in cmm_oom_notify()
/linux-4.4.14/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.4.14/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.c1019 unsigned long freed = 0; in ttm_dma_pool_shrink_scan() local
1042 freed += nr_free - shrink_pages; in ttm_dma_pool_shrink_scan()
1050 return freed; in ttm_dma_pool_shrink_scan()
/linux-4.4.14/scripts/coccinelle/free/
Ddevm_free.cocci2 /// functions. Values allocated using the devm_functions are freed when
/linux-4.4.14/drivers/eisa/
DKconfig48 image by about 40KB, but it gets freed after the system
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_pool.c868 unsigned long freed = 0; in ldlm_pools_scan() local
904 freed += ldlm_pool_shrink(&ns->ns_pool, cancel, gfp_mask); in ldlm_pools_scan()
912 return freed; in ldlm_pools_scan()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dtx.c981 int sta_id, tid, freed; in iwl_mvm_rx_ba_notif() local
1044 freed = 0; in iwl_mvm_rx_ba_notif()
1051 freed++; in iwl_mvm_rx_ba_notif()
1066 if (freed == 1) in iwl_mvm_rx_ba_notif()
/linux-4.4.14/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.4.14/Documentation/blackfin/
Dbfin-gpio-notes.txt47 Once a pin is requested, it can't be requested again before it is freed by
/linux-4.4.14/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.4.14/fs/jbd2/
Djournal.c881 unsigned long freed; in __jbd2_update_log_tail() local
897 freed = block - journal->j_tail; in __jbd2_update_log_tail()
899 freed += journal->j_last - journal->j_first; in __jbd2_update_log_tail()
901 trace_jbd2_update_log_tail(journal, tid, block, freed); in __jbd2_update_log_tail()
905 journal->j_tail_sequence, tid, block, freed); in __jbd2_update_log_tail()
907 journal->j_free += freed; in __jbd2_update_log_tail()
Dcommit.c774 long freed = first_block - journal->j_tail; in jbd2_journal_commit_transaction() local
777 freed += journal->j_last - journal->j_first; in jbd2_journal_commit_transaction()
779 if (freed < journal->j_maxlen / 4) in jbd2_journal_commit_transaction()
/linux-4.4.14/arch/arm64/mm/
Ddma-mapping.c123 bool freed; in __dma_free_coherent() local
131 freed = dma_release_from_contiguous(dev, in __dma_free_coherent()
134 if (!freed) in __dma_free_coherent()
/linux-4.4.14/Documentation/ABI/stable/
Dsysfs-devices-node85 will be compacted. When it completes, memory will be freed
/linux-4.4.14/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.4.14/Documentation/RCU/
Drcuref.txt113 element can therefore safely be freed. This in turn guarantees that if
DarrayRCU.txt136 /* 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.txt270 incremented once per grace period subsequently -- and is freed
Dchecklist.txt48 could result in data being unceremoniously freed out from
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c218 int freed = 0; in reclaim_vbufs() local
222 freed++; in reclaim_vbufs()
224 if (freed == 0) in reclaim_vbufs()
/linux-4.4.14/Documentation/fb/
Dep93xx-fb.txt128 address has bit 27 set. If it does, then the memory is freed and an
/linux-4.4.14/fs/hugetlbfs/
Dinode.c359 int i, freed = 0; in remove_inode_hugepages() local
412 freed++; in remove_inode_hugepages()
440 (void)hugetlb_unreserve_pages(inode, start, LONG_MAX, freed); in remove_inode_hugepages()
/linux-4.4.14/Documentation/filesystems/pohmelfs/
Dinfo.txt20 inodes marked to be dropped are freed. It also specifies how frequently
/linux-4.4.14/Documentation/sound/alsa/soc/
Dcodec.txt165 when the mute is applied or freed.
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c1774 unsigned long remain = sc->nr_to_scan, freed = 0; in lu_cache_shrink_scan() local
1793 freed = lu_site_purge(&lu_shrink_env, s, remain); in lu_cache_shrink_scan()
1794 remain -= freed; in lu_cache_shrink_scan()
/linux-4.4.14/Documentation/x86/
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.
Dpat.txt110 before the page is freed to free pool.
/linux-4.4.14/include/linux/
Dhugetlb.h87 long freed);
Djbd2.h339 BUFFER_FNS(Freed, freed) in BUFFER_FNS()
/linux-4.4.14/drivers/uio/
DKconfig53 memory is freed once the uio device is closed.
/linux-4.4.14/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.c1365 long freed = 0; in gfs2_scan_glock_lru() local
1375 freed++; in gfs2_scan_glock_lru()
1386 return freed; in gfs2_scan_glock_lru()
/linux-4.4.14/Documentation/virtual/kvm/
Dlocking.txt64 - We have held the refcount of pfn that means the pfn can not be freed and
/linux-4.4.14/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.4.14/Documentation/locking/
Dmutex-design.txt97 - Memory areas where held locks reside must not be freed.
/linux-4.4.14/lib/
DKconfig.debug410 bool "Debug objects in freed memory"
461 allocation as well as poisoning memory on free to catch use of freed
508 difference being that the orphan objects are not freed but
528 freed before kmemleak is initialised, an early log buffer is
971 mutex or rwsem) is incorrectly freed by the kernel, via any of the
1129 the memory backing the kobject can be immediately freed. This
1735 This code (~1k) is freed after boot. By then, the firewire stack
/linux-4.4.14/fs/jffs2/
DREADME.Locking15 obtained during space allocations (jffs2_reserve_space()) and freed
/linux-4.4.14/Documentation/dmaengine/
Dprovider.txt356 not be freed by provider if this flag is set.
364 - Descriptor can be freed in few ways
/linux-4.4.14/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.4.14/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.4.14/fs/nfs/
Ddir.c2106 long freed = 0; in nfs_do_access_cache_scan() local
2122 freed++; in nfs_do_access_cache_scan()
2137 return freed; in nfs_do_access_cache_scan()
/linux-4.4.14/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.4.14/Documentation/blockdev/
Dzram.txt183 pages_compacted RO the number of pages freed during compaction
/linux-4.4.14/fs/ext4/
Dmballoc.c4398 int freed = 0; in ext4_mb_discard_preallocations() local
4403 freed += ret; in ext4_mb_discard_preallocations()
4407 return freed; in ext4_mb_discard_preallocations()
4418 int freed; in ext4_mb_new_blocks() local
4528 freed = ext4_mb_discard_preallocations(sb, ac->ac_o_ex.fe_len); in ext4_mb_new_blocks()
4529 if (freed) in ext4_mb_new_blocks()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.txt474 been freed.
Dpci.txt548 The freezing of devices is carried out after enough memory has been freed (at
/linux-4.4.14/Documentation/filesystems/caching/
Dobject.txt212 lookup data is freed.
Dbackend-api.txt349 be freed when all the references to it are released.
/linux-4.4.14/Documentation/nvdimm/
Dbtt.txt188 Both threads can update their respective free[lane] with the same old, freed
/linux-4.4.14/Documentation/gpio/
Dconsumer.txt371 GPIO descriptor has not been freed. All the same, a GPIO number passed to
/linux-4.4.14/Documentation/powerpc/
Dcxlflash.txt309 at which time the context/resources they held will be freed as part of
Dhvcs.txt406 currently open connection is freed.
/linux-4.4.14/arch/x86/kvm/
Dmmu.c4834 unsigned long freed = 0; in mmu_shrink_scan() local
4870 freed++; in mmu_shrink_scan()
4887 return freed; in mmu_shrink_scan()
/linux-4.4.14/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
Dcgroups.txt642 Called when the task_struct is freed.
/linux-4.4.14/Documentation/filesystems/cifs/
DCHANGES648 protocol response. Fix oops in reopen_file when dentry freed. Allow
891 previously freed socket.
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1247 u32 occup, to_free, freed, freed_start; in bnx2x_pbf_pN_cmd_flushed() local
1251 freed = freed_start = REG_RD(bp, regs->lines_freed); in bnx2x_pbf_pN_cmd_flushed()
1254 DP(BNX2X_MSG_SP, "LINES_FREED[%d] : s:%x\n", regs->pN, freed); in bnx2x_pbf_pN_cmd_flushed()
1256 while (occup && ((u32)SUB_S32(freed, freed_start) < to_free)) { in bnx2x_pbf_pN_cmd_flushed()
1260 freed = REG_RD(bp, regs->lines_freed); in bnx2x_pbf_pN_cmd_flushed()
1267 regs->pN, freed); in bnx2x_pbf_pN_cmd_flushed()
/linux-4.4.14/Documentation/sysctl/
Dvm.txt201 To increase the number of objects freed by this operation, the user may run
/linux-4.4.14/Documentation/video4linux/
Dv4l2-framework.txt1006 memory can be freed.
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx.seq1486 * that a FIFO will be freed to handle snapshot requests for
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3779 is getting freed even its marked as reserved.