/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 207 static inline struct iwch_mm_entry *remove_mmap(struct iwch_ucontext *ucontext, in remove_mmap() argument 213 spin_lock(&ucontext->mmap_lock); in remove_mmap() 214 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap() 219 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 225 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 229 static inline void insert_mmap(struct iwch_ucontext *ucontext, in insert_mmap() argument 232 spin_lock(&ucontext->mmap_lock); in insert_mmap() 235 list_add_tail(&mm->entry, &ucontext->mmaps); in insert_mmap() 236 spin_unlock(&ucontext->mmap_lock); in insert_mmap()
|
D | iwch_provider.c | 102 struct iwch_ucontext *ucontext = to_iwch_ucontext(context); in iwch_dealloc_ucontext() local 106 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in iwch_dealloc_ucontext() 108 cxio_release_ucontext(&rhp->rdev, &ucontext->uctx); in iwch_dealloc_ucontext() 109 kfree(ucontext); in iwch_dealloc_ucontext() 155 struct iwch_ucontext *ucontext = NULL; in iwch_create_cq() local 169 ucontext = to_iwch_ucontext(ib_context); in iwch_create_cq() 195 if (cxio_create_cq(&rhp->rdev, &chp->cq, !ucontext)) { in iwch_create_cq() 211 if (ucontext) { in iwch_create_cq() 221 spin_lock(&ucontext->mmap_lock); in iwch_create_cq() 222 uresp.key = ucontext->key; in iwch_create_cq() [all …]
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
D | ucontext.h | 21 struct ucontext *uc_link; 30 struct ucontext { struct 32 struct ucontext *uc_link; argument
|
D | Kbuild | 48 header-y += ucontext.h
|
/linux-4.4.14/drivers/infiniband/core/ |
D | uverbs_cmd.c | 297 struct ib_ucontext *ucontext; in ib_uverbs_get_context() local 309 if (file->ucontext) { in ib_uverbs_get_context() 318 ucontext = ib_dev->alloc_ucontext(ib_dev, &udata); in ib_uverbs_get_context() 319 if (IS_ERR(ucontext)) { in ib_uverbs_get_context() 320 ret = PTR_ERR(ucontext); in ib_uverbs_get_context() 324 ucontext->device = ib_dev; in ib_uverbs_get_context() 325 INIT_LIST_HEAD(&ucontext->pd_list); in ib_uverbs_get_context() 326 INIT_LIST_HEAD(&ucontext->mr_list); in ib_uverbs_get_context() 327 INIT_LIST_HEAD(&ucontext->mw_list); in ib_uverbs_get_context() 328 INIT_LIST_HEAD(&ucontext->cq_list); in ib_uverbs_get_context() [all …]
|
D | uverbs_main.c | 724 if (!file->ucontext && in ib_uverbs_write() 767 if (!file->ucontext) { in ib_uverbs_write() 858 if (!file->ucontext) in ib_uverbs_mmap() 861 ret = ib_dev->mmap(file->ucontext, vma); in ib_uverbs_mmap() 921 file->ucontext = NULL; in ib_uverbs_open() 950 struct ib_ucontext *ucontext = NULL; in ib_uverbs_close() local 953 ucontext = file->ucontext; in ib_uverbs_close() 954 file->ucontext = NULL; in ib_uverbs_close() 960 if (ucontext) in ib_uverbs_close() 961 ib_uverbs_cleanup_ucontext(file, ucontext); in ib_uverbs_close() [all …]
|
D | uverbs.h | 120 struct ib_ucontext *ucontext; member
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
D | uctx.h | 63 struct ucontext { struct 64 struct ucontext *uc_link; argument 69 typedef struct ucontext ucontext_t; argument
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 850 struct c4iw_ucontext *ucontext; in c4iw_destroy_cq() local 859 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq() 862 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx); in c4iw_destroy_cq() 877 struct c4iw_ucontext *ucontext = NULL; in c4iw_create_cq() local 896 ucontext = to_c4iw_ucontext(ib_context); in c4iw_create_cq() 926 if (ucontext) in c4iw_create_cq() 933 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_cq() 948 if (ucontext) { in c4iw_create_cq() 960 spin_lock(&ucontext->mmap_lock); in c4iw_create_cq() 961 uresp.key = ucontext->key; in c4iw_create_cq() [all …]
|
D | qp.c | 1589 struct c4iw_ucontext *ucontext; in c4iw_destroy_qp() local 1611 ucontext = ib_qp->uobject ? in c4iw_destroy_qp() 1614 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_destroy_qp() 1631 struct c4iw_ucontext *ucontext; in c4iw_create_qp() local 1662 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; in c4iw_create_qp() 1677 if (ucontext) { in c4iw_create_qp() 1683 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_qp() 1754 spin_lock(&ucontext->mmap_lock); in c4iw_create_qp() 1756 uresp.ma_sync_key = ucontext->key; in c4iw_create_qp() 1757 ucontext->key += PAGE_SIZE; in c4iw_create_qp() [all …]
|
D | iw_cxgb4.h | 506 static inline struct c4iw_mm_entry *remove_mmap(struct c4iw_ucontext *ucontext, in remove_mmap() argument 512 spin_lock(&ucontext->mmap_lock); in remove_mmap() 513 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap() 518 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 524 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 528 static inline void insert_mmap(struct c4iw_ucontext *ucontext, in insert_mmap() argument 531 spin_lock(&ucontext->mmap_lock); in insert_mmap() 534 list_add_tail(&mm->entry, &ucontext->mmaps); in insert_mmap() 535 spin_unlock(&ucontext->mmap_lock); in insert_mmap()
|
D | provider.c | 97 struct c4iw_ucontext *ucontext = to_c4iw_ucontext(context); in c4iw_dealloc_ucontext() local 101 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in c4iw_dealloc_ucontext() 103 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx); in c4iw_dealloc_ucontext() 104 kfree(ucontext); in c4iw_dealloc_ucontext() 173 struct c4iw_ucontext *ucontext; in c4iw_mmap() local 183 ucontext = to_c4iw_ucontext(context); in c4iw_mmap() 185 mm = remove_mmap(ucontext, key, len); in c4iw_mmap()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext * uc_link; argument
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
D | rt_sigframe.h | 15 struct ucontext uc;
|
/linux-4.4.14/include/uapi/asm-generic/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
D | Kbuild | 35 header-y += ucontext.h
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-4.4.14/arch/frv/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | ucontext.h | 14 struct ucontext { struct 16 struct ucontext *uc_link; argument
|
/linux-4.4.14/arch/cris/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | ucontext.h | 14 struct ucontext { struct 16 struct ucontext *uc_link; argument
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-4.4.14/arch/arm64/include/uapi/asm/ |
D | ucontext.h | 21 struct ucontext { struct 23 struct ucontext *uc_link; argument
|
D | Kbuild | 21 header-y += ucontext.h
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
D | ucontext.h | 53 struct ucontext { struct 56 struct ucontext *uc_link; argument
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | ucontext.h | 21 struct ucontext { struct 23 struct ucontext *uc_link; argument
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
D | ucontext.h | 20 struct ucontext { struct 22 struct ucontext __user *uc_link; argument
|
D | Kbuild | 46 header-y += ucontext.h
|
/linux-4.4.14/arch/arm/include/asm/ |
D | ucontext.h | 16 struct ucontext { struct 18 struct ucontext *uc_link; argument
|
/linux-4.4.14/arch/x86/include/asm/ |
D | sigframe.h | 12 #define ucontext_ia32 ucontext 64 struct ucontext uc;
|
/linux-4.4.14/arch/tile/include/uapi/asm/ |
D | Kbuild | 18 header-y += ucontext.h 21 generic-y += ucontext.h
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | signal_64.c | 58 struct ucontext uc; 60 struct ucontext uc_transact; 596 (sizeof(struct ucontext) - 32*sizeof(long)) 601 int sys_swapcontext(struct ucontext __user *old_ctx, in sys_swapcontext() 602 struct ucontext __user *new_ctx, in sys_swapcontext() 623 if ((ctx_size < sizeof(struct ucontext)) && in sys_swapcontext() 627 if (ctx_size >= sizeof(struct ucontext)) in sys_swapcontext() 677 struct ucontext __user *uc = (struct ucontext __user *)regs->gpr[1]; in sys_rt_sigreturn() 697 struct ucontext __user *uc_transact; in sys_rt_sigreturn()
|
D | signal_32.c | 66 #define ucontext ucontext32 macro 75 (sizeof(struct ucontext) - sizeof(elf_vsrreghalf_t32)) 252 struct ucontext uc; 254 struct ucontext uc_transact; 1081 static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig) in do_setcontext() 1111 static int do_setcontext_tm(struct ucontext __user *ucp, in do_setcontext_tm() 1112 struct ucontext __user *tm_ucp, in do_setcontext_tm() 1139 long sys_swapcontext(struct ucontext __user *old_ctx, in sys_swapcontext() 1140 struct ucontext __user *new_ctx, in sys_swapcontext() 1174 if ((ctx_size < sizeof(struct ucontext)) && in sys_swapcontext() [all …]
|
/linux-4.4.14/Documentation/powerpc/ |
D | transactional_memory.txt | 100 thread state (ucontext/mcontext) to represent the second transactional register 106 If the sighandler ucontext has uc_link set, a second ucontext has been 108 determine the transactional state -- if so, the second ucontext in uc->uc_link 115 bits are stored in the MSR of the second ucontext, i.e. in 123 from the second ucontext. This will be necessary for crash handlers to 135 /* May have transactional ucontext! */
|
/linux-4.4.14/arch/tile/include/asm/ |
D | sigframe.h | 28 struct ucontext uc;
|
/linux-4.4.14/arch/ia64/include/uapi/asm/ |
D | ucontext.h | 4 struct ucontext { struct
|
D | Kbuild | 47 header-y += ucontext.h
|
/linux-4.4.14/arch/nios2/include/uapi/asm/ |
D | Kbuild | 5 generic-y += ucontext.h
|
/linux-4.4.14/arch/x86/um/ |
D | stub_segv.c | 13 struct ucontext *uc = p; in stub_segv_handler()
|
D | signal.c | 339 static int copy_ucontext_to_user(struct ucontext __user *uc, in copy_ucontext_to_user() 368 struct ucontext uc; 496 struct ucontext uc; 577 struct ucontext __user *uc = &frame->uc; in sys_rt_sigreturn()
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | Kbuild | 2 header-y += ucontext.h 58 generic-y += ucontext.h
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | sigframe.h | 30 struct ucontext uc;
|
/linux-4.4.14/arch/m68k/kernel/ |
D | signal.c | 261 struct ucontext uc; 349 static inline int rt_restore_fpu_state(struct ucontext __user *uc) in rt_restore_fpu_state() 500 static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs) in rt_save_fpu_state() 578 static inline int rt_restore_fpu_state(struct ucontext __user *uc) in rt_restore_fpu_state() 587 static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs) in rt_save_fpu_state() 688 struct ucontext __user *uc) in rt_restore_ucontext() 807 static inline int rt_setup_ucontext(struct ucontext __user *uc, struct pt_regs *regs) in rt_setup_ucontext()
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | Kbuild | 2 header-y += ucontext.h 69 generic-y += ucontext.h
|
/linux-4.4.14/arch/nios2/kernel/ |
D | signal.c | 34 struct ucontext uc; 39 struct ucontext *uc, int *pr2) in rt_restore_ucontext() 127 static inline int rt_setup_ucontext(struct ucontext *uc, struct pt_regs *regs) in rt_setup_ucontext()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | signal_64.c | 46 struct ucontext __user *ucp = (struct ucontext __user *) in sparc64_set_context() 145 struct ucontext __user *ucp = (struct ucontext __user *) in sparc64_get_context()
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
D | signal.c | 58 struct ucontext uc; 296 err |= __clear_user(&frame->uc, offsetof(struct ucontext, uc_mcontext)); in setup_rt_frame()
|
/linux-4.4.14/tools/perf/tests/ |
D | task-exit.c | 23 void *ucontext __maybe_unused) in workload_exec_failed_signal()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | Kbuild | 38 generic-y += ucontext.h
|
/linux-4.4.14/arch/c6x/kernel/ |
D | signal.c | 33 struct ucontext uc; 160 err |= __clear_user(&frame->uc, offsetof(struct ucontext, uc_mcontext)); in setup_rt_frame()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 477 struct usnic_ib_ucontext *ucontext; in usnic_ib_create_qp() local 485 ucontext = to_uucontext(pd->uobject->context); in usnic_ib_create_qp() 530 qp_grp->ctx = ucontext; in usnic_ib_create_qp() 531 list_add_tail(&qp_grp->link, &ucontext->qp_grp_list); in usnic_ib_create_qp()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | Kbuild | 48 generic-y += ucontext.h
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | Kbuild | 46 generic-y += ucontext.h
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
D | signal.c | 46 struct ucontext uc; 300 err |= __clear_user(&frame->uc, offsetof(struct ucontext, uc_mcontext)); in setup_rt_frame()
|
/linux-4.4.14/arch/powerpc/perf/ |
D | callchain.c | 199 struct ucontext uc; 342 #define ucontext32 ucontext
|
/linux-4.4.14/arch/metag/include/asm/ |
D | Kbuild | 53 generic-y += ucontext.h
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | Kbuild | 59 generic-y += ucontext.h
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
D | Kbuild | 61 header-y += ucontext.h
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | Kbuild | 61 generic-y += ucontext.h
|
/linux-4.4.14/arch/mips/kernel/ |
D | signal.c | 62 struct ucontext rs_uc; 134 struct ucontext __user *uc; in sc_to_extcontext() 141 uc = container_of(sc, struct ucontext, uc_mcontext); in sc_to_extcontext()
|
/linux-4.4.14/arch/h8300/include/asm/ |
D | Kbuild | 73 generic-y += ucontext.h
|
/linux-4.4.14/arch/um/os-Linux/ |
D | signal.c | 143 struct ucontext *uc = p; in hard_handler()
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | signal.c | 39 struct ucontext uc;
|
/linux-4.4.14/arch/avr32/kernel/ |
D | signal.c | 27 struct ucontext uc;
|
/linux-4.4.14/arch/h8300/kernel/ |
D | signal.c | 68 struct ucontext uc;
|
/linux-4.4.14/arch/metag/kernel/ |
D | signal.c | 41 struct ucontext uc;
|
/linux-4.4.14/arch/hexagon/kernel/ |
D | signal.c | 36 struct ucontext uc;
|
/linux-4.4.14/arch/m32r/kernel/ |
D | signal.c | 40 struct ucontext uc;
|
/linux-4.4.14/tools/perf/util/ |
D | evlist.h | 131 void *ucontext));
|
D | evlist.c | 1503 void (*exec_error)(int signo, siginfo_t *info, void *ucontext)) in perf_evlist__prepare_workload() argument
|
/linux-4.4.14/arch/score/kernel/ |
D | signal.c | 41 struct ucontext rs_uc;
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | signal.c | 55 struct ucontext uc;
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | signal.c | 37 struct ucontext uc;
|
/linux-4.4.14/arch/arc/kernel/ |
D | signal.c | 60 struct ucontext uc;
|
/linux-4.4.14/scripts/ |
D | .docproc.cmd | 77 /usr/include/i386-linux-gnu/sys/ucontext.h \
|
/linux-4.4.14/arch/frv/kernel/ |
D | signal.c | 55 struct ucontext uc;
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | signal.c | 37 struct ucontext uc;
|
/linux-4.4.14/arch/arm64/kernel/ |
D | signal.c | 43 struct ucontext uc;
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 621 struct ocrdma_ucontext *ucontext = get_ocrdma_ucontext(context); in ocrdma_mmap() local 631 found = ocrdma_search_mmap(ucontext, vma->vm_pgoff << PAGE_SHIFT, len); in ocrdma_mmap() 1063 cq->ucontext = uctx; in ocrdma_copy_cq_uresp() 1183 if (cq->ucontext) { in ocrdma_destroy_cq() 1184 pdid = cq->ucontext->cntxt_pd->id; in ocrdma_destroy_cq() 1185 ocrdma_del_mmap(cq->ucontext, (u64) cq->pa, in ocrdma_destroy_cq() 1187 ocrdma_del_mmap(cq->ucontext, in ocrdma_destroy_cq()
|
D | ocrdma.h | 337 struct ocrdma_ucontext *ucontext; member
|
/linux-4.4.14/arch/sh/kernel/ |
D | signal_32.c | 71 struct ucontext uc;
|
D | signal_64.c | 139 struct ucontext uc;
|
/linux-4.4.14/arch/arm/kernel/ |
D | signal.c | 133 struct ucontext uc;
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | signal.c | 46 struct ucontext uc;
|
/linux-4.4.14/arch/alpha/kernel/ |
D | signal.c | 132 struct ucontext uc;
|
/linux-4.4.14/tools/perf/ |
D | builtin-record.c | 466 void *ucontext __maybe_unused) in workload_exec_failed_signal()
|
D | builtin-stat.c | 269 void *ucontext __maybe_unused) in workload_exec_failed_signal()
|
/linux-4.4.14/include/rdma/ |
D | ib_verbs.h | 1791 struct ib_ucontext *ucontext,
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 113 13.11 UML build conflict between ptrace.h and ucontext.h 3990 13.11. UML build conflict between ptrace.h and ucontext.h 3993 /usr/include/sys/ucontext.h define the same names. So, when they're 3996 /usr/include/sys/ucontext.h:47: parse error before
|