Home
last modified time | relevance | path

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

12345678910>>...99

/linux-6.3-rc2/tools/perf/util/
A Dparse-events.y184 free($3);
206 free($1);
246 free($2);
267 free($1);
345 free($1);
356 free($1);
369 free($1);
380 free($1);
381 free($3);
382 free($5);
[all …]
A Dexpr.c103 free(data_ptr); in ids__insert()
104 free(old_key); in ids__insert()
105 free(old_data); in ids__insert()
131 free(old_key); in ids__union()
174 free(old_key); in expr__add_id_val_source_count()
175 free(old_data); in expr__add_id_val_source_count()
213 free(old_key); in expr__add_ref()
283 free(old_key); in expr__del_id()
284 free(old_val); in expr__del_id()
297 free(ctx); in expr__ctx_new()
[all …]
A Dllvm-utils.c109 free(env); in search_program()
195 free(buf); in read_from_pipe()
206 free(buf); in read_from_pipe()
287 free(autoconf_path); in detect_kbuild_dir()
446 free(obj_path); in llvm__dump_obj()
577 free(command_echo); in llvm__compile_bpf()
578 free(command_out); in llvm__compile_bpf()
579 free(kbuild_dir); in llvm__compile_bpf()
585 free(obj_buf); in llvm__compile_bpf()
594 free(kbuild_dir); in llvm__compile_bpf()
[all …]
A 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.3-rc2/tools/perf/arch/riscv/util/
A 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.3-rc2/fs/ubifs/
A Dlprops.c30 return lprops->free; in get_heap_comp_val()
544 ubifs_assert(c, free == LPROPS_NC || free >= 0); in ubifs_change_lp()
573 free = ALIGN(free, 8); in ubifs_change_lp()
574 c->lst.total_free += free - lprops->free; in ubifs_change_lp()
582 lprops->free = free; in ubifs_change_lp()
1146 if (free > c->leb_size || free < 0 || dirty > c->leb_size || in scan_check_cb()
1165 free = lp->free; in scan_check_cb()
1170 if (is_idx && lp->free + lp->dirty == free + dirty && in scan_check_cb()
1183 free = lp->free; in scan_check_cb()
1187 if (lp->free != free || lp->dirty != dirty) in scan_check_cb()
[all …]
A Dfind.c277 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()
366 if (lprops->free < data->min_space) in scan_for_free_cb()
406 if (lprops && lprops->free >= min_space) in do_find_free_space()
416 if (lprops && lprops->free >= min_space) in do_find_free_space()
423 if (lprops->free >= min_space) in do_find_free_space()
438 if (lprops->free >= min_space) in do_find_free_space()
549 *offs = c->leb_size - lprops->free; in ubifs_find_free_space()
735 return lpa->dirty + lpa->free - lpb->dirty - lpb->free; in cmp_dirty_idx()
[all …]
/linux-6.3-rc2/kernel/trace/
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()
228 free: in test_empty_synth_event()
[all …]
/linux-6.3-rc2/include/kunit/
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
282 kunit_resource_free_t free, in kunit_alloc_resource() argument
[all …]
/linux-6.3-rc2/tools/testing/selftests/cgroup/
A Dtest_core.c126 free(cg_test); in test_cgcore_destroy()
325 free(child); in test_cgcore_invalid_domain()
326 free(parent); in test_cgcore_invalid_domain()
364 free(child); in test_cgcore_parent_becomes_threaded()
417 free(child); in test_cgcore_no_internal_process_constraint_on_threads()
452 free(child); in test_cgcore_top_down_constraint_enable()
493 free(child); in test_cgcore_top_down_constraint_disable()
534 free(child); in test_cgcore_internal_process_constraint()
594 free(dst); in test_cgcore_proc_migration()
595 free(src); in test_cgcore_proc_migration()
[all …]
A Dtest_kmem.c85 free(cg); in test_kmem_basic()
110 free(tinfo); in alloc_kmem_smp()
121 free(tinfo); in alloc_kmem_smp()
139 free(child); in cg_run_in_subcgroups()
145 free(child); in cg_run_in_subcgroups()
150 free(child); in cg_run_in_subcgroups()
211 free(parent); in test_kmem_memcg_deletion()
272 free(tinfo); in spawn_1000_threads()
298 free(cg); in test_kmem_kernel_stacks()
344 free(parent); in test_kmem_dead_cgroups()
[all …]
/linux-6.3-rc2/tools/iio/
A Diio_utils.c49 free(current); in iioutils_break_up_name()
66 free(current); in iioutils_break_up_name()
192 free(filename); in iioutils_get_type()
201 free(builtname); in iioutils_get_type()
272 free(filename); in iioutils_get_param_float()
281 free(builtname); in iioutils_get_param_float()
717 free(temp); in _write_sysfs_int()
816 free(temp); in _write_sysfs_string()
891 free(temp); in read_sysfs_posint()
938 free(temp); in read_sysfs_float()
[all …]
/linux-6.3-rc2/scripts/coccinelle/free/
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-6.3-rc2/drivers/mtd/ubi/
A Dfastmap-wl.c45 wl_tree_add(e, &ubi->free); in return_unused_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()
179 self_check_in_wl_tree(ubi, e, &ubi->free); in ubi_refill_pools()
180 rb_erase(&e->u.rb, &ubi->free); in ubi_refill_pools()
316 if (!ubi->free.rb_node) in need_wear_leveling()
[all …]
/linux-6.3-rc2/drivers/media/platform/renesas/vsp1/
A 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
296 list_add_tail(&dlb->free, &pool->free); in vsp1_dl_body_pool_create()
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()
479 list_add_tail(&cmd->free, &pool->free); in vsp1_dl_cmd_pool_create()
495 free); in vsp1_dl_ext_cmd_get()
[all …]
/linux-6.3-rc2/scripts/kconfig/
A Dpreprocess.c58 free(e->name); in env_del()
59 free(e->value); in env_del()
60 free(e); in env_del()
327 free(v->name); in variable_del()
329 free(v); in variable_del()
416 goto free; in eval_clause()
421 goto free; in eval_clause()
427 goto free; in eval_clause()
431 free: in eval_clause()
434 free(name); in eval_clause()
[all …]
/linux-6.3-rc2/fs/reiserfs/
A 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
163 bytes = free - free % 8; in direct_check_left()
169 return direct_check_left(vi, free, 0, 0); in direct_check_right()
301 bytes = free - free % UNFM_P_SIZE; in indirect_check_left()
307 return indirect_check_left(vi, free, 0, 0); in indirect_check_right()
534 if (dir_u->entry_sizes[i] > free) in direntry_check_left()
537 free -= dir_u->entry_sizes[i]; in direntry_check_left()
543 "free space %d, entry_count %d", free, in direntry_check_left()
563 if (dir_u->entry_sizes[i] > free) in direntry_check_right()
[all …]
/linux-6.3-rc2/drivers/nvdimm/
A Dlabel.c325 *free = (unsigned long *) nsindex->free; in preamble_index()
346 free, nslot); in preamble_current()
354 free, nslot); in preamble_next()
401 unsigned long *free; in nd_label_reserve_dpa() local
559 unsigned long *free; in nd_label_active_count() local
589 unsigned long *free; in nd_label_active() local
612 unsigned long *free; in nd_label_alloc_slot() local
632 unsigned long *free; in nd_label_free_slot() local
648 unsigned long *free; in nd_label_nfree() local
697 unsigned long *free = (unsigned long *) nsindex->free; in nd_label_write_index() local
[all …]
/linux-6.3-rc2/drivers/net/ethernet/cisco/enic/
A Denic_clsf.c101 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()
263 enic->rfs_h.free++; in enic_rx_flow_steer()
[all …]
/linux-6.3-rc2/scripts/dtc/
A 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()
/linux-6.3-rc2/net/llc/
A Dllc_c_ac.c218 free: in llc_conn_ac_send_disc_cmd_p_set_x()
244 free: in llc_conn_ac_send_dm_rsp_f_set_p()
268 free: in llc_conn_ac_send_dm_rsp_f_set_1()
302 free: in llc_conn_ac_send_frmr_rsp_f_set_x()
329 free: in llc_conn_ac_resend_frmr_rsp_f_set_0()
359 free: in llc_conn_ac_resend_frmr_rsp_f_set_p()
484 free: in llc_conn_ac_send_rej_cmd_p_set_1()
508 free: in llc_conn_ac_send_rej_rsp_f_set_1()
532 free: in llc_conn_ac_send_rej_xxx_x_set_0()
556 free: in llc_conn_ac_send_rnr_cmd_p_set_1()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
A Dnouveau_dma.c131 while (chan->dma.free < count) { in nv50_dma_wait()
141 chan->dma.free = chan->dma.max - chan->dma.cur; in nv50_dma_wait()
142 if (chan->dma.free >= count) in nv50_dma_wait()
158 chan->dma.free = get - chan->dma.cur - 1; in nv50_dma_wait()
173 while (chan->dma.free < size) { in nouveau_dma_wait()
204 chan->dma.free = chan->dma.max - chan->dma.cur; in nouveau_dma_wait()
205 if (chan->dma.free >= size) in nouveau_dma_wait()
241 chan->dma.free = get - chan->dma.cur - 1; in nouveau_dma_wait()
/linux-6.3-rc2/drivers/base/
A Ddevcoredump.c72 void (*free)(void *data); member
86 devcd->free(devcd->data); in devcd_dev_release()
327 void (*free)(void *data)) in dev_coredumpm()
334 goto free; in dev_coredumpm()
340 goto free; in dev_coredumpm()
344 goto free; in dev_coredumpm()
354 devcd->free = free; in dev_coredumpm()
389 free: in dev_coredumpm()
390 free(data); in dev_coredumpm()
/linux-6.3-rc2/drivers/gpu/host1x/
A Dcontext.c107 struct host1x_memory_context *free = NULL; in host1x_memory_context_alloc() local
125 } else if (!cd->owner && !free) { in host1x_memory_context_alloc()
126 free = cd; in host1x_memory_context_alloc()
130 if (!free) { in host1x_memory_context_alloc()
135 refcount_set(&free->ref, 1); in host1x_memory_context_alloc()
136 free->owner = get_pid(pid); in host1x_memory_context_alloc()
140 return free; in host1x_memory_context_alloc()
/linux-6.3-rc2/arch/arm/probes/uprobes/
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()

Completed in 61 milliseconds

12345678910>>...99