Home
last modified time | relevance | path

Searched refs:ucontext (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cpp1813 static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) { in Aarch64GetESR() argument
1815 u8 *aux = ucontext->uc_mcontext.__reserved; in Aarch64GetESR()
1832 Context *ucontext = (Context *)context; in GetWriteFlag() local
1836 uptr err = ucontext->uc_mcontext.mc_err; in GetWriteFlag()
1838 uptr err = ucontext->uc_mcontext.__gregs[_REG_ERR]; in GetWriteFlag()
1841 uptr err = ucontext->uc_mcontext.gregs[Err]; in GetWriteFlag()
1843 uptr err = ucontext->uc_mcontext.gregs[REG_ERR]; in GetWriteFlag()
1851 exception_source = (uint32_t *)ucontext->uc_mcontext.pc; in GetWriteFlag()
1897 uptr fsr = ucontext->uc_mcontext.error_code; in GetWriteFlag()
1902 if (!Aarch64GetESR(ucontext, &esr)) return UNKNOWN; in GetWriteFlag()
[all …]
Dsanitizer_mac.cpp887 ucontext_t *ucontext = static_cast<ucontext_t*>(context); in GetWriteFlag() local
888 return ucontext->uc_mcontext->__es.__err & 2 /*T_PF_WRITE*/ ? WRITE : READ; in GetWriteFlag()
903 (void *)arm_thread_state64_get_##r(ucontext->uc_mcontext->__ss), 0)
905 #define AARCH64_GET_REG(r) ucontext->uc_mcontext->__ss.__##r
909 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp() local
919 *pc = ucontext->uc_mcontext->__ss.__rip; in GetPcSpBp()
920 *bp = ucontext->uc_mcontext->__ss.__rbp; in GetPcSpBp()
921 *sp = ucontext->uc_mcontext->__ss.__rsp; in GetPcSpBp()
923 *pc = ucontext->uc_mcontext->__ss.__pc; in GetPcSpBp()
924 *bp = ucontext->uc_mcontext->__ss.__r[7]; in GetPcSpBp()
[all …]
/freebsd-12-stable/sys/ofed/drivers/infiniband/core/
Dib_uverbs_cmd.c325 struct ib_ucontext *ucontext; in ib_uverbs_get_context() local
337 if (file->ucontext) { in ib_uverbs_get_context()
346 ucontext = ib_dev->alloc_ucontext(ib_dev, &udata); in ib_uverbs_get_context()
347 if (IS_ERR(ucontext)) { in ib_uverbs_get_context()
348 ret = PTR_ERR(ucontext); in ib_uverbs_get_context()
352 ucontext->device = ib_dev; in ib_uverbs_get_context()
353 INIT_LIST_HEAD(&ucontext->pd_list); in ib_uverbs_get_context()
354 INIT_LIST_HEAD(&ucontext->mr_list); in ib_uverbs_get_context()
355 INIT_LIST_HEAD(&ucontext->mw_list); in ib_uverbs_get_context()
356 INIT_LIST_HEAD(&ucontext->cq_list); in ib_uverbs_get_context()
[all …]
Dib_uverbs_main.c787 if (!file->ucontext && in ib_uverbs_write()
825 if (!file->ucontext) { in ib_uverbs_write()
912 if (!file->ucontext) in ib_uverbs_mmap()
915 ret = ib_dev->mmap(file->ucontext, vma); in ib_uverbs_mmap()
975 file->ucontext = NULL; in ib_uverbs_open()
1007 if (file->ucontext) { in ib_uverbs_close()
1008 ib_uverbs_cleanup_ucontext(file, file->ucontext); in ib_uverbs_close()
1009 file->ucontext = NULL; in ib_uverbs_close()
1271 struct ib_ucontext *ucontext; in ib_uverbs_free_hw_resources() local
1281 ucontext = file->ucontext; in ib_uverbs_free_hw_resources()
[all …]
Duverbs.h135 struct ib_ucontext *ucontext; member
/freebsd-12-stable/sys/dev/cxgbe/iw_cxgbe/
Dprovider.c98 struct c4iw_ucontext *ucontext; in _c4iw_free_ucontext() local
102 ucontext = container_of(kref, struct c4iw_ucontext, kref); in _c4iw_free_ucontext()
103 rhp = to_c4iw_dev(ucontext->ibucontext.device); in _c4iw_free_ucontext()
105 CTR2(KTR_IW_CXGBE, "%s ucontext %p", __func__, ucontext); in _c4iw_free_ucontext()
106 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in _c4iw_free_ucontext()
108 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx); in _c4iw_free_ucontext()
109 kfree(ucontext); in _c4iw_free_ucontext()
114 struct c4iw_ucontext *ucontext = to_c4iw_ucontext(context); in c4iw_dealloc_ucontext() local
117 c4iw_put_ucontext(ucontext); in c4iw_dealloc_ucontext()
188 struct c4iw_ucontext *ucontext; in c4iw_mmap() local
[all …]
Dcq.c889 struct c4iw_ucontext *ucontext; in c4iw_destroy_cq() local
898 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq()
901 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx); in c4iw_destroy_cq()
915 struct c4iw_ucontext *ucontext = NULL; in c4iw_create_cq() local
932 ucontext = to_c4iw_ucontext(ib_context); in c4iw_create_cq()
962 if (ucontext) in c4iw_create_cq()
969 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_cq()
984 if (ucontext) { in c4iw_create_cq()
998 spin_lock(&ucontext->mmap_lock); in c4iw_create_cq()
999 uresp.key = ucontext->key; in c4iw_create_cq()
[all …]
Diw_cxgbe.h485 struct c4iw_ucontext *ucontext; member
509 static inline void c4iw_put_ucontext(struct c4iw_ucontext *ucontext) in c4iw_put_ucontext() argument
511 kref_put(&ucontext->kref, _c4iw_free_ucontext); in c4iw_put_ucontext()
513 static inline void c4iw_get_ucontext(struct c4iw_ucontext *ucontext) in c4iw_get_ucontext() argument
515 kref_get(&ucontext->kref); in c4iw_get_ucontext()
525 static inline struct c4iw_mm_entry *remove_mmap(struct c4iw_ucontext *ucontext, in remove_mmap() argument
531 spin_lock(&ucontext->mmap_lock); in remove_mmap()
532 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap()
537 spin_unlock(&ucontext->mmap_lock); in remove_mmap()
544 spin_unlock(&ucontext->mmap_lock); in remove_mmap()
[all …]
Dqp.c573 struct c4iw_ucontext *ucontext; in free_qp_work() local
578 ucontext = qhp->ucontext; in free_qp_work()
582 qhp, ucontext); in free_qp_work()
584 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in free_qp_work()
586 if (ucontext) in free_qp_work()
587 c4iw_put_ucontext(ucontext); in free_qp_work()
1719 struct c4iw_ucontext *ucontext; in c4iw_create_qp() local
1751 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; in c4iw_create_qp()
1766 if (ucontext) { in c4iw_create_qp()
1775 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_qp()
[all …]
/freebsd-12-stable/lib/libc/arm/gen/
Dgetcontextx.c39 ucontext_t ucontext; member
59 ucp = &ucxp->ucontext; in __fillcontextx2()
77 if (getcontext(&ucxp->ucontext) == -1) in __fillcontextx()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/
Dsegv_handler_posix.cpp162 static void sigSegvHandler(int sig, siginfo_t *info, void *ucontext) { in sigSegvHandler() argument
170 PrintBacktraceForSignalHandler, ucontext); in sigSegvHandler()
175 PreviousHandler.sa_sigaction(sig, info, ucontext); in sigSegvHandler()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerUtilPosix.cpp38 static void SegvHandler(int sig, siginfo_t *si, void *ucontext) { in SegvHandler() argument
41 return upstream_segv_handler(sig, si, ucontext); in SegvHandler()
/freebsd-12-stable/sys/sys/
Ducontext.h52 #define ucontext4 ucontext
/freebsd-12-stable/contrib/gcc/config/i386/
Dlinux-unwind.h54 struct ucontext *uc_ = context->cfa; in x86_64_fallback_frame_state()
143 struct ucontext uc; in x86_fallback_frame_state()
/freebsd-12-stable/sys/mips/mips/
Dswtch.S658 PTR_ADDU a0, sp, SIGF_UC # address of ucontext
675 addu a0, sp, SIGF32_UC # address of ucontext
/freebsd-12-stable/sys/dev/mlx5/mlx5_ib/
Dmlx5_ib.h1019 static inline int get_qp_user_index(struct mlx5_ib_ucontext *ucontext, in get_qp_user_index() argument
1024 u8 cqe_version = ucontext->cqe_version; in get_qp_user_index()
1037 static inline int get_srq_user_index(struct mlx5_ib_ucontext *ucontext, in get_srq_user_index() argument
1042 u8 cqe_version = ucontext->cqe_version; in get_srq_user_index()
Dmlx5_ib_qp.c1241 struct ib_ucontext *ucontext = uobj->context; in create_raw_packet_qp() local
1242 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_raw_packet_qp()
1329 struct ib_ucontext *ucontext = uobj->context; in create_rss_raw_qp_tir() local
1330 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_rss_raw_qp_tir()
/freebsd-12-stable/lib/libc/gen/
DMakefile.inc316 ucontext.3 \
/freebsd-12-stable/include/
DMakefile40 syslog.h ucontext.h
/freebsd-12-stable/sys/ofed/include/rdma/
Dib_verbs.h2052 struct ib_ucontext *ucontext,
/freebsd-12-stable/contrib/diff/
DChangeLog332 Include <sys/resource.h>, <ucontext.h> if available.
616 (<ucontext.h>): Include only if HAVE_XSI_STACK_OVERFLOW_HEURISTIC.
625 wording of message. Do not check for stdbool.h or ucontext.h,
/freebsd-12-stable/contrib/gcc/
Dconfigure.ac1367 #include <ucontext.h>
DChangeLog-20064428 before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
DChangeLog-20023918 sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
24165 including signal.h and sys/ucontext.h, not needed.
26200 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
/freebsd-12-stable/
DObsoleteFiles.inc11404 OLD_FILES+=usr/libdata/perl/5.00503/mach/ucontext.ph
11524 OLD_FILES+=usr/libdata/perl/5.00503/mach/machine/ucontext.ph
12079 OLD_FILES+=usr/libdata/perl/5.00503/mach/sys/ucontext.ph

12