Home
last modified time | relevance | path

Searched defs:ufd (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/fs/
H A Dsignalfd.c253 static int do_signalfd4(int ufd, sigset_t *mask, int flags) in do_signalfd4()
302 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE4() argument
314 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3() argument
327 static long do_compat_signalfd4(int ufd, in do_compat_signalfd4()
340 COMPAT_SYSCALL_DEFINE4(signalfd4, int, ufd, in COMPAT_SYSCALL_DEFINE4() argument
348 COMPAT_SYSCALL_DEFINE3(signalfd, int, ufd, in COMPAT_SYSCALL_DEFINE3() argument
H A Dtimerfd.c408 int ufd; in SYSCALL_DEFINE2() local
454 static int do_timerfd_settime(int ufd, int flags, in do_timerfd_settime()
526 static int do_timerfd_gettime(int ufd, struct itimerspec64 *t) in do_timerfd_gettime()
558 SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags, in SYSCALL_DEFINE4() argument
576 SYSCALL_DEFINE2(timerfd_gettime, int, ufd, struct __kernel_itimerspec __user *, otmr) in SYSCALL_DEFINE2() argument
586 SYSCALL_DEFINE4(timerfd_settime32, int, ufd, int, flags, in SYSCALL_DEFINE4() argument
603 SYSCALL_DEFINE2(timerfd_gettime32, int, ufd, in SYSCALL_DEFINE2() argument
H A Dfile.c1156 int __receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in __receive_fd()
/openbmc/linux/tools/testing/selftests/mm/
H A Duffd-common.c367 void wp_range(int ufd, __u64 start, __u64 len, bool wp) in wp_range()
381 static void continue_range(int ufd, __u64 start, __u64 len, bool wp) in continue_range()
408 int uffd_read_msg(int ufd, struct uffd_msg *msg) in uffd_read_msg()
560 static void retry_copy_page(int ufd, struct uffdio_copy *uffdio_copy, in retry_copy_page()
577 static void wake_range(int ufd, unsigned long addr, unsigned long len) in wake_range()
589 int __copy_page(int ufd, unsigned long offset, bool retry, bool wp) in __copy_page()
621 int copy_page(int ufd, unsigned long offset, bool wp) in copy_page()
H A Duffd-stress.c123 static int copy_page_retry(int ufd, unsigned long offset) in copy_page_retry()
H A Duffd-unit-tests.c877 static void retry_uffdio_zeropage(int ufd, in retry_uffdio_zeropage()
893 static bool do_uffdio_zeropage(int ufd, bool has_zeropage) in do_uffdio_zeropage()
/openbmc/linux/include/linux/
H A Dfile.h104 static inline int receive_fd_user(struct file *file, int __user *ufd, in receive_fd_user()
H A Dbpf.h2508 static inline struct bpf_prog *bpf_prog_get(u32 ufd) in bpf_prog_get()
2513 static inline struct bpf_prog *bpf_prog_get_type_dev(u32 ufd, in bpf_prog_get_type_dev()
2774 static inline struct bpf_prog *bpf_prog_get_type(u32 ufd, in bpf_prog_get_type()
/openbmc/linux/kernel/bpf/
H A Dmap_in_map.c110 int ufd) in bpf_map_fd_get_ptr()
H A Dsyscall.c1347 struct bpf_map *bpf_map_get(u32 ufd) in bpf_map_get()
1363 struct bpf_map *bpf_map_get_with_uref(u32 ufd) in bpf_map_get_with_uref()
1438 int ufd = attr->map_fd; in map_lookup_elem() local
1513 int ufd = attr->map_fd; in map_update_elem() local
1568 int ufd = attr->map_fd; in map_delete_elem() local
1624 int ufd = attr->map_fd; in map_get_next_key() local
1909 int ufd = attr->map_fd; in map_lookup_and_delete_elem() local
2000 int err = 0, ufd = attr->map_fd; in map_freeze() local
2369 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
2389 struct bpf_prog *bpf_prog_get(u32 ufd) in bpf_prog_get()
[all …]
H A Dinode.c70 static void *bpf_fd_probe_obj(u32 ufd, enum bpf_type *type) in bpf_fd_probe_obj()
478 int bpf_obj_pin_user(u32 ufd, int path_fd, const char __user *pathname) in bpf_obj_pin_user()
H A Darraymap.c850 u32 index = *(u32 *)key, ufd; in bpf_fd_array_map_update_elem() local
H A Dhashtab.c2549 u32 ufd = *(u32 *)value; in bpf_fd_htab_map_update_elem() local
/openbmc/qemu/migration/
H A Dpostcopy-ram.c224 int ufd; in receive_ufd_features() local
259 static bool request_ufd_features(int ufd, uint64_t features) in request_ufd_features()
283 static bool ufd_check_and_apply(int ufd, MigrationIncomingState *mis, in ufd_check_and_apply()
376 int ufd = -1; in postcopy_ram_supported_by_host() local
/openbmc/linux/arch/parisc/kernel/
H A Dsys_parisc.c337 asmlinkage long parisc_signalfd4(int ufd, sigset_t __user *user_mask, in parisc_signalfd4()
345 asmlinkage long parisc_compat_signalfd4(int ufd, in parisc_compat_signalfd4()
/openbmc/linux/net/core/
H A Dsock_map.c62 u32 ufd = attr->target_fd; in sock_map_get_from_fd() local
81 u32 ufd = attr->target_fd; in sock_map_prog_detach() local
553 u64 ufd; in sock_map_update_elem_sys() local
1521 u32 prog_cnt = 0, flags = 0, ufd = attr->target_fd; in sock_map_bpf_prog_query() local
H A Dsock.c1319 u32 ufd; in sk_setsockopt() local
1340 u32 ufd; in sk_setsockopt() local
/openbmc/linux/tools/perf/
H A Dbuiltin-probe.c443 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local
/openbmc/linux/include/uapi/linux/
H A Duserfaultfd.h119 __u32 ufd; member
/openbmc/qemu/linux-headers/linux/
H A Duserfaultfd.h125 __u32 ufd; member
/openbmc/linux/tools/perf/util/
H A Dprobe-file.c152 int probe_file__open_both(int *kfd, int *ufd, int flag) in probe_file__open_both()
H A Dprobe-event.c3718 int ret, ret2, ufd = -1, kfd = -1; in del_perf_probe_events() local
/openbmc/qemu/hw/virtio/
H A Dvhost-user.c1938 void *ufd) in vhost_user_postcopy_fault_handler()
2010 int ufd; in vhost_user_postcopy_advise() local
/openbmc/linux/tools/tracing/latency/
H A Dlatency-collector.c1639 int ufd; in start_printthread() local
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c515 int ufd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); in have_userfault() local

12