Home
last modified time | relevance | path

Searched refs:anon_inode_getfd (Results 1 – 17 of 17) sorted by relevance

/linux/fs/
H A Danon_inodes.c302 int anon_inode_getfd(const char *name, const struct file_operations *fops, in anon_inode_getfd() function
307 EXPORT_SYMBOL_GPL(anon_inode_getfd);
H A Dfsopen.c97 fd = anon_inode_getfd("[fscontext]", &fscontext_fops, fc, in fscontext_create_fd()
/linux/include/linux/
H A Danon_inodes.h27 int anon_inode_getfd(const char *name, const struct file_operations *fops,
/linux/security/landlock/
H A Dsyscalls.c312 * Emits before anon_inode_getfd() installs the file descriptor, while in get_ruleset_from_fd()
321 ruleset_fd = anon_inode_getfd("[landlock-ruleset]", &ruleset_fops, in get_ruleset_from_fd()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.c418 ret = anon_inode_getfd(kfd_smi_name, &kfd_smi_ev_fops, (void *)client, in kfd_smi_event_open()
/linux/drivers/iio/
H A Dindustrialio-event.c214 fd = anon_inode_getfd("iio:event", &iio_event_chrdev_fileops, in iio_event_getfd()
H A Dindustrialio-buffer.c2074 fd = anon_inode_getfd("iio:buffer", &iio_buffer_chrdev_fileops, in iio_device_buffer_getfd()
/linux/fs/notify/inotify/
H A Dinotify_user.c699 ret = anon_inode_getfd("inotify", &inotify_fops, group, in do_inotify_init()
/linux/drivers/tee/
H A Dtee_shm.c610 fd = anon_inode_getfd("tee_shm", &tee_shm_fops, shm, O_RDWR); in tee_shm_get_fd()
/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c333 ret = anon_inode_getfd("kvm-spapr-tce", &kvm_spapr_tce_fops, in kvm_vm_ioctl_create_spapr_tce()
H A Dbook3s_64_mmu_hv.c1956 ret = anon_inode_getfd("kvm-htab", &kvm_htab_fops, ctx, rwflag | O_CLOEXEC); in kvm_vm_ioctl_get_htab_fd()
/linux/fs/xfs/
H A Dxfs_healthmon.c1259 ret = anon_inode_getfd("xfs_healthmon", &xfs_healthmon_fops, hm, in xfs_ioc_health_monitor()
/linux/kernel/bpf/
H A Dsyscall.c1212 return anon_inode_getfd("bpf-map", &bpf_map_fops, map, in bpf_get_file_flag()
2644 return anon_inode_getfd("bpf-prog", &bpf_prog_fops, prog, in bpf_prog_sub()
3590 return anon_inode_getfd("bpf-link", in bpf_tracing_link_release()
6182 fd = anon_inode_getfd("bpf-stats", &bpf_stats_fops, NULL, O_CLOEXEC); in bpf_prog_bind_map()
H A Dbtf.c9152 return anon_inode_getfd("btf", &btf_fops, btf, O_RDONLY | O_CLOEXEC); in bpf_prog_type_to_kfunc_hook()
/linux/virt/kvm/
H A Dkvm_main.c4216 return anon_inode_getfd(name, &kvm_vcpu_fops, vcpu, O_RDWR | O_CLOEXEC); in kvm_vm_ioctl_create_vcpu()
4951 ret = anon_inode_getfd(ops->name, &kvm_device_fops, dev, O_RDWR | O_CLOEXEC); in kvm_vm_ioctl_check_extension_generic()
/linux/sound/core/
H A Dtimer.c2300 timer_fd = anon_inode_getfd(utimer->name, &snd_utimer_fops, utimer, O_RDWR | O_CLOEXEC); in snd_utimer_ioctl_create()
2312 * It might have been closed already since anon_inode_getfd in snd_utimer_ioctl_create()
/linux/drivers/gpu/drm/xe/
H A Dxe_oa.c1899 stream_fd = anon_inode_getfd("[xe_oa]", &xe_oa_fops, stream, 0); in xe_oa_stream_open_ioctl_locked()