Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_linux.cpp1736 static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) { in Aarch64GetESR() argument
1738 u8 *aux = ucontext->uc_mcontext.__reserved; in Aarch64GetESR()
1759 Context *ucontext = (Context *)context; in GetWriteFlag() local
1763 uptr err = ucontext->uc_mcontext.mc_err; in GetWriteFlag()
1765 uptr err = ucontext->uc_mcontext.__gregs[_REG_ERR]; in GetWriteFlag()
1767 uptr err = ucontext->sc_err; in GetWriteFlag()
1770 uptr err = ucontext->uc_mcontext.gregs[Err]; in GetWriteFlag()
1772 uptr err = ucontext->uc_mcontext.gregs[REG_ERR]; in GetWriteFlag()
1780 exception_source = (uint32_t *)ucontext->uc_mcontext.pc; in GetWriteFlag()
1826 uptr fsr = ucontext->uc_mcontext.error_code; in GetWriteFlag()
[all …]
HDsanitizer_mac.cpp750 ucontext_t *ucontext = static_cast<ucontext_t*>(context); in GetWriteFlag() local
751 return ucontext->uc_mcontext->__es.__err & 2 /*T_PF_WRITE*/ ? WRITE : READ; in GetWriteFlag()
764 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp() local
766 *pc = ucontext->uc_mcontext->__ss.__pc; in GetPcSpBp()
768 *bp = ucontext->uc_mcontext->__ss.__fp; in GetPcSpBp()
770 *bp = ucontext->uc_mcontext->__ss.__lr; in GetPcSpBp()
772 *sp = ucontext->uc_mcontext->__ss.__sp; in GetPcSpBp()
774 *pc = ucontext->uc_mcontext->__ss.__rip; in GetPcSpBp()
775 *bp = ucontext->uc_mcontext->__ss.__rbp; in GetPcSpBp()
776 *sp = ucontext->uc_mcontext->__ss.__rsp; in GetPcSpBp()
[all …]
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
HDiw_cxgb_provider.h205 remove_mmap(struct iwch_ucontext *ucontext, in remove_mmap() argument
210 mtx_lock(&ucontext->mmap_lock); in remove_mmap()
211 TAILQ_FOREACH_SAFE(mm, &ucontext->mmaps, entry, tmp) { in remove_mmap()
213 TAILQ_REMOVE(&ucontext->mmaps, mm, entry); in remove_mmap()
214 mtx_unlock(&ucontext->mmap_lock); in remove_mmap()
220 mtx_unlock(&ucontext->mmap_lock); in remove_mmap()
226 insert_mmap(struct iwch_ucontext *ucontext, in insert_mmap() argument
229 mtx_lock(&ucontext->mmap_lock); in insert_mmap()
232 TAILQ_INSERT_TAIL(&ucontext->mmaps, mm, entry); in insert_mmap()
233 mtx_unlock(&ucontext->mmap_lock); in insert_mmap()
HDiw_cxgb_provider.c130 struct iwch_ucontext *ucontext = to_iwch_ucontext(context); in iwch_dealloc_ucontext() local
134 TAILQ_FOREACH_SAFE(mm, &ucontext->mmaps, entry, tmp) { in iwch_dealloc_ucontext()
135 TAILQ_REMOVE(&ucontext->mmaps, mm, entry); in iwch_dealloc_ucontext()
138 cxio_release_ucontext(&rhp->rdev, &ucontext->uctx); in iwch_dealloc_ucontext()
139 cxfree(ucontext); in iwch_dealloc_ucontext()
187 struct iwch_ucontext *ucontext = NULL; in iwch_create_cq() local
199 ucontext = to_iwch_ucontext(ib_context); in iwch_create_cq()
225 if (cxio_create_cq(&rhp->rdev, &chp->cq, !ucontext)) { in iwch_create_cq()
239 if (ucontext) { in iwch_create_cq()
249 mtx_lock(&ucontext->mmap_lock); in iwch_create_cq()
[all …]
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
HDib_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 …]
HDib_uverbs_main.c787 if (!file->ucontext && in ib_uverbs_write()
825 if (!file->ucontext) { in ib_uverbs_write()
911 if (!file->ucontext) in ib_uverbs_mmap()
914 ret = ib_dev->mmap(file->ucontext, vma); in ib_uverbs_mmap()
974 file->ucontext = NULL; in ib_uverbs_open()
1006 if (file->ucontext) { in ib_uverbs_close()
1007 ib_uverbs_cleanup_ucontext(file, file->ucontext); in ib_uverbs_close()
1008 file->ucontext = NULL; in ib_uverbs_close()
1270 struct ib_ucontext *ucontext; in ib_uverbs_free_hw_resources() local
1280 ucontext = file->ucontext; in ib_uverbs_free_hw_resources()
[all …]
HDuverbs.h126 struct ib_ucontext *ucontext; member
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
HDprovider.c96 struct c4iw_ucontext *ucontext; in _c4iw_free_ucontext() local
100 ucontext = container_of(kref, struct c4iw_ucontext, kref); in _c4iw_free_ucontext()
101 rhp = to_c4iw_dev(ucontext->ibucontext.device); in _c4iw_free_ucontext()
103 CTR2(KTR_IW_CXGBE, "%s ucontext %p", __func__, ucontext); in _c4iw_free_ucontext()
104 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in _c4iw_free_ucontext()
106 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx); in _c4iw_free_ucontext()
107 kfree(ucontext); in _c4iw_free_ucontext()
112 struct c4iw_ucontext *ucontext = to_c4iw_ucontext(context); in c4iw_dealloc_ucontext() local
115 c4iw_put_ucontext(ucontext); in c4iw_dealloc_ucontext()
186 struct c4iw_ucontext *ucontext; in c4iw_mmap() local
[all …]
HDcq.c887 struct c4iw_ucontext *ucontext; in c4iw_destroy_cq() local
896 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq()
899 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx); in c4iw_destroy_cq()
913 struct c4iw_ucontext *ucontext = NULL; in c4iw_create_cq() local
930 ucontext = to_c4iw_ucontext(ib_context); in c4iw_create_cq()
960 if (ucontext) in c4iw_create_cq()
967 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_cq()
982 if (ucontext) { in c4iw_create_cq()
996 spin_lock(&ucontext->mmap_lock); in c4iw_create_cq()
997 uresp.key = ucontext->key; in c4iw_create_cq()
[all …]
HDiw_cxgbe.h481 struct c4iw_ucontext *ucontext; member
505 static inline void c4iw_put_ucontext(struct c4iw_ucontext *ucontext) in c4iw_put_ucontext() argument
507 kref_put(&ucontext->kref, _c4iw_free_ucontext); in c4iw_put_ucontext()
509 static inline void c4iw_get_ucontext(struct c4iw_ucontext *ucontext) in c4iw_get_ucontext() argument
511 kref_get(&ucontext->kref); in c4iw_get_ucontext()
521 static inline struct c4iw_mm_entry *remove_mmap(struct c4iw_ucontext *ucontext, in remove_mmap() argument
527 spin_lock(&ucontext->mmap_lock); in remove_mmap()
528 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap()
533 spin_unlock(&ucontext->mmap_lock); in remove_mmap()
540 spin_unlock(&ucontext->mmap_lock); in remove_mmap()
[all …]
HDqp.c571 struct c4iw_ucontext *ucontext; in free_qp_work() local
576 ucontext = qhp->ucontext; in free_qp_work()
580 qhp, ucontext); in free_qp_work()
582 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in free_qp_work()
584 if (ucontext) in free_qp_work()
585 c4iw_put_ucontext(ucontext); in free_qp_work()
1712 struct c4iw_ucontext *ucontext; in c4iw_create_qp() local
1744 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; in c4iw_create_qp()
1759 if (ucontext) { in c4iw_create_qp()
1768 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_qp()
[all …]
/freebsd-11-stable/lib/libc/arm/gen/
HDgetcontextx.c37 ucontext_t ucontext; member
57 ucp = &ucxp->ucontext; in __fillcontextx2()
75 if (getcontext(&ucxp->ucontext) == -1) in __fillcontextx()
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/
HDguarded_pool_allocator_posix.cpp62 static void sigSegvHandler(int sig, siginfo_t *info, void *ucontext) { in sigSegvHandler() argument
68 PreviousHandler.sa_sigaction(sig, info, ucontext); in sigSegvHandler()
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
HDFuzzerUtilPosix.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-11-stable/sys/i386/svr4/
HDsvr4_locore.s18 1: pushl %eax # pointer to ucontext
/freebsd-11-stable/sys/sys/
HDucontext.h50 #define ucontext4 ucontext
/freebsd-11-stable/contrib/gcc/config/i386/
HDlinux-unwind.h54 struct ucontext *uc_ = context->cfa; in x86_64_fallback_frame_state()
143 struct ucontext uc; in x86_fallback_frame_state()
/freebsd-11-stable/sys/mips/mips/
HDswtch.S598 PTR_ADDU a0, sp, SIGF_UC # address of ucontext
615 addu a0, sp, SIGF32_UC # address of ucontext
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
HDmlx5_ib.h1024 static inline int get_qp_user_index(struct mlx5_ib_ucontext *ucontext, in get_qp_user_index() argument
1029 u8 cqe_version = ucontext->cqe_version; in get_qp_user_index()
1042 static inline int get_srq_user_index(struct mlx5_ib_ucontext *ucontext, in get_srq_user_index() argument
1047 u8 cqe_version = ucontext->cqe_version; in get_srq_user_index()
HDmlx5_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-11-stable/lib/libc/gen/
HDMakefile.inc291 ucontext.3 \
/freebsd-11-stable/include/
HDMakefile40 syslog.h ucontext.h
/freebsd-11-stable/sys/ofed/include/rdma/
HDib_verbs.h2060 struct ib_ucontext *ucontext,
/freebsd-11-stable/contrib/diff/
HDChangeLog332 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-11-stable/contrib/gcc/
HDconfigure.ac1367 #include <ucontext.h>

12