Home
last modified time | relevance | path

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

12345678910>>...86

/linux-6.6.21/tools/perf/arch/riscv/util/
Dheader.c55 goto free; in _get_cpuid()
59 goto free; in _get_cpuid()
63 goto free; in _get_cpuid()
70 goto free; in _get_cpuid()
75 free: in _get_cpuid()
77 free(mvendorid); in _get_cpuid()
78 free(marchid); in _get_cpuid()
79 free(mimpid); in _get_cpuid()
91 goto free; in get_cpuid()
95 free: in get_cpuid()
[all …]
/linux-6.6.21/tools/perf/util/
Dparse-events.y53 free(list_evsel); in free_list_evsel()
83 %destructor { free ($$); } <str>
107 %destructor { free ($$.sys); free ($$.event); } <tracepoint_name>
109 %destructor { free ($$.str); } <hardware_term>
174 free($3);
234 free($2);
255 free($1);
284 free(list); \
285 free($1); \
286 free(pattern); \
[all …]
Dexpr.c107 free(data_ptr); in ids__insert()
108 free(old_key); in ids__insert()
109 free(old_data); in ids__insert()
135 free(old_key); in ids__union()
136 free(old_data); in ids__union()
177 free(data_ptr); in expr__add_id_val_source_count()
178 free(old_key); in expr__add_id_val_source_count()
179 free(old_data); in expr__add_id_val_source_count()
196 free(data_ptr); in expr__add_ref()
212 free(data_ptr); in expr__add_ref()
[all …]
Dtrace-event-read.c183 free(buf); in read_ftrace_printk()
191 free(buf); in read_ftrace_printk()
218 free(header_page); in read_header_files()
230 free(header_page); in read_header_files()
267 free(buf); in read_ftrace_file()
291 free(buf); in read_event_file()
335 free(sys); in read_event_files()
339 free(sys); in read_event_files()
371 free(buf); in read_saved_cmdline()
415 free(version); in trace_report()
[all …]
/linux-6.6.21/fs/ubifs/
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 …]
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()
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()
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-6.6.21/tools/net/ynl/generated/
Ddevlink-user.c156 free(obj->info_version_name); in devlink_dl_info_version_free()
157 free(obj->info_version_value); in devlink_dl_info_version_free()
233 free(obj->reload_stats_entry); in devlink_dl_reload_act_stats_free()
282 free(obj->reload_action_stats); in devlink_dl_reload_act_info_free()
336 free(obj->reload_action_info); in devlink_dl_reload_stats_free()
425 free(req->bus_name); in devlink_get_req_free()
426 free(req->dev_name); in devlink_get_req_free()
427 free(req); in devlink_get_req_free()
432 free(rsp->bus_name); in devlink_get_rsp_free()
433 free(rsp->dev_name); in devlink_get_rsp_free()
[all …]
Ddevlink-user.h94 free(req->bus_name); in devlink_get_req_set_bus_name()
103 free(req->dev_name); in devlink_get_req_set_dev_name()
168 free(req->bus_name); in devlink_port_get_req_set_bus_name()
178 free(req->dev_name); in devlink_port_get_req_set_dev_name()
234 free(req->bus_name); in devlink_port_get_req_dump_set_bus_name()
244 free(req->dev_name); in devlink_port_get_req_dump_set_dev_name()
298 free(req->bus_name); in devlink_sb_get_req_set_bus_name()
308 free(req->dev_name); in devlink_sb_get_req_set_dev_name()
363 free(req->bus_name); in devlink_sb_get_req_dump_set_bus_name()
373 free(req->dev_name); in devlink_sb_get_req_dump_set_dev_name()
[all …]
Dfou-user.c68 free(req->local_v6); in fou_add_req_free()
69 free(req->peer_v6); in fou_add_req_free()
70 free(req); in fou_add_req_free()
113 free(req->local_v6); in fou_del_req_free()
114 free(req->peer_v6); in fou_del_req_free()
115 free(req); in fou_del_req_free()
154 free(req->local_v6); in fou_get_req_free()
155 free(req->peer_v6); in fou_get_req_free()
156 free(req); in fou_get_req_free()
161 free(rsp->local_v6); in fou_get_rsp_free()
[all …]
Dhandshake-user.c141 free(req); in handshake_accept_req_free()
148 free(rsp->peer_identity); in handshake_accept_rsp_free()
151 free(rsp->certificate); in handshake_accept_rsp_free()
152 free(rsp->peername); in handshake_accept_rsp_free()
153 free(rsp); in handshake_accept_rsp_free()
280 free(rsp->obj.peer_identity); in handshake_accept_ntf_free()
283 free(rsp->obj.certificate); in handshake_accept_ntf_free()
284 free(rsp->obj.peername); in handshake_accept_ntf_free()
285 free(rsp); in handshake_accept_ntf_free()
292 free(req->remote_auth); in handshake_done_req_free()
[all …]
/linux-6.6.21/kernel/trace/
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-6.6.21/tools/testing/selftests/cgroup/
Dtest_core.c126 free(cg_test); in test_cgcore_destroy()
232 free(cg_test_d); in test_cgcore_populated()
256 free(cg_test_d); in test_cgcore_populated()
257 free(cg_test_c); in test_cgcore_populated()
258 free(cg_test_b); in test_cgcore_populated()
259 free(cg_test_a); in test_cgcore_populated()
325 free(child); in test_cgcore_invalid_domain()
326 free(parent); in test_cgcore_invalid_domain()
327 free(grandparent); in test_cgcore_invalid_domain()
364 free(child); in test_cgcore_parent_becomes_threaded()
[all …]
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 …]
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 …]
/linux-6.6.21/include/kunit/
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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
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-6.6.21/tools/iio/
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-6.6.21/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)
/linux-6.6.21/drivers/mtd/ubi/
Dfastmap-wl.c45 wl_tree_add(e, &ubi->free); in return_unused_peb()
79 if (!ubi->free.rb_node || (ubi->free_count - ubi->beb_rsvd_pebs < 1)) 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()
117 if (!ubi->free.rb_node) in has_enough_free_count()
147 wl_tree_add(ubi->fm_anchor, &ubi->free); in ubi_refill_pools()
178 e = find_wl_entry(ubi, &ubi->free, WL_FREE_MAX_DIFF); in ubi_refill_pools()
179 self_check_in_wl_tree(ubi, e, &ubi->free); in ubi_refill_pools()
[all …]
/linux-6.6.21/drivers/media/platform/renesas/vsp1/
Dvsp1_dl.c106 struct list_head free; member
138 struct list_head free; member
161 struct list_head free; member
222 struct list_head free; member
285 INIT_LIST_HEAD(&pool->free); in vsp1_dl_body_pool_create()
296 list_add_tail(&dlb->free, &pool->free); in vsp1_dl_body_pool_create()
336 if (!list_empty(&pool->free)) { in vsp1_dl_body_get()
337 dlb = list_first_entry(&pool->free, struct vsp1_dl_body, free); in vsp1_dl_body_get()
338 list_del(&dlb->free); in vsp1_dl_body_get()
366 list_add_tail(&dlb->free, &dlb->pool->free); in vsp1_dl_body_put()
[all …]
/linux-6.6.21/scripts/kconfig/
Dpreprocess.c58 free(e->name); in env_del()
59 free(e->value); in env_del()
60 free(e); in env_del()
293 free(v->value); in variable_add()
318 free(new_value); in variable_add()
327 free(v->name); in variable_del()
328 free(v->value); in variable_del()
329 free(v); in variable_del()
419 goto free; in eval_clause()
424 goto free; in eval_clause()
[all …]
/linux-6.6.21/fs/reiserfs/
Ditem_ops.c68 static int sd_check_left(struct virtual_item *vi, int free, in sd_check_left() argument
75 static int sd_check_right(struct virtual_item *vi, int free) in sd_check_right() argument
158 static int direct_check_left(struct virtual_item *vi, int free, in direct_check_left() argument
163 bytes = free - free % 8; in direct_check_left()
167 static int direct_check_right(struct virtual_item *vi, int free) in direct_check_right() argument
169 return direct_check_left(vi, free, 0, 0); in direct_check_right()
296 static int indirect_check_left(struct virtual_item *vi, int free, in indirect_check_left() argument
301 bytes = free - free % UNFM_P_SIZE; in indirect_check_left()
305 static int indirect_check_right(struct virtual_item *vi, int free) in indirect_check_right() argument
307 return indirect_check_left(vi, free, 0, 0); in indirect_check_right()
[all …]
/linux-6.6.21/drivers/nvdimm/
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()
519 if (test_bit_le(i, nsindex->free)) { in nd_label_data_init()
[all …]
/linux-6.6.21/drivers/net/ethernet/cisco/enic/
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-6.6.21/scripts/dtc/
Dfdtoverlay.c82 free(base); in apply_one()
83 free(tmpo); in apply_one()
87 free(tmpo); in apply_one()
89 free(tmp); in apply_one()
154 free(ovblob[i]); in do_fdtoverlay()
156 free(ovblob); in do_fdtoverlay()
158 free(blob); in do_fdtoverlay()

12345678910>>...86