/linux-4.1.27/drivers/infiniband/core/ |
D | uverbs_cmd.c | 295 struct ib_ucontext *ucontext; in ib_uverbs_get_context() local 307 if (file->ucontext) { in ib_uverbs_get_context() 316 ucontext = ibdev->alloc_ucontext(ibdev, &udata); in ib_uverbs_get_context() 317 if (IS_ERR(ucontext)) { in ib_uverbs_get_context() 318 ret = PTR_ERR(ucontext); in ib_uverbs_get_context() 322 ucontext->device = ibdev; in ib_uverbs_get_context() 323 INIT_LIST_HEAD(&ucontext->pd_list); in ib_uverbs_get_context() 324 INIT_LIST_HEAD(&ucontext->mr_list); in ib_uverbs_get_context() 325 INIT_LIST_HEAD(&ucontext->mw_list); in ib_uverbs_get_context() 326 INIT_LIST_HEAD(&ucontext->cq_list); in ib_uverbs_get_context() [all …]
|
D | uverbs_main.c | 643 if (!file->ucontext && in ib_uverbs_write() 677 if (!file->ucontext) in ib_uverbs_write() 737 if (!file->ucontext) in ib_uverbs_mmap() 740 return file->device->ib_dev->mmap(file->ucontext, vma); in ib_uverbs_mmap() 775 file->ucontext = NULL; in ib_uverbs_open() 800 ib_uverbs_cleanup_ucontext(file, file->ucontext); in ib_uverbs_close()
|
D | uverbs.h | 115 struct ib_ucontext *ucontext; member
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 205 static inline struct iwch_mm_entry *remove_mmap(struct iwch_ucontext *ucontext, in remove_mmap() argument 211 spin_lock(&ucontext->mmap_lock); in remove_mmap() 212 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap() 217 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 223 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 227 static inline void insert_mmap(struct iwch_ucontext *ucontext, in insert_mmap() argument 230 spin_lock(&ucontext->mmap_lock); in insert_mmap() 233 list_add_tail(&mm->entry, &ucontext->mmaps); in insert_mmap() 234 spin_unlock(&ucontext->mmap_lock); in insert_mmap()
|
D | iwch_provider.c | 98 struct iwch_ucontext *ucontext = to_iwch_ucontext(context); in iwch_dealloc_ucontext() local 102 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in iwch_dealloc_ucontext() 104 cxio_release_ucontext(&rhp->rdev, &ucontext->uctx); in iwch_dealloc_ucontext() 105 kfree(ucontext); in iwch_dealloc_ucontext() 149 struct iwch_ucontext *ucontext = NULL; in iwch_create_cq() local 160 ucontext = to_iwch_ucontext(ib_context); in iwch_create_cq() 186 if (cxio_create_cq(&rhp->rdev, &chp->cq, !ucontext)) { in iwch_create_cq() 202 if (ucontext) { in iwch_create_cq() 212 spin_lock(&ucontext->mmap_lock); in iwch_create_cq() 213 uresp.key = ucontext->key; in iwch_create_cq() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 852 struct c4iw_ucontext *ucontext; in c4iw_destroy_cq() local 861 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq() 864 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx); in c4iw_destroy_cq() 876 struct c4iw_ucontext *ucontext = NULL; in c4iw_create_cq() local 893 ucontext = to_c4iw_ucontext(ib_context); in c4iw_create_cq() 923 if (ucontext) in c4iw_create_cq() 930 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_cq() 945 if (ucontext) { in c4iw_create_cq() 957 spin_lock(&ucontext->mmap_lock); in c4iw_create_cq() 958 uresp.key = ucontext->key; in c4iw_create_cq() [all …]
|
D | qp.c | 1576 struct c4iw_ucontext *ucontext; in c4iw_destroy_qp() local 1598 ucontext = ib_qp->uobject ? in c4iw_destroy_qp() 1601 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_destroy_qp() 1618 struct c4iw_ucontext *ucontext; in c4iw_create_qp() local 1649 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; in c4iw_create_qp() 1664 if (ucontext) { in c4iw_create_qp() 1670 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_qp() 1741 spin_lock(&ucontext->mmap_lock); in c4iw_create_qp() 1743 uresp.ma_sync_key = ucontext->key; in c4iw_create_qp() 1744 ucontext->key += PAGE_SIZE; in c4iw_create_qp() [all …]
|
D | iw_cxgb4.h | 518 static inline struct c4iw_mm_entry *remove_mmap(struct c4iw_ucontext *ucontext, in remove_mmap() argument 524 spin_lock(&ucontext->mmap_lock); in remove_mmap() 525 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap() 530 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 536 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 540 static inline void insert_mmap(struct c4iw_ucontext *ucontext, in insert_mmap() argument 543 spin_lock(&ucontext->mmap_lock); in insert_mmap() 546 list_add_tail(&mm->entry, &ucontext->mmaps); in insert_mmap() 547 spin_unlock(&ucontext->mmap_lock); in insert_mmap()
|
D | provider.c | 93 struct c4iw_ucontext *ucontext = to_c4iw_ucontext(context); in c4iw_dealloc_ucontext() local 97 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in c4iw_dealloc_ucontext() 99 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx); in c4iw_dealloc_ucontext() 100 kfree(ucontext); in c4iw_dealloc_ucontext() 169 struct c4iw_ucontext *ucontext; in c4iw_mmap() local 179 ucontext = to_c4iw_ucontext(context); in c4iw_mmap() 181 mm = remove_mmap(ucontext, key, len); in c4iw_mmap()
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext * uc_link; argument
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | ucontext.h | 14 struct ucontext { struct 16 struct ucontext *uc_link; argument
|
/linux-4.1.27/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.1.27/arch/frv/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | ucontext.h | 14 struct ucontext { struct 16 struct ucontext *uc_link; argument
|
/linux-4.1.27/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.1.27/arch/cris/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-4.1.27/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.1.27/arch/m68k/include/asm/ |
D | ucontext.h | 21 struct ucontext { struct 23 struct ucontext *uc_link; argument
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
D | ucontext.h | 20 struct ucontext { struct 22 struct ucontext __user *uc_link; argument
|
D | Kbuild | 44 header-y += ucontext.h
|
/linux-4.1.27/arch/x86/include/asm/ |
D | sigframe.h | 13 #define ucontext_ia32 ucontext 65 struct ucontext uc;
|
/linux-4.1.27/arch/arm/include/asm/ |
D | ucontext.h | 16 struct ucontext { struct 18 struct ucontext *uc_link; argument
|
/linux-4.1.27/arch/tile/include/uapi/asm/ |
D | Kbuild | 18 header-y += ucontext.h 21 generic-y += ucontext.h
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | signal_64.c | 58 struct ucontext uc; 60 struct ucontext uc_transact; 585 (sizeof(struct ucontext) - 32*sizeof(long)) 590 int sys_swapcontext(struct ucontext __user *old_ctx, in sys_swapcontext() 591 struct ucontext __user *new_ctx, in sys_swapcontext() 612 if ((ctx_size < sizeof(struct ucontext)) && in sys_swapcontext() 616 if (ctx_size >= sizeof(struct ucontext)) in sys_swapcontext() 666 struct ucontext __user *uc = (struct ucontext __user *)regs->gpr[1]; in sys_rt_sigreturn() 686 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; 1076 static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig) in do_setcontext() 1106 static int do_setcontext_tm(struct ucontext __user *ucp, in do_setcontext_tm() 1107 struct ucontext __user *tm_ucp, in do_setcontext_tm() 1134 long sys_swapcontext(struct ucontext __user *old_ctx, in sys_swapcontext() 1135 struct ucontext __user *new_ctx, in sys_swapcontext() 1169 if ((ctx_size < sizeof(struct ucontext)) && in sys_swapcontext() [all …]
|
/linux-4.1.27/Documentation/powerpc/ |
D | transactional_memory.txt | 99 thread state (ucontext/mcontext) to represent the second transactional register 105 If the sighandler ucontext has uc_link set, a second ucontext has been 107 determine the transactional state -- if so, the second ucontext in uc->uc_link 114 bits are stored in the MSR of the second ucontext, i.e. in 122 from the second ucontext. This will be necessary for crash handlers to 134 /* May have transactional ucontext! */
|
/linux-4.1.27/arch/tile/include/asm/ |
D | sigframe.h | 28 struct ucontext uc;
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
D | ucontext.h | 4 struct ucontext { struct
|
D | Kbuild | 47 header-y += ucontext.h
|
/linux-4.1.27/arch/nios2/include/uapi/asm/ |
D | Kbuild | 5 generic-y += ucontext.h
|
/linux-4.1.27/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; 498 struct ucontext uc; 574 struct ucontext __user *uc = &frame->uc; in sys_rt_sigreturn()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | Kbuild | 2 header-y += ucontext.h 58 generic-y += ucontext.h
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | sigframe.h | 30 struct ucontext uc;
|
/linux-4.1.27/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.1.27/arch/openrisc/include/asm/ |
D | Kbuild | 2 header-y += ucontext.h 69 generic-y += ucontext.h
|
/linux-4.1.27/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.1.27/arch/mips/include/asm/ |
D | Kbuild | 19 generic-y += ucontext.h
|
/linux-4.1.27/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.1.27/tools/perf/tests/ |
D | task-exit.c | 23 void *ucontext __maybe_unused) in workload_exec_failed_signal()
|
/linux-4.1.27/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.1.27/arch/sh/include/asm/ |
D | Kbuild | 38 generic-y += ucontext.h
|
/linux-4.1.27/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.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 458 struct usnic_ib_ucontext *ucontext; in usnic_ib_create_qp() local 466 ucontext = to_uucontext(pd->uobject->context); in usnic_ib_create_qp() 511 qp_grp->ctx = ucontext; in usnic_ib_create_qp() 512 list_add_tail(&qp_grp->link, &ucontext->qp_grp_list); in usnic_ib_create_qp()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | Kbuild | 46 generic-y += ucontext.h
|
/linux-4.1.27/arch/arc/include/asm/ |
D | Kbuild | 49 generic-y += ucontext.h
|
/linux-4.1.27/arch/powerpc/perf/ |
D | callchain.c | 199 struct ucontext uc; 342 #define ucontext32 ucontext
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
D | signal.c | 47 struct ucontext uc; 301 err |= __clear_user(&frame->uc, offsetof(struct ucontext, uc_mcontext)); in setup_rt_frame()
|
/linux-4.1.27/arch/metag/include/asm/ |
D | Kbuild | 53 generic-y += ucontext.h
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | Kbuild | 59 generic-y += ucontext.h
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
D | Kbuild | 61 header-y += ucontext.h
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | Kbuild | 61 generic-y += ucontext.h
|
/linux-4.1.27/arch/um/os-Linux/ |
D | signal.c | 138 struct ucontext *uc = p; in hard_handler()
|
/linux-4.1.27/arch/arc/kernel/ |
D | signal.c | 60 struct ucontext uc;
|
/linux-4.1.27/arch/openrisc/kernel/ |
D | signal.c | 39 struct ucontext uc;
|
/linux-4.1.27/arch/metag/kernel/ |
D | signal.c | 41 struct ucontext uc;
|
/linux-4.1.27/arch/avr32/kernel/ |
D | signal.c | 27 struct ucontext uc;
|
/linux-4.1.27/tools/perf/util/ |
D | evlist.h | 120 void *ucontext));
|
D | evlist.c | 1318 void (*exec_error)(int signo, siginfo_t *info, void *ucontext)) in perf_evlist__prepare_workload() argument
|
/linux-4.1.27/arch/m32r/kernel/ |
D | signal.c | 40 struct ucontext uc;
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | signal.c | 36 struct ucontext uc;
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | signal.c | 55 struct ucontext uc;
|
/linux-4.1.27/arch/score/kernel/ |
D | signal.c | 41 struct ucontext rs_uc;
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | signal.c | 37 struct ucontext uc;
|
/linux-4.1.27/scripts/ |
D | .docproc.cmd | 77 /usr/include/i386-linux-gnu/sys/ucontext.h \
|
/linux-4.1.27/arch/frv/kernel/ |
D | signal.c | 55 struct ucontext uc;
|
/linux-4.1.27/arch/xtensa/kernel/ |
D | signal.c | 37 struct ucontext uc;
|
/linux-4.1.27/arch/arm64/kernel/ |
D | signal.c | 43 struct ucontext uc;
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 556 struct ocrdma_ucontext *ucontext = get_ocrdma_ucontext(context); in ocrdma_mmap() local 566 found = ocrdma_search_mmap(ucontext, vma->vm_pgoff << PAGE_SHIFT, len); in ocrdma_mmap() 997 cq->ucontext = uctx; in ocrdma_copy_cq_uresp() 1112 if (cq->ucontext) { in ocrdma_destroy_cq() 1113 pdid = cq->ucontext->cntxt_pd->id; in ocrdma_destroy_cq() 1114 ocrdma_del_mmap(cq->ucontext, (u64) cq->pa, in ocrdma_destroy_cq() 1116 ocrdma_del_mmap(cq->ucontext, in ocrdma_destroy_cq()
|
D | ocrdma.h | 317 struct ocrdma_ucontext *ucontext; member
|
/linux-4.1.27/arch/sh/kernel/ |
D | signal_32.c | 71 struct ucontext uc;
|
D | signal_64.c | 139 struct ucontext uc;
|
/linux-4.1.27/arch/mips/kernel/ |
D | signal.c | 61 struct ucontext rs_uc;
|
/linux-4.1.27/arch/alpha/kernel/ |
D | signal.c | 132 struct ucontext uc;
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | signal.c | 46 struct ucontext uc;
|
/linux-4.1.27/arch/arm/kernel/ |
D | signal.c | 133 struct ucontext uc;
|
/linux-4.1.27/tools/perf/ |
D | builtin-record.c | 319 void *ucontext __maybe_unused) in workload_exec_failed_signal()
|
D | builtin-stat.c | 620 void *ucontext __maybe_unused) in workload_exec_failed_signal()
|
/linux-4.1.27/include/rdma/ |
D | ib_verbs.h | 1645 struct ib_ucontext *ucontext,
|
/linux-4.1.27/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
|