buf_size, strlen: don't use strlen() to determine the buf size
[smatch.git] / smatch_data / kernel.frees_argument
blob309f96b7e2658940f6e1c0c430f163e031b38201
1 // list of functions and the argument they free.
2 // generated by `gen_frees_list.sh`
3 __aarp_expire 0
4 acpi_bus_hot_remove_device 0
5 acpi_ds_delete_walk_state 0
6 acpi_ev_delete_gpe_xrupt 0
7 acpi_os_delete_lock 0
8 acpi_ut_delete_internal_object_list 0
9 ad714x_remove 0
10 adu_delete 0
11 adxl34x_remove 0
12 ahc_alloc 1
13 ahc_dma_tag_destroy 1
14 ahc_free 0
15 ahd_dma_tag_destroy 1
16 ahd_free 0
17 amixer_mgr_destroy 0
18 ap_free_sta 1
19 argv_free 0
20 ast_connector_destroy 0
21 ast_crtc_destroy 0
22 ast_encoder_destroy 0
23 ast_i2c_destroy 0
24 ast_ttm_backend_destroy 0
25 asus_cleanup_pci_hotplug 0
26 ata_sas_port_destroy 0
27 ath10k_htc_destroy 0
28 ath10k_htt_detach 0
29 ath6kl_wmi_shutdown 0
30 ath9k_htc_hw_free 0
31 ath_gen_timer_free 1
32 ath_mci_del_profile 2
33 atm_mpoa_delete_qos 0
34 atom_destroy 0
35 au0828_usb_release 0
36 audit_free_rule 0
37 autofs4_free_ino 0
38 __ax25_put_route 0
39 b1_free_card 0
40 b43_destroy_pioqueue_rx 0
41 balloon_devinfo_free 0
42 balloon_mapping_free 0
43 bar_release 2
44 batadv_hash_destroy 0
45 bcm_remove_op 0
46 bio_free_map_data 0
47 bl_free_lseg 0
48 blkg_free 0
49 blk_trace_free 0
50 block2mtd_free_device 0
51 bnx2fc_hba_destroy 0
52 bnx2x_exe_queue_free_elem 1
53 brcmf_free_vif 1
54 brcms_c_ampdu_detach 0
55 brcms_c_antsel_detach 0
56 brcms_c_bsscfg_mfree 0
57 brcms_c_channel_mgr_detach 0
58 brcms_ucode_free_buf 0
59 bsg_destroy_job 0
60 btrfs_free_block_rsv 1
61 btrfsic_block_free 0
62 btrfsic_block_link_free 0
63 btrfsic_dev_state_free 0
64 btrfsic_stack_frame_free 0
65 c2_dealloc_ucontext 0
66 cache_destroy_net 0
67 call_usermodehelper_freeinfo 0
68 cat_destroy 0
69 cat_destroy 1
70 cciss_free_sg_chain_blocks 0
71 cdc_ncm_free 0
72 ceph_auth_destroy 0
73 ceph_mdsmap_destroy 0
74 ceph_put_page_vector 0
75 ceph_release_page_vector 0
76 cffrml_free 0
77 cfg80211_dev_free 0
78 channel_detector_exit 1
79 cipso_v4_doi_free 0
80 cirrus_connector_destroy 0
81 cirrus_ttm_backend_destroy 0
82 class_compat_unregister 0
83 class_create_release 0
84 class_osdblk_release 0
85 class_pktcdvd_release 0
86 clkdev_drop 0
87 close_bwqcam 0
88 close_cqcam 0
89 cls_destroy 0
90 cls_destroy 1
91 cm109_usb_cleanup 0
92 cma3000_exit 0
93 cm_create_port_fs 0
94 cm_free_work 0
95 common_destroy 0
96 common_destroy 1
97 complete_agent_reset_write_no_wait 4
98 cond_destroy_bool 0
99 cond_destroy_bool 1
100 context_free 0
101 crush_destroy_bucket_list 0
102 crush_destroy_bucket_straw 0
103 crush_destroy_bucket_tree 0
104 crush_destroy_bucket_uniform 0
105 crystalhd_delete_dioq 1
106 CsrWifiNmeApPfree 0
107 CsrWifiRouterCtrlPfree 0
108 CsrWifiRouterPfree 0
109 CsrWifiRouterTransportSerialiseAndSend 1
110 CsrWifiSmePfree 0
111 ct_atc_destroy 0
112 ct_mixer_destroy 0
113 ct_timer_free 0
114 cuse_gendev_release 0
115 cxio_hal_destroy_resource 0
116 cyttsp_remove 0
117 dapm_free_path 0
118 db9_remove 0
119 dca_free_domain 0
120 delete_adapter 0
121 delete_attr_set 0
122 delete_port 0
123 destroy_8023_client 0
124 destroy_av 1
125 destroy_cache_args 0
126 destroy_EII_client 0
127 destroy_header_iter 0
128 destroy_htc_txctrl_packet 0
129 destroy_log_context 0
130 destroy_mount_options 0
131 destroy_trace_option_files 0
132 devinfo_seq_stop 1
133 diolan_u2c_free 0
134 dlm_free_lvb 0
135 dlm_free_pagevec 0
136 dl_seq_next 1
137 dma_buf_detach 1
138 dma_unpin_iovec_pages 0
139 dm_bio_prison_destroy 0
140 dm_block_manager_destroy 0
141 dm_deferred_set_destroy 0
142 dm_free_md_mempools 0
143 dmi_entry_free 0
144 dm_io_client_destroy 0
145 doc_release_device 0
146 do_sync_work 0
147 do_thaw_all 0
148 drbd_free_bc 0
149 drr_destroy_class 1
150 dummy_free 0
151 dvb_unregister_device 0
152 dynamic_kobj_release 0
153 _edac_mc_free 0
154 eeepc_cleanup_pci_hotplug 0
155 efivarfs_destroy 0
156 erase_callback 0
157 eventfd_free_ctx 0
158 ext4_remove_li_request 0
159 extcon_dev_release 0
160 fb_destroy_modedb 0
161 fcoe_sysfs_fcf_del 0
162 fib_free_table 0
163 filenametr_destroy 0
164 filenametr_destroy 1
165 flexcop_device_kfree 0
166 flow_destroy_filter 1
167 flush_entry_free 0
168 __fmc_sdb_free 0
169 force_clean_group 0
170 __fprog_destroy 0
171 framebuffer_release 0
172 free_buffer_page 0
173 free_buf_info 1
174 free_cmd 0
175 free_cmd_box 1
176 free_conn 0
177 free_context 0
178 free_cpumask_var 0
179 free_dca_provider 0
180 free_device_state 0
181 free_dev_ioctl 0
182 free_event_entry 0
183 free_fake_cpuc 0
184 free_flex_gd 0
185 free_fw_cache_entry 0
186 free_hba 0
187 free_i7core_dev 0
188 free_imon_context 0
189 free_ipath 0
190 free_irq_cfg 1
191 free_link_state 0
192 free_local_pdev 0
193 free_log_tree 1
194 free_map_info 0
195 free_msg 0
196 free_ncci 1
197 free_param_target 0
198 free_partition 0
199 free_partitions 0
200 free_pasid_state 0
201 free_pgpath 0
202 free_pipe_info 0
203 free_pl 0
204 free_plci 1
205 free_sbridge_dev 0
206 free_sched_domains 0
207 free_sched_group 0
208 free_symbol_cache 0
209 free_sysfs_super_info 0
210 free_trace_uprobe 0
211 free_trial_cpuset 0
212 free_tty_struct 0
213 free_usb_address 1
214 free_watch_adapter 0
215 __free_xattr 0
216 fsnotify_final_destroy_group 0
217 fs_path_free 0
218 ftl_erase_callback 0
219 ftrace_free_entry 0
220 fuse_file_free 0
221 fuse_free_conn 0
222 fwnet_pd_delete 0
223 fwnet_receive_packet 1
224 garp_attr_destroy 1
225 gcov_iter_free 0
226 gc_remove 0
227 gen_pool_destroy 0
228 gf128mul_free_4k 0
229 gf128mul_free_64k 0
230 gntdev_free_map 0
231 gred_destroy_vq 0
232 groups_free 0
233 gsm_free_mux 0
234 gss_do_free_ctx 0
235 gss_free_cred 0
236 hashtab_destroy 0
237 hfs_bnode_free 0
238 hfsplus_bnode_free 0
239 hid_free_report 0
240 hidinput_cleanup_hidinput 1
241 hsi_free_msg 0
242 hso_free_shared_int 0
243 htb_destroy_class 1
244 i2c_tiny_usb_free 0
245 i2o_block_device_free 0
246 i2o_exec_wait_free 0
247 i915_error_object_free 0
248 ib_dealloc_device 0
249 ibft_kobj_release 0
250 ibmpex_bmc_delete 0
251 idmouse_delete 0
252 ieee80211_key_free_common 0
253 if_spi_h2c 1
254 iio_buffer_remove_and_free_scan_dev_attr 1
255 iio_channel_release_all_cb 0
256 iio_dealloc_pollfunc 0
257 iio_device_remove_and_free_read_attr 1
258 intel_crt_destroy 0
259 intel_dvo_destroy 0
260 intel_hdmi_destroy 0
261 intel_set_config_free 0
262 intel_tv_destroy 0
263 ioeventfd_release 0
264 iommu_domain_free 0
265 iowarrior_delete 0
266 ip6mr_free_table 0
267 ipack_bus_unregister 0
268 ipath_user_sdma_queue_destroy 0
269 ipmr_free_table 0
270 __ipoctal_remove 0
271 ip_options_get_finish 2
272 ip_vs_app_inc_destroy 0
273 ip_vs_dest_dst_free 0
274 ip_vs_service_free 0
275 ip_vs_sync_buff_release 0
276 ipwireless_network_free 0
277 __ircomm_close 0
278 __ircomm_tty_cleanup 0
279 __irda_task_delete 0
280 __iriap_close 0
281 __irias_delete_attrib 0
282 __irias_delete_object 0
283 irias_delete_value 0
284 __irlap_close 0
285 __irlmp_close_lsap 0
286 isdn_v110_close 0
287 iwch_free_fastreg_pbl 0
288 iwl_trans_pcie_free 0
289 jffs2_free_full_dirent 0
290 kbd_disconnect 0
291 kvm_arch_free_vm 0
292 lapb_free_cb 0
293 libipw_txb_free 0
294 loop_remove 0
295 lpfc_els_free_bpl 1
296 lpfc_els_hbq_free 1
297 lpfc_free_ct_rsp 1
298 lpfc_hba_free 0
299 lpfc_sli4_rb_free 1
300 mac_destroy 0
301 mac_hid_emumouse_disconnect 0
302 mce_device_release 0
303 mdiobus_free 0
304 md_unplug 0
305 mei_io_cb_free 0
306 mempool_kfree 0
307 __mesh_table_free 0
308 mga_connector_destroy 0
309 mgag200_i2c_destroy 0
310 mgag200_ttm_backend_destroy 0
311 minstrel_free 0
312 mlx4_en_filter_free 0
313 mmc_free_ext_csd 0
314 mmc_test_free_mem 0
315 move_node 2
316 mpi_free_limb_space 0
317 mpt_adapter_dispose 0
318 mptsas_port_delete 1
319 mrp_attr_destroy 1
320 mthca_free_mailbox 1
321 mv88e1xxx_destroy 0
322 mv88x201x_destroy 0
323 mwifiex_unregister 0
324 my3126_destroy 0
325 netlink_consume_callback 0
326 netlink_destroy_callback 0
327 nfc_llc_free 0
328 nfc_llcp_free_sdp_tlv 0
329 nfc_mei_phy_free 0
330 nfs3_free_createdata 0
331 nfs41_free_stateid_release 0
332 nfs4_delegreturn_release 0
333 nfs4_free_open_state 0
334 nfs4_free_pages 0
335 nfs4_release_lockowner_release 0
336 nfs4_remove_reclaim_record 0
337 nfs_free_createdata 0
338 nfs_free_unlinkdata 0
339 n_hdlc_release 0
340 nouveau_abi16_ntfy_fini 1
341 nouveau_gem_object_del 0
342 nouveau_object_destroy 0
343 nv50_dac_destroy 0
344 nv50_pior_destroy 0
345 nv50_sor_destroy 0
346 nv_poweroff_work 0
347 ocfs2_free_refcount_tree 0
348 _osd_request_free 0
349 osst_release_request 0
350 ovs_vport_free 0
351 oz_isoc_stream_free 0
352 p9_idpool_destroy 0
353 padata_free_pd 0
354 pci_mmconfig_remove 0
355 pcxhr_chip_free 0
356 pcxhr_free 0
357 perm_destroy 0
358 perm_destroy 1
359 pkt_free_packet_data 0
360 pm3393_destroy 0
361 pmu_dev_release 0
362 pnp_free_resource 0
363 portman_free 0
364 pps_device_destruct 0
365 psb_intel_i2c_destroy 0
366 psb_mmu_driver_takedown 0
367 psb_mmu_free_pt 0
368 pstore_ftrace_seq_stop 1
369 pt1_free_adapter 0
370 put_nfs_open_dir_context 0
371 pvr2_hdw_destroy 0
372 pvr2_sysfs_release 0
373 pvr2_v4l2_destroy_no_lock 0
374 qib_free_fast_reg_page_list 0
375 qib_user_sdma_queue_destroy 0
376 qlcnic_sriov_cleanup_transaction 0
377 qlt_release 0
378 qp_host_free_queue 0
379 queue_delete 0
380 quickstart_button_del 0
381 qxl_ring_free 0
382 r10bio_pool_free 0
383 r1bio_pool_free 0
384 r8712_free_cmd_obj 0
385 r8712_getbbrfreg_cmdrsp_callback 1
386 r8712_readtssi_cmdrsp_callback 1
387 radeon_connector_destroy 0
388 radeon_dp_connector_destroy 0
389 radeon_i2c_destroy 0
390 radeon_vm_bo_rmv 1
391 range_tr_destroy 0
392 range_tr_destroy 1
393 rate_control_pid_free_sta 2
394 __rds_put_mr_final 0
395 realloc_argv 1
396 recent_entry_remove 1
397 redrat3_delete 0
398 regmap_del_irq_chip 1
399 regmap_field_free 0
400 regmap_mmio_free_context 0
401 release_memory_resource 0
402 __remove_pg_pool 1
403 __remove_xattr 1
404 rem_res_tree 0
405 rfkill_disconnect 0
406 rio_release_outb_dbell 1
407 role_destroy 0
408 role_destroy 1
409 rose_remove_node 0
410 rose_remove_route 0
411 rpc_destroy_pipe_data 0
412 rpc_free_iostats 0
413 rtd_release 0
414 saa7164_buffer_dealloc_user 0
415 sbp_free_request 0
416 sbp_management_agent_unregister 0
417 sbp_target_agent_unregister 0
418 sb_register_oss 0
419 sb_unload 0
420 selinux_release_secctx 0
421 selinux_tun_dev_free_security 0
422 sens_destroy 0
423 sens_destroy 1
424 slhc_free 0
425 smsdvb_unregister_client 0
426 smtc_free_fb_info 0
427 snd_ak4113_free 0
428 snd_ak4114_free 0
429 snd_ak4117_free 0
430 snd_ca0106_free 0
431 snd_card_do_free 0
432 snd_cs5530_free 0
433 snd_cs5535audio_free 0
434 snd_emu10k1_free 0
435 snd_hda_bus_free 0
436 snd_hwdep_free 0
437 snd_i2c_device_free 0
438 snd_lx6464es_free 0
439 snd_midi_channel_free_set 0
440 snd_mixart_chip_free 0
441 snd_mixart_free 0
442 snd_mts64_free 0
443 snd_opl3_free 0
444 snd_pcm_oss_release_file 0
445 snd_pcm_plugin_free 0
446 snd_sbdsp_free 0
447 snd_seq_device_free 0
448 snd_uart16550_free 0
449 snd_usb_audio_free 0
450 snd_usb_mixer_free 0
451 __snd_util_mem_free 1
452 snd_util_memhdr_free 0
453 snd_vx222_free 0
454 solo_enc_free 0
455 _sp2d_free 0
456 squashfs_cache_delete 0
457 src_mgr_destroy 0
458 st_release_request 0
459 stub_device_free 0
460 sum_mgr_destroy 0
461 system_root_device_release 0
462 t1_espi_destroy 0
463 t1_tp_destroy 0
464 target_fabric_configfs_free 0
465 __team_option_inst_del 0
466 tgfx_remove 0
467 tipc_free_entry 0
468 tomoyo_memory_free 0
469 tower_delete 0
470 tpci200_release_device 0
471 ttm_transfered_destroy 0
472 tty_audit_buf_free 0
473 type_destroy 0
474 type_destroy 1
475 udl_connector_destroy 0
476 udl_crtc_destroy 0
477 udl_enc_destroy 0
478 unifi_free_card 0
479 _unload_intf_hdl 0
480 unregister_from_lirc 0
481 unx_free_cred 0
482 usb_cleanup 0
483 usb_free_descriptors 0
484 usbhsh_ureq_free 1
485 usblp_cleanup 0
486 usb_pcwd_delete 0
487 user_destroy 0
488 user_destroy 1
489 v4l2_m2m_release 0
490 vb2_dma_contig_cleanup_ctx 0
491 vb2_put_vma 0
492 vcs_poll_data_free 0
493 vfio_group_unlock_and_free 0
494 via_aux_free 0
495 vic_provinfo_free 0
496 video_device_release 0
497 vmci_handle_arr_destroy 0
498 vme_dma_free_attribute 0
499 vme_dma_list_free 0
500 vme_lm_free 0
501 vme_slave_free 0
502 vmw_sou_destroy 0
503 __vxge_hw_channel_free 0
504 w1_slave_detach 0
505 wl1271_rx_filter_free 0
506 wlc_phy_shim_detach 0
507 w_resync_finished 0
508 xencons_free 0
509 xen_pcibk_config_field_free 0
510 xfrm_policy_destroy 0
511 xhci_free_container_ctx 1
512 xhci_segment_free 1
513 xt_unregister_table 0
514 xz_dec_lzma2_end 0
515 zbud_destroy_pool 0
516 zoran_vdev_release 0
517 zram_meta_free 0
518 zs_destroy_pool 0