Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
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
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
Dfile.c1186 int __receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in __receive_fd()
/linux-6.6.21/tools/testing/selftests/mm/
Duffd-common.c366 void wp_range(int ufd, __u64 start, __u64 len, bool wp) in wp_range()
380 static void continue_range(int ufd, __u64 start, __u64 len, bool wp) in continue_range()
407 int uffd_read_msg(int ufd, struct uffd_msg *msg) in uffd_read_msg()
557 static void retry_copy_page(int ufd, struct uffdio_copy *uffdio_copy, in retry_copy_page()
574 static void wake_range(int ufd, unsigned long addr, unsigned long len) in wake_range()
586 int __copy_page(int ufd, unsigned long offset, bool retry, bool wp) in __copy_page()
618 int copy_page(int ufd, unsigned long offset, bool wp) in copy_page()
Duffd-stress.c123 static int copy_page_retry(int ufd, unsigned long offset) in copy_page_retry()
Duffd-unit-tests.c867 static void retry_uffdio_zeropage(int ufd, in retry_uffdio_zeropage()
883 static bool do_uffdio_zeropage(int ufd, bool has_zeropage) in do_uffdio_zeropage()
/linux-6.6.21/kernel/bpf/
Dsyscall.c1344 struct bpf_map *bpf_map_get(u32 ufd) in bpf_map_get()
1360 struct bpf_map *bpf_map_get_with_uref(u32 ufd) in bpf_map_get_with_uref()
1435 int ufd = attr->map_fd; in map_lookup_elem() local
1510 int ufd = attr->map_fd; in map_update_elem() local
1565 int ufd = attr->map_fd; in map_delete_elem() local
1621 int ufd = attr->map_fd; in map_get_next_key() local
1906 int ufd = attr->map_fd; in map_lookup_and_delete_elem() local
1997 int err = 0, ufd = attr->map_fd; in map_freeze() local
2366 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
2386 struct bpf_prog *bpf_prog_get(u32 ufd) in bpf_prog_get()
[all …]
Dmap_in_map.c110 int ufd) in bpf_map_fd_get_ptr()
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()
Darraymap.c847 u32 index = *(u32 *)key, ufd; in bpf_fd_array_map_update_elem() local
Dhashtab.c2520 u32 ufd = *(u32 *)value; in bpf_fd_htab_map_update_elem() local
/linux-6.6.21/include/linux/
Dfile.h104 static inline int receive_fd_user(struct file *file, int __user *ufd, in receive_fd_user()
Dbpf.h2483 static inline struct bpf_prog *bpf_prog_get(u32 ufd) in bpf_prog_get()
2488 static inline struct bpf_prog *bpf_prog_get_type_dev(u32 ufd, in bpf_prog_get_type_dev()
2749 static inline struct bpf_prog *bpf_prog_get_type(u32 ufd, in bpf_prog_get_type()
/linux-6.6.21/arch/parisc/kernel/
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()
/linux-6.6.21/net/core/
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
1512 u32 prog_cnt = 0, flags = 0, ufd = attr->target_fd; in sock_map_bpf_prog_query() local
Dsock.c1318 u32 ufd; in sk_setsockopt() local
1339 u32 ufd; in sk_setsockopt() local
Dfilter.c1567 static struct bpf_prog *__get_bpf(u32 ufd, struct sock *sk) in __get_bpf()
1575 int sk_attach_bpf(u32 ufd, struct sock *sk) in sk_attach_bpf()
1592 int sk_reuseport_attach_bpf(u32 ufd, struct sock *sk) in sk_reuseport_attach_bpf()
/linux-6.6.21/tools/perf/
Dbuiltin-probe.c443 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local
/linux-6.6.21/include/uapi/linux/
Duserfaultfd.h119 __u32 ufd; member
/linux-6.6.21/tools/perf/util/
Dprobe-file.c152 int probe_file__open_both(int *kfd, int *ufd, int flag) in probe_file__open_both()
Dprobe-event.c3717 int ret, ret2, ufd = -1, kfd = -1; in del_perf_probe_events() local
/linux-6.6.21/tools/tracing/latency/
Dlatency-collector.c1639 int ufd; in start_printthread() local