/linux-4.4.14/arch/alpha/include/asm/ |
H A D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link;
|
/linux-4.4.14/include/uapi/asm-generic/ |
H A D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link;
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link;
|
H A D | compat_ucontext.h | 6 /* 32-bit ucontext as seen from an 64-bit kernel */
|
H A D | rt_sigframe.h | 15 struct ucontext uc;
|
/linux-4.4.14/arch/cris/include/asm/ |
H A D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link;
|
/linux-4.4.14/arch/frv/include/asm/ |
H A D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link;
|
/linux-4.4.14/arch/m32r/include/asm/ |
H A D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link;
|
/linux-4.4.14/arch/avr32/include/asm/ |
H A D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext * uc_link;
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
H A D | ucontext.h | 6 * by the fpstate pointer in the ucontext's 10 #include <asm-generic/ucontext.h>
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | ucontext.h | 2 * include/asm-xtensa/ucontext.h 14 struct ucontext { struct 16 struct ucontext *uc_link;
|
/linux-4.4.14/arch/ia64/include/uapi/asm/ |
H A D | ucontext.h | 4 struct ucontext { struct
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | ucontext.h | 21 struct ucontext { struct 23 struct ucontext *uc_link;
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
H A D | ucontext.h | 4 * Derived from "include/asm-i386/ucontext.h" 21 struct ucontext *uc_link; 30 struct ucontext { struct 32 struct ucontext *uc_link;
|
/linux-4.4.14/arch/mn10300/include/asm/ |
H A D | ucontext.h | 14 struct ucontext { struct 16 struct ucontext *uc_link;
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
H A D | uctx.h | 63 struct ucontext { struct 64 struct ucontext *uc_link; 69 typedef struct ucontext ucontext_t;
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
H A D | ucontext.h | 20 struct ucontext { struct 22 struct ucontext __user *uc_link;
|
H A D | sigcontext.h | 33 * the alignment of the containing sigcontext or ucontext. It is the
|
H A D | signal.h | 121 * SA_SIGINFO signal so the ucontext can be passed to it. It takes an
|
H A D | elf.h | 150 * Note that it's _not_ compatible with 32 bits ucontext which stuffs the
|
/linux-4.4.14/arch/x86/um/ |
H A D | stub_segv.c | 13 struct ucontext *uc = p; stub_segv_handler()
|
H A D | signal.c | 13 #include <asm/ucontext.h> 339 static int copy_ucontext_to_user(struct ucontext __user *uc, copy_ucontext_to_user() 368 struct ucontext uc; 496 struct ucontext uc; 522 /* Create the ucontext. */ setup_signal_stack_si() 577 struct ucontext __user *uc = &frame->uc; sys_rt_sigreturn()
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
H A D | ucontext.h | 11 * ucontext and struct sigframe, with each extended context structure beginning 45 * struct ucontext - user context structure 53 struct ucontext { struct 56 struct ucontext *uc_link; 61 /* Extended context structures may follow ucontext */
|
/linux-4.4.14/arch/arm64/include/uapi/asm/ |
H A D | ucontext.h | 21 struct ucontext { struct 23 struct ucontext *uc_link;
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | sigframe.h | 6 #include <asm/ucontext.h> 12 #define ucontext_ia32 ucontext 64 struct ucontext uc;
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | ucontext.h | 8 * ucontext now has room for all registers which need to be saved and 16 struct ucontext { struct 18 struct ucontext *uc_link;
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_provider.h | 207 static inline struct iwch_mm_entry *remove_mmap(struct iwch_ucontext *ucontext, remove_mmap() argument 213 spin_lock(&ucontext->mmap_lock); list_for_each_safe() 214 list_for_each_safe(pos, nxt, &ucontext->mmaps) { list_for_each_safe() 219 spin_unlock(&ucontext->mmap_lock); list_for_each_safe() 225 spin_unlock(&ucontext->mmap_lock); 229 static inline void insert_mmap(struct iwch_ucontext *ucontext, insert_mmap() argument 232 spin_lock(&ucontext->mmap_lock); insert_mmap() 235 list_add_tail(&mm->entry, &ucontext->mmaps); insert_mmap() 236 spin_unlock(&ucontext->mmap_lock); insert_mmap()
|
H A D | iwch_provider.c | 102 struct iwch_ucontext *ucontext = to_iwch_ucontext(context); iwch_dealloc_ucontext() local 106 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) iwch_dealloc_ucontext() 108 cxio_release_ucontext(&rhp->rdev, &ucontext->uctx); iwch_dealloc_ucontext() 109 kfree(ucontext); iwch_dealloc_ucontext() 155 struct iwch_ucontext *ucontext = NULL; iwch_create_cq() local 169 ucontext = to_iwch_ucontext(ib_context); iwch_create_cq() 195 if (cxio_create_cq(&rhp->rdev, &chp->cq, !ucontext)) { iwch_create_cq() 211 if (ucontext) { iwch_create_cq() 221 spin_lock(&ucontext->mmap_lock); iwch_create_cq() 222 uresp.key = ucontext->key; iwch_create_cq() 223 ucontext->key += PAGE_SIZE; iwch_create_cq() 224 spin_unlock(&ucontext->mmap_lock); iwch_create_cq() 246 insert_mmap(ucontext, mm); iwch_create_cq() 362 struct iwch_ucontext *ucontext; iwch_mmap() local 373 ucontext = to_iwch_ucontext(context); iwch_mmap() 375 mm = remove_mmap(ucontext, key, len); iwch_mmap() 892 struct iwch_ucontext *ucontext; iwch_destroy_qp() local 906 ucontext = ib_qp->uobject ? to_iwch_ucontext(ib_qp->uobject->context) iwch_destroy_qp() 909 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); iwch_destroy_qp() 928 struct iwch_ucontext *ucontext; iwch_create_qp() local 967 ucontext = pd->uobject ? to_iwch_ucontext(pd->uobject->context) : NULL; iwch_create_qp() 968 if (!ucontext && wqsize < (rqsize + (2 * sqsize))) iwch_create_qp() 980 ucontext ? &ucontext->uctx : &rhp->rdev.uctx)) { iwch_create_qp() 1018 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); iwch_create_qp() 1044 spin_lock(&ucontext->mmap_lock); iwch_create_qp() 1045 uresp.key = ucontext->key; iwch_create_qp() 1046 ucontext->key += PAGE_SIZE; iwch_create_qp() 1047 uresp.db_key = ucontext->key; iwch_create_qp() 1048 ucontext->key += PAGE_SIZE; iwch_create_qp() 1049 spin_unlock(&ucontext->mmap_lock); iwch_create_qp() 1059 insert_mmap(ucontext, mm1); iwch_create_qp() 1063 insert_mmap(ucontext, mm2); iwch_create_qp()
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | sigframe.h | 30 struct ucontext uc;
|
H A D | asm-offsets.c | 11 #include <asm/ucontext.h>
|
H A D | signal.c | 27 #include <asm/ucontext.h> 280 /* create the ucontext. */ setup_rt_frame()
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 297 struct ib_ucontext *ucontext; ib_uverbs_get_context() local 309 if (file->ucontext) { ib_uverbs_get_context() 318 ucontext = ib_dev->alloc_ucontext(ib_dev, &udata); ib_uverbs_get_context() 319 if (IS_ERR(ucontext)) { ib_uverbs_get_context() 320 ret = PTR_ERR(ucontext); ib_uverbs_get_context() 324 ucontext->device = ib_dev; ib_uverbs_get_context() 325 INIT_LIST_HEAD(&ucontext->pd_list); ib_uverbs_get_context() 326 INIT_LIST_HEAD(&ucontext->mr_list); ib_uverbs_get_context() 327 INIT_LIST_HEAD(&ucontext->mw_list); ib_uverbs_get_context() 328 INIT_LIST_HEAD(&ucontext->cq_list); ib_uverbs_get_context() 329 INIT_LIST_HEAD(&ucontext->qp_list); ib_uverbs_get_context() 330 INIT_LIST_HEAD(&ucontext->srq_list); ib_uverbs_get_context() 331 INIT_LIST_HEAD(&ucontext->ah_list); ib_uverbs_get_context() 332 INIT_LIST_HEAD(&ucontext->xrcd_list); ib_uverbs_get_context() 333 INIT_LIST_HEAD(&ucontext->rule_list); ib_uverbs_get_context() 335 ucontext->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); ib_uverbs_get_context() 337 ucontext->closing = 0; ib_uverbs_get_context() 340 ucontext->umem_tree = RB_ROOT; ib_uverbs_get_context() 341 init_rwsem(&ucontext->umem_rwsem); ib_uverbs_get_context() 342 ucontext->odp_mrs_count = 0; ib_uverbs_get_context() 343 INIT_LIST_HEAD(&ucontext->no_private_counters); ib_uverbs_get_context() 349 ucontext->invalidate_range = NULL; ib_uverbs_get_context() 372 file->ucontext = ucontext; ib_uverbs_get_context() 388 put_pid(ucontext->tgid); ib_uverbs_get_context() 389 ib_dev->dealloc_ucontext(ucontext); ib_uverbs_get_context() 550 init_uobj(uobj, 0, file->ucontext, &pd_lock_class); ib_uverbs_alloc_pd() 553 pd = ib_dev->alloc_pd(ib_dev, file->ucontext, &udata); ib_uverbs_alloc_pd() 579 list_add_tail(&uobj->list, &file->ucontext->pd_list); ib_uverbs_alloc_pd() 612 uobj = idr_write_uobj(&ib_uverbs_pd_idr, cmd.pd_handle, file->ucontext); ib_uverbs_dealloc_pd() 785 init_uobj(&obj->uobject, 0, file->ucontext, &xrcd_lock_class); ib_uverbs_open_xrcd() 790 xrcd = ib_dev->alloc_xrcd(ib_dev, file->ucontext, &udata); ib_uverbs_open_xrcd() 833 list_add_tail(&obj->uobject.list, &file->ucontext->xrcd_list); ib_uverbs_open_xrcd() 884 uobj = idr_write_uobj(&ib_uverbs_xrcd_idr, cmd.xrcd_handle, file->ucontext); ib_uverbs_close_xrcd() 979 init_uobj(uobj, 0, file->ucontext, &mr_lock_class); ib_uverbs_reg_mr() 982 pd = idr_read_pd(cmd.pd_handle, file->ucontext); ib_uverbs_reg_mr() 1032 list_add_tail(&uobj->list, &file->ucontext->mr_list); ib_uverbs_reg_mr() 1088 file->ucontext); ib_uverbs_rereg_mr() 1102 pd = idr_read_pd(cmd.pd_handle, file->ucontext); ib_uverbs_rereg_mr() 1162 uobj = idr_write_uobj(&ib_uverbs_mr_idr, cmd.mr_handle, file->ucontext); ib_uverbs_dereg_mr() 1210 init_uobj(uobj, 0, file->ucontext, &mw_lock_class); ib_uverbs_alloc_mw() 1213 pd = idr_read_pd(cmd.pd_handle, file->ucontext); ib_uverbs_alloc_mw() 1248 list_add_tail(&uobj->list, &file->ucontext->mw_list); ib_uverbs_alloc_mw() 1284 uobj = idr_write_uobj(&ib_uverbs_mw_idr, cmd.mw_handle, file->ucontext); ib_uverbs_dealloc_mw() 1375 init_uobj(&obj->uobject, cmd->user_handle, file->ucontext, &cq_lock_class); create_cq() 1399 file->ucontext, uhw); create_cq() 1429 list_add_tail(&obj->uobject.list, &file->ucontext->cq_list); create_cq() 1572 cq = idr_read_cq(cmd.cq_handle, file->ucontext, 0); ib_uverbs_resize_cq() 1634 cq = idr_read_cq(cmd.cq_handle, file->ucontext, 0); ib_uverbs_poll_cq() 1681 cq = idr_read_cq(cmd.cq_handle, file->ucontext, 0); ib_uverbs_req_notify_cq() 1709 uobj = idr_write_uobj(&ib_uverbs_cq_idr, cmd.cq_handle, file->ucontext); ib_uverbs_destroy_cq() 1776 init_uobj(&obj->uevent.uobject, cmd->user_handle, file->ucontext, create_qp() 1781 xrcd = idr_read_xrcd(cmd->pd_handle, file->ucontext, create_qp() 1795 file->ucontext); create_qp() 1804 file->ucontext, 0); create_qp() 1812 scq = idr_read_cq(cmd->send_cq_handle, file->ucontext, !!rcq); create_qp() 1814 pd = idr_read_pd(cmd->pd_handle, file->ucontext); create_qp() 1929 list_add_tail(&obj->uevent.uobject.list, &file->ucontext->qp_list); create_qp() 2094 init_uobj(&obj->uevent.uobject, cmd.user_handle, file->ucontext, &qp_lock_class); ib_uverbs_open_qp() 2097 xrcd = idr_read_xrcd(cmd.pd_handle, file->ucontext, &xrcd_uobj); ib_uverbs_open_qp() 2140 list_add_tail(&obj->uevent.uobject.list, &file->ucontext->qp_list); ib_uverbs_open_qp() 2183 qp = idr_read_qp(cmd.qp_handle, file->ucontext); ib_uverbs_query_qp() 2297 qp = idr_read_qp(cmd.qp_handle, file->ucontext); ib_uverbs_modify_qp() 2390 uobj = idr_write_uobj(&ib_uverbs_qp_idr, cmd.qp_handle, file->ucontext); ib_uverbs_destroy_qp() 2467 qp = idr_read_qp(cmd.qp_handle, file->ucontext); ib_uverbs_post_send() 2503 ud->ah = idr_read_ah(user_wr->wr.ud.ah, file->ucontext); ib_uverbs_post_send() 2731 qp = idr_read_qp(cmd.qp_handle, file->ucontext); ib_uverbs_post_recv() 2781 srq = idr_read_srq(cmd.srq_handle, file->ucontext); ib_uverbs_post_srq_recv() 2834 init_uobj(uobj, cmd.user_handle, file->ucontext, &ah_lock_class); ib_uverbs_create_ah() 2837 pd = idr_read_pd(cmd.pd_handle, file->ucontext); ib_uverbs_create_ah() 2880 list_add_tail(&uobj->list, &file->ucontext->ah_list); ib_uverbs_create_ah() 2915 uobj = idr_write_uobj(&ib_uverbs_ah_idr, cmd.ah_handle, file->ucontext); ib_uverbs_destroy_ah() 2954 qp = idr_write_qp(cmd.qp_handle, file->ucontext); ib_uverbs_attach_mcast() 3002 qp = idr_write_qp(cmd.qp_handle, file->ucontext); ib_uverbs_detach_mcast() 3138 init_uobj(uobj, 0, file->ucontext, &rule_lock_class); ib_uverbs_ex_create_flow() 3141 qp = idr_read_qp(cmd.qp_handle, file->ucontext); ib_uverbs_ex_create_flow() 3204 list_add_tail(&uobj->list, &file->ucontext->rule_list); ib_uverbs_ex_create_flow() 3251 file->ucontext); ib_uverbs_ex_destroy_flow() 3290 init_uobj(&obj->uevent.uobject, cmd->user_handle, file->ucontext, &srq_lock_class); __uverbs_create_xsrq() 3294 attr.ext.xrc.xrcd = idr_read_xrcd(cmd->xrcd_handle, file->ucontext, &xrcd_uobj); __uverbs_create_xsrq() 3303 attr.ext.xrc.cq = idr_read_cq(cmd->cq_handle, file->ucontext, 0); __uverbs_create_xsrq() 3310 pd = idr_read_pd(cmd->pd_handle, file->ucontext); __uverbs_create_xsrq() 3374 list_add_tail(&obj->uevent.uobject.list, &file->ucontext->srq_list); __uverbs_create_xsrq() 3486 srq = idr_read_srq(cmd.srq_handle, file->ucontext); ib_uverbs_modify_srq() 3517 srq = idr_read_srq(cmd.srq_handle, file->ucontext); ib_uverbs_query_srq() 3558 uobj = idr_write_uobj(&ib_uverbs_srq_idr, cmd.srq_handle, file->ucontext); ib_uverbs_destroy_srq()
|
H A D | uverbs_main.c | 724 if (!file->ucontext && ib_uverbs_write() 767 if (!file->ucontext) { ib_uverbs_write() 858 if (!file->ucontext) ib_uverbs_mmap() 861 ret = ib_dev->mmap(file->ucontext, vma); ib_uverbs_mmap() 899 /* In case IB device supports disassociate ucontext, there is no hard ib_uverbs_open() 921 file->ucontext = NULL; ib_uverbs_open() 950 struct ib_ucontext *ucontext = NULL; ib_uverbs_close() local 953 ucontext = file->ucontext; ib_uverbs_close() 954 file->ucontext = NULL; ib_uverbs_close() 960 if (ucontext) ib_uverbs_close() 961 ib_uverbs_cleanup_ucontext(file, ucontext); ib_uverbs_close() 1174 struct ib_ucontext *ucontext; ib_uverbs_free_hw_resources() local 1179 ucontext = file->ucontext; ib_uverbs_free_hw_resources() 1181 file->ucontext = NULL; ib_uverbs_free_hw_resources() 1190 if (ucontext) { ib_uverbs_free_hw_resources() 1191 ib_dev->disassociate_ucontext(ucontext); ib_uverbs_free_hw_resources() 1192 ib_uverbs_cleanup_ucontext(file, ucontext); ib_uverbs_free_hw_resources()
|
H A D | uverbs.h | 120 struct ib_ucontext *ucontext; member in struct:ib_uverbs_file
|
/linux-4.4.14/arch/tile/include/asm/ |
H A D | sigframe.h | 28 struct ucontext uc;
|
/linux-4.4.14/arch/x86/um/os-Linux/ |
H A D | mcontext.c | 1 #include <sys/ucontext.h>
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 850 struct c4iw_ucontext *ucontext; c4iw_destroy_cq() local 859 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) c4iw_destroy_cq() 862 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx); c4iw_destroy_cq() 877 struct c4iw_ucontext *ucontext = NULL; c4iw_create_cq() local 896 ucontext = to_c4iw_ucontext(ib_context); c4iw_create_cq() 926 if (ucontext) c4iw_create_cq() 933 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); c4iw_create_cq() 948 if (ucontext) { c4iw_create_cq() 960 spin_lock(&ucontext->mmap_lock); c4iw_create_cq() 961 uresp.key = ucontext->key; c4iw_create_cq() 962 ucontext->key += PAGE_SIZE; c4iw_create_cq() 963 uresp.gts_key = ucontext->key; c4iw_create_cq() 964 ucontext->key += PAGE_SIZE; c4iw_create_cq() 965 spin_unlock(&ucontext->mmap_lock); c4iw_create_cq() 974 insert_mmap(ucontext, mm); c4iw_create_cq() 979 insert_mmap(ucontext, mm2); c4iw_create_cq() 993 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); c4iw_create_cq()
|
H A D | qp.c | 1589 struct c4iw_ucontext *ucontext; c4iw_destroy_qp() local 1611 ucontext = ib_qp->uobject ? c4iw_destroy_qp() 1614 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); c4iw_destroy_qp() 1631 struct c4iw_ucontext *ucontext; c4iw_create_qp() local 1662 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; c4iw_create_qp() 1677 if (ucontext) { c4iw_create_qp() 1683 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); c4iw_create_qp() 1754 spin_lock(&ucontext->mmap_lock); c4iw_create_qp() 1756 uresp.ma_sync_key = ucontext->key; c4iw_create_qp() 1757 ucontext->key += PAGE_SIZE; c4iw_create_qp() 1761 uresp.sq_key = ucontext->key; c4iw_create_qp() 1762 ucontext->key += PAGE_SIZE; c4iw_create_qp() 1763 uresp.rq_key = ucontext->key; c4iw_create_qp() 1764 ucontext->key += PAGE_SIZE; c4iw_create_qp() 1765 uresp.sq_db_gts_key = ucontext->key; c4iw_create_qp() 1766 ucontext->key += PAGE_SIZE; c4iw_create_qp() 1767 uresp.rq_db_gts_key = ucontext->key; c4iw_create_qp() 1768 ucontext->key += PAGE_SIZE; c4iw_create_qp() 1769 spin_unlock(&ucontext->mmap_lock); c4iw_create_qp() 1776 insert_mmap(ucontext, mm1); c4iw_create_qp() 1780 insert_mmap(ucontext, mm2); c4iw_create_qp() 1784 insert_mmap(ucontext, mm3); c4iw_create_qp() 1788 insert_mmap(ucontext, mm4); c4iw_create_qp() 1794 insert_mmap(ucontext, mm5); c4iw_create_qp() 1820 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); c4iw_create_qp()
|
H A D | provider.c | 97 struct c4iw_ucontext *ucontext = to_c4iw_ucontext(context); c4iw_dealloc_ucontext() local 101 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) c4iw_dealloc_ucontext() 103 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx); c4iw_dealloc_ucontext() 104 kfree(ucontext); c4iw_dealloc_ucontext() 173 struct c4iw_ucontext *ucontext; c4iw_mmap() local 183 ucontext = to_c4iw_ucontext(context); c4iw_mmap() 185 mm = remove_mmap(ucontext, key, len); c4iw_mmap()
|
H A D | iw_cxgb4.h | 506 static inline struct c4iw_mm_entry *remove_mmap(struct c4iw_ucontext *ucontext, remove_mmap() argument 512 spin_lock(&ucontext->mmap_lock); list_for_each_safe() 513 list_for_each_safe(pos, nxt, &ucontext->mmaps) { list_for_each_safe() 518 spin_unlock(&ucontext->mmap_lock); list_for_each_safe() 524 spin_unlock(&ucontext->mmap_lock); 528 static inline void insert_mmap(struct c4iw_ucontext *ucontext, insert_mmap() argument 531 spin_lock(&ucontext->mmap_lock); insert_mmap() 534 list_add_tail(&mm->entry, &ucontext->mmaps); insert_mmap() 535 spin_unlock(&ucontext->mmap_lock); insert_mmap()
|
/linux-4.4.14/arch/nios2/kernel/ |
H A D | signal.c | 20 #include <asm/ucontext.h> 34 struct ucontext uc; 39 struct ucontext *uc, int *pr2) rt_restore_ucontext() 127 static inline int rt_setup_ucontext(struct ucontext *uc, struct pt_regs *regs) rt_setup_ucontext() 191 /* Create the ucontext. */ setup_rt_frame()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | signal_n32.c | 37 #include <asm/ucontext.h> 117 /* Create the ucontext. */ setup_rt_frame_n32() 132 * a2 = pointer to ucontext setup_rt_frame_n32()
|
H A D | signal.c | 36 #include <asm/ucontext.h> 52 /* Matches struct ucontext from its uc_mcontext field onwards */ 62 struct ucontext rs_uc; 134 struct ucontext __user *uc; sc_to_extcontext() 138 * ucontext here, because the offset from sigcontext to extended sc_to_extcontext() 141 uc = container_of(sc, struct ucontext, uc_mcontext); sc_to_extcontext() 720 /* Create the ucontext. */ setup_rt_frame() 735 * a2 = pointer to ucontext setup_rt_frame()
|
H A D | signal32.c | 31 #include <asm/ucontext.h> 369 /* Create the ucontext. */ setup_rt_frame_32() 384 * a2 = pointer to ucontext setup_rt_frame_32()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | signal_32.c | 51 #include <asm/ucontext.h> 66 #define ucontext ucontext32 macro 71 * Userspace code may pass a ucontext which doesn't include VSX added 75 (sizeof(struct ucontext) - sizeof(elf_vsrreghalf_t32)) 238 * one rt_sigframe struct (siginfo + ucontext + ABI gap) 240 * (the +16 is to get the siginfo and ucontext in the same 252 struct ucontext uc; 254 struct ucontext uc_transact; 510 * We also save the transactional registers to a second ucontext in the 1009 /* Put the siginfo & fill in most of the ucontext */ handle_rt_signal32() 1081 static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig) do_setcontext() 1111 static int do_setcontext_tm(struct ucontext __user *ucp, do_setcontext_tm() 1112 struct ucontext __user *tm_ucp, do_setcontext_tm() 1139 long sys_swapcontext(struct ucontext __user *old_ctx, sys_swapcontext() 1140 struct ucontext __user *new_ctx, sys_swapcontext() 1174 if ((ctx_size < sizeof(struct ucontext)) && sys_swapcontext() 1178 if (ctx_size >= sizeof(struct ucontext)) sys_swapcontext() 1184 if (ctx_size < sizeof(struct ucontext)) sys_swapcontext() 1235 struct ucontext __user *uc_transact; sys_rt_sigreturn() 1250 uc_transact = (struct ucontext __user *)(uintptr_t)tmp; sys_rt_sigreturn() 1259 * ucontext. */ sys_rt_sigreturn() 1308 int sys_debug_setcontext(struct ucontext __user *ctx, sys_debug_setcontext()
|
H A D | signal_64.c | 29 #include <asm/ucontext.h> 51 * 1) a rt_sigframe struct which contains the ucontext 57 /* sys_rt_sigreturn requires the ucontext be the first field */ 58 struct ucontext uc; 60 struct ucontext uc_transact; 429 * TFHAR is restored from the checkpointed 'wound-back' ucontext's NIP. restore_tm_sigcontexts() 592 * Userspace code may pass a ucontext which doesn't include VSX added 596 (sizeof(struct ucontext) - 32*sizeof(long)) 601 int sys_swapcontext(struct ucontext __user *old_ctx, sys_swapcontext() 602 struct ucontext __user *new_ctx, sys_swapcontext() 623 if ((ctx_size < sizeof(struct ucontext)) && sys_swapcontext() 627 if (ctx_size >= sizeof(struct ucontext)) sys_swapcontext() 677 struct ucontext __user *uc = (struct ucontext __user *)regs->gpr[1]; sys_rt_sigreturn() 697 struct ucontext __user *uc_transact; sys_rt_sigreturn() 742 /* Create the ucontext. */ handle_rt_signal64()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | asm-offsets_32.c | 5 #include <asm/ucontext.h>
|
H A D | signal.c | 28 #include <asm/ucontext.h> 358 /* Create the ucontext. */ __setup_rt_frame() 424 /* Create the ucontext. */ __setup_rt_frame() 491 /* Create the ucontext. */ x32_setup_rt_frame()
|
/linux-4.4.14/include/rdma/ |
H A D | ib_umem_odp.h | 67 /* When false, use the notifier counter in the ucontext struct. */ 132 * and the ucontext umem_mutex semaphore locked for read). ib_umem_mmu_notifier_retry()
|
H A D | ib_verbs.h | 1791 struct ib_ucontext *ucontext,
|
/linux-4.4.14/tools/testing/selftests/x86/ |
H A D | unwind_vdso.c | 41 #include <sys/ucontext.h> 47 #include <sys/ucontext.h>
|
H A D | syscall_arg_fault.c | 21 #include <sys/ucontext.h>
|
H A D | single_step_syscall.c | 33 #include <sys/ucontext.h>
|
H A D | entry_from_vm86.c | 16 #include <sys/ucontext.h>
|
H A D | sigreturn.c | 48 #include <sys/ucontext.h>
|
/linux-4.4.14/arch/c6x/kernel/ |
H A D | signal.c | 19 #include <asm/ucontext.h> 33 struct ucontext uc; 159 /* Clear all the bits of the ucontext we don't use. */ setup_rt_frame() 160 err |= __clear_user(&frame->uc, offsetof(struct ucontext, uc_mcontext)); setup_rt_frame()
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | signal.c | 36 #include <asm/ucontext.h> 55 struct ucontext uc; 175 /* Create the ucontext. */ setup_rt_frame() 228 regs->r7 = (unsigned long) &frame->uc; /* arg2: ucontext */ setup_rt_frame()
|
/linux-4.4.14/arch/openrisc/kernel/ |
H A D | signal.c | 32 #include <asm/ucontext.h> 39 struct ucontext uc; 171 /* Create the ucontext. */ setup_rt_frame() 201 regs->gpr[5] = (unsigned long)&frame->uc; /* arg 3: ucontext */ setup_rt_frame()
|
/linux-4.4.14/tools/perf/tests/ |
H A D | task-exit.c | 23 void *ucontext __maybe_unused) workload_exec_failed_signal()
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | signal.c | 23 #include <asm/ucontext.h> 41 struct ucontext uc; 164 /* Create the ucontext. */ setup_rt_frame()
|
/linux-4.4.14/arch/h8300/kernel/ |
H A D | signal.c | 47 #include <asm/ucontext.h> 68 struct ucontext uc; 173 /* Create the ucontext. */ setup_rt_frame()
|
/linux-4.4.14/arch/m32r/kernel/ |
H A D | signal.c | 25 #include <asm/ucontext.h> 40 struct ucontext uc; 192 /* Create the ucontext. */ setup_rt_frame()
|
/linux-4.4.14/arch/avr32/kernel/ |
H A D | signal.c | 21 #include <asm/ucontext.h> 27 struct ucontext uc; 165 /* Set up the ucontext */ setup_rt_frame()
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | signal.c | 17 #include <asm/ucontext.h> 37 struct ucontext uc; 160 /* Create the ucontext. */ setup_rt_frame()
|
/linux-4.4.14/arch/frv/kernel/ |
H A D | signal.c | 24 #include <asm/ucontext.h> 55 struct ucontext uc; 265 /* Create the ucontext. */ setup_rt_frame()
|
H A D | asm-offsets.c | 12 #include <asm/ucontext.h>
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | signal.c | 27 #include <asm/ucontext.h> 132 struct ucontext uc; 395 /* Create the ucontext. */ setup_rt_frame() 426 regs->r18 = (unsigned long) &frame->uc; /* a2: ucontext pointer */ setup_rt_frame()
|
/linux-4.4.14/arch/arc/kernel/ |
H A D | signal.c | 56 #include <asm/ucontext.h> 60 struct ucontext uc; 238 * w/o SA_SIGINFO, struct ucontext is partially populated (only setup_rt_frame() 250 * #3: struct ucontext (completely populated) setup_rt_frame()
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
H A D | signal.c | 28 #include <asm/ucontext.h> 58 struct ucontext uc; 295 /* Clear all the bits of the ucontext we don't use. */ setup_rt_frame() 296 err |= __clear_user(&frame->uc, offsetof(struct ucontext, uc_mcontext)); setup_rt_frame()
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
H A D | signal.c | 20 #include <asm/ucontext.h> 46 struct ucontext uc; 299 /* Clear all the bits of the ucontext we don't use. */ setup_rt_frame() 300 err |= __clear_user(&frame->uc, offsetof(struct ucontext, uc_mcontext)); setup_rt_frame()
|
/linux-4.4.14/arch/m68k/kernel/ |
H A D | signal.c | 52 #include <asm/ucontext.h> 261 struct ucontext uc; 349 static inline int rt_restore_fpu_state(struct ucontext __user *uc) rt_restore_fpu_state() 500 static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs) rt_save_fpu_state() 578 static inline int rt_restore_fpu_state(struct ucontext __user *uc) rt_restore_fpu_state() 587 static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs) rt_save_fpu_state() 688 struct ucontext __user *uc) rt_restore_ucontext() 807 static inline int rt_setup_ucontext(struct ucontext __user *uc, struct pt_regs *regs) rt_setup_ucontext() 951 /* Create the ucontext. */ setup_rt_frame()
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | signal32.h | 24 /* 32-bit ucontext as seen from an 64-bit kernel */
|
H A D | signal.c | 28 #include <asm/ucontext.h> 393 regs->gr[24] = A(&compat_frame->uc); /* ucontext pointer */ setup_rt_frame() 398 regs->gr[24] = A(&frame->uc); /* ucontext pointer */ setup_rt_frame()
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | compat_signal.c | 32 #include <asm/ucontext.h> 211 /* Create the ucontext. */ compat_setup_rt_frame()
|
H A D | signal.c | 33 #include <asm/ucontext.h> 169 /* Create the ucontext. */ setup_rt_frame()
|
H A D | stack.c | 30 #include <asm/ucontext.h>
|
/linux-4.4.14/arch/score/kernel/ |
H A D | signal.c | 35 #include <asm/ucontext.h> 41 struct ucontext rs_uc;
|
/linux-4.4.14/arch/hexagon/kernel/ |
H A D | signal.c | 28 #include <asm/ucontext.h> 36 struct ucontext uc;
|
/linux-4.4.14/arch/powerpc/perf/ |
H A D | callchain.c | 20 #include <asm/ucontext.h> 199 struct ucontext uc; 342 #define ucontext32 ucontext
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | signal.c | 28 #include <asm/ucontext.h> 82 * | struct ucontext *uc_link | 413 /* Create ucontext on the signal stack. */ setup_rt_frame()
|
H A D | compat_linux.h | 74 /* asm/ucontext.h */
|
H A D | compat_signal.c | 25 #include <asm/ucontext.h> 504 /* Create ucontext on the signal stack. */ setup_rt_frame32()
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | signal_32.c | 27 #include <asm/ucontext.h> 71 struct ucontext uc; 344 /* Create the ucontext. */ setup_rt_frame()
|
H A D | signal_64.c | 25 #include <asm/ucontext.h> 139 struct ucontext uc; 482 /* Create the ucontext. */ setup_rt_frame()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.c | 477 struct usnic_ib_ucontext *ucontext; usnic_ib_create_qp() local 485 ucontext = to_uucontext(pd->uobject->context); usnic_ib_create_qp() 530 qp_grp->ctx = ucontext; usnic_ib_create_qp() 531 list_add_tail(&qp_grp->link, &ucontext->qp_grp_list); usnic_ib_create_qp()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | signal_64.c | 46 struct ucontext __user *ucp = (struct ucontext __user *) sparc64_set_context() 145 struct ucontext __user *ucp = (struct ucontext __user *) sparc64_get_context()
|
/linux-4.4.14/tools/testing/selftests/powerpc/mm/ |
H A D | subpage_prot.c | 25 #include <ucontext.h>
|
/linux-4.4.14/arch/x86/ia32/ |
H A D | ia32_signal.c | 22 #include <asm/ucontext.h> 359 /* Create the ucontext. */ ia32_setup_rt_frame()
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | signal.c | 32 #include <asm/ucontext.h> 43 struct ucontext uc;
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | signal.c | 21 #include <asm/ucontext.h> 46 struct ucontext uc;
|
/linux-4.4.14/arch/xtensa/kernel/ |
H A D | signal.c | 24 #include <asm/ucontext.h> 37 struct ucontext uc;
|
/linux-4.4.14/arch/um/os-Linux/ |
H A D | signal.c | 143 struct ucontext *uc = p; hard_handler()
|
/linux-4.4.14/arch/powerpc/kernel/vdso64/ |
H A D | sigtramp.S | 36 trampoline layout. The last magic value is the ucontext pointer,
|
/linux-4.4.14/tools/perf/util/ |
H A D | evlist.h | 131 void *ucontext));
|
H A D | evlist.c | 1503 void (*exec_error)(int signo, siginfo_t *info, void *ucontext)) perf_evlist__prepare_workload() 1501 perf_evlist__prepare_workload(struct perf_evlist *evlist, struct target *target, const char *argv[], bool pipe_output, void (*exec_error)(int signo, siginfo_t *info, void *ucontext)) perf_evlist__prepare_workload() argument
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | signal.c | 21 #include <asm/ucontext.h> 133 struct ucontext uc;
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 621 struct ocrdma_ucontext *ucontext = get_ocrdma_ucontext(context); ocrdma_mmap() local 631 found = ocrdma_search_mmap(ucontext, vma->vm_pgoff << PAGE_SHIFT, len); ocrdma_mmap() 1063 cq->ucontext = uctx; ocrdma_copy_cq_uresp() 1183 if (cq->ucontext) { ocrdma_destroy_cq() 1184 pdid = cq->ucontext->cntxt_pd->id; ocrdma_destroy_cq() 1185 ocrdma_del_mmap(cq->ucontext, (u64) cq->pa, ocrdma_destroy_cq() 1187 ocrdma_del_mmap(cq->ucontext, ocrdma_destroy_cq()
|
H A D | ocrdma.h | 337 struct ocrdma_ucontext *ucontext; member in struct:ocrdma_cq
|
/linux-4.4.14/tools/perf/ |
H A D | builtin-record.c | 466 void *ucontext __maybe_unused) workload_exec_failed_signal()
|
H A D | builtin-stat.c | 269 void *ucontext __maybe_unused) workload_exec_failed_signal()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 1018 pr_info("no mm, disassociate ucontext is pending task termination\n"); mlx4_ib_disassociate_ucontext() 1030 pr_info("disassociate ucontext done, task was terminated\n"); mlx4_ib_disassociate_ucontext()
|