| /linux/arch/s390/include/uapi/asm/ |
| H A D | ucontext.h | 22 struct ucontext *uc_link; 31 struct ucontext { struct 33 struct ucontext *uc_link; argument
|
| /linux/arch/sparc/include/uapi/asm/ |
| H A D | uctx.h | 64 struct ucontext { struct 65 struct ucontext *uc_link; argument 70 typedef struct ucontext ucontext_t; argument
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | verbs.c | 134 static int irdma_mmap_legacy(struct irdma_ucontext *ucontext, in irdma_mmap_legacy() argument 142 vma->vm_private_data = ucontext; in irdma_mmap_legacy() 143 pfn = ((uintptr_t)ucontext->iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET] + in irdma_mmap_legacy() 144 pci_resource_start(ucontext->iwdev->rf->pcidev, 0)) >> PAGE_SHIFT; in irdma_mmap_legacy() 146 return rdma_user_mmap_io(&ucontext->ibucontext, vma, pfn, PAGE_SIZE, in irdma_mmap_legacy() 158 irdma_user_mmap_entry_insert(struct irdma_ucontext *ucontext, u64 bar_offset, in irdma_user_mmap_entry_insert() argument 170 ret = rdma_user_mmap_entry_insert(&ucontext->ibucontext, in irdma_user_mmap_entry_insert() 190 struct irdma_ucontext *ucontext; in irdma_mmap() local 194 ucontext = to_ucontext(context); in irdma_mmap() 197 if (ucontext->legacy_mode) in irdma_mmap() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | signal_32.c | 59 #define ucontext ucontext32 macro 66 (sizeof(struct ucontext) - sizeof(elf_vsrreghalf_t32)) 225 struct ucontext uc; 227 struct ucontext uc_transact; 920 static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig) in do_setcontext() 953 static int do_setcontext_tm(struct ucontext __user *ucp, in do_setcontext_tm() 954 struct ucontext __user *tm_ucp, in do_setcontext_tm() 990 COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() 991 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() 993 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() [all …]
|
| H A D | signal_64.c | 56 struct ucontext uc; 58 struct ucontext uc_transact; 652 (sizeof(struct ucontext) - 32*sizeof(long)) 657 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in SYSCALL_DEFINE3() 658 struct ucontext __user *, new_ctx, long, ctx_size) in SYSCALL_DEFINE3() 677 if ((ctx_size < sizeof(struct ucontext)) && in SYSCALL_DEFINE3() 681 if (ctx_size >= sizeof(struct ucontext)) in SYSCALL_DEFINE3() 747 struct ucontext __user *uc = (struct ucontext __user *)regs->gpr[1]; in SYSCALL_DEFINE0() 806 struct ucontext __user *uc_transact; in SYSCALL_DEFINE0()
|
| /linux/drivers/infiniband/core/ |
| H A D | uverbs_main.c | 636 struct ib_ucontext *ucontext; in ib_uverbs_mmap() local 641 ucontext = ib_uverbs_get_ucontext_file(file); in ib_uverbs_mmap() 642 if (IS_ERR(ucontext)) { in ib_uverbs_mmap() 643 ret = PTR_ERR(ucontext); in ib_uverbs_mmap() 653 ret = ucontext->device->ops.mmap(ucontext, vma); in ib_uverbs_mmap() 681 if (!ufile->ucontext) in rdma_umap_open() 850 if (ufile->ucontext) { in rdma_user_mmap_disassociate() 958 struct ib_ucontext *ucontext = ufile->ucontext; in ufile_destroy_ucontext() local 959 struct ib_device *ib_dev = ucontext->device; in ufile_destroy_ucontext() 969 ib_dev->ops.disassociate_ucontext(ucontext); in ufile_destroy_ucontext() [all …]
|
| H A D | rdma_core.c | 303 struct ib_ucontext *ucontext = in alloc_uobj() local 306 if (IS_ERR(ucontext)) in alloc_uobj() 307 return ERR_CAST(ucontext); in alloc_uobj() 308 attrs->context = ucontext; in alloc_uobj() 931 struct ib_ucontext *ucontext = ufile->ucontext; in __uverbs_cleanup_ufile() local 932 struct ib_device *ib_dev = ucontext->device; in __uverbs_cleanup_ufile() 1055 struct ib_ucontext *ucontext; in rdma_uattrs_has_raw_cap() local 1060 ucontext = ib_uverbs_get_ucontext_file(ufile); in rdma_uattrs_has_raw_cap() 1061 if (IS_ERR(ucontext)) in rdma_uattrs_has_raw_cap() 1063 has_cap = rdma_dev_has_raw_cap(ucontext->device); in rdma_uattrs_has_raw_cap()
|
| /linux/arch/parisc/include/asm/ |
| H A D | ucontext.h | 5 struct ucontext { struct 7 struct ucontext *uc_link; argument
|
| /linux/include/uapi/asm-generic/ |
| H A D | ucontext.h | 5 struct ucontext { struct 7 struct ucontext *uc_link; argument
|
| /linux/arch/alpha/include/asm/ |
| H A D | ucontext.h | 5 struct ucontext { struct 7 struct ucontext *uc_link; argument
|
| /linux/arch/arm64/include/uapi/asm/ |
| H A D | ucontext.h | 22 struct ucontext { struct 24 struct ucontext *uc_link; argument
|
| /linux/arch/loongarch/include/uapi/asm/ |
| H A D | ucontext.h | 14 struct ucontext { struct 16 struct ucontext *uc_link; argument
|
| /linux/arch/riscv/include/uapi/asm/ |
| H A D | ucontext.h | 13 struct ucontext { struct 15 struct ucontext *uc_link; argument
|
| /linux/arch/mips/include/uapi/asm/ |
| H A D | ucontext.h | 54 struct ucontext { struct 57 struct ucontext *uc_link; argument
|
| /linux/arch/powerpc/include/uapi/asm/ |
| H A D | ucontext.h | 21 struct ucontext { struct 23 struct ucontext __user *uc_link; argument
|
| /linux/arch/arm/include/asm/ |
| H A D | ucontext.h | 18 struct ucontext { struct 20 struct ucontext *uc_link; argument
|
| /linux/arch/x86/include/asm/ |
| H A D | sigframe.h | 13 #define ucontext_ia32 ucontext 61 struct ucontext uc;
|
| /linux/arch/powerpc/include/asm/ |
| H A D | syscalls.h | 53 long sys_swapcontext(struct ucontext __user *old_ctx, 54 struct ucontext __user *new_ctx, long ctx_size); 65 long sys_debug_setcontext(struct ucontext __user *ctx, int ndbg,
|
| /linux/tools/testing/selftests/riscv/cfi/ |
| H A D | cfitests.c | 5 #include <asm/ucontext.h> 22 struct ucontext *ctx = (struct ucontext *)uc; in sigsegv_handler()
|
| /linux/tools/testing/selftests/syscall_user_dispatch/ |
| H A D | sud_test.c | 170 static void handle_sigsys(int sig, siginfo_t *info, void *ucontext) in handle_sigsys() argument 192 ((ucontext_t *)ucontext)->uc_mcontext.__gregs[REG_A0] = in handle_sigsys() 193 ((ucontext_t *)ucontext)->uc_mcontext.__gregs[REG_A7]; in handle_sigsys()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | sigframe.h | 8 struct ucontext rs_uctx;
|
| /linux/Documentation/arch/powerpc/ |
| H A D | transactional_memory.rst | 101 thread state (ucontext/mcontext) to represent the second transactional register 107 If the sighandler ucontext has uc_link set, a second ucontext has been 109 determine the transactional state -- if so, the second ucontext in uc->uc_link 116 bits are stored in the MSR of the second ucontext, i.e. in 124 from the second ucontext. This will be necessary for crash handlers to 136 /* May have transactional ucontext! */
|
| /linux/arch/m68k/kernel/ |
| H A D | signal.c | 245 struct ucontext uc; 333 static inline int rt_restore_fpu_state(struct ucontext __user *uc) in rt_restore_fpu_state() 484 static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs) in rt_save_fpu_state() 562 static inline int rt_restore_fpu_state(struct ucontext __user *uc) in rt_restore_fpu_state() 571 static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs) in rt_save_fpu_state() 712 struct ucontext __user *uc) in rt_restore_ucontext() 831 static inline int rt_setup_ucontext(struct ucontext __user *uc, struct pt_regs *regs) in rt_setup_ucontext()
|
| /linux/arch/arm/kernel/ |
| H A D | signal.h | 4 struct ucontext uc;
|
| /linux/arch/sh/include/uapi/asm/ |
| H A D | Kbuild | 4 generic-y += ucontext.h
|