Home
last modified time | relevance | path

Searched refs:fput (Results 1 – 25 of 152) sorted by relevance

1234567

/linux/include/linux/
H A Dfile.h18 extern void fput(struct file *);
63 fput(fd_file(fd)); in fdput()
97 DEFINE_FREE(fput, struct file *, if (!IS_ERR_OR_NULL(_T)) fput(_T))
167 fput(fdf->__file); in class_fd_prepare_destructor()
/linux/drivers/accel/habanalabs/common/
H A Dhldio.c86 goto fput; in hl_dio_fd_register()
92 goto fput; in hl_dio_fd_register()
103 goto fput; in hl_dio_fd_register()
109 goto fput; in hl_dio_fd_register()
116 goto fput; in hl_dio_fd_register()
127 fput: in hl_dio_fd_register()
128 fput(f->filp); in hl_dio_fd_register()
135 fput(f->filp); in hl_dio_fd_unregister()
/linux/drivers/dma-buf/
H A Dsync_file.c92 fput(file); in sync_file_fdget()
113 fput(sync_file->file); in sync_file_get_fence()
177 fput(sync_file->file); in sync_file_merge()
254 fput(fence2->file); in sync_file_ioctl_merge()
258 fput(fence3->file); in sync_file_ioctl_merge()
261 fput(fence2->file); in sync_file_ioctl_merge()
H A Ddma-buf.c315 fput(dmabuf->file); in dma_buf_poll_cb()
486 fput(sync_file->file); in dma_buf_export_sync_file()
774 fput(file); in dma_buf_export()
825 fput(file); in dma_buf_get()
853 fput(dmabuf->file); in dma_buf_put()
/linux/net/handshake/
H A Dhandshake-test.c242 fput(filp); in handshake_req_submit_test4()
282 fput(filp); in handshake_req_submit_test5()
321 fput(filp); in handshake_req_submit_test6()
359 fput(filp); in handshake_req_cancel_test1()
400 fput(filp); in handshake_req_cancel_test2()
409 fput(filp); in handshake_req_cancel_test2()
450 fput(filp); in handshake_req_cancel_test3()
463 fput(filp); in handshake_req_cancel_test3()
H A Drequest.c317 fput(req->hr_file); in handshake_req_submit()
336 fput(file); in handshake_complete()
383 fput(req->hr_file); in handshake_req_cancel()
H A Dnetlink.c111 fput(req->hr_file); /* drop ref from handshake_req_next() */ in handshake_nl_accept_doit()
216 fput(file); in handshake_net_exit()
/linux/io_uring/
H A Dtctx.c265 fput(tctx->registered_rings[i]); in io_uring_unreg_ringfd()
296 fput(file); in io_ring_add_registered_fd()
301 fput(file); in io_ring_add_registered_fd()
362 fput(tctx->registered_rings[reg.offset]); in io_ringfd_register()
397 fput(tctx->registered_rings[reg.offset]); in io_ringfd_unregister()
/linux/security/keys/
H A Dbig_key.c126 fput(file); in big_key_preparse()
141 fput(file); in big_key_preparse()
271 fput(file); in big_key_read()
/linux/virt/kvm/
H A Dvfio.c147 struct file *filp __free(fput) = NULL; in kvm_vfio_file_add()
183 fput(kvf->file); in kvm_vfio_file_add()
/linux/fs/
H A Dkernel_read_file.c142 fput(file); in kernel_read_file_from_path()
169 fput(file); in kernel_read_file_from_path_initns()
/linux/fs/fuse/
H A Dbacking.c25 fput(fb->file); in fuse_backing_free()
137 fput(file); in fuse_backing_open()
/linux/rust/kernel/fs/
H A Dfile.rs211 unsafe { bindings::fput(obj.cast().as_ptr()) } in dec_ref()
248 unsafe { bindings::fput(obj.cast().as_ptr()) } in dec_ref()
/linux/fs/coda/
H A Dfile.c145 fput(cvm_ops->coda_file); in coda_vm_close()
208 fput(coda_file); in coda_file_mmap()
286 fput(cfi->cfi_container); in coda_release()
/linux/drivers/vdpa/vdpa_user/
H A Diova_domain.c38 fput(map_file->file); in vduse_iotlb_add_range()
53 fput(map_file->file); in vduse_iotlb_del_range()
538 fput(map_file->file); in vduse_domain_free_coherent()
609 fput(domain->file); in vduse_domain_destroy()
667 fput(file); in vduse_domain_create()
/linux/fs/autofs/
H A Ddev-ioctl.c360 fput(pipe); in autofs_dev_ioctl_setpipefd()
729 fput(fp); in _autofs_dev_ioctl()
741 fput(fp); in _autofs_dev_ioctl()
749 fput(fp); in _autofs_dev_ioctl()
/linux/drivers/gpu/drm/ttm/
H A Dttm_tt.c188 fput(ttm->swap_storage); in ttm_tt_fini()
258 fput(swap_storage); in ttm_tt_swapin()
364 fput(swap_storage); in ttm_tt_swapout()
/linux/drivers/gpu/drm/i915/gt/
H A Dst_shmem_utils.c52 fput(file); in igt_shmem_basic()
/linux/fs/pstore/
H A Dblk.c234 fput(psblk_file); in __register_pstore_blk()
331 fput(psblk_file); in __best_effort_exit()
/linux/fs/cachefiles/
H A Dondemand.c90 fput(file); in cachefiles_ondemand_fd_write_iter()
111 fput(file); in cachefiles_ondemand_fd_llseek()
345 fput(anon_file->file); in cachefiles_ondemand_get_fd()
467 fput(anon_file.file); in cachefiles_ondemand_daemon_read()
H A Dnamei.c470 fput(file); in cachefiles_create_tmpfile()
480 fput(file); in cachefiles_create_tmpfile()
573 fput(file); in cachefiles_open_file()
579 fput(file); in cachefiles_open_file()
/linux/kernel/liveupdate/
H A Dluo_file.c308 fput(file); in luo_preserve_file()
327 * luo_preserve_file() via fput(), returning ownership. in luo_preserve_file()
358 fput(luo_file->file);
664 * 3. Releases LUO's ownership reference on the 'struct file' via fput(). This in luo_file_can_finish_one()
704 fput(luo_file->file);
/linux/kernel/time/
H A Dposix-clock.c214 fput(fp); in get_clock_desc()
221 fput(cd->fp); in put_clock_desc()
/linux/mm/
H A Dmsync.c97 fput(file); in SYSCALL_DEFINE3()
/linux/drivers/vfio/pci/
H A Dvfio_pci_dmabuf.c376 fput(priv->dmabuf->file); in vfio_pci_dma_buf_move()
403 fput(priv->dmabuf->file); in vfio_pci_dma_buf_cleanup()

1234567