/linux/fs/ubifs/ |
A D | shrinker.c | 83 int freed; in shrink_tnc() local 119 total_freed += freed; in shrink_tnc() 149 int freed = 0; in shrink_tnc_trees() local 198 if (freed >= nr) in shrink_tnc_trees() 202 return freed; in shrink_tnc_trees() 284 unsigned long freed; in ubifs_shrink_scan() local 300 if (freed >= nr) in ubifs_shrink_scan() 304 freed += shrink_tnc_trees(nr - freed, YOUNG_ZNODE_AGE, &contention); in ubifs_shrink_scan() 305 if (freed >= nr) in ubifs_shrink_scan() 309 freed += shrink_tnc_trees(nr - freed, 0, &contention); in ubifs_shrink_scan() [all …]
|
/linux/drivers/staging/octeon/ |
A D | ethernet-mem.c | 26 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 …]
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_gem_shrinker.c | 70 unsigned freed = 0; in scan() local 77 while (freed < nr_to_scan) { in scan() 111 freed += msm_obj->base.size >> PAGE_SHIFT; in scan() 123 return freed; in scan() 131 unsigned long freed; in msm_gem_shrinker_scan() local 135 if (freed > 0) in msm_gem_shrinker_scan() 136 trace_msm_gem_purge(freed << PAGE_SHIFT); in msm_gem_shrinker_scan() 138 if (can_swap() && freed < sc->nr_to_scan) { in msm_gem_shrinker_scan() 139 int evicted = scan(priv, sc->nr_to_scan - freed, in msm_gem_shrinker_scan() 145 freed += evicted; in msm_gem_shrinker_scan() [all …]
|
/linux/fs/f2fs/ |
A D | shrinker.c | 80 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()
|
/linux/fs/erofs/ |
A D | utils.c | 165 unsigned int freed = 0; in erofs_shrink_workstation() local 175 ++freed; in erofs_shrink_workstation() 177 return freed; in erofs_shrink_workstation() 181 return freed; in erofs_shrink_workstation() 230 unsigned long freed = 0; in erofs_shrink_scan() local 257 freed += erofs_shrink_workstation(sbi, nr - freed); in erofs_shrink_scan() 270 if (freed >= nr) in erofs_shrink_scan() 274 return freed; in erofs_shrink_scan()
|
/linux/drivers/gpu/drm/panfrost/ |
A D | panfrost_gem_shrinker.c | 71 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()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_shrinker.c | 276 unsigned long freed = 0; in i915_gem_shrink_all() local 279 freed = i915_gem_shrink(NULL, i915, -1UL, NULL, in i915_gem_shrink_all() 284 return freed; in i915_gem_shrink_all() 321 unsigned long freed; in i915_gem_shrinker_scan() local 325 freed = i915_gem_shrink(NULL, i915, in i915_gem_shrinker_scan() 334 freed += i915_gem_shrink(NULL, i915, in i915_gem_shrinker_scan() 344 return sc->nr_scanned ? freed : SHRINK_STOP; in i915_gem_shrinker_scan()
|
A D | i915_gem_object.c | 316 struct llist_node *freed) in __i915_gem_free_objects() argument 320 llist_for_each_entry_safe(obj, on, freed, freed) { in __i915_gem_free_objects() 337 struct llist_node *freed = llist_del_all(&i915->mm.free_list); in i915_gem_flush_free_objects() local 339 if (unlikely(freed)) in i915_gem_flush_free_objects() 340 __i915_gem_free_objects(i915, freed); in i915_gem_flush_free_objects() 386 if (llist_add(&obj->freed, &i915->mm.free_list)) in i915_gem_free_object()
|
/linux/sound/soc/intel/atom/sst/ |
A D | sst_ipc.c | 92 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()
|
/linux/tools/lib/traceevent/Documentation/ |
A D | libtraceevent-event_list.txt | 29 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
|
A D | libtraceevent-fields.txt | 21 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
|
/linux/net/sctp/ |
A D | ulpqueue.c | 967 __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 …]
|
/linux/include/trace/events/ |
A D | jbd2.h | 330 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)
|
/linux/net/sunrpc/ |
A D | auth.c | 434 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()
|
/linux/fs/nfsd/ |
A D | nfscache.c | 248 long freed = 0; in prune_bucket() local 261 if (max && freed++ > max) in prune_bucket() 264 return freed; in prune_bucket() 280 long freed = 0; in prune_cache_entries() local 288 freed += prune_bucket(b, nn, 0); in prune_cache_entries() 291 return freed; in prune_cache_entries()
|
/linux/Documentation/trace/ |
A D | events-kmem.rst | 64 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.
|
/linux/drivers/firmware/arm_scmi/ |
A D | notify.c | 1238 bool freed = false; in scmi_put_handler_unlocked() local 1244 freed = true; in scmi_put_handler_unlocked() 1247 return freed; in scmi_put_handler_unlocked() 1253 bool freed; in scmi_put_handler() local 1263 freed = scmi_put_handler_unlocked(ni, hndl); in scmi_put_handler() 1273 if (freed) in scmi_put_handler() 1282 bool freed; in scmi_put_active_handler() local 1287 freed = scmi_put_handler_unlocked(ni, hndl); in scmi_put_active_handler() 1289 if (freed) in scmi_put_active_handler()
|
/linux/drivers/tty/ |
A D | tty_buffer.c | 122 unsigned int freed = 0; in tty_buffer_free_all() local 127 freed += p->size; in tty_buffer_free_all() 140 WARN(still_used != freed, "we still have not freed %d bytes!", in tty_buffer_free_all() 141 still_used - freed); in tty_buffer_free_all()
|
/linux/net/rds/ |
A D | ib_frmr.c | 363 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()
|
/linux/Documentation/sound/designs/ |
A D | jack-controls.rst | 30 Those kcontrols will be freed automatically when the Jack is freed.
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | tx.c | 1120 int freed; in iwlagn_rx_reply_tx() local 1174 freed = 0; in iwlagn_rx_reply_tx() 1221 freed++; in iwlagn_rx_reply_tx() 1231 if (!is_agg && freed != 1) in iwlagn_rx_reply_tx() 1232 IWL_ERR(priv, "Q: %d, freed %d\n", txq_id, freed); in iwlagn_rx_reply_tx() 1270 int freed; in iwlagn_rx_reply_compressed_ba() local 1350 freed = 0; in iwlagn_rx_reply_compressed_ba() 1357 freed++; in iwlagn_rx_reply_compressed_ba() 1370 if (freed == 1) { in iwlagn_rx_reply_compressed_ba()
|
/linux/fs/nfs/ |
A D | nfs42xattr.c | 862 unsigned long freed; in nfs4_xattr_cache_scan() local 865 freed = list_lru_shrink_walk(&nfs4_xattr_cache_lru, sc, in nfs4_xattr_cache_scan() 875 return freed; in nfs4_xattr_cache_scan() 943 unsigned long freed; in nfs4_xattr_entry_scan() local 950 freed = list_lru_shrink_walk(lru, sc, entry_lru_isolate, &dispose); in nfs4_xattr_entry_scan() 966 return freed; in nfs4_xattr_entry_scan()
|
/linux/drivers/char/agp/ |
A D | efficeon-agp.c | 160 int index, freed = 0; in efficeon_free_gatt_table() local 167 freed++; in efficeon_free_gatt_table() 174 printk(KERN_DEBUG PFX "efficeon_free_gatt_table() freed %d pages\n", freed); in efficeon_free_gatt_table()
|
/linux/mm/ |
A D | vmscan.c | 710 unsigned long freed = 0; in do_shrink_slab() local 776 freed += ret; in do_shrink_slab() 801 return freed; in do_shrink_slab() 867 freed += ret; in shrink_slab_memcg() 870 freed = freed ? : 1; in shrink_slab_memcg() 876 return freed; in shrink_slab_memcg() 936 freed += ret; in shrink_slab() 943 freed = freed ? : 1; in shrink_slab() 951 return freed; in shrink_slab() 956 unsigned long freed; in drop_slab_node() local [all …]
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_cq.c | 481 int *freed, in mthca_poll_one() argument 647 ++(*freed); in mthca_poll_one() 662 int freed = 0; in mthca_poll_cq() local 671 &freed, entry + npolled); in mthca_poll_cq() 677 if (freed) { in mthca_poll_cq() 679 update_cons_index(dev, cq, freed); in mthca_poll_cq()
|