Searched refs:fput (Results 1 - 113 of 113) sorted by relevance

/linux-4.4.14/sound/
H A Dsound_firmware.c26 fput(filp); do_mod_firmware_load()
33 fput(filp); do_mod_firmware_load()
40 fput(filp); do_mod_firmware_load()
43 fput(filp); do_mod_firmware_load()
/linux-4.4.14/include/linux/
H A Dfile.h14 extern void fput(struct file *);
26 fput(file); fput_light()
39 fput(fd.file); fdput()
H A Dnet.h225 #define sockfd_put(sock) fput(sock->file)
/linux-4.4.14/fs/
H A Dfile_table.c184 /* the real guts of fput() - releasing the last reference to file
248 * If kernel thread really needs to have the final fput() it has done
264 void fput(struct file *file) fput() function
276 * fput to avoid leaking *file. fput()
286 * synchronous analog of fput(); for kernel threads that might be needed
291 * don't blindly convert fput() by kernel thread to that.
302 EXPORT_SYMBOL(fput); variable
H A Dbinfmt_em86.c50 fput(bprm->file); load_em86()
H A Dbinfmt_script.c43 fput(bprm->file); load_script()
H A Dnsfs.c136 fput(file); proc_ns_fget()
H A Dopen.c786 * an error occurs in ->atomic_open(), it needs to clean up with fput().
868 /* from now on we need fput() to dispose of f */ dentry_open()
871 fput(f); dentry_open()
1082 fput(filp); filp_close()
H A Dpipe.c796 fput(files[0]); __do_pipe_flags()
797 fput(files[1]); __do_pipe_flags()
825 fput(files[0]); SYSCALL_DEFINE2()
826 fput(files[1]); SYSCALL_DEFINE2()
H A Dcoredump.c157 fput(exe_file); cn_print_exe_file()
502 fput(files[0]); umh_pipe_setup()
H A Deventfd.c330 fput(file); eventfd_fget()
H A Dexec.c163 fput(file); SYSCALL_DEFINE1()
800 fput(file); do_open_execat()
1198 fput(bprm->file); free_bprm()
H A Dfile.c590 * fput() the struct file we are about to overwrite in this case.
942 fput(file); SYSCALL_DEFINE1()
H A Dbinfmt_misc.c184 fput(bprm->file); load_misc_binary()
H A Daio.c281 fput(aio_ring_file); put_aio_ring_file()
1023 fput(req->common.ki_filp); kiocb_free()
H A Dbinfmt_elf_fdpic.c396 fput(interpreter); load_elf_fdpic_binary()
468 fput(interpreter); load_elf_fdpic_binary()
H A Dbinfmt_elf.c1021 fput(interpreter); load_elf_binary()
1097 fput(interpreter); load_elf_binary()
H A Dbinfmt_flat.c847 fput(bprm.file); load_flat_shared_library()
H A Dselect.c133 fput(entry->filp); free_poll_entry()
H A Dnamei.c2898 fput(file); atomic_open()
3215 fput(file); do_last()
3281 fput(file); do_tmpfile()
/linux-4.4.14/arch/alpha/kernel/
H A Dbinfmt_loader.c22 fput(bprm->file); load_binary()
/linux-4.4.14/security/keys/
H A Dbig_key.c100 fput(file); big_key_preparse()
113 fput(file); big_key_preparse()
202 fput(file); big_key_read()
/linux-4.4.14/fs/nfsd/
H A Dlockd.c58 fput(filp); nlm_fclose()
H A Dnfs4layouts.c148 fput(ls->ls_file); nfsd4_free_layout_stateid()
216 fput(ls->ls_file); nfsd4_alloc_layout_stateid()
H A Dvfs.c706 fput(file); nfsd_open()
994 fput(file); nfsd_read()
1026 fput(file); nfsd_write()
1071 fput(file); nfsd_commit()
1904 fput(file); nfsd_readdir()
H A Dnfs4state.c460 fput(f1); __nfs4_file_put_access()
462 fput(f2); __nfs4_file_put_access()
772 fput(filp); nfs4_put_deleg_lease()
3965 fput(filp); nfs4_get_vfs_file()
4097 fput(filp); nfs4_setlease()
4778 fput(file); nfs4_check_file()
5672 fput(filp); nfsd4_lock()
5713 fput(file); nfsd_test_lock()
5826 goto fput; nfsd4_locku()
5847 fput: nfsd4_locku()
5848 fput(filp); nfsd4_locku()
5860 goto fput; nfsd4_locku()
5896 fput(filp); check_for_locks()
H A Dnfs4proc.c1006 fput(filp); nfsd4_write()
1032 fput(file); nfsd4_fallocate()
1090 fput(file); nfsd4_seek()
H A Dnfs4recover.c497 fput(nn->rec_file); nfsd4_shutdown_recdir()
H A Dnfs4xdr.c3510 fput(file); nfsd4_encode_read()
/linux-4.4.14/fs/coda/
H A Dfile.c183 fput(cfi->cfi_container); coda_release()
187 /* VFS fput ignores the return value from file_operations->release, so coda_release()
/linux-4.4.14/fs/ecryptfs/
H A Dkthread.c146 * lower file is fput() when all eCryptfs files for the inode are ecryptfs_privileged_open()
175 fput(*lower_file); ecryptfs_privileged_open()
H A Dmain.c165 fput(inode_info->lower_file); ecryptfs_put_lower_file()
/linux-4.4.14/mm/
H A Dmsync.c90 fput(file); SYSCALL_DEFINE3()
H A Dnommu.c674 fput(region->vm_file); __releases()
832 fput(vma->vm_file); delete_vma()
1358 fput(region->vm_file); do_mmap()
1433 fput(region->vm_file); do_mmap()
1436 fput(vma->vm_file); do_mmap()
1479 fput(file); SYSCALL_DEFINE6()
H A Dmadvise.c330 fput(f); madvise_remove()
H A Dmmap.c278 fput(vma->vm_file); remove_vma()
894 fput(file); vma_adjust()
1459 fput(file); SYSCALL_DEFINE6()
1689 fput(file); mmap_region()
2505 fput(new->vm_file); __split_vma()
2718 fput(file); SYSCALL_DEFINE5()
H A Dshmem.c3426 fput(vma->vm_file); shmem_zero_setup()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
H A Dkernel_user_comm.c122 /* fput in group_rem */ libcfs_kkuc_group_add()
172 fput(reg->kr_fp); libcfs_kkuc_group_rem()
195 fput(reg->kr_fp); libcfs_kkuc_group_put()
/linux-4.4.14/drivers/gpu/drm/ttm/
H A Dttm_tt.c181 fput(ttm->swap_storage); ttm_tt_destroy()
318 fput(swap_storage); ttm_tt_swapin()
376 fput(swap_storage); ttm_tt_swapout()
/linux-4.4.14/net/unix/
H A Dgarbage.c39 * skb_free() them all instead of doing explicit fput's.
40 * Another problem: since fput() may block somebody may
48 * extra fput() in situation when we passed the descriptor via
H A Daf_unix.c1511 /* So fscking what? fput() had been SMP-safe since the last Summer */ unix_destruct_scm()
/linux-4.4.14/drivers/scsi/osd/
H A Dosd_uld.c255 fput(file); osduld_path_lookup()
331 * within fput below. But this will oops in cdev_release which osduld_put_device()
333 * sure we have a cdev for the duration of fput osduld_put_device()
337 fput(odh->file); osduld_put_device()
/linux-4.4.14/drivers/media/pci/cx25821/
H A Dcx25821-audio-upstream.c290 fput(file); cx25821_get_audio_data()
301 fput(file); cx25821_get_audio_data()
346 fput(file); cx25821_openfile_audio()
358 fput(file); cx25821_openfile_audio()
/linux-4.4.14/arch/tile/mm/
H A Delf.c98 fput(exe_file); notify_exec()
/linux-4.4.14/fs/overlayfs/
H A Dreaddir.c262 fput(realfile); ovl_dir_read()
467 fput(realfile); ovl_dir_fsync()
486 fput(od->realfile); ovl_dir_release()
488 fput(od->upperfile); ovl_dir_release()
H A Dcopy_up.c130 fput(new_file); ovl_copy_up_data()
132 fput(old_file); ovl_copy_up_data()
/linux-4.4.14/security/integrity/
H A Diint.c244 fput(file); integrity_read_file()
/linux-4.4.14/fs/autofs4/
H A Ddev-ioctl.c385 fput(pipe); autofs_dev_ioctl_setpipefd()
683 fput(fp); _autofs_dev_ioctl()
694 fput(fp); _autofs_dev_ioctl()
702 fput(fp); _autofs_dev_ioctl()
H A Dwaitq.c51 fput(sbi->pipe); /* Close the pipe */ autofs4_catatonic_mode()
177 fput(pipe); autofs4_notify_daemon()
H A Dinode.c332 fput(pipe); autofs4_fill_super()
/linux-4.4.14/drivers/usb/gadget/function/
H A Dstorage_common.c178 fput(curlun->filp); fsg_lun_close()
278 fput(filp); fsg_lun_open()
/linux-4.4.14/kernel/time/
H A Dposix-clock.c266 fput(fp); get_clock_desc()
273 fput(cd->fp); put_clock_desc()
/linux-4.4.14/drivers/dma-buf/
H A Ddma-buf.c395 fput(file); dma_buf_get()
407 * Uses file's refcounting done implicitly by fput()
414 fput(dmabuf->file); dma_buf_put()
699 fput(dmabuf->file); dma_buf_mmap()
702 fput(oldfile); dma_buf_mmap()
/linux-4.4.14/drivers/vhost/
H A Dvhost.c535 fput(dev->vqs[i]->error); vhost_dev_cleanup()
537 fput(dev->vqs[i]->kick); vhost_dev_cleanup()
541 fput(dev->vqs[i]->call); vhost_dev_cleanup()
549 fput(dev->log_file); vhost_dev_cleanup()
925 fput(filep); vhost_vring_ioctl()
1009 fput(filep); vhost_dev_ioctl()
H A Dnet.c856 fput(file); get_tap_socket()
/linux-4.4.14/drivers/staging/android/
H A Dsync.c227 fput(file); sync_fence_fdget()
234 fput(fence->file); sync_fence_put()
H A Dashmem.c274 fput(asma->file); ashmem_release()
406 fput(asma->file); ashmem_mmap()
412 fput(vma->vm_file); ashmem_mmap()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
H A Dlproc_mdc.c147 fput(fp); mdc_kuc_write()
H A Dmdc_request.c1547 fput(cs->cs_fp); mdc_changelog_send_thread()
1570 /* matching fput in mdc_changelog_send_thread */ mdc_ioc_changelog_send()
/linux-4.4.14/drivers/misc/mic/scif/
H A Dscif_epd.h176 fput(epd->anon); scif_anon_inode_fput()
/linux-4.4.14/arch/arc/kernel/
H A Dtroubleshoot.c74 fput(exe_file); print_task_path_n_nm()
/linux-4.4.14/net/9p/
H A Dtrans_fd.c797 fput(ts->rd); p9_fd_open()
799 fput(ts->wr); p9_fd_open()
882 fput(ts->rd); p9_fd_close()
884 fput(ts->wr); p9_fd_close()
/linux-4.4.14/net/core/
H A Dscm.c126 fput(fpl->fp[i]); __scm_destroy()
H A Dnet_namespace.c482 fput(file); get_net_ns_by_fd()
/linux-4.4.14/ipc/
H A Dshm.c242 fput(shm_file); shm_destroy()
620 fput(file); newseg()
1065 fput(shm_file); SYSCALL_DEFINE3()
1224 fput(file); do_shmat()
/linux-4.4.14/kernel/
H A Dnsproxy.c251 fput(file); SYSCALL_DEFINE2()
H A Dsys.c1696 fput(exe_file); prctl_set_mm_exe_file()
1714 fput(old_exe); prctl_set_mm_exe_file()
1720 fput(exe_file); prctl_set_mm_exe_file()
H A Dfork.c744 fput(old_exe_file); set_mm_exe_file()
751 * User must release file via fput().
H A Dsysctl_binary.c1331 fput(file); binary_sysctl()
H A Daudit.c1869 fput(exe_file); audit_log_d_path_exe()
/linux-4.4.14/fs/proc/
H A Dfd.c67 fput(file); seq_show()
H A Dbase.c1563 fput(exe_file); proc_exe_link()
/linux-4.4.14/drivers/block/
H A Dloop.c697 fput(old_file); loop_change_fd()
703 fput(file); loop_change_fd()
970 fput(file); loop_set_fd()
1086 * Need not hold lo_ctl_mutex to fput backing file. loop_clr_fd()
1087 * Calling fput holding lo_ctl_mutex triggers a circular loop_clr_fd()
1088 * lock dependency possibility warning as fput can take loop_clr_fd()
1091 fput(filp); loop_clr_fd()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dlloop.c582 fput(filp); loop_clr_fd()
725 fput(file); lloop_ioctl()
H A Dfile.c327 /* While this returns an error code, fput() the caller does not, so we need
2259 fput(file2); ll_file_ioctl()
/linux-4.4.14/net/bluetooth/cmtp/
H A Dcore.c320 fput(session->sock->file); cmtp_session()
/linux-4.4.14/include/misc/
H A Dcxl.h158 * fput(file);
/linux-4.4.14/fs/fuse/
H A Dinode.c1140 * atomic_dec_and_test() in fput() provides the necessary fuse_fill_super()
1144 fput(file); fuse_fill_super()
1162 fput(file); fuse_fill_super()
H A Ddev.c248 fput(file); put_reserved_req()
2264 fput(old); fuse_dev_ioctl()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
H A Dlib-socket.c81 fput(sock_filp); lnet_sock_ioctl()
/linux-4.4.14/drivers/oprofile/
H A Dbuffer_sync.c238 fput(exe_file); get_exec_dcookie()
/linux-4.4.14/net/bluetooth/bnep/
H A Dcore.c535 fput(s->sock->file); bnep_session()
/linux-4.4.14/fs/exportfs/
H A Dexpfs.c333 fput(file); get_name()
/linux-4.4.14/net/bluetooth/hidp/
H A Dcore.c982 fput(session->intr_sock->file); session_free()
983 fput(session->ctrl_sock->file); session_free()
/linux-4.4.14/net/
H A Dsocket.c444 fput(file); sockfd_lookup()
1330 fput(newfile2); SYSCALL_DEFINE4()
1331 fput(newfile1); SYSCALL_DEFINE4()
1337 fput(newfile1); SYSCALL_DEFINE4()
1501 fput(newfile); SYSCALL_DEFINE4()
/linux-4.4.14/drivers/scsi/cxlflash/
H A Dsuperpipe.c1465 * fput() calls the release fop, which will cause us to mistakenly cxlflash_disk_attach()
1471 fput(file); cxlflash_disk_attach()
1574 fput(file); recover_context()
/linux-4.4.14/drivers/gpu/drm/msm/
H A Dmsm_gem.c169 fput(vma->vm_file); msm_gem_mmap_obj()
/linux-4.4.14/arch/um/drivers/
H A Dmconsole_kern.c171 fput(file); mconsole_proc()
/linux-4.4.14/net/sched/
H A Dsch_atm.c15 #include <linux/file.h> /* for fput */
/linux-4.4.14/security/tomoyo/
H A Dutil.c962 fput(exe_file); tomoyo_get_exe()
/linux-4.4.14/fs/notify/fanotify/
H A Dfanotify_user.c235 fput(f); copy_event_to_user()
/linux-4.4.14/arch/powerpc/oprofile/cell/
H A Dspu_task_sync.c336 fput(exe_file); get_exec_dcookie_and_offset()
/linux-4.4.14/drivers/android/
H A Dbinder.c1660 fput(file); binder_transaction()
1666 fput(file); binder_transaction()
1674 /* TODO: fput? */ binder_transaction()
/linux-4.4.14/drivers/infiniband/core/
H A Duverbs_main.c637 fput(filp); ib_uverbs_alloc_event_file()
H A Duverbs_cmd.c382 fput(filp); ib_uverbs_get_context()
1340 fput(filp); ib_uverbs_create_comp_channel()
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_gem.c748 fput(obj->filp); drm_gem_object_release()
/linux-4.4.14/fs/cachefiles/
H A Drdwr.c934 fput(file); cachefiles_write_page()
/linux-4.4.14/fs/cifs/
H A Ddir.c513 fput(file); cifs_atomic_open()
/linux-4.4.14/drivers/md/
H A Dbitmap.c831 fput(file); bitmap_file_unmap()
2145 fput(f); location_store()
H A Dmd.c5675 fput(f); do_md_stop()
6294 fput(f); set_bitmap_file()
6326 fput(f); set_bitmap_file()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
H A Domap_gem.c589 fput(vma->vm_file); omap_gem_mmap_obj()
/linux-4.4.14/drivers/base/
H A Dfirmware_class.c354 fput(file); fw_get_filesystem_firmware()
/linux-4.4.14/drivers/tty/
H A Dtty_io.c763 fput(f); __tty_hangup()
1266 fput(p); redirected_tty_write()
2396 fput(f); tioccons()
/linux-4.4.14/drivers/target/
H A Dtarget_core_alua.c903 fput(file); core_alua_write_tpg_metadata()
H A Dtarget_core_pr.c2009 fput(file); __core_scsi3_write_aptpl_to_file()
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
H A Dlmv_obd.c862 fput(filp); lmv_hsm_ct_register()
/linux-4.4.14/net/irda/
H A Daf_irda.c1247 * sockfd_put() and fput()... irda_release()
/linux-4.4.14/net/sctp/
H A Dsocket.c4487 fput(newfile); sctp_getsockopt_peeloff()
4493 fput(newfile); sctp_getsockopt_peeloff()
/linux-4.4.14/kernel/events/
H A Dcore.c8595 fput(event_file); SYSCALL_DEFINE5()
8601 * If event_file is set, the fput() above will have called ->release() SYSCALL_DEFINE5()
/linux-4.4.14/security/selinux/
H A Dhooks.c2390 fput(devnull); flush_unauthorized_files()
/linux-4.4.14/fs/btrfs/
H A Dsend.c6213 fput(sctx->send_filp); btrfs_ioctl_send()
/linux-4.4.14/arch/ia64/kernel/
H A Dperfmon.c1939 * (fput()),i.e, last task to access the file. Nobody else can access the
/linux-4.4.14/fs/nfs/
H A Dnfs4proc.c5863 fput(data->fl.fl_file); nfs4_lock_release()

Completed in 4410 milliseconds