Home
last modified time | relevance | path

Searched full:free (Results 1 – 25 of 11134) sorted by relevance

12345678910>>...446

/kernel/linux/linux-4.19/include/linux/
Dsysv_fs.h28 #define XENIX_NICFREE 100 /* number of free block list chunk entries */
32 /* the start of the free block list: */
33 __fs16 s_nfree; /* number of free blocks in s_free, <= XENIX_NICFREE */
34 sysv_zone_t s_free[XENIX_NICFREE]; /* first free block list chunk */
35 /* the cache of free inodes: */
36 __fs16 s_ninode; /* number of free inodes in s_inode, <= XENIX_NICINOD */
37 sysv_ino_t s_inode[XENIX_NICINOD]; /* some free inodes */
39 char s_flock; /* lock during free block list manipulation */
44 __fs32 s_tfree __packed2__; /* total number of free zones */
45 __fs16 s_tinode; /* total number of free inodes */
[all …]
/kernel/linux/linux-5.10/include/linux/
Dsysv_fs.h28 #define XENIX_NICFREE 100 /* number of free block list chunk entries */
32 /* the start of the free block list: */
33 __fs16 s_nfree; /* number of free blocks in s_free, <= XENIX_NICFREE */
34 sysv_zone_t s_free[XENIX_NICFREE]; /* first free block list chunk */
35 /* the cache of free inodes: */
36 __fs16 s_ninode; /* number of free inodes in s_inode, <= XENIX_NICINOD */
37 sysv_ino_t s_inode[XENIX_NICINOD]; /* some free inodes */
39 char s_flock; /* lock during free block list manipulation */
44 __fs32 s_tfree __packed2__; /* total number of free zones */
45 __fs16 s_tinode; /* total number of free inodes */
[all …]
/kernel/linux/linux-4.19/fs/btrfs/tests/
Dfree-space-tests.c10 #include "../free-space-cache.h"
168 * bitmap, but the free space completely in the extent and then in test_bitmaps_and_extents()
285 test_err("failed to free our space %d", ret); in test_bitmaps_and_extents()
297 * This blew up before, we have part of the free space in a bitmap and in test_bitmaps_and_extents()
359 * Now lets confirm that there's absolutely no free space left to in check_cache_empty()
363 test_err("cache free space is not 0"); in check_cache_empty()
381 * Before we were able to steal free space from a bitmap entry to an extent
382 * entry, we could end up with 2 entries representing a contiguous free space.
413 * removing free space to reach into this state, but to get there in test_steal_space_from_bitmap_to_extent()
414 * we need to reach a point where marking new free space doesn't in test_steal_space_from_bitmap_to_extent()
[all …]
/kernel/linux/linux-5.10/fs/btrfs/tests/
Dfree-space-tests.c10 #include "../free-space-cache.h"
168 * bitmap, but the free space completely in the extent and then in test_bitmaps_and_extents()
285 test_err("failed to free our space %d", ret); in test_bitmaps_and_extents()
297 * This blew up before, we have part of the free space in a bitmap and in test_bitmaps_and_extents()
359 * Now lets confirm that there's absolutely no free space left to in check_cache_empty()
363 test_err("cache free space is not 0"); in check_cache_empty()
381 * Before we were able to steal free space from a bitmap entry to an extent
382 * entry, we could end up with 2 entries representing a contiguous free space.
413 * removing free space to reach into this state, but to get there in test_steal_space_from_bitmap_to_extent()
414 * we need to reach a point where marking new free space doesn't in test_steal_space_from_bitmap_to_extent()
[all …]
/kernel/linux/linux-4.19/fs/xfs/
Dxfs_trans_extfree.c23 * This routine is called to allocate an "extent free done"
49 * Free an extent and log it to the EFD. Note that the transaction is marked
50 * dirty regardless of whether the extent free succeeds or fails to support the
131 /* Log a free extent to the intent item. */
139 struct xfs_extent_free_item *free; in xfs_extent_free_log_item() local
143 free = container_of(item, struct xfs_extent_free_item, xefi_list); in xfs_extent_free_log_item()
156 extp->ext_start = free->xefi_startblock; in xfs_extent_free_log_item()
157 extp->ext_len = free->xefi_blockcount; in xfs_extent_free_log_item()
160 /* Get an EFD so we can process all the free extents. */
170 /* Process a free extent. */
[all …]
/kernel/linux/linux-4.19/fs/jfs/
Djfs_imap.h4 * This program is free software; you can redistribute it and/or modify
6 * the Free Software Foundation; either version 2 of the License, or
15 * along with this program; if not, write to the Free Software
65 __le32 inofreefwd; /* 4: ag inode free list forward */
66 __le32 inofreeback; /* 4: ag inode free list back */
67 __le32 extfreefwd; /* 4: ag inode extent free list forward */
68 __le32 extfreeback; /* 4: ag inode extent free list back */
69 __le32 iagfree; /* 4: iag free list */
72 __le32 inosmap[SMAPSZ]; /* 16: sum map of mapwords w/ free inodes;
73 * note: this indicates free and backed
[all …]
Djfs_imap.c4 * This program is free software; you can redistribute it and/or modify
6 * the Free Software Foundation; either version 2 of the License, or
15 * along with this program; if not, write to the Free Software
63 /* iag free list lock */
104 * -ENOMEM - insufficient free virtual memory.
159 /* allocate and init iag free list lock */ in diMount()
188 * -ENOMEM - insufficient free virtual memory.
208 * free in-memory control structure in diUnmount()
553 * FUNCTION: Free allocated space for special inode
821 * FUNCTION: free a specified inode from the inode working map
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.y49 free(list_evsel); in free_list_evsel()
92 %destructor { free ($$); } <str>
117 %destructor { free ($$.sys); free ($$.event); } <tracepoint_name>
121 %destructor { free ($$.ranges); } <array>
183 free($3);
200 free($1);
240 free($2);
256 free($1);
287 free(list); \
288 free($1); \
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Djfs_imap.h52 __le32 inofreefwd; /* 4: ag inode free list forward */
53 __le32 inofreeback; /* 4: ag inode free list back */
54 __le32 extfreefwd; /* 4: ag inode extent free list forward */
55 __le32 extfreeback; /* 4: ag inode extent free list back */
56 __le32 iagfree; /* 4: iag free list */
59 __le32 inosmap[SMAPSZ]; /* 16: sum map of mapwords w/ free inodes;
60 * note: this indicates free and backed
66 * free the value will be 0.
68 __le32 extsmap[SMAPSZ]; /* 16: sum map of mapwords w/ free extents */
69 __le32 nfreeinos; /* 4: number of free inodes */
[all …]
Djfs_imap.c50 /* iag free list lock */
91 * -ENOMEM - insufficient free virtual memory.
146 /* allocate and init iag free list lock */ in diMount()
175 * -ENOMEM - insufficient free virtual memory.
195 * free in-memory control structure in diUnmount()
540 * FUNCTION: Free allocated space for special inode
808 * FUNCTION: free a specified inode from the inode working map
812 * free inode within the iag, the iag will be placed on
813 * the ag free inode list.
819 * will be placed on the ag extent free list if the extent
[all …]
/kernel/linux/linux-4.19/fs/ubifs/
Dlprops.c6 * This program is free software; you can redistribute it and/or modify it
8 * the Free Software Foundation.
16 * this program; if not, write to the Free Software Foundation, Inc., 51
42 return lprops->free; in get_heap_comp_val()
44 return lprops->free + lprops->dirty; in get_heap_comp_val()
59 * is either the amount of free space or the amount of dirty space, depending
97 * of free space or the amount of dirty space, depending on the category.
414 if (lprops->free == c->leb_size) { in ubifs_categorize_lprops()
419 if (lprops->free + lprops->dirty == c->leb_size) { in ubifs_categorize_lprops()
427 if (lprops->dirty + lprops->free >= c->min_idx_node_sz) in ubifs_categorize_lprops()
[all …]
Dfind.c6 * This program is free software; you can redistribute it and/or modify it
8 * the Free Software Foundation.
16 * this program; if not, write to the Free Software Foundation, Inc., 51
66 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable()
108 if (lprops->free + lprops->dirty < data->min_space) in scan_for_dirty_cb()
114 if (lprops->free + lprops->dirty == c->leb_size) { in scan_for_dirty_cb()
126 * scan_for_dirty - find a data LEB with free space.
128 * @min_space: minimum amount free plus dirty space the returned LEB has to
130 * @pick_free: if it is OK to return a free or freeable LEB
145 /* There may be an LEB with enough dirty space on the free heap */ in scan_for_dirty()
[all …]
Dbudget.c6 * This program is free software; you can redistribute it and/or modify it
8 * the Free Software Foundation.
16 * this program; if not, write to the Free Software Foundation, Inc., 51
74 * This function runs garbage collector to make some more free space. Returns
75 * zero if a free LEB has been produced, %-EAGAIN if commit is required, and a
82 /* Make some free space by garbage-collecting dirty space */ in run_gc()
115 * make_free_space - make more free space on the file-system.
119 * is supposedly no free space. But in most cases there is some free space:
121 * needed, so shrinking the liability is one way to make free space - the
123 * o GC may turn some dark space into free space (budgeting treats dark space
[all …]
/kernel/linux/linux-5.10/fs/ubifs/
Dlprops.c30 return lprops->free; in get_heap_comp_val()
32 return lprops->free + lprops->dirty; in get_heap_comp_val()
47 * is either the amount of free space or the amount of dirty space, depending
85 * of free space or the amount of dirty space, depending on the category.
402 if (lprops->free == c->leb_size) { in ubifs_categorize_lprops()
407 if (lprops->free + lprops->dirty == c->leb_size) { in ubifs_categorize_lprops()
415 if (lprops->dirty + lprops->free >= c->min_idx_node_sz) in ubifs_categorize_lprops()
419 lprops->dirty > lprops->free) in ubifs_categorize_lprops()
421 if (lprops->free > 0) in ubifs_categorize_lprops()
458 * @spc: amount of free and dirty space in the LEB
[all …]
Dfind.c54 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable()
96 if (lprops->free + lprops->dirty < data->min_space) in scan_for_dirty_cb()
102 if (lprops->free + lprops->dirty == c->leb_size) { in scan_for_dirty_cb()
114 * scan_for_dirty - find a data LEB with free space.
116 * @min_space: minimum amount free plus dirty space the returned LEB has to
118 * @pick_free: if it is OK to return a free or freeable LEB
133 /* There may be an LEB with enough dirty space on the free heap */ in scan_for_dirty()
137 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty()
153 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty()
180 ubifs_assert(c, lprops->free + lprops->dirty >= min_space); in scan_for_dirty()
[all …]
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion.h73 * @free: free memory
80 * error. @free will be called with ION_PRIV_FLAG_SHRINKER_FREE set in
82 * case, the pages being free'd must be truly free'd back to the
89 void (*free)(struct ion_buffer *buffer); member
125 * @free_list: free list head if deferred free is used
126 * @free_list_size size of the deferred free list in bytes
127 * @lock: protects the free list
128 * @waitqueue: queue to wait on from deferred free thread
129 * @task: task struct of deferred free thread
148 /* deferred free support */
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_extfree_item.c137 * constructed and thus we free the EFI here directly.
297 * the transaction is cancelled, drop our reference to the EFI and free the EFD.
317 * Allocate an "extent free done" log item that will hold nextents worth of
351 * Free an extent and log it to the EFD. Note that the transaction is marked
352 * dirty regardless of whether the extent free succeeds or fails to support the
413 /* Log a free extent to the intent item. */
418 struct xfs_extent_free_item *free) in xfs_extent_free_log_item() argument
434 extp->ext_start = free->xefi_startblock; in xfs_extent_free_log_item()
435 extp->ext_len = free->xefi_blockcount; in xfs_extent_free_log_item()
447 struct xfs_extent_free_item *free; in xfs_extent_free_create_intent() local
[all …]
/kernel/linux/linux-4.19/LICENSES/other/
DGPL-1.016 Copyright (C) 1989 Free Software Foundation, Inc.
25 License is intended to guarantee your freedom to share and change free
26 software--to make sure the software is free for all its users. The
27 General Public License applies to the Free Software Foundation's
31 When we speak of free software, we are referring to freedom, not
33 sure that you have the freedom to give away or sell copies of free
35 that you can change the software or use pieces of it in new free
53 that everyone understands that there is no warranty for this free
122 years, to give any third party free (except for a nominal charge
159 7. The Free Software Foundation may publish revised and/or new versions
[all …]
/kernel/linux/linux-5.10/LICENSES/deprecated/
DGPL-1.016 Copyright (C) 1989 Free Software Foundation, Inc.
25 License is intended to guarantee your freedom to share and change free
26 software--to make sure the software is free for all its users. The
27 General Public License applies to the Free Software Foundation's
31 When we speak of free software, we are referring to freedom, not
33 sure that you have the freedom to give away or sell copies of free
35 that you can change the software or use pieces of it in new free
53 that everyone understands that there is no warranty for this free
122 years, to give any third party free (except for a nominal charge
159 7. The Free Software Foundation may publish revised and/or new versions
[all …]
/kernel/linux/linux-4.19/drivers/staging/android/ion/
Dion.h103 * @free: free memory
110 * error. @free will be called with ION_PRIV_FLAG_SHRINKER_FREE set in
112 * case, the pages being free'd must be truly free'd back to the
119 void (*free)(struct ion_buffer *buffer); member
155 * @free_list: free list head if deferred free is used
156 * @free_list_size size of the deferred free list in bytes
157 * @lock: protects the free list
158 * @waitqueue: queue to wait on from deferred free thread
159 * @task: task struct of deferred free thread
219 * ion_heap_init_deferred_free -- initialize deferred free functionality
[all …]
/kernel/linux/linux-5.10/drivers/base/
Ddevcoredump.c35 void (*free)(void *data); member
49 devcd->free(devcd->data); in devcd_dev_release()
182 * This function takes ownership of the vmalloc'ed data and will free
200 * devcd_free_sgtable - free all the memory of the given scatterlist table
205 * @table: pointer to sg_table to free
238 * dev_coredumpm - create device coredump with read/free methods
240 * @owner: the module that contains the read/free functions, use %THIS_MODULE
241 * @data: data cookie for the @read/@free functions
245 * @free: function to free the given buffer
249 * by the device coredump framework and when it is no longer needed the @free
[all …]
/kernel/linux/linux-4.19/drivers/base/
Ddevcoredump.c35 void (*free)(void *data); member
49 devcd->free(devcd->data); in devcd_dev_release()
191 * This function takes ownership of the vmalloc'ed data and will free
209 * devcd_free_sgtable - free all the memory of the given scatterlist table
214 * @table: pointer to sg_table to free
247 * dev_coredumpm - create device coredump with read/free methods
249 * @owner: the module that contains the read/free functions, use %THIS_MODULE
250 * @data: data cookie for the @read/@free functions
254 * @free: function to free the given buffer
258 * by the device coredump framework and when it is no longer needed the @free
[all …]
/kernel/linux/linux-4.19/Documentation/nvdimm/
Dbtt.txt104 nfree : The number of free blocks that are maintained at any given time.
120 i.e. Every write goes to a "free" block. A running list of free blocks is
122 "free list" and "log". The flog contains 'nfree' entries, and an entry contains:
126 free block.
162 writes. We can hit a condition where the writer thread grabs a free block to do
168 into the list of free blocks. If another write comes in for the same LBA, it can
169 grab this free block, and start writing to it, causing the reader to read
174 read is complete. Every writer thread, after grabbing a free block, checks the
175 RTT for its presence. If the postmap free block is in the RTT, it waits till the
185 free[lane] = map[premap_aba]
[all …]
/kernel/linux/linux-4.19/scripts/coccinelle/free/
Dkfree.cocci1 /// Find a use after free.
18 @free@
31 expression free.E,E2;
54 expression free.E;
78 expression free.E, subE<=free.E, E2;
82 position free.p1!=loop.ok,p2!={print.p,sz.p};
120 p1 << free.p1;
128 p1 << free.p1;
132 msg = "ERROR: reference preceded by free on line %s" % (p1[0].line)
/kernel/linux/linux-5.10/scripts/coccinelle/free/
Dkfree.cocci2 /// Find a use after free.
19 @free@
32 expression free.E,E2;
55 expression free.E;
79 expression free.E, subE<=free.E, E2;
83 position free.p1!=loop.ok,p2!={print.p,sz.p};
121 p1 << free.p1;
129 p1 << free.p1;
133 msg = "ERROR: reference preceded by free on line %s" % (p1[0].line)

12345678910>>...446