Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp2026 (void)ucontext; in GetWriteFlag()
2045 *pc = _UC_MACHINE_PC(ucontext); in GetPcSpBp()
2046 *bp = _UC_MACHINE_FP(ucontext); in GetPcSpBp()
2047 *sp = _UC_MACHINE_SP(ucontext); in GetPcSpBp()
2050 *pc = ucontext->uc_mcontext.arm_pc; in GetPcSpBp()
2051 *bp = ucontext->uc_mcontext.arm_fp; in GetPcSpBp()
2052 *sp = ucontext->uc_mcontext.arm_sp; in GetPcSpBp()
2055 *pc = ucontext->uc_mcontext.pc; in GetPcSpBp()
2057 *sp = ucontext->uc_mcontext.sp; in GetPcSpBp()
2067 *pc = ucontext->uc_mcontext.mc_rip; in GetPcSpBp()
[all …]
H A Dsanitizer_mac.cpp909 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()
925 *sp = ucontext->uc_mcontext->__ss.__sp; in GetPcSpBp()
927 *pc = ucontext->uc_mcontext->__ss.__eip; in GetPcSpBp()
928 *bp = ucontext->uc_mcontext->__ss.__ebp; in GetPcSpBp()
929 *sp = ucontext->uc_mcontext->__ss.__esp; in GetPcSpBp()
[all …]
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c337 if (file->ucontext) { 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()
367 ucontext->closing = 0; in ib_uverbs_get_context()
400 file->ucontext = ucontext; in ib_uverbs_get_context()
416 put_pid(ucontext->tgid); in ib_uverbs_get_context()
1102 file->ucontext); in ib_uverbs_rereg_mr()
1806 file->ucontext); in create_qp()
1844 file->ucontext); in create_qp()
[all …]
H A Dib_uverbs_main.c160 struct ib_ucontext *ucontext = READ_ONCE(ufile->ucontext); in ib_uverbs_get_ucontext_file() local
166 if (!ucontext) in ib_uverbs_get_ucontext_file()
169 return ucontext; in ib_uverbs_get_ucontext_file()
811 if (!file->ucontext && in ib_uverbs_write()
849 if (!file->ucontext) { in ib_uverbs_write()
935 if (!file->ucontext) in ib_uverbs_mmap()
998 file->ucontext = NULL; in ib_uverbs_open()
1030 if (file->ucontext) { in ib_uverbs_close()
1032 file->ucontext = NULL; in ib_uverbs_close()
1304 ucontext = file->ucontext; in ib_uverbs_free_hw_resources()
[all …]
H A Duverbs.h135 struct ib_ucontext *ucontext; member
/freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/
H A 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()
108 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx); in _c4iw_free_ucontext()
109 kfree(ucontext); in _c4iw_free_ucontext()
117 c4iw_put_ucontext(ucontext); in c4iw_dealloc_ucontext()
188 struct c4iw_ucontext *ucontext; in c4iw_mmap() local
204 ucontext = to_c4iw_ucontext(context); in c4iw_mmap()
206 mm = remove_mmap(ucontext, key, len); in c4iw_mmap()
[all …]
H A Dcq.c889 struct c4iw_ucontext *ucontext; in c4iw_destroy_cq() local
901 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx); in c4iw_destroy_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()
999 uresp.key = ucontext->key; in c4iw_create_cq()
1000 ucontext->key += PAGE_SIZE; in c4iw_create_cq()
1002 ucontext->key += PAGE_SIZE; in c4iw_create_cq()
1012 insert_mmap(ucontext, mm); in c4iw_create_cq()
1017 insert_mmap(ucontext, mm2); in c4iw_create_cq()
[all …]
H A Diw_cxgbe.h490 struct c4iw_ucontext *ucontext; member
516 kref_put(&ucontext->kref, _c4iw_free_ucontext); in c4iw_put_ucontext()
520 kref_get(&ucontext->kref); in c4iw_get_ucontext()
536 spin_lock(&ucontext->mmap_lock); in remove_mmap()
537 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap()
542 spin_unlock(&ucontext->mmap_lock); in remove_mmap()
549 spin_unlock(&ucontext->mmap_lock); in remove_mmap()
553 static inline void insert_mmap(struct c4iw_ucontext *ucontext, in insert_mmap() argument
556 spin_lock(&ucontext->mmap_lock); in insert_mmap()
559 list_add_tail(&mm->entry, &ucontext->mmaps); in insert_mmap()
[all …]
H A Dqp.c578 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()
1766 if (ucontext) { in c4iw_create_qp()
1775 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_qp()
1842 ucontext->key += PAGE_SIZE; in c4iw_create_qp()
1844 ucontext->key += PAGE_SIZE; in c4iw_create_qp()
1883 qhp->ucontext = ucontext; in c4iw_create_qp()
[all …]
/freebsd-13.1/lib/libc/arm/gen/
H A Dgetcontextx.c39 ucontext_t ucontext; member
59 ucp = &ucxp->ucontext; in __fillcontextx2()
77 if (getcontext(&ucxp->ucontext) == -1) in __fillcontextx()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/
H A 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-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A 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-13.1/sys/sys/
H A Ducontext.h52 #define ucontext4 ucontext
/freebsd-13.1/sys/mips/mips/
H A Dswtch.S661 PTR_ADDU a0, sp, SIGF_UC # address of ucontext
678 addu a0, sp, SIGF32_UC # address of ucontext
/freebsd-13.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib.h1100 static inline int get_qp_user_index(struct mlx5_ib_ucontext *ucontext, in get_qp_user_index() argument
1105 u8 cqe_version = ucontext->cqe_version; in get_qp_user_index()
1118 static inline int get_srq_user_index(struct mlx5_ib_ucontext *ucontext, in get_srq_user_index() argument
1123 u8 cqe_version = ucontext->cqe_version; in get_srq_user_index()
H A Dmlx5_ib_qp.c1260 struct ib_ucontext *ucontext = uobj->context; in create_raw_packet_qp() local
1261 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_raw_packet_qp()
1348 struct ib_ucontext *ucontext = uobj->context; in create_rss_raw_qp_tir() local
1349 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_rss_raw_qp_tir()
/freebsd-13.1/lib/libc/gen/
H A DMakefile.inc324 ucontext.3 \
/freebsd-13.1/include/
H A DMakefile40 syslog.h ucontext.h
/freebsd-13.1/sys/dev/qlnx/qlnxr/
H A Dqlnxr_verbs.c1083 struct qlnxr_ucontext *ucontext = get_qlnxr_ucontext(context); in qlnxr_mmap() local
1095 unmapped_db = dev->db_phys_addr + (ucontext->dpi * ucontext->dpi_size); in qlnxr_mmap()
1112 found = qlnxr_search_mmap(ucontext, vm_page, len); in qlnxr_mmap()
1124 ((vm_page + len) > (unmapped_db + ucontext->dpi_size))) { in qlnxr_mmap()
1127 vm_page, unmapped_db, ucontext->dpi_size); in qlnxr_mmap()
/freebsd-13.1/sys/ofed/include/rdma/
H A Dib_verbs.h2086 struct ib_ucontext *ucontext,
/freebsd-13.1/contrib/diff/
H A 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,