Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cc1783 uptr err = ucontext->sc_err; in GetWriteFlag()
1856 (void)ucontext; in GetWriteFlag()
1869 *pc = _UC_MACHINE_PC(ucontext); in GetPcSpBp()
1870 *bp = _UC_MACHINE_FP(ucontext); in GetPcSpBp()
1871 *sp = _UC_MACHINE_SP(ucontext); in GetPcSpBp()
1896 *pc = ucontext->sc_rip; in GetPcSpBp()
1897 *bp = ucontext->sc_rbp; in GetPcSpBp()
1898 *sp = ucontext->sc_rsp; in GetPcSpBp()
1913 *pc = ucontext->sc_eip; in GetPcSpBp()
1914 *bp = ucontext->sc_ebp; in GetPcSpBp()
[all …]
H A Dsanitizer_mac.cc683 *pc = ucontext->uc_mcontext->__ss.__pc; in GetPcSpBp()
685 *bp = ucontext->uc_mcontext->__ss.__fp; in GetPcSpBp()
687 *bp = ucontext->uc_mcontext->__ss.__lr; in GetPcSpBp()
689 *sp = ucontext->uc_mcontext->__ss.__sp; in GetPcSpBp()
691 *pc = ucontext->uc_mcontext->__ss.__rip; in GetPcSpBp()
692 *bp = ucontext->uc_mcontext->__ss.__rbp; in GetPcSpBp()
693 *sp = ucontext->uc_mcontext->__ss.__rsp; in GetPcSpBp()
695 *pc = ucontext->uc_mcontext->__ss.__pc; in GetPcSpBp()
697 *sp = ucontext->uc_mcontext->__ss.__sp; in GetPcSpBp()
699 *pc = ucontext->uc_mcontext->__ss.__eip; in GetPcSpBp()
[all …]
/freebsd-12.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()
399 file->ucontext = ucontext; in ib_uverbs_get_context()
415 put_pid(ucontext->tgid); in ib_uverbs_get_context()
1105 file->ucontext); in ib_uverbs_rereg_mr()
1808 file->ucontext); in create_qp()
1846 file->ucontext); in create_qp()
[all …]
H A Dib_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()
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()
1281 file->ucontext = NULL; in ib_uverbs_free_hw_resources()
[all …]
H A Duverbs.h128 struct ib_ucontext *ucontext; member
/freebsd-12.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.h483 struct c4iw_ucontext *ucontext; member
509 kref_put(&ucontext->kref, _c4iw_free_ucontext); in c4iw_put_ucontext()
513 kref_get(&ucontext->kref); in c4iw_get_ucontext()
529 spin_lock(&ucontext->mmap_lock); in remove_mmap()
530 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap()
535 spin_unlock(&ucontext->mmap_lock); in remove_mmap()
542 spin_unlock(&ucontext->mmap_lock); in remove_mmap()
546 static inline void insert_mmap(struct c4iw_ucontext *ucontext, in insert_mmap() argument
549 spin_lock(&ucontext->mmap_lock); in insert_mmap()
552 list_add_tail(&mm->entry, &ucontext->mmaps); in insert_mmap()
[all …]
H A Dqp.c576 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()
1759 if (ucontext) { in c4iw_create_qp()
1768 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_qp()
1835 ucontext->key += PAGE_SIZE; in c4iw_create_qp()
1837 ucontext->key += PAGE_SIZE; in c4iw_create_qp()
1876 qhp->ucontext = ucontext; in c4iw_create_qp()
[all …]
/freebsd-12.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-12.1/sys/sys/
H A Ducontext.h52 #define ucontext4 ucontext
/freebsd-12.1/contrib/gcc/config/i386/
H A 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.1/sys/mips/mips/
H A Dswtch.S658 PTR_ADDU a0, sp, SIGF_UC # address of ucontext
675 addu a0, sp, SIGF32_UC # address of ucontext
/freebsd-12.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib.h1012 static inline int get_qp_user_index(struct mlx5_ib_ucontext *ucontext, in get_qp_user_index() argument
1017 u8 cqe_version = ucontext->cqe_version; in get_qp_user_index()
1030 static inline int get_srq_user_index(struct mlx5_ib_ucontext *ucontext, in get_srq_user_index() argument
1035 u8 cqe_version = ucontext->cqe_version; in get_srq_user_index()
H A 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.1/lib/libc/gen/
H A DMakefile.inc313 ucontext.3 \
/freebsd-12.1/include/
H A DMakefile40 syslog.h ucontext.h
/freebsd-12.1/sys/ofed/include/rdma/
H A Dib_verbs.h2052 struct ib_ucontext *ucontext,
/freebsd-12.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,
/freebsd-12.1/contrib/gcc/
H A Dconfigure.ac1367 #include <ucontext.h>
H A DChangeLog-20064428 before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
H A 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
H A DChangeLog-200527349 * config/rs6000/darwin-fallback.c: Don't include <ucontext.h>.
35768 'struct ucontext'.
H A DChangeLog-200318356 * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0.
18652 2003-01-23 patch. Corrected to handle kernels with changed ucontext.
/freebsd-12.1/
H A DObsoleteFiles.inc8939 OLD_FILES+=usr/libdata/perl/5.00503/mach/ucontext.ph
9059 OLD_FILES+=usr/libdata/perl/5.00503/mach/machine/ucontext.ph
9614 OLD_FILES+=usr/libdata/perl/5.00503/mach/sys/ucontext.ph

12