Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-5.10/fs/ubifs/
Dshrinker.c83 int freed; in shrink_tnc() local
116 freed = ubifs_destroy_tnc_subtree(c, znode); in shrink_tnc()
117 atomic_long_sub(freed, &ubifs_clean_zn_cnt); in shrink_tnc()
118 atomic_long_sub(freed, &c->clean_zn_cnt); in shrink_tnc()
119 total_freed += freed; in shrink_tnc()
149 int freed = 0; in shrink_tnc_trees() local
187 freed += shrink_tnc(c, nr, age, contention); in shrink_tnc_trees()
198 if (freed >= nr) in shrink_tnc_trees()
202 return freed; in shrink_tnc_trees()
284 unsigned long freed; in ubifs_shrink_scan() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/octeon/
Dethernet-mem.c26 int freed = elements; in cvm_oct_fill_hw_skbuff() local
28 while (freed) { in cvm_oct_fill_hw_skbuff()
36 freed--; in cvm_oct_fill_hw_skbuff()
38 return elements - freed; in cvm_oct_fill_hw_skbuff()
81 int freed = elements; in cvm_oct_fill_hw_memory() local
83 while (freed) { in cvm_oct_fill_hw_memory()
103 freed--; in cvm_oct_fill_hw_memory()
105 return elements - freed; in cvm_oct_fill_hw_memory()
139 int freed; in cvm_oct_mem_fill_fpa() local
142 freed = cvm_oct_fill_hw_skbuff(pool, size, elements); in cvm_oct_mem_fill_fpa()
[all …]
/kernel/linux/linux-5.10/fs/f2fs/
Dshrinker.c80 unsigned long freed = 0; in f2fs_shrink_scan() local
103 freed += f2fs_shrink_extent_tree(sbi, nr >> 1); in f2fs_shrink_scan()
106 if (freed < nr) in f2fs_shrink_scan()
107 freed += f2fs_try_to_free_nats(sbi, nr - freed); in f2fs_shrink_scan()
110 if (freed < nr) in f2fs_shrink_scan()
111 freed += f2fs_try_to_free_nids(sbi, nr - freed); in f2fs_shrink_scan()
117 if (freed >= nr) in f2fs_shrink_scan()
121 return freed; in f2fs_shrink_scan()
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
Dpanfrost_gem_shrinker.c71 unsigned long freed = 0; in panfrost_gem_shrinker_scan() local
77 if (freed >= sc->nr_to_scan) in panfrost_gem_shrinker_scan()
81 freed += shmem->base.size >> PAGE_SHIFT; in panfrost_gem_shrinker_scan()
88 if (freed > 0) in panfrost_gem_shrinker_scan()
89 pr_info_ratelimited("Purging %lu bytes\n", freed << PAGE_SHIFT); in panfrost_gem_shrinker_scan()
91 return freed; in panfrost_gem_shrinker_scan()
/kernel/linux/linux-5.10/fs/erofs/
Dutils.c169 unsigned int freed = 0; in erofs_shrink_workstation() local
179 ++freed; in erofs_shrink_workstation()
181 return freed; in erofs_shrink_workstation()
185 return freed; in erofs_shrink_workstation()
234 unsigned long freed = 0; in erofs_shrink_scan() local
261 freed += erofs_shrink_workstation(sbi, nr - freed); in erofs_shrink_scan()
274 if (freed >= nr) in erofs_shrink_scan()
278 return freed; in erofs_shrink_scan()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c72 unsigned long freed = 0; in msm_gem_shrinker_scan() local
79 if (freed >= sc->nr_to_scan) in msm_gem_shrinker_scan()
83 freed += msm_obj->base.size >> PAGE_SHIFT; in msm_gem_shrinker_scan()
90 if (freed > 0) in msm_gem_shrinker_scan()
91 trace_msm_gem_purge(freed << PAGE_SHIFT); in msm_gem_shrinker_scan()
93 return freed; in msm_gem_shrinker_scan()
/kernel/linux/linux-5.10/mm/
Dreclaimacct_show.c27 u64 freed[NR_RA_STUBS]; member
157 ra->freed[RA_RECLAIM] = ra->freed[RA_SHRINKFILE] + ra->freed[RA_SHRINKANON]; in __reclaimacct_collect_reclaim_efficiency()
165 ra_eff[type].freed[i] += ra->freed[i]; in __reclaimacct_collect_reclaim_efficiency()
210 eff[i].freed[j]); in reclaim_efficiency_proc_show()
Dreclaim_acct.c31 static void __reclaimacct_end(struct reclaim_acct *ra, u64 freed, in __reclaimacct_end() argument
45 ra->freed[stub] += freed; in __reclaimacct_end()
75 void reclaimacct_substage_end(enum reclaimacct_stubs stub, unsigned long freed, in reclaimacct_substage_end() argument
81 __reclaimacct_end(current->reclaim_acct, freed, stub, shrinker); in reclaimacct_substage_end()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_object.c198 struct llist_node *freed) in __i915_gem_free_objects() argument
202 llist_for_each_entry_safe(obj, on, freed, freed) { in __i915_gem_free_objects()
253 struct llist_node *freed = llist_del_all(&i915->mm.free_list); in i915_gem_flush_free_objects() local
255 if (unlikely(freed)) in i915_gem_flush_free_objects()
256 __i915_gem_free_objects(i915, freed); in i915_gem_flush_free_objects()
301 if (llist_add(&obj->freed, &i915->mm.free_list)) in i915_gem_free_object()
Di915_gem_shrinker.c246 unsigned long freed = 0; in i915_gem_shrink_all() local
249 freed = i915_gem_shrink(i915, -1UL, NULL, in i915_gem_shrink_all()
254 return freed; in i915_gem_shrink_all()
291 unsigned long freed; in i915_gem_shrinker_scan() local
295 freed = i915_gem_shrink(i915, in i915_gem_shrinker_scan()
304 freed += i915_gem_shrink(i915, in i915_gem_shrinker_scan()
314 return sc->nr_scanned ? freed : SHRINK_STOP; in i915_gem_shrinker_scan()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_heap.c254 int freed = 0; in ion_heap_shrink_scan() local
265 freed = ion_heap_freelist_shrink(heap, to_scan * PAGE_SIZE) / in ion_heap_shrink_scan()
268 to_scan -= freed; in ion_heap_shrink_scan()
270 return freed; in ion_heap_shrink_scan()
273 freed += heap->ops->shrink(heap, sc->gfp_mask, to_scan); in ion_heap_shrink_scan()
275 return freed; in ion_heap_shrink_scan()
Dion_page_pool.c103 int freed = 0; in ion_page_pool_shrink() local
114 while (freed < nr_to_scan) { in ion_page_pool_shrink()
128 freed += (1 << pool->order); in ion_page_pool_shrink()
131 return freed; in ion_page_pool_shrink()
/kernel/linux/linux-5.10/tools/lib/traceevent/Documentation/
Dlibtraceevent-event_list.txt29 The returned memory must not be freed, it is managed by the library.
41 must be freed by the caller. Note that the content of the array must not be
42 freed (see the EXAMPLE below).
47 In case of an error, NULL is returned. The returned array must not be freed,
51 In case of an error, NULL is returned. The returned array must be freed by
Dlibtraceevent-fields.txt21 fields for the _event_. The array is allocated in the function and must be freed
25 fields for the _event_. The array is allocated in the function and must be freed
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst_ipc.c92 int sst_free_block(struct intel_sst_drv *ctx, struct sst_block *freed) in sst_free_block() argument
99 if (block == freed) { in sst_free_block()
100 pr_debug("pvt_id freed --> %d\n", freed->drv_id); in sst_free_block()
102 list_del(&freed->node); in sst_free_block()
104 kfree(freed->data); in sst_free_block()
105 freed->data = NULL; in sst_free_block()
106 kfree(freed); in sst_free_block()
/kernel/linux/linux-5.10/net/sctp/
Dulpqueue.c967 __u16 freed = 0; in sctp_ulpq_renege_list() local
987 freed += skb_headlen(skb); in sctp_ulpq_renege_list()
991 freed += skb_headlen(last); in sctp_ulpq_renege_list()
1005 if (freed >= needed) in sctp_ulpq_renege_list()
1006 return freed; in sctp_ulpq_renege_list()
1009 return freed; in sctp_ulpq_renege_list()
1079 __u32 freed = 0; in sctp_ulpq_renege() local
1086 freed = sctp_ulpq_renege_order(ulpq, needed); in sctp_ulpq_renege()
1087 if (freed < needed) in sctp_ulpq_renege()
1088 freed += sctp_ulpq_renege_frags(ulpq, needed - freed); in sctp_ulpq_renege()
[all …]
/kernel/linux/linux-5.10/fs/nfsd/
Dnfscache.c231 long freed = 0; in prune_bucket() local
244 freed++; in prune_bucket()
246 return freed; in prune_bucket()
257 long freed = 0; in prune_cache_entries() local
265 freed += prune_bucket(b, nn); in prune_cache_entries()
268 return freed; in prune_cache_entries()
/kernel/linux/linux-5.10/net/sunrpc/
Dauth.c434 long freed = 0; in rpcauth_prune_expired() local
454 freed++; in rpcauth_prune_expired()
457 return freed ? freed : SHRINK_STOP; in rpcauth_prune_expired()
464 unsigned long freed; in rpcauth_cache_do_shrink() local
467 freed = rpcauth_prune_expired(&free, nr_to_scan); in rpcauth_cache_do_shrink()
471 return freed; in rpcauth_cache_do_shrink()
/kernel/linux/linux-5.10/include/trace/events/
Djbd2.h330 unsigned long block_nr, unsigned long freed),
332 TP_ARGS(journal, first_tid, block_nr, freed),
339 __field(unsigned long, freed )
347 __entry->freed = freed;
353 __entry->block_nr, __entry->freed)
/kernel/linux/linux-5.10/Documentation/trace/
Devents-kmem.rst64 When a page is freed directly by the caller, the only mm_page_free event
68 When pages are freed in batch, the also mm_page_free_batched is triggered.
70 freed in batch with a page list. Significant amounts of activity here could
90 When the per-CPU list is too full, a number of pages are freed, each one
101 can be allocated and freed on the same CPU through some algorithm change.
/kernel/linux/linux-5.10/Documentation/sound/designs/
Djack-controls.rst30 Those kcontrols will be freed automatically when the Jack is freed.
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0004_linux_fs.patch43 - * lock in the first place can race with the waitqueue being freed.
48 - * non-NULL, we can then lock it without the memory being freed out from
53 - * In that case, only RCU prevents the queue memory from being freed.
98 - } /* else, POLLFREE has freed the waitqueue, so we must complete */
190 - * If the waitqueue is being freed early but we can't complete
205 - * completed and freed, since aio_poll_complete_work()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_intel.h30 unsigned int freed:1; /* resources already released */ member
/kernel/linux/linux-5.10/net/rds/
Dib_frmr.c363 unsigned int freed = *nfreed; in rds_ib_unreg_frmr() local
382 if (freed < goal || frmr->fr_state == FRMR_IS_STALE) { in rds_ib_unreg_frmr()
395 freed++; in rds_ib_unreg_frmr()
398 *nfreed = freed; in rds_ib_unreg_frmr()
/kernel/linux/linux-5.10/Documentation/networking/
Dnetdevices.rst17 If device has registered successfully, it will be freed on last use
22 private data which gets freed when the network device is freed. If

1234567891011