Home
last modified time | relevance | path

Searched refs:free (Results 1 – 25 of 1743) sorted by relevance

12345678910>>...70

/linux/tools/perf/util/
H A Dparse-events.y52 free(list_evsel); in free_list_evsel()
74 %destructor { free ($$); } <str>
96 %destructor { free ($$.sys); free ($$.event); } <tracepoint_name>
130 free(groups);
141 free(group);
153 free(event);
205 free(event);
266 free($1);
286 free($1);
289 free($1);
[all …]
H A Dexpr.c100 free(data_ptr); in ids__insert()
101 free(old_key); in ids__insert()
102 free(old_data); in ids__insert()
128 free(old_key); in ids__union()
129 free(old_data); in ids__union()
170 free(data_ptr); in expr__add_id_val_source_count()
175 free(old_key); in expr__add_id_val_source_count()
176 free(old_data); in expr__add_id_val_source_count()
193 free(data_ptr); in expr__add_ref()
209 free(data_ptr); in expr__add_ref()
[all …]
/linux/fs/ubifs/
H A Dlprops.c30 return lprops->free; in get_heap_comp_val()
32 return lprops->free + lprops->dirty; in get_heap_comp_val()
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()
522 int free, int dirty, int flags, in ubifs_change_lp() argument
532 lprops->lnum, free, dirty, flags); in ubifs_change_lp()
544 ubifs_assert(c, free == LPROPS_NC || free >= 0); in ubifs_change_lp()
[all …]
H A Dfind.c54 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable()
97 if (lprops->free + lprops->dirty < data->min_space) in scan_for_dirty_cb()
103 if (lprops->free + lprops->dirty == c->leb_size) { in scan_for_dirty_cb()
138 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty()
154 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()
183 lprops->free + lprops->dirty == c->leb_size)); in scan_for_dirty()
277 sum = idx_lp->free + idx_lp->dirty; in ubifs_find_dirty_leb()
294 if (lp->dirty + lp->free < min_space) in ubifs_find_dirty_leb()
300 if (idx_lp->free + idx_lp->dirty >= lp->free + lp->dirty) in ubifs_find_dirty_leb()
[all …]
/linux/tools/testing/selftests/namespaces/
H A Dfile_handle_test.c47 SKIP(free(handle); close(ns_fd); in TEST()
56 SKIP(free(handle); close(ns_fd); in TEST()
61 SKIP(free(handle); close(ns_fd); in TEST()
75 free(handle); in TEST()
102 SKIP(free(handle); close(ns_fd); in TEST()
111 SKIP(free(handle); close(ns_fd); in TEST()
125 free(handle); in TEST()
152 SKIP(free(handle); close(ns_fd); in TEST()
161 SKIP(free(handle); close(ns_fd); in TEST()
175 free(handle); in TEST()
[all …]
/linux/kernel/trace/
H A Dsynth_event_gen_test.c70 goto free; in test_gen_synth_cmd()
76 goto free; in test_gen_synth_cmd()
80 goto free; in test_gen_synth_cmd()
84 goto free; in test_gen_synth_cmd()
88 goto free; in test_gen_synth_cmd()
123 free: in test_gen_synth_cmd()
129 goto free; in test_gen_synth_cmd()
156 goto free; in test_empty_synth_event()
162 goto free; in test_empty_synth_event()
166 goto free; in test_empty_synth_event()
[all …]
/linux/tools/testing/selftests/cgroup/
H A Dtest_core.c133 free(cg_test); in test_cgcore_destroy()
242 free(cg_test_d); in test_cgcore_populated()
266 free(cg_test_d); in test_cgcore_populated()
267 free(cg_test_c); in test_cgcore_populated()
268 free(cg_test_b); in test_cgcore_populated()
269 free(cg_test_a); in test_cgcore_populated()
338 free(child); in test_cgcore_invalid_domain()
339 free(parent); in test_cgcore_invalid_domain()
340 free(grandparent); in test_cgcore_invalid_domain()
380 free(child); in test_cgcore_parent_becomes_threaded()
[all …]
H A Dtest_cpuset.c138 free(child_dst_procs); in test_cpuset_perms_object()
139 free(child_dst); in test_cpuset_perms_object()
142 free(child_src_procs); in test_cpuset_perms_object()
143 free(child_src); in test_cpuset_perms_object()
146 free(parent_procs); in test_cpuset_perms_object()
147 free(parent); in test_cpuset_perms_object()
224 free(child_procs); in test_cpuset_perms_subtree()
225 free(child); in test_cpuset_perms_subtree()
228 free(parent_subctl); in test_cpuset_perms_subtree()
229 free(parent_procs); in test_cpuset_perms_subtree()
[all …]
H A Dtest_kmem.c89 free(cg); in test_kmem_basic()
114 free(tinfo); in alloc_kmem_smp()
125 free(tinfo); in alloc_kmem_smp()
143 free(child); in cg_run_in_subcgroups()
149 free(child); in cg_run_in_subcgroups()
154 free(child); in cg_run_in_subcgroups()
208 free(parent); in test_kmem_memcg_deletion()
260 free(tinfo); in spawn_1000_threads()
269 free(tinfo); in spawn_1000_threads()
295 free(cg); in test_kmem_kernel_stacks()
[all …]
H A Dtest_zswap.c80 free(mem); in allocate_and_read_bytes()
93 free(mem); in allocate_bytes()
111 free(group_name); in setup_test_group_1M()
152 free(test_group); in test_zswap_usage()
207 free(test_group); in test_swapin_nozswap()
247 free(test_group); in test_zswapin()
318 free(mem); in attempt_writeback()
393 free(test_group_child); in test_zswap_writeback()
396 free(test_group); in test_zswap_writeback()
450 free(control_group); in test_no_invasive_cgroup_shrink()
[all …]
H A Dtest_freezer.c169 free(cgroup); in test_cgfreezer_simple()
331 free(cgroup[i]); in test_cgfreezer_tree()
390 free(cgroup); in test_cgfreezer_forkbomb()
440 free(child); in test_cgfreezer_mkdir()
443 free(parent); in test_cgfreezer_mkdir()
492 free(child); in test_cgfreezer_rmdir()
495 free(parent); in test_cgfreezer_rmdir()
573 free(cgroup[0]); in test_cgfreezer_migrate()
576 free(cgroup[1]); in test_cgfreezer_migrate()
636 free(cgroup); in test_cgfreezer_ptrace()
[all …]
/linux/drivers/mtd/ubi/
H A Dfastmap-wl.c45 wl_tree_add(e, &ubi->free); in return_unused_peb()
79 if (!ubi->free.rb_node) in ubi_wl_get_fm_peb()
83 e = find_anchor_wl_entry(&ubi->free); in ubi_wl_get_fm_peb()
85 e = find_mean_wl_entry(ubi, &ubi->free); in ubi_wl_get_fm_peb()
90 self_check_in_wl_tree(ubi, e, &ubi->free); in ubi_wl_get_fm_peb()
94 rb_erase(&e->u.rb, &ubi->free); in ubi_wl_get_fm_peb()
112 int free, expect_free, executed; in wait_free_pebs_for_pool() local
125 free = ubi->free_count; in wait_free_pebs_for_pool()
126 free += pool->size - pool->used + wl_pool->size - wl_pool->used; in wait_free_pebs_for_pool()
137 } while (free < expect_free); in wait_free_pebs_for_pool()
[all …]
/linux/include/kunit/
H A Dresource.h86 kunit_resource_free_t free; member
114 if (res->free) in kunit_release_resource()
115 res->free(res); in kunit_release_resource()
155 kunit_resource_free_t free,
171 kunit_resource_free_t free, in kunit_add_resource() argument
176 return __kunit_add_resource(test, init, free, res, data); in kunit_add_resource()
193 kunit_resource_free_t free, in kunit_add_named_resource() argument
212 return __kunit_add_resource(test, init, free, res, data); in kunit_add_named_resource()
239 kunit_resource_free_t free, in kunit_alloc_and_get_resource() argument
252 ret = __kunit_add_resource(test, init, free, res, context); in kunit_alloc_and_get_resource()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec.c29 goto free; in esw_ipsec_vf_query_generic()
33 free: in esw_ipsec_vf_query_generic()
69 goto free; in mlx5_esw_ipsec_vf_offload_get()
76 free: in mlx5_esw_ipsec_vf_offload_get()
95 goto free; in esw_ipsec_vf_set_generic()
100 goto free; in esw_ipsec_vf_set_generic()
114 free: in esw_ipsec_vf_set_generic()
135 goto free; in esw_ipsec_vf_set_bytype()
140 goto free; in esw_ipsec_vf_set_bytype()
155 goto free; in esw_ipsec_vf_set_bytype()
[all …]
/linux/drivers/gpu/drm/nouveau/nvif/
H A Dchan.c80 while (chan->gpfifo.free < gpfifo_nr) { in nvif_chan_gpfifo_wait()
81 chan->gpfifo.free = chan->func->gpfifo.read_get(chan) - chan->gpfifo.cur - 1; in nvif_chan_gpfifo_wait()
82 if (chan->gpfifo.free < 0) in nvif_chan_gpfifo_wait()
83 chan->gpfifo.free += chan->gpfifo.max + 1; in nvif_chan_gpfifo_wait()
85 if (chan->gpfifo.free < gpfifo_nr) { in nvif_chan_gpfifo_wait()
105 chan->gpfifo.free = chan->gpfifo.max; in nvif_chan_gpfifo_ctor()
120 u32 free, time = 1000000; in nvif_chan_dma_wait() local
128 free = push->hw.max - cur; in nvif_chan_dma_wait()
129 if (free >= nr) in nvif_chan_dma_wait()
146 free = get - cur - 1; in nvif_chan_dma_wait()
[all …]
/linux/tools/iio/
H A Diio_utils.c49 free(current); in iioutils_break_up_name()
66 free(current); in iioutils_break_up_name()
174 free(filename); in iioutils_get_type()
192 free(filename); in iioutils_get_type()
199 free(builtname_generic); in iioutils_get_type()
201 free(builtname); in iioutils_get_type()
203 free(scan_el_dir); in iioutils_get_type()
272 free(filename); in iioutils_get_param_float()
279 free(builtname_generic); in iioutils_get_param_float()
281 free(builtname); in iioutils_get_param_float()
[all …]
/linux/scripts/coccinelle/free/
H A 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)
/linux/tools/mm/
H A Dthp_swap_allocator_test.c140 free(mem1); in main()
148 free(mem1); in main()
154 free(mem1); in main()
155 free(mem2); in main()
201 free(mem1); in main()
203 free(mem2); in main()
210 free(mem1); in main()
211 free(mem2); in main()
229 free(mem1); in main()
231 free(mem2); in main()
/linux/scripts/kconfig/
H A Dpreprocess.c60 free(e->name); in env_del()
61 free(e->value); in env_del()
62 free(e); in env_del()
297 free(v->value); in variable_add()
322 free(new_value); in variable_add()
331 free(v->name); in variable_del()
332 free(v->value); in variable_del()
333 free(v); in variable_del()
423 goto free; in eval_clause()
428 goto free; in eval_clause()
[all …]
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dftrace.c102 free(tmp); in disable_trace_options()
115 free(tmp->opt_name); in disable_trace_options()
116 free(tmp); in disable_trace_options()
124 free(tmp->opt_name); in disable_trace_options()
125 free(tmp); in disable_trace_options()
127 free(line); in disable_trace_options()
130 free(fopts); in disable_trace_options()
143 free(fbuf_size); in setup_buffer_size()
157 free(tmp); in setup_ftrace_instance()
169 free(tracer->instance_path); in remove_ftrace_instance()
[all …]
/linux/drivers/nvdimm/
H A Dlabel.c317 unsigned long **free, u32 *nslot) in preamble_index() argument
325 *free = (unsigned long *) nsindex->free; in preamble_index()
343 unsigned long **free, u32 *nslot) in preamble_current() argument
346 free, nslot); in preamble_current()
351 unsigned long **free, u32 *nslot) in preamble_next() argument
354 free, nslot); in preamble_next()
401 unsigned long *free; in nd_label_reserve_dpa() local
404 if (!preamble_current(ndd, &nsindex, &free, &nslot)) in nd_label_reserve_dpa()
407 for_each_clear_bit_le(slot, free, nslot) { in nd_label_reserve_dpa()
520 if (test_bit_le(i, nsindex->free)) { in nd_label_data_init()
[all …]
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.c81 enic->rfs_h.free = enic->rfs_h.max; in enic_rfs_flw_tbl_init()
101 enic->rfs_h.free++; in enic_rfs_flw_tbl_free()
148 enic->rfs_h.free++; in enic_flow_may_expire()
207 i = --enic->rfs_h.free; in enic_rx_flow_steer()
210 enic->rfs_h.free++; in enic_rx_flow_steer()
217 enic->rfs_h.free++; in enic_rx_flow_steer()
226 enic->rfs_h.free++; in enic_rx_flow_steer()
245 enic->rfs_h.free++; in enic_rx_flow_steer()
253 i = --enic->rfs_h.free; in enic_rx_flow_steer()
255 enic->rfs_h.free++; in enic_rx_flow_steer()
[all …]
/linux/net/llc/
H A Dllc_c_ac.c212 goto free; in llc_conn_ac_send_disc_cmd_p_set_x()
218 free: in llc_conn_ac_send_disc_cmd_p_set_x()
239 goto free; in llc_conn_ac_send_dm_rsp_f_set_p()
244 free: in llc_conn_ac_send_dm_rsp_f_set_p()
263 goto free; in llc_conn_ac_send_dm_rsp_f_set_1()
268 free: in llc_conn_ac_send_dm_rsp_f_set_1()
297 goto free; in llc_conn_ac_send_frmr_rsp_f_set_x()
302 free: in llc_conn_ac_send_frmr_rsp_f_set_x()
324 goto free; in llc_conn_ac_resend_frmr_rsp_f_set_0()
329 free: in llc_conn_ac_resend_frmr_rsp_f_set_0()
[all …]
/linux/arch/arm/probes/uprobes/
H A Dactions-arm.c23 u32 free = 0xffff; in uprobes_substitute_pc() local
30 free &= ~(1 << (insn & 0xf)); in uprobes_substitute_pc()
34 if (free & (1 << 15)) in uprobes_substitute_pc()
37 if (!free) in uprobes_substitute_pc()
44 freereg = free = fls(free) - 1; in uprobes_substitute_pc()
51 for (; regs; regs >>= 4, mask <<= 4, free <<= 4, temp >>= 4) { in uprobes_substitute_pc()
59 insn |= free & mask; in uprobes_substitute_pc()
/linux/Documentation/driver-api/nvdimm/
H A Dbtt.rst110 nfree The number of free blocks that are maintained at any given time.
127 i.e. Every write goes to a "free" block. A running list of free blocks is
129 "free list" and "log". The flog contains 'nfree' entries, and an entry contains:
134 free block.
173 writes. We can hit a condition where the writer thread grabs a free block to do
179 into the list of free blocks. If another write comes in for the same LBA, it can
180 grab this free block, and start writing to it, causing the reader to read
185 read is complete. Every writer thread, after grabbing a free block, checks the
186 RTT for its presence. If the postmap free block is in the RTT, it waits till the
196 free[lane] = map[premap_aba]
[all …]

12345678910>>...70